/* ============================================
   EliteTools — Futuristic Light Marketplace
   Meetway-inspired · Black / White / #facc15
   ============================================ */

:root {
  --yellow: #facc15;
  --yellow-bright: #fde047;
  --yellow-deep: #ca8a04;
  --yellow-soft: rgba(250, 204, 21, 0.14);
  --yellow-glow: rgba(250, 204, 21, 0.45);
  --black: #0a0a0a;
  --solid-dark: #0a0a0a;
  --ink: #111827;
  --muted: #64748b;
  --line: rgba(15, 23, 42, 0.08);
  --line-strong: rgba(15, 23, 42, 0.12);
  --surface: rgba(255, 255, 255, 0.72);
  --surface-solid: #ffffff;
  --bg: #fafafa;
  --bg-soft: #f4f4f5;
  --header-bg: rgba(250, 250, 250, 0.88);
  --btn-dark: #0a0a0a;
  --btn-dark-text: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --announce-h: 0px;
  --header-h: 70px;
  --sticky-offset: calc(var(--announce-h) + var(--header-h));
  --max: 1180px;
  --font: "Inter", system-ui, sans-serif;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.1);
  --ease: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --theme-ease: 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  --wa: #25d366;
  --surf: #178bff;
  --announce-bg: linear-gradient(90deg, #0a0a0a 0%, #171717 45%, #0f172a 100%);
  --announce-text: #ffffff;
  --hero-bg: radial-gradient(ellipse 80% 60% at 70% 20%, rgba(250, 204, 21, 0.18), transparent),
    linear-gradient(180deg, #fffbeb 0%, var(--bg) 70%);
  --night-opacity: 0;
  --day-opacity: 1;
}

/* Dark theme — cinematic deep space */
html[data-theme="dark"] {
  --yellow: #facc15;
  --yellow-bright: #fde68a;
  --yellow-deep: #facc15;
  --yellow-soft: rgba(250, 204, 21, 0.14);
  --yellow-glow: rgba(250, 204, 21, 0.32);
  --black: #f1f5f9;
  --solid-dark: #020617;
  --ink: #f4f7ff;
  --muted: #a3b0c9;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --surface: rgba(16, 22, 40, 0.72);
  --surface-solid: #12192c;
  --bg: #05070f;
  --bg-soft: #0c1220;
  --header-bg: rgba(5, 7, 15, 0.72);
  --btn-dark: #1a2238;
  --btn-dark-text: #f8fafc;
  --shadow: 0 10px 36px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.55);
  --announce-bg: linear-gradient(90deg, rgba(5, 7, 15, 0.95) 0%, rgba(12, 16, 32, 0.92) 50%, rgba(8, 10, 22, 0.95) 100%);
  --announce-text: #f8fafc;
  --hero-bg: radial-gradient(ellipse 90% 55% at 50% -5%, rgba(88, 80, 236, 0.16), transparent 58%),
    radial-gradient(ellipse 45% 40% at 88% 8%, rgba(250, 204, 21, 0.08), transparent 52%),
    radial-gradient(ellipse 40% 35% at 8% 30%, rgba(56, 189, 248, 0.06), transparent 50%),
    linear-gradient(180deg, transparent 0%, transparent 100%);
  --night-opacity: 1;
  --day-opacity: 0;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--sticky-offset) + 12px);
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color var(--theme-ease), color var(--theme-ease);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.hidden {
  display: none !important;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ----- Ambient (day) — static soft grid (no heavy animation) ----- */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: var(--day-opacity);
  transition: opacity var(--theme-ease);
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.05) 1px, transparent 1px),
    radial-gradient(ellipse 70% 45% at 50% -5%, rgba(250, 204, 21, 0.09), transparent 60%);
  background-size: 48px 48px, 48px 48px, 100% 100%;
  background-position: 0 0, 0 0, center top;
  /* Single cheap mask — no dual composite, no animated repaints */
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 40%, transparent 92%);
  mask-image: linear-gradient(180deg, #000 0%, #000 40%, transparent 92%);
}

/* No pseudo layers on sitewide grid (perf) */
.bg-grid::before,
.bg-grid::after {
  content: none;
  display: none;
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(64px);
  z-index: -1;
  pointer-events: none;
  opacity: calc(0.45 * var(--day-opacity));
  transition: opacity var(--theme-ease);
  will-change: auto;
  contain: strict;
}

.bg-glow--1 {
  width: 360px;
  height: 360px;
  top: -80px;
  right: -60px;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.45), transparent 70%);
}

.bg-glow--2 {
  width: 300px;
  height: 300px;
  top: 40%;
  left: -100px;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.18), transparent 70%);
}

/* Third glow removed from continuous paint — keep class inert */
.bg-glow--3 {
  display: none;
}

/* ----- Cinematic night sky ----- */
.night-sky {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  opacity: var(--night-opacity);
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  background: #03050c;
}

.night-sky__base {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 80% at 50% 120%, #0a1628 0%, transparent 55%),
    radial-gradient(ellipse 90% 60% at 50% -10%, #12183a 0%, transparent 50%),
    linear-gradient(180deg, #050814 0%, #070b16 40%, #05070f 100%);
}

/* Soft colored nebulae */
.night-sky__nebula {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  mix-blend-mode: screen;
  animation: nebulaDrift 28s ease-in-out infinite alternate;
}

.night-sky__nebula--1 {
  width: min(70vw, 720px);
  height: min(50vw, 480px);
  top: -8%;
  left: 15%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.45) 0%, rgba(59, 130, 246, 0.12) 45%, transparent 70%);
}

.night-sky__nebula--2 {
  width: min(55vw, 560px);
  height: min(45vw, 420px);
  top: 8%;
  right: -5%;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.18) 0%, rgba(236, 72, 153, 0.1) 40%, transparent 70%);
  animation-delay: -8s;
  animation-duration: 34s;
}

.night-sky__nebula--3 {
  width: min(60vw, 640px);
  height: min(40vw, 380px);
  bottom: 5%;
  left: -8%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.16) 0%, rgba(99, 102, 241, 0.1) 50%, transparent 70%);
  animation-delay: -14s;
  animation-duration: 40s;
}

@keyframes nebulaDrift {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(3%, 2%) scale(1.06);
  }
}

/* Subtle aurora ribbon */
.night-sky__aurora {
  position: absolute;
  left: -10%;
  right: -10%;
  top: 6%;
  height: 38%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(56, 189, 248, 0.04) 18%,
    rgba(129, 140, 248, 0.12) 38%,
    rgba(250, 204, 21, 0.07) 52%,
    rgba(167, 139, 250, 0.1) 68%,
    rgba(56, 189, 248, 0.04) 82%,
    transparent 100%
  );
  filter: blur(28px);
  opacity: 0.75;
  transform: skewY(-4deg);
  animation: auroraShift 16s ease-in-out infinite alternate;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}

@keyframes auroraShift {
  0% {
    transform: skewY(-4deg) translateX(-2%);
    opacity: 0.55;
  }
  100% {
    transform: skewY(-3deg) translateX(2%);
    opacity: 0.85;
  }
}

.night-sky__stars {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.night-sky__star {
  position: absolute;
  border-radius: 50%;
  background: #fff;
  animation: starTwinkle ease-in-out infinite;
}

.night-sky__star--dim {
  background: rgba(226, 232, 240, 0.75);
  box-shadow: 0 0 2px rgba(255, 255, 255, 0.35);
}

.night-sky__star--mid {
  background: #f8fafc;
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.55), 0 0 8px rgba(186, 230, 253, 0.25);
}

.night-sky__star--bright {
  background: #fff;
  box-shadow:
    0 0 6px rgba(255, 255, 255, 0.9),
    0 0 14px rgba(253, 224, 71, 0.35),
    0 0 22px rgba(147, 197, 253, 0.25);
}

@keyframes starTwinkle {
  0%,
  100% {
    opacity: 0.25;
    transform: scale(0.85);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

/* Occasional shooting star */
.night-sky__shooting {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.night-sky__meteor {
  position: absolute;
  width: var(--len, 90px);
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), #fde68a);
  border-radius: 2px;
  opacity: 0;
  /* --dir set in JS: angle in degrees */
  transform: rotate(var(--dir, -28deg));
  filter: drop-shadow(0 0 4px rgba(253, 224, 71, 0.55));
  animation: meteorFly var(--dur, 1.1s) linear forwards;
  transform-origin: left center;
}

@keyframes meteorFly {
  0% {
    opacity: 0;
    transform: rotate(var(--dir, -28deg)) translateX(0);
  }
  10% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(var(--dir, -28deg)) translateX(var(--travel, 50vw));
  }
}

.night-sky__horizon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  background:
    radial-gradient(ellipse 90% 70% at 50% 100%, rgba(250, 204, 21, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse 80% 55% at 50% 100%, rgba(59, 130, 246, 0.1) 0%, transparent 60%),
    linear-gradient(180deg, transparent 0%, rgba(5, 7, 15, 0.55) 70%, rgba(5, 7, 15, 0.9) 100%);
  pointer-events: none;
}

.night-sky__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 75% 70% at 50% 40%, transparent 30%, rgba(3, 5, 12, 0.55) 100%);
  pointer-events: none;
}

.glass {
  background: var(--surface);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.gradient-text {
  background: linear-gradient(120deg, #eab308 0%, #ca8a04 45%, #0a0a0a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 999px;
  padding: 11px 20px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--ease), background var(--ease), box-shadow var(--ease),
    border-color var(--ease), color var(--ease);
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--yellow);
  color: #0a0a0a;
  border-color: var(--yellow);
  box-shadow: 0 6px 20px var(--yellow-glow);
}

.btn--primary:hover {
  background: var(--yellow-bright);
  box-shadow: 0 8px 28px var(--yellow-glow);
}

/* Solid WhatsApp green CTA (pairs with yellow primary) */
.btn--whatsapp {
  background: #25d366;
  color: #ffffff;
  border-color: #25d366;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn--whatsapp:hover {
  background: #1ebe57;
  border-color: #1ebe57;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
  color: #ffffff;
}

.btn--whatsapp:focus-visible {
  outline: 2px solid #25d366;
  outline-offset: 3px;
}

.btn--outline {
  background: var(--surface-solid);
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn--outline:hover {
  border-color: var(--ink);
  background: var(--bg-soft);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--yellow-deep);
  background: var(--yellow-soft);
}

.btn--sm {
  padding: 8px 14px;
  font-size: 0.85rem;
}

.btn--lg {
  padding: 14px 26px;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

.btn--cart {
  background: var(--btn-dark);
  color: var(--btn-dark-text);
  border-color: var(--btn-dark);
  border-radius: 12px;
  width: 100%;
  padding: 12px 16px;
}

.btn--cart:hover {
  filter: brightness(1.12);
  box-shadow: var(--shadow);
}

.icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--surface-solid);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}

/* Premium cart button */
.cart-btn {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: var(--surface-solid);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  overflow: visible;
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease), background var(--ease);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.cart-btn__glow {
  position: absolute;
  inset: -2px;
  border-radius: 16px;
  background: radial-gradient(circle at 50% 30%, rgba(250, 204, 21, 0.35), transparent 65%);
  opacity: 0;
  transition: opacity var(--ease);
  pointer-events: none;
  z-index: 0;
}

.cart-btn__icon {
  position: relative;
  z-index: 1;
  display: block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  overflow: visible;
}

.cart-btn:hover {
  border-color: rgba(250, 204, 21, 0.55);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(250, 204, 21, 0.18);
}

.cart-btn:hover .cart-btn__glow {
  opacity: 1;
}

.cart-btn:active {
  transform: scale(0.96);
}

