/* =========================================================
   ProZone Sports — Growth Tier  |  ecommerce  |  WoBooks
   Palette: charcoal #0d1117  ·  orange #ff5e1a  ·  blue #2a7de1
   Fonts: Barlow Condensed (display)  ·  Inter (body)
   ========================================================= */

/* 1. Variables ─────────────────────────────────────────── */
:root {
  --primary:          #0d1117;
  --primary-dark:     #090d12;
  --primary-light:    #1d2433;
  --secondary:        #2a7de1;
  --secondary-dark:   #1a68c8;
  --secondary-light:  #4d96f0;
  --accent:           #ff5e1a;
  --accent-dark:      #e04c10;
  --accent-light:     #ff7a3d;
  --background:       #f7f8fa;
  --surface:          #ffffff;
  --text:             #0d1117;
  --muted:            #6b7280;
  --border:           #e5e7eb;
  --font-sans:        'Inter', sans-serif;
  --font-display:     'Barlow Condensed', sans-serif;
  --radius:           8px;
}

/* 2. Reset + Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font-family: var(--font-sans); }

/* Wire loading fix */
[wire\:loading],
[wire\:loading\.delay],
[wire\:loading\.inline-block],
[wire\:loading\.inline] { display: none; }

/* Empty image fallback */
img[src=""], img:not([src]) { display: none !important; }

/* 3. Accessibility ─────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%; left: 1rem;
  padding: .5rem 1.25rem;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  z-index: 10000;
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* Focus visible — keyboard navigation */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius);
}
:focus:not(:focus-visible) { outline: none; }

/* 4. Scroll Progress ───────────────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
  z-index: 9999;
  transition: width .1s linear;
}

/* 5. Container + Layout ────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* 6. Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600; font-size: .9375rem; line-height: 1;
  transition: all .25s ease; cursor: pointer; white-space: nowrap;
}
.btn--primary  { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-light); }
.btn--accent   { background: var(--accent); color: #fff; }
.btn--accent:hover  { background: var(--accent-dark); }
.btn--outline  { background: transparent; border: 1.5px solid var(--border); color: var(--primary); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }
.btn--secondary { background: var(--secondary); color: #fff; color: oklch(from var(--secondary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
.btn--secondary:hover { background: var(--secondary-dark); }
.btn--lg   { padding: 1rem 2.25rem; font-size: 1.0625rem; }
.btn--full { width: 100%; justify-content: center; }
.btn--magnetic { transition: transform .3s cubic-bezier(.23,1,.32,1), background .25s ease; }

/* 7. Header ────────────────────────────────────────────── */
[data-section="header"] {
  position: sticky; top: 0; z-index: 1000;
  background: var(--background, rgba(247,248,250,.96));
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
/* The blur lives on a pseudo-element: on the header itself it would make the header the
   containing block of the fixed .nav__mobile overlay, confining it to the header strip. */
[data-section="header"]::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
[data-section="header"].scrolled {
  border-color: var(--border);
  box-shadow: 0 2px 20px rgba(13,17,23,.07);
}
[data-section="header"] .container {
  height: 70px; display: flex; align-items: center;
}
[data-section="header"] nav {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; gap: 1.5rem;
}
.logo img { height: 38px; width: auto; }
/* Desktop nav — specificity guard */
[data-section="header"] nav:not(.nav__mobile) { display: flex; }
.nav__links { display: flex; align-items: center; gap: 1.75rem; }
.nav__links a { font-size: .9375rem; font-weight: 500; color: var(--muted); transition: color .2s; }
.nav__links a:hover, .nav__links a.active { color: var(--accent); }
.nav__actions { display: flex; align-items: center; gap: .875rem; }
.nav__cart-btn {
  display: flex; align-items: center; gap: .375rem;
  padding: .5rem .875rem;
  border: 1.5px solid var(--border); border-radius: 100px;
  font-weight: 600; font-size: .875rem;
  transition: all .2s;
}
.nav__cart-btn:hover { border-color: var(--accent); color: var(--accent); }
.nav__cart-badge {
  background: var(--accent); color: #fff;
  font-size: .7rem; font-weight: 700;
  min-width: 18px; height: 18px; border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center; padding: 0 4px;
}
.nav__toggle { display: none; font-size: 1.5rem; padding: .25rem; color: var(--primary); }

/* Mobile nav panel */
[data-section="header"] .nav__mobile { display: none; }
[data-section="header"] .nav__mobile.open {
  display: flex; position: fixed; inset: 0;
  background: var(--primary); z-index: 999;
  flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
}
.nav__close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  font-size: 2rem; color: #fff; line-height: 1;
}
.nav__mobile a {
  font-family: var(--font-display); font-size: 2.75rem; font-weight: 700;
  color: #fff; letter-spacing: 1px; text-transform: uppercase; transition: color .2s;
}
.nav__mobile a:hover { color: var(--accent); }

