/* iGet Flavour — OIV-inspired shop chrome
   Visual system from the interaction inventory; Flavour brand (logo B), original photos. */

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-variable.woff2") format("woff2-variations"),
       url("../fonts/montserrat-latin-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #111111;
  --ink-soft: #2a2a32;
  --muted: #888397;
  --page: #ffffff;
  --page-wash: #f6f8ff;
  --hair: #eeeeee;
  --hair-strong: #e4e7f0;
  --card: #ffffff;
  --glass: linear-gradient(145deg, rgba(255,255,255,0.82), rgba(246,250,255,0.58));
  --glass-border: rgba(255,255,255,0.85);
  --purple: #755cf6;
  --purple-2: #7658fa;
  --cart-cta: #171d33;
  --cart-cta-hover: #34315c;
  --shadow-soft: 0 18px 40px rgba(80, 100, 160, 0.12);
  --shadow-header: 0 10px 30px rgba(90, 110, 180, 0.16), 0 0 40px rgba(140, 120, 255, 0.12);
  --eth-a: 132 187 255;
  --eth-b: 201 162 255;
  --eth-c: 255 174 210;
  --eth-d: 139 240 224;
  --announce-bg: #0e0c0a;
  --announce-fg: #e4cc96;
  --announce-h: 34px;
  --warn-bg: #16161c;
  --warn-fg: #f4f1ea;
  --warn-h: 0px;
  --header-gap: 6px;
  --header-h: 70px;
  --chrome: calc(var(--announce-h) + var(--warn-h) + var(--header-gap) + var(--header-h));
  --radius-pill: 999px;
  --radius-card: 28px;
  --radius-panel: 20px;
  --radius-drawer: 19px;
  --radius-qty: 16px;
  --font: "Montserrat", Arial, sans-serif;
  --theme-cta: #111111;
  --theme-wash: rgba(132, 187, 255, 0.18);
  --theme-price: #4a3d9a;
  --wa: #25d366;
}

html[data-theme="dark"] {
  --ink: #ecf2fc;
  --ink-soft: #d5deeb;
  --muted: #9aa6b8;
  --page: #172130;
  --page-wash: #1a2636;
  --hair: #2a3a4e;
  --hair-strong: #344860;
  --card: #202e40;
  --glass: linear-gradient(145deg, rgba(32,46,64,0.92), rgba(23,33,48,0.78));
  --glass-border: rgba(255,255,255,0.12);
  --shadow-soft: 0 18px 40px rgba(0,0,0,0.35);
  --shadow-header: 0 10px 30px rgba(0,0,0,0.35);
  --warn-bg: #0d1118;
  --warn-fg: #e8eef8;
  --cart-cta: #ecf2fc;
  --cart-cta-hover: #ffffff;
  color-scheme: dark;
}

html[data-theme="dark"] .cart-cta,
html[data-theme="dark"] .checkout-cta {
  color: #171d33;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--chrome) + 12px); }
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--chrome);
  z-index: 1090;
  background: var(--page);
  pointer-events: none;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100%;
}

body { background:
  radial-gradient(1200px 600px at 80% -10%, rgba(var(--eth-b), 0.18), transparent 60%),
  radial-gradient(900px 500px at 10% 0%, rgba(var(--eth-a), 0.16), transparent 55%),
  var(--page);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
button { cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4 { line-height: 1.1; font-weight: 700; margin: 0; }
p { margin: 0 0 1em; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* ---------- Announcement + header ---------- */
.announce-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1100;
  height: var(--announce-h);
  min-height: var(--announce-h);
  background: var(--announce-bg);
  color: var(--announce-fg);
  overflow: hidden;
  display: flex;
  align-items: center;
  white-space: nowrap;
  padding: 0;
}
.announce-track {
  display: flex;
  width: max-content;
  animation: announce 38s linear infinite;
}
.announce-track span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0 28px;
  display: flex;
  align-items: center;
  color: var(--announce-fg);
  line-height: 1;
}
.announce-track span:after {
  content: "✦";
  font-size: 9px;
  margin-left: 45px;
  color: color-mix(in srgb, var(--announce-fg) 55%, transparent);
}
.announce-track a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.announce-bar:hover .announce-track,
.announce-bar:focus-within .announce-track {
  animation-play-state: paused;
}
@keyframes announce {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .announce-track { animation: none; }
}
.topheader {
  position: fixed;
  top: calc(var(--announce-h) + var(--warn-h) + var(--header-gap));
  left: 0; right: 0;
  z-index: 1200;
  display: flex;
  justify-content: center;
  pointer-events: none;
  padding: 0 18px;
}

.headerswatch {
  pointer-events: auto;
  width: min(1280px, 100%);
  height: var(--header-h);
  border-radius: var(--radius-pill);
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-header);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px 6px 8px;
  position: relative;
}
.headerswatch::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  background: radial-gradient(circle at 80% 0%, rgba(117,92,246,0.16), transparent 55%);
  z-index: -1;
  pointer-events: none;
}
.headerswatch:hover { box-shadow: 0 14px 36px rgba(80,100,180,0.2), 0 0 50px rgba(140,120,255,0.16); }

.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  height: 52px;
  border-radius: 16px;
  overflow: hidden;
  background: #0c0c0c;
}
.logo img {
  height: 52px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  object-position: center;
  padding: 0 10px;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.primary-nav::-webkit-scrollbar { display: none; }
.primary-nav a {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 9px 14px;
  white-space: nowrap;
  color: var(--ink);
  opacity: 0.82;
  border-radius: 999px;
}
.primary-nav a:hover { opacity: 1; }
.primary-nav a.is-active { opacity: 1; font-weight: 600; }

.utils {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  flex: 0 0 auto;
}
.util-pill {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 999px;
  padding: 3px;
}
html[data-theme="dark"] .util-pill { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.1); }