html[data-theme="dark"] .cart-btn {
  background: rgba(18, 25, 44, 0.85);
  border-color: rgba(255, 255, 255, 0.12);
  color: #f8fafc;
  box-shadow:
    0 4px 18px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

html[data-theme="dark"] .cart-btn:hover {
  border-color: rgba(250, 204, 21, 0.5);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.4),
    0 0 24px rgba(250, 204, 21, 0.12);
}

.cart-btn__count {
  position: absolute;
  top: -6px;
  right: -6px;
  z-index: 2;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: linear-gradient(145deg, #fde047, #facc15 55%, #eab308);
  color: #0a0a0a;
  font-size: 0.7rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  border: 2px solid var(--bg);
  box-shadow: 0 2px 8px rgba(250, 204, 21, 0.45);
  line-height: 1;
}

html[data-theme="dark"] .cart-btn__count {
  border-color: #05070f;
  box-shadow: 0 2px 10px rgba(250, 204, 21, 0.5);
}

.icon-btn:hover {
  background: var(--bg-soft);
  border-color: var(--yellow);
}

/* ----- Top announcement (fold + flash, centered) ----- */
.announce {
  position: sticky;
  top: 0;
  z-index: 110;
  height: var(--announce-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 64px;
  background: var(--announce-bg);
  color: var(--announce-text);
  overflow: hidden;
  border-bottom: 1px solid rgba(250, 204, 21, 0.35);
  transition: background var(--theme-ease), border-color var(--theme-ease);
}

.announce__fold {
  flex: 1;
  min-width: 0;
  height: 28px;
  perspective: 700px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.announce__text {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
  transform-origin: center top;
  color: var(--announce-text);
  will-change: transform, opacity, filter;
}

.announce__text.is-flash {
  animation: announceFlash 0.9s ease;
}

.announce__text.is-out {
  animation: announceFoldOut 0.45s cubic-bezier(0.55, 0.05, 0.4, 1) forwards;
}

.announce__text.is-in {
  animation: announceFoldIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes announceFlash {
  0%,
  100% {
    opacity: 1;
    filter: brightness(1);
    text-shadow: none;
  }
  40% {
    opacity: 1;
    filter: brightness(1.35);
    text-shadow: 0 0 12px rgba(250, 204, 21, 0.55);
    color: var(--yellow);
  }
  70% {
    opacity: 0.75;
    filter: brightness(1.1);
  }
}

@keyframes announceFoldOut {
  0% {
    transform: rotateX(0deg) translateY(0);
    opacity: 1;
  }
  100% {
    transform: rotateX(-85deg) translateY(-10px);
    opacity: 0;
  }
}

@keyframes announceFoldIn {
  0% {
    transform: rotateX(85deg) translateY(12px);
    opacity: 0;
  }
  100% {
    transform: rotateX(0deg) translateY(0);
    opacity: 1;
  }
}

/* Theme toggle */
.theme-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  flex-shrink: 0;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 2;
}

.theme-toggle__track {
  width: 52px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border: 1px solid rgba(250, 204, 21, 0.45);
  position: relative;
  display: block;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.35);
  transition: background var(--theme-ease), border-color var(--theme-ease), box-shadow var(--ease);
}

html[data-theme="dark"] .theme-toggle__track {
  background: linear-gradient(135deg, #facc15, #eab308);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 16px rgba(250, 204, 21, 0.35);
}

.theme-toggle__thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  color: #0a0a0a;
  display: grid;
  place-items: center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background var(--theme-ease), color var(--theme-ease);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

html[data-theme="dark"] .theme-toggle__thumb {
  transform: translateX(24px);
  background: #0f172a;
  color: var(--yellow);
}

.theme-toggle__moon {
  display: none;
}

html[data-theme="dark"] .theme-toggle__sun {
  display: none;
}

html[data-theme="dark"] .theme-toggle__moon {
  display: block;
}

.theme-toggle:hover .theme-toggle__track {
  border-color: var(--yellow);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 999px;
}

/* ----- Header ----- */
body:has(#announce) {
  --announce-h: 44px;
}

.header {
  position: sticky;
  top: var(--announce-h);
  z-index: 100;
  height: var(--header-h);
  background: var(--header-bg);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  transition: border-color var(--ease), box-shadow var(--ease), background var(--theme-ease);
}

.header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
}

/* Logo left · menu centered · cart right */
.header__inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.header .logo {
  order: 1;
  justify-self: start;
  z-index: 101;
}

.header .nav {
  order: 2;
  justify-self: center;
  grid-column: 2;
}

.header .header__actions {
  order: 3;
  justify-self: end;
  grid-column: 3;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  z-index: 101;
}

.logo__mark {
  font-size: 1.65rem;
  line-height: 1;
}

.logo__text {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.38rem;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.logo__text span {
  color: var(--yellow-deep);
}

.logo__text small {
  font-size: 0.75em;
  font-weight: 600;
  color: var(--muted);
}

.logo--sm .logo__text {
  font-size: 1.05rem;
}

.logo--sm .logo__mark {
  font-size: 1.4rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 0;
  margin: 0;
  background: none;
  border: none;
  box-shadow: none;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.35rem;
  padding: 0 14px;
  font-size: 0.92rem;
  font-weight: 550;
  letter-spacing: -0.01em;
  color: var(--muted);
  border: none;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  white-space: nowrap;
  text-decoration: none;
  transition: color var(--ease), background var(--ease);
}

.nav__link:hover {
  color: var(--ink);
  background: rgba(15, 23, 42, 0.05);
}

.nav__link[aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
}

.nav__link:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

html[data-theme="dark"] .nav__link {
  color: #9aa8c2;
  background: transparent;
  border: none;
  box-shadow: none;
}

html[data-theme="dark"] .nav__link:hover,
html[data-theme="dark"] .nav__link[aria-current="page"] {
  color: #f4f7ff;
  background: rgba(255, 255, 255, 0.06);
}

@media (min-width: 769px) and (max-width: 1100px) {
  .nav__link {
    padding: 0 10px;
    font-size: 0.86rem;
  }
}

/* Cart stays on the far right (grid column 3) */
.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--solid-dark);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ----- Hero ----- */
.hero {
  position: relative;
  padding: 40px 0 36px;
  background: var(--hero-bg);
  transition: background var(--theme-ease);
  overflow: visible; /* keep Mercury orbit icons unclipped */
  isolation: isolate;
}

/*
  Hero dynamic grid — lightweight:
  - one static grid layer (no dual masks / blend modes)
  - one light beam animated with transform only (GPU-friendly)
*/
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: var(--day-opacity);
  transition: opacity var(--theme-ease);
  contain: layout paint style;
}

.hero-grid__lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.08) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: 0.75;
  -webkit-mask-image: radial-gradient(ellipse 90% 85% at 45% 40%, #000 35%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 85% at 45% 40%, #000 35%, transparent 78%);
}

/* Larger grid kept static (no second animated layer) */
.hero-grid__lines--lg {
  background-image:
    linear-gradient(to right, rgba(202, 138, 4, 0.1) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(202, 138, 4, 0.08) 1px, transparent 1px);
  background-size: 156px 156px;
  opacity: 0.55;
  animation: none;
}

/* Soft static light wash (no continuous animation — prevents jank) */
.hero-grid__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.12) 38%,
    rgba(250, 204, 21, 0.1) 48%,
    transparent 62%
  );
  opacity: 0.55;
  animation: none;
  will-change: auto;
  pointer-events: none;
}

/* Dark mode: no day grid in hero */
html[data-theme="dark"] .hero-grid {
  opacity: 0;
  visibility: hidden;
}

/* Mobile / low-power performance */
@media (max-width: 768px) {
  .hero-grid__lines--lg {
    display: none;
  }

  .hero-grid__shine {
    opacity: 0.3;
  }

  /* Drop fixed blur blobs — very expensive on mobile GPUs */
  .bg-glow,
  .bg-glow--1,
  .bg-glow--2,
  .bg-glow--3 {
    display: none !important;
  }

  .bg-grid {
    /* simpler mask */
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
    mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  }

  /* Mercury keeps revolving on mobile (slightly slower for smoother devices) */
  .orbit-hero__spin--outer {
    animation-duration: 36s;
  }

  .orbit-hero__spin--inner {
    animation-duration: 24s;
  }

  .orbit-hero__spin--outer .orbit-hero__icon {
    animation-duration: 36s;
  }

  .orbit-hero__spin--inner .orbit-hero__icon {
    animation-duration: 24s;
  }

  /* Dark mode: pause heavy sky animations on mobile */
  .night-sky__nebula,
  .night-sky__aurora {
    animation: none !important;
    filter: blur(40px);
    opacity: 0.35;
  }

  .night-sky__nebula--3 {
    display: none;
  }

  .marquee__track {
    animation-duration: 55s !important;
  }
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px 40px;
  /* Center columns so right panel sits mid-frame (red square zone) */
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  min-width: 0;
}

.hero__visual {
  width: 100%;
  max-width: 440px;
  margin-left: auto; /* pin right panel to the right of its column */
  margin-right: 0;
  justify-self: end;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px 6px 10px;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
}

.pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 4px var(--yellow-soft);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 var(--yellow-soft);
  }
  50% {
    box-shadow: 0 0 0 6px transparent;
  }
}

.hero__title {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 16px;
  margin-left: 0;
  margin-right: 0;
  text-align: left;
  width: 100%;
  max-width: none;
  position: relative;
  z-index: 2;
}

.hero__sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 20px;
  margin-left: 0;
  margin-right: auto;
  text-align: left;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero__sub--mobile {
  display: none;
}

.hero__trust-line {
  display: none;
  margin: 0 0 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

/* ----- Mercury orbit — centered above the two CTA buttons ----- */
.orbit-hero {
  width: 100%;
  display: flex;
  /* Same left edge as .hero__cta (buttons are left-aligned) */
  justify-content: flex-start;
  align-items: center;
  margin: 6px 0 14px;
  flex-shrink: 0;
  position: relative;
  z-index: 0;
  overflow: visible;
  pointer-events: none;
  align-self: stretch;
  padding-right: 0;
  box-sizing: border-box;
}

.orbit-hero__system {
  --size: 248px;
  /* Approx CTA cluster width (two btn--lg + gap) so orbit centers over buttons */
  --cta-cluster: 360px;
  position: relative;
  width: var(--size);
  height: var(--size);
  max-width: 100%;
  aspect-ratio: 1;
  flex-shrink: 0;
  margin-inline: 0;
  /* (cta width - orbit size) / 2 → planet sits on center between the two buttons */
  margin-left: max(0px, calc((var(--cta-cluster) - var(--size)) / 2));
  transform: none;
}

.orbit-hero__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 55%;
  height: 55%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.42) 0%, rgba(180, 120, 40, 0.14) 48%, transparent 72%);
  filter: blur(12px);
  z-index: 0;
  animation: orbitPulse 4.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes orbitPulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.75;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
  }
}

/* Decorative orbit rings */
.orbit-hero__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
}

.orbit-hero__ring--outer {
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  border: 1px dashed rgba(100, 116, 139, 0.4);
}

.orbit-hero__ring--inner {
  width: 68%;
  height: 68%;
  border: 1px solid rgba(250, 204, 21, 0.3);
}

/* Spinning layers */
.orbit-hero__spin {
  position: absolute;
  inset: 0;
  z-index: 2;
  animation: orbitSpin linear infinite;
}

.orbit-hero__spin--outer {
  animation-duration: 28s;
}

.orbit-hero__spin--inner {
  animation-duration: 18s;
  animation-direction: reverse;
  inset: 16%;
}

@keyframes orbitSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Satellite slot: fixed angle on the spinning disc */
.orbit-hero__sat {
  position: absolute;
  inset: 0;
  transform: rotate(calc(var(--deg) * 1deg));
}

