
/* ===== All-device responsive pass (owner, 2026-12-04) =====
   The site must lay out cleanly on EVERY Chrome DevTools device
   preset in the owner's screenshot — Responsive (any width),
   iPhone SE 375, iPhone 16 393, iPhone 16 Pro Max 440,
   Pixel 9 / 9 Pro / 10 412, Samsung Galaxy A55 360,
   Pixel 9 Pro Fold (373 folded / ~841 unfolded),
   Galaxy Z Fold 6 (360 folded / ~768 unfolded),
   iPad Mini 768, iPad Pro 13 1024, Surface Pro 10 960 & 1440,
   Nest Hub Max 1280. Bands the earlier passes never covered are
   fixed here; nothing above this block changes, and every earlier
   owner rule (mobile hero 1280x720 zoom-fit, 3-line headline,
   slim sticky marquee, burger left, raised search, header row
   fit 901-1500) stays exactly as it was. */

/* Safety net for the free "Responsive" width and every preset:
   no element may ever push the page sideways. overflow-x:clip is
   used (not hidden) so the sticky header keeps working. */
body{overflow-x:clip}
img,video,svg{max-width:100%}

/* The one element that could still stretch the page at phone
   width is the running marquee track (its moving box is wider
   than the bar by design). The navy bar itself now hard-clips
   it (overflow:clip + paint containment), so the track can
   never widen the page at any device width — the bar, its slim
   phone height and the continuous animation are unchanged. */
.topbar{overflow:clip;contain:paint}
.topbar .items{overflow:clip}

/* Phones 360-440 (Galaxy A55, iPhone SE/16/16 Pro Max, Pixel 9
   series, both foldables folded): the header's first row —
   burger, logo, cart, account — always fits on one line: the
   logo may shrink, the icons never wrap or drop, and the search
   keeps its own full-width row underneath (flex-wrap stays on,
   exactly as the <=900px rules set it up). */
@media (max-width:480px){
  .header-in{gap:6px}
  .logo-link{flex:0 1 auto;min-width:0}
  .logo-link img{max-width:100% !important}
  .header-actions{flex:0 0 auto}
  .header-actions .icon-btn{width:40px;height:40px}
  .account-link{padding:6px 2px;flex:none}
}
/* Smallest phones (<=360, Galaxy A55 / Z Fold cover at their
   narrowest): slightly smaller hero type so the 3-line headline
   and the Shop Now button keep clear of the photo's edges. */
@media (max-width:360px){
  .hero h1{font-size:4.1vw}
  .hero .btn-shopnow{font-size:3.4vw}
  .sec-title h2{font-size:.98rem}
}

/* Tablet & unfolded-foldable band 641-900 (Galaxy Z Fold 6
   unfolded ~768, iPad Mini 768, Pixel 9 Pro Fold unfolded ~841):
   the hero copy box was capped at 28vw, which squeezed the
   headline into a ~215px column at 768px. Give it a readable
   width and a slightly smaller headline in this band only, so
   headline + sub-headline + button always sit inside the photo.
   (Phones <=640 keep their own hero rules; >=901 is untouched.) */
@media (min-width:641px) and (max-width:900px){
  .hero-copy{max-width:min(400px,56vw)}
  .hero h1{font-size:clamp(2.1rem,4.8vw,3.3rem)}
  .hero p{max-width:400px}
}
/* Same squeeze guard for the small-laptop band (Surface Pro 10
   portrait 960, iPad Pro 13 portrait 1024): a touch more room
   for the hero copy, headline a step smaller — the photo, its
   height and the desktop look above 1024 are unchanged. */
@media (min-width:901px) and (max-width:1024px){
  .hero-copy{max-width:min(430px,44vw)}
  .hero h1{font-size:clamp(2.2rem,4.9vw,3.4rem)}
}

/* Header containment for this same band (Surface Pro 10
   portrait 960, iPad Pro 13 portrait 1024) — written explicitly
   for 901-1024 so the header never relies on the wider 901-1500
   fit rules alone: the header's own wrap is capped at 94% of
   the viewport and centred; the logo link may shrink and the
   logo image scales down INSIDE it (object-fit:contain, left
   aligned), so the logo is never clipped at either edge; the
   nav may shrink with its links held on one line; the cart +
   Login/Register block never shrinks and never wraps off the
   row; and the search keeps its own full-width row under the
   top row, fully inside the wrap. */
@media (min-width:901px) and (max-width:1024px){
  header.site .wrap{max-width:94%;margin-left:auto;margin-right:auto}
  .header-in{flex-wrap:wrap;width:100%;min-width:0;row-gap:10px;padding-bottom:12px}
  .logo-link{flex:0 1 auto;min-width:0;max-width:190px !important}
  .logo-link img{width:100%;height:auto !important;max-width:190px !important;max-height:58px;object-fit:contain;object-position:left center}
  nav.main{flex:0 1 auto;min-width:0}
  nav.main a, nav.main button.navlink{white-space:nowrap;font-size:.93rem !important;padding:10px 9px !important}
  .header-actions{flex:0 0 auto}
  .header-search{order:10;flex:1 1 100%;max-width:none;min-width:0}
}

/* Quick-view modal price row (price + qty stepper + Add to
   Cart): wrap to a second line instead of squeezing/clipping
   on tablet and phone widths. */
@media (max-width:900px){
  .prod-foot{flex-wrap:wrap;row-gap:8px}
}

/* Product landing page at 821-1020 (foldables unfolded, Surface
   Pro portrait): the two-column product layout's gallery column
   was a little narrow for its 7-thumbnail row — the gallery
   takes the full column width in this band so every thumbnail
   stays big enough to tap. */
@media (min-width:821px) and (max-width:1020px){
  .lp-gallery{width:100%}
}

/* Short landscape screens (Nest Hub Max 1280x800, foldables
   unfolded in landscape, phones in landscape): the hero photo
   follows the screen height so the headline block never
   overflows the banner. Width-only bands above still apply. */
@media (max-height:500px) and (min-width:641px){
  .hero>img{height:88vh;min-height:0}
}

/* Phone/tablet header (<=900px), owner 2026-12-04: the logo
   sits in the MIDDLE of the header row — the header row is a
   1fr / auto / 1fr grid, so the burger stays on the left,
   cart + account stay on the right, and the logo is centred
   exactly between them whatever the icon widths are (the
   image itself keeps its exact size and artwork). The search row is raised (row gap
   22px -> 8px, so it sits closer under the logo row) and the
   header gains clear space below the search (padding-bottom
   12px), so the search box no longer merges into the banner
   underneath — a clean white gap separates them. */
@media (max-width:900px){
  .header-in{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;row-gap:8px;padding-bottom:12px}
  .burger{justify-self:start}
  .logo-link{justify-self:center;max-width:none !important}
  .header-actions{justify-self:end;margin-left:0}
  .header-search{grid-column:1 / -1}
}
