/* ============================================================
   VELOSTEP GROWTH — Shoe Store Ecommerce Theme
   App Type: ecommerce | Tier: growth
   Palette: Near-Black #111 + Electric Lime #b8ff4a + Warm White #f7f7f2
   Fonts: Bebas Neue (display) + DM Sans (body) + JetBrains Mono (meta)
   ============================================================ */

/* ─── Variables ─────────────────────────────────────────── */
:root {
  --primary:       #111111;
  --secondary:     #1c1c1c;
  --accent:        #b8ff4a;
  --background:    #f7f7f2;
  --surface:       #eeede8;
  --text:          #111111;
  --text-inv:      #f7f7f2;
  --muted:         #777777;
  --border:        #e0dfda;
  --font-sans:     'DM Sans', system-ui, -apple-system, sans-serif;
  --font-display:  'Bebas Neue', 'Impact', sans-serif;
  --font-mono:     'JetBrains Mono', monospace;
  --radius:        3px;
  --radius-md:     8px;
  --radius-lg:     14px;
  --primary-dark:  #000000;
  --primary-light: #2a2a2a;
  --accent-dark:   #8fd420;
  --accent-light:  #d4ff8a;
  --trans:         0.28s cubic-bezier(0.23, 1, 0.32, 1);
  --trans-fast:    0.15s ease;
  --shadow-sm:     0 1px 8px rgba(0,0,0,0.05);
  --shadow:        0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg:     0 16px 48px rgba(0,0,0,0.14);
  --hdr-h:         72px;
}

/* ─── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-sans); background: var(--background); color: var(--text); line-height: 1.6; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
fieldset { border: none; }
img[src=""], img:not([src]) { display: none !important; }

/* ─── Base ──────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* data-list grid-transparency fix */
[data-list] { display: contents; }
.categories__grid > [data-list],
.products__grid > [data-list],
.testimonials__grid > [data-list],
.policies__grid > [data-list] { display: contents; }
/* post-conversion wrapper fallback */
.categories__grid > div:only-child,
.products__grid > div:only-child,
.testimonials__grid > div:only-child,
.policies__grid > div:only-child { display: contents; }

/* Typography */
.display-title { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.01em; }
.eyebrow { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.13em; opacity: 0.55; }
.section-title { font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 700; line-height: 1.15; }
.section-intro { margin-bottom: 3rem; }
.section-intro .eyebrow { display: block; margin-bottom: 0.6rem; }
.section-intro .section-title { margin-bottom: 0.65rem; }
.section-intro p { color: var(--muted); max-width: 500px; }
.section-intro--center { text-align: center; }
.section-intro--center p { margin: 0 auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.875rem 2rem; border: none; cursor: pointer;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  transition: transform var(--trans), background var(--trans), box-shadow var(--trans), color var(--trans);
  position: relative; white-space: nowrap;
}
.btn--primary { background: var(--accent); color: var(--primary); border-radius: var(--radius); color: oklch(from var(--accent) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(184,255,74,.28); }
.btn--outline { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); border-radius: var(--radius); }
.btn--outline:hover { background: var(--accent); color: var(--primary); transform: translateY(-2px); color: oklch(from var(--accent) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
.btn--dark { background: var(--primary); color: var(--text-inv); border-radius: var(--radius); }
.btn--dark:hover { background: var(--primary-light); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--text-inv); border: 1.5px solid rgba(255,255,255,0.25); border-radius: var(--radius); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--magnetic { transition: transform 0.3s cubic-bezier(0.23,1,0.32,1); }
.btn--icon-r svg { width: 16px; height: 16px; transition: transform var(--trans-fast); }
.btn--icon-r:hover svg { transform: translateX(3px); }

/* ─── Focus Visible ─────────────────────────────────────── */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--radius); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[data-section="header"] a:focus-visible, [data-section="header"] button:focus-visible { outline-color: var(--accent); }
[data-section="footer"] a:focus-visible { outline-color: var(--accent); }

/* ─── Skip Link ─────────────────────────────────────────── */
.skip-link { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { left: 16px; top: 16px; width: auto; height: auto; background: var(--accent); color: var(--primary); padding: 8px 16px; z-index: 9999; border-radius: var(--radius); font-weight: 700; color: oklch(from var(--accent) clamp(0, (0.57 - l) * 1000, 1) 0 0); }

/* ─── Scroll Progress ───────────────────────────────────── */
#scroll-progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--accent); z-index: 10001; width: 0; transition: width 0.08s linear; }

/* ─── Custom Cursor ─────────────────────────────────────── */
#cursor { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; }
.cursor__dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); transform: translate(-4px,-4px); }
.cursor__ring { position: absolute; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--accent); opacity: 0.5; transform: translate(-18px,-18px); transition: transform 0.15s ease, opacity 0.15s; }
body:has(a:hover) .cursor__ring, body:has(button:hover) .cursor__ring { transform: translate(-18px,-18px) scale(1.6); opacity: 0.8; }

/* ─── Back to Top ───────────────────────────────────────── */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px; width: 44px; height: 44px;
  background: var(--primary); color: var(--text-inv);
  border: 1.5px solid var(--accent); border-radius: 50%;
  font-size: 1.1rem; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; z-index: 900;
  transition: opacity var(--trans), transform var(--trans), background var(--trans);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-4px); background: var(--accent); color: var(--primary); color: oklch(from var(--accent) clamp(0, (0.57 - l) * 1000, 1) 0 0); }