/* Icon tile at top of each slot; counter-spin keeps it upright */
.orbit-hero__icon {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
  /* cancel spin of .orbit-hero__spin so icons stay upright */
  transform: translateX(-50%) rotate(calc(var(--deg) * -1deg));
  animation: orbitCounter 28s linear infinite;
}

.orbit-hero__spin--outer .orbit-hero__icon {
  animation-duration: 28s;
}

.orbit-hero__spin--inner .orbit-hero__icon {
  top: 4px;
  width: 30px;
  height: 30px;
  animation: orbitCounterInner 18s linear infinite;
}

@keyframes orbitCounter {
  from {
    transform: translateX(-50%) rotate(calc(var(--deg) * -1deg));
  }
  to {
    transform: translateX(-50%) rotate(calc(var(--deg) * -1deg - 360deg));
  }
}

/* Inner spin is reversed, so counter goes the other way */
@keyframes orbitCounterInner {
  from {
    transform: translateX(-50%) rotate(calc(var(--deg) * -1deg));
  }
  to {
    transform: translateX(-50%) rotate(calc(var(--deg) * -1deg + 360deg));
  }
}

.orbit-hero__icon--light {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.orbit-hero__icon img {
  width: 20px;
  height: 20px;
  display: block;
  object-fit: contain;
  pointer-events: none;
}

.orbit-hero__spin--inner .orbit-hero__icon img {
  width: 18px;
  height: 18px;
}

/* Planet */
.orbit-hero__planet {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34%;
  height: 34%;
  min-width: 72px;
  min-height: 72px;
  max-width: 92px;
  max-height: 92px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 4;
  background:
    radial-gradient(circle at 30% 26%, #fef3c7 0%, #fde68a 16%, #eab308 38%, #b45309 68%, #78350f 100%);
  box-shadow:
    inset -14px -12px 24px rgba(60, 20, 0, 0.5),
    inset 8px 8px 16px rgba(255, 255, 255, 0.3),
    0 0 0 3px rgba(250, 204, 21, 0.3),
    0 12px 40px rgba(180, 83, 9, 0.42),
    0 0 48px rgba(250, 204, 21, 0.22);
  overflow: hidden;
  animation: planetSpin 32s linear infinite;
}

.orbit-hero__crater {
  position: absolute;
  border-radius: 50%;
  background: rgba(90, 40, 10, 0.3);
  box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.orbit-hero__crater--1 {
  width: 20%;
  height: 20%;
  top: 22%;
  left: 26%;
}

.orbit-hero__crater--2 {
  width: 13%;
  height: 13%;
  top: 48%;
  left: 58%;
}

.orbit-hero__crater--3 {
  width: 15%;
  height: 15%;
  top: 62%;
  left: 32%;
}

@keyframes planetSpin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

html[data-theme="dark"] .orbit-hero__ring--outer {
  border-color: rgba(255, 255, 255, 0.16);
}

html[data-theme="dark"] .orbit-hero__ring--inner {
  border-color: rgba(250, 204, 21, 0.35);
}

html[data-theme="dark"] .orbit-hero__icon {
  background: #0f172a;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}

html[data-theme="dark"] .orbit-hero__icon--light {
  background: #f8fafc;
  border-color: rgba(255, 255, 255, 0.2);
}

@media (prefers-reduced-motion: reduce) {
  .orbit-hero__spin,
  .orbit-hero__icon,
  .orbit-hero__planet,
  .orbit-hero__glow {
    animation: none !important;
  }

  .orbit-hero__icon {
    transform: translateX(-50%) rotate(calc(var(--deg) * -1deg));
  }
}

/* Desktop: balanced orbit (not oversized) + left-aligned copy like original */
@media (min-width: 901px) {
  .hero__title {
    font-size: clamp(2.15rem, 3.6vw, 3.1rem);
    margin-bottom: 14px;
  }

  .hero__sub {
    font-size: 1.02rem;
    margin-bottom: 10px;
    max-width: 480px;
  }

  .orbit-hero {
    margin: 6px 0 14px;
    justify-content: flex-start;
    width: 100%;
    max-width: none;
    overflow: visible;
    align-self: stretch;
    padding-right: 0;
  }

  .orbit-hero__system {
    --size: 268px;
    --cta-cluster: 372px; /* Explore Products + gap + WhatsApp Order */
    width: 268px;
    height: 268px;
    max-width: 268px;
    margin-inline: 0;
    /* Perfect center over the two buttons (red line = button pair midpoint) */
    margin-left: max(0px, calc((var(--cta-cluster) - var(--size)) / 2));
    transform: none;
  }

  .hero__visual {
    max-width: 420px;
    margin-left: auto;
    margin-right: 0;
    justify-self: end;
    /* Drop into red-square zone (mid-frame next to Mercury/CTAs) */
    margin-top: 8px;
  }

  .hero-panel {
    width: 100%;
  }

  .orbit-hero__icon {
    width: 38px;
    height: 38px;
    top: 8px;
  }

  .orbit-hero__spin--inner .orbit-hero__icon {
    width: 34px;
    height: 34px;
    top: 6px;
  }

  .orbit-hero__planet {
    min-width: 88px;
    min-height: 88px;
    max-width: 104px;
    max-height: 104px;
    width: 34%;
    height: 34%;
  }

  .hero__cta {
    justify-content: flex-start;
    width: auto;
    max-width: none;
  }

  .hero__copy {
    align-items: flex-start !important;
    text-align: left !important;
  }

  .hero__copy .pill,
  .hero__copy .hero__title,
  .hero__copy .hero__sub,
  .hero__copy .stats {
    align-self: flex-start !important;
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0;
  }

  .hero__sub {
    margin-left: 0 !important;
    margin-right: auto !important;
    text-align: left !important;
  }

  .hero__title {
    text-align: left !important;
  }

  .stats {
    margin-top: 4px;
    margin-bottom: 0;
    justify-content: flex-start;
    gap: 32px;
    width: 100%;
  }

  .stat strong {
    font-size: 1.55rem;
  }

  .stat span {
    display: block;
    margin-top: 2px;
  }
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
}

.hero-promo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(23, 139, 255, 0.12), rgba(250, 204, 21, 0.16));
  border: 1px solid rgba(23, 139, 255, 0.28);
  max-width: 480px;
}

.hero-promo--panel {
  max-width: none;
  width: 100%;
  margin-bottom: 14px;
  background: linear-gradient(100deg, rgba(23, 139, 255, 0.14), rgba(250, 204, 21, 0.18));
}

.hero-promo--panel p {
  font-size: 0.86rem;
  line-height: 1.35;
}

.hero-promo__badge {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--surf);
  color: #fff;
  padding: 6px 10px;
  border-radius: 999px;
}

.hero-promo p {
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.4;
  margin: 0;
}

.hero-promo strong {
  color: var(--ink);
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 12px 0 0;
  padding-bottom: 4px;
  position: relative;
  z-index: 2;
  width: 100%;
  /* keep full stats block (numbers + labels) inside the hero frame */
  flex-shrink: 0;
}

.stat {
  min-width: 0;
  flex: 0 0 auto;
}

.stat strong {
  display: block;
  font-family: var(--display);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--black);
  line-height: 1.1;
}

.stat span {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.3;
  margin-top: 3px;
}

.hero-panel {
  border-radius: 24px;
  padding: 20px 20px 18px;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.hero-panel::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.35), transparent 70%);
  pointer-events: none;
}

.hero-panel__top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  position: relative;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--solid-dark);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
}

.live-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  display: block;
  animation: pulse 1.5s ease infinite;
}

.warranty-chip {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--yellow-deep);
  background: var(--yellow-soft);
  border: 1px solid rgba(250, 204, 21, 0.4);
  padding: 6px 12px;
  border-radius: 999px;
}

.float-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.float-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.float-card:hover {
  transform: translateX(4px);
  border-color: rgba(250, 204, 21, 0.6);
  box-shadow: 0 8px 24px rgba(250, 204, 21, 0.15);
}

.float-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--solid-dark);
  color: var(--yellow);
  font-size: 1rem;
  flex-shrink: 0;
  overflow: hidden;
}

.float-card__icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

/* ----- Brand logos (original tile style) ----- */
.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.brand-mark--lg {
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  border-radius: 14px;
}

.brand-mark--sm {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: none;
}

.brand-mark--xl {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  margin-bottom: 14px;
}

.brand-mark__img {
  width: 56%;
  height: 56%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.brand-mark__img.is-broken {
  display: none;
}

/* jsDelivr monochrome SI SVGs → white glyph on brand tile */
.brand-mark--mono .brand-mark__img {
  width: 54%;
  height: 54%;
  filter: brightness(0) invert(1);
}

.brand-mark--color {
  border: 1px solid var(--line-strong);
}

.brand-mark--color .brand-mark__img {
  width: 62%;
  height: 62%;
  filter: none;
}

.brand-mark--sm .brand-mark__img {
  width: 52%;
  height: 52%;
}

.brand-mark--sm.brand-mark--mono .brand-mark__img {
  width: 50%;
  height: 50%;
}

.brand-mark--sm.brand-mark--color .brand-mark__img {
  width: 58%;
  height: 58%;
}

.brand-mark__fallback {
  font-size: 1.15rem;
  line-height: 1;
  color: inherit;
}

.float-card__icon.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: none;
}

html[data-theme="dark"] .brand-mark--color {
  border-color: rgba(255, 255, 255, 0.12);
}

.float-card strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--black);
}

.float-card em {
  font-style: normal;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

.tag {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 4px 8px;
  border-radius: 6px;
}

.tag--hot {
  background: #fee2e2;
  color: #b91c1c;
}

.tag--live {
  background: #dcfce7;
  color: #15803d;
}

.tag--new {
  background: var(--yellow-soft);
  color: var(--yellow-deep);
}

.hero-panel__footer {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  text-align: center;
  position: relative;
}

/* ----- Marquee (seamless infinite loop) ----- */
.marquee {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  overflow: hidden;
  padding: 14px 0;
  margin-bottom: 28px;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 40s linear infinite;
  will-change: auto;
}

.marquee__group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.marquee__group span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.marquee__group span::after {
  content: "•";
  margin-left: 32px;
  color: var(--yellow);
  opacity: 0.75;
  font-weight: 700;
}

@keyframes marqueeScroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Keep marquee looping even under reduced-motion “kill-all” rules */
@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: marqueeScroll 60s linear infinite !important;
    animation-duration: 60s !important;
    animation-iteration-count: infinite !important;
  }
}

/* ----- Flash ----- */
.flash {
  margin-bottom: 8px;
}

