/* ==========================================================================
   Vapess — standalone storefront
   Colours, type and spacing live in the :root tokens below.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url("../fonts/sora.woff2") format("woff2");
  font-weight: 500 700;
  font-display: swap;
}

:root {
  --bg: #07090f;
  --bg-2: #0b0f19;
  --surface: #10141f;
  --surface-2: #161b29;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f3f5f9;
  --muted: #9aa3b5;
  --faint: #6b7385;
  --teal: #16d9c6;
  --blue: #5b8cff;
  --violet: #8b5cf6;
  --danger: #ff6b7a;
  --grad: linear-gradient(120deg, #16d9c6 0%, #5b8cff 50%, #8b5cf6 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Sora", "Inter", system-ui, sans-serif;
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
::selection { background: rgba(22, 217, 198, 0.35); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--teal); color: #000; padding: 8px 14px; border-radius: 8px; z-index: 999; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { font: 600 12px/1 var(--font); letter-spacing: 0.22em; text-transform: uppercase; color: var(--teal); }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--text);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid var(--line-2);
  background: transparent; font-weight: 600; font-size: 15px; letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, box-shadow 0.25s;
  white-space: nowrap;
}
.btn:hover { border-color: rgba(255, 255, 255, 0.35); transform: translateY(-1px); }
.btn-primary {
  background: var(--grad); border: 0; color: #050811;
  box-shadow: 0 10px 40px -10px rgba(22, 217, 198, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover { box-shadow: 0 16px 50px -10px rgba(91, 140, 255, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; }
.btn[disabled] { opacity: 0.5; pointer-events: none; }

/* ---------- Announcement + header ---------- */
.announce {
  background: #000; border-bottom: 1px solid var(--line);
  font-size: 12.5px; color: #d6dae3; text-align: center; padding: 9px var(--gutter);
  letter-spacing: 0.01em;
}
.announce strong { color: #fff; font-weight: 600; }
.announce .sep { color: var(--faint); margin: 0 10px; }
@media (max-width: 720px) { .announce .opt { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 9, 15, 0.72);
  backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 24px; height: 76px; }
.logo img { height: 34px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a, .nav button.navlink {
  padding: 10px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: #cfd4de;
  background: none; border: 0; transition: color 0.2s, background 0.2s;
}
.nav a:hover, .nav a[aria-current="page"], .nav button.navlink:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav-drop { position: relative; }
.nav-drop .menu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 240px;
  background: rgba(16, 20, 31, 0.97); border: 1px solid var(--line-2); border-radius: 16px; padding: 8px;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: 0.2s var(--ease); display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
}
.nav-drop:hover .menu, .nav-drop:focus-within .menu { opacity: 1; visibility: visible; transform: none; }
.nav-drop .menu a { font-size: 14px; padding: 9px 12px; border-radius: 10px; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.icon-btn {
  position: relative; width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center;
  background: none; border: 1px solid transparent; color: #e6e9ef; transition: background 0.2s, border-color 0.2s;
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.06); border-color: var(--line); }
.icon-btn svg { width: 21px; height: 21px; }
.count {
  position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
  background: var(--teal); color: #031014; font-size: 11px; font-weight: 700; display: grid; place-items: center;
  transform: scale(0); transition: transform 0.3s var(--ease);
}
.count.on { transform: scale(1); }
.count.bump { animation: bump 0.45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.menu-toggle { display: none; }

.searchbar { display: none; border-top: 1px solid var(--line); padding: 14px 0; }
.searchbar.open { display: block; }
.searchbar form { display: flex; gap: 10px; }
.searchbar input { flex: 1; }

@media (max-width: 980px) {
  .nav { display: none; }
  .menu-toggle { display: grid; }
  .header-row { height: 66px; }
  .logo img { height: 28px; }
}

/* Mobile nav panel */
.mnav {
  position: fixed; inset: 0; z-index: 80; background: rgba(5, 7, 12, 0.98);
  padding: 90px var(--gutter) 40px; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: 0.3s var(--ease);
}
.mnav.open { opacity: 1; visibility: visible; }
.mnav a { display: block; font: 600 26px/1.2 var(--display); padding: 12px 0; border-bottom: 1px solid var(--line); }
.mnav .sub { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.mnav .sub a { font: 500 14px var(--font); border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 14px; }
.mnav .close { position: absolute; top: 14px; right: var(--gutter); }

/* ---------- Form controls ---------- */
.input, select.input, textarea.input {
  width: 100%; height: 50px; padding: 0 16px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--line-2); color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s; font-size: 15px;
}
textarea.input { height: auto; min-height: 140px; padding: 14px 16px; resize: vertical; }
.input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(22, 217, 198, 0.15); }
.input::placeholder { color: var(--faint); }
select.input {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%239aa3b5' stroke-width='1.8'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field { display: grid; gap: 7px; }
.field label, .label { font-size: 13px; font-weight: 600; color: #cdd2dc; letter-spacing: 0.01em; }
.field .hint { font-size: 12.5px; color: var(--faint); }
.field.invalid .input { border-color: var(--danger); }
.field .err { display: none; color: var(--danger); font-size: 12.5px; }
.field.invalid .err { display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: #cdd2dc; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--teal); flex: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.hero-bg { position: absolute; inset: 0; z-index: -2; background: url("../img/hero-banner.jpg") center/cover no-repeat; opacity: 0.9; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 40%, transparent 0%, rgba(7, 9, 15, 0.5) 60%, var(--bg) 100%); }
.aurora { position: absolute; inset: -20%; z-index: -1; filter: blur(70px); opacity: 0.65; pointer-events: none; }
.aurora span { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: drift 18s ease-in-out infinite alternate; }
.aurora span:nth-child(1) { width: 42vw; height: 42vw; left: 8%; top: 18%; background: radial-gradient(circle, rgba(22, 217, 198, 0.55), transparent 65%); }
.aurora span:nth-child(2) { width: 46vw; height: 46vw; right: 4%; top: 6%; background: radial-gradient(circle, rgba(139, 92, 246, 0.55), transparent 65%); animation-duration: 22s; animation-delay: -6s; }
.aurora span:nth-child(3) { width: 30vw; height: 30vw; left: 42%; bottom: 0; background: radial-gradient(circle, rgba(91, 140, 255, 0.45), transparent 65%); animation-duration: 26s; animation-delay: -12s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(4vw, -3vw) scale(1.08); } 100% { transform: translate(-3vw, 2vw) scale(0.96); } }
.grain { position: absolute; inset: 0; z-index: -1; opacity: 0.08; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; min-height: min(86vh, 820px); padding-top: 60px; padding-bottom: 60px; }
.hero h1 { font-size: clamp(44px, 7vw, 92px); font-weight: 600; letter-spacing: -0.035em; line-height: 0.98; margin: 22px 0 24px; }
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); color: #c4cad6; max-width: 34ch; line-height: 1.55; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 44px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); font-size: 13px; color: #d4d9e2;
}
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 12px var(--teal); }

