/* OléMore My Account Responsive v1.1.1
 * Deterministic phone shell + high-specificity WooCommerce authentication override.
 */
html,body.woocommerce-account{width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:hidden!important}
body.woocommerce-account .woocommerce,body.woocommerce-account .woocommerce *{box-sizing:border-box}
body.woocommerce-account .woocommerce{width:100%!important;max-width:100%!important;min-width:0!important}

body.woocommerce-account .om-customer-account-root{width:100%!important;max-width:1180px!important;min-width:0!important;margin:40px auto 70px!important;padding:0 18px!important;box-sizing:border-box!important}
body.woocommerce-account .om-customer-account-shell{width:100%!important;max-width:100%!important;min-width:0!important;display:grid!important;grid-template-columns:245px minmax(0,1fr)!important;gap:36px!important;align-items:start!important}
body.woocommerce-account .om-customer-account-shell .woocommerce-MyAccount-navigation{width:245px!important;max-width:245px!important;min-width:0!important;float:none!important;margin:0!important;padding:0!important}
body.woocommerce-account .om-customer-account-shell .woocommerce-MyAccount-navigation ul{display:flex!important;flex-direction:column!important;width:100%!important;margin:0!important;padding:0!important;list-style:none!important}
body.woocommerce-account .om-customer-account-shell .woocommerce-MyAccount-navigation li{display:block!important;width:100%!important;margin:0!important;padding:0!important}
body.woocommerce-account .om-customer-account-shell .woocommerce-MyAccount-navigation a{display:block!important;width:100%!important;box-sizing:border-box!important}
body.woocommerce-account .om-customer-account-shell .woocommerce-MyAccount-content{width:100%!important;max-width:100%!important;min-width:0!important;float:none!important;margin:0!important;padding:40px 38px 50px!important;background:#fff!important;border:0!important;border-top:3px solid #d3a100!important;overflow:visible!important;box-sizing:border-box!important}

@media(max-width:900px){
 body.woocommerce-account .om-customer-account-root{width:calc(100% - 24px)!important;max-width:720px!important;margin:25px auto 50px!important;padding:0!important}
 body.woocommerce-account .om-customer-account-shell{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important}
 body.woocommerce-account .om-customer-account-shell .woocommerce-MyAccount-navigation,
 body.woocommerce-account .om-customer-account-shell .woocommerce-MyAccount-content{width:100%!important;max-width:100%!important;min-width:0!important;float:none!important}
 body.woocommerce-account .om-customer-account-shell .woocommerce-MyAccount-navigation ul{display:grid!important;grid-template-columns:1fr!important}
}

@media(max-width:760px){
 body.woocommerce-account .woocommerce,
 body.woocommerce-account .woocommerce *{max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
 body.woocommerce-account .om-customer-account-root{width:calc(100% - 16px)!important;max-width:none!important;margin:16px auto 32px!important;padding:0!important}
 body.woocommerce-account .om-customer-account-shell{display:block!important;width:100%!important;max-width:100%!important}
 body.woocommerce-account .om-customer-account-shell .woocommerce-MyAccount-navigation,
 body.woocommerce-account .om-customer-account-shell .woocommerce-MyAccount-content{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;float:none!important;clear:both!important}
 body.woocommerce-account .om-customer-account-shell .woocommerce-MyAccount-content{padding:22px 14px 30px!important;overflow:visible!important}
 body.woocommerce-account .woocommerce-MyAccount-content>*{width:100%!important;max-width:100%!important;min-width:0!important;float:none!important;clear:both!important;box-sizing:border-box!important}

 /* Address pages */
 body.woocommerce-account .woocommerce-MyAccount-content .u-columns,
 body.woocommerce-account .woocommerce-MyAccount-content .u-column1,
 body.woocommerce-account .woocommerce-MyAccount-content .u-column2,
 body.woocommerce-account .woocommerce-MyAccount-content .col2-set,
 body.woocommerce-account .woocommerce-MyAccount-content .col-1,
 body.woocommerce-account .woocommerce-MyAccount-content .col-2,
 body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses,
 body.woocommerce-account .woocommerce-MyAccount-content .addresses{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;float:none!important;clear:both!important;margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important}
 body.woocommerce-account .woocommerce-MyAccount-content .u-columns>* ,
 body.woocommerce-account .woocommerce-MyAccount-content .col2-set>* ,
 body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses>* ,
 body.woocommerce-account .woocommerce-MyAccount-content .addresses>*{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;float:none!important;clear:both!important;flex:none!important;grid-column:1/-1!important}
 body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address h2,
 body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-column__title{font-size:28px!important;line-height:1.05!important;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important}
 body.woocommerce-account .woocommerce-MyAccount-content address{width:100%!important;max-width:100%!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important}

 /* Orders */
 body.woocommerce-account .woocommerce-MyAccount-content table,
 body.woocommerce-account .woocommerce-MyAccount-content .shop_table,
 body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table{width:100%!important;max-width:100%!important;min-width:0!important;table-layout:fixed!important}

 /* Dashboard cards */
 body.woocommerce-account .woocommerce-MyAccount-content .om-hard-mobile-stack{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important}
 body.woocommerce-account .woocommerce-MyAccount-content .om-hard-mobile-stack>*{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;float:none!important}

 /* Logged-out auth: match the exact selectors used by the OléMore login styling. */
 html body.woocommerce-account:not(.logged-in) .woocommerce form.woocommerce-form-login,
 html body.woocommerce-account:not(.logged-in) .woocommerce form.login,
 html body.woocommerce-account:not(.logged-in) .woocommerce form.register,
 html body.woocommerce-account:not(.logged-in) .woocommerce form.woocommerce-form-register,
 html body.woocommerce-account:not(.logged-in) .woocommerce .woocommerce-form-login{width:100%!important;max-width:100%!important;min-width:0!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box!important;overflow:visible!important;position:relative!important;pointer-events:auto!important}
 html body.woocommerce-account:not(.logged-in) .woocommerce form.woocommerce-form-login p,
 html body.woocommerce-account:not(.logged-in) .woocommerce form.login p{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
 html body.woocommerce-account:not(.logged-in) .woocommerce form.woocommerce-form-login .form-row,
 html body.woocommerce-account:not(.logged-in) .woocommerce form.login .form-row{width:100%!important;max-width:100%!important;min-width:0!important;float:none!important;box-sizing:border-box!important}
 html body.woocommerce-account:not(.logged-in) .woocommerce form.woocommerce-form-login input.input-text,
 html body.woocommerce-account:not(.logged-in) .woocommerce form.login input.input-text{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
 html body.woocommerce-account:not(.logged-in) .woocommerce form.woocommerce-form-login .password-input,
 html body.woocommerce-account:not(.logged-in) .woocommerce form.login .password-input{display:block!important;position:relative!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow:visible!important;box-sizing:border-box!important}
 html body.woocommerce-account:not(.logged-in) .woocommerce form.woocommerce-form-login .password-input input,
 html body.woocommerce-account:not(.logged-in) .woocommerce form.login .password-input input{width:100%!important;max-width:100%!important;min-width:0!important;display:block!important;box-sizing:border-box!important;pointer-events:auto!important;touch-action:manipulation!important;position:relative!important;z-index:20!important}
 html body.woocommerce-account:not(.logged-in) .woocommerce form.woocommerce-form-login .show-password-input,
 html body.woocommerce-account:not(.logged-in) .woocommerce form.login .show-password-input{left:auto!important;right:10px!important;top:50%!important;transform:translateY(-50%)!important;z-index:30!important;pointer-events:auto!important;touch-action:manipulation!important}
 html body.woocommerce-account:not(.logged-in) .woocommerce form.woocommerce-form-login .woocommerce-form__label-for-checkbox,
 html body.woocommerce-account:not(.logged-in) .woocommerce form.login .woocommerce-form__label-for-checkbox{display:flex!important;flex-direction:row!important;align-items:center!important;width:auto!important;max-width:100%!important;min-width:0!important;white-space:normal!important;box-sizing:border-box!important}
 html body.woocommerce-account:not(.logged-in) .woocommerce form.woocommerce-form-login .woocommerce-form__label-for-checkbox input,
 html body.woocommerce-account:not(.logged-in) .woocommerce form.login .woocommerce-form__label-for-checkbox input{width:15px!important;height:15px!important;min-width:15px!important;max-width:15px!important;flex:0 0 15px!important;margin-right:7px!important;pointer-events:auto!important}
 html body.woocommerce-account:not(.logged-in) .woocommerce form.woocommerce-form-login button.button,
 html body.woocommerce-account:not(.logged-in) .woocommerce form.login button.button,
 html body.woocommerce-account:not(.logged-in) .woocommerce form.woocommerce-form-login input[type=submit]{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;pointer-events:auto!important;touch-action:manipulation!important}
 html body.woocommerce-account:not(.logged-in) .woocommerce .woocommerce-notices-wrapper{width:100%!important;max-width:100%!important;min-width:0!important}
}


/* v1.0.9 — deterministic password eye: hide the theme/WooCommerce eye and
 * use a controlled button inside the actual password wrapper. This prevents
 * left-side/overlapping eye positioning on mobile while leaving the native
 * password input and WooCommerce authentication flow intact. */
@media (max-width:760px){
  html body.woocommerce-account:not(.logged-in) .woocommerce form.woocommerce-form-login .password-input,
  html body.woocommerce-account:not(.logged-in) .woocommerce form.login .password-input{
    position:relative!important;
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow:visible!important;
    isolation:isolate!important;
  }
  html body.woocommerce-account:not(.logged-in) .woocommerce form.woocommerce-form-login .password-input input,
  html body.woocommerce-account:not(.logged-in) .woocommerce form.login .password-input input{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:54px!important;
    padding-right:52px!important;
    position:relative!important;
    z-index:1!important;
    pointer-events:auto!important;
    touch-action:text!important;
    -webkit-user-select:text!important;
    user-select:text!important;
  }
  html body.woocommerce-account:not(.logged-in) .woocommerce form.woocommerce-form-login .password-input .show-password-input,
  html body.woocommerce-account:not(.logged-in) .woocommerce form.login .password-input .show-password-input{
    display:none!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }
  html body.woocommerce-account:not(.logged-in) .woocommerce .om-mobile-password-toggle{
    position:absolute!important;
    top:50%!important;
    right:8px!important;
    left:auto!important;
    bottom:auto!important;
    transform:translateY(-50%)!important;
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    min-height:40px!important;
    max-width:40px!important;
    max-height:40px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    color:#111!important;
    box-shadow:none!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    z-index:20!important;
    pointer-events:auto!important;
    touch-action:manipulation!important;
    -webkit-tap-highlight-color:transparent!important;
    cursor:pointer!important;
  }
  html body.woocommerce-account:not(.logged-in) .woocommerce .om-mobile-password-toggle svg{
    width:22px!important;
    height:22px!important;
    display:block!important;
    pointer-events:none!important;
  }
}


/* ================================================================
   v1.1.0 — LOGGED-IN CUSTOMER ENDPOINT MOBILE STABILIZER
   The dashboard, address cards and security action were still using
   desktop-first OléMore UI rules. These selectors intentionally target
   those exact components without changing WooCommerce functionality.
   ================================================================ */
@media (max-width:760px){
  /* Dashboard: the source UI is a 3-column grid on desktop. On a phone
     each action card must become a full-width independent block. */
  html body.woocommerce-account .woocommerce-MyAccount-content .om-account-cards{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:none!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    gap:14px!important;
    margin:28px 0 30px!important;
  }
  html body.woocommerce-account .woocommerce-MyAccount-content .om-account-card{
    display:flex!important;
    position:relative!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:180px!important;
    height:auto!important;
    margin:0!important;
    padding:22px!important;
    float:none!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  html body.woocommerce-account .woocommerce-MyAccount-content .om-account-card .om-card-content{
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-top:auto!important;
    padding-right:42px!important;
    box-sizing:border-box!important;
  }
  html body.woocommerce-account .woocommerce-MyAccount-content .om-account-card .om-card-content h3,
  html body.woocommerce-account .woocommerce-MyAccount-content .om-account-card .om-card-content strong{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:0 0 8px!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
    line-height:1.08!important;
  }
  html body.woocommerce-account .woocommerce-MyAccount-content .om-account-card .om-card-content p,
  html body.woocommerce-account .woocommerce-MyAccount-content .om-account-card .om-card-content small{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
    line-height:1.55!important;
  }
  html body.woocommerce-account .woocommerce-MyAccount-content .om-account-card .om-card-arrow{
    position:absolute!important;
    top:18px!important;
    right:18px!important;
    left:auto!important;
    width:auto!important;
    max-width:none!important;
    margin:0!important;
    transform:none!important;
  }

  /* Dashboard brand strip: keep it readable rather than forcing three
     desktop columns into a 390px viewport. */
  html body.woocommerce-account .woocommerce-MyAccount-content .om-account-brand-strip{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:14px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    padding-top:22px!important;
  }
  html body.woocommerce-account .woocommerce-MyAccount-content .om-account-brand-strip div,
  html body.woocommerce-account .woocommerce-MyAccount-content .om-account-brand-strip div:nth-child(2),
  html body.woocommerce-account .woocommerce-MyAccount-content .om-account-brand-strip div:last-child{
    width:100%!important;
    max-width:100%!important;
    text-align:center!important;
    white-space:normal!important;
    overflow-wrap:break-word!important;
  }

  /* Address cards: desktop UI explicitly uses two columns. On phones the
     two cards and their heading/edit links must stack. */
  html body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses,
  html body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses.u-columns,
  html body.woocommerce-account .woocommerce-MyAccount-content .u-columns.woocommerce-Addresses{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:none!important;
    gap:16px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:20px 0 0!important;
    padding:0!important;
    float:none!important;
    box-sizing:border-box!important;
  }
  html body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address{
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:0!important;
    margin:0!important;
    padding:20px!important;
    float:none!important;
    clear:both!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  html body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address-title{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:flex-start!important;
    gap:9px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0 0 16px!important;
    padding:0 0 14px!important;
    box-sizing:border-box!important;
  }
  html body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address-title h2,
  html body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address-title h3{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
    font-size:25px!important;
    line-height:1.08!important;
  }
  html body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address-title a{
    display:block!important;
    width:auto!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    line-height:1.3!important;
    text-align:left!important;
  }
  html body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address address{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:anywhere!important;
    line-height:1.65!important;
  }

  /* Security/recovery action: the source button can carry a desktop width
     and nowrap text. Make the existing button a contained touch target. */
  html body.woocommerce-account .woocommerce-MyAccount-content .om-security-action-button,
  html body.woocommerce-account .woocommerce-MyAccount-content button.om-security-action-button,
  html body.woocommerce-account .woocommerce-MyAccount-content .om-security-action button,
  html body.woocommerce-account .woocommerce-MyAccount-content button[data-action*="recovery"],
  html body.woocommerce-account .woocommerce-MyAccount-content button[name*="recovery"]{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:auto!important;
    min-height:48px!important;
    margin:18px 0 0!important;
    padding:13px 12px!important;
    box-sizing:border-box!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
    text-align:center!important;
    line-height:1.35!important;
    font-size:11px!important;
    letter-spacing:1.7px!important;
    overflow:hidden!important;
  }

  /* The security action may be a generic WooCommerce button rather than a
     dedicated class. JS marks the exact recovery button below. */
  html body.woocommerce-account .woocommerce-MyAccount-content .om-detected-security-button{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:auto!important;
    min-height:48px!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    text-align:center!important;
    box-sizing:border-box!important;
    padding:13px 12px!important;
    font-size:11px!important;
    line-height:1.35!important;
    letter-spacing:1.7px!important;
    overflow:hidden!important;
  }

  /* Prevent endpoint content from inheriting desktop fixed widths. */
  html body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields,
  html body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm,
  html body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-MyAccount-downloads,
  html body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info,
  html body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message,
  html body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-error{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
}
