/* Tana Bana v7.2 — Mobile First Commerce Layer */
:root{--tb-mobile-nav-h:66px;--tb-safe-b:env(safe-area-inset-bottom,0px);--tb-safe-t:env(safe-area-inset-top,0px)}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{overscroll-behavior-y:auto}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}
img{max-width:100%}
.tb-mobile-nav{display:none}

@media(max-width:800px){
  /* v7.2.1 mobile scroll recovery: keep the document as the primary vertical scroller. */
  html{max-width:100%;min-height:100%;height:auto!important;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch}
  body{max-width:100%;min-height:100%;height:auto!important;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch}
  body:not(.no-scroll){overflow-y:auto!important;position:static!important}
  body.no-scroll{overflow:hidden!important}
  #app,main{min-height:1px;overflow:visible}
  body{padding-bottom:calc(var(--tb-safe-b) + 6px)}
  body.tb-has-mobile-nav{padding-bottom:calc(var(--tb-mobile-nav-h) + var(--tb-safe-b) + 12px)}
  body[data-page="product"]{padding-bottom:calc(78px + var(--tb-safe-b))}
  .container{width:min(100% - 28px,var(--max))}
  .section{padding:64px 0}.section-sm{padding:44px 0}
  .section-title{font-size:clamp(2.65rem,13vw,4rem);line-height:.92}
  .eyebrow{font-size:.58rem;letter-spacing:.17em}
  .btn{min-height:48px;padding:0 17px;touch-action:manipulation}
  input,select,textarea{font-size:16px!important}

  /* Compact premium header */
  .announce{height:28px;min-height:28px;font-size:.53rem;letter-spacing:.11em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .header{top:28px}.header.scrolled,.inner .header{top:0}
  .nav{height:62px;gap:9px}.header.scrolled .nav,.inner .header .nav{height:58px}
  .nav .logo{font-size:1.18rem;letter-spacing:.12em;line-height:.88;display:grid;text-align:center}
  .hamb{display:grid!important}.hamb .icon-link,.nav-right .icon-link{width:42px;height:42px;padding:8px}
  .nav-right{gap:2px}.nav-right [data-search]{display:grid!important}.nav-right a.hide-mobile{display:none!important}
  .count{right:-2px;top:-2px;min-width:16px;height:16px;font-size:.54rem}
  .inner{padding-top:58px}

  /* Menu becomes a polished thumb-first panel */
  .mobile-menu{inset:0 8% 0 0;padding:calc(22px + var(--tb-safe-t)) 22px calc(28px + var(--tb-safe-b));box-shadow:24px 0 80px rgba(33,25,21,.2);overflow:auto}
  .mobile-menu:after{content:"TANA BANA · PAKISTAN";position:absolute;left:22px;bottom:calc(20px + var(--tb-safe-b));font-size:.53rem;letter-spacing:.18em;color:var(--muted)}
  .mobile-menu>.logo{font-size:1.45rem!important;display:block!important;text-align:left!important;letter-spacing:.14em}
  .mobile-menu nav{margin-top:54px;gap:0;padding-bottom:72px}
  .mobile-menu nav a{font-size:clamp(2rem,10vw,3rem);line-height:1;padding:16px 0;min-height:60px;display:flex;align-items:center;justify-content:space-between}
  .mobile-menu nav a:after{content:"↗";font-family:Arial,sans-serif;font-size:.9rem;color:var(--muted)}
  .mobile-close{right:18px;top:calc(18px + var(--tb-safe-t));width:42px;height:42px}

  /* Bottom app navigation */
  .tb-mobile-nav{position:fixed;left:10px;right:10px;bottom:calc(8px + var(--tb-safe-b));height:58px;z-index:1200;display:grid;grid-template-columns:repeat(5,1fr);align-items:center;background:rgba(250,244,237,.94);border:1px solid rgba(95,69,58,.16);border-radius:18px;box-shadow:0 14px 42px rgba(49,34,27,.17);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);overflow:hidden}
  .tb-mobile-nav a,.tb-mobile-nav button{height:58px;border:0;background:transparent;color:var(--muted);display:grid;place-items:center;align-content:center;gap:3px;font-size:.49rem;text-transform:uppercase;letter-spacing:.08em;padding:0;position:relative}
  .tb-mobile-nav svg{width:19px;height:19px}.tb-mobile-nav .active{color:var(--ink)}
  .tb-mobile-nav .active:after{content:"";position:absolute;top:0;width:18px;height:2px;background:var(--wine);border-radius:0 0 2px 2px}
  .tb-mobile-nav [data-mobile-nav-search]{cursor:pointer}

  /* Isolated overlay scrolling: a sheet may scroll, but a closed sheet must never lock the page. */
  .mobile-menu,.search-overlay,.drawer,.quick-sheet,.filter-drawer,.os-command-card,.os-modal-card{
    -webkit-overflow-scrolling:touch;
    overscroll-behavior:contain;
  }
  .overlay:not(.open),.search-overlay:not(.open),.quick-overlay:not(.open){pointer-events:none!important}

  /* Search / bag / quick add behave like mobile sheets */
  .search-overlay{padding:calc(76px + var(--tb-safe-t)) 16px 24px;align-items:flex-start}
  .search-box{width:100%;max-width:none}.search-box input{font-size:clamp(2rem,10vw,3.2rem)!important;padding:10px 0 13px}
  .search-close{right:16px;top:calc(16px + var(--tb-safe-t));width:42px;height:42px}
  .search-suggestions{overflow:auto;flex-wrap:nowrap;padding-bottom:7px;scrollbar-width:none}.search-suggestions::-webkit-scrollbar{display:none}
  .search-results{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;max-height:58vh;overflow:auto;padding-bottom:20px}
  .overlay{background:rgba(29,20,17,.48);backdrop-filter:blur(3px)}
  .drawer{top:auto;width:100%;height:min(78svh,720px);bottom:0;border-radius:24px 24px 0 0;padding:20px 16px calc(22px + var(--tb-safe-b));transform:translateY(105%);box-shadow:0 -20px 60px rgba(37,27,22,.2)}
  .overlay.open .drawer{transform:none}.drawer-head{position:sticky;top:-20px;background:var(--paper);z-index:3;padding:18px 0 12px}.drawer-head h2{font-size:2rem}
  .quick-sheet{top:auto;bottom:0;width:100%;height:min(88svh,800px);border-radius:24px 24px 0 0;transform:translateY(105%)}
  .quick-overlay.open .quick-sheet{transform:none}.quick-close{right:14px;top:14px}
  .quick-product{display:block;min-height:0}.quick-image{height:36svh;min-height:260px}.quick-details{padding:24px 18px calc(28px + var(--tb-safe-b));justify-content:flex-start}.quick-details h2{font-size:2.35rem;margin:9px 0 6px}

  /* Home hero: premium, not over-tall */
  .hero-v5,.home-hero{height:82svh!important;min-height:610px!important;max-height:760px}
  .hero-v5 .hero-slide .hero-img img{object-position:var(--mobile-x,50%) var(--mobile-y,24%)!important}
  .hero-v5 .hero-shade{background:linear-gradient(0deg,rgba(27,19,16,.82) 0%,rgba(27,19,16,.42) 37%,rgba(27,19,16,.10) 70%,rgba(27,19,16,.14))}
  .hero-v5 .hero-copy{padding-top:42svh!important;width:100%!important;padding-left:0!important;padding-right:0!important}
  .hero-v5 .hero-kicker{font-size:.57rem;letter-spacing:.18em}.hero-v5 .hero-title{font-size:clamp(3.7rem,18vw,5.7rem)!important;line-height:.78;margin:13px 0 11px!important;max-width:96%}
  .hero-v5 .hero-title em{margin-left:7vw!important}.hero-v5 .hero-desc{font-size:.8rem!important;line-height:1.5;max-width:88%;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .hero-v5 .hero-actions{margin-top:14px!important}.hero-v5 .hero-actions .btn{min-height:44px;padding-inline:15px;font-size:.67rem}.hero-v5-ui{bottom:15px!important;left:14px!important;right:14px!important}.hero-v5-dots{gap:5px}.hero-dot{width:34px!important;padding:7px 0}.hero-v5-arrows button{width:38px!important;height:38px!important}
  .hero-campaign-note,.hero-scroll{display:none!important}.hero-progress-rail{bottom:0!important}
  .marquee{height:42px}.marquee-track{font-size:.7rem}

  /* Homepage content */
  .section-intro{margin-bottom:24px}.section-intro p{font-size:.88rem;line-height:1.65}
  .product-grid,.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px 9px!important}
  .pc-media{aspect-ratio:.73;overflow:hidden}.pc-media>a{height:100%;display:block}.pc-media img{height:100%;object-fit:cover}
  .pc-info{padding-top:9px}.pc-brand{font-size:.48rem;letter-spacing:.13em}.pc-name{font-size:.98rem!important;line-height:1.06;min-height:2.12em}.pc-meta{font-size:.59rem!important;min-height:1.2em}.pc-price{font-size:.78rem!important;margin-top:5px}.price-old{font-size:.67rem}.pc-wish{width:32px!important;height:32px!important;right:7px!important;top:7px!important}.pc-badge,.pc-discount{font-size:.48rem!important;padding:5px 6px!important}.pc-badges{left:7px!important;top:7px!important;gap:4px!important}
  .quickbar{margin-top:6px!important}.quickbar button:first-child{min-height:38px!important;font-size:.58rem!important}.swatches{gap:5px;margin-top:7px}.swatch{width:15px!important;height:15px!important}
  .v7-card-options{margin-top:7px!important}.v7-card-sizes{display:flex;gap:4px;overflow:auto;scrollbar-width:none}.v7-card-sizes::-webkit-scrollbar{display:none}.v7-card-sizes button{min-width:30px;height:28px;padding:0 6px;font-size:.57rem}.v7-card-stock{font-size:.56rem!important}
  .editorial-grid{grid-template-rows:430px 270px 315px 315px!important}.editorial-copy{padding:18px!important}.editorial-copy h3{font-size:2rem!important}
  .lookbook-copy{padding-top:24px!important}.lookbook-media{height:72svh!important;max-height:620px}.story-media{min-height:440px!important;height:62svh}.story-copy{padding:52px 20px!important}.insta-grid a{height:42vw!important;min-height:150px}.newsletter{padding:70px 18px!important}.newsletter h2{font-size:clamp(3rem,15vw,4.8rem)}
  .footer{padding-bottom:calc(85px + var(--tb-safe-b))}.footer-grid{grid-template-columns:1fr 1fr;gap:25px 18px}.footer-brand{font-size:2.25rem}.footer p,.footer a{font-size:.78rem}

  /* Page heroes */
  .page-hero{padding:56px 0 32px!important}.page-hero h1{font-size:clamp(3rem,15vw,4.5rem)!important;line-height:.86}.page-hero p{font-size:.86rem;line-height:1.6;margin-top:15px}.page-hero:after{font-size:24vw}

  /* Shop: thumb-first filters and clean 2-col cards */
  .shop-section{padding-top:0!important}.shop-meta{grid-template-columns:1fr auto auto!important;gap:8px;padding:12px 0;margin-bottom:12px;position:sticky;top:58px;z-index:15;background:rgba(247,240,232,.96);backdrop-filter:blur(14px)}
  .shop-meta>span{font-size:.58rem}.shop-meta>span b{font-size:1.05rem}.filter-trigger{display:inline-flex!important;min-height:40px;align-items:center;border:1px solid var(--line);padding:0 11px;border-radius:999px}.shop-meta .select{max-width:112px;font-size:.67rem;padding:10px 2px}
  .toolbar{margin-bottom:12px!important;overflow:auto!important;scrollbar-width:none}.toolbar::-webkit-scrollbar{display:none}.filter-chips{flex-wrap:nowrap!important;width:max-content!important}.filter-chip{padding:9px 12px;white-space:nowrap;font-size:.64rem}
  .shop-layout{display:block!important;margin-top:0!important}.shop-layout>.filter-panel{display:none!important}.shop-layout>.v7-filters{display:none!important}
  .filter-drawer{inset:auto 0 0 0!important;width:100%!important;height:min(86svh,760px);border-radius:24px 24px 0 0;padding:20px 16px calc(26px + var(--tb-safe-b))!important;transform:translateY(105%)!important;box-shadow:0 -18px 60px rgba(33,26,23,.2)!important}
  .filter-drawer.open{transform:none!important}.filter-drawer-head{position:sticky;top:-20px;background:var(--paper);z-index:4;padding:10px 0 12px;margin-bottom:12px!important}.filter-drawer-head h3{font-size:2rem;margin:0}
  .filter-drawer .v7-filters{display:block!important;border:0;margin:0 0 14px;padding:0;background:transparent;border-radius:0}.filter-drawer .v7-filter-head{display:flex;justify-content:flex-end;margin:0 0 8px}.filter-drawer .v7-filter-head>div{display:none}.filter-drawer .v7-filter-head button{min-height:40px;padding:0 4px}.filter-drawer .v7-filter-grid{grid-template-columns:1fr 1fr!important;gap:10px}.filter-drawer .v7-range,.filter-drawer .v7-color-filter{grid-column:1/-1!important}.filter-drawer .v7-color-filter{flex-wrap:wrap;padding:8px 0}.filter-drawer .v7-filter-grid select{min-height:46px}
  .filter-drawer>.filter-block{display:none}.filter-drawer>.btn{width:100%;margin-top:10px}

  /* PDP: swipe gallery + thumb rail + no crowding */
  .pdp-v5{padding-top:70px!important;padding-bottom:24px!important;gap:20px!important}.pdp-v5-gallery{width:calc(100% + 28px);margin-left:-14px}.pdp-v5-thumbs{padding:8px 14px 0!important;gap:7px!important;scroll-snap-type:x proximity}.pdp-v5-thumbs .pdp-thumb{min-width:56px!important;width:56px!important;scroll-snap-align:start}.pdp-v5-canvas{padding-left:14px;padding-right:14px;gap:7px!important;scroll-padding-inline:14px}.gallery-frame-v5,.gallery-frame-v5.hero-frame{min-width:calc(100vw - 42px)!important;border-radius:2px}.gallery-caption{left:10px!important;bottom:10px!important}
  .buybox-v5{padding:0 14px!important}.pdp-breadcrumb{font-size:.58rem}.pdp-brandline{margin-top:12px!important}.buybox-v5 h1{font-size:clamp(2.75rem,13vw,3.65rem)!important;margin:13px 0 11px}.pdp-subrow{gap:8px}.pdp-subrow .rating{font-size:.68rem}.buybox-v5 .pdp-price{padding:15px 0!important;font-size:1.25rem!important}.pdp-promise-v5{padding:14px 0!important}.promise-mark{width:44px;height:44px}.option-title{margin:20px 0 10px}.color-btn{width:38px;height:38px}.size-btn{height:44px;min-width:44px}.pdp-action-row{grid-template-columns:96px 1fr!important;gap:8px}.pdp-action-row>.round-btn{display:none!important}.qty{margin-top:0!important;width:100%;height:50px}.qty button{width:32px;height:48px}.add-bag-v5{min-height:50px}.buy-now{min-height:46px}.pdp-trustline{grid-template-columns:1fr!important;gap:5px!important;font-size:.54rem!important}.delivery-estimator{margin-top:8px}.accordion-v5{margin-top:22px!important}
  .mobile-buybar{padding:9px 12px calc(9px + var(--tb-safe-b))!important;z-index:1250!important;box-shadow:0 -10px 36px rgba(39,28,23,.12)}.mobile-buybar .btn{min-height:44px!important}.mobile-buybar b{font-size:.82rem}.mobile-buybar small{font-size:.58rem}
  .pdp-story-v5-copy{padding:58px 20px!important}.pdp-story-v5-copy h2{font-size:3.25rem!important}.pdp-story-v5-media{height:58svh!important}.complete-look-grid{gap:8px!important}.complete-main{aspect-ratio:.9!important}.complete-mini{min-width:0}.complete-mini b{font-size:.8rem}.reviews-v5-head{gap:15px}.rating-summary>b{font-size:3.5rem!important}.v7-color-compare{padding-inline:14px!important}.v7-color-compare>div:last-child{scroll-snap-type:x proximity}.v7-color-compare button{scroll-snap-align:start}

  /* Cart / checkout */
  .cart-layout,.checkout-layout{gap:18px}.cart-item{grid-template-columns:76px 1fr!important;gap:12px!important;padding:14px 0}.cart-item img{width:76px!important;height:98px!important}.cart-item h3{font-size:1.14rem!important}.cart-item>div:last-child{grid-column:2!important;display:flex;justify-content:space-between;align-items:center;gap:8px}.panel{padding:18px}.premium-summary{border-radius:14px}.checkout-card{padding:20px 14px!important}.checkout-summary{padding-top:18px!important}.checkout-item{grid-template-columns:54px 1fr auto!important;gap:9px}.checkout-thumb img{width:54px!important;height:70px!important}.checkout-item strong{font-size:.72rem}.checkout-item span{font-size:.58rem}.checkout-top{margin-top:58px!important}.checkout-top>.container{min-height:58px}.secure-mark{font-size:.54rem}.form-grid{gap:12px}.field{gap:6px}.field label{font-size:.62rem}.field input,.field select,.field textarea{min-height:48px;padding:12px}

  /* Account / auth / tracking */
  .auth-form{padding:84px 18px 34px!important}.auth-box h1{font-size:2.85rem!important}.auth-box{max-width:460px}.auth-links{gap:9px}.modern-account{gap:18px!important}.account-nav{display:flex!important;overflow:auto;gap:7px!important;margin:0 -14px;padding:0 14px 8px;scrollbar-width:none}.account-nav::-webkit-scrollbar{display:none}.account-nav a{white-space:nowrap;min-width:max-content;padding:10px 13px!important;border:1px solid var(--line)!important;border-radius:999px;text-align:center;font-size:.68rem}.account-welcome h2{font-size:2.65rem!important}.account-metrics{gap:8px}.account-metrics>a,.account-metrics>div{padding:16px}.account-metrics b{font-size:1.9rem;margin:8px 0}.recent-account{padding:18px!important}.order-card{align-items:flex-start;flex-wrap:wrap;gap:10px}.account-orders>.serif,.address-panel>.serif{font-size:2.55rem!important}
  .tracking-grid{gap:12px}.tracking-art{min-height:310px!important}.track-card{padding:22px 15px!important}.track-card h2{font-size:2.5rem!important}.v7-track-steps{padding-bottom:8px;scroll-snap-type:x proximity}.v7-track-steps>div{scroll-snap-align:start}

  /* Collection / About */
  .collection-stack{gap:52px!important}.collection-image{height:58svh!important;min-height:430px!important}.collection-copy h2{font-size:3rem!important}.about-hero-copy{padding:70px 20px 44px!important}.about-hero-copy h1{font-size:4.35rem!important}.about-hero-media{height:56svh!important}.about-split-media{height:55svh!important}.about-split-copy{padding:52px 20px!important}.about-quote{padding:70px 18px!important}.manifesto{font-size:2.25rem!important}

  /* Store Handler: true mobile working layout */
  .os-shell{min-width:0}.os-side{top:0!important;bottom:0;height:100dvh!important;width:min(88vw,320px)!important;left:-100%!important;z-index:110!important;padding-bottom:calc(26px + var(--tb-safe-b));overflow:auto}.os-side.open{left:0!important}.os-side:after{content:"";position:fixed;inset:0;background:rgba(24,18,15,.42);opacity:0;pointer-events:none;z-index:-1;transition:.2s}.os-side.open:after{opacity:1;pointer-events:auto}
  .os-top{height:62px!important;position:sticky;top:0;z-index:70;padding:0 12px!important;gap:8px}.os-top h1{font-size:1.16rem!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.os-menu{width:42px;height:42px}.os-main{padding:12px 10px calc(30px + var(--tb-safe-b))!important;min-width:0}.os-health{padding:13px!important}.os-metrics,.os-submetrics{grid-template-columns:1fr 1fr!important;gap:8px!important}.os-metric{padding:12px!important;min-width:0}.os-metric span{font-size:.56rem}.os-metric strong{font-size:1.24rem!important}.os-card{padding:13px!important;border-radius:12px!important;min-width:0}.os-card-head{align-items:flex-start;gap:8px;flex-wrap:wrap}.os-card-head h2{font-size:1.15rem}.os-toolbar{gap:9px!important}.os-btn{min-height:42px;display:inline-flex;align-items:center;justify-content:center}.os-actions{display:flex;gap:6px;overflow:auto;max-width:100%;scrollbar-width:none}.os-actions::-webkit-scrollbar{display:none}.os-actions .os-btn{display:inline-flex!important;white-space:nowrap}.os-table-wrap{overflow:auto!important;-webkit-overflow-scrolling:touch;margin-inline:-13px!important}.os-table{min-width:680px}.os-table th,.os-table td{padding:10px 9px!important;font-size:.68rem!important}.os-form-grid,.os-form-grid.cols3,.v7-crm-editor{grid-template-columns:1fr!important}.os-editor-side{grid-template-columns:1fr!important}.os-savebar{position:sticky!important;bottom:0!important;margin:16px -13px -13px!important;padding:10px 13px calc(10px + var(--tb-safe-b))!important;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:40}.os-preview{height:64svh!important}.os-command,.os-modal{align-items:end!important;padding:0!important}.os-command-card,.os-modal-card{width:100%!important;max-height:86svh;overflow:auto;border-radius:22px 22px 0 0!important;padding:16px 14px calc(20px + var(--tb-safe-b))!important}.os-command-grid{grid-template-columns:1fr!important}.os-campaign-list article{grid-template-columns:70px 1fr!important;gap:9px!important}.os-campaign-list img{width:70px!important;height:68px!important}.os-campaign-list article>div:last-child{grid-column:2!important}.os-login-panel{padding:22px 18px!important}.os-login-brand{margin-bottom:28px!important}.os-login-box h2{font-size:2.2rem!important}.v7-wizard{top:62px!important;display:flex!important;overflow:auto;gap:6px;scrollbar-width:none}.v7-wizard::-webkit-scrollbar{display:none}.v7-wizard>*{min-width:max-content}.v7-variant-row{grid-template-columns:1fr 1fr!important}.v7-bulk-tools{overflow:auto;flex-wrap:nowrap!important}.v7-auto-grid{grid-template-columns:1fr!important}
}

@media(max-width:430px){
  .container{width:calc(100% - 22px)}
  .product-grid,.shop-grid{gap:16px 7px!important}.pc-name{font-size:.92rem!important}.pc-meta{font-size:.55rem!important}.pc-price{font-size:.73rem!important}.pc-badge,.pc-discount{font-size:.44rem!important}.v7-card-sizes button{min-width:27px;height:26px;padding:0 5px}.quickbar button:first-child{font-size:.54rem!important}
  .hero-v5,.home-hero{height:80svh!important;min-height:590px!important}.hero-v5 .hero-copy{padding-top:40svh!important}.hero-v5 .hero-title{font-size:clamp(3.45rem,17vw,5.1rem)!important}.hero-v5 .hero-desc{max-width:96%}
  .page-hero h1{font-size:3.35rem!important}.shop-meta{gap:5px}.shop-meta .select{max-width:100px}.filter-trigger{padding-inline:9px;font-size:.6rem}.filter-chip{font-size:.6rem;padding:8px 10px}
  .pdp-v5-gallery{width:calc(100% + 22px);margin-left:-11px}.pdp-v5-canvas{padding-inline:11px}.gallery-frame-v5,.gallery-frame-v5.hero-frame{min-width:calc(100vw - 32px)!important}.buybox-v5{padding-inline:11px!important}.buybox-v5 h1{font-size:2.85rem!important}
  .account-metrics{grid-template-columns:1fr!important}.account-metrics>div:last-child{grid-column:auto!important}
  .os-metrics,.os-submetrics{grid-template-columns:1fr!important}.os-top h1{font-size:1.05rem!important}.os-main{padding-inline:8px!important}.os-card{padding-inline:11px!important}
}

@media(prefers-reduced-motion:reduce){.tb-mobile-nav,.drawer,.quick-sheet,.filter-drawer,.mobile-menu{transition:none!important}}
@media(max-width:800px){
.tb-gallery-dots{display:flex;justify-content:center;gap:5px;padding:10px 0 0}.tb-gallery-dots i{width:18px;height:2px;background:#cfc2b8;transition:.2s}.tb-gallery-dots i.active{background:var(--ink);width:30px}
}

/* v7.2.1 — ROOT SCROLLER HOTFIX
   Keep <html> as the only vertical scroller on phones. A stale body.no-scroll class
   can no longer freeze the page; only tb-scroll-locked (set while a visible sheet
   is actually open) is allowed to stop the document. */
@media(max-width:800px){
  html.tb-mobile-v72:not(.tb-scroll-locked){
    height:auto!important;
    min-height:100%!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior-y:auto!important;
    touch-action:pan-y pinch-zoom!important;
    -webkit-overflow-scrolling:touch;
  }
  html.tb-mobile-v72:not(.tb-scroll-locked) body,
  html.tb-mobile-v72:not(.tb-scroll-locked) body.no-scroll{
    position:relative!important;
    inset:auto!important;
    width:auto!important;
    height:auto!important;
    min-height:100%!important;
    overflow-x:hidden!important;
    overflow-y:visible!important;
    overscroll-behavior-y:auto!important;
    touch-action:pan-y pinch-zoom!important;
    -webkit-overflow-scrolling:touch;
  }
  html.tb-mobile-v72:not(.tb-scroll-locked) #app,
  html.tb-mobile-v72:not(.tb-scroll-locked) main,
  html.tb-mobile-v72:not(.tb-scroll-locked) .os-shell{
    overflow:visible!important;
    touch-action:pan-y pinch-zoom;
  }
  html.tb-mobile-v72.tb-scroll-locked{
    height:100%!important;
    overflow:hidden!important;
    overscroll-behavior:none!important;
    touch-action:none!important;
  }
  html.tb-mobile-v72.tb-scroll-locked body{
    height:100%!important;
    overflow:hidden!important;
    overscroll-behavior:none!important;
    touch-action:none!important;
  }
  /* Do not let horizontal carousels / tables monopolize vertical finger movement. */
  .horizontal-wrap,.pdp-v5-canvas,.pdp-main-gallery.gallery,.pdp-v5-thumbs,
  .toolbar,.filter-chips,.account-nav,.v7-card-sizes,.v7-color-compare>div:last-child,
  .os-actions,.os-table-wrap,.v7-wizard,.v7-bulk-tools{
    touch-action:pan-x pan-y!important;
  }
  /* Closed fixed surfaces are completely inert. */
  #mobileMenu:not(.open),#searchOverlay:not(.open),#cartDrawer:not(.open),
  #quickAdd:not(.open),#filterDrawer:not(.open),#zoomModal:not(.open),#sizeModal:not(.open){
    pointer-events:none!important;
  }
}

/* v7.2.2 — Product image framing hotfix
   Keep fashion photography clean on phones: match the 2:3 source ratio,
   avoid hover/touch cross-fades and keep operational badges out of the model. */
@media(max-width:800px){
  .product-grid,.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .product-card{min-width:0!important;overflow:visible}
  .product-card .pc-media{aspect-ratio:2/3!important;background:#eee5dc!important;overflow:hidden!important;border-radius:3px}
  .product-card .pc-media>a{display:block!important;width:100%;height:100%}
  .product-card .pc-media img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center top!important;transform:none!important;transition:opacity .28s ease!important}
  .product-card .pc-media img.base{opacity:1!important}
  .product-card .pc-media img.alt{opacity:0!important}
  .product-card:hover .pc-media img.base,.product-card:active .pc-media img.base{opacity:1!important;transform:none!important}
  .product-card:hover .pc-media img.alt,.product-card:active .pc-media img.alt{opacity:0!important}
  .product-card .pc-media:after{inset:0!important;box-shadow:none!important;border:0!important}
  .product-card .pc-top{left:7px!important;right:7px!important;top:7px!important;align-items:flex-start}
  .product-card .pc-badges{gap:4px!important;max-width:calc(100% - 38px)}
  .product-card .pc-badge,.product-card .pc-discount{padding:5px 6px!important;font-size:.44rem!important;line-height:1!important;letter-spacing:.08em!important;white-space:nowrap}
  .product-card .pc-wish{width:30px!important;height:30px!important;min-width:30px!important;padding:0!important}
  .product-card .pc-wish svg{width:17px!important;height:17px!important}
  .product-card .pc-index{display:none!important}
  .product-card .v7-stock-badge,.product-card .v7-sale-clock{bottom:7px!important;top:auto!important;max-width:calc(50% - 10px);padding:5px 7px!important;font-size:7.5px!important;line-height:1!important;letter-spacing:.055em!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;backdrop-filter:blur(8px)}
  .product-card .v7-stock-badge{left:7px!important;right:auto!important}
  .product-card .v7-sale-clock{right:7px!important;left:auto!important}
  .product-card .quickbar{display:none!important}
  .product-card .pc-info{padding-top:8px!important}
}
@media(max-width:360px){
  .product-grid,.shop-grid{gap:14px 6px!important}
  .product-card .pc-badge,.product-card .pc-discount{font-size:.40rem!important;padding:4px 5px!important}
  .product-card .v7-stock-badge,.product-card .v7-sale-clock{font-size:6.8px!important;padding:4px 5px!important}
}