/* ─── Header ────────────────────────────────────────────── */
[data-section="header"] {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  background: var(--background, rgba(247,247,242,.95));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  height: var(--hdr-h); display: flex; align-items: center;
  transition: border-color var(--trans), box-shadow var(--trans), background var(--trans);
}
[data-section="header"].scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
[data-section="header"] .container { width: 100%; }
[data-section="header"] nav { display: flex; align-items: center; justify-content: space-between; gap: 2rem; height: var(--hdr-h); }
.logo { display: flex; align-items: center; }
.logo img { height: 34px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.09em; color: var(--text); transition: color var(--trans-fast); }
.nav__links a:hover { color: var(--primary-light); }
.nav__actions { display: flex; align-items: center; gap: 0.75rem; }
.nav__cart-wrap { position: relative; }
.nav__cart-btn {
  position: relative; background: none; border: none; padding: 4px 8px;
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em;
  cursor: pointer; transition: color var(--trans-fast); color: var(--text);
}
.nav__cart-btn:hover { color: var(--primary-light); }
.nav__cart-btn svg { width: 22px; height: 22px; }
.nav__cart {
  position: absolute; top: -5px; right: -6px;
  background: var(--accent); color: var(--primary);
  font-size: 0.6rem; font-weight: 700; font-family: var(--font-mono);
  min-width: 18px; height: 18px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  line-height: 1; padding: 0 4px;
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1);
  color: oklch(from var(--accent) clamp(0, (0.57 - l) * 1000, 1) 0 0);
}
.nav__cart.bump { transform: scale(1.45); }
.nav__toggle { background: none; border: none; display: none; flex-direction: column; gap: 5px; padding: 6px; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform var(--trans), opacity var(--trans); }
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.nav__overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.55); opacity: 0; pointer-events: none; transition: opacity var(--trans); z-index: 998; }
.nav__overlay.open { opacity: 1; pointer-events: auto; }
.nav__mobile {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 90vw);
  background: var(--primary); color: var(--text-inv);
  padding: 88px 32px 40px; z-index: 999;
  transform: translateX(110%); transition: transform var(--trans);
  display: flex; flex-direction: column; gap: 0;
}
.nav__mobile.open { transform: translateX(0); }
.nav__mobile-close { position: absolute; top: 20px; right: 20px; background: none; border: none; color: var(--text-inv); font-size: 1.4rem; cursor: pointer; padding: 4px; }
.nav__mobile a { display: block; font-family: var(--font-display); font-size: 2.2rem; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.55rem 0; border-bottom: 1px solid rgba(255,255,255,.07); transition: color var(--trans-fast); }
.nav__mobile a:hover { color: var(--accent); }
.nav__mobile-cart { margin-top: 2rem; }

/* ─── Hero ──────────────────────────────────────────────── */
[data-section="hero"] {
  background: var(--primary); color: var(--text-inv);
  min-height: 100svh; padding-top: var(--hdr-h);
  display: flex; align-items: center;
  position: relative;
  /* `clip`, not `hidden`: this is the scrollTrigger `trigger` for the
     `.hero__img-frame img` parallax below. `overflow: hidden` here makes
     this section a SCROLL CONTAINER ancestor, which silently kills that
     descendant's view()-timeline — see les-overflow-hidden-section-
     becomes-scroll-container-and-kills-view-timelines. This section never
     scrolls internally, so `clip` is behaviourally identical. */
  overflow: clip;
}
.hero__bg-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 30px 30px; pointer-events: none;
}
.hero__bg-glow {
  position: absolute; bottom: -20%; right: -5%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(184,255,74,.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; padding: 5rem 0; width: 100%; }
.hero__content { position: relative; z-index: 2; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: rgba(184,255,74,.1); border: 1px solid rgba(184,255,74,.22);
  color: var(--accent); font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.38rem 0.9rem; border-radius: 999px; margin-bottom: 1.4rem;
}
.hero__badge::before { content: '●'; font-size: 0.48rem; animation: pulse-dot 2s ease infinite; }
@keyframes pulse-dot { 0%,100%{opacity:1} 50%{opacity:.25} }
.hero__eyebrow { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(247,247,242,.4); margin-bottom: 0.7rem; display: block; }
.hero__title { font-family: var(--font-display); font-size: clamp(4.5rem, 8.5vw, 8.5rem); line-height: 0.88; text-transform: uppercase; letter-spacing: 0.01em; margin-bottom: 1.4rem; }
.hero__title em { color: var(--accent); font-style: normal; display: block; }
.hero__subtitle { font-size: 1rem; line-height: 1.65; color: rgba(247,247,242,.6); max-width: 400px; margin-bottom: 2.5rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }

/* Hero visual */
.hero__visual { position: relative; z-index: 2; }
.hero__img-frame {
  position: relative; background: linear-gradient(140deg, rgba(184,255,74,.06) 0%, rgba(255,255,255,.025) 100%);
  border: 1px solid rgba(255,255,255,.06); border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  /* `clip`, not `hidden` — same view()-timeline reason as `[data-section="hero"]`
     above; this frame is the immediate ancestor of the parallaxed img. */
  overflow: clip;
}
.hero__img-frame img {
  width: 100%; aspect-ratio: 1; object-fit: contain;
  transform: rotate(-10deg) translateX(8%);
  transition: transform 0.7s cubic-bezier(0.23,1,0.32,1);
  filter: drop-shadow(0 40px 60px rgba(0,0,0,.65));
}
.hero__img-frame:hover img { transform: rotate(-5deg) translateX(5%) scale(1.04); }
.hero__deco-ring {
  position: absolute; top: 50%; left: 50%; border-radius: 50%;
  border: 1px solid rgba(184,255,74,.07);
  transform: translate(-50%,-50%); pointer-events: none;
}
.hero__deco-ring--1 { width: 85%; aspect-ratio: 1; }
.hero__deco-ring--2 { width: 60%; aspect-ratio: 1; border-color: rgba(184,255,74,.11); }
.hero__float {
  position: absolute; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(8px);
  border-radius: var(--radius-md); padding: 0.8rem 1.1rem;
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-inv);
}
.hero__float strong { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--accent); line-height: 1; }
.hero__float--a { bottom: 8%; left: -6%; }
.hero__float--b { top: 10%; right: -5%; }

