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

:root {
  --radius: 10px;
  --radius-sm: 7px;
  --radius-lg: 16px;
  --maxw: 1180px;
  --gap: 24px;
  --header-h: 68px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.06);
  --shadow: 0 4px 16px rgba(0,0,0,.10);
}

html[data-theme="dark"] {
  --bg: var(--c-dark-bg, #0E0E10);
  --surface: var(--c-dark-surface, #161618);
  --surface-2: var(--c-dark-surface-2, #1E1E22);
  --border: var(--c-dark-border, #2A2A2E);
  --text: var(--c-dark-text, #F4F4F5);
  --muted: var(--c-dark-muted, #A1A1AA);
  --overlay: rgba(0,0,0,.6);
  color-scheme: dark;
}

html[data-theme="light"] {
  --bg: var(--c-light-bg, #F7F7F8);
  --surface: var(--c-light-surface, #FFFFFF);
  --surface-2: var(--c-light-surface-2, #F0F0F2);
  --border: var(--c-light-border, #E4E4E7);
  --text: var(--c-light-text, #18181B);
  --muted: var(--c-light-muted, #52525B);
  --overlay: rgba(0,0,0,.4);
  color-scheme: light;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }

.cs-icon { flex: none; vertical-align: middle; }

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

.main { flex: 1 0 auto; }
.section { padding-block: 72px; }
.section--tight { padding-block: 48px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.section-head { margin-bottom: 36px; max-width: 640px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 34px); margin-bottom: 10px; }
.section-head p { color: var(--muted); font-size: 16px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1;
  transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: #1a1500;
  border-color: var(--accent);
}

.btn--primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn--ghost:hover { background: var(--surface-2); }

.btn--subtle {
  background: var(--surface-2);
  color: var(--text);
}

.btn--subtle:hover { background: var(--border); }
.btn--block { width: 100%; }
.btn--lg { padding: 14px 24px; font-size: 15.5px; }
.btn--sm { padding: 8px 13px; font-size: 13px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  border: 1px solid var(--border);
}

.pill--accent {
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  color: var(--accent-strong);
  border-color: color-mix(in srgb, var(--accent) 30%, transparent);
}

.pill--sale {
  background: color-mix(in srgb, #ef4444 16%, transparent);
  color: #ef4444;
  border-color: color-mix(in srgb, #ef4444 30%, transparent);
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -.02em;
}

.brand img { height: 30px; width: auto; }
.brand span { color: var(--text); }
.brand b { color: var(--accent); font-weight: 700; }

.nav { display: flex; align-items: center; gap: 4px; }

/* Center the primary nav on desktop without absolute positioning */
.nav--center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  transition: color .15s var(--ease), background-color .15s var(--ease);
}

.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a.is-active { color: var(--text); }

/* Nav icons only appear in the mobile menu */
.nav__icon { display: none; color: var(--accent); }

.header__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid transparent;
  color: var(--muted);
  transition: background-color .15s var(--ease), color .15s var(--ease);
}

.icon-btn:hover { background: var(--surface-2); color: var(--text); }

.cart-link { position: relative; }

.cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #1a1500;
  font-size: 10.5px;
  font-weight: 700;
  border-radius: 999px;
  line-height: 1;
}

.dropdown { position: relative; }

.dropdown__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 160px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 6px;
  display: none;
}

.dropdown.open .dropdown__menu { display: block; }

.dropdown__menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text);
}

.dropdown__menu a:hover { background: var(--surface-2); }
.dropdown__menu a.is-active { color: var(--accent-strong); font-weight: 600; }
.dropdown__menu a span { flex: 1; }
.lang-check { color: var(--accent); flex: none; }

.flag {
  width: 18px;
  height: 13px;
  border-radius: 2px;
  object-fit: cover;
}

/* ---- Language pill button (shows current flag + code) ---- */
.lang-dd .dropdown__menu { min-width: 180px; }

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 10px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  transition: background-color .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease);
}
.lang-btn:hover { background: var(--surface-2); color: var(--text); }
.dropdown.open .lang-btn { background: var(--surface-2); color: var(--text); border-color: var(--border); }
.lang-btn .flag { width: 20px; height: 14px; }
.lang-btn__code { letter-spacing: .03em; }
.lang-btn__chevron { transition: transform .2s var(--ease); }
.dropdown.open .lang-btn__chevron { transform: rotate(180deg); color: var(--accent-strong); }

.nav-toggle { display: none; }

/* Backdrop behind the mobile menu */
.nav-backdrop {
  position: fixed;
  inset: var(--header-h) 0 0;
  background: var(--overlay);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s var(--ease), visibility .2s var(--ease);
  z-index: 40;
}
.nav-backdrop.is-open { opacity: 1; visibility: visible; }

@media (max-width: 880px) {
  .nav--center { display: none; }      /* hide desktop centered nav */
  .nav-toggle { display: inline-flex; }
  .header__inner { gap: 10px; }

  /* Drop the centered positioning when it becomes the mobile panel */
  .nav.is-open {
    display: flex;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    transform: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 30px rgba(0, 0, 0, .28);
    padding: 12px;
    z-index: 45;
    animation: navdrop .18s var(--ease);
  }
  .nav.is-open a {
    padding: 13px 14px;
    border-radius: var(--radius);
    font-size: 15.5px;
    color: var(--text);
  }
  .nav.is-open a:hover { background: var(--surface-2); }
  .nav.is-open a.is-active {
    background: color-mix(in srgb, var(--accent) 14%, transparent);
    color: var(--accent-strong);
    font-weight: 600;
  }
  .nav.is-open a.is-active .nav__icon { color: var(--accent-strong); }
  .nav.is-open .nav__icon { display: inline-flex; }

  /* On mobile the language menu opens to the right edge cleanly */
  .lang-dd .dropdown__menu { right: 0; }
  /* Keep the active-language chip compact on small screens */
  .lang-btn { padding: 0 8px; }
}

@keyframes navdrop {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 400px) {
  .lang-btn__code { display: none; }   /* just the flag on very small screens */
}

.hero {
  position: relative;
  padding-block: 84px 64px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(640px 320px at 78% -8%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%),
    radial-gradient(520px 280px at 10% 0%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 70%);
  pointer-events: none;
}

.hero__inner { position: relative; max-width: 720px; }

.hero h1 {
  font-size: clamp(34px, 5.4vw, 56px);
  margin: 18px 0;
  letter-spacing: -.025em;
}

.hero h1 .hl { color: var(--accent); }

.hero p {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--muted);
  max-width: 580px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 56px;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
}

.stat__value { font-size: clamp(24px, 3vw, 30px); font-weight: 700; }
.stat__value .cs-icon { color: var(--accent); }
.stat__label { color: var(--muted); font-size: 14px; margin-top: 2px; }

@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(252px, 1fr));
  gap: 22px;
}

.card {
  display: flex;
  flex-direction: column;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .16s ease, border-color .16s var(--ease), box-shadow .16s ease;
}

/* The [hidden] attribute must win over the display rules above (used by the
   live browse search to hide non-matching cards / grid). */
[hidden] { display: none !important; }

.card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
  box-shadow: 0 8px 28px rgba(0,0,0,.25);
}

.card__media,
.product__main-img {
  background: #0f1117;
}

.card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.card__media-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: color-mix(in srgb, var(--accent) 60%, var(--muted));
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, var(--surface-2)), var(--surface-2));
}