/* Mobile default: stacked (same as before — gap from .bonus-bar margin-top) */
.flash__combo {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.flash__bar {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 18px 20px 20px;
  border-radius: 18px;
  border-color: rgba(250, 204, 21, 0.45);
  background: linear-gradient(180deg, rgba(250, 204, 21, 0.14), rgba(255, 255, 255, 0.88) 55%);
  text-align: center;
}

/* Desktop only: one container — counter left, bonus gift right */
@media (min-width: 901px) {
  .flash__combo {
    display: grid;
    grid-template-columns: minmax(300px, 0.95fr) minmax(320px, 1.15fr);
    gap: 0;
    align-items: stretch;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.1);
    box-shadow: var(--shadow);
    background: linear-gradient(
      105deg,
      rgba(250, 204, 21, 0.12) 0%,
      rgba(255, 255, 255, 0.92) 42%,
      rgba(23, 139, 255, 0.1) 100%
    );
  }

  .flash__combo .flash__bar,
  .flash__combo .bonus-bar {
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: transparent !important;
    height: 100%;
    min-height: 140px;
  }

  .flash__combo .flash__bar {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 22px 24px;
    text-align: center;
    border-right: 1px solid rgba(15, 23, 42, 0.08) !important;
  }

  .flash__combo .flash__left {
    justify-content: center;
  }

  .flash__combo .countdown,
  .flash__combo .countdown--sport {
    margin: 0 auto;
    max-width: none;
  }

  .flash__combo .bonus-bar {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    padding: 22px 26px;
  }

  .flash__combo .bonus-bar__copy {
    min-width: 0;
    width: 100%;
  }

  .flash__combo .bonus-bar__copy strong {
    font-size: 1.05rem;
  }

  .flash__combo .bonus-bar .btn {
    align-self: flex-start;
    margin-top: 2px;
  }

  html[data-theme="dark"] .flash__combo {
    border-color: rgba(255, 255, 255, 0.1);
    background: linear-gradient(
      105deg,
      rgba(250, 204, 21, 0.1) 0%,
      rgba(18, 25, 44, 0.92) 45%,
      rgba(23, 139, 255, 0.12) 100%
    );
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  }

  html[data-theme="dark"] .flash__combo .flash__bar {
    border-right-color: rgba(255, 255, 255, 0.1) !important;
  }

  html[data-glass="on"] .flash__combo .flash__bar,
  html[data-glass="on"] .flash__combo .bonus-bar {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
  }

  html[data-glass="on"] .flash__combo {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(var(--glass-blur, 22px)) saturate(var(--glass-sat, 1.45));
    -webkit-backdrop-filter: blur(var(--glass-blur, 22px)) saturate(var(--glass-sat, 1.45));
    border: 1px solid var(--glass-border-soft) !important;
    box-shadow: var(--glass-shadow);
  }
}

.flash__left {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: left;
}

.flash__icon {
  font-size: 1.4rem;
}

.flash__left strong {
  display: block;
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.flash__left span {
  font-size: 0.8rem;
  color: var(--muted);
}

/*
  Flip-clock countdown (reference: split-flap tiles)
  Light theme → black tiles + white digits
  Dark theme  → white tiles + black digits
*/
.countdown,
.countdown--sport {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
}

.countdown__block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.countdown__screen {
  --flip-top: #3a3a3a;
  --flip-bot: #1c1c1c;
  --flip-edge: rgba(255, 255, 255, 0.08);
  --flip-digit: #f3f4f6;
  --flip-digit-shadow: rgba(0, 0, 0, 0.55);
  --flip-seam: rgba(0, 0, 0, 0.75);
  --flip-outer: rgba(0, 0, 0, 0.35);

  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--flip-top) 0%, var(--flip-top) 49.5%, var(--flip-bot) 50.5%, var(--flip-bot) 100%);
  border: 1px solid rgba(0, 0, 0, 0.45);
  box-shadow:
    0 10px 22px var(--flip-outer),
    0 2px 0 rgba(255, 255, 255, 0.06) inset,
    0 -1px 0 rgba(0, 0, 0, 0.5) inset;
}

/* Top plate highlight */
.countdown__screen::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 50%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  pointer-events: none;
  z-index: 0;
}

/* Flip seam (horizontal split) */
.countdown__screen::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  background: var(--flip-seam);
  box-shadow:
    0 1px 0 var(--flip-edge),
    0 -1px 0 rgba(0, 0, 0, 0.35);
  z-index: 2;
  pointer-events: none;
}

.countdown__digits {
  position: relative;
  z-index: 1;
  display: block;
  font-family: var(--display), "Arial Black", "Segoe UI", system-ui, sans-serif;
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  color: var(--flip-digit);
  line-height: 1;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.25),
    0 -1px 0 var(--flip-digit-shadow),
    0 2px 4px rgba(0, 0, 0, 0.35);
}

.countdown__label {
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Gaps between flip cards (no yellow dots) */
.countdown__sep {
  display: none;
}

/* Legacy unit class */
.countdown__unit {
  background: #1a1a1a;
  color: #fff;
  border-radius: 12px;
  min-width: 52px;
  padding: 8px 10px;
  text-align: center;
}

.countdown__unit span {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  color: #f3f4f6;
  line-height: 1.1;
}

.countdown__unit small {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}

html[data-theme="dark"] .flash__bar {
  background: linear-gradient(180deg, rgba(250, 204, 21, 0.1), rgba(18, 25, 44, 0.75) 60%);
}

/* Dark theme: white flip tiles + black digits */
html[data-theme="dark"] .countdown__screen {
  --flip-top: #f4f4f5;
  --flip-bot: #e4e4e7;
  --flip-edge: rgba(255, 255, 255, 0.85);
  --flip-digit: #0a0a0a;
  --flip-digit-shadow: rgba(255, 255, 255, 0.55);
  --flip-seam: rgba(0, 0, 0, 0.22);
  --flip-outer: rgba(0, 0, 0, 0.45);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.4),
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 -2px 4px rgba(0, 0, 0, 0.08) inset;
}

html[data-theme="dark"] .countdown__screen::before {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.75) 0%,
    rgba(255, 255, 255, 0.15) 100%
  );
}

html[data-theme="dark"] .countdown__digits {
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9),
    0 -1px 0 rgba(0, 0, 0, 0.12),
    0 2px 3px rgba(0, 0, 0, 0.12);
}

html[data-theme="dark"] .countdown__label {
  color: #94a3b8;
}

@media (max-width: 480px) {
  .countdown--sport {
    gap: 8px;
    max-width: 280px;
  }

  .countdown__screen {
    width: 68px;
    height: 68px;
    border-radius: 12px;
  }

  .countdown__digits {
    font-size: 1.7rem;
  }
}

.bonus-bar {
  --bonus-accent: #e50914;
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  padding: 16px 18px;
  border-radius: 16px;
  border-color: color-mix(in srgb, var(--bonus-accent) 28%, transparent);
  background: linear-gradient(100deg, color-mix(in srgb, var(--bonus-accent) 12%, transparent), rgba(255, 255, 255, 0.92) 55%, rgba(250, 204, 21, 0.12));
}

.bonus-bar__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bonus-accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--bonus-accent) 30%, transparent);
}

.bonus-bar__icon img {
  width: 22px;
  height: 22px;
}

.bonus-bar__copy {
  flex: 1;
  min-width: 200px;
}

.bonus-bar__copy strong {
  display: block;
  font-family: var(--display);
  font-size: 0.98rem;
  color: var(--black);
  margin-bottom: 2px;
}

.bonus-bar__copy span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ----- Sections ----- */
.section {
  padding: 56px 0;
}

.section--soft {
  background: linear-gradient(180deg, transparent, rgba(250, 204, 21, 0.05), transparent);
}

.section__head {
  margin-bottom: 28px;
}

.section__head--center {
  text-align: center;
}

.section__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow-deep);
  margin-bottom: 8px;
}

.section__title {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--black);
  margin-bottom: 8px;
}

.section__desc {
  color: var(--muted);
  font-size: 1rem;
}

/* ----- Price disclaimer ----- */
.price-disclaimer[hidden],
.footer__disclaimer[hidden] {
  display: none !important;
}

.price-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 22px;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(250, 204, 21, 0.16), rgba(255, 255, 255, 0.9));
  border: 1px solid rgba(250, 204, 21, 0.45);
  box-shadow: var(--shadow);
}

.price-disclaimer__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: var(--black);
  font-weight: 800;
  font-size: 0.9rem;
}

.price-disclaimer p {
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.55;
  margin: 0;
  opacity: 0.92;
}

.price-disclaimer strong {
  color: var(--ink);
  opacity: 1;
}

.price-disclaimer a {
  font-weight: 700;
  color: var(--ink);
  border-bottom: 1.5px solid var(--yellow);
}

.price-disclaimer a:hover {
  color: var(--yellow-deep);
}

html[data-theme="dark"] .price-disclaimer p,
html[data-theme="dark"] .price-disclaimer strong {
  color: #e8eef7;
}

html[data-theme="dark"] .price-disclaimer a {
  color: #fde68a;
  border-bottom-color: rgba(250, 204, 21, 0.7);
}

html[data-theme="dark"] .price-disclaimer a:hover {
  color: #facc15;
}

html[data-theme="dark"] .footer__disclaimer {
  color: #a3b0c9;
}

html[data-theme="dark"] .footer__disclaimer a {
  color: #fde68a;
}

html[data-theme="dark"] .footer__col-title {
  color: #fde68a;
}

html[data-theme="dark"] .footer__col-list a {
  color: #c5cddf;
}

html[data-theme="dark"] .footer__col-list a:hover {
  color: #facc15;
}

html[data-theme="dark"] .footer__tagline {
  color: #a3b0c9;
}

html[data-theme="dark"] .footer__social-btn {
  background: rgba(250, 204, 21, 0.08);
  border-color: rgba(250, 204, 21, 0.25);
  color: #e8edf7;
}

html[data-theme="dark"] .footer__social-btn:hover {
  background: rgba(250, 204, 21, 0.16);
  border-color: rgba(250, 204, 21, 0.45);
  color: #fde68a;
}

html[data-theme="dark"] .footer__social-btn--wa {
  background: rgba(37, 211, 102, 0.12);
  border-color: rgba(37, 211, 102, 0.35);
  color: #86efac;
}

html[data-theme="dark"] .footer__copy {
  color: #8b96ad;
}

/* ----- Filters ----- */
.filters {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 12px;
  margin-bottom: 28px;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.filter-group label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.filter-group select,
.filter-group input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.filter-group select:focus,
.filter-group input:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px var(--yellow-soft);
}

/* ----- Products ----- */
.view-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin: 0 0 16px;
}

.view-toolbar__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.view-toolbar__btns {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

html[data-theme="dark"] .view-toolbar__btns {
  background: var(--surface-solid);
  border-color: rgba(255, 255, 255, 0.12);
}

.view-btn {
  width: 40px;
  height: 36px;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background var(--ease), color var(--ease);
}

.view-btn:hover {
  color: var(--ink);
  background: var(--bg-soft);
}

.view-btn.is-active {
  background: var(--yellow);
  color: #0a0a0a;
  box-shadow: 0 2px 8px rgba(250, 204, 21, 0.35);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

/* Skip off-screen paint work while scrolling */
.products-grid .product-card {
  content-visibility: auto;
  contain-intrinsic-size: auto 360px;
}

.products-grid[data-view="1"] {
  grid-template-columns: 1fr;
  max-width: 560px;
  margin-inline: auto;
}

/* Grid mode: 3 cols desktop, 2 cols tablet/mobile */
.products-grid[data-view="2"] {
  grid-template-columns: repeat(3, 1fr);
}

.products-grid[data-view="list"] {
  grid-template-columns: 1fr;
  max-width: none;
}

/* List view: compact horizontal cards */
.products-grid[data-view="list"] .product-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto auto;
  column-gap: 14px;
  row-gap: 8px;
  align-items: center;
  padding: 16px;
}

.products-grid[data-view="list"] .product-card__badge {
  top: 10px;
  right: 10px;
}

.products-grid[data-view="list"] .brand-mark--lg {
  grid-row: 1 / span 3;
  margin-bottom: 0;
  width: 52px;
  height: 52px;
}

.products-grid[data-view="list"] .product-card h3 {
  grid-column: 2;
  padding-right: 70px;
  margin-bottom: 0;
  font-size: 1.05rem;
}

.products-grid[data-view="list"] .product-card__tagline {
  grid-column: 2;
  margin-bottom: 0;
}

.products-grid[data-view="list"] .product-card__meta,
.products-grid[data-view="list"] .product-card__desc,
.products-grid[data-view="list"] .variants {
  display: none;
}

.products-grid[data-view="list"] .product-card__foot {
  grid-column: 2;
  margin-bottom: 0;
  margin-top: 0; /* don't push in list layout */
}

.products-grid[data-view="list"] .product-card__actions {
  grid-column: 3;
  grid-row: 1 / span 3;
  display: flex;
  flex-direction: row;
  align-items: center;
  width: auto;
  min-width: 0;
  gap: 8px;
}

.products-grid[data-view="list"] .product-card__actions .btn--cart {
  width: auto;
  min-width: 120px;
  padding: 12px 16px;
  white-space: nowrap;
}

.products-grid[data-view="list"] .btn-details {
  width: 46px;
  height: 46px;
  min-width: 46px;
  background: var(--bg-soft);
  border-color: var(--line-strong);
  color: var(--ink);
}

@media (max-width: 1024px) {
  .products-grid[data-view="2"] {
    grid-template-columns: repeat(2, 1fr);
  }
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  /* Transparent shell — site background + liquid-glass blur show through */
  background: transparent;
  background-color: transparent;
  border: 1px solid rgba(15, 23, 42, 0.14);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  border-radius: var(--radius);
  padding: 22px 20px 20px;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease), outline-color var(--ease);
  /* clip glass sheen to radius; full border uses outline on hover so it never crops */
  overflow: hidden;
  z-index: 0;
}