/* Hero keyframe entrance */
@keyframes hFadeUp { from { opacity:0; transform:translateY(28px); } to { opacity:1; transform:translateY(0); } }
@keyframes hSlideIn { from { opacity:0; transform:translateX(36px); } to { opacity:1; transform:translateX(0); } }
.hero__badge    { animation: hFadeUp 0.6s ease both; animation-delay: 0.05s; }
.hero__eyebrow  { animation: hFadeUp 0.6s ease both; animation-delay: 0.15s; }
.hero__title    { animation: hFadeUp 0.7s ease both; animation-delay: 0.25s; }
.hero__subtitle { animation: hFadeUp 0.6s ease both; animation-delay: 0.4s; }
.hero__ctas     { animation: hFadeUp 0.6s ease both; animation-delay: 0.52s; }
.hero__visual   { animation: hSlideIn 0.8s ease both; animation-delay: 0.35s; }
@media (prefers-reduced-motion: reduce) {
  .hero__badge, .hero__eyebrow, .hero__title, .hero__subtitle, .hero__ctas, .hero__visual { animation: none; }
}

/* ===== MOTION — GSAP REPLACEMENT (CSS-native reveals) =====
   Resting state for every selector below is fully visible at rule level
   (no rule-level opacity:0 anywhere in this file) — a browser that supports
   neither prefers-reduced-motion nor view() timelines still renders full
   content. Everything past this point is additive polish only. */

@media (prefers-reduced-motion: no-preference) {
  @keyframes wbRevealUpBig {
    from { opacity: 0; transform: translateY(45px); }
    /* `to` intentionally omits `transform` — see
       les-filling-view-animation-outranks-hover-and-inline-transform. */
    to { opacity: 1; }
  }
}

/* ---- Scroll-driven reveals (replaces every ScrollTrigger tween) ----
   Scoped to browsers that both allow motion AND support scroll-driven
   animations; everywhere else the elements above are simply visible with
   no reveal, which is the correct fallback, not a regression. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {

    .reveal-grid > * {
      animation: wbRevealUpBig .65s cubic-bezier(.16,1,.3,1) both;
      animation-timeline: view();
      animation-range: entry 0% entry 60%;
    }
    .reveal-grid > *:nth-child(2) { animation-range: entry 9% entry 69%; }
    .reveal-grid > *:nth-child(3) { animation-range: entry 18% entry 78%; }
    .reveal-grid > *:nth-child(4) { animation-range: entry 27% entry 87%; }
    .reveal-grid > *:nth-child(n+5) { animation-range: entry 36% entry 96%; }

    /* Per-element speed parallax — the CSS scroll-driven replacement for
       this theme's `[data-parallax]` tween (`gsap.fromTo(el,
       { yPercent: -10*speed*10 }, { yPercent: 10*speed*10, scrollTrigger:
       { trigger: el, start: 'top bottom', end: 'bottom top', scrub: true }
       })`). `top bottom` -> `bottom top` is exactly `cover 0% cover 100%`.
       Amplitude varies per element by `data-parallax="{speed}"`, so JS sets
       `--wb-parallax-from`/`--wb-parallax-to` custom properties per element
       instead of a single fixed keyframe. */
    [data-parallax] {
      animation: wbDataParallax linear both;
      animation-timeline: view();
      animation-range: cover 0% cover 100%;
    }

    /* Hero image parallax — the CSS scroll-driven replacement for this
       theme's only hero scrub tween (start: `top top`, end: `bottom top`
       on `[data-section="hero"]`, matching `animation-range: exit`
       exactly; amplitude `yPercent: -5 -> 8` -> `translate: 0 -5% -> 0 8%`).
       `translate`, not `transform`, so it composes with the img's own
       `rotate(...) translateX(...)` hover transform instead of clobbering
       it. */
    .hero__img-frame img {
      animation: wbHeroImgParallax linear both;
      animation-timeline: view();
      animation-range: exit;
    }
  }
}

@keyframes wbDataParallax {
  from { translate: 0 var(--wb-parallax-from, 0); }
  to   { translate: 0 var(--wb-parallax-to, 0); }
}
@keyframes wbHeroImgParallax {
  from { translate: 0 -5%; }
  to   { translate: 0 8%; }
}

/* ─── Marquee Band ──────────────────────────────────────── */
.marquee-band { background: var(--accent); padding: 0.85rem 0; overflow: hidden; position: relative; z-index: 2; }
.marquee { overflow: hidden; }
.marquee__track { display: flex; width: max-content; align-items: center; }
.marquee__item {
  display: flex; align-items: center; gap: 1.75rem; padding: 0 2.5rem;
  font-family: var(--font-display); font-size: 1.05rem; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--primary); white-space: nowrap;
}
.marquee__sep { font-size: 1.2rem; opacity: 0.35; }

/* ─── Content Visibility (below-fold performance) ──────── */
[data-section="categories"],
[data-section="testimonials"],
[data-section="faqs"] { content-visibility: auto; contain-intrinsic-size: auto 400px; }

