/* ════════════════════════════════════════════════════════════════
   SPACENOVA — Main Storefront Styles
   ════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Mono:wght@300;400&family=Syne:wght@400;700;800&display=swap');

/* ══════════════════════════════════════════
   DESIGN TOKENS
   ══════════════════════════════════════════ */
:root {
  --bg: #ffffff;
  --bg1: #f8f8f8;
  --bg2: #f0f0f0;
  --surface: #ebebeb;
  --surface2: #e2e2e2;
  --border: rgba(0,0,0,.07);
  --border2: rgba(0,0,0,.12);
  --border3: rgba(0,0,0,.2);
  --text: #0a0a0a;
  --text2: rgba(10,10,10,.72);
  --muted: rgba(10,10,10,.44);
  --muted2: rgba(10,10,10,.22);
  --accent: #d4780f;
  --accent2: #e8920a;
  --gold: #9a7a3a;
  --gold2: #c8a050;
  --success: #1a9e40;
  --danger: #d93025;
  --r: 20px;
  --rs: 12px;
  --nav-h: 56px;
  --fd: 'Cormorant Garamond', Georgia, serif;
  --fu: 'Syne', -apple-system, BlinkMacSystemFont, sans-serif;
  --fm: 'DM Mono', ui-monospace, monospace;
  --blur: blur(40px) saturate(180%);
  --blur-sm: blur(20px) saturate(160%);
}

/* ══════════════════════════════════════════
   RESET
   ══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); font-family: var(--fu); font-size: 15px; line-height: 1.6; overflow-x: clip; width: 100%; min-height: 100svh; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, svg, canvas, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
::selection { background: rgba(212,120,15,.18); color: var(--text); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 2000;
  background: #111;
  color: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: .7rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  transform: translateY(-140%);
  transition: transform .2s ease;
}
.skip-link:focus-visible { transform: translateY(0); }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,.14); border-radius: 2px; }

/* ══════════════════════════════════════════
   PAGE SYSTEM
   ══════════════════════════════════════════ */
.page { display: none; opacity: 0; }
.page.active { display: block; animation: pageFadeIn .38s cubic-bezier(.22,1,.36,1) forwards; }
[data-page="home"].page.active { padding-top: 0; }
.page.active:not([data-page="home"]) { padding-top: var(--nav-h); }

@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* ══════════════════════════════════════════
   NAV
   ══════════════════════════════════════════ */
#main-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--nav-h);
  display: flex; align-items: center;
  padding: 0 clamp(16px,3vw,28px); gap: 12px;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(28px);
  -webkit-backdrop-filter: saturate(180%) blur(28px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  transition: background .3s, box-shadow .3s;
  will-change: transform;
}
#main-nav.nav-solid { background: rgba(255,255,255,.94); box-shadow: 0 2px 20px rgba(0,0,0,.07); }

.nav-logo { display: flex; align-items: center; gap: 8px; height: 100%; text-decoration: none; flex: 0 0 auto; }
.nav-logo-img { height: 19px; width: auto; display: block; }
.nav-logo-mark {
  width: 22px; height: 22px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--accent), #f5e6d0);
  box-shadow: 0 0 12px rgba(212,120,15,.4);
  animation: orbitPulse 3.5s ease-in-out infinite;
  flex-shrink: 0;
}