.product-card:hover {
  transform: translateY(-4px);
  z-index: 3;
  border-color: rgba(250, 204, 21, 0.65);
  outline: 1.5px solid rgba(250, 204, 21, 0.7);
  outline-offset: -1px;
  box-shadow:
    0 16px 40px rgba(15, 23, 42, 0.12),
    0 0 0 1px rgba(250, 204, 21, 0.25);
}

.product-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  left: auto;
  width: auto;
  max-width: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.product-card__badge--popular {
  background: var(--yellow);
  color: #0a0a0a;
}

.product-card__badge--sale {
  background: #fee2e2;
  color: #b91c1c;
}

.product-card__badge--save {
  background: #dcfce7;
  color: #166534;
}

.product-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  background: linear-gradient(145deg, var(--black), #262626);
  color: var(--yellow);
  margin-bottom: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.product-card .brand-mark--lg {
  margin-bottom: 14px;
}

.product-card h3 {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  color: var(--ink);
  padding-right: 88px; /* room for corner badge */
}

.product-card__tagline {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.product-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.chip {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--bg-soft);
  color: var(--muted);
  border: 1px solid rgba(15, 23, 42, 0.1);
}

.chip--yellow {
  background: var(--yellow-soft);
  color: var(--yellow-deep);
  border-color: rgba(250, 204, 21, 0.35);
}

.product-card__desc {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 14px;
  flex: 1;
  line-height: 1.5;
}

.variants {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.variant {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  transition: all var(--ease);
}

.variant:hover {
  border-color: var(--yellow-deep);
  color: var(--black);
}

.variant.active {
  background: var(--solid-dark);
  border-color: var(--black);
  color: var(--yellow);
}

.product-card__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  /* Stick price + buttons to bottom so row cards align */
  margin-top: auto;
}

.product-card__price {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.product-card__price small {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--font);
}

.product-card__stock {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--yellow-deep);
}

.product-card__actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.btn-details {
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
  border-radius: 12px;
  border: 1.5px solid rgba(15, 23, 42, 0.14);
  background: #fff;
  color: #0f172a;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0;
  flex-shrink: 0;
  transition: border-color var(--ease), background var(--ease), color var(--ease), box-shadow var(--ease);
}

.btn-details__icon {
  display: block;
  flex-shrink: 0;
}

.btn-details__text {
  display: none;
  font-size: 0.82rem;
  font-weight: 700;
}

.btn-details:hover {
  border-color: var(--yellow);
  background: var(--yellow-soft);
  color: var(--ink);
  box-shadow: 0 2px 10px rgba(250, 204, 21, 0.2);
}

.empty-state {
  text-align: center;
  padding: 48px 20px;
  color: var(--muted);
  border: 1px dashed rgba(15, 23, 42, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.5);
}

/* ----- Steps ----- */
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: stretch;
}

.step {
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  position: relative;
}

.step__num {
  position: absolute;
  top: 14px;
  left: 16px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--yellow-deep);
  opacity: 0.8;
}

.step__icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.step h3 {
  font-family: var(--display);
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--black);
}

.step p {
  font-size: 0.9rem;
  color: var(--muted);
}

.step__arrow {
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  color: var(--yellow-deep);
  font-weight: 700;
  opacity: 0.7;
}

/* ----- CTA ----- */
.cta-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 36px 32px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--surface-solid) 0%, rgba(250, 204, 21, 0.1) 100%);
  border: 1px solid rgba(250, 204, 21, 0.35);
  color: var(--ink);
  transition: background var(--theme-ease), border-color var(--theme-ease), color var(--theme-ease),
    box-shadow var(--theme-ease);
}

html[data-theme="dark"] .cta-panel {
  background: linear-gradient(135deg, #151b2b 0%, #1a2236 55%, #121826 100%);
  border-color: rgba(250, 204, 21, 0.18);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.cta-panel__title {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--ink);
}

.cta-panel__text {
  color: var(--muted);
  max-width: 480px;
}

/* Smooth theme transitions for key containers */
.product-card,
.social-card,
.glass,
.price-disclaimer,
.bonus-bar,
.flash__bar,
.footer,
.header,
.cart-drawer__panel,
.modal__panel,
.filter-group select,
.filter-group input,
.service-card,
.step,
.ig-slide,
.hero-panel,
.float-card {
  transition: background-color var(--theme-ease), border-color var(--theme-ease), color var(--theme-ease),
    box-shadow var(--theme-ease);
}

/* ----- Footer (3-row tall layout) ----- */
.footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 36px;
  background: var(--surface);
}

.footer__wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer__row {
  width: 100%;
}

/* Row 1 — brand + social */
.footer__row--brand {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 420px;
}

.footer__tagline {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
}

.footer__social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.footer__social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--black);
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  transition: background var(--ease), border-color var(--ease), color var(--ease), transform var(--ease);
}

.footer__social-btn:hover {
  background: rgba(250, 204, 21, 0.15);
  border-color: rgba(250, 204, 21, 0.55);
  color: var(--black);
  transform: translateY(-1px);
}

.footer__social-btn--wa {
  background: rgba(37, 211, 102, 0.1);
  border-color: rgba(37, 211, 102, 0.35);
  color: #0b6b32;
}

.footer__social-btn--wa:hover {
  background: rgba(37, 211, 102, 0.18);
  border-color: rgba(37, 211, 102, 0.55);
}

.footer__social-btn--fb:hover {
  background: rgba(24, 119, 242, 0.1);
  border-color: rgba(24, 119, 242, 0.4);
}

.footer__social-btn--ig:hover {
  background: rgba(228, 64, 95, 0.1);
  border-color: rgba(228, 64, 95, 0.4);
}

.footer__social-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

/* Row 2 — link columns */
.footer__row--cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 24px;
  padding: 36px 0 32px;
  border-bottom: 1px solid var(--line);
}

.footer__col-title {
  margin: 0 0 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
}

.footer__col-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col-list a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--ease);
}

.footer__col-list a:hover {
  color: var(--black);
}

/* Row 3 — disclaimer + copyright */
.footer__row--bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 28px;
  text-align: center;
}

.footer__disclaimer {
  margin: 0;
  max-width: 720px;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.55;
  padding: 0 8px;
}

.footer__disclaimer a {
  font-weight: 600;
  color: var(--black);
  border-bottom: 1px solid var(--yellow);
  text-decoration: none;
}

.footer__copy {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
  font-weight: 500;
}

/* Footer responsive */
@media (max-width: 900px) {
  .footer__row--cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 20px;
  }
}

@media (max-width: 560px) {
  .footer {
    padding: 36px 0 28px;
  }

  .footer__row--brand {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 24px;
  }

  .footer__social {
    width: 100%;
  }

  .footer__social-btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  .footer__row--cols {
    grid-template-columns: 1fr 1fr;
    padding: 28px 0 24px;
    gap: 24px 16px;
  }

  .footer__row--bottom {
    padding-top: 22px;
  }
}

/* SEO hub under products + audience section */
.seo-hub {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.seo-hub__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}

.seo-hub__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.seo-hub__links a {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-solid);
  text-decoration: none;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.seo-hub__links a:hover {
  border-color: rgba(250, 204, 21, 0.55);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.seo-audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.seo-audience-card {
  padding: 20px 18px;
  border-radius: var(--radius);
}

.seo-audience-card h3 {
  font-family: var(--display);
  font-size: 1.05rem;
  margin: 0 0 8px;
  color: var(--ink);
}

.seo-audience-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 12px;
}

.seo-audience-card a {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 2px solid var(--yellow);
  text-decoration: none;
}

@media (max-width: 900px) {
  .seo-audience-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .seo-audience-grid {
    grid-template-columns: 1fr;
  }
}

/* ----- Legal pages (share-pack stubs) ----- */
.legal-page {
  min-height: 100vh;
  padding: calc(var(--sticky-offset) + 28px) 0 48px;
  background: var(--bg);
}

.legal-page__card {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 24px 32px;
  border-radius: var(--radius);
  background: var(--surface-solid);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.legal-page__card h1 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--ink);
}

.legal-page__meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 20px;
}

.legal-page__card h2 {
  font-size: 1.05rem;
  margin: 22px 0 8px;
  color: var(--ink);
}

.legal-page__card p,
.legal-page__card li {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

.legal-page__card ul {
  margin: 0 0 12px;
  padding-left: 1.2rem;
}

.legal-page__card a {
  color: var(--ink);
  font-weight: 600;
  border-bottom: 2px solid var(--yellow);
}

.legal-page__back {
  display: inline-flex;
  margin-bottom: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}

.legal-page__back:hover {
  color: var(--ink);
}

/* ----- Modal ----- */
/* Above mobile header (260); compact panel with sticky footer CTA */
.modal[hidden] {
  display: none !important;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 16px;
  padding-top: max(16px, env(safe-area-inset-top));
  padding-bottom: max(16px, env(safe-area-inset-bottom));
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 0;
}

.modal__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(440px, 100%);
  max-height: min(85vh, 620px);
  overflow: hidden; /* body scrolls; footer stays put */
  border-radius: 20px;
  padding: 0;
  background: rgba(255, 255, 255, 0.98);
  z-index: 1;
  animation: modalIn 0.25s ease;
}

.modal__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.modal__scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px 18px 12px;
  padding-top: 14px;
}

.modal__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  padding-right: 40px; /* clear close button */
}

.modal__head .brand-mark--xl {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  flex-shrink: 0;
  margin: 0;
}

.modal__head-text {
  min-width: 0;
  flex: 1;
}

.modal__head-text h2 {
  margin-bottom: 2px;
  padding-right: 0;
  font-size: 1.15rem;
  line-height: 1.2;
}

.modal__head-text .tagline {
  margin-bottom: 0;
  font-size: 0.82rem;
}

.modal__desc {
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.45;
  margin: 0 0 10px;
}

.modal__section-title {
  margin: 4px 0 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
}

.modal__chips {
  margin: 0 0 4px !important;
  flex-wrap: wrap;
  gap: 6px;
}

.modal__chips .chip {
  font-size: 0.72rem;
  padding: 4px 8px;
}

.modal__footer {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 -6px 20px rgba(15, 23, 42, 0.06);
}

html[data-theme="dark"] .modal__footer {
  background: rgba(18, 25, 44, 0.98);
  border-top-color: rgba(255, 255, 255, 0.1);
}

.modal__footer .btn--cart {
  width: 100%;
  min-height: 46px;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  border-radius: 12px;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--black);
  z-index: 6;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.1);
  flex-shrink: 0;
}

.modal__close:hover,
.modal__close:active {
  background: var(--bg-soft);
  border-color: rgba(250, 204, 21, 0.45);
}