/* ─── Categories ────────────────────────────────────────── */
[data-section="categories"] { background: var(--background); padding: 5rem 0; }
.categories__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.category-card { position: relative; overflow: hidden; border-radius: var(--radius-md); aspect-ratio: 3/4; background: var(--surface); cursor: pointer; }
.category-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.1) 55%, transparent 100%);
  z-index: 1; transition: background var(--trans);
}
.category-card:hover::after { background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.3) 55%, transparent 100%); }
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.23,1,0.32,1); }
.category-card:hover img { transform: scale(1.08); }
.category-card__label { position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; padding: 1.25rem 1rem; display: flex; align-items: flex-end; justify-content: space-between; }
.category-card__name { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.03em; text-transform: uppercase; color: #fff; line-height: 1; }
.category-card__arrow {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; opacity: 0; transform: translateY(8px);
  transition: opacity var(--trans), transform var(--trans);
  color: oklch(from var(--accent) clamp(0, (0.57 - l) * 1000, 1) 0 0);
}
.category-card:hover .category-card__arrow { opacity: 1; transform: translateY(0); }

/* ─── Products Section ──────────────────────────────────── */
[data-section="products"] { background: var(--background); padding: 5rem 0; }
.products__header { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.products__header .section-intro { margin-bottom: 0; }

/* Filter + sort bar */
.products-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.75rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.product-filter__categories { display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center; }
.filter-chip {
  padding: 0.4rem 1rem; border-radius: 999px; border: 1.5px solid var(--border);
  background: transparent; color: var(--muted);
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em;
  cursor: pointer; transition: all var(--trans-fast); font-family: var(--font-sans);
}
.filter-chip:hover { border-color: var(--primary); color: var(--text); }
.filter-chip--active, .filter-chip[aria-pressed="true"] { background: var(--primary); color: var(--background); border-color: var(--primary); }
.products-bar__right { display: flex; align-items: center; gap: 1rem; }
.products-count { font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); }
.sort-select { padding: 0.4rem 0.9rem; border-radius: var(--radius-md); border: 1.5px solid var(--border); background: transparent; font-size: 0.75rem; color: var(--text); font-family: var(--font-sans); cursor: pointer; }
.sort-select option { background: var(--background); color: var(--text); }

/* Product grid */
.products__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

/* ── P12 canonical product card ─────────────────────────── */
.product-card {
  position: relative; background: var(--background); border-radius: var(--radius-md);
  overflow: hidden; border: 1px solid var(--border);
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
  transform-style: preserve-3d; will-change: transform;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-card__image-wrap {
  position: relative; overflow: hidden; aspect-ratio: 1;
  background: var(--surface); display: block;
}
.product-card__image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s cubic-bezier(0.23,1,0.32,1); }
.product-card:hover .product-card__image-wrap img { transform: scale(1.06); }
.product-card__quick-view {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(17,17,17,.88); color: #fff;
  display: flex; align-items: center; justify-content: center; gap: 0.45rem;
  padding: 0.65rem; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em;
  transform: translateY(100%); transition: transform var(--trans);
  font-family: var(--font-sans);
}
.product-card:hover .product-card__quick-view { transform: translateY(0); }
.product-card__quick-view svg { width: 15px; height: 15px; }
.product-card__badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: var(--accent); color: var(--primary);
  font-family: var(--font-mono); font-size: 0.62rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 0.22rem 0.55rem; border-radius: 3px;
  color: oklch(from var(--accent) clamp(0, (0.57 - l) * 1000, 1) 0 0);
}
.product-card__info { padding: 1rem; }
.product-card__category { font-family: var(--font-mono); font-size: 0.67rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); display: block; margin-bottom: 0.3rem; }
.product-card__title { font-size: 0.9rem; font-weight: 600; line-height: 1.3; margin-bottom: 0.5rem; }
.product-card__title a { color: var(--text); transition: color var(--trans-fast); }
.product-card__title a:hover { color: var(--primary-light); }
.product-card__price { display: flex; align-items: center; gap: 0.45rem; margin-bottom: 0.75rem; }
.product-card__price-current { font-family: var(--font-mono); font-size: 0.88rem; font-weight: 700; }
.product-card__price-original { font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); text-decoration: line-through; }
.product-card__add-btn {
  width: 100%; padding: 0.6rem; border: 1.5px solid var(--border);
  background: transparent; color: var(--text);
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  border-radius: var(--radius); cursor: pointer; font-family: var(--font-sans);
  transition: background var(--trans-fast), border-color var(--trans-fast), color var(--trans-fast);
}
.product-card__add-btn:hover { background: var(--primary); border-color: var(--primary); color: var(--background); }
.product-card__add-btn:disabled { opacity: 0.55; cursor: not-allowed; }

/* ─── Stats Band ────────────────────────────────────────── */
.stats-band { background: var(--primary); color: var(--text-inv); padding: 4rem 0; border-top: 3px solid var(--accent); }
.stats-band__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 2rem; text-align: center; } /* auto-fit: an owner-optional stat may be absent — never leave an empty column */
.stats-band__num {
  font-family: var(--font-display); font-size: clamp(2.8rem, 4.5vw, 4.5rem);
  color: var(--accent); line-height: 1; margin-bottom: 0.4rem;
}
.stats-band__label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(247,247,242,.45); font-family: var(--font-mono); }

/* ─── Testimonials ──────────────────────────────────────── */
[data-section="testimonials"] { background: var(--primary); color: var(--text-inv); padding: 6rem 0; }
[data-section="testimonials"] .section-intro .section-title { color: var(--text-inv); }
[data-section="testimonials"] .section-intro .eyebrow { color: var(--accent); opacity: 1; }
[data-section="testimonials"] .section-intro p { color: rgba(247,247,242,.5); }
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md); padding: 1.75rem;
  transition: background var(--trans), transform var(--trans);
}
.testimonial-card:hover { background: rgba(255,255,255,.07); transform: translateY(-4px); }
.testimonial-card__quote { font-size: 2.5rem; line-height: 1; color: var(--accent); opacity: 0.35; font-family: Georgia, serif; margin-bottom: 0.75rem; }
.testimonial-card__stars { color: var(--accent); font-size: 0.85rem; letter-spacing: 0.12em; margin-bottom: 0.85rem; }
.testimonial-card__body { font-size: 0.9rem; line-height: 1.7; color: rgba(247,247,242,.7); margin-bottom: 1.25rem; font-style: italic; }
.testimonial-card__author { display: flex; align-items: center; gap: 0.8rem; }
.testimonial-card__avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); flex-shrink: 0; }
.testimonial-card__name { font-weight: 700; font-size: 0.88rem; color: var(--text-inv); display: block; }
.testimonial-card__role { font-size: 0.75rem; color: rgba(247,247,242,.38); font-family: var(--font-mono); }