.stage { position: relative; aspect-ratio: 1 / 1; max-width: 620px; justify-self: end; width: 100%; }
.stage .ring { position: absolute; inset: 8%; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.08); }
.stage .ring.r2 { inset: 20%; border-color: rgba(22, 217, 198, 0.16); }
.stage .ring.r3 { inset: -2%; border-style: dashed; border-color: rgba(139, 92, 246, 0.12); animation: spin 80s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.stage .dev { position: absolute; filter: drop-shadow(0 40px 50px rgba(0, 0, 0, 0.6)); animation: float 7s ease-in-out infinite; }
.stage .dev.d1 { width: 46%; left: 27%; top: 6%; z-index: 3; }
.stage .dev.d2 { width: 34%; left: 2%; top: 30%; z-index: 2; animation-delay: -2.4s; transform-origin: center; }
.stage .dev.d3 { width: 34%; right: 0; top: 34%; z-index: 2; animation-delay: -4.6s; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
.stage .tag {
  position: absolute; z-index: 5; padding: 12px 16px; border-radius: 14px; font-size: 13px;
  background: rgba(16, 20, 31, 0.75); border: 1px solid var(--line-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}
.stage .tag b { display: block; font: 600 20px/1.1 var(--display); }
.stage .tag.t1 { left: 0; bottom: 12%; }
.stage .tag.t2 { right: 2%; top: 8%; }

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; min-height: 0; padding-top: 48px; gap: 10px; }
  .stage { justify-self: center; max-width: 460px; }
}

/* ---------- Trust bar ---------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.trust > div { display: flex; gap: 14px; align-items: center; padding: 26px var(--gutter); border-right: 1px solid var(--line); }
.trust > div:last-child { border-right: 0; }
.trust .ic { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(22, 217, 198, 0.08); border: 1px solid rgba(22, 217, 198, 0.2); color: var(--teal); }
.trust .ic svg { width: 21px; height: 21px; }
.trust b { display: block; font-size: 14.5px; font-weight: 600; }
.trust span { font-size: 13px; color: var(--muted); }
@media (max-width: 980px) { .trust { grid-template-columns: 1fr 1fr; } .trust > div:nth-child(2) { border-right: 0; } .trust > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 520px) { .trust > div { padding: 18px 16px; gap: 10px; } .trust .ic { width: 36px; height: 36px; } }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(32px, 4.2vw, 54px); margin-top: 14px; }
.section-head p { color: var(--muted); max-width: 46ch; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: #fff; }
.link-arrow svg { width: 18px; transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* Category tiles */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4;
  background: var(--surface); border: 1px solid var(--line); isolation: isolate;
  transition: transform 0.5s var(--ease), border-color 0.3s;
}
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 0.8s var(--ease); }
.cat::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(5, 7, 12, 0.9) 100%); }
.cat .cat-body { position: absolute; left: 22px; right: 22px; bottom: 22px; }
.cat h3 { font-size: 24px; }
.cat p { font-size: 13.5px; color: #c0c6d2; margin-top: 6px; }
.cat .go { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line-2); backdrop-filter: blur(10px); transition: background 0.3s, transform 0.4s var(--ease); }
.cat .go svg { width: 18px; }
.cat:hover { transform: translateY(-4px); border-color: var(--line-2); }
.cat:hover img { transform: scale(1.06); }
.cat:hover .go { background: var(--teal); color: #031014; transform: rotate(-45deg); }
@media (max-width: 980px) { .cats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .cats { gap: 10px; } .cat .cat-body { left: 14px; right: 14px; bottom: 14px; } .cat h3 { font-size: 18px; } .cat p { display: none; } }

/* ---------- Product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .grid, .grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) { .grid, .grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }

.card {
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface) 0%, #0c1019 100%); border: 1px solid var(--line);
  overflow: hidden; transition: transform 0.45s var(--ease), border-color 0.3s, box-shadow 0.45s var(--ease);
}
.card:hover { transform: translateY(-5px); border-color: var(--line-2); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.03); }
.card-media { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #0b0f19; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.card-stat { position: absolute; left: 16px; bottom: 14px; font: 600 26px/1 var(--display); letter-spacing: -0.02em; text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6); }
.card-stat small { display: block; font: 600 10.5px/1 var(--font); letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); margin-top: 6px; }
.badge {
  position: absolute; top: 12px; left: 12px; height: 26px; padding: 0 10px; border-radius: 999px;
  display: inline-flex; align-items: center; font-size: 11.5px; font-weight: 600;
  background: rgba(7, 9, 15, 0.6); border: 1px solid var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.badge.hot { left: auto; right: 12px; background: rgba(22, 217, 198, 0.16); border-color: rgba(22, 217, 198, 0.4); color: #9ff5ec; }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 18px; flex: 1; }
.card-brand { font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); }
.card h3 { font: 600 16px/1.3 var(--font); letter-spacing: -0.01em; }
.card-meta { font-size: 13px; color: var(--muted); }
.card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; }
.price { font: 600 20px/1 var(--display); letter-spacing: -0.02em; }
.unit { display: block; font-size: 12px; color: var(--faint); margin-top: 5px; }
.card .add {
  width: 42px; height: 42px; border-radius: 50%; flex: none; display: grid; place-items: center;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04); transition: 0.25s var(--ease);
}
.card .add svg { width: 18px; }
.card:hover .add { background: var(--teal); border-color: var(--teal); color: #031014; }
@media (max-width: 520px) {
  .card-body { padding: 12px 12px 14px; }
  .card h3 { font-size: 14px; }
  .card-meta { display: none; }
  .price { font-size: 17px; }
  .card .add { width: 36px; height: 36px; }
  .card-stat { font-size: 20px; left: 12px; bottom: 10px; }
  .badge { top: 8px; left: 8px; font-size: 10.5px; height: 22px; padding: 0 8px; }
  .badge.hot { display: none; }
}

/* ---------- Brands marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 26px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee a { font: 600 clamp(22px, 3vw, 34px)/1 var(--display); color: rgba(255, 255, 255, 0.28); letter-spacing: -0.02em; transition: color 0.3s; white-space: nowrap; }
.marquee a:hover { color: #fff; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Editorial split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.split-media { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 5 / 4; border: 1px solid var(--line); background: var(--surface); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: clamp(32px, 4vw, 52px); margin: 14px 0 20px; }
.split p { color: #b9c0cd; font-size: 17px; }
.points { display: grid; gap: 18px; margin-top: 32px; }
.points div { display: grid; grid-template-columns: 34px 1fr; gap: 14px; }
.points i { width: 34px; height: 34px; border-radius: 10px; background: var(--grad); display: grid; place-items: center; color: #031014; font-style: normal; font-weight: 700; font-size: 13px; }
.points b { display: block; font-size: 15.5px; }
.points span { color: var(--muted); font-size: 14.5px; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

/* Warning band */
.warnband { padding: 0 0 clamp(64px, 9vw, 110px); }
.warn {
  border: 2px solid #fff; padding: 22px 26px; text-align: center; font-weight: 700;
  font-size: clamp(15px, 1.6vw, 19px); line-height: 1.4; background: #000;
}

/* ---------- Page header ---------- */
.page-head { position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 64px); }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/hero-banner.jpg") center/cover; opacity: 0.55; }
.page-head::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 0%, var(--bg) 100%); }
.page-head h1 { font-size: clamp(38px, 5.6vw, 72px); margin-top: 16px; letter-spacing: -0.03em; }
.page-head p { color: #c0c6d2; margin-top: 16px; max-width: 60ch; font-size: 17px; }
.crumbs { font-size: 13px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: #fff; }

/* ---------- Shop ---------- */
.shop-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 22px 0; position: sticky; top: 76px; z-index: 20; background: rgba(7, 9, 15, 0.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); margin-bottom: 30px; }
@media (max-width: 980px) { .shop-bar { top: 66px; } }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent;
  font-size: 14px; font-weight: 500; color: #cfd4de; transition: 0.2s;
}
.pill:hover { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.pill[aria-pressed="true"] { background: #fff; color: #050811; border-color: #fff; }
.shop-tools { display: flex; gap: 10px; flex-wrap: wrap; }
.shop-tools .input { height: 42px; width: auto; min-width: 160px; font-size: 14px; }
.shop-tools .search { min-width: 220px; }
.result-count { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.empty { text-align: center; padding: 80px 0; color: var(--muted); }
@media (max-width: 640px) {
  .shop-bar { position: static; }
  .pills { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); scrollbar-width: none; }
  .pill { flex: none; }
  .shop-tools { width: 100%; }
  .shop-tools .input { flex: 1; min-width: 0; }
  .shop-tools .search { flex-basis: 100%; }
}

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); padding: 36px 0 clamp(56px, 8vw, 100px); align-items: start; }
.pdp-media { position: sticky; top: 100px; }
.pdp-hero { position: relative; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 1 / 1; background: #0b0f19; }
.pdp-hero img { width: 100%; height: 100%; object-fit: cover; }
.pdp-hero .card-stat { left: 26px; bottom: 24px; font-size: 44px; }
.pdp-hero .badge { top: 20px; left: 20px; height: 30px; font-size: 12.5px; }
.pdp-hero .age { position: absolute; top: 18px; right: 18px; width: 54px; height: 54px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.85); display: grid; place-items: center; font: 700 15px var(--display); }
.pdp-info h1 { font-size: clamp(30px, 3.6vw, 46px); margin: 12px 0 14px; }
.pdp-price { display: flex; align-items: baseline; gap: 14px; margin: 18px 0 6px; flex-wrap: wrap; }
.pdp-price .price { font-size: 36px; }
.pdp-price .unit { display: inline; font-size: 14px; color: var(--muted); }
.pdp .vat { font-size: 13px; color: var(--faint); }
.specs { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 6px; }
.specs .chip { height: 36px; }
.opt-head { display: flex; justify-content: space-between; align-items: baseline; margin: 30px 0 12px; }
.opt-head .label { font-size: 14px; }
.opt-head .sel { font-size: 14px; color: var(--teal); font-weight: 600; }
.flavours { display: flex; flex-wrap: wrap; gap: 8px; }
.flavours button {
  min-height: 42px; padding: 8px 15px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface);
  font-size: 14px; color: #d8dce4; transition: 0.15s; text-align: left;
}
.flavours button:hover { border-color: rgba(255, 255, 255, 0.35); }
.flavours button[aria-pressed="true"] { border-color: var(--teal); background: rgba(22, 217, 198, 0.1); color: #fff; box-shadow: inset 0 0 0 1px var(--teal); }
.buy { display: flex; gap: 12px; margin-top: 30px; }
.qty { display: flex; align-items: center; height: 52px; border: 1px solid var(--line-2); border-radius: 999px; padding: 0 4px; flex: none; }
.qty button { width: 42px; height: 42px; border-radius: 50%; background: none; border: 0; font-size: 20px; color: #cfd4de; }
.qty button:hover { background: rgba(255, 255, 255, 0.06); }
.qty input { width: 38px; text-align: center; background: none; border: 0; font-weight: 600; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty.sm { height: 36px; } .qty.sm button { width: 30px; height: 30px; font-size: 16px; } .qty.sm input { width: 28px; font-size: 14px; }
.buy .btn { flex: 1; }
.pdp-note { display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: var(--muted); margin-top: 16px; }
.pdp-note svg { width: 18px; color: var(--teal); flex: none; }
.pdp .warn { margin-top: 28px; font-size: 14px; padding: 14px 18px; text-align: left; }
.acc { margin-top: 28px; border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--muted); transition: transform 0.25s; }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc .acc-body { padding: 0 0 22px; color: #b9c0cd; font-size: 15px; }
.acc table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.acc td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.acc td:first-child { color: var(--muted); width: 42%; }
.acc tr:last-child td { border-bottom: 0; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; padding-top: 20px; } .pdp-media { position: static; } }

/* ---------- Prose / content pages ---------- */
.prose { max-width: 760px; padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 9vw, 110px); color: #c3c9d4; font-size: 16.5px; }
.prose h2 { font-size: clamp(24px, 2.6vw, 32px); color: #fff; margin: 44px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; color: #fff; margin: 34px 0 10px; }
.prose p { margin: 0 0 16px; }
.prose ul { padding-left: 20px; margin: 0 0 18px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--teal); }
.prose a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: #fff; }
.prose .placeholder { display: block; padding: 12px 16px; border: 1px dashed rgba(255, 200, 80, 0.5); border-radius: 10px; color: #ffd27a; font-style: normal; }

.policy-layout { display: grid; grid-template-columns: 240px 1fr; gap: 60px; }
.side-nav { position: sticky; top: 110px; align-self: start; padding-top: clamp(40px, 6vw, 72px); display: grid; gap: 2px; }
.side-nav a { padding: 10px 14px; border-radius: 10px; font-size: 14.5px; color: var(--muted); }
.side-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.04); }
.side-nav a[aria-current="page"] { color: #fff; background: rgba(22, 217, 198, 0.1); box-shadow: inset 2px 0 0 var(--teal); }
@media (max-width: 880px) { .policy-layout { grid-template-columns: 1fr; gap: 0; } .side-nav { position: static; display: flex; flex-wrap: wrap; gap: 6px; padding-top: 28px; } .side-nav a { border: 1px solid var(--line); } }

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); margin-bottom: 10px; padding: 0 20px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 600; color: #fff; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--teal); transition: transform 0.25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding-bottom: 20px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 80px); padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 9vw, 110px); }
.info-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--surface); margin-bottom: 14px; }
.info-card h3 { font-size: 18px; margin-bottom: 8px; }
.info-card p, .info-card a { color: #b9c0cd; font-size: 15px; }
.info-card a { color: var(--teal); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Checkout ---------- */
.checkout { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 5vw, 64px); padding: 36px 0 clamp(64px, 9vw, 110px); align-items: start; }
.panel { border: 1px solid var(--line); border-radius: 22px; background: var(--surface); padding: clamp(20px, 3vw, 32px); }
.panel + .panel { margin-top: 16px; }
.panel h2 { font-size: 22px; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.panel h2 .n { width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: #031014; display: grid; place-items: center; font-size: 14px; }
.summary { position: sticky; top: 100px; }
.ship-opts { display: grid; gap: 10px; }
.ship-opt { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line-2); border-radius: 14px; cursor: pointer; }
.ship-opt:has(input:checked) { border-color: var(--teal); background: rgba(22, 217, 198, 0.06); }
.ship-opt input { accent-color: var(--teal); width: 18px; height: 18px; }
.ship-opt .t { flex: 1; } .ship-opt b { display: block; font-size: 15px; } .ship-opt span { font-size: 13px; color: var(--muted); }
.ship-opt .p { font-weight: 600; }
.lines { display: grid; gap: 16px; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; }
.line img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; border: 1px solid var(--line); }
.line .n { font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.line .v { font-size: 13px; color: var(--muted); margin-top: 3px; }
.line .ctl { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.line .rm { background: none; border: 0; color: var(--faint); font-size: 12.5px; text-decoration: underline; padding: 0; }
.line .rm:hover { color: var(--danger); }
.line .lp { font-weight: 600; font-size: 15px; text-align: right; align-self: start; }
.totals { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 18px; display: grid; gap: 10px; font-size: 15px; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font: 600 22px var(--display); padding-top: 12px; border-top: 1px solid var(--line); margin-top: 6px; }
.totals small { color: var(--faint); font-size: 12.5px; }
.notice { border-radius: 14px; padding: 14px 16px; font-size: 14px; background: rgba(91, 140, 255, 0.08); border: 1px solid rgba(91, 140, 255, 0.25); color: #c9d6ff; }
.notice.ok { background: rgba(22, 217, 198, 0.08); border-color: rgba(22, 217, 198, 0.3); color: #b5f7ef; }
.notice.bad { background: rgba(255, 107, 122, 0.08); border-color: rgba(255, 107, 122, 0.35); color: #ffc3c9; }
.done { text-align: center; max-width: 560px; margin: 0 auto; padding: 90px 0 120px; }
.done .tick { width: 84px; height: 84px; margin: 0 auto 26px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #031014; box-shadow: 0 20px 60px -10px rgba(22, 217, 198, 0.5); }
.done .tick svg { width: 38px; }
.done h1 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 14px; }
.done p { color: #b9c0cd; margin-bottom: 10px; }
@media (max-width: 920px) { .checkout { grid-template-columns: 1fr; } .summary { position: static; order: -1; } }

/* ---------- Basket drawer ---------- */
.scrim { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, 0.6); opacity: 0; visibility: hidden; transition: 0.3s; backdrop-filter: blur(3px); }
.scrim.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100; width: min(440px, 100%);
  background: #0c1019; border-left: 1px solid var(--line-2); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.45s var(--ease);
}
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 20px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 22px 24px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 20px 24px 24px; display: grid; gap: 14px; }
.drawer-foot .row { display: flex; justify-content: space-between; font-weight: 600; font-size: 17px; }
.progress { font-size: 13px; color: #cdd2dc; }
.progress .bar { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); margin-top: 8px; overflow: hidden; }
.progress .bar i { display: block; height: 100%; background: var(--grad); border-radius: inherit; transition: width 0.5s var(--ease); }
.drawer .empty { padding: 60px 0; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 120; transform: translate(-50%, 140%);
  background: #fff; color: #050811; font-weight: 600; font-size: 14.5px; padding: 14px 20px; border-radius: 999px;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7); transition: transform 0.45s var(--ease); display: flex; gap: 10px; align-items: center; max-width: calc(100% - 32px);
}
.toast.show { transform: translate(-50%, 0); }
.toast svg { width: 18px; color: #0a9e8f; flex: none; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: #05070b; padding: 72px 0 32px; font-size: 14.5px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer .logo img { height: 32px; }
.footer p { color: var(--muted); margin-top: 18px; max-width: 34ch; }
.footer h4 { font: 600 12px/1 var(--font); letter-spacing: 0.2em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--muted); }
.footer ul a:hover { color: #fff; }
.footer .warn { margin-top: 48px; font-size: 14px; padding: 14px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 28px; color: var(--faint); font-size: 13px; }
.age-badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; font-size: 13px; color: var(--muted); }
.age-badge b { width: 38px; height: 38px; border-radius: 50%; border: 2px solid #fff; display: grid; place-items: center; color: #fff; font: 700 12px var(--display); }
@media (max-width: 880px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > div:first-child { grid-column: 1 / -1; } }

/* ---------- Age gate ---------- */
.age-gate {
  position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 16px;
  background: rgba(4, 6, 10, 0.82); backdrop-filter: blur(24px) saturate(140%); -webkit-backdrop-filter: blur(24px) saturate(140%);
}
html:not(.age-ok) .age-gate { display: flex; }
html:not(.age-ok) body { overflow: hidden; }
.age-box {
  position: relative; width: 100%; max-width: 480px; text-align: center; padding: 40px 30px 30px; border-radius: 28px;
  background: linear-gradient(180deg, rgba(22, 27, 41, 0.95), rgba(11, 15, 25, 0.98));
  border: 1px solid var(--line-2); box-shadow: 0 50px 120px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.03);
  animation: rise 0.6s var(--ease);
}
.age-box::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0.6; pointer-events: none; }
@keyframes rise { from { opacity: 0; transform: translateY(20px) scale(0.98); } }
.age-box img { height: 36px; width: auto; margin: 0 auto 26px; }
.age-box .ring18 { width: 78px; height: 78px; margin: 0 auto 20px; border-radius: 50%; border: 2px solid #fff; display: grid; place-items: center; font: 700 24px var(--display); }
.age-box h2 { font-size: 28px; margin-bottom: 12px; }
.age-box p { color: #b9c0cd; font-size: 15px; }
.age-box .acts { display: grid; gap: 10px; margin: 26px 0 20px; }
.age-box .no { color: var(--muted); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; padding: 6px; }
.age-box .warn { font-size: 13px; padding: 10px 12px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
.check .err { display: none; color: var(--danger); font-size: 12.5px; }
.check.invalid .err { display: inline; }
.check.invalid input { outline: 2px solid var(--danger); outline-offset: 2px; }

/* ---------- Photos, reviews, discounts, WhatsApp (v2) ---------- */
.card-media.photo, .pdp-hero.photo { background: #fff; }
.card-media.photo img { object-fit: contain; padding: 8%; }
.pdp-hero.photo img { object-fit: contain; padding: 7%; }
.pdp-hero.photo .age { color: #0b0f19; border-color: rgba(11, 15, 25, 0.7); }
.card-media.photo .badge { background: rgba(7, 9, 15, 0.82); color: #fff; }
.badge.out { left: auto; right: 12px; background: rgba(255, 107, 122, 0.9); border-color: transparent; color: #fff; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumb { width: 78px; height: 78px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); background: #fff; padding: 0; cursor: pointer; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb.on { box-shadow: 0 0 0 2px var(--teal); }
.flavours button.out, .flavours button:disabled { opacity: 0.4; text-decoration: line-through; cursor: not-allowed; }
#add-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.stars { display: inline-flex; align-items: center; gap: 8px; margin: 10px 0 4px; font-size: 14px; color: var(--muted); }
.st { color: #ffc94d; letter-spacing: 2px; }
.st i { font-style: normal; color: rgba(255, 255, 255, 0.18); }
.reviews { padding: clamp(40px, 6vw, 80px) 0 20px; }
.rev-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
#rev-list { display: grid; gap: 14px; }
.rev { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.rev p { margin: 8px 0 10px; color: #dfe3ea; }
.rev .who { font-size: 13px; color: var(--faint); }
.rev-form { display: grid; gap: 14px; }
.rev-form h3 { font-size: 20px; }
@media (max-width: 860px) { .rev-grid { grid-template-columns: 1fr; } }
.disc { display: flex; gap: 8px; margin: 6px 0 4px; }
.disc .input { height: 46px; text-transform: uppercase; }
.disc .btn { height: 46px; padding: 0 18px; }
.disc-msg { font-size: 13px; color: var(--muted); min-height: 18px; margin-bottom: 8px; }
.disc-msg.ok { color: var(--teal); }
.disc-msg.bad { color: var(--danger); }
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 20px 0 16px; border-radius: 999px; background: #25d366; color: #062e16;
  font: 600 15px var(--font); box-shadow: 0 14px 40px -10px rgba(37, 211, 102, 0.6); transition: transform 0.25s var(--ease);
}
.wa-float svg { width: 26px; height: 26px; }
.wa-float:hover { transform: translateY(-3px); }
@media (max-width: 640px) { .wa-float { height: 54px; width: 54px; padding: 0; justify-content: center; } .wa-float span { display: none; } }
html:not(.age-ok) .wa-float { display: none; }
.btn svg { width: 18px; height: 18px; }
.cats { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1180px) { .cats { grid-template-columns: repeat(3, 1fr); } .nav { display: none; } .menu-toggle { display: grid; } }
@media (max-width: 980px) { .cats { grid-template-columns: 1fr 1fr; } }
.h1-pack { font-size: 0.5em; font-weight: 500; color: var(--muted); letter-spacing: 0; white-space: nowrap; }

/* ---------- New logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.logo-mark { width: 34px; height: 34px; flex: none; filter: drop-shadow(0 6px 18px rgba(91, 140, 255, 0.35)); transition: transform 0.4s var(--ease); }
.logo:hover .logo-mark { transform: rotate(-6deg) scale(1.04); }
.logo-word { font: 600 23px/1 var(--display); letter-spacing: -0.035em; }
.logo-lg { justify-content: center; margin-bottom: 6px; }
.logo-lg .logo-mark { width: 46px; height: 46px; }
.logo-lg .logo-word { font-size: 30px; }

/* ---------- Shop: sidebar filters ---------- */
.shop-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 36px; align-items: start; padding-top: 34px; padding-bottom: clamp(64px, 9vw, 110px); }
.filters { position: sticky; top: 96px; max-height: calc(100vh - 116px); overflow-y: auto; scrollbar-width: thin; padding-right: 6px; }
.f-head { display: none; }
.f-search { position: relative; margin-bottom: 22px; }
.f-search svg { position: absolute; left: 14px; top: 50%; width: 18px; transform: translateY(-50%); color: var(--faint); pointer-events: none; }
.f-search .input { height: 46px; padding-left: 42px; font-size: 14.5px; }
.f-group { border-top: 1px solid var(--line); padding: 18px 0; }
.f-group h4 { font: 600 12px/1 var(--font); letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); margin-bottom: 12px; }
.f-list { display: grid; gap: 2px; }
.f-brands { max-height: 330px; overflow-y: auto; scrollbar-width: thin; }
.f-opt { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 9px 12px; border: 0; border-radius: 10px; background: none; color: #c9cfda; font: 500 14.5px var(--font); text-align: left; cursor: pointer; transition: background 0.2s, color 0.2s; }
.f-opt em { font-style: normal; font-size: 12px; color: var(--faint); background: rgba(255, 255, 255, 0.05); border-radius: 999px; padding: 2px 8px; min-width: 28px; text-align: center; }
.f-opt:hover { background: rgba(255, 255, 255, 0.05); color: #fff; }
.f-opt[aria-pressed="true"] { background: rgba(22, 217, 198, 0.1); color: #fff; box-shadow: inset 2px 0 0 var(--teal); }
.f-opt[aria-pressed="true"] em { background: var(--teal); color: #031014; }
.f-opt:disabled { opacity: 0.35; cursor: default; }
.f-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.f-chips .pill { height: 36px; padding: 0 14px; font-size: 13.5px; }
.f-apply, .f-open { display: none; }
.shop-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.shop-top .result-count { margin: 0; color: var(--muted); }
.shop-top .result-count b { color: #fff; }
.shop-top-r { display: flex; gap: 10px; align-items: center; }
.sort { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); }
.sort .input { height: 42px; width: auto; min-width: 190px; font-size: 14px; }
.active-f { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; min-height: 0; }
.active-f:empty { margin-bottom: 4px; }
.chip-x { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(22, 217, 198, 0.4); background: rgba(22, 217, 198, 0.08); color: #c8fbf5; font: 500 13.5px var(--font); cursor: pointer; }
.chip-x span { margin-left: 4px; opacity: 0.7; }
.chip-x.clear { border-color: var(--line-2); background: none; color: var(--muted); }
.grid.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .shop-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 24px; } .grid.grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 980px) {
  .shop-layout { grid-template-columns: 1fr; padding-top: 20px; }
  .filters { position: fixed; top: 0; left: 0; bottom: 0; width: min(360px, 88vw); max-height: none; z-index: 90; background: var(--bg-2); border-right: 1px solid var(--line-2); padding: 18px 20px 24px; transform: translateX(-102%); transition: transform 0.3s var(--ease); }
  .filters.open { transform: none; }
  .f-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; font: 600 20px var(--display); }
  .f-apply { display: flex; position: sticky; bottom: 0; margin-top: 10px; background: var(--grad); color: #050811; border: 0; }
  .f-open { display: inline-flex; height: 42px; padding: 0 16px; font-size: 14px; gap: 8px; }
  .f-open svg { width: 18px; }
  .f-scrim { z-index: 85; }
  .grid.grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .sort span { display: none; }
  .sort .input { min-width: 0; }
}
@media (max-width: 520px) { .shop-top { flex-wrap: wrap; } .shop-top .result-count { width: 100%; order: 2; } .shop-top-r { width: 100%; } .shop-top-r > * { flex: 1; } .sort .input { width: 100%; } }

/* ---------- Product cards: quick add ---------- */
.card .add { cursor: pointer; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04); color: #fff; }
.card .add:hover { background: var(--grad); color: #050811; border-color: transparent; }
.card .add:disabled { opacity: 0.3; cursor: not-allowed; }
.card .add svg { width: 20px; }

/* ---------- Quick add popup ---------- */
.qa { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 16px; background: rgba(3, 5, 10, 0.7); backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.2s; }
.qa.open { opacity: 1; }
.qa-box { position: relative; width: min(520px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: var(--surface); border: 1px solid var(--line-2); border-radius: 24px; padding: 24px; box-shadow: var(--shadow); transform: translateY(14px); transition: transform 0.25s var(--ease); }
.qa.open .qa-box { transform: none; }
.qa-x { position: absolute; top: 12px; right: 12px; }
.qa-top { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; padding-right: 36px; }
.qa-img { width: 96px; height: 96px; flex: none; border-radius: 16px; overflow: hidden; background: #0b0f19; }
.qa-img.photo { background: #fff; }
.qa-img img { width: 100%; height: 100%; object-fit: cover; }
.qa-img.photo img { object-fit: contain; padding: 8px; }
.qa-top h3 { font-size: 19px; line-height: 1.25; margin: 4px 0 6px; }
.qa-price b { font: 600 20px var(--display); }
.qa-price span { font-size: 13px; color: var(--muted); }
#qa-flav-wrap .label { display: block; margin-bottom: 10px; }
.flavours.sm { max-height: 220px; overflow-y: auto; }
.flavours.sm button { height: 38px; padding: 0 14px; font-size: 13.5px; }
.qa-foot { display: flex; gap: 10px; margin-top: 20px; }
.qa-foot .btn { flex: 1; }
.qa-foot .btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }
.qa-more { display: block; text-align: center; margin-top: 14px; font-size: 13.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 520px) { .qa { place-items: end center; padding: 0; } .qa-box { border-radius: 24px 24px 0 0; max-height: 88vh; } .qa-foot .qty { height: 48px; } }
.qa[hidden], [hidden] { display: none !important; }
body[data-page="shop"] .page-head { padding: clamp(26px, 4vw, 44px) 0 clamp(22px, 3vw, 32px); }
body[data-page="shop"] .page-head h1 { font-size: clamp(32px, 4vw, 48px); margin-top: 10px; }
body[data-page="shop"] .page-head .eyebrow { display: none; }
body[data-page="shop"] .page-head p { margin-top: 10px; font-size: 15.5px; }