.nav-links {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  display: flex; align-items: center; gap: 2px;
  z-index: 1; white-space: nowrap;
}
.nav-link {
  color: rgba(0,0,0,.52); font-size: .72rem; font-weight: 600;
  letter-spacing: .02em; padding: 7px 13px; border-radius: 999px;
  transition: background .15s, color .15s; text-decoration: none;
  font-family: var(--fu);
}
.nav-link:hover { background: rgba(0,0,0,.05); color: #111; }
.nav-link.active { color: #111; background: rgba(0,0,0,.06); }

.nav-spacer { flex: 1 1 auto; min-width: 0; }

.nav-basket-btn {
  position: relative; z-index: 2; margin-left: auto;
  background: #111; color: #fff; border: none; border-radius: 999px;
  padding: 8px 18px; font-size: .68rem; font-weight: 700;
  letter-spacing: .04em; cursor: pointer; font-family: var(--fu);
  transition: opacity .15s, transform .15s;
  display: flex; align-items: center; gap: 7px;
  white-space: nowrap; -webkit-tap-highlight-color: transparent;
}
.nav-basket-btn:hover { opacity: .88; transform: translateY(-1px); }
.nav-basket-btn:active { transform: scale(.97); }

.basket-icon { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.basket-badge {
  background: #f08c1a; color: #fff; border-radius: 999px;
  font-size: .58rem; font-weight: 800; min-width: 16px; height: 16px;
  padding: 0 5px; display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .2s; line-height: 1;
}
.basket-badge.visible { opacity: 1; }

/* ── MOBILE MENU TOGGLE ── */
.mobile-menu-toggle {
  display: none; width: 40px; height: 40px;
  background: rgba(255,255,255,.7); border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px; backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px); color: #111;
  align-items: center; justify-content: center; cursor: pointer;
  padding: 0; flex-shrink: 0;
  transition: background .18s, border-color .18s, transform .18s;
  box-shadow: 0 2px 8px rgba(0,0,0,.07);
  -webkit-tap-highlight-color: transparent;
}
.mobile-menu-toggle:hover { background: rgba(255,255,255,.92); border-color: rgba(0,0,0,.14); }
.mobile-menu-toggle:active { transform: scale(.95); }
.mobile-menu-toggle svg { width: 18px; height: 18px; stroke: #111; display: block; }

/* ── MOBILE DROPDOWN ── */
.mobile-menu-backdrop { display: none; position: fixed; inset: 0; z-index: 880; background: transparent; }
.mobile-menu-backdrop.open { display: block; }

.mobile-menu-shell {
  display: none; position: fixed;
  top: calc(var(--nav-h) + 8px); right: 16px;
  width: min(340px, calc(100vw - 32px)); z-index: 890;
  pointer-events: none; opacity: 0;
  transform: translateY(-8px) scale(.97);
  transition: opacity .22s cubic-bezier(.22,1,.36,1), transform .22s cubic-bezier(.22,1,.36,1);
}
.mobile-menu-shell.open { pointer-events: auto; opacity: 1; transform: none; }

.mobile-menu {
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.7); border-radius: 22px;
  box-shadow: 0 32px 64px rgba(0,0,0,.15), 0 8px 24px rgba(0,0,0,.08), inset 0 1px 0 rgba(255,255,255,.95);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  padding: 10px; overflow: hidden;
}
.mobile-menu-section {
  font-family: var(--fm); font-size: .52rem; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(0,0,0,.32); padding: 10px 14px 4px;
}
.mobile-menu a, .mobile-menu button.mm-link {
  display: flex; width: 100%; align-items: center; justify-content: space-between;
  padding: 12px 16px; border-radius: 14px; color: #111; text-decoration: none;
  background: transparent; border: 0; font: inherit; font-size: .88rem; font-weight: 600;
  cursor: pointer; transition: background .15s; text-align: left;
  -webkit-tap-highlight-color: transparent;
}
.mobile-menu a:hover, .mobile-menu button.mm-link:hover { background: rgba(0,0,0,.05); }
.mobile-menu-divider { height: 1px; background: rgba(0,0,0,.07); margin: 6px 10px; }
.mm-icon { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: .88rem; margin-right: 10px; flex-shrink: 0; }
.mm-row-inner { display: flex; align-items: center; flex: 1; }
.mm-label { flex: 1; }
.mm-arrow { font-size: .75rem; opacity: .3; }

/* ══════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 980px; font-family: var(--fu);
  font-size: .75rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; text-decoration: none; cursor: pointer;
  border: none; transition: all .22s cubic-bezier(.22,1,.36,1);
  white-space: nowrap; -webkit-tap-highlight-color: transparent;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 4px 18px rgba(212,120,15,.22); }
.btn-primary:hover { background: #b86200; transform: translateY(-1px); box-shadow: 0 8px 28px rgba(212,120,15,.38); }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold2)); color: #fff; box-shadow: 0 4px 18px rgba(154,122,58,.2); }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(154,122,58,.35); filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--text2); border: 1.5px solid var(--border2); }
.btn-ghost:hover { background: var(--surface); color: var(--text); border-color: var(--border3); }
.btn.is-disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }
.btn-sm { padding: 8px 18px; font-size: .7rem; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }
.btn:active:not(:disabled) { transform: scale(.97) !important; }

/* ══════════════════════════════════════════
   HERO
   ══════════════════════════════════════════ */
.hero {
  min-height: 100svh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: calc(var(--nav-h) + 72px) clamp(20px,5vw,40px) 100px;
  position: relative; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg-img { width: 100%; height: 100%; object-fit: cover; object-position: center; animation: nebulaDrift 20s ease-in-out infinite; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.28) 0%, rgba(0,0,0,.46) 40%, rgba(0,0,0,.78) 78%, #000 100%); }
.hero-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; max-width: 860px; width: 100%; }

.hero h1 {
  font-family: var(--fd); font-size: clamp(3.4rem,9vw,8.5rem);
  font-weight: 300; line-height: 1.02; letter-spacing: -.02em; color: #fff;
  margin-bottom: 24px; animation: glowPulse 5s ease-in-out infinite;
}
.hero h1 em {
  font-style: italic;
  background: linear-gradient(135deg, #e8c98a, #c8a050, #fff8e7);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub { font-size: clamp(.95rem,2vw,1.05rem); color: rgba(255,255,255,.8); max-width: 480px; line-height: 1.78; margin-bottom: 48px; letter-spacing: .01em; }

.hero-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(20px); border-radius: 999px; padding: 7px 16px;
  font-family: var(--fm); font-size: .62rem; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(255,255,255,.9); margin-bottom: 28px;
}
.hero-chip-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent2); box-shadow: 0 0 8px rgba(240,140,26,.8); animation: blink 2s ease-in-out infinite; flex-shrink: 0; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

.hero-stats { display: flex; gap: clamp(32px,5vw,56px); margin-top: 96px; flex-wrap: wrap; justify-content: center; }
.hero-stat-num { font-family: var(--fd); font-size: 2.6rem; font-weight: 300; color: #e8c98a; line-height: 1; }
.hero-stat-label { font-family: var(--fm); font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.48); margin-top: 6px; }

/* ══════════════════════════════════════════
   MARQUEE
   ══════════════════════════════════════════ */
.marquee-wrap { overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 13px 0; background: var(--bg1); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 34s linear infinite; will-change: transform; }
.marquee-item { font-family: var(--fm); font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.marquee-item::before { content: '◆'; color: var(--gold); font-size: .38rem; }

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

/* ══════════════════════════════════════════
   FEATURED SPOTLIGHT
   ══════════════════════════════════════════ */
.home-spotlight-section { padding: 0 0 32px; background: #fff; }
.home-spotlight-footer { display: flex; justify-content: center; padding: 20px 16px 0; }

.spl-card {
  position: relative; display: block; width: 100%; text-decoration: none;
  overflow: hidden; background: #111; cursor: pointer; border-radius: 0;
  min-height: 60vw; max-height: 90vh; transition: none;
}
@media (min-width: 600px) {
  .home-spotlight-section { padding: 28px 24px 36px; }
  .spl-card { border-radius: 22px; min-height: 480px; max-height: 680px; }
}
.spl-card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .65s ease; will-change: transform; }
.spl-card:hover .spl-card-img { transform: scale(1.025); }
.spl-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.3) 0%, rgba(0,0,0,.08) 40%, rgba(0,0,0,0) 62%); pointer-events: none; }

.spl-card-overlay {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2;
  background: rgba(235,235,235,.68); backdrop-filter: blur(14px) saturate(1.5);
  -webkit-backdrop-filter: blur(14px) saturate(1.5);
  border: 1px solid rgba(255,255,255,.55); border-radius: 18px;
  padding: 14px 16px; pointer-events: none;
}
@media (min-width: 600px) {
  .spl-card-overlay { left: 20px; right: 20px; bottom: 20px; border-radius: 20px; padding: 16px 20px; }
}
.spl-card-eyebrow { font-family: var(--fm); font-size: .55rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: rgba(0,0,0,.44); margin-bottom: 4px; }
.spl-card-name { font-family: var(--fd); font-size: clamp(1.05rem,4vw,1.5rem); font-weight: 400; color: #111; letter-spacing: -.02em; line-height: 1.15; }
.spl-card-sub { font-size: .68rem; color: rgba(0,0,0,.42); margin-top: 4px; font-family: var(--fm); }

/* ══════════════════════════════════════════
   SECTIONS
   ══════════════════════════════════════════ */
.section { max-width: 1200px; margin: 0 auto; padding: 100px clamp(16px,4vw,28px); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 48px; flex-wrap: wrap; }
.section-eyebrow { font-family: var(--fm); font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.section-head h2 { font-family: var(--fd); font-size: clamp(2rem,4vw,3.4rem); font-weight: 300; line-height: 1.1; letter-spacing: -.01em; color: var(--text); }
.section-head p { color: var(--muted); font-size: .92rem; max-width: 340px; }
.section-rule { height: 1px; width: 100%; background: linear-gradient(90deg, transparent, rgba(0,0,0,.06) 30%, rgba(0,0,0,.06) 70%, transparent); }

/* ══════════════════════════════════════════
   CARDS
   ══════════════════════════════════════════ */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px,1fr)); gap: 16px; }

.card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; transition: transform .32s cubic-bezier(.22,1,.36,1), border-color .3s, box-shadow .3s; }
.card-link { display: flex; flex-direction: column; height: 100%; }
.card:hover { transform: translateY(-4px) scale(1.002); border-color: var(--border2); box-shadow: 0 20px 60px rgba(0,0,0,.09), 0 0 0 1px rgba(0,0,0,.05); }

.card-media {
  position: relative;
  overflow: visible;
  border-radius: var(--r) var(--r) 0 0;
}