/* 8. Hero ──────────────────────────────────────────────── */
[data-section="hero"] {
  background: var(--primary); color: #fff;
  padding: 4rem 0; overflow: hidden; position: relative;
  min-height: 88vh; display: flex; align-items: center;
}
.hero__bg-deco { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero__bg-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none;
}
.hero__bg-orb--orange {
  width: 600px; height: 600px;
  background: var(--accent); opacity: .12;
  top: -150px; right: -80px;
}
.hero__bg-orb--blue {
  width: 400px; height: 400px;
  background: var(--secondary); opacity: .08;
  bottom: -100px; left: 8%;
}
.hero__bg-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero__container {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
  position: relative; z-index: 1;
}
/* Hero content */
.hero__badge-wrap { margin-bottom: 1.25rem; }
.hero__badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,94,26,.15); color: var(--accent-light);
  border: 1px solid rgba(255,94,26,.3);
  padding: .375rem .9375rem; border-radius: 100px;
  font-size: .8125rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  font-family: var(--font-display);
}
.hero__badge::before {
  content: ''; width: 7px; height: 7px;
  background: var(--accent); border-radius: 50%;
  animation: badgePulse 1.6s infinite;
}
@keyframes badgePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(1.4); }
}
.hero__title-prefix {
  display: block; font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 500;
  letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,255,255,.45); margin-bottom: .25rem;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.25rem, 6vw, 6rem);
  font-weight: 800; line-height: .93;
  letter-spacing: -1px; text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero__title em { font-style: normal; color: var(--accent); }
.hero__subtitle {
  font-size: 1.125rem; line-height: 1.65;
  color: rgba(255,255,255,.62); max-width: 480px;
  margin-bottom: .875rem;
}
.hero__content-text {
  font-size: .875rem; color: rgba(255,255,255,.38);
  margin-bottom: 2rem;
}
.hero__cta-row {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 1.25rem; margin-bottom: 2.75rem;
}
.hero__secondary-link {
  color: rgba(255,255,255,.55); font-weight: 500;
  text-decoration: underline; text-underline-offset: 4px;
  transition: color .2s; font-size: .9375rem;
}
.hero__secondary-link:hover { color: #fff; }
.hero__trust {
  display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap;
}
.hero__trust-item {
  display: flex; align-items: center; gap: .5rem;
  color: rgba(255,255,255,.45); font-size: .875rem;
}
.hero__trust-item svg { color: var(--accent); flex-shrink: 0; }
/* Hero image side */
.hero__media { position: relative; }
.hero__frame {
  position: relative; border-radius: 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}
.hero__frame::before {
  content: ''; position: absolute; inset: -2px; z-index: -1;
  background: linear-gradient(135deg, var(--accent) 0%, transparent 50%, var(--secondary) 100%);
  border-radius: 18px; opacity: .45;
}
.hero__image {
  width: 100%; border-radius: 15px;
  display: block; min-height: 480px; object-fit: cover;
}
.hero__float-chips {
  position: absolute; bottom: 1.5rem; left: -1.75rem;
  display: flex; flex-direction: column; gap: .875rem;
}
.hero__chip {
  background: rgba(255,255,255,.09);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.13);
  padding: .75rem 1.25rem; border-radius: 12px;
  min-width: 128px; text-align: center;
}
.hero__chip--accent {
  background: rgba(255,94,26,.18);
  border-color: rgba(255,94,26,.28);
}
.hero__chip-num {
  display: block; font-family: var(--font-display);
  font-size: 1.875rem; font-weight: 800; color: #fff; line-height: 1;
}
.hero__chip-label {
  display: block; font-size: .72rem;
  color: rgba(255,255,255,.5); margin-top: .2rem;
  font-weight: 600; letter-spacing: .75px; text-transform: uppercase;
}
/* ─── Hero / banner entrance (CSS, time-based — above the fold) ──
   Resting state is visible at rule level; the hidden from-state
   lives ONLY inside the keyframes below, gated behind no-preference
   so a reduced-motion visitor sees content instantly. */