.card__tags { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; }

.card__body {
  padding: 16px 17px 17px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card__cat {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.card__title { font-size: 16.5px; font-weight: 650; margin-bottom: 4px; }
.card__title a:hover { color: var(--accent-strong); }

.card__desc {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.price { display: flex; align-items: baseline; gap: 7px; }
.price__now { font-size: 18px; font-weight: 700; }
.price__was { font-size: 13px; color: var(--muted); text-decoration: line-through; }

.band {
  position: relative;
  background: linear-gradient(180deg, var(--surface), var(--surface));
  border-block: 1px solid var(--border);
  overflow: hidden;
}

.band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(560px 240px at 88% 50%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%);
  pointer-events: none;
}

.band__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  padding-block: 64px;
}

.band__art { display: grid; place-items: center; }

.band__shield {
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, var(--surface-2));
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--border));
}

.band h2 { font-size: clamp(24px, 3vw, 32px); margin: 12px 0; }
.band p { color: var(--muted); font-size: 16px; max-width: 480px; }

.band__points {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 12px;
}

.band__points li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 15px;
  font-weight: 500;
}

.band__points .cs-icon { color: var(--accent); }

@media (max-width: 820px) {
  .band__inner { grid-template-columns: 1fr; gap: 28px; }
  .band__art { order: -1; justify-content: flex-start; }
}