.card-media > img,
.card-media > .card-media-placeholder {
  overflow: hidden;
  border-radius: var(--r) var(--r) 0 0;
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.card-media.bundle-media { overflow: hidden; }
.bundle-media-grid {
  width: 100%;
  aspect-ratio: 4/3;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 2px;
  background: var(--border);
  border-radius: var(--r) var(--r) 0 0;
  overflow: hidden;
}
.bundle-media-grid img,
.bundle-media-empty {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.02));
}

.badge-row {
  position: absolute;
  bottom: 10px;
  left: 10px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  z-index: 2;
  /* Stop it ever creeping into the card text area below */
  max-width: calc(100% - 20px);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  font-family: var(--fm);
  font-size: .55rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
  position: relative;
  z-index: 2;
}

.badge-accent {
  background: #fff;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}

.badge-gold {
  background: #fff;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}

.badge-muted {
  background: #fff;
  color: var(--muted);
  border: 1.5px solid var(--border2);
}

.card-wishlist { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; background: rgba(255,255,255,.92); backdrop-filter: var(--blur-sm); border: 1px solid rgba(0,0,0,.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .2s; color: var(--muted); font-size: .85rem; -webkit-tap-highlight-color: transparent; }
.card-wishlist:hover { color: var(--danger); border-color: var(--danger); }
.card-wishlist.active { color: var(--danger); border-color: rgba(217,48,37,.3); background: rgba(217,48,37,.06); }

.card-body { padding: 22px; background: var(--bg); display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-family: var(--fd); font-size: 1.3rem; font-weight: 400; margin-bottom: 8px; letter-spacing: -.005em; color: var(--text); }
.card-body p.muted {
  color: var(--muted);
  font-size: .87rem;
  line-height: 1.65;
  margin-bottom: 16px;
  min-height: 3.3em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-body > .price { margin-top: auto; }

.meta { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.meta span { font-family: var(--fm); font-size: .58rem; letter-spacing: .08em; color: var(--muted); background: var(--surface); padding: 3px 10px; border-radius: 999px; border: 1px solid var(--border); }

.card-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.price { font-family: var(--fd); font-size: 1.9rem; font-weight: 300; color: var(--gold); }

.type-tag { font-family: var(--fm); font-size: .54rem; letter-spacing: .16em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; font-weight: 700; display: inline-flex; align-items: center; gap: 5px; }
.type-tag.series { background: rgba(212,120,15,.08); color: var(--accent); border: 1px solid rgba(212,120,15,.25); }
.type-tag.collection { background: rgba(154,122,58,.08); color: var(--gold); border: 1px solid rgba(154,122,58,.25); }
.type-tag::before { content: ''; display: inline-block; width: 4px; height: 4px; border-radius: 50%; }
.type-tag.series::before { background: var(--accent); }
.type-tag.collection::before { background: var(--gold); }

/* ── SKELETON ── */
.skeleton { background: rgba(0,0,0,.07); border-radius: 8px; animation: skPulse 1.5s ease-in-out infinite; }
@keyframes skPulse { 0%,100% { opacity: .6; } 50% { opacity: 1; } }

/* ══════════════════════════════════════════
   BUNDLE CARDS
   ══════════════════════════════════════════ */
.bundle-card { display: flex; flex-direction: column; padding: 0; }
.bundle-card-inner { padding: 22px; flex: 1; }
.bundle-includes { padding: 13px 22px; background: var(--bg1); border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 5px; }
.bundle-includes span { font-family: var(--fm); font-size: .61rem; letter-spacing: .06em; color: var(--muted); display: flex; align-items: center; gap: 9px; }
.bundle-includes span::before { content: '→'; color: var(--gold); }
.bundle-card .card-actions { padding: 14px 22px; border-top: 1px solid var(--border); margin: 0; }

.price-oos {
  color: #6f6a63;
  font-size: 1.35rem;
  font-family: var(--fm);
  letter-spacing: .08em;
  text-transform: uppercase;
}


.product-hero--oos {
  opacity: 1;
  filter: none;
}
.product-hero--oos .product-price-main {
  font-family: var(--fm);
  font-size: 1.2rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--danger);
}
.product-price-main.is-out-of-stock {
  font-family: var(--fm);
  font-size: 1.2rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--danger);
}

/* ══════════════════════════════════════════
   FILTER BAR
   ══════════════════════════════════════════ */
.filter-bar { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 28px; align-items: center; }
.filter-pill { font-family: var(--fm); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; padding: 7px 16px; border-radius: 999px; border: 1px solid var(--border2); background: transparent; color: var(--muted); cursor: pointer; transition: all .2s; -webkit-tap-highlight-color: transparent; }
.filter-pill:hover { color: var(--text); background: var(--surface); }
.filter-pill.active { color: var(--text); background: var(--surface2); border-color: var(--border3); }
.stock-toggle-pill { display: inline-flex; align-items: center; gap: 8px; text-transform: none; letter-spacing: .04em; }
.stock-toggle-pill input { accent-color: var(--accent); }

.search-wrap { position: relative; flex: 1; min-width: 180px; max-width: 280px; }
.search-input { width: 100%; padding: 9px 14px 9px 36px; background: var(--surface); border: 1px solid var(--border2); border-radius: 999px; color: var(--text); font-family: var(--fu); font-size: .85rem; outline: none; transition: border-color .2s, box-shadow .2s; }
.search-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(212,120,15,.08); }
.search-input::placeholder { color: var(--muted); }
.search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }

/* ══════════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════════ */
.testimonials { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px,1fr)); gap: 14px; }
.testimonial { background: var(--bg1); border: 1px solid var(--border); border-radius: var(--r); padding: 26px; transition: box-shadow .2s, border-color .2s; }
.testimonial:hover { box-shadow: 0 8px 28px rgba(0,0,0,.07); border-color: var(--border2); }
.testimonial-stars { color: var(--gold); font-size: .85rem; letter-spacing: 3px; margin-bottom: 12px; }
.testimonial-text { color: var(--muted); font-size: .89rem; line-height: 1.72; margin-bottom: 16px; font-style: italic; }
.testimonial-author { font-size: .77rem; font-weight: 700; letter-spacing: .04em; color: var(--text2); }

/* ══════════════════════════════════════════
   PRODUCT PAGE
   ══════════════════════════════════════════ */
.product-wrap { max-width: 1200px; margin: 0 auto; padding: clamp(32px,5vw,56px) clamp(16px,4vw,28px) 100px; }
.breadcrumbs { display: flex; align-items: center; gap: 10px; font-family: var(--fm); font-size: .62rem; letter-spacing: .1em; color: var(--muted); margin-bottom: 44px; text-transform: uppercase; overflow-x: auto; white-space: nowrap; padding-bottom: 2px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; transition: color .15s; -webkit-tap-highlight-color: transparent; }
.breadcrumbs a:hover { color: var(--text); }

.product-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; margin-bottom: 80px; }
.product-media { position: relative; }
.product-media img { width: 100%; border-radius: var(--r); display: block; border: 1px solid var(--border); }