@keyframes fade-up-in {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes hero-frame-reveal {
  from { clip-path: inset(100% 0 0 0); }
  to { clip-path: inset(0% 0 0 0); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero__content > * {
    animation: fade-up-in .75s cubic-bezier(.22,1,.36,1) both;
  }
  .hero__content > *:nth-child(1) { animation-delay: .05s; }
  .hero__content > *:nth-child(2) { animation-delay: .12s; }
  .hero__content > *:nth-child(3) { animation-delay: .19s; }
  .hero__content > *:nth-child(4) { animation-delay: .26s; }
  .hero__content > *:nth-child(5) { animation-delay: .33s; }
  .hero__content > *:nth-child(6) { animation-delay: .4s; }
  .hero__content > *:nth-child(7) { animation-delay: .47s; }

  .hero__frame {
    animation: hero-frame-reveal 1.3s cubic-bezier(.16,1,.3,1) .2s both;
  }

  .page-banner__content > * {
    animation: fade-up-in .7s cubic-bezier(.22,1,.36,1) both;
  }
  .page-banner__content > *:nth-child(2) { animation-delay: .08s; }
  .page-banner__content > *:nth-child(3) { animation-delay: .16s; }
  .page-banner__content > *:nth-child(4) { animation-delay: .24s; }
}

/* ─── Section-header reveal (CSS scroll-driven) ──────────────────
   Resting state is visible at rule level — the hidden from-state
   lives ONLY inside @reveal-in's keyframes, and the whole lane is
   gated behind @supports + no-preference so a non-supporting or
   reduced-motion visitor just sees the content, never a blank
   section. */
@keyframes reveal-in {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .section-header[data-reveal],
    .categories__header, .products__header, .testimonials__header,
    .policies__header, .contact__title, .faqs__header {
      animation: reveal-in .7s ease both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }

    /* Repeating grid reveals (categories, products, testimonials,
       policies, stats band) — approximate the old GSAP stagger with
       nth-child now that reveal is purely CSS-driven. */
    .categories__grid > *:nth-child(1), .product-grid > *:nth-child(1),
    .testimonials__grid > *:nth-child(1), .policies__grid > *:nth-child(1),
    .stats-band__grid > *:nth-child(1) {
      animation: reveal-in .65s ease both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
    .categories__grid > *:nth-child(2), .product-grid > *:nth-child(2),
    .testimonials__grid > *:nth-child(2), .policies__grid > *:nth-child(2),
    .stats-band__grid > *:nth-child(2) {
      animation: reveal-in .65s ease both;
      animation-timeline: view();
      animation-range: entry 8% entry 46%;
    }
    .categories__grid > *:nth-child(3), .product-grid > *:nth-child(3),
    .testimonials__grid > *:nth-child(3), .policies__grid > *:nth-child(3),
    .stats-band__grid > *:nth-child(3) {
      animation: reveal-in .65s ease both;
      animation-timeline: view();
      animation-range: entry 16% entry 54%;
    }
    .categories__grid > *:nth-child(4), .product-grid > *:nth-child(4),
    .testimonials__grid > *:nth-child(4), .policies__grid > *:nth-child(4),
    .stats-band__grid > *:nth-child(4) {
      animation: reveal-in .65s ease both;
      animation-timeline: view();
      animation-range: entry 24% entry 62%;
    }
    .categories__grid > *:nth-child(n+5), .product-grid > *:nth-child(n+5),
    .testimonials__grid > *:nth-child(n+5), .policies__grid > *:nth-child(n+5),
    .stats-band__grid > *:nth-child(n+5) {
      animation: reveal-in .65s ease both;
      animation-timeline: view();
      animation-range: entry 32% entry 70%;
    }
  }
}

/* 9. Marquee Band ──────────────────────────────────────── */
.marquee-band {
  background: var(--accent); padding: .875rem 0; overflow: hidden;
}
.marquee { overflow: hidden; }
.marquee__track { display: flex; width: max-content; }
.marquee__item {
  display: flex; align-items: center; gap: .875rem;
  padding: 0 2.25rem;
  font-family: var(--font-display); font-size: 1.0625rem;
  font-weight: 700; color: #fff;
  letter-spacing: 1.5px; text-transform: uppercase; white-space: nowrap;
}
.marquee__dot { width: 5px; height: 5px; background: rgba(255,255,255,.6); border-radius: 50%; }

/* 10. Categories ───────────────────────────────────────── */
[data-section="categories"] { padding: 5rem 0; background: var(--background); }
.categories__header { text-align: center; margin-bottom: 3rem; }
.categories__eyebrow {
  display: block; font-family: var(--font-display); font-size: .875rem;
  font-weight: 700; letter-spacing: 2px; color: var(--accent);
  text-transform: uppercase; margin-bottom: .6rem;
}
.categories__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem); color: var(--primary); letter-spacing: -.5px;
}
.categories__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.category-card {
  border-radius: 14px; overflow: hidden;
  position: relative; aspect-ratio: 4/3;
  background: var(--primary-light);
}
.category-card:nth-child(1) { grid-column: span 2; aspect-ratio: auto; min-height: 280px; }
.category-card__link { display: block; height: 100%; position: relative; }
.category-card img {
  width: 100%; height: 100%;
  object-fit: cover; transition: transform .55s ease;
}
.category-card:hover img { transform: scale(1.07); }
.category-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,17,23,.78) 0%, rgba(13,17,23,.08) 65%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.5rem; transition: background .3s;
}
.category-card:hover .category-card__overlay {
  background: linear-gradient(to top, rgba(13,17,23,.88) 0%, rgba(13,17,23,.18) 65%);
}
.category-card__name {
  font-family: var(--font-display); font-size: 1.4375rem; font-weight: 700;
  color: #fff; letter-spacing: .5px; text-transform: uppercase; display: block;
  transform: translateY(4px); transition: transform .3s;
}
.category-card:hover .category-card__name { transform: translateY(0); }
.category-card__cta {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; background: var(--accent); color: #fff;
  border-radius: 50%; font-size: 1.125rem; margin-top: .5rem;
  opacity: 0; transform: translateY(8px);
  transition: opacity .3s, transform .3s;
}
.category-card:hover .category-card__cta { opacity: 1; transform: translateY(0); }

/* 11. Stats Band ───────────────────────────────────────── */
.stats-band { background: var(--primary); padding: 3.5rem 0; }
.stats-band__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); /* auto-fit: every stat is owner-supplied and may be absent — never leave an empty column */
  gap: 2rem; text-align: center;
}
.stats-band__num {
  font-family: var(--font-display); font-size: 3.25rem; font-weight: 800;
  color: var(--accent); line-height: 1; display: block;
}
.stats-band__label {
  font-size: .8125rem; color: rgba(255,255,255,.5); font-weight: 600;
  margin-top: .4rem; display: block; text-transform: uppercase; letter-spacing: 1px;
}
.stats-band__divider {
  width: 1px; background: rgba(255,255,255,.08);
  height: 60px; align-self: center; display: none;
}