/* ─── FAQs ──────────────────────────────────────────────── */
[data-section="faqs"] { background: var(--background); padding: 6rem 0; }
.faqs__inner { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4.5rem; align-items: start; }
.faqs__intro .section-title { margin-bottom: 1rem; }
.faqs__intro p { color: var(--muted); font-size: 0.9rem; line-height: 1.7; }
.faqs__list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.2rem 0; background: none; border: none; text-align: left; cursor: pointer;
  font-size: 0.92rem; font-weight: 600; color: var(--text); transition: color var(--trans-fast);
}
.faq-item__btn:hover { color: var(--primary-light); }
.faq-item__icon {
  width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-size: 1rem; color: var(--muted); line-height: 1;
  transition: transform var(--trans), background var(--trans), border-color var(--trans), color var(--trans);
}
.faq-item__btn.open .faq-item__icon { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: var(--primary); color: oklch(from var(--accent) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
.faq-item__answer { max-height: 0; overflow: hidden; transition: max-height 0.38s cubic-bezier(0.23,1,0.32,1); }
.faq-item__answer-inner { padding-bottom: 1.25rem; font-size: 0.88rem; line-height: 1.75; color: var(--muted); }

/* ─── Policies ──────────────────────────────────────────── */
[data-section="policies"] { background: var(--surface); padding: 4rem 0; }
.policies__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.policy-card {
  background: var(--background); border-radius: var(--radius-md); padding: 1.5rem 1.1rem;
  border: 1px solid var(--border); text-align: center;
  transition: transform var(--trans), box-shadow var(--trans);
}
.policy-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.policy-card__icon { width: 46px; height: 46px; border-radius: 50%; background: rgba(17,17,17,.06); display: flex; align-items: center; justify-content: center; margin: 0 auto 0.9rem; color: var(--primary); }
.policy-card__icon svg { width: 22px; height: 22px; }
.policy-card__title { font-size: 0.88rem; font-weight: 700; margin-bottom: 0.35rem; }
.policy-card__body { font-size: 0.8rem; color: var(--muted); line-height: 1.6; }

/* ─── Contact ───────────────────────────────────────────── */
[data-section="contact"] { padding: 0; }
.contact__wrap { display: grid; grid-template-columns: 1fr 1.3fr; min-height: 540px; }
.contact__info { background: var(--primary); color: var(--text-inv); padding: 5rem 4rem; display: flex; flex-direction: column; justify-content: center; }
.contact__info .eyebrow { color: var(--accent); opacity: 1; margin-bottom: 0.6rem; }
.contact__info .section-title { color: var(--text-inv); margin-bottom: 0.75rem; }
.contact__info-desc { color: rgba(247,247,242,.55); font-size: 0.9rem; margin-bottom: 2.5rem; line-height: 1.6; }
.contact__details { display: flex; flex-direction: column; gap: 1rem; }
.contact__detail { display: flex; align-items: flex-start; gap: 0.9rem; font-size: 0.88rem; color: rgba(247,247,242,.65); }
.contact__detail-icon { width: 36px; height: 36px; border-radius: 50%; background: rgba(184,255,74,.1); border: 1px solid rgba(184,255,74,.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--accent); }
.contact__detail-icon svg { width: 16px; height: 16px; }
.contact__detail a:hover { color: var(--accent); }
.contact__form-side { background: var(--background); padding: 5rem 4rem; display: flex; flex-direction: column; justify-content: center; }
.contact__form-side .eyebrow { margin-bottom: 0.6rem; }
.contact__form-side .section-title { margin-bottom: 0.5rem; }
.contact__form-side > p { color: var(--muted); font-size: 0.88rem; margin-bottom: 2rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group--full { grid-column: 1/-1; }
.form-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em; }
.form-input, .form-textarea, .form-select {
  padding: 0.75rem 0.9rem; border: 1.5px solid var(--border); border-radius: var(--radius-md);
  background: var(--background); color: var(--text); font-size: 0.88rem; width: 100%;
  transition: border-color var(--trans-fast), box-shadow var(--trans-fast);
}
.form-input:focus, .form-textarea:focus, .form-select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(17,17,17,.07); }
.form-textarea { resize: vertical; min-height: 110px; }
[wire\:loading],[wire\:loading\.delay],[wire\:loading\.inline-block],[wire\:loading\.inline] { display: none; }

/* ─── Footer ────────────────────────────────────────────── */
[data-section="footer"] { background: var(--primary); color: var(--text-inv); padding: 4.5rem 0 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.07); margin-bottom: 2rem; }
.footer__brand img { height: 30px; width: auto; filter: brightness(0) invert(1); opacity: 0.85; margin-bottom: 1rem; }
.footer__tagline { font-size: 0.83rem; color: rgba(247,247,242,.4); line-height: 1.6; max-width: 200px; }
.footer__col-title { font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.13em; color: rgba(247,247,242,.35); margin-bottom: 1rem; }
.footer__col-links { display: flex; flex-direction: column; gap: 0.55rem; }
.footer__col-links a { font-size: 0.83rem; color: rgba(247,247,242,.5); transition: color var(--trans-fast); }
.footer__col-links a:hover { color: var(--accent); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer__copy { font-size: 0.75rem; color: rgba(247,247,242,.28); font-family: var(--font-mono); }
.footer__social { display: flex; gap: 0.75rem; }
.footer__social a {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; color: rgba(247,247,242,.4);
  transition: border-color var(--trans-fast), color var(--trans-fast), background var(--trans-fast);
}
.footer__social a:hover { border-color: var(--accent); color: var(--accent); background: rgba(184,255,74,.08); }

/* ─── Cart Page ─────────────────────────────────────────── */
.cart-page { padding: calc(var(--hdr-h) + 3.5rem) 0 6rem; min-height: 80vh; }
.cart-page__heading { font-family: var(--font-display); font-size: clamp(2.5rem,5vw,4.5rem); text-transform: uppercase; margin-bottom: 0.35rem; }
.cart-page__meta { font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); margin-bottom: 2.5rem; }
.cart-layout { display: grid; grid-template-columns: 1fr 350px; gap: 2.5rem; align-items: start; }
.cart-items { display: flex; flex-direction: column; }
.cart-item { display: grid; grid-template-columns: 88px 1fr auto auto auto; gap: 1.25rem; align-items: center; padding: 1.25rem 0; border-bottom: 1px solid var(--border); }
.cart-item__img-wrap img { width: 88px; height: 88px; object-fit: cover; border-radius: var(--radius-md); border: 1px solid var(--border); }
.cart-item__details { min-width: 0; }
.cart-item__title { font-size: 0.88rem; font-weight: 600; margin-bottom: 0.2rem; display: block; color: var(--text); transition: color var(--trans-fast); }
.cart-item__title:hover { color: var(--muted); }
.cart-item__price { font-family: var(--font-mono); font-size: 0.82rem; color: var(--muted); }
.cart-item__original { font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); text-decoration: line-through; margin-right: 0.3rem; }
.cart-item__qty { display: flex; align-items: center; gap: 0.4rem; border: 1.5px solid var(--border); border-radius: var(--radius-md); padding: 2px 4px; }
.qty-btn { width: 28px; height: 28px; background: none; border: none; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--text); transition: color var(--trans-fast); }
.qty-btn:hover { color: var(--accent); }
.qty-val { font-family: var(--font-mono); font-size: 0.88rem; min-width: 22px; text-align: center; font-weight: 600; }
.cart-item__line-total { font-family: var(--font-mono); font-size: 0.88rem; font-weight: 700; white-space: nowrap; }
.cart-item__remove { background: none; border: none; color: var(--muted); cursor: pointer; padding: 4px; display: flex; align-items: center; transition: color var(--trans-fast); }
.cart-item__remove:hover { color: var(--text); }
.cart-summary { background: var(--surface); border-radius: var(--radius-lg); padding: 1.75rem; position: sticky; top: calc(var(--hdr-h) + 1rem); border: 1px solid var(--border); }
.cart-summary__title { font-weight: 700; font-size: 0.95rem; margin-bottom: 1.25rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border); }
.cart-summary__row { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--muted); font-family: var(--font-mono); margin-bottom: 0.55rem; }
.cart-summary__row--total { color: var(--text); font-weight: 700; font-size: 1rem; margin-top: 0.6rem; padding-top: 0.75rem; border-top: 1px solid var(--border); margin-bottom: 0; }
.cart-summary__cta { margin-top: 1.25rem; width: 100%; padding: 0.9rem; font-size: 0.8rem; justify-content: center; }
.cart-summary__note { font-size: 0.75rem; color: var(--muted); text-align: center; margin-top: 0.75rem; font-family: var(--font-mono); }