.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.review {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
}

.review__stars {
  display: inline-flex;
  gap: 4px;
  margin-bottom: 10px;
}

.review__star {
  color: #7a6430;
  opacity: .5;
  transition: transform .15s ease, opacity .15s ease, color .15s ease, filter .15s ease;
}

.review__star.is-active {
  color: #f7c948;
  opacity: 1;
  filter: drop-shadow(0 0 6px rgba(247, 201, 72, .35));
}

.review__star svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: .6;
}

.review__text { font-size: 15px; margin-bottom: 18px; }

.review__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--accent) 18%, var(--surface-2));
  color: var(--accent-strong);
  font-weight: 700;
  font-size: 15px;
}

.review__name { font-weight: 600; font-size: 14.5px; }
.review__role { color: var(--muted); font-size: 13px; }

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

.faq {
  max-width: 760px;
  margin-inline: auto;
  display: grid;
  gap: 12px;
}

.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 15.5px;
  font-weight: 600;
  text-align: left;
}

.faq__q .cs-icon {
  color: var(--muted);
  transition: transform .2s var(--ease);
  flex: none;
}

.faq__item.open .faq__q .cs-icon { transform: rotate(180deg); }

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s var(--ease);
}

.faq__a-inner { padding: 0 20px 18px; color: var(--muted); font-size: 14.5px; }

.browse {
  display: grid;
  grid-template-columns: 232px 1fr;
  gap: 40px;
  align-items: start;
}

.sidebar {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
}

.sidebar h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  margin-bottom: 12px;
}

.cat-list {
  list-style: none;
  margin: 0 0 4px;
  padding: 0;
  display: grid;
  gap: 2px;
}

.cat-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 11px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  color: var(--muted);
  transition: background-color .12s var(--ease), color .12s var(--ease);
}

.cat-list a:hover { background: var(--surface-2); color: var(--text); }

.cat-list a.is-active {
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent-strong);
  font-weight: 600;
}

.cat-list .count { font-size: 12px; color: var(--muted); }

.browse__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.browse__count { color: var(--muted); font-size: 14.5px; }

.select {
  appearance: none;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 9px 36px 9px 13px;
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
}

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

/* ---- Custom themed select ---- */
.cselect { position: relative; min-width: 190px; }

/* The real <select> stays for no-JS / a11y but is hidden once JS upgrades it. */
.cselect__native {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  border: 0;
  margin: 0;
  cursor: pointer;
}
.js-ready .cselect__native { display: none; }

.cselect__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 9px 13px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  transition: border-color .15s var(--ease), background-color .15s var(--ease);
}
.cselect__btn:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
.cselect.is-open .cselect__btn {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
  background: var(--surface-2);
}

.cselect__chevron {
  color: var(--muted);
  transition: transform .2s var(--ease);
  flex: none;
}
.cselect.is-open .cselect__chevron { transform: rotate(180deg); color: var(--accent-strong); }

.cselect__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 30;
  list-style: none;
  margin: 0;
  padding: 5px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: none;
  max-height: 280px;
  overflow-y: auto;
}
.cselect.is-open .cselect__menu { display: block; animation: cselect-in .14s var(--ease); }

@keyframes cselect-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cselect__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 11px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  transition: background-color .12s var(--ease);
}
.cselect__option:hover { background: var(--surface-2); }
.cselect__option.is-active { color: var(--accent-strong); font-weight: 600; }

.cselect__check { color: var(--accent); opacity: 0; flex: none; }
.cselect__option.is-active .cselect__check { opacity: 1; }

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-box .cs-icon {
  position: absolute;
  left: 12px;
  color: var(--muted);
  pointer-events: none;
}

.search-box input {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 9px 13px 9px 38px;
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
  width: 240px;
  max-width: 100%;
}

.search-box input:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--accent) 50%, var(--border));
}