.product-info h2 { font-family: var(--fd); font-size: clamp(2.2rem,4vw,3.2rem); font-weight: 300; line-height: 1.08; margin-bottom: 8px; letter-spacing: -.01em; color: var(--text); }
.product-tagline { color: var(--muted); margin-bottom: 24px; font-size: .93rem; }
.product-price-row { display: flex; align-items: baseline; gap: 14px; margin-bottom: 28px; }
.product-price-main { font-family: var(--fd); font-size: 2.8rem; font-weight: 300; color: var(--gold); }
.product-price-range { font-family: var(--fm); font-size: .7rem; color: var(--muted); }

.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border-radius: var(--rs); overflow: hidden; margin-bottom: 28px; border: 1px solid var(--border); }
.spec { background: var(--bg1); padding: 13px 15px; display: flex; flex-direction: column; gap: 3px; }
.spec span { font-family: var(--fm); font-size: .57rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.spec strong { font-size: .87rem; font-weight: 600; color: var(--text); }

.qty-control { display: flex; align-items: center; background: var(--bg1); border: 1px solid var(--border2); border-radius: var(--rs); overflow: hidden; width: fit-content; }
.qty-btn { background: transparent; border: none; color: var(--text); width: 40px; height: 40px; font-size: 1rem; cursor: pointer; transition: background .15s; display: flex; align-items: center; justify-content: center; -webkit-tap-highlight-color: transparent; }
.qty-btn:hover { background: var(--surface); }
.qty-num { width: 44px; text-align: center; font-family: var(--fm); font-size: .88rem; color: var(--text); }

.product-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }

.notice { background: rgba(212,120,15,.05); border: 1px solid rgba(212,120,15,.18); border-radius: var(--rs); padding: 13px 15px; font-size: .83rem; color: var(--muted); line-height: 1.65; margin-bottom: 20px; }

/* ══════════════════════════════════════════
   TOAST
   ══════════════════════════════════════════ */
#toast-container { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 300; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { background: rgba(10,10,10,.94); backdrop-filter: var(--blur); border: 1px solid rgba(0,0,0,.15); border-left: 3px solid var(--success); color: #f5f5f7; padding: 11px 20px; border-radius: var(--rs); font-size: .83rem; font-weight: 600; box-shadow: 0 14px 40px rgba(0,0,0,.22); animation: toastIn .28s cubic-bezier(.22,1,.36,1), toastOut .28s ease 2.2s forwards; white-space: nowrap; max-width: calc(100vw - 48px); text-align: center; }
@keyframes toastIn  { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes toastOut { from { opacity: 1; } to { opacity: 0; transform: translateY(-6px); } }

/* ══════════════════════════════════════════
   BASKET DRAWER
   ══════════════════════════════════════════ */
#basket-overlay {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 10, .34);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none;
  transition: opacity .32s ease;
  z-index: 145;
}
#basket-overlay.open { opacity: 1; pointer-events: auto; }

#basket-drawer {
  position: fixed;
  top: var(--nav-h);
  right: 0;
  width: min(100vw, 520px);
  height: calc(100dvh - var(--nav-h));
  background: var(--surface);
  border-left: 1px solid var(--border);
  transform: translateX(102%);
  transition: transform .4s cubic-bezier(.22,.8,.2,1);
  z-index: 150;
  display: flex; flex-direction: column;
  will-change: transform;
  box-shadow: -26px 0 72px rgba(10,10,10,.14);
}
#basket-drawer.open { transform: translateX(0); }

/* Header */
/* Scrollable body */
.drawer-body {
  flex: 1; overflow-y: auto;
  padding: 20px 32px 24px;
  -webkit-overflow-scrolling: touch;
}
.drawer-body::-webkit-scrollbar { width: 6px; }
.drawer-body::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 999px; }

/* Footer */
.drawer-footer {
  padding: 24px 32px 30px;
  border-top: 1px solid var(--border);
  background: var(--bg1);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ── Basket items ── */
.basket-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.basket-item:last-child { border-bottom: none; }

.basket-item-img {
  width: 92px; height: 92px;
  border-radius: var(--r);
  object-fit: cover;
  border: 1px solid var(--border2);
  display: block;
  background: var(--bg1);
}

.basket-item-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 2px;
  min-width: 0;
}

.basket-item-name {
  font-family: var(--fd);
  font-size: 1.18rem;
  font-weight: 400;
  line-height: 1.28;
  color: var(--text);
  letter-spacing: -.01em;
}
.basket-item-price {
  font-family: var(--fm);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Qty stepper */
.basket-item-qty {
  display: inline-flex; align-items: center;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 999px;
  width: fit-content;
  margin-top: 2px;
  overflow: hidden;
  padding: 2px;
}
.biq-btn {
  min-width: 38px; height: 38px;
  background: transparent;
  border: none;
  color: var(--text);
  cursor: pointer;
  font-size: 1rem;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .18s, color .18s;
  -webkit-tap-highlight-color: transparent;
  border-radius: 999px;
  flex-shrink: 0;
}
.biq-btn:hover {
  background: var(--bg1);
  color: var(--accent);
}
.biq-num {
  font-family: var(--fu);
  font-size: .82rem;
  min-width: 36px;
  text-align: center;
  color: var(--text);
  user-select: none;
  padding: 0 4px;
}

/* Delete button */
.basket-item-remove {
  margin-top: 4px;
  width: fit-content;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border2);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px;
  font-family: var(--fm);
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  -webkit-tap-highlight-color: transparent;
}
.basket-item-remove::after {
  content: 'Remove';
}
.basket-item-remove:hover {
  background: rgba(217, 48, 37, .08);
  border-color: rgba(217, 48, 37, .35);
  color: var(--danger);
}
.basket-item-remove:active { transform: translateY(1px); }

