:root{
  /* Core palette */
  --bg:#ffffff;
  --surface:#f5f5f7;
  --panel:#ffffff;

  /* Hairline borders */
  --hair: rgba(0,0,0,.08);

  --text:#1d1d1f;
  --muted: rgba(0,0,0,.62);
  --faint: rgba(0,0,0,.46);

  --accent:#ffa500;
  --accent-contrast:#000000;
  --accent-soft: rgba(255,165,0,.14);

  --radius: 20px;
  --radius-sm: 14px;

  --max: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text","SF Pro Display",
          system-ui, Helvetica, Arial, sans-serif;

  /* Spacing scale */
  --space-2xs: 6px;
  --space-xs: 10px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 36px;
  --space-xl: 56px;
  --space-2xl: 80px;

  --s0:12px;
  --s1:16px;
  --s2:24px;
  --s3:36px;
  --s4:52px;
  --s5:76px;

  --gutter: clamp(18px, 3.2vw, 34px);
  --section: clamp(56px, 7vw, 108px);
  --section-sm: clamp(42px, 6vw, 86px);

  --shadow: 0 10px 30px rgba(0,0,0,.06);
  --shadow-sm: 0 8px 18px rgba(0,0,0,.07);
}

/* ========= Base / Reset ========= */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background:var(--bg);
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
a{color:inherit;text-decoration:none}
button{font-family:inherit}

img, video{max-width:100%;height:auto}
img{display:block}

:focus-visible{
  outline: 3px solid var(--accent-soft);
  outline-offset: 3px;
  border-radius: 12px;
}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  *{transition:none !important; animation:none !important}
}

/* ========= Layout ========= */
.wrap{
  max-width:var(--max);
  margin:0 auto;
  padding-inline: var(--gutter);
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}
.pagePad{padding-block: var(--section) calc(var(--section) + 20px);}

/* Performance (below-the-fold only)
   Note: don't apply content-visibility to the PDP gallery/details to avoid layout jump on mobile. */
.section, .panel, footer, .productTile, .cards, .life{
  content-visibility:auto;
  contain-intrinsic-size: 600px;
}
.gallery, .details{
  content-visibility: visible;
  contain-intrinsic-size: auto;
}

/* ========= Header ========= */
header{
  position:sticky;
  top:0;
  z-index:50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom:1px solid var(--hair);
}
.headerInner{
  max-width:var(--max);
  margin:0 auto;
  padding: 12px var(--gutter);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.brand{
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color: var(--muted);
  white-space:nowrap;
}
.headerActions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
}

/* ========= Typography ========= */
.eyebrow{
  margin:0 0 10px;
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color: var(--muted);
}
.h1, h1{
  margin:0;
  font-weight:750;
  letter-spacing:-0.03em;
  line-height:1.05;
  font-size: clamp(38px, 5.4vw, 72px);
}
.h2, h2{
  margin:0 0 10px;
  font-weight:720;
  letter-spacing:-0.02em;
  line-height:1.18;
  font-size: clamp(22px, 2.4vw, 30px);
}
.subhead{
  margin:0;
  color:var(--muted);
  font-size: 18px;
  max-width:72ch;
}
.muted{color:var(--muted)}
.note{
  margin:12px 0 0;
  color:var(--faint);
  font-size:13px;
  max-width:72ch;
}