html[data-theme="dark"] .modal__close {
  background: #1a2238;
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.14);
}

.modal__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  background: var(--solid-dark);
  color: var(--yellow);
  margin-bottom: 0;
}

/* ----- Social / Community ----- */
.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.social-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 22px;
  border-radius: var(--radius);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.social-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(250, 204, 21, 0.5);
}

.social-card--featured {
  border-color: rgba(37, 211, 102, 0.35);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(37, 211, 102, 0.08));
}

.social-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #fff;
}

.social-card__icon--ig {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-card__icon--fb {
  background: #1877f2;
}

.social-card__icon--wa {
  background: #25d366;
}

.social-card__body h3 {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
}

.social-card__body p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.social-card__cta {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--yellow-deep);
}

.social-card--featured .social-card__cta {
  color: #128c7e;
}

/* ----- Instagram carousel ----- */
.ig-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.ig-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ig-controls .icon-btn {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
}

.ig-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

.ig-live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
  animation: pulse 1.8s ease infinite;
}

.ig-carousel {
  position: relative;
  margin: 0 -4px;
}

.ig-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 4px 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--yellow) transparent;
}

.ig-track::-webkit-scrollbar {
  height: 6px;
}

.ig-track::-webkit-scrollbar-thumb {
  background: var(--yellow);
  border-radius: 999px;
}

.ig-slide {
  flex: 0 0 min(300px, 82vw);
  scroll-snap-align: start;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: transform var(--ease), box-shadow var(--ease);
}

.ig-slide:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.ig-slide--embed {
  flex: 0 0 min(320px, 88vw);
  background: transparent;
  border: none;
  box-shadow: none;
  min-height: 420px;
}

.ig-slide--embed:hover {
  transform: none;
}

.ig-slide__media {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  color: #fff;
  position: relative;
  min-height: 280px;
}

.ig-slide__badge {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.ig-slide__content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ig-slide__content strong {
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.ig-slide__content span {
  font-size: 0.9rem;
  opacity: 0.92;
}

.ig-slide__cta {
  font-size: 0.85rem;
  font-weight: 700;
  opacity: 0.95;
}

.ig-slide__foot {
  display: flex;
  justify-content: space-between;
  padding: 12px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  background: #fff;
}

.ig-hint {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

.ig-hint code {
  font-size: 0.78em;
  background: var(--bg-soft);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--black);
}

@media (max-width: 768px) {
  .ig-head {
    align-items: flex-start;
  }

  .ig-controls {
    width: 100%;
  }
}

.modal__body h2,
.modal__head-text h2 {
  font-family: var(--display);
  font-size: 1.2rem;
  margin-bottom: 4px;
  color: var(--ink);
}

.modal__body .tagline,
.modal__head-text .tagline {
  color: var(--muted);
  margin-bottom: 0;
  font-size: 0.84rem;
}

.modal__body .detail-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 10px;
}

.modal__body .detail-list li {
  font-size: 0.86rem;
  color: var(--ink);
  padding-left: 20px;
  position: relative;
  line-height: 1.35;
}

.modal__body .detail-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--yellow-deep);
  font-weight: 700;
}

.modal__price {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
  color: var(--ink);
  line-height: 1.2;
}

.modal__price small {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

/* ----- Cart drawer ----- */
.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 290; /* above mobile header (260), below modal (300) */
  pointer-events: none;
  visibility: hidden;
}

.cart-drawer.open {
  pointer-events: auto;
  visibility: visible;
}

.cart-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.4);
  opacity: 0;
  transition: opacity var(--ease);
}

.cart-drawer.open .cart-drawer__backdrop {
  opacity: 1;
}

.cart-drawer__panel {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  left: auto !important;
  bottom: 0;
  width: min(400px, 100%);
  height: 100%;
  max-height: 100dvh;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  margin: 0;
  background: #fff;
  border-left: 1px solid var(--line);
  border-right: none;
  display: flex;
  flex-direction: column;
  /* Hidden off the right edge; slides left into view */
  transform: translate3d(100%, 0, 0);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.12);
  will-change: transform;
  z-index: 2;
}

.cart-drawer.open .cart-drawer__panel {
  transform: translate3d(0, 0, 0);
}

.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.cart-drawer__head h2 {
  font-family: var(--display);
  font-size: 1.15rem;
}

.cart-drawer__head .icon-btn {
  font-size: 1.4rem;
  line-height: 1;
  width: 36px;
  height: 36px;
}

.cart-drawer__items {
  flex: 1;
  overflow: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
}

.cart-item__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--solid-dark);
  color: var(--yellow);
  display: grid;
  place-items: center;
}

.cart-item .brand-mark {
  box-shadow: none;
}

.cart-item strong {
  display: block;
  font-size: 0.9rem;
}

.cart-item small {
  color: var(--muted);
  font-size: 0.78rem;
}

.cart-item__price {
  font-weight: 700;
  font-size: 0.9rem;
  text-align: right;
}

.cart-item__remove {
  display: block;
  margin-top: 4px;
  margin-left: auto;
  border: none;
  background: none;
  color: #b91c1c;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.cart-drawer__empty {
  flex: 1;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--muted);
  padding: 40px 20px;
  text-align: center;
}

.cart-drawer__empty.show {
  display: flex;
}

.cart-drawer__empty span {
  font-size: 2rem;
  margin-bottom: 8px;
}

.cart-drawer__foot {
  padding: 16px 20px 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-drawer__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
}

.cart-drawer__row strong {
  font-family: var(--display);
  font-size: 1.15rem;
}

.cart-drawer__row--gift {
  padding: 10px 12px;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(23, 139, 255, 0.12), rgba(250, 204, 21, 0.12));
  border: 1px solid rgba(23, 139, 255, 0.25);
  font-size: 0.88rem;
  font-weight: 600;
}

.text-free {
  color: #15803d !important;
  font-size: 0.95rem !important;
}

/* Cart free-gift progress */
.cart-progress {
  margin: 12px 16px 0;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(23, 139, 255, 0.08), rgba(250, 204, 21, 0.1));
  border: 1px solid rgba(23, 139, 255, 0.18);
}

.cart-progress.is-unlocked {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(250, 204, 21, 0.14));
  border-color: rgba(34, 197, 94, 0.35);
}

.cart-progress__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.8rem;
}

.cart-progress__top span {
  font-weight: 600;
  color: var(--ink);
}

.cart-progress__top strong {
  font-family: var(--display);
  font-size: 0.8rem;
  color: var(--muted);
  white-space: nowrap;
}

.cart-progress__bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.cart-progress__bar span {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--surf), var(--yellow));
  transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 12px rgba(23, 139, 255, 0.4);
}

.cart-progress.is-unlocked .cart-progress__bar span {
  background: linear-gradient(90deg, #22c55e, var(--yellow));
}

.cart-progress__hint {
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.4;
}

.cart-item--gift {
  border-color: rgba(23, 139, 255, 0.35) !important;
  background: linear-gradient(90deg, rgba(23, 139, 255, 0.08), #fff) !important;
}

.cart-item--gift .cart-item__price {
  color: #15803d;
}

/* Reward toast */
.reward-toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  transform: translateX(-50%) translateY(20px);
  z-index: 220;
  width: min(420px, calc(100% - 32px));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.reward-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.reward-toast[hidden] {
  display: none;
}

.reward-toast:not([hidden]) {
  display: block;
}

.reward-toast__card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(10, 10, 10, 0.94);
  color: #fff;
  border: 1px solid rgba(250, 204, 21, 0.45);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
}

.reward-toast__emoji {
  font-size: 1.6rem;
  line-height: 1;
}

.reward-toast__card strong {
  display: block;
  font-family: var(--display);
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--yellow);
}

.reward-toast__card p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  line-height: 1.45;
}

.reward-toast__close {
  margin-left: auto;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
}

/* Confetti */
.confetti-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 210;
}

/* ----- Sale popper (social proof) ----- */
/* MUST stay position:fixed — liquid-glass used to override this to relative */
.sale-pop {
  position: fixed !important;
  left: 16px !important;
  right: auto !important;
  top: auto !important;
  bottom: 22px !important;
  /* Above header (260); below cart (290) & modal (300) */
  z-index: 275 !important;
  width: min(340px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  box-sizing: border-box;
  display: none;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--surface-solid);
  border: 1px solid var(--line-strong);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translateY(20px) scale(0.97);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.35s ease, background var(--theme-ease), border-color var(--theme-ease);
}

.sale-pop.is-visible,
.sale-pop.sale-pop--show {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) scale(1) !important;
  pointer-events: auto !important;
}