@media (max-width: 820px) {
  .browse { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 13.5px;
  margin-bottom: 24px;
}

.breadcrumb a:hover { color: var(--text); }
.breadcrumb .cs-icon { opacity: .5; }

.product {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 44px;
  align-items: start;
}

.product__gallery { position: sticky; top: calc(var(--header-h) + 20px); }

.product__main-img {
  position: relative;
  border-radius: 16px;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.product__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  display: grid;
  place-items: center;
}

.product__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.product__slide img,
.product__slide video,
.product__slide iframe {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
  background: #0f1117;
}

.product__thumbs {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.product__thumb {
  width: 88px;
  height: 56px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #11141c;
  overflow: hidden;
  flex: 0 0 auto;
  padding: 0;
}

.product__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product__thumb.is-active { border-color: var(--accent); }

.product__thumb { position: relative; }

.product__thumb-video,
.product__thumb-icon {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--accent);
}

/* Little play badge on a video thumbnail */
.product__thumb-badge {
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  background: rgba(0, 0, 0, .65);
  color: #fff;
}
.product__thumb-badge .cs-icon { width: 11px; height: 11px; }

/* Lazy YouTube/Vimeo: thumbnail + play button until clicked */
.product__slide .product__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
  background: #0f1117;
}
/* Override .product__slide img (object-fit:contain) so the thumb fills nicely */
.product__slide .product__video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product__video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 92%, #000);
  color: #1a1500;
  box-shadow: 0 6px 22px rgba(0, 0, 0, .35);
  transition: transform .15s var(--ease), background-color .15s var(--ease);
}
.product__video:hover .product__video-play { transform: translate(-50%, -50%) scale(1.06); }
.product__slide .product__video iframe { width: 100%; height: 100%; border: 0; }

.product__info h1 { font-size: clamp(26px, 3.4vw, 34px); margin: 10px 0 14px; }

.product__price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 18px 0 22px;
}

.product__price .now { font-size: 30px; font-weight: 700; }
.product__price .was { font-size: 17px; color: var(--muted); text-decoration: line-through; }

.product__actions { display: flex; gap: 12px; margin-bottom: 24px; }

.product__perks {
  display: grid;
  gap: 12px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
}

.product__perks li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 14.5px;
  list-style: none;
}

.product__perks .cs-icon { color: var(--accent); }
.product__perks ul { margin: 0; padding: 0; display: grid; gap: 12px; }

.prose {
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.7;
}

.prose h1,
.prose h2,
.prose h3 {
  margin: 1.2em 0 .5em;
}

.prose h1 { font-size: 28px; }
.prose h2 { font-size: 22px; }
.prose h3 { font-size: 18px; }

.prose p { margin: 0 0 1em; }

.prose ul,
.prose ol {
  margin: 0 0 1em;
  padding-left: 1.2em;
}

.prose li { margin-bottom: .45em; }

.prose hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 1.2em 0;
}

.prose a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose strong {
  color: var(--text);
  font-weight: 700;
}

.prose code {
  background: var(--surface-2);
  padding: 2px 6px;
  border-radius: 5px;
  font-size: .92em;
}

.prose img {
  border-radius: var(--radius);
  margin: 1em 0;
  border: 1px solid var(--border);
}

.product-section { margin-top: 56px; }
.product-section h2 { font-size: 22px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }

@media (max-width: 880px) {
  .product { grid-template-columns: 1fr; gap: 28px; }
  .product__gallery { position: static; }
}

.cart {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
  align-items: start;
}

.cart__items { display: grid; gap: 14px; }

.cart-row {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 16px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
}

.cart-row__img {
  width: 84px;
  height: 60px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-2);
}

.cart-row__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-row__name { font-weight: 600; font-size: 15px; }
.cart-row__cat { color: var(--muted); font-size: 13px; }
.cart-row__right { display: flex; align-items: center; gap: 18px; }

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.qty button {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: var(--surface);
  color: var(--text);
  border: none;
}

.qty button:hover { background: var(--surface-2); }
.qty span { min-width: 34px; text-align: center; font-size: 14px; font-weight: 600; }

.cart-row__price { font-weight: 700; min-width: 78px; text-align: right; }

.cart-row__remove {
  color: var(--muted);
  background: none;
  border: none;
  display: grid;
  place-items: center;
  padding: 6px;
  border-radius: var(--radius-sm);
}