/* ========= Buttons / Links ========= */
.btn{
  border:1px solid var(--hair);
  background:#fff;
  color:var(--text);
  padding:12px 16px;
  border-radius:999px;
  font-size:14px;
  font-weight:650;
  cursor:pointer;
  line-height:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  transition: background .15s ease, border-color .15s ease, transform .08s ease;
}
.btn:hover{background: rgba(0,0,0,.02)}
.btn:active{transform: translateY(1px)}
.btn.primary{
  background:var(--accent);
  color:var(--accent-contrast);
  border-color: transparent;
}
.btn.primary:hover{background:#ffb733}

.link{
  font-size:14px;
  color:var(--muted);
  padding:10px 12px;
  border-radius:999px;
  border:1px solid transparent;
}
.link:hover{border-color:var(--hair); background: rgba(0,0,0,.02)}
.ctaRow{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-top:16px}

/* ========= Sections ========= */
.section{padding: var(--section) 0 0}
.section:first-of-type{padding-top: var(--section-sm)}

/* ========= Cards / Panels ========= */
.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.card{
  background:#fff;
  border:1px solid var(--hair);
  border-radius: var(--radius-sm);
  padding:22px;
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
}
.card h3{
  margin:0;
  font-size:16px;
  font-weight:720;
  letter-spacing:-0.01em;
}
.card p{margin:10px 0 0;color:var(--muted);font-size:14px}

.panel{
  border:1px solid rgba(0,0,0,.06);
  border-radius: var(--radius);
  background:#fff;
  padding: 18px;
}
.summaryLine{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  padding:10px 0;
  border-top:1px solid rgba(0,0,0,.06);
}
.summaryLine:first-child{border-top:0;padding-top:0}
.summaryLine b{font-weight:720;text-align:right}

/* ========= Hero / Media ========= */
/* Index hero badges row (prevents label overlap) */
.badgeRow{
  position:static;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  padding-bottom:14px;
  z-index:2;
}
.badgeRow .lifeLabel{ position:static; }

.hero{
  padding: var(--section-sm) 0 0;
  display:grid;
  gap: 18px;
}
.heroCard, .lifeMain, .lifeCard, .productTile, .gallery{
  border:1px solid rgba(0,0,0,.06);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.heroMedia{
  display:grid;
  place-items:center;
  padding: 14px;
  position:relative;
  background:var(--surface);
}
.ph{
  width:min(860px, 92%);
  border:1px dashed rgba(0,0,0,.16);
  border-radius: 16px;
  padding: 18px;
  background: rgba(255,255,255,.72);
  color: var(--muted);
  font-size: 14px;
  text-align:center;
}
.badge, .lifeLabel{
  background: rgba(255,255,255,.9);
  border:1px solid rgba(0,0,0,.08);
  padding: 7px 10px;
  border-radius:999px;
  font-size:12px;
  color: var(--muted);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  white-space:nowrap;
}
.badge b, .lifeLabel b{color:var(--text);font-weight:720}
.heroBadges{
  position:absolute; top:12px; left:12px;
  display:flex; gap:8px; flex-wrap:wrap;
}

/* Media wrapper (images/video) */
.media{
  width:100%;
  height:100%;
  border-radius: calc(var(--radius) - 2px);
  overflow:hidden;
  background: rgba(255,255,255,.6);
}
.media img{
  width:100%;
  height:100%;
  object-fit: cover;
}
.heroMedia .media{ position:relative; z-index:1; }

/* ========= Lifestyle ========= */
.life{
  margin-top: 22px;
  display:grid;
  grid-template-columns: 1.4fr .9fr;
  gap: 14px;
}
.lifeMain{
  position:relative;
  aspect-ratio: 16 / 10;
  display:grid;
  place-items:center;
  padding: 14px;
}
.lifeSide{display:grid;gap:14px}
.lifeCard{
  position:relative;
  aspect-ratio: 4 / 3;
  display:grid;
  place-items:center;
  padding: 14px;
}
.lifeLabel{position:absolute; left:12px; top:12px}

.lifeMain .media, .lifeCard .media{
  border-radius: calc(var(--radius) - 6px);
}

/* ========= Product tile ========= */
.productTile{
  margin-top: 22px;
  background:#fff;
  display:grid;
  grid-template-columns: 1.1fr .9fr;
}
.tileMedia{
  background: var(--surface);
  aspect-ratio: 4 / 3;
  display:grid;
  place-items:center;
  padding: 14px;
  border-right:1px solid rgba(0,0,0,.06);
}
.tileInfo{
  padding: 26px;
  display:grid;
  gap: 10px;
  align-content:center;
}
.tileInfo h2{margin:0;font-size: clamp(26px, 2.6vw, 34px); letter-spacing:-0.02em; line-height:1.12}
.tag{margin:0;color:var(--muted);font-weight:650}
.desc{margin:0;color:var(--muted);max-width:70ch}

.tileMedia img{
  width:100%;
  height:100%;
  object-fit: cover;
  border-radius: calc(var(--radius) - 2px);
}
.heroMedia > img{
  width:100%;
  height:100%;
  object-fit: cover;
  border-radius: calc(var(--radius) - 2px);
}

/* Pills */
.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid rgba(0,0,0,.08);
  border-radius:999px;
  padding:11px 14px;
  font-size:13px;
  line-height:1.2;
  color:var(--muted);
  background:#fff;
  white-space:nowrap;
  min-height:40px;
}

/* === Quick facts / pills: unified vertical rhythm === */
.meta,
.pillRow{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  margin-block: 22px;
}

/* ========= PDP ========= */
.grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(22px, 4.2vw, 56px);
  align-items:start;
  padding-top: 18px;
}
.galleryViewport{position:relative}
.galleryTrack{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:100%;
  overflow-x:auto;
  overscroll-behavior-x:contain;
  -webkit-overflow-scrolling:touch;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  scrollbar-width:none;
}
.galleryTrack::-webkit-scrollbar{display:none}
.slide{scroll-snap-align:center; position:relative; aspect-ratio:4/3; display:grid; place-items:center; padding:10px}
.slide figure{
  margin:0; width:100%; height:100%;
  border-radius: calc(var(--radius) - 2px);
  overflow:hidden;
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  display:grid; place-items:center;
}
.slide img{width:100%;height:100%;object-fit:cover}
.shimmer{
  position:absolute; inset: 12px;
  border-radius: 14px;
  background: linear-gradient(110deg, rgba(0,0,0,.04) 8%, rgba(0,0,0,.08) 18%, rgba(0,0,0,.04) 33%);
  background-size: 200% 100%;
  animation: shimmer 1.2s linear infinite;
  pointer-events:none;
}
.slide.is-loaded .shimmer{display:none}
@keyframes shimmer{to{background-position-x:-200%}}

