/* Mobile account follows the storefront type, colours and existing navigation. */
.account-mobile-home,.account-mobile-back{display:none}
.account-input-wrap{position:relative;min-width:0}
.account-input-wrap>input{width:100%;box-sizing:border-box}
.account-input-wrap:has(.account-password-toggle:not([hidden]))>input{padding-right:48px}
.account-password-toggle{position:absolute;right:3px;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:0;background:transparent;color:var(--muted);cursor:pointer}
.account-password-toggle[hidden]{display:none}
.account-auth-page .account-auth{align-items:start;column-gap:64px;row-gap:22px}
.account-auth-heading{grid-column:1/-1}
.account-auth-heading h1{margin-bottom:10px}
.account-auth-heading>p{color:var(--muted);font-size:15px;line-height:1.6;margin:0;max-width:480px}
.account-auth-benefits{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.account-auth-benefits>span{display:flex;align-items:center;gap:6px;background:#fff;border:1px solid var(--line);border-radius:9px;padding:7px 9px;font-size:12px}
.account-auth-benefits .account-icon{color:var(--orange);width:15px;height:15px;flex-basis:15px}
.account-auth-tabs,.account-buyer-options{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;background:#f2f3f5;border-radius:12px}
.account-auth-tabs{margin-bottom:18px}
.account-auth-tabs a,.account-buyer-options label>span{display:flex;align-items:center;justify-content:center;min-height:43px;border-radius:9px;color:var(--muted);text-align:center;font-size:14px;line-height:1.4;padding:8px}
.account-auth-tabs a[aria-current],.account-buyer-options input:checked+span{background:#fff;color:var(--ink);box-shadow:0 1px 4px #00000010}
.account-buyer{padding:0;border:0;margin:0;min-width:0}
.account-buyer legend{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
.account-buyer-options label{position:relative;cursor:pointer}
.account-buyer-options input{position:absolute;width:1px;height:1px;opacity:0}
.account-buyer-options input:focus-visible+span{outline:2px solid var(--orange);outline-offset:2px}
.account-register-company{display:grid;gap:16px;padding-top:4px}
.account-register-company[hidden]{display:none}
.account-password-hint{margin:-8px 0 0}
.account-profile-section legend .account-icon{width:18px;height:18px;vertical-align:-3px;margin-right:8px;color:var(--orange)}
.account-profile .account-email{display:flex;flex-direction:column;gap:9px;margin:18px 0 0;font-size:14px}
.account-profile .account-email>span{color:var(--muted)}
.account-profile .account-email>strong{font-weight:400;padding:14px 16px;border:1px solid var(--line);border-radius:10px;line-height:1.5}
.account-profile-save{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:10px}
.account-profile-save>span{font-size:13px;color:var(--muted);line-height:1.5}
.account-profile-save .button{min-height:48px;cursor:pointer}
@media(max-width:767px){
  body[data-tj-route^="account/"]>.mobile-official{display:none}
  .account-main{padding-top:20px;padding-bottom:30px}
  .account-main .breadcrumbs{display:none}
  .account-workspace{padding-top:20px;padding-bottom:30px}
  .account-workspace .account-sidebar{display:none}
  .account-dashboard>:not(.account-mobile-home):not(.checkout-alert),.account-home-page>:not(.account-mobile-home):not(.checkout-alert){display:none}
  .account-mobile-home{display:flex;flex-direction:column;gap:14px}
  .account-mobile-greeting{display:flex;gap:14px;align-items:center;padding-bottom:2px}
  .account-mobile-greeting>div{flex:1;min-width:0}
  .account-mobile-greeting h1{font-size:25px;font-weight:500;line-height:1.25;margin:0 0 5px;overflow-wrap:anywhere}
  .account-mobile-greeting p{font-size:13px;color:var(--muted);line-height:1.5;margin:0;overflow-wrap:anywhere}
  .account-mobile-greeting .account-avatar{width:46px;height:46px;flex-basis:46px;font-size:16px}
  .account-mobile-home .account-card{border-radius:18px;padding:18px}
  .account-mobile-latest .account-section-heading{align-items:center;gap:10px;flex-wrap:wrap}
  .account-mobile-latest h2{font-size:17px;line-height:1.4;margin:0}
  .account-mobile-latest .account-note{font-size:12px;margin:6px 0 0}
  .account-mobile-latest .account-current-items{margin:12px 0}
  .account-mobile-latest .account-current-items>div{font-size:12px;gap:8px;padding:5px 0}
  .account-mobile-latest .account-current-items span{overflow-wrap:anywhere;min-width:0}
  .account-mobile-order-total{display:flex;gap:12px;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding:14px 0}
  .account-mobile-order-total>span{font-size:12px;color:var(--muted)}
  .account-mobile-order-total>strong{font-size:21px;white-space:nowrap}
  .account-mobile-latest>.button{display:flex;width:100%;justify-content:center;gap:8px;border-radius:11px;min-height:46px;font-size:14px}
  .account-mobile-latest>.account-note:last-child{text-align:center;margin-top:10px}
  .account-mobile-latest>.account-tile-icon{margin-bottom:12px}
  .account-mobile-latest .account-muted{font-size:14px;margin:8px 0 16px}
  .account-mobile-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .account-mobile-tiles>a,.account-mobile-tiles>button,.account-mobile-tiles>form>button{display:flex;flex-direction:column;align-items:flex-start;gap:6px;width:100%;height:100%;min-width:0;min-height:122px;padding:15px;background:#fff;border:1px solid var(--line);border-radius:18px;color:var(--ink);text-align:left;font:inherit;cursor:pointer}
  .account-mobile-tiles form{margin:0;min-width:0}
  .account-tile-icon{display:flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;background:#fff1e7;border-radius:12px;color:var(--orange);margin-bottom:4px}
  .account-mobile-tiles strong{display:block;font-size:14px;line-height:1.4}
  .account-mobile-tiles small{display:block;font-size:12px;color:var(--muted);line-height:1.45}
  .account-mobile-tiles .account-mobile-retail{grid-column:1/-1;flex-direction:row;align-items:center;gap:12px;min-height:86px}
  .account-mobile-retail .account-tile-icon{background:#eaf6ef;color:#22754b;margin:0}
  .account-mobile-retail>div{flex:1;min-width:0}
  .account-mobile-retail small{margin-top:5px}
  .account-mobile-retail>.account-icon{color:var(--muted);width:17px;flex-basis:17px}
  .account-mobile-retail-note{font-size:12px;line-height:1.5;color:var(--muted);margin:-4px 4px 0}
  .account-mobile-home .account-mobile-support{display:flex;align-items:center;gap:10px;padding:15px}
  .account-support-avatar{display:flex;align-items:center;justify-content:center;flex:0 0 42px;width:42px;height:42px;border-radius:50%;background:#edf1f7;color:#57718a}
  .account-mobile-support>div{flex:1;min-width:0}
  .account-mobile-support strong{display:block;font-size:14px}
  .account-mobile-support small{display:block;font-size:12px;color:var(--muted);margin-top:4px;line-height:1.4}
  .account-mobile-support>a{display:flex;align-items:center;justify-content:center;flex:0 0 42px;width:42px;height:44px;border:1px solid var(--line);border-radius:12px;color:var(--orange)}
  .account-mobile-support>a .account-icon{width:17px;height:17px}
  .account-mobile-home .account-mobile-settings{padding:6px 18px}
  .account-mobile-settings>a,.account-mobile-settings button{display:flex;align-items:center;gap:12px;min-height:55px;padding:14px 0;border:0;border-bottom:1px solid var(--line);background:transparent;width:100%;color:var(--ink);font:inherit;font-size:14px;text-align:left;line-height:1.5}
  .account-mobile-settings>a>.account-icon{color:var(--muted);width:18px;height:18px;flex-basis:18px}
  .account-mobile-settings>a>span{flex:1}
  .account-mobile-settings>a>.account-icon:last-child{width:14px;height:14px;flex-basis:14px}
  .account-mobile-settings form{margin:0}
  .account-mobile-settings button{border-bottom:0;color:#b65544;cursor:pointer}
  .account-auth-page .account-auth{display:flex;flex-direction:column;gap:18px;margin:0 auto;max-width:480px}
  .account-auth-heading h1{font-size:27px;line-height:1.3;margin:0 0 6px}
  .account-auth-heading>p{font-size:14px;line-height:1.5}
  .account-auth-benefits{gap:6px;margin-top:16px}
  .account-auth-benefits>span{padding:7px;font-size:11px}
  .account-auth-benefits .account-icon{width:14px;height:14px;flex-basis:14px}
  .account-auth-page .account-auth>.account-auth-card{padding:20px 18px;width:100%;border-radius:18px}
  .account-auth .account-intro{display:none}
  .account-auth .account-form{gap:15px}
  .account-auth .checkout-field input,.account-profile-page .checkout-field input{min-height:50px;font-size:16px;border-radius:12px}
  .account-auth .checkout-field label,.account-profile-page .checkout-field label{font-size:14px;line-height:1.4}
  .account-auth .checkout-consent{font-size:13px;line-height:1.5}
  .account-auth .account-form>.button{min-height:52px;border-radius:13px;font-size:15px;margin-top:0}
  .account-auth-switch{font-size:13px;margin-top:18px}
  .account-auth-card>.account-note{font-size:12px;margin-bottom:0}
  .account-mobile-back{display:inline-flex;align-items:center;justify-content:center;width:36px;height:44px;margin-left:-8px;flex:0 0 36px;color:var(--ink)}
  .account-mobile-back .account-icon{transform:rotate(180deg);width:18px;height:18px}
  .account-profile-page .checkout-heading{margin-bottom:16px}
  .account-profile-page .checkout-heading h1{display:flex;align-items:center;gap:8px;font-size:20px;line-height:1.4;margin:0}
  .account-profile-page .account-nav,.account-profile-intro{display:none}
  .account-profile-page .account-profile{padding:0;border:0;background:transparent;max-width:none}
  .account-profile .account-form{gap:16px}
  .account-profile .account-profile-section{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px 16px 18px;margin:0;scroll-margin-top:135px}
  .account-profile .account-profile-section legend{float:left;width:100%;font-size:16px;margin-bottom:14px;padding:0;line-height:1.5}
  .account-profile .account-profile-section>.checkout-fields,.account-profile .account-profile-section>.account-note{clear:both}
  .account-profile .checkout-fields{grid-template-columns:1fr;gap:14px}
  .account-profile-section>.account-note{font-size:12px;margin:0 0 14px}
  .account-profile .account-email{margin-top:14px;font-size:14px}
  .account-profile .account-email>strong{font-size:16px;border-radius:12px}
  body[data-tj-route="account/profile"] .mobile-bottom-nav{display:none}
  .account-profile-save{position:fixed;bottom:0;left:0;right:0;z-index:41;background:#fff;border-top:1px solid var(--line);padding:12px 20px calc(12px + env(safe-area-inset-bottom));gap:14px}
  .account-profile-save>span{max-width:200px;font-size:12px}
  .account-profile-save .button{min-height:48px;flex:0 0 auto;border-radius:13px;padding:12px 22px;font-size:14px}
  body[data-tj-route="account/profile"]{padding-bottom:calc(82px + env(safe-area-inset-bottom))}
  .account-profile-page input{scroll-margin-bottom:100px}
  .account-main>.account-nav{flex-wrap:nowrap;overflow-x:auto;gap:2px}
  .account-main>.account-nav>a,.account-main>.account-nav>form{flex-shrink:0}
  .account-workspace .account-main>.checkout-heading{margin-bottom:18px}
}
@media(max-width:360px){.account-mobile-greeting h1{font-size:23px}.account-mobile-tiles>a,.account-mobile-tiles>button,.account-mobile-tiles>form>button{padding:13px}.account-auth-benefits>span{font-size:10px;padding:6px}.account-auth-page .account-auth>.account-auth-card{padding:18px 14px}.account-mobile-support>a{flex-basis:38px;width:38px}}