/* ── Order summary ── */
.basket-summary {
  display: flex; flex-direction: column;
  gap: 14px;
  margin-bottom: 2px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--rs);
  background: var(--surface);
}
.basket-summary-row {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 16px;
  font-size: .9rem;
  line-height: 1.4;
}
.basket-summary-row span {
  color: var(--muted);
  font-family: var(--fm);
  font-size: .66rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.basket-summary-row strong {
  color: var(--text);
  font-weight: 600;
}

.basket-summary-row.total {
  border-top: 1px solid var(--border2);
  padding-top: 16px;
  margin-top: 2px;
}
.basket-summary-row.total span { color: var(--text); }
.basket-summary-row.total strong {
  font-family: var(--fd);
  font-size: 2rem;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: -.01em;
}

/* Active basket JS class support */
.basket-item {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.basket-item:last-child { border-bottom: 0; }
.bi-img {
  width: 84px;
  height: 84px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--bg1);
  border: 1px solid var(--border2);
}
.bi-img-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.bi-info { min-width: 0; }
.bi-name {
  font-family: var(--fd);
  font-size: 1.1rem;
  line-height: 1.2;
}
.bi-price {
  margin-top: 5px;
  color: var(--muted);
  font-family: var(--fm);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.bi-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.bi-controls .qty-btn {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border2);
  border-radius: 999px;
  background: var(--bg);
  font-size: 1rem;
  touch-action: manipulation;
}
.bi-controls .qty-btn:hover { background: var(--surface); }
.qty-val {
  min-width: 28px;
  text-align: center;
  font-family: var(--fm);
  font-size: .82rem;
}
.bi-remove {
  border: 1px solid var(--border2);
  border-radius: 999px;
  background: var(--bg1);
  color: var(--muted);
  width: auto;
  min-height: 34px;
  padding: 4px 10px;
  font-size: .62rem;
  font-family: var(--fm);
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  touch-action: manipulation;
}
.bi-remove:hover {
  border-color: rgba(217, 48, 37, .35);
  color: var(--danger);
  background: rgba(217, 48, 37, .08);
}
.bsum-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
}
.bsum-row > span:first-child {
  color: var(--muted);
  font-family: var(--fm);
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: .64rem;
}
.bsum-row.bsum-total {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border2);
}
.bsum-row.bsum-total strong {
  font-family: var(--fd);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--gold);
}
.promo-row {
  display: flex;
  gap: 10px;
}
.promo-btn {
  min-height: 48px;
  border: 0;
  border-radius: var(--rs);
  background: #111;
  color: #fff;
  padding: 0 18px;
  font-family: var(--fu);
  font-size: .74rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
}
.promo-btn:hover { background: var(--accent); }
.basket-clear-row {
  display: flex;
  justify-content: flex-end;
  padding-top: 12px;
}
.basket-clear-btn {
  border: 1px solid var(--border2);
  border-radius: 999px;
  background: transparent;
  min-height: 34px;
  padding: 4px 12px;
  color: var(--muted);
  font-family: var(--fm);
  font-size: .62rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
}
.basket-clear-btn:hover {
  color: var(--danger);
  border-color: rgba(217,48,37,.35);
  background: rgba(217,48,37,.08);
}
.promo-applied {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: var(--rs);
  border: 1px solid rgba(26,158,64,.22);
  background: rgba(26,158,64,.05);
}
.promo-applied button {
  border: 0;
  background: transparent;
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--success);
  font-weight: 700;
  cursor: pointer;
}

.shipping-note {
  font-family: var(--fm);
  font-size: .6rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-bottom: 2px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.shipping-note::before {
  content: '•';
  color: var(--accent);
  font-size: .7rem;
}

/* ── Empty state ── */
.empty-basket {
  text-align: center;
  padding: 72px 20px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.empty-basket-icon { font-size: 3rem; opacity: .2; margin-bottom: 4px; color: var(--muted); }
.empty-basket h3 {
  font-family: var(--fd); font-size: 1.6rem; font-weight: 400;
  color: var(--text); letter-spacing: -.01em;
}
.empty-basket p { color: var(--muted); font-size: .92rem; max-width: 25ch; line-height: 1.65; }

/* ══════════════════════════════════════════
   CHECKOUT
   ══════════════════════════════════════════ */

/* Progress steps */
.checkout-steps {
  display: flex; gap: 0;
  margin-bottom: 28px;
  border-radius: var(--rs);
  overflow: hidden;
  border: 1px solid var(--border);
}
.checkout-step {
  flex: 1; text-align: center;
  font-family: var(--fm); font-size: .58rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
  padding: 11px 8px;
  border-right: 1px solid var(--border);
  background: var(--bg1);
  transition: color .2s, background .2s;
}
.checkout-step:last-child { border-right: none; }
.checkout-step.active {
  color: var(--accent);
  background: rgba(212,120,15,.04);
  font-weight: 700;
}
.checkout-step.done {
  color: var(--success);
  background: rgba(26,158,64,.03);
}

/* Promo code row */
.promo-wrap {
  display: flex; gap: 10px;
  margin-bottom: 14px;
}
.promo-input {
  flex: 1;
  padding: 13px 16px;
  background: var(--bg);
  border: 1px solid var(--border2);
  border-radius: var(--rs);
  color: var(--text);
  font-family: var(--fm); font-size: 16px;
  letter-spacing: .1em; text-transform: uppercase;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  min-height: 48px;
}
.promo-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212,120,15,.08);
}
.promo-input::placeholder { text-transform: none; letter-spacing: 0; color: var(--muted); }

/* Apply button — proper pill button */
.promo-apply-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 22px;
  min-height: 48px;
  background: var(--text);
  color: #fff;
  border: none;
  border-radius: var(--rs);
  font-family: var(--fu); font-size: .72rem;
  font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  cursor: pointer; white-space: nowrap;
  transition: background .2s, transform .18s, box-shadow .2s;
  -webkit-tap-highlight-color: transparent;
}
.promo-apply-btn:hover {
  background: var(--accent);
  box-shadow: 0 6px 20px rgba(212,120,15,.28);
  transform: translateY(-1px);
}
.promo-apply-btn:active { transform: scale(.97); }
.promo-apply-btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

/* Active promo badge */
.promo-badge {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(26,158,64,.05);
  border: 1px solid rgba(26,158,64,.2);
  border-radius: var(--rs);
  padding: 12px 16px;
  margin-bottom: 14px;
  font-size: .84rem;
}
.promo-badge-left { display: flex; align-items: center; gap: 9px; color: var(--success); font-weight: 600; }
.promo-badge-remove {
  background: transparent; border: none;
  color: var(--muted); cursor: pointer;
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s;
  -webkit-tap-highlight-color: transparent;
}
.promo-badge-remove:hover { background: rgba(217,48,37,.08); color: var(--danger); }
.promo-error { color: var(--danger); font-size: .78rem; margin: -6px 0 10px; display: none; }

/* Form fields */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.form-group {
  display: flex; flex-direction: column; gap: 7px;
  margin-bottom: 14px;
}
.form-label {
  font-family: var(--fm); font-size: .6rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.form-input {
  width: 100%;
  padding: 13px 16px;
  min-height: 48px;
  background: var(--bg1);
  border: 1px solid var(--border2);
  border-radius: var(--rs);
  color: var(--text);
  font-family: var(--fu); font-size: .92rem;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
}
.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212,120,15,.09);
}
.form-input::placeholder { color: var(--muted); }
.form-select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px; cursor: pointer;
}

/* Stripe + secure note */
.stripe-secure-note {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--fm); font-size: .6rem;
  letter-spacing: .08em; color: var(--muted);
  margin-bottom: 16px;
}
#stripe-payment-element {
  background: var(--bg1);
  border: 1px solid var(--border2);
  border-radius: var(--rs);
  padding: 16px;
  margin-bottom: 14px;
  min-height: 80px;
}
#stripe-error {
  color: var(--danger); font-size: .82rem;
  margin-bottom: 12px; min-height: 1.2em;
}