/* 12. Products Section ─────────────────────────────────── */
[data-section="products"] { padding: 5rem 0; background: var(--surface); }
.products__header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 2.5rem; gap: 1.5rem; flex-wrap: wrap;
}
.products__heading {}
.products__eyebrow {
  display: block; font-family: var(--font-display); font-size: .875rem;
  font-weight: 700; letter-spacing: 2px; color: var(--accent);
  text-transform: uppercase; margin-bottom: .5rem;
}
.products__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.875rem);
  font-weight: 700; color: var(--primary); letter-spacing: -.5px;
}
.products__subtitle { font-size: .9375rem; color: var(--muted); margin-top: .4rem; }
.products__see-all {
  font-size: .9375rem; font-weight: 600; color: var(--accent);
  text-decoration: underline; text-underline-offset: 3px; transition: color .2s;
}
.products__see-all:hover { color: var(--accent-dark); }

/* Filter + Sort Bar */
.filter-bar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  margin-bottom: 2rem; padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.filter-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-chip {
  padding: .45rem 1.0625rem;
  border: 1.5px solid var(--border); border-radius: 100px;
  font-size: .875rem; font-weight: 500; color: var(--muted);
  background: var(--surface); cursor: pointer; transition: all .2s;
}
.filter-chip:hover { border-color: var(--accent); color: var(--accent); }
.filter-chip--active { background: var(--accent); border-color: var(--accent); color: #fff; }
.sort-select {
  padding: .5rem .9375rem; border: 1.5px solid var(--border); border-radius: var(--radius);
  font-size: .875rem; color: var(--text); background: var(--surface);
  cursor: pointer; outline: none; transition: border-color .2s; appearance: none;
  padding-right: 2rem;
  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='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .75rem center;
}
.sort-select:focus { border-color: var(--accent); }

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

/* 13. Product Card (P12 canonical) ─────────────────────── */
.product-card {
  border-radius: 12px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  transition: box-shadow .3s, transform .1s ease;
  transform-style: preserve-3d; will-change: transform;
}
.product-card:hover { box-shadow: 0 8px 30px rgba(13,17,23,.1); }
.product-card__image-wrap {
  position: relative; display: block;
  aspect-ratio: 1; overflow: hidden; background: var(--background);
}
.product-card__image-wrap img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease;
}
.product-card:hover .product-card__image-wrap img { transform: scale(1.06); }
.product-card__quick-view {
  position: absolute; bottom: .875rem; left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(13,17,23,.88); color: #fff;
  padding: .5rem 1.125rem; border-radius: 100px;
  font-size: .8125rem; font-weight: 600;
  display: flex; align-items: center; gap: .4rem;
  opacity: 0; transition: opacity .25s, transform .25s;
  white-space: nowrap; pointer-events: none; cursor: pointer;
}
.product-card:hover .product-card__quick-view {
  opacity: 1; transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.product-card__badge {
  position: absolute; top: .75rem; left: .75rem;
  background: var(--accent); color: #fff;
  font-size: .7rem; font-weight: 700;
  padding: .25rem .625rem; border-radius: 4px;
  text-transform: uppercase; letter-spacing: .5px;
}
.product-card__badge--sale { background: var(--secondary); }
.product-card__info { padding: 1.125rem; }
.product-card__title {
  font-size: .9375rem; font-weight: 600; color: var(--primary);
  margin-bottom: .5rem; line-height: 1.35;
}
.product-card__title a { color: inherit; transition: color .2s; }
.product-card__title a:hover { color: var(--accent); }
.product-card__price {
  display: flex; align-items: center; gap: .5rem; margin-bottom: .875rem;
}
.product-card__price-current { font-weight: 700; font-size: 1rem; color: var(--primary); }
.product-card__price-original {
  font-size: .875rem; color: var(--muted); text-decoration: line-through;
}
.product-card__add-btn {
  width: 100%; justify-content: center;
  padding: .625rem 1rem; font-size: .875rem;
  border-radius: calc(var(--radius) * 0.8);
}

/* 14. Testimonials ─────────────────────────────────────── */
[data-section="testimonials"] { background: var(--primary); padding: 5rem 0; }
.testimonials__header { text-align: center; margin-bottom: 3rem; }
.testimonials__eyebrow {
  display: block; font-family: var(--font-display); font-size: .875rem;
  font-weight: 700; letter-spacing: 2px; color: var(--accent);
  text-transform: uppercase; margin-bottom: .75rem;
}
.testimonials__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem); color: #fff;
}
.testimonials__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.testimonial-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px; padding: 2rem; position: relative;
  transition: border-color .25s;
}
.testimonial-card:hover { border-color: rgba(255,94,26,.35); }
.testimonial-card__quote {
  font-family: Georgia, serif; font-size: 4.5rem; line-height: 1;
  color: var(--accent); opacity: .25;
  position: absolute; top: .875rem; left: 1.5rem;
}
.testimonial-card__content {
  font-size: 1rem; line-height: 1.7;
  color: rgba(255,255,255,.68); margin-bottom: 1.5rem;
  padding-top: 1.75rem;
}
.testimonial-card__footer {
  display: flex; align-items: center; gap: .875rem;
}
.testimonial-card__avatar {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
  flex-shrink: 0; border: 2px solid rgba(255,94,26,.35);
}
.testimonial-card__name {
  display: block; font-weight: 600; font-size: .9375rem; color: #fff;
}
.testimonial-card__role {
  display: block; font-size: .8125rem;
  color: rgba(255,255,255,.38); margin-top: .1rem;
}
.testimonial-card__stars {
  display: flex; gap: 2px; color: var(--accent);
  font-size: .875rem; margin-left: auto; align-self: flex-start;
}