/* Empty state */
.empty-state { text-align: center; padding: 5rem 2rem; }
.empty-state__icon { width: 68px; height: 68px; margin: 0 auto 1.5rem; color: var(--border); }
.empty-state h2 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.empty-state p { color: var(--muted); margin-bottom: 2rem; max-width: 300px; margin-left: auto; margin-right: auto; font-size: 0.9rem; }

/* ─── Checkout Page ─────────────────────────────────────── */
.checkout-page { padding: calc(var(--hdr-h) + 3rem) 0 6rem; min-height: 80vh; }
.checkout-page__heading { font-family: var(--font-display); font-size: clamp(2.5rem,5vw,4.5rem); text-transform: uppercase; margin-bottom: 2.5rem; }
.checkout-progress { margin-bottom: 2.5rem; }
.checkout-progress ol { display: flex; align-items: flex-start; max-width: 380px; }
.checkout-progress__step { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; }
.checkout-progress__step:not(:last-child)::after { content: ''; position: absolute; top: 13px; left: 50%; width: 100%; height: 2px; background: var(--border); }
.checkout-progress__step--completed::after { background: var(--accent) !important; }
.checkout-progress__circle {
  width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--border);
  background: var(--background); color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 700; font-family: var(--font-mono); position: relative; z-index: 2;
}
.checkout-progress__step--completed .checkout-progress__circle { background: var(--accent); border-color: var(--accent); color: var(--primary); color: oklch(from var(--accent) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
.checkout-progress__step--active .checkout-progress__circle { background: var(--primary); border-color: var(--primary); color: var(--background); }
.checkout-progress__label { font-size: 0.7rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.07em; white-space: nowrap; color: var(--muted); }
.checkout-progress__step--active .checkout-progress__label { color: var(--text); font-weight: 700; }
.checkout-progress__step--completed .checkout-progress__label { color: var(--primary); }
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 3rem; align-items: start; }
.checkout-section { margin-bottom: 2rem; }
.checkout-section__title { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; padding-bottom: 0.55rem; border-bottom: 1px solid var(--border); }
.shipping-option, .payment-option { display: flex; align-items: flex-start; gap: 0.9rem; border: 1.5px solid var(--border); border-radius: var(--radius-md); padding: 0.9rem 1rem; cursor: pointer; transition: border-color var(--trans-fast); margin-bottom: 0.5rem; }
.shipping-option:has(input:checked), .payment-option:has(input:checked) { border-color: var(--primary); }
.shipping-option input, .payment-option input { accent-color: var(--primary); margin-top: 2px; flex-shrink: 0; }
.shipping-option__info, .payment-option__info { flex: 1; min-width: 0; }
.shipping-option__label, .payment-option__label { font-size: 0.88rem; font-weight: 600; display: block; }
.shipping-option__zone, .payment-option__detail { font-size: 0.78rem; color: var(--muted); font-family: var(--font-mono); }
.shipping-option__price { font-family: var(--font-mono); font-size: 0.85rem; font-weight: 700; margin-left: auto; flex-shrink: 0; }
.checkout-empty { text-align: center; padding: 4rem 2rem; }
.checkout-summary-box { background: var(--surface); border-radius: var(--radius-lg); padding: 1.75rem; position: sticky; top: calc(var(--hdr-h) + 1rem); border: 1px solid var(--border); }
.checkout-summary-box__title { font-weight: 700; font-size: 0.92rem; margin-bottom: 1.25rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border); }
.checkout-summary-item { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem; }
.checkout-summary-item img { width: 52px; height: 52px; object-fit: cover; border-radius: var(--radius-md); border: 1px solid var(--border); flex-shrink: 0; }
.checkout-summary-item__info { flex: 1; min-width: 0; }
.checkout-summary-item__title { font-size: 0.82rem; font-weight: 600; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.checkout-summary-item__qty { font-size: 0.75rem; color: var(--muted); font-family: var(--font-mono); }
.checkout-summary-item__price { font-family: var(--font-mono); font-size: 0.82rem; font-weight: 600; white-space: nowrap; }
.checkout-summary-box__divider { border: none; border-top: 1px solid var(--border); margin: 1rem 0; }
.checkout-summary-box__row { display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--muted); font-family: var(--font-mono); margin-bottom: 0.4rem; }
.checkout-summary-box__total { display: flex; justify-content: space-between; font-weight: 700; font-size: 0.95rem; color: var(--text); padding-top: 0.75rem; border-top: 1px solid var(--border); margin-top: 0.5rem; font-family: var(--font-mono); }
.trust-signals { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; margin-top: 1.25rem; }
.trust-signals__item { display: flex; align-items: center; gap: 0.35rem; font-size: 0.72rem; color: var(--muted); font-family: var(--font-mono); }
.trust-signals__item svg { width: 14px; height: 14px; color: var(--accent); flex-shrink: 0; }