.cart-row__remove:hover {
  color: #ef4444;
  background: color-mix(in srgb, #ef4444 12%, transparent);
}

.summary {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
}

.summary h3 { font-size: 18px; margin-bottom: 18px; }

.summary__row {
  display: flex;
  justify-content: space-between;
  font-size: 14.5px;
  color: var(--muted);
  padding: 7px 0;
}

.summary__row.total {
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 16px;
}

.summary__note {
  display: flex;
  gap: 9px;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.summary__note .cs-icon { color: var(--accent); flex: none; }

.empty {
  text-align: center;
  padding: 80px 20px;
  max-width: 420px;
  margin-inline: auto;
}

.empty__icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--muted);
  margin: 0 auto 22px;
}

.empty h2 { font-size: 22px; margin-bottom: 8px; }
.empty p { color: var(--muted); margin-bottom: 22px; }

@media (max-width: 820px) {
  .cart { grid-template-columns: 1fr; }
  .summary { position: static; }
  .cart-row { grid-template-columns: 70px 1fr; }
  .cart-row__right { grid-column: 1 / -1; justify-content: space-between; }
}

.page-head {
  padding-block: 56px 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}

.page-head h1 { font-size: clamp(28px, 4vw, 40px); }
.page-head p { color: var(--muted); margin-top: 10px; }

.legal-body { max-width: 760px; }
.legal-body h2 { font-size: 20px; margin: 32px 0 12px; }
.legal-body p, .legal-body li { color: var(--muted); font-size: 15px; line-height: 1.7; }
.legal-body ul { padding-left: 1.2em; }
.legal-body a { color: var(--accent-strong); text-decoration: underline; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 760px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}

.contact-card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--accent) 14%, var(--surface-2));
  color: var(--accent-strong);
  margin-bottom: 16px;
}

.contact-card h3 { font-size: 17px; margin-bottom: 8px; }
.contact-card p { color: var(--muted); font-size: 14px; margin-bottom: 16px; }

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

.footer {
  flex: none;
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding-block: 52px 28px;
  margin-top: 0;
}

.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand .brand { margin-bottom: 14px; }

.footer__brand p {
  color: var(--muted);
  font-size: 14px;
  max-width: 280px;
  margin-bottom: 18px;
}

.footer__social { display: flex; gap: 8px; }

.footer__social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--muted);
  transition: color .15s var(--ease), background-color .15s var(--ease);
}

.footer__social a:hover { color: var(--accent); background: var(--border); }

.footer__col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  margin-bottom: 14px;
}

.footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.footer__col a { color: var(--text); font-size: 14px; }
.footer__col a:hover { color: var(--accent-strong); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  flex-wrap: wrap;
}

@media (max-width: 820px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

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

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 999;
  white-space: nowrap;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.muted { color: var(--muted); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.notice {
  background: color-mix(in srgb, var(--accent) 10%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--border));
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.notice .cs-icon {
  color: var(--accent-strong);
  flex: none;
  margin-top: 1px;
}

.xion-banner {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 52px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}

.xion-banner__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(480px 260px at 100% 50%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%),
    radial-gradient(300px 200px at 0% 100%, color-mix(in srgb, var(--accent) 6%, transparent), transparent 70%);
  pointer-events: none;
}

.xion-banner__content { position: relative; }
.xion-banner__content .eyebrow { margin-bottom: 14px; }

.xion-banner__content h2 {
  font-size: clamp(22px, 2.8vw, 30px);
  margin: 10px 0 12px;
}

.xion-banner__content p {
  color: var(--muted);
  font-size: 15px;
  max-width: 520px;
  line-height: 1.65;
  margin-inline: auto;
}

.xion-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  justify-content: center;
}