/* Spinner */
.spin {
  display: inline-block; width: 14px; height: 14px;
  border: 2px solid var(--border2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Checkout action buttons — full-width, generous height */
.checkout-btn-primary {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  width: 100%;
  padding: 16px 24px;
  min-height: 54px;
  background: var(--text);
  color: #fff;
  border: none; border-radius: 999px;
  font-family: var(--fu); font-size: .78rem;
  font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  cursor: pointer;
  transition: background .22s, transform .18s, box-shadow .22s;
  -webkit-tap-highlight-color: transparent;
  margin-top: 4px;
}
.checkout-btn-primary:hover {
  background: var(--accent);
  box-shadow: 0 8px 28px rgba(212,120,15,.3);
  transform: translateY(-1px);
}
.checkout-btn-primary:active { transform: scale(.98); }
.checkout-btn-primary:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

.checkout-btn-secondary {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
  padding: 14px 24px;
  min-height: 48px;
  background: transparent;
  color: var(--text2);
  border: 1.5px solid var(--border2);
  border-radius: 999px;
  font-family: var(--fu); font-size: .72rem;
  font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  cursor: pointer;
  transition: background .18s, border-color .18s, color .18s;
  -webkit-tap-highlight-color: transparent;
  margin-top: 8px;
}
.checkout-btn-secondary:hover {
  background: var(--surface);
  border-color: var(--border3);
  color: var(--text);
}

/* Order success */
.order-success {
  text-align: center;
  padding: 36px 12px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.order-success-icon {
  width: 68px; height: 68px;
  background: rgba(26,158,64,.08);
  border: 1px solid rgba(26,158,64,.22);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 4px;
}
.order-success h3 {
  font-family: var(--fd); font-size: 2rem;
  font-weight: 300; color: var(--text);
  letter-spacing: -.02em;
}
.order-success p { color: var(--muted); font-size: .9rem; line-height: 1.75; max-width: 28ch; }
.order-ref {
  font-family: var(--fm); font-size: .7rem;
  letter-spacing: .12em; color: var(--accent);
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 10px;
  padding: 12px 20px;
  margin-top: 4px;
  width: fit-content;
}

/* ══════════════════════════════════════════
   INNER PAGES
   ══════════════════════════════════════════ */
.inner-page-hero { padding: 68px clamp(16px,4vw,28px) 52px; max-width: 760px; margin: 0 auto; text-align: center; }
.inner-page-hero h1 { font-family: var(--fd); font-size: clamp(2.2rem,5vw,3.8rem); font-weight: 300; letter-spacing: -.02em; line-height: 1.08; margin-bottom: 16px; color: var(--text); }
.inner-page-hero p { color: var(--muted); font-size: .97rem; line-height: 1.75; max-width: 520px; margin: 0 auto; }

.content-block { max-width: 820px; margin: 0 auto; padding: 0 clamp(16px,4vw,28px) 80px; }
.content-card { background: var(--bg1); border: 1px solid var(--border); border-radius: 20px; padding: 28px; margin-bottom: 14px; }
.content-card h3 { font-family: var(--fd); font-size: 1.4rem; font-weight: 400; margin-bottom: 8px; color: var(--text); }
.content-card p { color: var(--muted); font-size: .91rem; line-height: 1.75; }

.faq-item { border: 1px solid var(--border); border-radius: 16px; margin-bottom: 9px; overflow: hidden; background: var(--bg); transition: border-color .2s; }
.faq-item.open { border-color: var(--border2); }
.faq-q { width: 100%; background: transparent; border: none; text-align: left; padding: 18px 22px; font: inherit; font-size: .94rem; font-weight: 700; color: var(--text); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; transition: background .15s; -webkit-tap-highlight-color: transparent; }
.faq-q:hover { background: var(--bg1); }
.faq-chevron { width: 20px; height: 20px; border-radius: 50%; background: var(--surface); display: flex; align-items: center; justify-content: center; font-size: .68rem; flex-shrink: 0; transition: transform .25s cubic-bezier(.22,1,.36,1), background .2s; }
.faq-item.open .faq-chevron { transform: rotate(180deg); background: var(--accent); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s cubic-bezier(.22,1,.36,1); }
.faq-a-inner { padding: 0 22px 18px; color: var(--muted); font-size: .9rem; line-height: 1.75; }
.faq-layout { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: start; }
.faq-sidebar { position: sticky; top: calc(var(--nav-h) + 24px); }
.faq-nav-item {
  display: block; padding: 8px 12px; border-radius: var(--rs);
  color: var(--muted); font-size: .85rem; text-decoration: none;
  transition: background .15s, color .15s;
}
.faq-nav-item:hover, .faq-nav-item.active { background: var(--surface); color: var(--text); }
.faq-group { margin-bottom: 48px; }
.faq-group-title { font-family: var(--fd); font-size: 1.6rem; font-weight: 300; margin-bottom: 18px; }

.contact-form { display: flex; flex-direction: column; gap: 13px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 13px 15px; background: var(--bg); border: 1px solid var(--border2); border-radius: 14px; font: inherit; font-size: .9rem; color: var(--text); outline: none; transition: border-color .2s, box-shadow .2s; resize: vertical; -webkit-appearance: none; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(212,120,15,.1); }
.contact-form textarea { min-height: 110px; }
.contact-success { text-align: center; padding: 36px; background: rgba(26,158,64,.04); border: 1px solid rgba(26,158,64,.16); border-radius: 20px; }

.shipping-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 14px; margin: 22px 0; }
.shipping-box { background: var(--bg1); border: 1px solid var(--border); border-radius: 18px; padding: 22px; text-align: center; }
.shipping-box-icon { font-size: 1.8rem; margin-bottom: 10px; }
.shipping-box h4 { font-family: var(--fd); font-size: 1.05rem; font-weight: 400; margin-bottom: 5px; color: var(--text); }
.shipping-box p { color: var(--muted); font-size: .83rem; line-height: 1.65; }
.shipping-table-wrap { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; margin-bottom: 32px; padding: 24px; }
.shipping-table { width: 100%; border-collapse: collapse; margin-bottom: 32px; }
.shipping-table th { font-family: var(--fm); font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding: 10px 16px; text-align: left; border-bottom: 1px solid var(--border2); }
.shipping-table td { padding: 13px 16px; font-size: .87rem; color: var(--text2); border-bottom: 1px solid var(--border); }
.shipping-table tr:last-child td { border-bottom: none; }

.info-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 14px; margin: 32px 0; }
.info-card { background: var(--bg1); border: 1px solid var(--border); border-radius: var(--r); padding: 24px; }
.info-card h3 { font-family: var(--fd); font-size: 1.2rem; font-weight: 400; margin-bottom: 8px; }
.info-card p { color: var(--muted); font-size: .88rem; line-height: 1.7; }
.info-section-title { font-family: var(--fd); font-size: 1.8rem; font-weight: 300; margin-bottom: 12px; letter-spacing: -.01em; }

.returns-steps { display: flex; flex-direction: column; gap: 10px; margin: 22px 0; }
.returns-step { display: flex; gap: 18px; align-items: flex-start; padding: 18px 22px; background: var(--bg1); border: 1px solid var(--border); border-radius: 18px; }
.returns-step-num { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--gold2)); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--fm); font-size: .76rem; font-weight: 700; flex-shrink: 0; }
.returns-step h4, .returns-step h3 { font-size: .88rem; font-weight: 700; margin-bottom: 3px; color: var(--text); }
.returns-step p { color: var(--muted); font-size: .85rem; line-height: 1.6; }
.returns-step-body { min-width: 0; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-image-wrap { border-radius: var(--r); overflow: hidden; }
.about-img { width: 100%; display: block; object-fit: cover; border-radius: var(--r); border: 1px solid var(--border); }
.values-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 16px; }
.value-card { background: var(--bg1); border: 1px solid var(--border); border-radius: var(--r); padding: 28px; }
.value-icon { font-size: 1.4rem; color: var(--gold); margin-bottom: 14px; }
.value-card h3 { font-family: var(--fd); font-size: 1.2rem; font-weight: 400; margin-bottom: 8px; }
.value-card p { color: var(--muted); font-size: .87rem; line-height: 1.7; }