/* When actively showing, ignore [hidden] display:none */
.sale-pop.is-visible[hidden],
.sale-pop.sale-pop--show[hidden] {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.sale-pop[hidden]:not(.is-visible):not(.sale-pop--show) {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.sale-pop__logo {
  flex-shrink: 0;
}

.sale-pop__logo .brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: none;
}

.sale-pop__body {
  min-width: 0;
  flex: 1;
}

.sale-pop__title {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0 0 2px;
  line-height: 1.3;
}

.sale-pop__title strong {
  color: var(--ink);
  font-weight: 700;
}

.sale-pop__product {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sale-pop__meta {
  font-size: 0.72rem;
  color: var(--muted);
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.sale-pop__dot {
  opacity: 0.5;
}

.sale-pop__pulse {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  animation: salePulse 2s ease infinite;
}

@keyframes salePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

html[data-theme="dark"] .sale-pop {
  background: rgba(15, 23, 42, 0.92);
  border-color: rgba(250, 204, 21, 0.2);
}

html[data-theme="dark"] .cart-drawer__panel,
html[data-theme="dark"] .modal__panel {
  background: #151b2b;
}

html[data-theme="dark"] .variant {
  background: #121826;
  color: var(--muted);
}

html[data-theme="dark"] .variant.active {
  background: #f8fafc;
  border-color: #f8fafc;
  color: #0a0a0a;
}

html[data-theme="dark"] .btn-details {
  background: #121826;
  color: #eef2ff;
  border-color: rgba(255, 255, 255, 0.14);
}

html[data-theme="dark"] .btn-details:hover {
  background: rgba(250, 204, 21, 0.12);
  color: #fde68a;
  border-color: rgba(250, 204, 21, 0.4);
}

html[data-theme="dark"] .ig-slide__foot {
  background: #151b2b;
}

html[data-theme="dark"] .footer {
  background: rgba(11, 15, 26, 0.85);
}

html[data-theme="dark"] .marquee {
  background: rgba(18, 24, 38, 0.65);
}

html[data-theme="dark"] .bonus-bar {
  background: linear-gradient(100deg, color-mix(in srgb, var(--bonus-accent, #e50914) 16%, transparent), rgba(21, 27, 43, 0.95) 55%, rgba(250, 204, 21, 0.1));
}
html[data-theme="dark"] .price-disclaimer {
  background: linear-gradient(100deg, rgba(23, 139, 255, 0.12), rgba(21, 27, 43, 0.95) 55%, rgba(250, 204, 21, 0.1));
}

html[data-theme="dark"] .flash__bar {
  background: linear-gradient(180deg, rgba(250, 204, 21, 0.12), rgba(18, 25, 44, 0.9) 55%) !important;
}

/* Desktop combo overrides dark flash bar fill (mobile unchanged) */
@media (min-width: 901px) {
  html[data-theme="dark"] .flash__combo .flash__bar {
    background: transparent !important;
  }

  html[data-theme="dark"] .flash__combo .bonus-bar {
    background: transparent !important;
  }
}

html[data-theme="dark"] .hero__title {
  color: var(--ink);
}

html[data-theme="dark"] .gradient-text {
  background: linear-gradient(120deg, #fde68a 0%, #facc15 45%, #e2e8f0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

html[data-theme="dark"] .product-card {
  background: transparent;
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .product-card:hover {
  border-color: rgba(250, 204, 21, 0.55);
  outline: 1.5px solid rgba(250, 204, 21, 0.7);
  outline-offset: -1px;
  z-index: 3;
}

html[data-theme="dark"] .social-card,
html[data-theme="dark"] .service-card,
html[data-theme="dark"] .step,
html[data-theme="dark"] .float-card,
html[data-theme="dark"] .ig-slide--card,
html[data-theme="dark"] .testimonial {
  background: var(--surface-solid);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .theme-toggle:focus-visible {
  outline-color: var(--yellow);
}

html[data-theme="dark"] .section--soft {
  background: linear-gradient(180deg, transparent, rgba(250, 204, 21, 0.04), transparent);
}

html[data-theme="dark"] .text-free {
  color: #4ade80 !important;
}

html[data-theme="dark"] .nav-toggle span {
  background: var(--ink);
}

html[data-theme="dark"] .filter-group select,
html[data-theme="dark"] .filter-group input {
  background: var(--surface-solid);
  color: var(--ink);
}

@media (max-width: 560px) {
  .announce {
    padding: 0 52px 0 12px;
  }

  .announce__text {
    font-size: 0.7rem;
  }

  .theme-toggle {
    right: 8px;
  }

  .theme-toggle__track {
    width: 46px;
    height: 26px;
  }

  .theme-toggle__thumb {
    width: 20px;
    height: 20px;
  }

  html[data-theme="dark"] .theme-toggle__thumb {
    transform: translateX(20px);
  }

  .cart-btn {
    width: 44px;
    height: 44px;
  }

  .hero__title {
    font-size: clamp(1.85rem, 8vw, 2.35rem);
    margin-bottom: 10px;
  }

  .hero__visual {
    display: none;
  }

  .pill {
    margin-bottom: 12px;
    font-size: 0.72rem;
  }

  .bonus-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .bonus-bar .btn {
    width: 100%;
  }

  .price-disclaimer {
    flex-direction: column;
    gap: 10px;
  }

  .filters {
    gap: 10px;
  }

  .product-card {
    padding: 18px 16px 16px;
  }

  .product-card h3 {
    padding-right: 76px;
    font-size: 1.05rem;
  }

  .cta-panel {
    padding: 24px 18px;
  }

  .cta-panel .btn {
    width: 100%;
  }

  .float-wa {
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    right: max(16px, env(safe-area-inset-right));
    width: 52px;
    height: 52px;
  }

  .reward-toast {
    bottom: calc(88px + env(safe-area-inset-bottom, 0px));
    width: min(420px, calc(100% - 24px));
  }

  .cart-drawer__panel {
    width: 100%;
  }

  .night-sky__nebula {
    filter: blur(56px);
    opacity: 0.4;
  }

  .night-sky__aurora {
    filter: blur(22px);
    opacity: 0.5;
  }

  .night-sky__star {
    animation-duration: 4s !important;
  }
}

/* ----- Performance: pause decorative motion when preferred ----- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  /* Keep sale-pop transitions so it can still appear/disappear cleanly */
  .sale-pop {
    transition-duration: 0.2s !important;
  }

  .night-sky__nebula,
  .night-sky__aurora,
  .night-sky__star,
  .announce__text,
  .hero-grid__shine {
    animation: none !important;
  }

  /* marquee keeps a slow continuous loop (see .marquee__track rule above) */

  .night-sky__meteor {
    display: none !important;
  }

  .hero-grid__shine {
    transform: none;
    opacity: 0.3;
  }
}

/* Only run heavy night animations when dark */
html:not([data-theme="dark"]) .night-sky,
html:not([data-theme="dark"]) .night-sky * {
  animation: none !important;
  visibility: hidden;
}

html[data-theme="dark"] .night-sky {
  visibility: visible;
}

/* Below-fold content rendering optimization
   (exclude .products-grid — content-visibility clips card borders/hover edges) */
.section,
.social-grid,
.footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 720px;
}

.products-grid {
  content-visibility: visible;
  contain: none;
  overflow: visible;
  padding: 4px; /* room for hover outline so edges aren't flush-clipped */
  margin: -4px;
}

/* Mobile performance: reduce glass blur cost */
@media (max-width: 768px) {
  .glass,
  .header {
    backdrop-filter: blur(12px) saturate(1.15);
    -webkit-backdrop-filter: blur(12px) saturate(1.15);
  }

  .night-sky__nebula--3 {
    display: none;
  }
}

/* Touch-friendly targets */
@media (pointer: coarse) {
  .btn,
  .variant,
  .nav__link,
  .icon-btn,
  .cart-btn,
  .btn-details {
    min-height: 44px;
  }

  .variant {
    min-height: 36px;
    padding: 8px 12px;
  }
}

/* ----- Cookie consent ----- */
.cookie-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 320; /* above sale-pop (275), below modal only when needed — above most UI */
  max-width: 520px;
  margin: 0 auto;
  pointer-events: none;
}

.cookie-consent[hidden] {
  display: none !important;
}

.cookie-consent.is-visible {
  pointer-events: auto;
}

.cookie-consent.is-visible .cookie-consent__inner {
  transform: translateY(0);
  opacity: 1;
}

.cookie-consent__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px 14px;
  padding: 16px 16px 14px;
  border-radius: 18px;
  background: var(--surface-solid);
  border: 1px solid var(--line-strong);
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: translateY(18px);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

.cookie-consent__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  background: rgba(250, 204, 21, 0.18);
  border: 1px solid rgba(250, 204, 21, 0.35);
  flex-shrink: 0;
}

.cookie-consent__copy {
  flex: 1 1 180px;
  min-width: 0;
}

.cookie-consent__title {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.cookie-consent__desc {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--muted);
}

.cookie-consent__desc a {
  color: var(--ink);
  font-weight: 600;
  border-bottom: 2px solid var(--yellow);
  text-decoration: none;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  justify-content: flex-end;
}

.cookie-consent__btn {
  min-height: 42px;
  padding: 10px 16px;
  font-size: 0.88rem;
  border-radius: 999px;
}

.cookie-consent__btn.btn--ghost {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--ink);
}

html[data-theme="dark"] .cookie-consent__inner {
  background: rgba(18, 25, 44, 0.96);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

html[data-theme="dark"] .cookie-consent__btn.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #f4f7ff;
}

@media (min-width: 640px) {
  .cookie-consent {
    left: 20px;
    right: auto;
    bottom: 20px;
    margin: 0;
    max-width: 440px;
  }

  .cookie-consent__actions {
    width: auto;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-consent__btn {
    width: 100%;
  }
}

@media (max-width: 639px) {
  .cookie-consent {
    /* sit above WA float + sale pop */
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    left: max(10px, env(safe-area-inset-left));
    right: max(10px, env(safe-area-inset-right));
  }

  .cookie-consent__actions {
    justify-content: stretch;
  }

  .cookie-consent__btn {
    flex: 1 1 auto;
  }
}

/* ----- Float WA ----- */
.float-wa {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
  transition: transform var(--ease);
}

.float-wa:hover {
  transform: scale(1.08);
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
  .steps {
    grid-template-columns: 1fr;
  }

  .step__arrow {
    display: none;
  }

  .social-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .filters {
    grid-template-columns: 1fr 1fr;
  }

  .filter-group--search {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  body:has(#announce) {
    --announce-h: 42px;
  }

  .announce__text {
    font-size: 0.74rem;
  }

  /* Raise header stack so fixed mobile menu + toggle paint above page content
     (modal is z-index 300 so it still sits above header when open) */
  .header {
    z-index: 260;
  }

  /* Product details: compact bottom sheet — close + CTA always visible */
  .modal {
    z-index: 300;
    place-items: end center;
    padding: 0;
  }

  .modal__backdrop {
    background: rgba(10, 10, 10, 0.55);
  }

  .modal__panel {
    width: 100%;
    max-width: 100%;
    max-height: min(78dvh, 560px);
    border-radius: 18px 18px 0 0;
    padding: 0;
    animation: modalSheetIn 0.26s ease;
    box-shadow: 0 -12px 40px rgba(15, 23, 42, 0.18);
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  @keyframes modalSheetIn {
    from {
      opacity: 0.6;
      transform: translateY(36%);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    z-index: 10;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.14);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.16);
  }

  html[data-theme="dark"] .modal__close {
    background: #1a2238;
    border-color: rgba(255, 255, 255, 0.16);
  }

  .modal__scroll {
    padding: 14px 16px 8px;
  }

  .modal__head {
    padding-right: 44px;
    gap: 10px;
    margin-bottom: 8px;
  }

  .modal__head .brand-mark--xl {
    width: 42px;
    height: 42px;
  }

  .modal__head-text h2 {
    font-size: 1.08rem;
  }

  .modal__desc {
    font-size: 0.84rem;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .modal__section-title {
    font-size: 0.82rem;
    margin-bottom: 4px;
  }

  .modal__body .detail-list {
    gap: 5px;
    margin-bottom: 8px;
  }

  .modal__body .detail-list li {
    font-size: 0.82rem;
  }

  .modal__footer {
    padding: 10px 14px calc(12px + env(safe-area-inset-bottom, 0px));
    gap: 8px;
  }

  .modal__price {
    font-size: 1.25rem;
  }

  .modal__footer .btn--cart {
    min-height: 44px;
    font-size: 0.95rem;
  }

  .header__actions {
    position: relative;
    z-index: 3;
  }

  .nav-toggle {
    display: flex;
    z-index: 4;
    position: relative;
    background: var(--surface-solid);
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    width: 44px;
    height: 44px;
  }

  .nav-toggle.active {
    background: var(--yellow);
    border-color: var(--yellow);
  }

  .nav-toggle.active span {
    background: #0a0a0a;
  }

  /* Mobile header: logo left, cart/menu right (nav is full-screen overlay) */
  .header__inner {
    display: flex;
    justify-content: space-between;
    grid-template-columns: none;
  }

  .header .logo,
  .header .nav,
  .header .header__actions {
    grid-column: auto;
    justify-self: auto;
  }

  .header .logo .logo__text {
    font-size: 1.22rem;
  }

  .header .logo .logo__mark {
    font-size: 1.45rem;
  }

  /* Full-screen mobile menu */
  .nav {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 100dvh;
    padding: calc(var(--sticky-offset) + 20px) 20px max(28px, env(safe-area-inset-bottom));
    background: var(--bg) !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--ease), visibility var(--ease);
    z-index: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav__link {
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: 48px;
    font-size: 1.12rem;
    font-weight: 600;
    color: var(--ink) !important;
    padding: 14px 8px;
    border: none;
    border-radius: 10px;
    background: transparent;
    border-bottom: 1px solid var(--line);
    text-align: start;
    justify-content: flex-start;
    box-shadow: none;
    backdrop-filter: none;
  }

  .nav__link:hover,
  .nav__link:active,
  .nav__link[aria-current="page"] {
    background: rgba(250, 204, 21, 0.12);
    border-bottom-color: transparent;
  }

  html[data-theme="dark"] .nav {
    background: #05070f !important;
  }

  html[data-theme="dark"] .nav__link {
    background: rgba(18, 25, 44, 0.85) !important;
    color: #f4f7ff !important;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: none;
  }

  html[data-theme="dark"] .nav__link:hover,
  html[data-theme="dark"] .nav__link:active {
    background: rgba(250, 204, 21, 0.12) !important;
    border-color: rgba(250, 204, 21, 0.4);
  }

  .hero {
    padding: 20px 0 28px;
  }

  .hero__sub--desktop {
    display: none !important;
  }

  .hero__sub--mobile {
    display: block;
    font-size: 0.98rem;
    margin-bottom: 18px;
    max-width: none;
  }

  .hero__trust-line {
    display: block;
    text-align: center;
    margin-top: 4px;
  }

  .hero__cta {
    margin-bottom: 12px;
  }

  .stats {
    justify-content: space-between;
    gap: 12px;
    margin: 2px 0 4px;
  }

  .stat strong {
    font-size: 1.25rem;
  }

  .stat span {
    font-size: 0.75rem;
  }

  .section {
    padding: 44px 0;
  }

  /* Sale pop: same bottom edge as WhatsApp float (aligned row) */
  .sale-pop {
    left: max(10px, env(safe-area-inset-left)) !important;
    right: auto !important;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
    width: min(260px, calc(100vw - 88px)) !important; /* leave space for WA btn */
    max-width: calc(100vw - 88px) !important;
    padding: 10px 12px;
    gap: 10px;
    z-index: 275 !important;
  }

  .sale-pop.is-visible {
    transform: translateY(0) scale(1) !important;
  }

  .sale-pop__logo .brand-mark {
    width: 36px;
    height: 36px;
  }

  .sale-pop__product {
    font-size: 0.84rem;
  }

  .sale-pop__title {
    font-size: 0.72rem;
  }

  .sale-pop__meta {
    font-size: 0.68rem;
  }

  .products-grid[data-view="2"] {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  /* Compact 2-col cards — equal height, buttons aligned */
  .products-grid[data-view="2"] {
    align-items: stretch;
  }

  .products-grid[data-view="2"] .product-card {
    padding: 10px 10px 12px;
    overflow: hidden;
    height: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    /* Solid soft fill on mobile — no live backdrop blur (perf) */
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  html[data-theme="dark"] .products-grid[data-view="2"] .product-card {
    background: rgba(18, 25, 44, 0.92) !important;
  }

  /*
    Badge in normal flow (not absolute) so it never covers logo/title.
    HTML order: badge first → sits above logo, right-aligned.
  */
  .products-grid[data-view="2"] .product-card__badge {
    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    align-self: flex-end;
    width: auto !important;
    max-width: 100%;
    margin: 0 0 8px;
    overflow: visible;
    white-space: nowrap;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    padding: 4px 8px;
    line-height: 1.15;
    z-index: 1;
    flex-shrink: 0;
  }

  .products-grid[data-view="2"] .brand-mark--lg {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
    border-radius: 10px;
    flex-shrink: 0;
    position: relative;
    z-index: 0;
  }

  .products-grid[data-view="2"] .product-card h3 {
    font-size: 0.88rem;
    padding-right: 4px; /* badge is in-flow, not absolute */
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.5em; /* 2 lines reserved — even titles */
  }

  .products-grid[data-view="2"] .product-card__tagline {
    font-size: 0.72rem;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 1.1em;
  }

  .products-grid[data-view="2"] .product-card__meta,
  .products-grid[data-view="2"] .product-card__desc {
    display: none;
  }

  .products-grid[data-view="2"] .variants {
    gap: 4px;
    margin-bottom: 8px;
    flex-shrink: 0;
  }

  .products-grid[data-view="2"] .variant {
    font-size: 0.65rem;
    padding: 5px 7px;
  }

  /* Price + buttons sit at the bottom of equal-height cards */
  .products-grid[data-view="2"] .product-card__foot {
    margin-top: auto;
    margin-bottom: 8px;
    flex-shrink: 0;
  }

  .products-grid[data-view="2"] .product-card__price {
    font-size: 1.05rem;
  }

  .products-grid[data-view="2"] .product-card__stock {
    font-size: 0.68rem;
  }

  .products-grid[data-view="2"] .product-card__actions {
    grid-template-columns: 1fr;
    gap: 6px;
    flex-shrink: 0;
    margin-top: 0;
  }

  .products-grid[data-view="2"] .btn--cart {
    width: 100%;
    min-height: 40px;
    font-size: 0.8rem;
    padding: 10px 8px;
  }

  .products-grid[data-view="2"] .btn-details {
    width: 100%;
    height: 36px;
    min-height: 36px;
    border-radius: 10px;
  }

  .products-grid[data-view="2"] .btn-details__text {
    display: inline;
  }

  .orbit-hero {
    margin: 6px auto 14px;
    justify-content: center;
    width: 100%;
    max-width: none;
    overflow: visible;
    padding-right: 0;
  }

  .orbit-hero__system {
    --size: 220px;
    width: min(220px, 68vw);
    height: min(220px, 68vw);
    max-width: 220px;
    transform: none;
    margin-inline: auto;
  }

  .orbit-hero__planet {
    min-width: 72px;
    min-height: 72px;
    max-width: 84px;
    max-height: 84px;
    width: 34%;
    height: 34%;
  }

  .orbit-hero__icon {
    width: 32px;
    height: 32px;
    top: 5px;
    border-radius: 9px;
  }

  .orbit-hero__spin--inner .orbit-hero__icon {
    width: 28px;
    height: 28px;
    top: 4px;
  }

  .orbit-hero__icon img {
    width: 15px;
    height: 15px;
  }

  .hero-promo--panel {
    display: flex !important;
  }

  .hero__copy {
    align-items: stretch !important;
    text-align: left !important;
  }

  .hero__copy .hero__title,
  .hero__copy .hero__sub {
    text-align: left !important;
    margin-left: 0 !important;
  }

  .hero__cta {
    justify-content: stretch;
    max-width: none;
    display: flex;
  }

  .stats {
    display: flex;
  }

  .products-grid[data-view="list"] .product-card {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto auto;
  }

  .products-grid[data-view="list"] .product-card__actions {
    grid-column: 1 / -1;
    grid-row: auto;
    width: 100%;
    flex-direction: row;
  }

  .products-grid[data-view="list"] .product-card__actions .btn--cart {
    flex: 1;
    min-width: 0;
  }

  .products-grid[data-view="list"] .btn-details {
    width: 48px;
    height: 48px;
    min-width: 48px;
    flex-shrink: 0;
    background: var(--bg-soft);
    color: var(--ink);
    border: 1.5px solid var(--line-strong);
  }

  .products-grid[data-view="list"] .btn-details__icon {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 560px) {
  .filters {
    grid-template-columns: 1fr;
  }

  .hero__cta {
    flex-direction: column;
  }

  .hero__cta .btn {
    width: 100%;
  }

  .stats {
    gap: 12px;
  }

  .social-card {
    padding: 20px 18px;
  }
}

/* ---- account chip, type chips, product pages ---- */
.account-slot {
  display: flex;
  align-items: center;
}
.account-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}
.account-chip:hover {
  background: rgba(15, 23, 42, 0.05);
}
.account-chip__av {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #facc15;
  color: #0a0a0a;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
}
.account-chip--ghost {
  padding: 7px 12px;
}
html[data-theme="dark"] .account-chip {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}
.type-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 4px;
}
.type-chip {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.18);
}
.type-chip--personal { background: rgba(16, 185, 129, 0.18); }
.type-chip--shared { background: rgba(99, 102, 241, 0.18); }
.product-card__hit {
  text-decoration: none;
  color: inherit;
  display: block;
}
.products-more {
  display: flex;
  justify-content: center;
  margin: 28px 0 8px;
}
.products-more__count {
  margin-inline-start: 8px;
  opacity: 0.75;
  font-weight: 700;
}
.products-grid[data-view="2"] {
  grid-template-columns: repeat(var(--sf-desktop-cols, 3), minmax(0, 1fr));
}
@media (max-width: 720px) {
  .products-grid[data-view="2"] {
    grid-template-columns: repeat(var(--sf-mobile-cols, 2), minmax(0, 1fr));
  }
  .account-chip__label { display: none; }
}
.page-main {
  padding: 28px 0 64px;
  min-height: 70vh;
}
.crumb {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  opacity: 0.75;
  margin-bottom: 18px;
}
.crumb a { color: inherit; }
.brand-mark--xl {
  width: 96px;
  height: 96px;
  border-radius: 28px;
}
.pd {
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 48px;
}
.pd__visual {
  display: grid;
  place-items: center;
  min-height: 280px;
  border-radius: 28px;
  position: relative;
  padding: 32px;
}
.pd__info h1 {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(1.6rem, 2.4vw, 2.3rem);
  margin: 0 0 8px;
}
.pd__tagline { opacity: 0.72; margin: 0 0 14px; }
.pd-types { margin: 22px 0 12px; }
.pd-types__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.6;
  margin: 0 0 10px;
}
.pd-types__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}
.pd-type {
  text-align: start;
  border: 1px solid rgba(10, 10, 10, 0.12);
  background: var(--surface, #fff);
  border-radius: 16px;
  padding: 14px;
  cursor: pointer;
  color: inherit;
}
.pd-type strong { display: block; margin-bottom: 4px; }
.pd-type span { font-size: 0.82rem; opacity: 0.72; }
.pd-type.is-active {
  border-color: #facc15;
  box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.28);
}
html[data-theme="dark"] .pd-type {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}
.pd__desc { margin: 16px 0 8px; line-height: 1.6; }
.pd__bullets { margin: 0 0 18px; padding-inline-start: 18px; }
.pd__buy {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.pd-related h2 { margin: 0 0 16px; }
.acc-auth {
  max-width: 440px;
  margin: 0 auto;
}
.acc-card {
  padding: 28px 24px;
  border-radius: 22px;
}
.acc-card h1 { margin: 0 0 6px; }
.acc-card__sub { opacity: 0.7; margin: 0 0 18px; }
.acc-card .field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.acc-card .field input,
.acc-card .field textarea {
  font: inherit;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(10, 10, 10, 0.14);
  background: transparent;
  color: inherit;
}
.acc-msg { color: #dc2626; min-height: 1.2em; }
.acc-switch, .acc-guest { font-size: 0.9rem; }
.linkish {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}
.acc-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.acc-tabs { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.acc-tab {
  border: 1px solid transparent;
  background: rgba(10, 10, 10, 0.05);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  cursor: pointer;
  color: inherit;
}
.acc-tab.is-active { background: #facc15; color: #0a0a0a; font-weight: 700; }
.acc-order, .acc-ticket {
  padding: 16px 18px;
  border-radius: 16px;
  margin-bottom: 12px;
}
.acc-order header, .acc-ticket header {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.acc-order ul { margin: 8px 0; padding-inline-start: 18px; }
.acc-order footer {
  display: flex;
  gap: 14px;
  font-size: 0.85rem;
  opacity: 0.75;
}
.tk-thread { display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.tk-msg { padding: 10px 12px; border-radius: 12px; background: rgba(10, 10, 10, 0.05); }
.tk-msg--admin { background: rgba(250, 204, 21, 0.16); }
.tk-note { font-size: 0.85rem; opacity: 0.7; margin: 0; }
.tk-reply { display: grid; gap: 8px; }
.tk-reply textarea {
  font: inherit;
  min-height: 70px;
  border-radius: 10px;
  padding: 10px;
  border: 1px solid rgba(10, 10, 10, 0.14);
  background: transparent;
  color: inherit;
}
.pill {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.08);
}
.pill--paid, .pill--answered, .pill--resolved { background: rgba(16, 185, 129, 0.2); }
.pill--pending, .pill--open { background: rgba(250, 204, 21, 0.25); }
.pill--closed { background: rgba(10, 10, 10, 0.12); opacity: 0.8; }
.checkout-account {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(250, 204, 21, 0.16);
  font-size: 0.9rem;
}
.co-coupon__row {
  display: flex;
  gap: 8px;
}
.co-coupon__row input {
  flex: 1;
  min-width: 0;
}
.co-coupon .field__help {
  min-height: 1.2em;
}
@media (max-width: 840px) {
  .pd { grid-template-columns: 1fr; }
  .pd__visual { min-height: 180px; }
}