/* ─── Product Detail Page ───────────────────────────────── */
.product-detail-page { padding-top: var(--hdr-h); background: var(--background); }
.product-detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: start; padding: 3.5rem 0 5rem; }
.product-gallery { display: flex; flex-direction: column; gap: 0.7rem; position: sticky; top: calc(var(--hdr-h) + 1.5rem); }
.product-gallery__main { aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.product-gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-gallery__main:hover img { transform: scale(1.03); }
.product-gallery__thumbs { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.product-gallery__thumbs button { width: 72px; height: 72px; border: 2px solid var(--border); border-radius: var(--radius-md); overflow: hidden; cursor: pointer; background: var(--surface); padding: 0; flex-shrink: 0; transition: border-color var(--trans-fast); }
.product-gallery__thumbs button:hover, .product-gallery__thumbs button.active { border-color: var(--primary); }
.product-gallery__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
nav.breadcrumbs { margin-bottom: 1.5rem; }
nav.breadcrumbs ol { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
nav.breadcrumbs li { font-size: 0.78rem; font-family: var(--font-mono); color: var(--muted); }
nav.breadcrumbs li::after { content: '/'; margin-left: 0.4rem; opacity: 0.35; }
nav.breadcrumbs li:last-child::after { display: none; }
nav.breadcrumbs li:last-child { color: var(--text); font-weight: 600; }
nav.breadcrumbs a:hover { color: var(--primary); }
.product-info__category { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); display: block; margin-bottom: 0.45rem; }
.product-info__title { font-size: clamp(1.65rem, 2.8vw, 2.1rem); font-weight: 700; line-height: 1.2; margin-bottom: 0.9rem; }
.product-info__rating { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.product-info__stars { color: var(--accent); font-size: 0.9rem; letter-spacing: 0.08em; }
.product-info__review-count { font-size: 0.78rem; color: var(--muted); font-family: var(--font-mono); }
.product-info__price-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.product-info__price-current { font-family: var(--font-mono); font-size: 1.7rem; font-weight: 700; }
.product-info__price-original { font-family: var(--font-mono); font-size: 1rem; color: var(--muted); text-decoration: line-through; }
.product-info__description { font-size: 0.88rem; line-height: 1.75; color: var(--muted); margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.variant-selectors { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 1.5rem; }
.variant-selector__label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.6rem; display: flex; align-items: center; gap: 0.5rem; padding: 0; color: var(--text); }
.variant-selector__guide { font-size: 0.7rem; color: var(--muted); text-decoration: underline; cursor: pointer; font-weight: 400; text-transform: none; letter-spacing: 0; margin-left: auto; }
.variant-selector__options { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.variant-chip { display: flex; align-items: center; cursor: pointer; }
.variant-chip input { position: absolute; opacity: 0; pointer-events: none; }
.variant-chip span { display: flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 0.7rem; border: 1.5px solid var(--border); border-radius: var(--radius-md); font-size: 0.82rem; font-weight: 600; font-family: var(--font-mono); transition: all var(--trans-fast); }
.variant-chip:hover span { border-color: var(--primary); }
.variant-chip--active span, .variant-chip input:checked + span { background: var(--primary); color: var(--background); border-color: var(--primary); }
.variant-chip--disabled span { opacity: 0.35; cursor: not-allowed; text-decoration: line-through; }
.product-info__atc { display: flex; gap: 0.75rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.product-info__atc .btn--primary { flex: 1; min-width: 180px; justify-content: center; }
.product-info__wishlist { width: 50px; height: 50px; border-radius: var(--radius-md); border: 1.5px solid var(--border); background: transparent; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all var(--trans-fast); color: var(--muted); flex-shrink: 0; }
.product-info__wishlist:hover { border-color: var(--primary); color: var(--primary); }
.product-info__wishlist svg { width: 20px; height: 20px; }
.product-info__highlights { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.product-info__highlights li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.83rem; color: var(--muted); }
.product-info__highlights li::before { content: '✓'; color: var(--accent); font-weight: 700; font-size: 0.8rem; background: rgba(184,255,74,.12); width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sticky-atc { display: none; }
@media (max-width: 768px) {
  .sticky-atc { position: fixed; bottom: 0; left: 0; right: 0; padding: 12px 16px; background: var(--background, rgba(247,247,242,.97)); border-top: 1px solid var(--border); z-index: 800; transform: translateY(100%); transition: transform var(--trans); }
  .sticky-atc.visible { display: flex; align-items: center; gap: 1rem; justify-content: space-between; transform: translateY(0); }
}
.sticky-atc__info { flex: 1; min-width: 0; }
.sticky-atc__title { font-size: 0.82rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sticky-atc__price { font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); }

/* Reviews */
[data-section="reviews"] { background: var(--surface); padding: 5rem 0; }
[data-section="reviews"] .section-title { margin-bottom: 0.5rem; }
.reviews-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 2.5rem; align-items: start; }
.reviews-list { display: flex; flex-direction: column; gap: 1rem; }
.review-item { background: var(--background); border-radius: var(--radius-md); padding: 1.25rem; border: 1px solid var(--border); }
.review-item__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.45rem; gap: 1rem; flex-wrap: wrap; }
.review-author { font-weight: 700; font-size: 0.88rem; }
.review-stars { color: var(--accent); font-size: 0.82rem; letter-spacing: 0.1em; }
.review-title { display: block; font-weight: 600; font-size: 0.82rem; margin-bottom: 0.3rem; }
.review-body { font-size: 0.82rem; line-height: 1.65; color: var(--muted); }
.review-form-placeholder { background: var(--background); border-radius: var(--radius-md); padding: 1.75rem; border: 1px solid var(--border); }
.review-form-placeholder h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 1.25rem; }
.review-form-placeholder input, .review-form-placeholder textarea { width: 100%; padding: 0.6rem 0.85rem; margin-bottom: 0.75rem; border: 1.5px solid var(--border); border-radius: var(--radius-md); font-size: 0.85rem; background: var(--background); transition: border-color var(--trans-fast); }
.review-form-placeholder input:focus, .review-form-placeholder textarea:focus { outline: none; border-color: var(--primary); }
.review-form-placeholder textarea { min-height: 100px; resize: vertical; }

/* ─── Tilt card ─────────────────────────────────────────── */
.tilt-card { transform-style: preserve-3d; transition: transform 0.1s ease; will-change: transform; }

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; padding: 3.5rem 0; }
  .hero__subtitle { margin-left: auto; margin-right: auto; }
  .hero__ctas { justify-content: center; }
  .hero__visual { max-width: 420px; margin: 0 auto; }
  .hero__float { display: none; }
  .products__grid { grid-template-columns: repeat(3, 1fr); }
  .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .product-detail-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .product-gallery { position: relative; top: 0; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary-box { position: relative; top: 0; }
}
@media (max-width: 768px) {
  :root { --hdr-h: 64px; }
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .categories__grid { grid-template-columns: repeat(2, 1fr); }
  .products__grid { grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
  .stats-band__grid { grid-template-columns: repeat(auto-fit, minmax(max(140px, 40%), 1fr)); gap: 2.5rem; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .policies__grid { grid-template-columns: repeat(2, 1fr); }
  .faqs__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact__wrap { grid-template-columns: 1fr; }
  .contact__info { padding: 3.5rem 1.75rem; }
  .contact__form-side { padding: 3.5rem 1.75rem; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: relative; top: 0; }
  .cart-item { grid-template-columns: 72px 1fr auto; gap: 0.85rem; }
  .cart-item__line-total { display: none; }
  .reviews-layout { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .products__grid { grid-template-columns: 1fr 1fr; gap: 0.65rem; }
  .policies__grid { grid-template-columns: 1fr 1fr; }
  .product-gallery__thumbs button { width: 58px; height: 58px; }
  .hero__title { font-size: clamp(3.5rem, 13vw, 5.5rem); }
}


/* __wobooks-defensive__ — appended by HtmlZipThemeConverterV2.
   Hide images whose src resolves to empty (e.g. data-src-field bindings
   for Items / categories the owner hasn't uploaded a photo for yet).
   Without this rule, the browser shows the alt-text fallback —
   that's the bug behind the literal word 'image' showing in avatar
   slots and About images on the production Braise theme. */
img[src=""], img:not([src]) { display: none !important; }

/* Palette roles (BrandColourRoles, 2026-10-06): brand-coloured text on a band this theme draws dark keeps a lightness floor; text on a brand fill follows the fill. */
:where(.marquee-band) .marquee__item { color: oklch(from var(--accent) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
.contact__info .eyebrow { color: oklch(from var(--primary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
.contact__info { color: oklch(from var(--primary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }

/* Palette roles, item 53 (BrandColourRoles, 2026-10-06): text on a band filled with a palette brand colour follows the fill; brand-coloured text on a band this theme draws dark keeps a lightness floor. */
:where(.contact__info) .contact__info-desc { color: oklch(from var(--primary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
:where([data-section="footer"]) .footer__col-links a { color: oklch(from var(--primary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }

/* Own contrast (Weave item 54, theme:palette-stress --heal): with no palette, these read 4.5:1 on the theme's own
   backgrounds; each was proven by rendering the page. The palette block (html:root) still overrides the tokens. */
:root {
  --muted: #717171; /* was #777777 */
}
.footer__col-title { color: oklch(from rgba(247, 247, 242, 0.35) calc(l + 0.04) c h / calc(min(1, alpha + 0.12))); }
.footer__social a { color: oklch(from rgba(247, 247, 242, 0.4) calc(l + 0.02) c h / calc(min(1, alpha + 0.06))); }
.footer__copy { color: oklch(from rgba(247, 247, 242, 0.28) calc(l + 0.07) c h / calc(min(1, alpha + 0.21))); }
.footer__tagline { color: oklch(from rgba(247, 247, 242, 0.4) calc(l + 0.02) c h / calc(min(1, alpha + 0.06))); }