.galleryNav{
  position:absolute; inset:0;
  pointer-events:none;
  display:flex; align-items:center; justify-content:space-between;
  padding: 0 10px;
}
.navBtn{
  pointer-events:auto;
  width:44px;height:44px;border-radius:999px;
  border:1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.90);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display:grid; place-items:center;
  cursor:pointer;
  box-shadow: var(--shadow-sm);
  user-select:none;
}
.navBtn svg{width:18px;height:18px}
@media (max-width: 980px){ .galleryNav{display:none} }

.dots{
  display:flex; justify-content:center; gap:10px;
  padding:12px;
  background:#fff;
  border-top:1px solid rgba(0,0,0,.06);
}
.dotBtn{width:9px;height:9px;border-radius:999px;border:0;background:rgba(0,0,0,.18);cursor:pointer;padding:0}
.dotBtn[aria-current="true"]{background:var(--accent)}

.thumbs{
  display:flex; gap:10px;
  padding: 14px;
  border-top:1px solid rgba(0,0,0,.06);
  background:#fff;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  scroll-snap-type:x mandatory;
}
.thumbBtn{
  flex:0 0 auto;
  width: 92px;
  height: 70px;
  border-radius: 14px;
  border:1px solid rgba(0,0,0,.08);
  background: var(--surface);
  overflow:hidden;
  padding:0;
  cursor:pointer;
  scroll-snap-align:start;
}
.thumbBtn img{width:100%;height:100%;object-fit:cover}
.thumbBtn[aria-current="true"]{
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(255,165,0,.16);
}

