/* Authenticated TriFome customer area */
body.customer-visual:has(.customer-account){--customer-forest:#003d1b;--customer-green:#008f28;--customer-lime:#76ff00;--customer-pale:#e8f8ea;--customer-ink:#101510;overflow-x:hidden;background:#f4f8f5}
body.customer-visual:has(.customer-account) .nav{position:sticky;top:0;z-index:30;border-bottom:1px solid #e6efe8;background:rgba(255,255,255,.94);backdrop-filter:blur(16px)}
body.customer-visual:has(.customer-account) .nav .container{width:min(1240px,calc(100% - 48px));min-height:78px;display:flex;align-items:center;gap:24px}
.customer-dashboard-logo{flex:0 0 168px;display:flex;align-items:center;line-height:0}.customer-dashboard-logo img{display:block;width:100%;height:auto;object-fit:contain}
.customer-dashboard-nav{display:flex;align-items:center;justify-content:center;gap:4px;min-width:0;flex:1}
.customer-dashboard-nav a{display:flex;align-items:center;gap:8px;min-height:42px;padding:0 11px;border-radius:12px;color:#203328;text-decoration:none;font-size:12px;font-weight:700;white-space:nowrap;transition:background .25s ease,color .25s ease,box-shadow .25s ease,transform .25s ease}
.customer-dashboard-nav a:hover,.customer-dashboard-nav a:focus-visible{background:#e8f8ea;color:#008f28;box-shadow:0 5px 16px rgba(0,143,40,.1);transform:translateY(-1px)}
.customer-nav-icon{display:inline-block;width:18px;height:18px;flex:0 0 18px;background-image:url('/assets/customer-dashboard/icons.png');background-repeat:no-repeat;background-size:400% 200%;background-position:0 0}
.customer-nav-orders,.shortcut-orders{background-position:33.333% 0}.customer-nav-favorites,.shortcut-favorites{background-position:66.667% 0}.customer-nav-account,.shortcut-account{background-position:0 100%}.customer-nav-logout{background-position:33.333% 100%}
.customer-dashboard-user{display:flex;align-items:center;gap:9px;flex:0 0 auto}.customer-user-avatar{width:38px;height:38px;display:grid;place-items:center;overflow:hidden;border:2px solid #c8eccd;border-radius:50%;background:#e8f8ea;color:#006d20;font-size:14px;font-weight:800}.customer-user-avatar img{width:100%;height:100%;object-fit:cover}
.customer-user-name{max-width:115px;overflow:hidden;color:#24362a;font-size:12px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}
.customer-logout{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:0 12px;border:1px solid #d9e7dc;border-radius:12px;background:#fff;color:#254331;font:inherit;font-size:12px;font-weight:750;cursor:pointer;transition:background .25s ease,color .25s ease,border-color .25s ease,transform .25s ease}
.customer-logout:hover{transform:translateY(-1px);border-color:#bce4c2;background:#e8f8ea;color:#008f28}
body.customer-visual .customer-main:has(.customer-account){padding:34px 0 62px;background:#f4f8f5}
body.customer-visual .customer-main:has(.customer-account) .customer-shell{width:min(1210px,calc(100% - 48px));min-height:0;padding:0;display:block}
body.customer-visual .customer-main:has(.customer-account) .customer-story{display:none}
body.customer-visual .customer-main:has(.customer-account) .customer-login-panel{max-width:none;margin:0}
body.customer-visual .customer-account,body.customer-visual .customer-account:has(.tf-profile){width:100%;max-width:none;margin:0;padding:0;color:#101510}
.customer-dashboard-hero{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr) minmax(330px,.82fr);align-items:center;min-height:290px;overflow:hidden;padding:34px clamp(28px,4.5vw,58px);border:1px solid rgba(0,143,40,.18);border-radius:28px;background:#003d1b url('/assets/customer-dashboard/gradient.png') center/cover no-repeat;color:#fff;box-shadow:0 18px 44px rgba(0,61,27,.14)}
.customer-dashboard-hero:before{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,rgba(0,43,19,.28),rgba(0,43,19,.02) 68%);pointer-events:none}
.customer-dashboard-hero-copy{position:relative;z-index:2;max-width:600px}.customer-dashboard-kicker,.customer-section-eyebrow{display:block;margin-bottom:8px;color:#c8ff87;font-size:10px;font-weight:850;letter-spacing:.17em}
.customer-dashboard-hero h1{margin:0;color:#fff;font-size:clamp(28px,3vw,38px);font-weight:800;letter-spacing:-.045em}.customer-dashboard-hero h2{margin:4px 0 9px;color:#c9ff36;font-size:clamp(25px,3vw,37px);font-weight:850;line-height:1.08;letter-spacing:-.05em}.customer-dashboard-hero p{max-width:490px;margin:0 0 18px;color:rgba(255,255,255,.84);font-size:14px;line-height:1.55}
.customer-dashboard-cta{min-height:44px;display:inline-flex;align-items:center;gap:13px;padding:0 17px;border:1px solid #76ff00;border-radius:13px;background:linear-gradient(110deg,#008f28,#006d20);color:#fff;font-size:13px;font-weight:800;text-decoration:none;box-shadow:0 8px 21px rgba(0,0,0,.2);transition:transform .25s ease,box-shadow .25s ease,filter .25s ease}.customer-dashboard-cta:hover{transform:translateY(-2px);filter:brightness(1.07);box-shadow:0 12px 27px rgba(0,0,0,.24),0 0 17px rgba(118,255,0,.3)}.customer-dashboard-cta span{font-size:19px;line-height:1}
.customer-dashboard-combo{position:relative;z-index:1;justify-self:end;display:block;width:min(100%,475px);max-height:265px;object-fit:contain;object-position:center;filter:drop-shadow(0 20px 20px rgba(0,0,0,.26));animation:customer-combo-float 5.8s ease-in-out infinite}
@keyframes customer-combo-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
.customer-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:20px 0 31px}
.customer-shortcuts>a{min-width:0;min-height:88px;display:grid;grid-template-columns:46px minmax(0,1fr) 17px;align-items:center;gap:11px;padding:13px 14px;border:1px solid #e0ebe2;border-radius:18px;background:linear-gradient(145deg,#fff,#f9fdf9);color:#101510;text-decoration:none;box-shadow:0 6px 18px rgba(20,70,35,.045);transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}
.customer-shortcuts>a:hover,.customer-shortcuts>a:focus-visible{transform:translateY(-3px);border-color:#b8e7bf;box-shadow:0 14px 29px rgba(0,143,40,.13),0 0 0 3px rgba(118,255,0,.07)}
.customer-shortcut-icon{width:46px;height:46px;display:block;border:1px solid #cfeeda;border-radius:15px;background-color:#e8f8ea;background-image:url('/assets/customer-dashboard/icons.png');background-repeat:no-repeat;background-size:400% 200%;box-shadow:inset 0 1px #fff}
.shortcut-address{background-position:100% 0}
.customer-shortcuts>a>span:nth-child(2){display:grid;gap:4px;min-width:0}.customer-shortcuts b{overflow:hidden;color:#163d23;font-size:12px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.customer-shortcuts small{overflow:hidden;color:#718077;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.customer-shortcuts>a>i{color:#008f28;font-size:20px;font-style:normal;transition:transform .25s ease}.customer-shortcuts>a:hover>i{transform:translateX(4px)}
.customer-dashboard-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(290px,.82fr);align-items:start;gap:24px}.customer-orders-column,.customer-favorites-column{min-width:0}
body.customer-visual .customer-orders-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:0 0 14px;padding:0 0 14px;border-bottom:1px solid #dceade;scroll-margin-top:100px}
.customer-orders-head>div:first-child{min-width:0}.customer-section-eyebrow{margin:0 0 6px;color:#008f28;font-size:9px}.customer-orders-head h2,.customer-section-heading h2{margin:0 0 4px;color:#14271b;font-size:22px;font-weight:820;letter-spacing:-.035em}.customer-orders-head p,.customer-section-heading p{margin:0;color:#718077;font-size:12px}
.customer-account-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.customer-see-all{display:inline-flex;align-items:center;gap:6px;color:#087c35;text-decoration:none;font-size:11px;font-weight:800;white-space:nowrap}.customer-see-all span{font-size:16px;transition:transform .25s ease}.customer-see-all:hover span{transform:translateX(3px)}
.customer-order-list{display:grid;gap:12px}.customer-order.card,.customer-favorite.card,.customer-empty-favorites,.market-empty.card,body.customer-visual .tf-profile-card{border:1px solid #e0ebe2;border-radius:19px;background:linear-gradient(145deg,#fff,#f8fdf9);color:#101510;box-shadow:0 8px 24px rgba(17,75,35,.055);transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}
.customer-order.card:hover,.customer-favorite.card:hover{transform:translateY(-2px);border-color:#c5e8cb;box-shadow:0 14px 30px rgba(17,75,35,.1)}
.customer-order.card{padding:17px}.customer-order-brand{display:flex;align-items:center;gap:12px;min-width:0}.customer-order-brand>div{flex:1;min-width:0}.customer-order-brand a{color:#15291c;text-decoration:none}.customer-order-brand a:hover{color:#008f28}.customer-order-brand small{display:block;margin-top:4px;color:#79857d;font-size:10px}.customer-restaurant-logo,.customer-restaurant-fallback{width:48px;height:48px;flex:0 0 48px;display:grid;place-items:center;overflow:hidden;border:1px solid #dceade;border-radius:15px;background:#f1faf2}.customer-restaurant-logo{object-fit:contain;padding:5px}.customer-restaurant-fallback{color:#087c35;font-size:25px}.customer-order-brand .badge{flex:0 0 auto}.customer-order-items{display:flex;flex-wrap:wrap;gap:7px 12px;margin:13px 0 0;padding:12px 0;border-top:1px solid #e5eee6;color:#52645a;font-size:11px}.customer-order-total{display:block;color:#073e1c;font-size:17px;text-align:right}.customer-order-payment{margin:8px 0 0;color:#087c35}.customer-order-track{display:flex;gap:4px;margin:13px 0 0}.customer-order-track i{height:5px;border-radius:20px;background:#e1ebe3}.customer-order-track i.on{background:linear-gradient(90deg,#76ff00,#008f28)}.customer-order-track i.current{box-shadow:0 0 8px rgba(0,143,40,.28)}.customer-order-update{margin:9px 0 0;color:#087c35;font-size:12px}.customer-order-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.customer-order-actions .btn{min-height:38px;border-radius:11px;font-size:10px}.customer-order-actions .btn-primary{background:linear-gradient(110deg,#008f28,#006d20);border-color:#008f28;color:#fff}.customer-order .badge-info{background:#e8f8ea;color:#087c35}.customer-order .badge-ok{background:#e8f8ea;color:#087c35}.customer-order .badge-err{background:#fff0ef;color:#c9352b}
.customer-favorites-column{margin:0;padding:0;scroll-margin-top:100px}.customer-section-heading{align-items:flex-end;margin:0 0 14px;padding:0 0 14px;border-bottom:1px solid #dceade}.customer-section-heading>div{min-width:0}.customer-favorite-grid{display:grid;grid-template-columns:1fr;gap:11px}.customer-favorite.card{display:grid;grid-template-columns:94px minmax(0,1fr);min-height:116px;overflow:hidden;padding:0}.customer-favorite-brand{position:relative;min-height:116px;display:grid;place-items:center;padding:10px;background:linear-gradient(145deg,#effaef,#e6f7e8);color:#087c35}.customer-favorite-logo,.customer-favorite-fallback{width:68px;height:68px;display:grid;place-items:center;border:1px solid #d4ead7;border-radius:19px;background:#fff;object-fit:contain;padding:5px}.customer-favorite-fallback{color:#087c35;font-size:36px}.favorite-remove{position:absolute;top:8px;right:8px;width:29px;height:29px;display:grid;place-items:center;border:1px solid #d7ecdb;border-radius:50%;background:#fff;color:#008f28;font-size:14px;cursor:pointer;transition:transform .25s ease,background .25s ease,color .25s ease}.favorite-remove:hover{transform:scale(1.08);background:#e8f8ea;color:#006d20}.favorite-remove:disabled{opacity:.55;cursor:wait}.customer-favorite-info{display:grid;align-content:center;gap:5px;min-width:0;padding:11px 12px}.customer-favorite-info>b{overflow:hidden;color:#163d23;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.customer-favorite-info small{overflow:hidden;color:#718077;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.customer-favorite-info .customer-favorite-rating{color:#178139}.customer-favorite-info .btn{justify-self:start;min-height:32px;margin-top:2px;border-radius:10px;font-size:10px}.customer-empty-favorites{display:flex;align-items:flex-start;gap:12px;padding:16px}.customer-empty-favorites>span{width:37px;height:37px;flex:0 0 37px;display:grid;place-items:center;border-radius:13px;background:#e8f8ea;color:#008f28;font-size:19px}.customer-empty-favorites b{color:#163d23;font-size:12px}.customer-empty-favorites p{margin:5px 0 10px;color:#718077;font-size:11px;line-height:1.45}.customer-empty-favorites .btn{min-height:36px;border-color:#cce8d0;color:#087c35;font-size:10px}
.customer-profile-mount{margin-top:34px}.customer-account:has(.tf-profile){padding-left:0!important}.customer-account:has(.tf-profile)>.customer-welcome{display:none}.tf-profile{color:#17251b;margin:0}.tf-profile-nav a{min-height:40px;background:#fff;color:#46624e;transition:background .25s ease,color .25s ease,transform .25s ease}.tf-profile-nav a:first-child,.tf-profile-nav a:hover{background:#e8f8ea;color:#008f28}.tf-profile-nav a:hover{transform:translateY(-1px)}.tf-profile h1{color:#14271b}.tf-profile-subtitle,.tf-profile-photo small,.tf-profile-fields label,.tf-address-fields label{color:#718077}.tf-profile-card{border-color:#e0ebe2!important;border-radius:20px!important;background:linear-gradient(145deg,#fff,#f8fdf9)!important;box-shadow:0 8px 24px rgba(17,75,35,.055)!important}.tf-profile-photo{border-color:#e0ebe2}.tf-profile-avatar{border-color:#bfe9c4;background:#e8f8ea;color:#087c35}.tf-profile input:not([type=checkbox]):not([type=file]){border-color:#d7e3d9;border-radius:10px;background:#fff;color:#17251b}.tf-profile input:focus-visible,.tf-profile button:focus-visible,.tf-profile a:focus-visible{outline-color:#008f28}.tf-outline{border-color:#cfe3d2;background:#fff;color:#087c35}.tf-outline:hover{background:#e8f8ea}.tf-save{border-color:#008f28;background:linear-gradient(110deg,#008f28,#006d20);color:#fff}.tf-remove-photo{color:#718077}.tf-feedback{color:#52645a}.tf-address{border-color:#e0ebe2;border-radius:14px;background:#fff}.tf-address.is-primary{border-color:#9ddba8}.tf-address-icon{background:#e8f8ea;color:#087c35}.tf-primary{background:#e8f8ea;color:#087c35}.tf-address-actions button{color:#087c35}.tf-address-actions button:hover{color:#00551b}.tf-address-editor{border-color:#d7e8da;border-radius:16px;background:#f7fcf8}.tf-empty{border-color:#cfdfd2;color:#718077}
.customer-dashboard-logo:focus-visible,.customer-dashboard-nav a:focus-visible,.customer-logout:focus-visible,.customer-shortcuts a:focus-visible,.customer-dashboard-cta:focus-visible,.customer-see-all:focus-visible{outline:3px solid rgba(0,143,40,.35);outline-offset:3px}
@media(max-width:1100px){body.customer-visual:has(.customer-account) .nav .container{width:calc(100% - 32px);gap:12px}.customer-dashboard-logo{flex-basis:145px}.customer-dashboard-nav a{gap:6px;padding-inline:8px;font-size:11px}.customer-user-name{max-width:80px}.customer-dashboard-grid{grid-template-columns:minmax(0,1.45fr) minmax(270px,.9fr)}.customer-shortcuts{gap:9px}.customer-shortcuts>a{grid-template-columns:40px minmax(0,1fr) 14px;gap:8px;padding:11px}.customer-shortcut-icon{width:40px;height:40px}}
@media(max-width:850px){body.customer-visual:has(.customer-account) .nav .container{min-height:72px;display:grid;grid-template-columns:minmax(128px,1fr) auto;grid-template-areas:"brand user" "menu menu";gap:8px 12px;padding-block:9px}.customer-dashboard-logo{grid-area:brand;width:150px}.customer-dashboard-user{grid-area:user}.customer-dashboard-nav{grid-area:menu;justify-content:flex-start;gap:4px;overflow-x:auto;scrollbar-width:none;padding:2px 0 3px}.customer-dashboard-nav::-webkit-scrollbar{display:none}.customer-dashboard-nav a{min-height:38px;padding-inline:10px}.customer-dashboard-grid{grid-template-columns:1fr}.customer-favorites-column{margin-top:8px}.customer-favorite-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-profile-mount{margin-top:26px}}
@media(max-width:650px){body.customer-visual:has(.customer-account) .nav .container{width:calc(100% - 24px)}.customer-dashboard-logo{width:132px}.customer-user-avatar{width:34px;height:34px}.customer-user-name{max-width:86px;font-size:11px}.customer-logout{min-height:36px;padding:0 9px}.customer-dashboard-nav a{font-size:10px}.customer-nav-icon{width:16px;height:16px;flex-basis:16px}body.customer-visual .customer-main:has(.customer-account){padding:18px 0 44px}body.customer-visual .customer-main:has(.customer-account) .customer-shell{width:calc(100% - 24px)}.customer-dashboard-hero{grid-template-columns:1fr;min-height:0;padding:24px 21px 8px;border-radius:21px;background-position:center}.customer-dashboard-hero-copy{max-width:none}.customer-dashboard-kicker{font-size:9px}.customer-dashboard-hero h1{font-size:29px}.customer-dashboard-hero h2{font-size:28px}.customer-dashboard-hero p{max-width:380px;margin-bottom:13px;font-size:12px}.customer-dashboard-cta{min-height:42px;font-size:12px}.customer-dashboard-combo{justify-self:center;width:min(100%,420px);max-height:205px;margin-top:4px}.customer-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:14px 0 24px}.customer-shortcuts>a{min-height:76px;grid-template-columns:34px minmax(0,1fr) 12px;gap:7px;padding:9px;border-radius:15px}.customer-shortcut-icon{width:34px;height:34px;border-radius:12px}.customer-shortcuts b{font-size:10px}.customer-shortcuts small{font-size:9px}.customer-shortcuts>a>i{font-size:16px}.customer-orders-head{align-items:flex-start!important;flex-direction:column;gap:12px!important}.customer-account-actions{width:100%;justify-content:space-between}.customer-favorite-grid{grid-template-columns:1fr}.customer-order.card{padding:13px}.customer-order-actions .btn{flex:1 1 42%;text-align:center}.customer-order-brand .badge{margin-left:0}.customer-order-brand{gap:9px}.customer-order-brand>div{flex:1 1 calc(100% - 64px)}.customer-order-brand .badge{margin-left:57px}.customer-account:has(.tf-profile){padding-left:0!important}.tf-profile-nav{gap:5px}.tf-profile-nav a{font-size:11px;gap:6px;padding:9px 8px}.tf-profile-card{padding:18px 14px}.tf-address-actions{width:100%;justify-content:flex-end}}
@media(max-width:380px){body.customer-visual:has(.customer-account) .nav .container{grid-template-columns:minmax(110px,1fr) auto;column-gap:7px}.customer-dashboard-logo{width:118px}.customer-dashboard-user{gap:6px}.customer-user-name{max-width:66px}.customer-logout{padding-inline:7px;font-size:10px}.customer-dashboard-hero{padding-inline:17px}.customer-dashboard-hero h2{font-size:25px}.customer-shortcuts>a{grid-template-columns:30px minmax(0,1fr) 10px;gap:6px;padding:8px}.customer-shortcut-icon{width:30px;height:30px}.customer-shortcuts b{font-size:9px}}
@media(prefers-reduced-motion:reduce){body.customer-visual:has(.customer-account) *,body.customer-visual:has(.customer-account) *:before,body.customer-visual:has(.customer-account) *:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Mobile/PWA touch layout refinements */
@media(max-width:850px){
  body.customer-visual:has(.customer-account) .nav .container{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand user" "menu menu";gap:9px 12px;padding-block:10px}
  .customer-dashboard-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;overflow:visible;padding:0}
  .customer-dashboard-nav a{justify-content:flex-start;min-width:0;min-height:44px;padding:0 11px;border:1px solid #e2eee4;background:#f9fcf9;font-size:12px}
  .customer-dashboard-grid{grid-template-columns:minmax(0,1fr);gap:24px}
  .customer-favorites-column{margin-top:0}
}
@media(max-width:650px){
  body.customer-visual .customer-main:has(.customer-account){padding:12px 0 calc(36px + env(safe-area-inset-bottom,0px))}
  body.customer-visual .customer-main:has(.customer-account) .customer-shell{width:calc(100% - 20px)}
  body.customer-visual:has(.customer-account) .nav .container{width:calc(100% - 20px);gap:8px 9px;padding-block:9px}
  .customer-dashboard-logo{width:128px}
  .customer-dashboard-user{gap:7px}
  .customer-user-avatar{width:36px;height:36px}
  .customer-user-name{max-width:100px;font-size:12px}
  .customer-logout{min-height:42px;padding:0 11px;font-size:12px}
  .customer-dashboard-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  .customer-dashboard-nav a{min-height:44px;gap:8px;padding-inline:10px;border-radius:12px;font-size:12px}
  .customer-nav-icon{width:18px;height:18px;flex-basis:18px}
  .customer-dashboard-hero{grid-template-columns:minmax(0,1fr);gap:0;padding:22px 18px 0;border-radius:20px;background-position:58% center}
  .customer-dashboard-hero-copy{max-width:none}
  .customer-dashboard-kicker{font-size:10px}
  .customer-dashboard-hero h1{font-size:clamp(27px,7.5vw,32px);line-height:1.12}
  .customer-dashboard-hero h2{font-size:clamp(24px,7vw,29px);line-height:1.1}
  .customer-dashboard-hero p{max-width:36ch;margin:0 0 14px;font-size:14px;line-height:1.5}
  .customer-dashboard-cta{min-height:46px;padding-inline:15px;font-size:13px}
  .customer-dashboard-combo{justify-self:center;width:min(100%,390px);height:auto;max-height:220px;aspect-ratio:1.78;object-fit:contain;margin-top:5px;animation:none}
  .customer-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:13px 0 25px}
  .customer-shortcuts>a{min-height:84px;grid-template-columns:38px minmax(0,1fr) 12px;gap:7px;padding:10px;border-radius:15px}
  .customer-shortcut-icon{width:38px;height:38px;border-radius:12px}
  .customer-shortcuts b{font-size:11px;line-height:1.25;white-space:normal}
  .customer-shortcuts small{font-size:10px;line-height:1.25;white-space:normal}
  .customer-orders-head{align-items:flex-start!important;flex-direction:column;gap:11px!important}
  .customer-account-actions{width:100%;align-items:stretch;gap:8px}
  .customer-account-actions #customer-refresh{min-height:44px;padding-inline:12px}
  .customer-account-actions .customer-see-all{min-height:44px;padding-inline:6px}
  .customer-order.card{padding:14px;border-radius:17px}
  .customer-order-brand{align-items:center;gap:9px;flex-wrap:wrap}
  .customer-order-brand>div{flex:1 1 calc(100% - 65px);min-width:0}
  .customer-order-brand .badge{margin:0 0 0 57px}
  .customer-order-brand small{font-size:11px;line-height:1.4}
  .customer-order-items{font-size:12px;line-height:1.45}
  .customer-order-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .customer-order-actions .btn{display:flex;align-items:center;justify-content:center;min-width:0;min-height:46px;padding:8px 7px;border-radius:12px;font-size:12px;line-height:1.2;white-space:normal;text-align:center}
  .customer-order-actions .btn-ghost,.customer-account-actions .btn-ghost{border:1px solid #cfe4d2;background:#fff;color:#087c35;box-shadow:0 3px 9px rgba(0,80,28,.05)}
  .customer-order-actions .btn-ghost:hover,.customer-account-actions .btn-ghost:hover{background:#e8f8ea;color:#00551b}
  .customer-order-actions .small.muted{grid-column:1/-1}
  .customer-favorite-grid{grid-template-columns:minmax(0,1fr);gap:10px}
  .customer-favorite.card{grid-template-columns:82px minmax(0,1fr);min-height:112px;border-radius:16px}
  .customer-favorite-brand{min-height:112px;padding:8px}
  .customer-favorite-logo,.customer-favorite-fallback{width:60px;height:60px;border-radius:16px}
  .customer-favorite-info{gap:6px;padding:11px}
  .customer-favorite-info>b{font-size:13px}
  .customer-favorite-info small{font-size:11px}
  .customer-favorite-info .btn{min-height:42px;padding-inline:13px;font-size:12px}
  .favorite-remove{width:34px;height:34px}
  .customer-empty-favorites{padding:15px}
  .customer-empty-favorites b{font-size:13px}
  .customer-empty-favorites p{font-size:12px}
  .customer-empty-favorites .btn{min-height:42px;font-size:12px}
  .customer-profile-mount{margin-top:27px}
  .tf-profile-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-bottom:20px;padding-bottom:14px}
  .tf-profile-nav a{justify-content:flex-start;min-height:44px;padding:9px 10px;border:1px solid #e2eee4;border-radius:12px;background:#fff;font-size:12px}
  .tf-profile-nav svg{width:18px;height:18px}
  .tf-profile-card{padding:17px 13px}
  .tf-profile form#tf-profile-form{gap:20px}
  .tf-profile-fields{gap:14px}
  .tf-profile-fields label,.tf-address-fields label{font-size:13px}
  .tf-profile input:not([type=checkbox]):not([type=file]),.tf-address-fields input{height:46px;min-height:46px;padding-inline:12px;font-size:16px}
  .tf-photo-button,.tf-remove-photo,.tf-save,.tf-outline{min-height:44px}
  .tf-address{align-items:flex-start}
  .tf-address>div:not(.tf-address-actions){flex:1 1 calc(100% - 48px)}
  .tf-address-actions{width:100%;justify-content:flex-end;gap:8px}
  .tf-address-actions button{min-width:70px;min-height:42px;padding:8px;border:1px solid #d8e9da;border-radius:10px;background:#f9fcf9;font-size:12px}
  .tf-address-fields{gap:12px}
  .tf-editor-buttons{gap:8px}
  .tf-editor-buttons button{min-height:46px}
}
@media(max-width:380px){
  body.customer-visual:has(.customer-account) .nav .container{grid-template-columns:minmax(0,1fr) auto;column-gap:6px}
  .customer-dashboard-logo{width:112px}
  .customer-user-name{max-width:72px;font-size:11px}
  .customer-logout{padding-inline:8px;font-size:11px}
  .customer-dashboard-nav a{gap:6px;padding-inline:8px;font-size:11px}
  .customer-dashboard-hero{padding-inline:15px}
  .customer-shortcuts>a{grid-template-columns:33px minmax(0,1fr) 10px;gap:6px;padding:8px}
  .customer-shortcut-icon{width:33px;height:33px}
  .customer-shortcuts b{font-size:10px}
  .customer-shortcuts small{font-size:9px}
  .customer-order-actions{grid-template-columns:1fr}
  .customer-order-actions .small.muted{grid-column:auto}
}

/* customer-mobile-nav-flow-fix-v1 */
@media(max-width:850px){body.customer-visual:has(.customer-account) .nav .container{height:auto!important;min-height:0;padding-block:10px}}

/* customer-mobile-favorites-center-v1 */
@media(max-width:650px){
  .customer-favorites-column{width:100%;display:flex;flex-direction:column;align-items:center}
  .customer-section-heading{width:100%;display:flex;flex-direction:column;align-items:center!important;gap:7px;text-align:center}
  .customer-section-heading>div{width:100%;text-align:center}
  .customer-section-heading h2,.customer-section-heading p{margin-inline:auto}
  .customer-section-heading .customer-see-all{align-self:center}
  .customer-favorite-grid{width:100%;justify-items:center}
  .customer-favorite.card{width:100%;max-width:460px;margin-inline:auto}
}