.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px,1fr)); gap: 14px; }
.skeleton-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.card-media-sk, .sk {
  background: linear-gradient(90deg,#f0ede8 25%,#e8e3db 50%,#f0ede8 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
}
.card-media-sk { width: 100%; aspect-ratio: 4/3; }
.card-body-sk { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.sk { height: 16px; border-radius: 6px; }
.sk-sm { height: 12px; width: 60%; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ══════════════════════════════════════════
   PRESS
   ══════════════════════════════════════════ */
.press-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); gap: 14px; margin: 28px 0; }
.press-logo-card { background: var(--bg1); border: 1px solid var(--border); border-radius: 16px; height: 76px; display: flex; align-items: center; justify-content: center; font-family: var(--fd); font-size: 1.05rem; color: var(--muted); letter-spacing: .04em; transition: border-color .2s, color .2s; }
.press-logo-card:hover { border-color: var(--border2); color: var(--text2); }

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
footer { border-top: 1px solid var(--border); background: var(--bg1); padding: clamp(40px,6vw,64px) clamp(16px,4vw,28px) 40px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
.footer-brand p { color: var(--muted); font-size: .84rem; margin-top: 13px; line-height: 1.7; max-width: 240px; }
.footer-col h4 { font-family: var(--fm); font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--muted); text-decoration: none; font-size: .87rem; margin-bottom: 11px; transition: color .15s; }
.footer-col a:hover { color: var(--text); }
.footer-logo, .footer-logo-img { display: block; width: 160px; max-width: 100%; height: auto; }
.footer-bottom { max-width: 1200px; margin: 36px auto 0; padding-top: 22px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-family: var(--fm); font-size: .58rem; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }

/* ══════════════════════════════════════════
   BACK TO TOP
   ══════════════════════════════════════════ */
#back-to-top { position: fixed; bottom: 32px; right: 24px; width: 40px; height: 40px; background: var(--bg); border: 1px solid var(--border2); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; transform: translateY(10px); transition: opacity .25s, transform .25s, border-color .2s, box-shadow .2s; z-index: 90; font-size: .88rem; color: var(--muted); box-shadow: 0 2px 12px rgba(0,0,0,.08); -webkit-tap-highlight-color: transparent; }
#back-to-top.visible { opacity: 1; transform: translateY(0); }
#back-to-top:hover { border-color: var(--accent); color: var(--accent); box-shadow: 0 4px 18px rgba(212,120,15,.2); }

/* ══════════════════════════════════════════
   STICKY ADD BAR
   ══════════════════════════════════════════ */
.sticky-add-bar { position: sticky; bottom: 0; background: rgba(255,255,255,.95); backdrop-filter: var(--blur); border-top: 1px solid var(--border); padding: 14px 22px; display: flex; align-items: center; justify-content: space-between; gap: 14px; z-index: 50; transform: translateY(100%); transition: transform .3s cubic-bezier(.22,1,.36,1); box-shadow: 0 -4px 20px rgba(0,0,0,.06); }
.sticky-add-bar.visible { transform: translateY(0); }
.sticky-add-bar-name { font-family: var(--fd); font-size: 1.1rem; font-weight: 300; color: var(--text); }
.sticky-add-bar-price { font-family: var(--fd); font-size: 1.3rem; color: var(--gold); }

/* ══════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════ */
@keyframes orbitPulse  { 0%,100% { box-shadow: 0 0 12px rgba(212,120,15,.4); } 50% { box-shadow: 0 0 24px rgba(212,120,15,.7), 0 0 48px rgba(212,120,15,.2); } }
@keyframes glowPulse   { 0%,100% { filter: brightness(1); } 50% { filter: brightness(1.06); } }
@keyframes blink       { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
@keyframes nebulaDrift { 0%,100% { transform: scale(1) translate(0,0); } 33% { transform: scale(1.025) translate(-.6%,.4%); } 66% { transform: scale(1.015) translate(.4%,-.6%); } }
@keyframes fadeUp      { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.afu  { animation: fadeUp .7s cubic-bezier(.22,1,.36,1) both; }
.d1   { animation-delay: .1s; }
.d2   { animation-delay: .22s; }
.d3   { animation-delay: .36s; }
.d4   { animation-delay: .52s; }

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 860px) {
  .product-hero { grid-template-columns: 1fr; gap: 28px; }
  .nav-links { display: none; }
  .mobile-menu-toggle { display: flex; }
  .mobile-menu-shell { display: block; }
}
@media (max-width: 700px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-sidebar { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .product-actions { flex-direction: column; }
  .basket-item { grid-template-columns: 52px 1fr auto; }
}

/* ══════════════════════════════════════════
   APPENDED INTEGRATION LAYER
   ══════════════════════════════════════════ */
body.panel-open { overflow: hidden; }

.nav-logo-mark { display: none !important; }

/* ── Burger button ── */
.burger-btn {
  display: none;
  width: 44px;
  height: 44px;
  min-width: 44px;          /* never shrinks on tiny phones */
  flex-shrink: 0;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px rgba(0,0,0,.08), inset 0 1px 0 rgba(255,255,255,.85);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  position: relative;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.burger-btn:hover { background: rgba(255,255,255,.94); border-color: rgba(0,0,0,.14); }
.burger-btn:active { transform: scale(.96); }
.burger-btn span {
  position: absolute;
  width: 16px;
  height: 1.8px;
  border-radius: 999px;
  background: #111;
  transition: transform .24s ease, opacity .2s ease, top .24s ease;
}
.burger-btn span:nth-child(1) { top: 14px; }
.burger-btn span:nth-child(2) { top: 20px; }
.burger-btn span:nth-child(3) { top: 26px; }
.burger-btn.open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.burger-btn.open span:nth-child(2) { opacity: 0; }
.burger-btn.open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* ── Mobile backdrop ── */
.mobile-backdrop {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 940;
}
.mobile-backdrop.open {
  display: block;
  background: rgba(0,0,0,.3);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* ── Mobile panel ── */
.mobile-panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100svh;
  /* Never wider than 92vw so there's always a visible sliver of page on tiny phones */
  width: min(320px, 92vw);
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  border-left: 1px solid rgba(255,255,255,.72);
  box-shadow: -24px 0 64px rgba(0,0,0,.16), inset 1px 0 0 rgba(255,255,255,.82);
  z-index: 950;
  transform: translateX(110%);
  transition: transform .28s cubic-bezier(.22,1,.36,1);
  display: flex;
  flex-direction: column;
  padding-right: env(safe-area-inset-right, 0px);
}
.mobile-panel.open { transform: translateX(0); }

.mp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: max(20px, calc(env(safe-area-inset-top, 0px) + 12px)) 18px 14px;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.mp-head h3,
.mp-title {
  font-family: var(--fd);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -.02em;
  color: #111;
}
.mp-close {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  color: #111;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  line-height: 1;
  transition: transform .18s ease, background .18s ease;
  -webkit-tap-highlight-color: transparent;
}
.mp-close:hover { background: rgba(255,255,255,.95); }
.mp-close:active { transform: scale(.96); }

.mp-body {
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 14px;
  padding-bottom: max(24px, env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mp-section-label {
  font-family: var(--fm);
  font-size: .54rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(0,0,0,.38);
  padding: 16px 10px 5px;
}
.mp-divider { height: 1px; background: rgba(0,0,0,.07); margin: 6px 6px; }

.mp-item,
.mp-basket-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  min-height: 52px;
  border-radius: 14px;
  color: #111;
  text-decoration: none;
  border: 1px solid transparent;
  background: transparent;
  font: inherit;
  font-size: .95rem;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, transform .16s ease;
  -webkit-tap-highlight-color: transparent;
}
.mp-item:hover,
.mp-basket-row:hover { background: rgba(0,0,0,.04); border-color: rgba(0,0,0,.06); }
.mp-item:active,
.mp-basket-row:active { transform: scale(.99); background: rgba(0,0,0,.07); }
.mp-item-active { background: rgba(0,0,0,.05); border-color: rgba(0,0,0,.08) !important; }

.mp-badge {
  min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: 999px; background: #f08c1a; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .6rem; font-weight: 800; line-height: 1;
}

/* ── Desktop "More" dropdown ── */
.nav-more-wrap { position: relative; }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 220px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255,255,255,.84);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: 0 24px 56px rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.88);
  display: none;
  z-index: 930;
}
.nav-more-wrap.open .nav-dropdown { display: block; }
.ndd-section {
  font-family: var(--fm);
  font-size: .52rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(0,0,0,.34);
  padding: 8px 12px 4px;
}
.ndd-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 12px;
  border-radius: 12px;
  color: #111;
  text-decoration: none;
  background: transparent;
  transition: background .16s ease;
}
.ndd-item:hover { background: rgba(0,0,0,.05); }
.ndd-item:focus-visible { background: rgba(0,0,0,.08); }
.ndd-divider { height: 1px; background: rgba(0,0,0,.07); margin: 6px 4px; }

/* ── Inner hero (collections, help pages, etc.) ── */
.inner-hero { padding: 80px clamp(16px,4vw,28px) 52px; text-align: center; }
.inner-hero > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.inner-hero h1 {
  font-family: var(--fd);
  font-size: clamp(2.2rem,5vw,3.8rem);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -.02em;
  color: #111;
}

/* ── Show burger on mobile breakpoint ── */
@media (max-width: 860px) {
  .burger-btn { display: inline-flex; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── Kill old legacy mobile menu classes ── */
.mobile-menu-toggle,
.mobile-menu-shell,
.mobile-menu,
.mobile-menu-backdrop { display: none !important; }

/* ── Nav polish ── */
#main-nav {
  backdrop-filter: blur(36px) saturate(220%);
  -webkit-backdrop-filter: blur(36px) saturate(220%);
}
#main-nav.nav-scrolled,
#main-nav.nav-solid { background: rgba(255,255,255,.97); box-shadow: 0 10px 50px rgba(0,0,0,.10); }
.nav-inner { display: flex; align-items: center; width: 100%; }
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  left: 12px; right: 12px; bottom: 4px;
  height: 1px;
  background: rgba(0,0,0,.22);
  opacity: 0;
  transform: scaleX(.6);
  transition: opacity .2s ease, transform .2s ease;
}
.nav-link:hover::after,
.nav-link.active::after { opacity: 1; transform: scaleX(1); }
.nav-basket-btn { box-shadow: 0 10px 40px rgba(0,0,0,.18); flex-shrink: 0; }
.nav-basket-btn:hover { transform: translateY(-2px); }

/* ── Very small phones ≤360px ── */
@media (max-width: 360px) {
  #main-nav {
    padding-left: max(8px, env(safe-area-inset-left));
    padding-right: max(8px, env(safe-area-inset-right));
  }
  .nav-inner { gap: 6px; }
  .burger-btn { width: 40px; height: 40px; min-width: 40px; }
  .nav-basket-btn { padding: 8px 10px; }
  .basket-btn-label { display: none; }
}