/* 15. FAQ Accordion ────────────────────────────────────── */
[data-section="faqs"] { padding: 5rem 0; background: var(--background); }
.faqs__header { text-align: center; margin-bottom: 3rem; }
.faqs__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem); color: var(--primary);
}
.faq__list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; }
.faq__item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden; transition: border-color .2s;
}
.faq__item.open { border-color: var(--accent); }
.faq__question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 1.5rem; font-size: .9375rem; font-weight: 600;
  color: var(--primary); text-align: left; cursor: pointer; transition: color .2s;
}
.faq__item.open .faq__question { color: var(--accent); }
.faq__icon {
  flex-shrink: 0; width: 26px; height: 26px;
  border: 1.5px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.125rem; color: var(--muted); transition: all .3s;
}
.faq__icon::after { content: '+'; line-height: 1; }
.faq__item.open .faq__icon {
  background: var(--accent); border-color: var(--accent);
  color: #fff; transform: rotate(45deg);
}
.faq__answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq__answer-inner { padding: 0 1.5rem 1.25rem; font-size: .9375rem; line-height: 1.7; color: var(--muted); }

/* 16. Policies ─────────────────────────────────────────── */
[data-section="policies"] { padding: 4.5rem 0; background: var(--surface); }
.policies__header { text-align: center; margin-bottom: 2.75rem; }
.policies__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem); color: var(--primary);
}
.policies__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.policy-card {
  text-align: center; padding: 2rem 1.5rem;
  background: var(--background); border-radius: 12px;
  border: 1px solid var(--border); transition: border-color .2s, box-shadow .2s;
}
.policy-card:hover { border-color: var(--accent); box-shadow: 0 4px 20px rgba(255,94,26,.08); }
.policy-card__icon {
  width: 52px; height: 52px; background: rgba(255,94,26,.1);
  color: var(--accent); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.policy-card__title {
  display: block; font-weight: 700; font-size: 1rem;
  color: var(--primary); margin-bottom: .4rem;
}
.policy-card__content { font-size: .875rem; color: var(--muted); line-height: 1.6; }

/* 17. Contact ──────────────────────────────────────────── */
[data-section="contact"] { background: var(--primary); padding: 5rem 0; }
.contact__container {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 4rem; align-items: start;
}
.contact__eyebrow {
  display: block; font-family: var(--font-display); font-size: .875rem;
  font-weight: 700; letter-spacing: 2px; color: var(--accent);
  text-transform: uppercase; margin-bottom: .75rem;
}
.contact__title {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; color: #fff; margin-bottom: 2rem; line-height: 1.1;
}
.contact__details { display: flex; flex-direction: column; gap: 1.25rem; }
.contact__detail {
  display: flex; align-items: center; gap: .875rem;
  color: rgba(255,255,255,.65); font-size: .9375rem;
}
.contact__detail-icon {
  width: 42px; height: 42px; background: rgba(255,94,26,.14);
  color: var(--accent); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact__map-link {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--accent-light); text-decoration: underline;
  text-underline-offset: 3px; font-size: .9375rem; margin-top: .25rem; transition: color .2s;
}
.contact__map-link:hover { color: var(--accent); }
.contact__form-card {
  background: var(--surface); border-radius: 16px; padding: 2.5rem;
}
.contact__form-card h3 {
  font-family: var(--font-display); font-size: 1.875rem; font-weight: 700;
  color: var(--primary); margin-bottom: 1.5rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block; font-size: .875rem; font-weight: 600;
  color: var(--primary); margin-bottom: .4rem;
}
.form-group input,
.form-group textarea {
  width: 100%; padding: .75rem 1rem;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-size: .9375rem; color: var(--text); background: var(--background);
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,94,26,.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row--2col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* 18. Footer ───────────────────────────────────────────── */
[data-section="footer"] {
  background: var(--primary-dark); color: rgba(255,255,255,.55);
  padding: 4.5rem 0 2rem;
}
.footer__grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem;
  margin-bottom: 3rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer__brand img { height: 36px; width: auto; margin-bottom: 1rem; }
.footer__brand p { font-size: .9375rem; line-height: 1.65; }
.footer__col h3 {
  font-family: var(--font-display); font-size: 1rem; font-weight: 700;
  color: #fff; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 1.25rem;
}
.footer__col a {
  display: block; font-size: .9375rem; color: rgba(255,255,255,.48);
  margin-bottom: .75rem; transition: color .2s;
}
.footer__col a:hover { color: var(--accent-light); }
.footer__links a { display: block; }
.footer__social-links { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: .5rem; }
.footer__social-links a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5); font-size: .8125rem; transition: all .2s;
  margin-bottom: 0;
}
.footer__social-links a:hover {
  background: var(--accent); border-color: var(--accent); color: #fff;
}
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem; font-size: .875rem;
}