/* Benefits + details */
.benefits{
  list-style:none; padding:0; margin:0 0 24px;
  display:grid; gap:12px;
}
.benefits li{
  border:1px solid rgba(0,0,0,.06);
  border-radius: var(--radius-sm);
  background:#fff;
  padding: 16px 16px;
  font-size: 15px;
  display:flex; gap: 12px;
  align-items:flex-start;
}
.dot{width:8px;height:8px;border-radius:999px;background:var(--accent);margin-top:8px;flex:0 0 auto}

.details{border-top:1px solid rgba(0,0,0,.06); margin-top: 10px}
details{border-bottom:1px solid rgba(0,0,0,.06); padding: 18px 0}
summary{
  cursor:pointer; list-style:none;
  display:flex; justify-content:space-between; align-items:center;
  gap: 12px;
  font-size:16px;
  font-weight:720;
}
summary::-webkit-details-marker{display:none}
.chev{
  width:30px;height:30px;border-radius:999px;
  border:1px solid rgba(0,0,0,.08);
  display:grid;place-items:center;
  color: var(--muted);
  background:#fff;
  flex:0 0 auto;
  transition: transform .2s ease, color .2s ease, border-color .2s ease;
}
details[open] .chev{transform: rotate(180deg); color: var(--accent); border-color: var(--accent-soft)}
.detailBody{margin-top: 12px; color: var(--muted); font-size: 15px; max-width: 72ch}
.detailBody ul{margin: 10px 0 0; padding-left: 18px; display:grid; gap: 8px}
.footnote{font-size:12px; color: var(--faint); margin-top: 18px}

/* PDP price line */
.price{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}

/* Price line (shared Index + PDP) */
.priceLine{
  display:flex;
  align-items:baseline;
  gap: 14px;
  margin: 14px 0 16px;
  flex-wrap: wrap;
}
.priceAmount{
  font-size: 22px;
  font-weight: 760;
  letter-spacing: -0.01em;
}
.priceNote{
  font-size: 14px;
  color: var(--muted);
  font-weight: 650;
}

/* ========= Mobile sticky bar ========= */
.mobileBar{
  position:fixed; left:0; right:0; bottom:0;
  z-index:60;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-top:1px solid rgba(0,0,0,.06);
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  display:none;
}
.mobileBarInner{
  max-width:var(--max);
  margin:0 auto;
  display:flex; gap: 12px; align-items:center;
}
.mobileTitle{min-width:0;flex:1 1 auto;display:flex;flex-direction:column;gap:2px}
.mobileTitle b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mobileTitle small{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* ========= PDP: variant selector ========= */
.segment{
  display:inline-flex;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(0,0,0,.04);
  border: 1px solid rgba(0,0,0,.06);
}
.segBtn{
  appearance:none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .08s ease;
}
.segBtn:hover{ background: rgba(0,0,0,.04); }
.segBtn[aria-pressed="true"]{
  background: #fff;
  color: var(--text);
  border-color: rgba(0,0,0,.10);
  box-shadow: 0 6px 14px rgba(0,0,0,.08);
}

/* ========= Checkout layout ========= */
.checkoutGrid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(18px, 3.4vw, 42px);
  align-items:start;
}

/* Form fields */
.fieldRow{display:grid; gap: 14px}
.field{display:grid; gap: 8px}
.field label{
  font-size: 13px;
  font-weight: 650;
  color: var(--muted);
}
.field input, .field select, .field textarea{
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.96);
  color: var(--text);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field input::placeholder, .field textarea::placeholder{color: rgba(0,0,0,.38)}