/* ── Small phones 361–420px ── */
@media (min-width: 361px) and (max-width: 420px) {
  #main-nav {
    padding-left: max(10px, env(safe-area-inset-left));
    padding-right: max(10px, env(safe-area-inset-right));
  }
  .nav-inner { gap: 8px; }
  .basket-btn-label { display: none; }
}

/* ── Basket/promo on small screens ── */
@media (max-width: 480px) {
  .promo-row { flex-direction: column; align-items: stretch; }
  .promo-input, .promo-btn { width: 100%; }
  .promo-btn { min-height: 48px; font-size: .85rem; border-radius: 12px; }
}

/* ══════════════════════════════════════════
   SHOP CARD — wall image crossfade
   ══════════════════════════════════════════ */
.card-media.card-has-wall { position: relative; overflow: hidden; touch-action: pan-y; }
.card-media.card-has-wall .card-img-main,
.card-media.card-has-wall .card-img-wall {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; will-change: opacity, transform;
}
.card-media.card-has-wall .card-img-main,
.card-media.card-has-wall[data-active-index="0"] .card-img-main {
  opacity: 1; transform: scale(1);
  transition: opacity .55s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
}
.card-media.card-has-wall .card-img-wall,
.card-media.card-has-wall[data-active-index="0"] .card-img-wall {
  opacity: 0; transform: scale(1.04);
  transition: opacity .55s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
}
.card-media.card-has-wall[data-active-index="1"] .card-img-main { opacity: 0; transform: scale(1.04); }
.card-media.card-has-wall[data-active-index="1"] .card-img-wall { opacity: 1; transform: scale(1); }
@media (hover: hover) {
  .card:hover .card-media.card-has-wall:not([data-active-index="1"]) .card-img-main { opacity: 0; transform: scale(1.04); }
  .card:hover .card-media.card-has-wall:not([data-active-index="1"]) .card-img-wall { opacity: 1; transform: scale(1); }
}
.card-media.card-has-wall  { position: relative; z-index: 3; }
.card-flick-dots {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 4;
  display: flex;
  gap: 6px;
  align-items: center;
}
.card-flick-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255,255,255,.46);
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}
.card-flick-dot.active {
  background: rgba(255,255,255,.96);
  transform: scale(1.22);
}
.card-media:not(.card-has-wall) img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s cubic-bezier(.22,1,.36,1);
}
@media (hover: hover) {
  .card:hover .card-media:not(.card-has-wall) img { transform: scale(1.06); }
}

/* ── Card price row (price left, deal badge right) ── */
.card-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
}

/* ── Deal badge shown on product cards ── */
.card-deal-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #c0392b;
  color: #fff;
  font-family: var(--fm);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