.theme-switch { display: flex; align-items: center; padding: 2px; border-radius: 999px; background: rgba(255,255,255,0.55); border: 1px solid rgba(255,255,255,0.75); }
html[data-theme="dark"] .theme-switch { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.1); }
.theme-switch button {
  width: 28px; height: 26px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  display: grid; place-items: center;
  color: var(--muted);
}
.theme-switch button[data-theme-set="auto"] { width: auto; padding: 0 8px; }
.theme-switch button svg {
  width: 14px; height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-switch button.is-on { background: #111; color: #fff; }
html[data-theme="dark"] .theme-switch button.is-on { background: #ecf2fc; color: #172130; }

.icon-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ink);
  position: relative;
}
.icon-btn:hover { background: rgba(0,0,0,0.05); }
html[data-theme="dark"] .icon-btn:hover { background: rgba(255,255,255,0.08); }
.icon-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.cart-badge {
  position: absolute;
  top: 0; right: 0;
  min-width: 16px; height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--page);
  font-size: 10px;
  font-weight: 700;
  display: grid; place-items: center;
  line-height: 1;
}
html[data-theme="dark"] .cart-badge { background: #ecf2fc; color: #172130; }
.cart-badge.is-bump { animation: badge-bump 0.35s ease; }
@keyframes badge-bump {
  0% { transform: scale(1); }
  50% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

.add-toast {
  position: fixed;
  left: 50%;
  transform: translate(-50%, 8px);
  bottom: calc(100px + env(safe-area-inset-bottom, 0px));
  z-index: 80;
  padding: 8px 14px;
  border-radius: 999px;
  background: #07150e;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  max-width: calc(100vw - 32px);
  text-align: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.add-toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (max-width: 700px) {
  body:has(.flavour-picker[data-mode="select"]) .add-toast {
    bottom: calc(148px + env(safe-area-inset-bottom, 0px));
  }
}

.hamburger, .header-account-mobile { display: none; }
.hamburger {
  width: 36px; height: 36px; border-radius: 50%;
  place-items: center;
  color: var(--ink);
}
.hamburger svg {
  width: 20px; height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Account dropdown */
.account-wrap { position: relative; }
.account-drop {
  position: absolute;
  right: 0; top: calc(100% + 10px);
  width: 320px;
  background: var(--card);
  color: var(--ink);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--hair);
  padding: 20px;
  display: none;
  z-index: 30;
}
.account-wrap:hover .account-drop,
.account-wrap:focus-within .account-drop,
.account-wrap.is-open .account-drop { display: block; }
.account-drop h3 { font-size: 20px; margin-bottom: 4px; }
.account-drop .sub { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.account-drop label { display: block; font-size: 12px; font-weight: 600; margin: 10px 0 4px; }
.field input, .field textarea, .track-field input {
  width: 100%;
  border: 1px solid var(--hair-strong);
  background: var(--page);
  color: var(--ink);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 14px;
}
.account-note { font-size: 13px; color: var(--muted); margin: 12px 0; }
.forgot { display: block; text-align: right; font-size: 12px; color: var(--muted); margin: 6px 0 12px; }
.or-div { text-align: center; color: var(--muted); font-size: 12px; margin: 12px 0; position: relative; }
.art-button, .btn-dark {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 22px;
  background: #111; color: #fff;
  border-radius: 16px;
  font-weight: 600; font-size: 14px;
  width: 100%;
}
.art-button:hover, .btn-dark:hover { filter: brightness(1.15); }
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 18px; width: 100%;
  border: 1px solid var(--hair-strong);
  border-radius: 16px;
  font-weight: 600;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: calc(var(--announce-h) + var(--warn-h) + var(--header-gap) + var(--header-h) + 10px);
  left: 16px; right: 16px;
  z-index: 1190;
  padding: 18px 16px 24px;
}
body.menu-open .mobile-menu { display: block; }
body.menu-open .page-wrap,
body.search-open .page-wrap,
body.cart-open .page-wrap { filter: blur(8px); }
.mobile-menu-inner {
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(130%);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 16px;
  box-shadow: var(--shadow-soft);
}
.mobile-menu .theme-switch { margin: 0 auto 14px; width: max-content; }
.mobile-nav-list {
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--hair);
  margin-bottom: 14px;
}
html[data-theme="dark"] .mobile-nav-list { background: rgba(32,46,64,0.85); }
.mobile-nav-list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 14px;
  border-bottom: 1px solid var(--hair);
}
.mobile-nav-list a:last-child { border-bottom: 0; }
.mobile-nav-list a span.chev { color: var(--muted); font-weight: 500; }

/* ---------- Aurora ---------- */
.eth-surface {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.eth-surface .aurora {
  position: absolute; inset: -20%;
  z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 50% at 20% 30%, rgb(var(--eth-c) / 0.55), transparent 70%),
    radial-gradient(45% 55% at 80% 20%, rgb(var(--eth-a) / 0.55), transparent 70%),
    radial-gradient(50% 50% at 60% 80%, rgb(var(--eth-b) / 0.45), transparent 70%),
    radial-gradient(30% 40% at 10% 80%, rgb(var(--eth-d) / 0.35), transparent 70%);
  animation: aurora-drift 12s ease-in-out infinite;
  filter: blur(8px);
}
.eth-surface .ribbons {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.45) 50%, transparent 80%);
  background-size: 200% 200%;
  animation: sweep 9s linear infinite;
  mix-blend-mode: soft-light;
}
@keyframes aurora-drift {
  0%, 100% { transform: translate3d(-4%, -3%, 0) scale(1); }
  50% { transform: translate3d(5%, 4%, 0) scale(1.08); }
}
@keyframes sweep {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

[data-ethereal-theme="emerald"] { --eth-a: 160 230 200; --eth-b: 190 240 210; --eth-c: 210 255 230; --eth-d: 120 210 180; --theme-cta: #1f9d5c; --theme-wash: rgba(80, 200, 140, 0.16); --theme-price: #1b8a52; }
[data-ethereal-theme="sapphire"] { --eth-a: 132 187 255; --eth-b: 160 190 255; --eth-c: 200 210 255; --eth-d: 120 160 240; --theme-cta: #2a4ea8; --theme-wash: rgba(90,140,255,0.16); --theme-price: #2a4ea8; }
[data-ethereal-theme="rose"] { --eth-a: 255 174 210; --eth-b: 255 200 220; --eth-c: 255 220 230; --eth-d: 255 160 190; --theme-cta: #d24a8a; --theme-wash: rgba(255,160,200,0.18); --theme-price: #c43a7a; }
[data-ethereal-theme="gold"] { --eth-a: 240 210 140; --eth-b: 255 230 180; --eth-c: 255 240 210; --eth-d: 220 180 100; --theme-cta: #b8860b; --theme-wash: rgba(240,200,120,0.2); --theme-price: #9a6d08; }
[data-ethereal-theme="sky"] { --eth-a: 160 220 255; --eth-b: 180 230 250; --eth-c: 200 240 255; --eth-d: 140 210 240; --theme-cta: #1a7fa8; --theme-wash: rgba(120,200,240,0.18); --theme-price: #1a7fa8; }
[data-ethereal-theme="violet"] { --eth-a: 201 162 255; --eth-b: 180 150 255; --eth-c: 230 200 255; --eth-d: 160 130 240; --theme-cta: #6b3fd4; --theme-wash: rgba(180,150,255,0.18); --theme-price: #6b3fd4; }
[data-ethereal-theme="mint"] { --eth-a: 139 240 224; --eth-b: 180 245 230; --eth-c: 200 250 240; --eth-d: 120 220 200; --theme-cta: #1a9a80; --theme-wash: rgba(100,220,200,0.18); --theme-price: #1a9a80; }
[data-ethereal-theme="amber"] { --eth-a: 255 200 140; --eth-b: 255 220 170; --eth-c: 255 230 200; --eth-d: 240 170 90; --theme-cta: #c46a10; --theme-wash: rgba(255,180,100,0.2); --theme-price: #c46a10; }
[data-ethereal-theme="aurora"] {
  --eth-a: 186 206 255;
  --eth-b: 210 200 255;
  --eth-c: 224 214 255;
  --eth-d: 198 220 255;
  --theme-cta: #111;
  --theme-price: #4a3d9a;
}

/* ---------- Layout ---------- */
.page-wrap { padding-top: var(--chrome); min-height: 100vh; display: flex; flex-direction: column; }
.page-main { flex: 1; }
.wrap { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }

/* Hero */
.eth-hero { padding: 48px 0 28px; }
.hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 24px;
  align-items: center;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}
.herotop {
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 16px;
  color: var(--ink-soft);
}
.heroh1 {
  font-size: clamp(42px, 5.6vw, 72px);
  font-weight: 800;
  line-height: 0.98;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}
.hero-swatches { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.hero-swatch {
  display: inline-flex; align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: 0 8px 24px rgba(80,100,160,0.08);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}
html[data-theme="dark"] .hero-swatch {
  background: rgba(32,46,64,0.8);
  border-color: rgba(255,255,255,0.08);
}
.heropuffs {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 16px;
}
.herotext { font-size: 16px; max-width: 540px; color: var(--ink-soft); margin-bottom: 22px; }
.benefit-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.benefit-pill {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: 0 8px 24px rgba(80,100,160,0.08);
  border-radius: 999px;
  padding: 10px 18px 10px 12px;
  min-height: 64px;
  min-width: 140px;
}
html[data-theme="dark"] .benefit-pill { background: rgba(32,46,64,0.8); border-color: rgba(255,255,255,0.08); }
.benefit-pill .ico {
  width: 32px; height: 32px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.8);
  font-size: 16px;
}
.benefit-pill b { display: block; font-size: 14px; line-height: 1.2; }
.benefit-pill span { font-size: 12px; color: var(--muted); }

.hero-photo {
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 30px rgba(40,50,80,0.16);
}
.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #fff;
}
html[data-theme="dark"] .hero-photo,
html[data-theme="dark"] .hero-photo img {
  background: #1a2636;
}

.hero-stage {
  position: relative;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}
.hero-stage img {
  display: block;
  width: 100%;
  height: auto;
  background: transparent;
  object-fit: contain;
}
html[data-theme="dark"] .hero-stage,
html[data-theme="dark"] .hero-stage img {
  background: transparent;
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(255,255,255,0.95);
  box-shadow: 0 8px 24px rgba(80,100,160,0.08);
  border-radius: 999px;
  padding: 10px 16px 10px 12px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}
.hero-pill svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
html[data-theme="dark"] .hero-pill {
  background: rgba(32,46,64,0.8);
  border-color: rgba(255,255,255,0.08);
}
.heroh1 .heroh1-sub {
  display: block;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 8px;
  line-height: 1.1;
}
.hero-slides {
  position: relative;
  aspect-ratio: 1 / 1;
  padding: 12px 4px 22px;
  box-sizing: border-box;
}
@media (min-width: 1101px) {
  .hero-slides {
    max-width: min(100%, calc(100vh - 280px));
    margin-left: auto;
  }
}
.hero-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 18px 30px rgba(40,50,80,0.16);
  animation: hero-float 5.5s ease-in-out infinite;
}
html[data-theme="dark"] .hero-slide img {
  box-shadow: 0 18px 30px rgba(0,0,0,0.45);
}
@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hero-slide-caption {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  margin: 8px 0 0;
  min-height: 1.3em;
}
.hero-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.hero-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(40, 50, 70, 0.28);
  cursor: pointer;
}
.hero-dots button.is-on {
  width: 22px;
  background: var(--ink);
}
html[data-theme="dark"] .hero-dots button { background: rgba(255,255,255,0.28); }
html[data-theme="dark"] .hero-dots button.is-on { background: #fff; }
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
  .hero-slide img { animation: none; }
}

/* Sections */
.section { padding: 48px 0 20px; }
.section-title { text-align: center; font-size: clamp(28px, 4vw, 44px); margin-bottom: 28px; letter-spacing: -0.03em; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 10px;
}

/* Model cards */
.model-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 210px 22px;
  padding-top: 200px;
}
.model-card { position: relative; text-align: left; }
.model-photo {
  position: absolute;
  left: 50%; top: 0;
  transform: translate(-50%, -62%);
  width: 78%;
  z-index: 2;
  transition: transform 0.45s ease, filter 0.45s ease;
  filter: drop-shadow(0 16px 20px rgba(40,50,80,0.18));
}
.model-card:hover .model-photo { transform: translate(-50%, calc(-62% - 12px)) scale(1.03); filter: drop-shadow(0 22px 26px rgba(40,50,80,0.24)); }
.model-photo img { width: 100%; height: 290px; object-fit: contain; }
.model-panel {
  border-radius: 28px;
  padding: 140px 22px 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(255,255,255,0.62));
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: var(--shadow-soft);
  min-height: 340px;
  display: flex; flex-direction: column;
}
html[data-theme="dark"] .model-panel {
  background: linear-gradient(180deg, rgba(32,46,64,0.92), rgba(23,33,48,0.8));
  border-color: rgba(255,255,255,0.08);
}
.model-card[data-theme="sapphire"] .model-panel { background: linear-gradient(180deg, #eef3ff, #e7edff); }
.model-card[data-theme="emerald"] .model-panel { background: linear-gradient(180deg, #eefbf3, #e5f7ec); }
.model-card[data-theme="rose"] .model-panel { background: linear-gradient(180deg, #fff0f6, #ffe8f1); }
.model-card[data-theme="gold"] .model-panel { background: linear-gradient(180deg, #fff6e8, #fff1d8); }
.model-card[data-theme="sky"] .model-panel { background: linear-gradient(180deg, #eef9ff, #e3f4ff); }
.model-card[data-theme="violet"] .model-panel { background: linear-gradient(180deg, #f4eeff, #ece4ff); }
.model-card[data-theme="mint"] .model-panel { background: linear-gradient(180deg, #eefcf8, #e4f8f3); }
.model-card[data-theme="amber"] .model-panel { background: linear-gradient(180deg, #fff4e8, #ffecd6); }
html[data-theme="dark"] .model-card .model-panel { background: linear-gradient(180deg, rgba(32,46,64,0.95), rgba(23,33,48,0.88)); }

.model-title { font-size: 28px; letter-spacing: -0.03em; margin-bottom: 6px; }
.model-title span { display: block; }
.model-underline { height: 3px; width: 48px; border-radius: 4px; background: currentColor; opacity: 0.35; margin-bottom: 14px; }
.feat-pills { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; flex: 1; }
.feat-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.8);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px; font-weight: 600;
  width: max-content;
}
html[data-theme="dark"] .feat-pill { background: rgba(255,255,255,0.08); }
.model-cta {
  display: flex; align-items: center; justify-content: center;
  height: 50px; border-radius: 16px;
  color: #fff; font-weight: 600; font-size: 14px;
  background: var(--theme-cta, #111);
  margin-top: auto;
}
.model-card[data-theme="sapphire"] { --theme-cta: #2a4ea8; }
.model-card[data-theme="emerald"] { --theme-cta: #2db56c; }
.model-card[data-theme="rose"] { --theme-cta: #e05a9a; }
.model-card[data-theme="gold"] { --theme-cta: #c4a056; color: #3a2a10; }
.model-card[data-theme="gold"] .model-cta { background: #c4a056; color: #fff; }
html[data-theme="dark"] .model-card[data-theme="gold"] { color: #f3e4c0; }
html[data-theme="dark"] .model-card[data-theme="gold"] .price-pill { color: #f0d48a; background: rgba(255, 248, 220, 0.12); }
.model-card[data-theme="sky"] { --theme-cta: #2aa0c8; }
.model-card[data-theme="violet"] { --theme-cta: #6b3fd4; }
.model-card[data-theme="mint"] { --theme-cta: #1a9a80; }
.model-card[data-theme="amber"] { --theme-cta: #d47a20; }

.model-panel .price-row { margin: 0 0 14px; }
.model-card[data-theme="emerald"] .price-pill { color: #1b8a52; background: #f2fbf5; }
.model-card[data-theme="sapphire"] .price-pill { color: #2a4ea8; background: #f2f5ff; }
.model-card[data-theme="rose"] .price-pill { color: #c43a7a; background: #fff4f9; }
.model-card[data-theme="gold"] .price-pill { color: #9a6d08; background: #fff8ea; }
.model-card[data-theme="violet"] .price-pill { color: #6b3fd4; background: #f7f2ff; }
.model-card[data-theme="sky"] .price-pill { color: #1a7fa8; background: #eef9ff; }
.model-card[data-theme="mint"] .price-pill { color: #1a9a80; background: #eefcf8; }
.model-card[data-theme="amber"] .price-pill { color: #c46a10; background: #fff4e8; }

/* Welcome */
.welcome-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: start;
}
.welcome-copy h2 { font-size: clamp(32px, 4vw, 52px); letter-spacing: -0.03em; margin: 0 0 16px; }
.welcome-copy p { color: var(--ink-soft); margin: 0 0 14px; }
.welcome-copy p:last-child { margin-bottom: 0; }
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.trust-tile {
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 22px;
  padding: 22px 18px;
  box-shadow: var(--shadow-soft);
}
html[data-theme="dark"] .trust-tile { background: rgba(32,46,64,0.85); border-color: rgba(255,255,255,0.08); }
.trust-ico {
  width: 54px; height: 54px; border-radius: 50%;
  background: #eef3ff; color: #4a3d9a;
  display: grid; place-items: center; margin-bottom: 12px;
  font-size: 22px;
}
.trust-tile h3 { font-size: 16px; margin-bottom: 4px; }
.trust-tile p { font-size: 13px; color: var(--muted); margin: 0; }
.trust-tile .rule { width: 28px; height: 3px; border-radius: 3px; background: #7aa7ff; margin-top: 12px; }

/* Product cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.product-card {
  height: auto;
  min-height: 500px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.72));
  border: 1px solid rgba(230,230,240,0.9);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: flex; flex-direction: column;
  position: relative;
}
.product-card.color-emerald { border-color: rgba(80,200,140,0.28); }
.product-card.color-sapphire { border-color: rgba(90,140,255,0.28); }
.product-card.color-rose { border-color: rgba(255,140,190,0.3); }
.product-card.color-gold { border-color: rgba(220,180,80,0.35); }
.product-card.color-violet { border-color: rgba(160,120,255,0.3); }
.product-card.color-sky { border-color: rgba(100,200,240,0.3); }
.product-card.color-mint { border-color: rgba(100,220,200,0.3); }
.product-card.color-amber { border-color: rgba(240,170,80,0.3); }

.card-media {
  flex: 1 1 auto;
  position: relative;
  display: grid; place-items: center;
  padding: 18px 12px 0;
  overflow: hidden;
  background: var(--theme-wash, #f6f3ff);
}
.product-card.color-emerald .card-media { background: #eefbf4; }
.product-card.color-sapphire .card-media { background: #eef3ff; }
.product-card.color-rose .card-media { background: #fff0f6; }
.product-card.color-gold .card-media { background: #fff8ea; }
.product-card.color-violet .card-media { background: #f4eeff; }
.product-card.color-sky .card-media { background: #eef9ff; }
.product-card.color-mint .card-media { background: #eefcf8; }
.product-card.color-amber .card-media { background: #fff4e8; }

.card-media .pack, .card-media .life {
  max-height: 280px; max-width: 86%;
  object-fit: contain;
  position: absolute;
  transition: transform 0.7s cubic-bezier(.2,.7,.2,1), opacity 0.7s cubic-bezier(.2,.7,.2,1), clip-path 1s cubic-bezier(.2,.7,.2,1);
}
.card-media .pack { position: relative; z-index: 1; }
.card-media .life {
  inset: 18px 12px auto; margin: auto; z-index: 2;
  opacity: 0;
  clip-path: circle(0% at 50% 50%);
}
.product-card:hover .card-media .pack { transform: scale(0.92); }
.product-card:hover .card-media .life {
  opacity: 1;
  clip-path: circle(140% at 50% 50%);
}

.product-drawer {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  padding: 14px 16px 16px;
  position: relative;
  z-index: 3;
}
html[data-theme="dark"] .product-drawer { background: rgba(32,46,64,0.94); }
.drawer-actions {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  transform: translateY(12px);
  transition: max-height 0.45s ease, opacity 0.35s ease, margin-top 0.35s ease, transform 0.45s ease;
}
.product-card:hover .drawer-actions {
  max-height: 64px;
  opacity: 1;
  margin-top: 12px;
  transform: translateY(0);
}
.card-cat { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.card-title { font-size: 18px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 10px; }
.price-row { display: flex; align-items: center; gap: 10px; min-height: 36px; }
.price-pill {
  display: inline-flex; align-items: center;
  padding: 6px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(0,0,0,0.05);
  font-weight: 700;
  color: var(--theme-price, #4a3d9a);
  font-size: 16px;
}
.product-card.color-emerald .price-pill { color: #1b8a52; background: #f2fbf5; }
.product-card.color-sapphire .price-pill { color: #2a4ea8; background: #f2f5ff; }
.product-card.color-rose .price-pill { color: #c43a7a; background: #fff4f9; }
.product-card.color-gold .price-pill { color: #9a6d08; background: #fff8ea; }
.product-card.color-violet .price-pill { color: #6b3fd4; background: #f7f2ff; }
.product-card.color-sky .price-pill { color: #1a7fa8; background: #eef9ff; }
.product-card.color-mint .price-pill { color: #1a9a80; background: #eefcf8; }
.product-card.color-amber .price-pill { color: #c46a10; background: #fff4e8; }

.drawer-actions {
  display: flex; align-items: center; gap: 8px;
}
.qty-pill {
  display: inline-flex; align-items: center;
  height: 44px;
  border: 1px solid var(--hair-strong);
  border-radius: 16px;
  overflow: hidden;
  background: var(--page);
  flex: 0 0 auto;
}
.qty-pill button { width: 34px; height: 44px; font-size: 16px; font-weight: 600; }
.qty-pill input, .qty-pill .qty-val {
  width: 28px; text-align: center; font-weight: 600; border: 0; background: transparent; color: var(--ink);
}
.add-btn {
  flex: 1;
  height: 44px;
  border-radius: 16px;
  background: var(--theme-cta, #111);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 10px;
}
.add-btn:hover { filter: brightness(1.08); }
.enquire-cta {
  flex: 1;
  height: 44px;
  border-radius: 16px;
  background: var(--theme-cta, #111);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 10px;
  text-decoration: none;
}
.enquire-cta:hover { filter: brightness(1.08); color: #fff; }
.product-card.color-emerald { --theme-cta: #2db56c; --theme-price: #1b8a52; }
.product-card.color-sapphire { --theme-cta: #2a4ea8; }
.product-card.color-rose { --theme-cta: #e05a9a; }
.product-card.color-gold { --theme-cta: #c4a056; }
.product-card.color-violet { --theme-cta: #6b3fd4; }
.product-card.color-sky { --theme-cta: #2aa0c8; }
.product-card.color-mint { --theme-cta: #1a9a80; }
.product-card.color-amber { --theme-cta: #d47a20; }

/* Footer */
.site-footer { padding: 24px 0 40px; margin-top: 20px; position: relative; overflow: hidden; }
.track-card {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto 36px;
  border-radius: 28px;
  background: var(--glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  padding: 18px 22px;
  display: flex; align-items: center; gap: 18px;
}
.track-card .t-ico {
  width: 56px; height: 56px; border-radius: 16px;
  background: rgba(255,255,255,0.8);
  display: grid; place-items: center; flex: 0 0 auto;
  font-size: 22px;
}
.track-card h3 { font-size: 18px; margin-bottom: 2px; }
.track-card p { margin: 0; color: var(--muted); font-size: 13px; }
.track-form { margin-left: auto; display: flex; gap: 10px; align-items: center; flex: 1 1 auto; justify-content: flex-end; }
.track-field { position: relative; min-width: 260px; }
.track-field input { height: 48px; padding-right: 40px; background: #fff; border-radius: 12px; }
html[data-theme="dark"] .track-field input { background: #202e40; }
.track-field .go-icon { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.track-form .btn-dark { width: auto; height: 48px; border-radius: 12px; padding: 0 18px; }
.track-msg { display: none; margin: 10px auto 0; width: min(1200px, calc(100% - 40px)); font-size: 14px; color: var(--ink-soft); }
.track-msg.is-on { display: block; }

.footer-cols {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 28px;
  padding: 10px 0 28px;
}
.footer-brand .logo { height: 52px; max-width: 240px; margin-bottom: 10px; background: #0c0c0c; }
.footer-brand .logo img { height: 52px; max-width: 240px; object-fit: contain; padding: 0 8px; }
.footer-tag { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.footer-brand p { font-size: 13px; color: var(--ink-soft); max-width: 240px; }
.footer-cols h4 { font-size: 16px; margin-bottom: 12px; }
.footer-cols a { display: block; font-size: 14px; padding: 4px 0; color: var(--ink-soft); }
.footer-cols a:hover { color: var(--ink); }
.footer-legal {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  border-top: 1px solid var(--hair);
  padding-top: 16px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--muted);
}

/* Age gate */
.age-gate, .age-denied {
  position: fixed; inset: 0;
  z-index: 10000;
  background: #fff;
  color: #111;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 24px;
}
.age-gate[hidden], .age-denied[hidden] { display: none !important; }
.age-denied-title { font-size: 1.6rem; font-weight: 650; margin: 0 0 12px; letter-spacing: -0.02em; }
.age-inner { max-width: 520px; }
.age-logo {
  width: min(280px, 80vw);
  margin: 0 auto 22px;
  border-radius: 20px;
  overflow: hidden;
  background: #080814;
}
.age-logo img { width: 100%; }
.age-gate p { color: #222; }
.age-actions { display: flex; justify-content: center; gap: 8px; margin: 16px 0 14px; }
.age-actions button {
  min-width: 72px; height: 52px;
  background: #111; color: #fff;
  border-radius: 8px;
  font-weight: 600;
  padding: 0 18px;
}
.age-remember { font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }

/* Search modal */
.search-backdrop, .cart-backdrop {
  position: fixed; inset: 0;
  background: rgba(20, 24, 40, 0.45);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
}
body.search-open .search-backdrop,
body.cart-open .cart-backdrop { display: block; }
body.search-open .topheader { z-index: 2300; }

.search-modal {
  position: fixed;
  z-index: 2200;
  inset: 90px 28px 28px;
  max-width: 1180px;
  margin: auto;
  background: #1a2436;
  color: #ecf2fc;
  border-radius: 28px;
  display: none;
  overflow: auto;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  padding: 28px;
}
body.search-open .search-modal { display: block; }
.search-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
.search-ico-tile {
  width: 56px; height: 56px; border-radius: 16px;
  background: rgba(255,255,255,0.08);
  display: grid; place-items: center; flex: 0 0 auto;
}
.search-head h2 { font-size: 26px; margin-bottom: 2px; }
.search-head p { margin: 0; color: #9aa6b8; }
.search-close {
  margin-left: auto;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  font-size: 20px;
}
.search-layout { display: grid; grid-template-columns: 230px 1fr; gap: 22px; }
.search-side { background: rgba(255,255,255,0.04); border-radius: 20px; padding: 10px; }
.search-side a, .search-side button {
  display: flex; align-items: center; gap: 10px;
  width: 100%; text-align: left;
  padding: 10px 12px; border-radius: 14px;
  color: #d5deeb; font-size: 14px; font-weight: 600;
}
.search-side a.is-on, .search-side button.is-on { background: rgba(255,255,255,0.08); }
.search-side img { width: 28px; height: 28px; object-fit: contain; }
.search-form { position: relative; margin-bottom: 22px; }
.search-form input {
  width: 100%; height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: #fff;
  padding: 0 52px 0 20px;
  font-size: 15px;
}
.search-form button[type="submit"] {
  position: absolute; right: 8px; top: 6px;
  width: 40px; height: 40px; border-radius: 50%;
  color: #fff;
}
.popular h3, .search-featured h3 { font-size: 15px; margin: 0 0 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tag {
  display: inline-flex; align-items: center;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #ecf2fc; font-size: 13px; font-weight: 600;
}
.search-minis { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.search-mini {
  background: rgba(255,255,255,0.06);
  border-radius: 16px; padding: 10px;
  color: #ecf2fc;
}
.search-mini img { height: 90px; width: 100%; object-fit: contain; margin-bottom: 8px; }
.search-mini b { display: block; font-size: 12px; line-height: 1.3; }
.search-mini span { font-size: 12px; color: #9aa6b8; }

/* Cart drawer */
.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(470px, 100%);
  background: #f7f9fd;
  color: #111;
  z-index: 2300;
  transform: translateX(110%);
  transition: transform 0.35s cubic-bezier(.2,.7,.2,1);
  display: flex; flex-direction: column;
  box-shadow: -10px 0 40px rgba(0,0,0,0.12);
}
html[data-theme="dark"] .cart-drawer { background: #202e40; color: #ecf2fc; }
body.cart-open .cart-drawer { transform: translateX(0); }
.cart-head, .cart-foot { padding: 18px 20px; }
.cart-head { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid #eceff5; }
html[data-theme="dark"] .cart-head { border-color: #2a3a4e; }
.cart-head .t-ico { width: 48px; height: 48px; border-radius: 14px; background: #eef3ff; display: grid; place-items: center; }
.cart-head h2 { font-size: 22px; margin: 0; }
.cart-head p { margin: 0; color: var(--muted); font-size: 13px; }
.cart-close {
  margin-left: auto; width: 40px; height: 40px; border-radius: 50%;
  background: #fff; border: 1px solid #eee; font-size: 18px;
  transition: transform 0.25s ease;
}
.cart-close:hover { transform: rotate(90deg); }
.cart-body { flex: 1; overflow: auto; padding: 16px 20px; }
.cart-empty { text-align: center; padding: 48px 10px; color: var(--muted); }
.cart-empty .bag { font-size: 48px; margin-bottom: 10px; }
.cart-empty h3 { color: var(--ink); font-size: 22px; margin-bottom: 6px; }
.add-chip {
  display: flex; align-items: flex-start; gap: 10px;
  background: #eef3ff; border: 1px solid #d9e3ff;
  border-radius: 16px; padding: 12px 14px; margin-bottom: 14px;
  font-size: 14px;
}
.add-chip b { display: block; }
.add-chip span { color: var(--muted); font-size: 13px; }
.cart-line {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px; align-items: center;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 19px;
  padding: 12px;
  margin-bottom: 10px;
}
html[data-theme="dark"] .cart-line, html[data-theme="dark"] .add-chip {
  background: #172130; border-color: #2a3a4e;
}
.cart-line img { width: 72px; height: 72px; object-fit: contain; background: #f6f8ff; border-radius: 12px; }
.cart-line h3 { font-size: 14px; margin-bottom: 8px; }
.cart-line .remove { font-size: 12px; text-decoration: underline; color: var(--muted); margin-left: 8px; }
.line-total { font-weight: 700; font-size: 16px; }
.cart-foot { border-top: 1px solid #eceff5; }
html[data-theme="dark"] .cart-foot { border-color: #2a3a4e; }
.sub-row { display: flex; justify-content: space-between; font-weight: 700; font-size: 18px; margin-bottom: 6px; }
.ship-note { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.cart-cta {
  display: flex; align-items: center; justify-content: center;
  height: 52px; border-radius: 16px;
  background: #171d33; color: #fff; font-weight: 600;
  width: 100%;
  transition: transform 0.2s ease, background 0.2s ease;
}
.cart-cta:hover { background: #34315c; transform: translateY(-2px); }
.continue-shop { display: block; text-align: center; margin-top: 10px; color: #4a5780; font-weight: 600; font-size: 14px; }

/* WhatsApp enquire control — larger bottom-right pill that hugs its label */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: auto;
  z-index: 1400;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: auto;
  max-width: calc(100vw - 32px);
  min-height: 64px;
  padding: 8px 8px 8px 22px;
  border-radius: 999px;
  background: #07150e;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0,0,0,0.30);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-float:hover,
.wa-float:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0,0,0,0.36);
  color: #fff;
}
.wa-float-text { flex: 0 1 auto; min-width: 0; }
.wa-float-icon {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
}
.wa-float-icon svg {
  display: block;
  width: 26px;
  height: 26px;
  fill: #fff;
  stroke: none;
}
@media (max-width: 768px) {
  /* Same text+icon pill on small screens; slightly tighter, still large, never icon-only or full-width. */
  .wa-float {
    left: auto;
    right: 16px;
    bottom: 16px;
    width: auto;
    height: auto;
    min-height: 58px;
    min-width: 0;
    max-width: calc(100vw - 32px);
    padding: 6px 6px 6px 18px;
    gap: 10px;
    font-size: 15px;
  }
  .wa-float-text {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: nowrap;
    border: 0;
  }
  .wa-float-icon { flex-basis: 40px; width: 40px; height: 40px; }
  .wa-float-icon svg { width: 24px; height: 24px; }
}

/* PDP */
.pdp-hero { padding: 30px 0 10px; }
.pdp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}
.pdp-gallery {
  display: grid; place-items: center;
  min-height: 480px;
  min-width: 0;
  width: 100%;
  cursor: zoom-in;
}
.pdp-gallery img { max-height: 520px; object-fit: contain; border-radius: 24px; background: rgba(255,255,255,0.5); filter: drop-shadow(0 20px 30px rgba(40,50,80,0.16)); }
.pdp-copy .eyebrow { letter-spacing: 5px; }
.pdp-copy h1 { font-size: clamp(32px, 4.2vw, 56px); letter-spacing: -0.03em; margin-bottom: 8px; }
.pdp-flavour { font-size: clamp(24px, 3vw, 36px); font-weight: 600; margin-bottom: 18px; color: var(--ink-soft); }
.pdp-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.pdp-pills .benefit-pill { min-width: 0; min-height: 58px; }
.pdp-blurb { color: var(--ink-soft); margin-bottom: 16px; }
.pdp-actions { display: flex; gap: 10px; align-items: center; margin: 8px 0 16px; flex-wrap: wrap; }
.pdp-actions .add-btn { height: 52px; min-width: 240px; font-size: 15px; border-radius: 16px; }
.pdp-actions .qty-pill { height: 52px; }
.pdp-actions .qty-pill button { height: 52px; }
.trust-row { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 12px; font-weight: 600; }
.trust-row span { display: inline-flex; align-items: center; gap: 6px; }
.price-note { font-size: 12px; color: var(--muted); margin-top: 8px; }

.mid-cards {
  width: min(1200px, calc(100% - 40px));
  margin: 28px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.info-card {
  background: var(--card);
  border: 1px solid var(--hair);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow-soft);
}
.info-card h2 { font-size: 22px; margin: 8px 0 12px; }
.info-card ul { margin: 0; padding-left: 18px; color: var(--ink-soft); }
.info-card li { margin: 6px 0; }

.specs-band { width: min(1200px, calc(100% - 40px)); margin: 10px auto 40px; }
.specs-band h2 { font-size: 32px; margin-bottom: 8px; }
.specs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
.spec-tile {
  background: var(--card);
  border: 1px solid var(--hair);
  border-radius: 18px;
  padding: 16px;
}
.spec-tile .ico { width: 40px; height: 40px; border-radius: 50%; background: #e9f8f1; display: grid; place-items: center; margin-bottom: 8px; }
.spec-tile b { display: block; }
.spec-tile span { color: var(--muted); font-size: 13px; }
.spec-tile .rule { width: 28px; height: 3px; background: #2db56c; border-radius: 3px; margin-top: 8px; }

.flavour-prose, .prose {
  width: min(860px, calc(100% - 40px));
  max-width: 100%;
  min-width: 0;
  margin: 10px auto 40px;
  color: var(--ink-soft);
  line-height: 1.75;
}
.prose.wide, .shipping-prose { width: min(1000px, calc(100% - 40px)); }
.prose h2, .flavour-prose h2 { color: var(--ink); font-size: 26px; margin: 1.4em 0 0.6em; }
.prose h3, .flavour-prose h3 { color: var(--ink); font-size: 18px; margin: 1.2em 0 0.4em; }
.prose a, .flavour-prose a { text-decoration: underline; }
.prose table, .flavour-prose table {
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
}
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  max-width: 100%;
  margin: 1em 0;
}
.table-scroll table { margin: 0; }
.prose th, .prose td, .flavour-prose th, .flavour-prose td {
  border: 1px solid var(--hair-strong);
  padding: 8px 10px;
  text-align: left;
}
.prose ul, .flavour-prose ul { padding-left: 1.2em; }

/* Content page hero */
.page-hero { padding: 48px 0 20px; }
.page-hero-inner {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}
.page-hero h1 { font-size: clamp(40px, 5.5vw, 68px); letter-spacing: -0.03em; }
.page-hero .lede { font-size: 18px; color: var(--ink-soft); max-width: 640px; margin-top: 10px; }

/* FAQ */
.faq-layout {
  width: min(1200px, calc(100% - 40px));
  margin: 10px auto 50px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}
.faq-cats { position: sticky; top: calc(var(--chrome) + 16px); display: flex; flex-direction: column; gap: 6px; }
.faq-cat {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 14px; border-radius: 999px;
  font-weight: 600; font-size: 14px;
  color: var(--ink-soft);
  text-align: left;
}
.faq-cat.is-on { background: #111; color: #fff; }
html[data-theme="dark"] .faq-cat.is-on { background: #ecf2fc; color: #172130; }

.home-faq-wrap { width: min(860px, calc(100% - 40px)); margin-left: auto; margin-right: auto; }
.home-faq-more { margin-top: 18px; }
.home-faq-teaser h2 {
  text-align: center;
  font-size: clamp(28px, 4vw, 44px);
  margin: 0 0 28px;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.home-faq-teaser p {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
}
.home-faq-teaser p strong { color: var(--ink); }
.home-faq-teaser a { text-decoration: underline; }
.home-faq-teaser .home-faq-more { margin-top: 18px; }
.home-faq-teaser .faq-teaser-item {
  border-bottom: 1px solid var(--hair);
  padding: 16px 0;
  text-align: left;
}
.home-faq-teaser .faq-teaser-item h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--ink);
  text-align: left;
}
.home-faq-teaser .faq-teaser-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
}
.faq-item { border-bottom: 1px solid var(--hair); padding: 16px 0; }
.faq-item h3.q {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--ink);
  text-align: left;
}
.faq-item .a { display: block; padding: 0; color: var(--ink-soft); }
.faq-item .a p { margin: 0 0 10px; }
.faq-item .a p:last-child { margin-bottom: 0; }
.plus-tile {
  width: 32px; height: 32px; border-radius: 10px;
  background: #f2f4f8; display: grid; place-items: center;
  flex: 0 0 auto; font-size: 18px;
}
html[data-theme="dark"] .plus-tile { background: #2a3a4e; }
.faq-help { text-align: center; margin: 30px 0; }
.faq-help h2 { font-size: 32px; margin-bottom: 10px; }

/* Checkout */
.checkout-grid {
  width: min(1100px, calc(100% - 40px));
  margin: 10px auto 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.panel {
  background: var(--card);
  border: 1px solid var(--hair);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow-soft);
}
.checkout-cta {
  display: flex; align-items: center; justify-content: center;
  height: 52px; border-radius: 16px;
  background: #25d366; color: #fff; font-weight: 600;
  width: 100%; margin-top: 8px;
}
.checkout-cta.email { background: #171d33; margin-top: 8px; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(10,12,20,0.86);
  z-index: 20000;
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
}
.lightbox.is-on { display: flex; }
.lightbox img { max-width: 90vw; max-height: 86vh; object-fit: contain; }
.lightbox-close {
  position: absolute; top: 16px; right: 16px;
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; color: #111; font-size: 20px;
}

/* Results */
.search-results { width: min(1200px, calc(100% - 40px)); margin: 0 auto 40px; }
.search-results h1 { font-size: 40px; margin-bottom: 16px; }

/* 404 */
.empty-page { text-align: center; padding: 80px 20px; }

/* Dark media adjustments */
html[data-theme="dark"] .benefit-pill .ico,
html[data-theme="dark"] .track-card .t-ico,
html[data-theme="dark"] .trust-ico { background: rgba(255,255,255,0.08); color: #ecf2fc; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}


.summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; width: min(1200px, calc(100% - 40px)); margin: 0 auto 24px; }
.summary-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: min(1200px, calc(100% - 40px)); margin: 0 auto 28px; }
@media (max-width: 700px) {
  .summary-grid, .summary-grid-2 { grid-template-columns: 1fr; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .primary-nav, .utils .theme-switch, .account-wrap { display: none; }
  .hamburger, .header-account-mobile { display: grid; }
  .topheader { padding: 0 10px; }
  .headerswatch { padding-left: 4px; padding-right: 8px; gap: 4px; min-width: 0; }
  .headerswatch .logo {
    margin: 0 auto;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 160px;
    height: 40px;
  }
  .headerswatch .logo img { max-width: 100%; height: 40px; }
  :root { --header-h: 56px; }
  .hero-grid, .welcome-grid, .pdp-grid, .mid-cards, .faq-layout, .checkout-grid, .search-layout {
    grid-template-columns: 1fr;
  }
  .model-grid { grid-template-columns: 1fr 1fr; gap: 200px 16px; padding-top: 185px; }
  .model-photo img { height: 260px; }
  .model-panel { padding-top: 130px; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .search-minis { grid-template-columns: repeat(3, 1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .search-side { display: none; }
  .hero-photo { width: 100%; }
  .hero-stage { width: 100%; }
}

@media (max-width: 700px) {
  .eth-surface .ribbons { display: none; }
  .eth-surface .aurora { animation: none; filter: blur(16px); }
  .model-grid, .product-grid, .trust-grid, .specs-grid, .footer-cols, .search-minis {
    grid-template-columns: 1fr;
  }
  .model-grid { gap: 200px; padding-top: 180px; }
  .model-photo img { height: 245px; }
  .model-panel { padding-top: 125px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .product-card { height: auto; min-height: 500px; }
  .product-drawer { transform: none; }
  .drawer-actions { max-height: 64px; opacity: 1; margin-top: 12px; transform: none; overflow: visible; }
  .card-media .life { opacity: 1; clip-path: none; position: absolute; }
  .card-media .pack { transform: scale(0.92); }
  .benefit-pill.mobilehide { display: none; }
  .track-card, .track-form { flex-direction: column; align-items: stretch; }
  .track-form, .track-field { min-width: 0; width: 100%; margin: 0; }
  .track-form .btn-dark { width: 100%; }
  .hero-grid { display: flex; flex-direction: column; }
  .hero-photo { width: 100%; order: 0; }
  .hero-stage { width: 100%; order: 0; }
  .pdp-actions { flex-wrap: nowrap; }
  .pdp-actions .add-btn { min-width: 0; flex: 1; }
  .page-hero h1 { font-size: 42px; }
  .page-hero .pdp-copy h1 { font-size: 26px; letter-spacing: -0.03em; line-height: 1.15; }
  .page-hero .pdp-copy .lede { font-size: 15px; margin-top: 10px; }
  .page-hero .pdp-copy .price-note { margin-top: 4px; margin-bottom: 0; }
  .page-hero .hero-grid:has(> .pdp-gallery) > .pdp-gallery {
    width: 100%;
    min-width: 0;
  }
  .page-hero .hero-grid:has(> .pdp-gallery) > .pdp-gallery [data-lightbox] { width: 100%; }
  .page-hero .hero-grid:has(> .pdp-gallery) > .pdp-gallery img {
    max-height: 220px;
    width: auto;
    max-width: 100%;
    height: auto;
    margin-inline: auto;
    display: block;
  }
  .pdp-flavour-thumbs .gal-thumb { flex-basis: 64px; width: 64px; height: 64px; }
  .flavour-picker[data-mode="select"] { display: flex; flex-direction: column; }
  .flavour-picker[data-mode="select"] .flavour-picker-label { order: 0; }
  .flavour-picker[data-mode="select"] .flavour-buy { order: 1; margin-top: 0; margin-bottom: 4px; }
  .search-modal { inset: 80px 10px 10px; padding: 16px; }
  .announce-track span { font-size: 9.5px; letter-spacing: 0.08em; }
}

@media (max-width: 1100px) {
  .hero-slides { max-width: 560px; margin-inline: auto; }
}
@media (max-width: 768px) {
  .hero-stage { order: -1; padding-bottom: 8px; }
  .eth-hero { padding-top: 16px; }
  .hero-slides { max-width: 248px; padding: 4px 4px 14px; }
  .herotop { margin-bottom: 10px; }
  .herotext { margin-bottom: 14px; }
}
@media (max-width: 400px) {
  .topheader { padding: 0 8px; }
  .headerswatch { padding-right: 10px; }
  .headerswatch .logo { max-width: 128px; }
}
@media (max-width: 600px) {
  .cart-drawer { width: 100%; }
}


/* Keep page ends and first-screen text clear of the larger WhatsApp pill. */
.page-main { padding-bottom: 120px; max-width: 100%; min-width: 0; overflow-x: clip; }
/* Reserve space under the homepage title block so H1 and lede sit above the pill. */
.eth-hero { padding-bottom: 108px; }
/* Reserve space under the checkout form so address and request buttons can scroll clear of the pill. */
html { scroll-padding-bottom: 110px; }
.checkout-grid { margin-bottom: 0; padding-bottom: 108px; }
.checkout-grid .panel:first-child { padding-bottom: 120px; }
.checkout-grid input,
.checkout-grid textarea,
.checkout-cta { scroll-margin-bottom: 110px; }
@media (max-width: 1100px) and (min-width: 769px) {
  /* Mid-width checkout is a single column; keep the form card left of the pill. */
  .checkout-grid .panel:first-child {
    max-width: calc(100vw - 48px - 292px);
  }
}
@media (max-width: 768px) {
  .page-main { padding-bottom: 108px; }
  .eth-hero { padding-bottom: 108px; padding-top: 16px; }
  .checkout-grid { padding-bottom: 120px; }
  .checkout-grid .panel:first-child { padding-bottom: 120px; }
  /* Keep the product title, price and add row above the larger WhatsApp pill. */
  .page-hero .hero-grid > .pdp-gallery img,
  .page-hero .pdp-gallery img {
    max-height: 220px;
    width: auto;
    max-width: 100%;
    margin-inline: auto;
  }
  .pdp-flavour-thumbs .gal-thumb { flex-basis: 56px; width: 56px; height: 56px; }
  .page-hero .pdp-copy .price-note { padding-right: 0; }

  /* Keep the street-address field and request buttons below the first-screen pill;
     padding-bottom on the card lets them scroll clear of it. */
  .checkout-grid .panel:first-child p:has(textarea[name="order-address"]) {
    margin-top: 96px;
  }
}

body.lightbox-open .wa-float,
body.cart-open .wa-float,
body.search-open .wa-float,
body.menu-open .wa-float,
body:has(#age-gate:not([hidden])) .wa-float,
body:has(#age-denied:not([hidden])) .wa-float {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
body.lightbox-open .topheader,
body.lightbox-open .announce-bar,
body.lightbox-open::before {
  z-index: 1000;
}

/* Pack 22 flavour page: one URL, several parent devices */
.device-offer-list { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.offer-heading { font-size: 16px; margin: 0 0 4px; letter-spacing: 0.02em; }
.device-offer {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--hair-strong, rgba(20,24,40,0.12));
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface, #fff) 88%, transparent);
}
.device-offer .offer-thumb img {
  width: 72px; height: 72px; object-fit: contain; display: block;
}
.device-offer .offer-copy h3 { font-size: 16px; margin: 0 0 4px; }
.device-offer .drawer-actions { justify-content: flex-end; }
.gal-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.gal-thumb {
  width: 64px; height: 64px; padding: 4px; border-radius: 12px;
  border: 1px solid var(--hair-strong, rgba(20,24,40,0.14));
  background: transparent; cursor: pointer;
}
.gal-thumb.is-on { outline: none; box-shadow: 0 0 0 2px var(--ink, #1b1b1b); }
.gal-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pdp-flavour-thumbs {
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: none;
  max-width: 100%;
  width: 100%;
  min-width: 0;
  padding: 6px 8px 12px;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}
.pdp-flavour-thumbs .gal-thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  scroll-snap-align: start;
}
.hub-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.hub-nav a {
  display: inline-flex; align-items: center;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--hair-strong, rgba(20,24,40,0.14));
  font-size: 13px; text-decoration: none;
}
.hub-nav a.is-on { background: var(--ink, #1b1b1b); color: #fff; }

.flavour-overview {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto 48px;
}
.flavour-overview-intro { width: 100%; margin: 0 0 20px; }
.flavour-overview-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
}
.flavour-overview-jump a {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--hair-strong, rgba(20,24,40,0.14));
  font-size: 13px;
  text-decoration: none;
  color: inherit;
}
.flavour-overview-brand {
  margin: 0 0 36px;
  scroll-margin-top: 96px;
}
.flavour-overview-brand-head h2 {
  font-size: 28px;
  letter-spacing: -0.03em;
  margin: 0 0 6px;
}
.flavour-overview-brand-head p {
  margin: 0 0 16px;
  font-size: 15px;
  opacity: 0.86;
}
.flavour-overview-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
.flavour-overview-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid var(--line, rgba(30, 40, 70, 0.14));
  background: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
html[data-theme="dark"] .flavour-overview-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}
.flavour-overview-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
}
.flavour-overview-card span {
  display: block;
  font-size: 12px;
  line-height: 1.3;
  text-align: center;
  overflow-wrap: anywhere;
}
@media (max-width: 900px) {
  .flavour-overview-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .flavour-overview { width: min(1200px, calc(100% - 32px)); }
  .flavour-overview-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flavour-overview-brand-head h2 { font-size: 22px; }
}
@media (min-width: 1101px) {
  .primary-nav a { padding: 9px 12px; }
  /* Product pages: HTML has the gallery first so stacked layouts stay image-first.
     On a wide desktop, pull the title/copy back to the left column. */
  .page-hero .hero-grid > .pdp-copy { order: -1; }
}
.card-note { font-size: 13px; opacity: 0.78; margin: 8px 0 0; }
.hero-links { margin-top: 18px; }
.guide-cover { margin: 0 auto 8px; max-width: 920px; padding: 0 20px; }
.guide-cover img { width: 100%; height: auto; border-radius: 20px; display: block; }
.faq-intro { margin-bottom: 12px; }
@media (max-width: 720px) {
  .device-offer { grid-template-columns: 64px 1fr; }
  .device-offer .drawer-actions { grid-column: 1 / -1; }
}


.related-flavours { padding-top: 12px; }
.related-flavours .related-more {
  margin-top: 22px;
  text-align: center;
}
.related-flavours .related-more a { text-decoration: underline; }

.checkout-app { max-width: 720px; margin: 0 auto; padding: 0 20px 48px; }
.checkout-list { display: grid; gap: 12px; margin: 8px 0 24px; }

/* Product PDPs already have swipeable thumbs under the hero; hide the duplicate large chip grid. */
.flavour-picker[data-mode="select"] .flavour-chip-grid { display: none; }
.flavour-picker[data-mode="select"] .flavour-picker-label {
  text-transform: none;
  letter-spacing: 0;
  font-size: 16px;
  font-weight: 700;
}

/* Flavour picker in the PDP buy box */
.flavour-picker { margin-top: 18px; }
.flavour-picker-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 10px;
}
.flavour-chip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 4px;
}
.flavour-chip {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 7px;
  border: 1px solid var(--line, rgba(30, 40, 70, 0.14));
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
}
.flavour-chip img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}
.flavour-chip span,
.flavour-chip a {
  display: block;
  font-size: 11px;
  line-height: 1.25;
  min-height: 2.5em;
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.flavour-chip.is-on {
  border-color: var(--ink);
  box-shadow: 0 0 0 2px var(--ink);
  background: #fff;
}
.flavour-chip:focus-visible,
.flavour-chip a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.flavour-buy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}
.flavour-buy .add-btn { min-height: 44px; }
@media (max-width: 700px) {
  .flavour-picker[data-mode="select"] .flavour-buy {
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    z-index: 50;
    margin: 0;
    padding: 10px 20px 12px;
    background: var(--page);
    box-shadow: 0 -8px 24px rgba(20, 24, 40, 0.10);
  }
  html[data-theme="dark"] .flavour-picker[data-mode="select"] .flavour-buy {
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
  }
  .flavour-picker[data-mode="select"] .flavour-buy .add-btn {
    flex: 1;
    min-width: 0;
  }
  body:has(.flavour-picker[data-mode="select"]) .page-main {
    padding-bottom: 168px;
  }
}
.flavour-details-link {
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (min-width: 760px) {
  .flavour-chip-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .flavour-chip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.related-device-flavours .flavour-picker { margin-top: 28px; }
.related-device-flavours .flavour-picker:first-child { margin-top: 0; }
.related-device-flavours .flavour-chip-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  max-height: 280px;
}
@media (max-width: 900px) {
  .related-device-flavours .flavour-chip-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .related-device-flavours .flavour-chip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.related-device-flavours .flavour-picker { display: none; }
.related-device-flavours .flavour-picker.is-brand-on { display: block; }

/* Product pages: copy left / image right on a wide desktop; image first when stacked. */
.page-hero .hero-grid {
  grid-template-areas: "copy gallery";
}
.page-hero .hero-grid > .pdp-copy { grid-area: copy; }
.page-hero .hero-grid > .pdp-gallery { grid-area: gallery; }

@media (max-width: 1100px) {
  .page-hero:has(.hero-grid) { padding-bottom: 108px; }
  .page-hero .pdp-copy .price-note { padding-right: 0; }
}
@media (max-width: 768px) {
  .page-hero:has(.hero-grid) { padding-bottom: 108px; }
  .page-hero .pdp-copy .price-note { padding-right: 0; }
  .pdp-gallery img { max-height: 300px; }
}

@media (max-width: 1100px) {
  .pdp-gallery { min-height: 0; }
  .pdp-gallery img { max-height: 360px; }
  .page-hero .hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas: "gallery" "copy";
  }
  .page-hero .hero-grid > .pdp-gallery {
    order: -1;
    width: 100%;
  }
}

@media (max-width: 700px) {
  .page-hero .hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas: "gallery" "copy";
  }
  .page-hero .hero-grid > .pdp-gallery { order: -1; width: 100%; }
}

.pdp-gallery[data-device-sync]:not(.is-ready) { visibility: hidden; }
.device-offer.is-current { box-shadow: 0 0 0 2px var(--ink); }


/* 1.0.3 clearance: last so these win over earlier gallery max-heights. */
@media (max-width: 1100px) and (min-width: 769px) {
  .page-hero .pdp-copy .price-note,
  .pdp-copy .price-note,
  .pdp-blurb {
    padding-right: 300px;
  }
}
@media (max-width: 768px) {
  .pdp-gallery img {
    max-height: 220px;
    width: auto;
    max-width: 100%;
    margin-inline: auto;
    display: block;
  }
  .pdp-gallery { min-height: 0; }
}