/* 19. Cart Page ────────────────────────────────────────── */
[data-section="cart"] { padding: 4rem 0; background: var(--background); min-height: 60vh; }
.cart__header { margin-bottom: 2.5rem; }
.cart__title {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; color: var(--primary);
}
.cart__layout {
  display: grid; grid-template-columns: 1fr 360px;
  gap: 2.5rem; align-items: start;
}
.cart-item {
  display: grid; grid-template-columns: 90px 1fr auto auto auto;
  gap: 1.25rem; align-items: center;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.25rem; margin-bottom: 1rem;
}
.cart-item__img { width: 90px; height: 90px; object-fit: cover; border-radius: 8px; }
.cart-item__title { font-weight: 600; font-size: .9375rem; color: var(--primary); display: block; margin-bottom: .25rem; }
.cart-item__price { font-weight: 700; color: var(--primary); }
.cart-item__original { color: var(--muted); font-size: .875rem; text-decoration: line-through; }
.cart-item__qty { display: flex; align-items: center; gap: .4rem; }
.qty-btn {
  width: 32px; height: 32px; border: 1.5px solid var(--border);
  border-radius: 6px; display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; line-height: 1; transition: all .2s;
}
.qty-btn:hover { border-color: var(--accent); color: var(--accent); }
.qty-val { font-weight: 700; min-width: 24px; text-align: center; }
.cart-item__line-total { font-weight: 700; font-size: 1rem; white-space: nowrap; }
.cart-item__remove { color: var(--muted); padding: .25rem; transition: color .2s; }
.cart-item__remove:hover { color: #e53e3e; }
.cart__summary {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 1.75rem;
  position: sticky; top: 90px;
}
.cart__summary h3 {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
  margin-bottom: 1.5rem; color: var(--primary);
}
.cart__total-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .9375rem; color: var(--muted);
  padding: .625rem 0; border-bottom: 1px solid var(--border);
}
.cart__total-row--grand {
  font-size: 1.125rem; font-weight: 700; color: var(--primary);
  border-bottom: none; padding-top: .875rem;
}
.cart__checkout-btn { display: block; margin-top: 1.5rem; }
.cart__continue-link {
  display: block; text-align: center; margin-top: 1rem;
  font-size: .875rem; color: var(--muted);
  text-decoration: underline; text-underline-offset: 3px; transition: color .2s;
}
.cart__continue-link:hover { color: var(--accent); }
/* Empty state */
.empty-state { text-align: center; padding: 5rem 2rem; }
.empty-state__icon { color: var(--border); margin: 0 auto 1.5rem; }
.empty-state h2 {
  font-family: var(--font-display); font-size: 2rem; font-weight: 700;
  color: var(--primary); margin-bottom: .75rem;
}
.empty-state p { color: var(--muted); margin-bottom: 2rem; }