.xion-banner__stats {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.xion-stat {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color .15s var(--ease);
}

.xion-stat__value {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -.02em;
}

.xion-stat__label {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 500;
}

@media (max-width: 820px) {
  .xion-banner {
    grid-template-columns: 1fr;
    padding: 32px 28px;
    gap: 28px;
  }
}

@media (max-width: 480px) {
  .xion-banner__stats { grid-template-columns: 1fr 1fr; }
}

.reviews-section { overflow: hidden; }

.reviews-marquee-wrap {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  padding: 4px 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.reviews-marquee-track {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 14px;
  width: max-content;
  animation: reviews-scroll 36s linear infinite;
  will-change: transform;
}

.reviews-marquee-wrap:hover .reviews-marquee-track { animation-play-state: paused; }

.review.review--marquee {
  flex: 0 0 clamp(250px, 24vw, 320px);
  max-width: 90vw;
  min-height: 170px;
  margin: 0;
  padding: 14px 14px 12px;
  border-radius: 14px;
}

.review__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.review--marquee .review__author { gap: 10px; }
.review--marquee .avatar { width: 34px; height: 34px; font-size: 14px; }
.review--marquee .review__name { font-size: 14px; line-height: 1.1; }
.review--marquee .review__role { font-size: 12px; line-height: 1.1; }
.review--marquee .review__stars { display: inline-flex; gap: 3px; margin: 0; }
.review--marquee .review__star svg { width: 13px; height: 13px; fill: currentColor; }

.review--marquee .review__text {
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@keyframes reviews-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 860px) {
  .review.review--marquee { flex-basis: 270px; }
}

/* ...existing code... */

.product__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  border: 1px solid var(--border);
  color: var(--text);
  display: grid;
  place-items: center;
  backdrop-filter: blur(6px);
  transition: background-color .15s ease, opacity .15s ease;
  opacity: 0;
}

.product__main-img:hover .product__nav { opacity: 1; }

.product__nav--prev { left: 10px; }
.product__nav--next { right: 10px; }
.product__nav:hover { background: var(--surface); }

/* ============================================================
   Checkout result (thank-you / cancel page)
   ============================================================ */
.checkout-result {
  max-width: 620px;
  margin-inline: auto;
  text-align: center;
  padding: 64px 20px 90px;
}

.checkout-result__icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  animation: pop .35s var(--ease);
}
.checkout-result--success .checkout-result__icon {
  color: #16a34a;
  background: color-mix(in srgb, #16a34a 14%, var(--surface-2));
  border: 1px solid color-mix(in srgb, #16a34a 30%, transparent);
}
.checkout-result--cancel .checkout-result__icon {
  color: #ef4444;
  background: color-mix(in srgb, #ef4444 14%, var(--surface-2));
  border: 1px solid color-mix(in srgb, #ef4444 30%, transparent);
}
.checkout-result--pending .checkout-result__icon {
  color: var(--accent-strong);
  background: color-mix(in srgb, var(--accent) 14%, var(--surface-2));
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
}

@keyframes pop {
  0%   { transform: scale(.6); opacity: 0; }
  70%  { transform: scale(1.08); }
  100% { transform: scale(1); opacity: 1; }
}

.checkout-result h1 { font-size: clamp(26px, 3.6vw, 34px); margin-bottom: 12px; }
.checkout-result__sub { color: var(--muted); font-size: 16px; line-height: 1.6; }

.checkout-result__txn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 13px;
}
.checkout-result__txn code {
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  color: var(--text);
}

/* Order summary + next steps cards */
.checkout-result__card,
.checkout-result__next {
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  margin-top: 28px;
}
.checkout-result__card h2,
.checkout-result__next h2 {
  font-size: 16px;
  margin-bottom: 16px;
}

.checkout-result__items { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checkout-result__items li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.checkout-result__thumb {
  width: 44px;
  height: 32px;
  flex: none;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-2);
  display: grid;
  place-items: center;
  color: var(--muted);
}
.checkout-result__thumb img { width: 100%; height: 100%; object-fit: cover; }
.checkout-result__name { flex: 1; font-size: 14.5px; font-weight: 500; }
.checkout-result__price { font-weight: 600; font-size: 14.5px; }
.checkout-result__total {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-weight: 700;
  font-size: 16px;
}

.checkout-result__next ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checkout-result__next li { display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; color: var(--text); }
.checkout-result__next li .cs-icon { color: var(--accent); flex: none; margin-top: 1px; }

/* CFX Portal link (yellow) */
.cfx-link {
  color: var(--accent-strong);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cfx-link:hover { color: var(--accent); }

.checkout-result__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

@media (max-width: 520px) {
  .checkout-result__actions { flex-direction: column; }
  .checkout-result__actions .btn { width: 100%; }
}