.field input:focus, .field select:focus, .field textarea:focus{
  border-color: rgba(255,165,0,.55);
  box-shadow: 0 0 0 4px rgba(255,165,0,.16);
}
.twoCol{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Checkout typography + separators */
.checkoutGrid h2{
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.hr{
  height: 1px;
  background: rgba(0,0,0,.06);
  margin: 14px 0;
}

/* Quantity control (Checkout) */
.qtyControl{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.92);
}
.qtyStepper{
  display:flex;
  align-items:center;
  gap: 8px;
}
.qtyBtn{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  display:grid;
  place-items:center;
  font-size: 18px;
  font-weight: 800;
  cursor:pointer;
  transition: transform .08s ease, background .15s ease, border-color .15s ease;
}
.qtyBtn:active{ transform: translateY(1px); }
.qtyInput{
  width: 64px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  font-size: 15px;
  font-weight: 700;
  text-align:center;
}
.qtyMeta{
  display:flex;
  flex-direction:column;
  gap: 2px;
  min-width: 0;
}
.qtyMeta b{ font-size: 14px; }
.qtyMeta small{ color: var(--muted); font-size: 12px; }

/* ========= Footer ========= */
footer{
  margin-top: var(--section);
  padding-top: 22px;
  border-top:1px solid rgba(0,0,0,.06);
  color: var(--faint);
  font-size: 12px;
  display:flex;
  justify-content:space-between;
  gap: 12px;
  flex-wrap:wrap;
}
footer a{color:inherit}
footer a:hover{color:var(--text)}

/* ========= Theme: Dark (PDP) ========= */
.theme-dark{
  --bg: #000000;
  --surface: #0f0f10;
  --panel: #111112;
  --text: #f5f5f7;
  --muted: rgba(255,255,255,.72);
  --faint: rgba(255,255,255,.55);
  --hair: rgba(255,255,255,.12);
  --shadow: none;
  --shadow-sm: none;
}
.theme-dark header{
  background: rgba(0,0,0,.72);
  border-bottom: 1px solid var(--hair);
}
.theme-dark .brand{ color: var(--muted); }
.theme-dark .btn{
  background: rgba(255,255,255,.06);
  border-color: var(--hair);
  color: var(--text);
}
.theme-dark .btn:hover{ background: rgba(255,255,255,.10); }
.theme-dark .btn.primary{
  background: var(--accent);
  color: var(--accent-contrast);
  border-color: transparent;
}
.theme-dark .card,
.theme-dark .panel{
  background: rgba(255,255,255,.04);
  border-color: var(--hair);
  box-shadow: none;
}
.theme-dark .heroCard,
.theme-dark .lifeMain,
.theme-dark .lifeCard,
.theme-dark .productTile,
.theme-dark .gallery{
  background: rgba(255,255,255,.03);
  border-color: var(--hair);
  box-shadow: none;
}
.theme-dark .tileMedia{ border-right-color: var(--hair); }
.theme-dark .slide figure{
  background: rgba(0,0,0,.35);
  border-color: var(--hair);
}
.theme-dark .navBtn{
  background: rgba(0,0,0,.55);
  border-color: var(--hair);
  color: var(--text);
}
.theme-dark .dots,
.theme-dark .thumbs{
  background: rgba(0,0,0,.35);
  border-top-color: var(--hair);
}
.theme-dark .dotBtn{ background: rgba(255,255,255,.25); }
.theme-dark .thumbBtn{
  border-color: var(--hair);
  background: rgba(255,255,255,.06);
}
.theme-dark .pill{
  background: rgba(255,255,255,.06);
  border-color: var(--hair);
  color: rgba(255,255,255,.78);
}
.theme-dark .segment{
  background: rgba(255,255,255,.06);
  border-color: var(--hair);
}
.theme-dark .segBtn{ color: rgba(255,255,255,.72); }
.theme-dark .segBtn:hover{ background: rgba(255,255,255,.08); }
.theme-dark .segBtn[aria-pressed="true"]{
  background: rgba(255,255,255,.14);
  color: var(--text);
  border-color: rgba(255,255,255,.18);
  box-shadow: none;
}
.theme-dark .benefits li{
  background: rgba(255,255,255,.04);
  border-color: var(--hair);
}
.theme-dark .details{ border-top-color: var(--hair); }
.theme-dark details{ border-bottom-color: var(--hair); }
.theme-dark .chev{
  background: rgba(255,255,255,.06);
  border-color: var(--hair);
  color: rgba(255,255,255,.72);
}
.theme-dark .mobileBar{
  background: rgba(0,0,0,.74);
  border-top:1px solid var(--hair);
}
.theme-dark footer{ border-top-color: var(--hair); color: var(--faint); }

/* Media cards: remove inner padding so media aligns across hero / lifestyle / product */
.card[aria-label="Hero media"],
.card.lifeMain,
.card.lifeCard,
.card.productTile{
  padding: 0;
  overflow: hidden;
}

/* Unified media padding + alignment */
.heroMedia,
.lifeMain,
.lifeCard{
  padding: 14px;
  place-items: stretch;
}
.heroMedia .media,
.lifeMain .media,
.lifeCard .media{
  height: 100%;
}

/* Glass chip used for labels/badges */
.cardGlass{
  background: rgba(255,255,255,.90);
  border: 1px solid rgba(0,0,0,.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Dark theme: active gallery states (ensure accent shows) */
.theme-dark .dotBtn[aria-current="true"]{ background: var(--accent); }
.theme-dark .thumbBtn[aria-current="true"]{
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(255,165,0,.22);
}

/* ========= Responsive ========= */
@media (max-width: 980px){
  .grid{grid-template-columns:1fr; padding-top: 14px}
  .cards{grid-template-columns:1fr}
  .life{grid-template-columns:1fr}
  .productTile{grid-template-columns:1fr}
  .tileMedia{border-right:0;border-bottom:1px solid rgba(0,0,0,.06)}
  .tileInfo{padding: 22px}
  .mobileBar{display:block}
  body{padding-bottom: 96px}

  .checkoutGrid{grid-template-columns:1fr}
  .theme-dark .tileMedia{ border-bottom-color: var(--hair); }
}

@media (max-width: 820px){
  .thumbBtn{width:84px;height:64px}
  .btn{min-height:44px;padding:12px 16px}
}

@media (max-width: 560px){
  .headerInner{padding: 12px var(--gutter)}
  .h1, h1{font-size: clamp(34px, 9vw, 52px)}
  .subhead{font-size: 17px}

  .tileInfo{padding: 20px}
  .card{padding: 20px}
  .thumbBtn{width:74px;height:56px;border-radius:12px}
  .benefits li{padding: 14px 14px}

  /* Header: compact nav on small screens */
  .headerActions{gap:8px}
  .headerActions .btn:not(.primary):not(:first-child){display:none}
  .headerActions .btn{padding:12px 14px}

  /* Variant selector */
  .segment{width:100%; justify-content:space-between}
  .segBtn{flex:1 1 auto; text-align:center}

  /* Quick facts */
  .meta,
  .pillRow{
    margin-block: 18px;
    gap: 8px;
  }

  /* Pills */
  .pill{min-height:38px;padding:10px 12px}

  /* Two columns -> stack */
  .twoCol{grid-template-columns:1fr}

  /* Quantity */
  .qtyControl{padding: 10px 10px;}
  .qtyBtn{width:38px;height:38px;}
  .qtyInput{width:60px;height:38px;}

  /* Price line spacing */
  .priceLine{gap:10px; margin: 12px 0 14px}
  .priceAmount{font-size:20px}
  .priceNote{font-size:13px}
}

@media (min-width: 820px) {
  .lifeCard.small {max-width:50%}
}

@media (min-width: 1280px){
  .pagePad{padding-block: var(--section) calc(var(--section) + 20px);}
  .hero{gap: 22px}
  .tileInfo{padding: 30px}
  .card{padding: 26px}
}