/* 20. Checkout ─────────────────────────────────────────── */
[data-section="checkout"] { padding: 4rem 0; background: var(--background); min-height: 70vh; }
.checkout__title {
  font-family: var(--font-display); font-size: clamp(1.75rem, 3.5vw, 2.875rem);
  font-weight: 700; color: var(--primary); margin-bottom: 2rem;
}
.checkout-progress { margin-bottom: 2.5rem; }
.checkout-progress ol { display: flex; align-items: flex-start; max-width: 300px; }
.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__step-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--border); color: var(--muted);
  font-size: .8125rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
}
.checkout-progress__step--completed .checkout-progress__step-num { background: var(--accent); color: #fff; }
.checkout-progress__step--active .checkout-progress__step-num { background: var(--primary); color: #fff; }
.checkout-progress__label {
  font-size: .75rem; text-align: center; white-space: nowrap;
  color: var(--muted); font-weight: 500;
}
.checkout-progress__step--active .checkout-progress__label { color: var(--primary); font-weight: 600; }
.checkout__layout {
  display: grid; grid-template-columns: 1fr 380px;
  gap: 2.5rem; align-items: start;
}
.checkout__form-section {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 2rem; margin-bottom: 1.5rem;
}
.checkout__form-section h3 {
  font-family: var(--font-display); font-size: 1.375rem; font-weight: 700;
  color: var(--primary); margin-bottom: 1.5rem;
  padding-bottom: 1rem; border-bottom: 1px solid var(--border);
}
.method-option {
  display: flex; align-items: center; gap: 1rem; padding: .875rem 1.25rem;
  border: 1.5px solid var(--border); border-radius: 10px;
  margin-bottom: .75rem; cursor: pointer; transition: all .2s;
}
.method-option:has(input:checked) {
  border-color: var(--accent); background: rgba(255,94,26,.04);
}
.method-option input[type="radio"] { accent-color: var(--accent); flex-shrink: 0; }
.method-option__label { flex: 1; font-weight: 500; font-size: .9375rem; color: var(--primary); }
.method-option__desc { font-size: .8125rem; color: var(--muted); }
.method-option__price { font-weight: 700; color: var(--accent); font-size: .9375rem; }
.checkout__summary {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 1.75rem;
  position: sticky; top: 90px;
}
.checkout__summary h3 {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
  margin-bottom: 1.25rem; padding-bottom: 1rem;
  border-bottom: 1px solid var(--border); color: var(--primary);
}
.checkout-summary-item {
  display: flex; align-items: center; gap: .875rem;
  padding: .75rem 0; border-bottom: 1px solid var(--border);
}
.checkout-summary-item img {
  width: 52px; height: 52px; object-fit: cover;
  border-radius: 6px; flex-shrink: 0;
}
.checkout-summary-item__info { flex: 1; min-width: 0; }
.checkout-summary-item__title {
  font-weight: 500; font-size: .875rem; color: var(--primary);
  display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.checkout-summary-item__qty { font-size: .8125rem; color: var(--muted); }
.checkout-summary-item__price { font-weight: 700; font-size: .9375rem; white-space: nowrap; }
.checkout__total-row {
  display: flex; justify-content: space-between;
  font-size: .9375rem; padding: .5rem 0; color: var(--muted);
}
.checkout__total-row--grand {
  font-size: 1.125rem; font-weight: 700; color: var(--primary);
  padding-top: .875rem; border-top: 1px solid var(--border); margin-top: .25rem;
}
/* Trust signals */
.trust-signals { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.trust-signals__item {
  display: flex; align-items: center; gap: .5rem;
  font-size: .8125rem; color: var(--muted); margin-bottom: .5rem;
}
.trust-signals__item svg { color: var(--accent); flex-shrink: 0; }

/* 21. Product Detail ───────────────────────────────────── */
[data-section="product_detail"] { padding: 3rem 0 5rem; background: var(--background); }
.product-detail__container {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: start;
}
.product-gallery__main {
  border-radius: 14px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  aspect-ratio: 1;
}
.product-gallery__main img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.product-gallery__thumbs {
  display: flex; gap: .75rem; margin-top: .875rem; flex-wrap: wrap;
}
.product-gallery__thumbs button {
  border: 2px solid var(--border); border-radius: 8px;
  overflow: hidden; padding: 0; transition: border-color .2s; flex-shrink: 0;
}
.product-gallery__thumbs button:hover,
.product-gallery__thumbs button.active { border-color: var(--accent); }
.product-gallery__thumbs img { width: 72px; height: 72px; object-fit: cover; display: block; }
.product__eyebrow {
  font-size: .8125rem; font-weight: 700; color: var(--accent);
  text-transform: uppercase; letter-spacing: 1px;
  display: block; margin-bottom: .5rem;
}
.product__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; color: var(--primary);
  line-height: 1.1; letter-spacing: -.5px; margin-bottom: .875rem;
}
.product__rating {
  display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem;
}
.product__stars { color: var(--accent); letter-spacing: 1px; }
.product__review-count { font-size: .875rem; color: var(--muted); }
.product__price-row {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1.75rem; padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}
.product__price {
  font-family: var(--font-display); font-size: 2.25rem;
  font-weight: 800; color: var(--primary);
}
.product__price-original { font-size: 1.375rem; color: var(--muted); text-decoration: line-through; }
.product__price-badge {
  background: rgba(255,94,26,.1); color: var(--accent);
  font-weight: 700; font-size: .8125rem; padding: .3rem .625rem; border-radius: 4px;
}
.variant-selector { margin-bottom: 1.5rem; }
.variant-selector__label {
  display: block; font-weight: 600; font-size: .9375rem;
  color: var(--primary); margin-bottom: .75rem; border: none; padding: 0;
}
.variant-selector__options { display: flex; flex-wrap: wrap; gap: .5rem; }
.variant-chip { display: block; cursor: pointer; }
.variant-chip input { position: absolute; opacity: 0; pointer-events: none; }
.variant-chip span {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .5rem 1.125rem; border: 1.5px solid var(--border);
  border-radius: 6px; font-size: .875rem; font-weight: 500;
  color: var(--text); transition: all .2s;
}
.variant-chip:hover span { border-color: var(--accent); color: var(--accent); }
.variant-chip--active span { background: var(--accent); border-color: var(--accent); color: #fff; }
.product__qty-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.product__qty-control {
  display: flex; align-items: center; gap: .5rem;
  border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.product__qty-btn {
  width: 42px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.375rem; color: var(--muted); transition: all .2s;
}
.product__qty-btn:hover { color: var(--accent); background: rgba(255,94,26,.06); }
.product__qty-input {
  width: 52px; text-align: center; font-size: 1rem; font-weight: 700;
  border: none; outline: none; color: var(--primary);
}
.product__atc-btn { flex: 1; padding: .875rem 1.5rem; font-size: 1rem; }
/* Sticky ATC — mobile only */
.sticky-atc { display: none; }
@media (max-width: 768px) {
  .sticky-atc {
    position: fixed; bottom: 0; left: 0; right: 0;
    padding: .875rem 1.25rem;
    background: var(--surface); border-top: 1px solid var(--border);
    z-index: 800; display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; box-shadow: 0 -4px 20px rgba(13,17,23,.12);
    transform: translateY(100%); transition: transform .3s;
  }
  .sticky-atc.visible { transform: translateY(0); }
  .sticky-atc__info { flex: 1; overflow: hidden; }
  .sticky-atc__title {
    font-weight: 600; font-size: .875rem;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block;
  }
  .sticky-atc__price { font-weight: 700; color: var(--accent); font-size: .875rem; }
}
/* Reviews */
[data-section="reviews"] { padding: 4rem 0; background: var(--surface); }
.reviews__title {
  font-family: var(--font-display); font-size: 2rem; font-weight: 700;
  color: var(--primary); margin-bottom: 2rem;
}
.review-item {
  padding: 1.5rem; background: var(--background);
  border: 1px solid var(--border); border-radius: 10px; margin-bottom: 1rem;
}
.review-header { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; flex-wrap: wrap; }
.review-author { font-weight: 600; color: var(--primary); }
.review-stars { color: var(--accent); letter-spacing: 1px; }
.review-date { font-size: .8125rem; color: var(--muted); margin-left: auto; }
.review-title { font-weight: 600; margin-bottom: .375rem; color: var(--primary); display: block; }
.review-body { color: var(--muted); font-size: .9375rem; line-height: 1.65; }
.review-form {
  background: var(--background); border: 1px solid var(--border);
  border-radius: 12px; padding: 2rem; margin-top: 2rem;
}
.review-form h3 {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
  color: var(--primary); margin-bottom: 1.5rem;
}
.star-rating { display: flex; gap: .375rem; margin-bottom: 1rem; }
.star-btn {
  font-size: 1.875rem; color: var(--border); cursor: pointer;
  transition: color .15s; background: none; border: none; padding: 0;
}
.star-btn.active { color: var(--accent); }
/* Breadcrumbs */
.breadcrumbs { padding: 1.25rem 0; }
.breadcrumbs ol { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.breadcrumbs li { font-size: .875rem; color: var(--muted); display: flex; align-items: center; gap: .5rem; }
.breadcrumbs li:not(:last-child)::after { content: '/'; opacity: .35; }
.breadcrumbs a { transition: color .2s; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs [aria-current="page"] { color: var(--primary); font-weight: 500; }

/* 22. Quick View Modal ─────────────────────────────────── */
.qv-overlay {
  position: fixed; inset: 0;
  background: rgba(13,17,23,.65); z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem; opacity: 0; pointer-events: none; transition: opacity .25s;
}
.qv-overlay.open { opacity: 1; pointer-events: auto; }
.qv-modal {
  background: var(--surface); border-radius: 16px; padding: 2rem;
  max-width: 700px; width: 100%; max-height: 90vh; overflow-y: auto;
  transform: scale(.94); transition: transform .25s; position: relative;
}
.qv-overlay.open .qv-modal { transform: scale(1); }
.qv-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--background); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; cursor: pointer; transition: all .2s;
}
.qv-close:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.qv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.qv-img { border-radius: 10px; overflow: hidden; aspect-ratio: 1; }
.qv-img img { width: 100%; height: 100%; object-fit: cover; }
.qv-title { font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; color: var(--primary); margin-bottom: .75rem; }
.qv-price { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--accent); margin-bottom: 1.25rem; }

/* 23. Back to Top ──────────────────────────────────────── */
.back-to-top {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  background: var(--accent); color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(20px);
  transition: opacity .3s, transform .3s; z-index: 500;
  box-shadow: 0 4px 16px rgba(255,94,26,.4);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--accent-dark); transform: translateY(-3px); }

/* 24. Reveal animation class */
.reveal-grid {}

/* 25. Products page hero (page banner) */
.hero--page { min-height: 32vh; padding: 3.5rem 0; }
.hero--page .hero__container { grid-template-columns: 1fr; text-align: center; }
.hero--page .hero__title { font-size: clamp(2.5rem, 5vw, 4.5rem); }
.hero--page .hero__cta-row { justify-content: center; }

/* 26. Responsive ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .policies__grid { grid-template-columns: repeat(2, 1fr); }
  .stats-band__grid { grid-template-columns: repeat(auto-fit, minmax(max(140px, 40%), 1fr)); gap: 2.5rem; }
  .checkout__layout { grid-template-columns: 1fr 320px; }
  .cart__layout { grid-template-columns: 1fr 320px; }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .hero__container { grid-template-columns: 1fr; }
  .hero__media { display: none; }
  .categories__grid { grid-template-columns: 1fr 1fr; }
  .category-card:nth-child(1) { grid-column: span 2; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .product-detail__container { grid-template-columns: 1fr; gap: 2rem; }
  .contact__container { grid-template-columns: 1fr; gap: 2.5rem; }
  .cart__layout { grid-template-columns: 1fr; }
  .checkout__layout { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .nav__toggle { display: flex; }
  .nav__links { display: none; }
  .form-row--2col { grid-template-columns: 1fr; }
  .qv-grid { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 80px 1fr; gap: .75rem; }
  .cart-item__qty, .cart-item__line-total, .cart-item__remove { grid-column: 2; }
}
@media (max-width: 480px) {
  .categories__grid { grid-template-columns: 1fr; }
  .category-card:nth-child(1) { grid-column: span 1; }
  .policies__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}


/* __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([data-section="contact"]) .contact__map-link { color: oklch(from var(--primary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
:where([data-section="contact"]) .contact__eyebrow { 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([data-section="footer"]) .footer__col a { color: oklch(from var(--primary-dark) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
:where([data-section="contact"]) .contact__detail { color: oklch(from var(--primary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
[data-section="footer"] { color: oklch(from var(--primary-dark) clamp(0, (0.57 - l) * 1000, 1) 0 0); }

/* phone-header-fit: at phone width a real business name fills the logo, so the brand truncates
   before it can push the menu toggle off-screen, and the toggle stays pinned right. On a phone
   the header's Shop Now button gives way to the brand; the cart stays. */
@media (max-width: 768px) {
  [data-section="header"] .logo { flex-shrink: 1; min-width: 0; }
  [data-section="header"] .logo .wb-header-brand { max-width: 100% !important; }
  .nav__actions, [data-section="header"] .nav__toggle { flex-shrink: 0; }
}
@media (max-width: 480px) {
  .nav__actions .btn { display: none; }
}
/* /phone-header-fit */

/* 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 {
  --accent: #cc2900; /* was #ff5e1a */
}

/* Guarded contrast (Skin & Skeleton S2, theme:palette-stress --heal --guarded): text that read in the owner's
   colours but not once a colour was darkened to read on the page. Each bound was proven by rendering the page with no
   palette, with each stress palette as picked, and with its guarded and readable versions: none got worse. */
.testimonials__eyebrow:where([data-section="testimonials"], [data-section="testimonials"] *) { color: oklch(from var(--accent) max(l, 1) c h / alpha); }
