/* ============================================================
   Lumière Growth — Jewellery Store Ecommerce Theme
   Palette: Obsidian + Champagne Gold + Warm Ivory
   Tier: Growth | App: ecommerce
   ============================================================ */

/* ─── CSS Variables ─────────────────────────────────────────── */
:root {
  --primary:     #0f0b08;
  --secondary:   #1e1810;
  --accent:      #c9a84c;
  --accent-light:#e8c97a;
  --background:  #faf7f2;
  --surface:     #f2ebe0;
  --text:        #1a1410;
  --muted:       #8a7d6e;
  --border:      #e0d8cc;
  --font-sans:   'Inter', system-ui, -apple-system, sans-serif;
  --font-display:'Cormorant Garamond', 'Georgia', serif;
  --radius:      4px;
  --radius-lg:   8px;
  --shadow-sm:   0 1px 4px rgba(15,11,8,.06);
  --shadow-md:   0 4px 20px rgba(15,11,8,.10);
  --shadow-lg:   0 12px 48px rgba(15,11,8,.14);
  --transition:  .25s cubic-bezier(.4,0,.2,1);
}

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

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

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

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

/* ─── Utilities ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}
.skip-link {
  position: absolute; top: -40px; left: 1rem; z-index: 9999;
  padding: .5rem 1rem; background: var(--accent); color: var(--primary);
  border-radius: var(--radius); transition: top .2s;
  color: oklch(from var(--accent) clamp(0, (0.57 - l) * 1000, 1) 0 0);
}
.skip-link:focus { top: 0.5rem; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.01em;
}
.section-heading--light { color: #faf7f2; }
.section-sub {
  color: var(--muted);
  font-size: 1rem;
  max-width: 520px;
}
.section-sub--light { color: #c9bfb4; }

/* Button styles */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .85rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase;
  padding: .85rem 2rem;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
}
.btn--gold {
  background: var(--accent);
  color: var(--primary);
  border: 1.5px solid var(--accent);
  color: oklch(from var(--accent) clamp(0, (0.57 - l) * 1000, 1) 0 0);
}
.btn--gold:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,.3);
}
.btn--outline-light {
  background: transparent;
  color: #faf7f2;
  border: 1.5px solid rgba(250,247,242,.35);
}
.btn--outline-light:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn--outline-dark {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--border);
}
.btn--outline-dark:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn--magnetic { transition: transform .3s cubic-bezier(.23,1,.32,1); }

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

/* ─── Header ────────────────────────────────────────────────── */
[data-section="header"] {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: var(--background, rgba(15,11,8,.04));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
[data-section="header"].scrolled {
  background: var(--background);
  border-color: rgba(201,168,76,.18);
  box-shadow: 0 4px 24px rgba(15,11,8,.18);
}
[data-section="header"] nav:not(.nav__mobile) {
  display: flex; align-items: center; gap: 2rem;
  padding-block: 1.1rem;
}
[data-section="header"] .logo {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: .05em;
}
[data-section="header"] .logo img {
  height: 40px; width: auto; object-fit: contain;
}
[data-section="header"] .nav__links {
  display: flex; align-items: center; gap: 2rem;
  margin-left: auto;
}
[data-section="header"] .nav__links a {
  font-size: .8rem; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text);
  position: relative; padding-bottom: 2px;
}
[data-section="header"] .nav__links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
[data-section="header"] .nav__links a:hover::after { transform: scaleX(1); }
[data-section="header"] .nav__links a:hover { color: var(--accent); }
.nav__cart {
  display: flex; align-items: center; justify-content: center;
  width: 2.2rem; height: 2.2rem;
  background: var(--accent); color: var(--primary);
  border-radius: 50%; font-size: .75rem; font-weight: 700;
  flex-shrink: 0; cursor: pointer;
  transition: var(--transition);
  color: oklch(from var(--accent) clamp(0, (0.57 - l) * 1000, 1) 0 0);
}
.nav__cart:hover { background: var(--accent-light); transform: scale(1.08); }
.nav__toggle {
  display: none; font-size: 1.4rem; color: var(--text);
  margin-left: auto; padding: .4rem;
}
/* Mobile nav */
[data-section="header"] .nav__mobile {
  display: none;
  flex-direction: column; gap: 0;
  background: var(--primary);
  padding: 1.5rem;
}
[data-section="header"] .nav__mobile a {
  color: #faf7f2; font-size: .9rem; letter-spacing: .08em;
  text-transform: uppercase; padding-block: .75rem;
  border-bottom: 1px solid rgba(201,168,76,.15);
}
[data-section="header"] .nav__mobile.open { display: flex; }
.pt-header { padding-top: 5rem; }

/* ─── Hero (index.html) ─────────────────────────────────────── */
[data-section="hero"].hero--home {
  background: var(--primary);
  min-height: 100svh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero--home .hero__bg-grain {
  position: absolute; inset: 0; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero--home .hero__accent-line {
  position: absolute; top: 0; left: clamp(44%, 50%, 55%);
  width: 1px; height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(201,168,76,.5) 40%, rgba(201,168,76,.15) 100%);
  z-index: 1;
}
.hero--home .container { position: relative; z-index: 2; }
.hero--home .hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  min-height: 100svh;
  padding-block: clamp(6rem, 12vw, 10rem);
}
.hero--home .hero__copy { display: flex; flex-direction: column; gap: 1.5rem; }
.hero--home .hero__badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem .9rem;
  border: 1px solid rgba(201,168,76,.4);
  border-radius: 2rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent);
  width: fit-content;
}
.hero--home .hero__badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; }
  50% { opacity: .35; }
}
.hero--home .hero__prefix {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-style: italic;
  color: rgba(250,247,242,.5);
}
.hero--home .hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1.08;
  color: #faf7f2;
  letter-spacing: -.02em;
}
.hero--home .hero__title em {
  font-style: italic;
  color: var(--accent);
}
.hero--home .hero__subtitle {
  font-size: 1rem;
  color: rgba(250,247,242,.6);
  max-width: 400px;
  line-height: 1.7;
}
.hero--home .hero__ctas {
  display: flex; flex-wrap: wrap; gap: 1rem;
  margin-top: .5rem;
}
.hero--home .hero__image-wrap {
  position: relative;
  display: flex; justify-content: center;
}
.hero--home .hero__image-frame {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: var(--radius);
}
.hero--home .hero__image-frame img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.05);
  transition: transform 6s ease;
}
.hero--home .hero__image-frame:hover img { transform: scale(1); }
.hero--home .hero__image-badge {
  position: absolute; bottom: 2rem; left: -1.5rem;
  background: var(--accent);
  color: var(--primary);
  padding: .75rem 1.25rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .02em;
  box-shadow: var(--shadow-lg);
  color: oklch(from var(--accent) clamp(0, (0.57 - l) * 1000, 1) 0 0);
}
.hero--home .hero__image-badge strong { display: block; font-size: 1.4rem; }
.hero--home .hero__scroll-hint {
  /* Above the accent line (z 1) and the full-height transparent content grid (z 2): under them the owner's
     double-click on this text landed on the line (team 12718, psp-ecommerce-1013-umbrella). It sits in the
     grid's column gap, so it covers no content. */
  position: absolute; z-index: 3; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  font-size: .7rem; letter-spacing: .15em; text-transform: uppercase;
  color: rgba(250,247,242,.4);
  animation: scroll-bob 2s ease-in-out infinite;
}
@keyframes scroll-bob {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}
.hero--home .hero__scroll-hint::after {
  content: '';
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(201,168,76,.6), transparent);
}

/* ─── Hero (products.html banner) ──────────────────────────── */
[data-section="hero"].hero--banner {
  background: var(--primary);
  padding-block: clamp(7rem, 12vw, 9rem) clamp(3rem, 6vw, 4rem);
}
.hero--banner .hero__inner {
  display: flex; flex-direction: column; gap: 1rem;
  max-width: 640px;
}
.hero--banner .hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #faf7f2;
  font-weight: 400;
}
.hero--banner .hero__subtitle { color: rgba(250,247,242,.55); }

/* ─── Section Base ──────────────────────────────────────────── */
section { padding-block: clamp(3.5rem, 8vw, 6rem); }

/* ─── Categories ────────────────────────────────────────────── */
[data-section="categories"] {
  background: var(--background);
}
.categories__header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1rem; margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.categories__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.category-card {
  position: relative; overflow: hidden;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  cursor: pointer;
  background: var(--surface);
}
.category-card__img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.category-card:hover .category-card__img { transform: scale(1.06); }
.category-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,11,8,.82) 0%, rgba(15,11,8,.1) 55%, transparent 100%);
  transition: var(--transition);
}
.category-card:hover .category-card__overlay {
  background: linear-gradient(to top, rgba(15,11,8,.9) 0%, rgba(15,11,8,.35) 55%, rgba(201,168,76,.05) 100%);
}
.category-card__body {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
  transform: translateY(0.5rem);
  transition: transform var(--transition);
}
.category-card:hover .category-card__body { transform: translateY(0); }
.category-card__name {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: #faf7f2;
  font-weight: 400;
}
.category-card__link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent);
  margin-top: .5rem;
  opacity: 0;
  transition: opacity var(--transition), transform var(--transition);
  transform: translateY(6px);
}
.category-card:hover .category-card__link {
  opacity: 1; transform: translateY(0);
}
.category-card__link svg { flex-shrink: 0; }

/* ─── Stats Band (UX element — no data-section) ─────────────── */
.stats-band {
  background: var(--secondary);
  padding-block: 2.5rem;
  border-top: 1px solid rgba(201,168,76,.12);
  border-bottom: 1px solid rgba(201,168,76,.12);
}
.stats-band__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); /* auto-fit: an owner-optional stat may be absent — never leave an empty column */
  gap: 1rem;
  text-align: center;
}
.stat-item { display: flex; flex-direction: column; gap: .3rem; }
.stat-item__num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--accent);
  font-weight: 400;
  line-height: 1;
}
.stat-item__label {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(250,247,242,.55);
}

/* ─── Products Section ──────────────────────────────────────── */
[data-section="products"] {
  background: var(--primary);
}
.products__header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1.5rem; margin-bottom: 2rem; flex-wrap: wrap;
}
.products__filter-bar {
  display: flex; align-items: center; gap: .75rem;
  flex-wrap: wrap; margin-bottom: 2rem;
}
.filter-chip {
  padding: .45rem 1.1rem;
  border-radius: 2rem;
  font-size: .75rem; font-weight: 500; letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid rgba(201,168,76,.3);
  color: rgba(250,247,242,.65);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}
.filter-chip:hover, .filter-chip.is-active, .filter-chip--active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary);
  color: oklch(from var(--accent) clamp(0, (0.57 - l) * 1000, 1) 0 0);
}
.sort-select {
  margin-left: auto;
  padding: .45rem 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(201,168,76,.3);
  background: transparent;
  color: rgba(250,247,242,.65);
  font-size: .75rem; letter-spacing: .06em;
  cursor: pointer;
}
.sort-select option { color: var(--text); background: var(--background); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* ─── Product Card (P12 Canonical) ─────────────────────────── */
.product-card {
  background: var(--secondary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .35s cubic-bezier(.4,0,.2,1), box-shadow .35s;
  transform-style: preserve-3d;
  will-change: transform;
}
.product-card.tilt-card { cursor: pointer; }
.product-card:hover {
  box-shadow: 0 20px 60px rgba(201,168,76,.15), var(--shadow-lg);
}
.product-card__image-wrap {
  position: relative; overflow: hidden;
  aspect-ratio: 1 / 1.1;
  display: block;
}
.product-card__image-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
}
.product-card:hover .product-card__image-wrap img { transform: scale(1.06); }
.product-card__quick-view {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(15,11,8,.55);
  opacity: 0;
  transition: opacity var(--transition);
  color: #faf7f2;
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  gap: .5rem;
}
.product-card:hover .product-card__quick-view { opacity: 1; }
.product-card__badge {
  position: absolute; top: .85rem; left: .85rem;
  background: var(--accent);
  color: var(--primary);
  font-size: .65rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase;
  padding: .2rem .55rem;
  border-radius: 2rem;
  color: oklch(from var(--accent) clamp(0, (0.57 - l) * 1000, 1) 0 0);
}
.product-card__info {
  padding: 1.25rem;
  display: flex; flex-direction: column; gap: .6rem;
  flex: 1;
}
.product-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 400;
  color: #faf7f2;
  line-height: 1.3;
}
.product-card__title a { color: inherit; }
.product-card__title a:hover { color: var(--accent); }
.product-card__price {
  display: flex; align-items: center; gap: .5rem;
  flex-wrap: wrap;
}
.product-card__price-current {
  font-size: 1rem; font-weight: 600;
  color: var(--accent);
}
.product-card__price-original {
  font-size: .85rem; color: rgba(250,247,242,.35);
  text-decoration: line-through;
}
.product-card__add-btn {
  margin-top: auto;
  width: 100%;
  padding: .7rem;
  background: transparent;
  border: 1px solid rgba(201,168,76,.35);
  border-radius: var(--radius);
  color: var(--accent);
  font-size: .75rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase;
  transition: var(--transition);
}
.product-card__add-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary);
  color: oklch(from var(--accent) clamp(0, (0.57 - l) * 1000, 1) 0 0);
}
.product-card[aria-hidden="true"] { display: none; }

/* ─── Marquee Band (UX element) ─────────────────────────────── */
.marquee-band {
  background: var(--accent);
  padding-block: .85rem;
  overflow: hidden;
}
.marquee { overflow: hidden; }
.marquee__track {
  display: flex; gap: 3rem;
  width: max-content;
  white-space: nowrap;
}
.marquee__item {
  display: flex; align-items: center; gap: .6rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--primary);
}
.marquee__sep { opacity: .45; }

/* ─── Testimonials ──────────────────────────────────────────── */
[data-section="testimonials"] { background: var(--surface); }
.testimonials__header { margin-bottom: 2.5rem; }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex; flex-direction: column; gap: 1.25rem;
  position: relative;
  transition: var(--transition);
}
.testimonial-card:hover {
  border-color: rgba(201,168,76,.4);
  box-shadow: var(--shadow-md);
}
.testimonial-card::before {
  content: '\201C';
  position: absolute; top: 1.25rem; right: 1.5rem;
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--accent);
  opacity: .25;
  line-height: 1;
}
.testimonial-stars {
  display: flex; gap: .2rem; color: var(--accent);
  font-size: .85rem;
}
.testimonial-body {
  font-family: var(--font-display);
  font-size: 1.05rem; font-style: italic;
  color: var(--text); line-height: 1.65;
  flex: 1;
}
.testimonial-author {
  display: flex; align-items: center; gap: .75rem;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}
.testimonial-author__img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(201,168,76,.3);
}
.testimonial-author__name {
  display: block;
  font-size: .9rem; font-weight: 600;
  color: var(--text);
}
.testimonial-author__role {
  font-size: .75rem; color: var(--muted);
  letter-spacing: .06em;
}

/* ─── FAQs ──────────────────────────────────────────────────── */
[data-section="faqs"] { background: var(--primary); }
.faqs__header { margin-bottom: 2.5rem; }
.faqs__list { display: flex; flex-direction: column; gap: 0; max-width: 800px; }
.faq-item {
  border-bottom: 1px solid rgba(201,168,76,.15);
}
.faq-item:first-child { border-top: 1px solid rgba(201,168,76,.15); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
  cursor: pointer;
  font-size: 1rem; font-weight: 500;
  color: #faf7f2;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--accent); }
.faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border: 1px solid rgba(201,168,76,.35);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 1.1rem;
  transition: transform var(--transition), background var(--transition);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--accent);
  color: var(--primary);
  color: oklch(from var(--accent) clamp(0, (0.57 - l) * 1000, 1) 0 0);
}
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .4s cubic-bezier(.4,0,.2,1);
}
.faq-answer__inner {
  padding-bottom: 1.25rem;
  color: rgba(250,247,242,.55);
  font-size: .95rem; line-height: 1.7;
}

/* ─── Policies ──────────────────────────────────────────────── */
[data-section="policies"] { background: var(--background); }
.policies__header { margin-bottom: 2.5rem; }
.policies__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.policy-card {
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column; gap: 1rem;
  transition: var(--transition);
  background: var(--background);
}
.policy-card:hover {
  border-color: rgba(201,168,76,.4);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}
.policy-card__icon {
  width: 44px; height: 44px;
  background: rgba(201,168,76,.1);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.policy-card__icon svg { width: 22px; height: 22px; }
.policy-card__title {
  font-size: .9rem; font-weight: 600;
  color: var(--text);
}
.policy-card__content {
  font-size: .85rem; color: var(--muted);
  line-height: 1.6;
}

/* ─── Contact ───────────────────────────────────────────────── */
[data-section="contact"] { background: var(--primary); padding: 0; }
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}
.contact__info {
  padding: clamp(3rem, 6vw, 5rem);
  display: flex; flex-direction: column; gap: 2rem;
}
.contact__info-row {
  display: flex; align-items: flex-start; gap: 1rem;
}
.contact__info-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(201,168,76,.12);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.contact__info-icon svg { width: 18px; height: 18px; }
.contact__info-label {
  display: block; font-size: .7rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(250,247,242,.4); margin-bottom: .2rem;
}
.contact__info-value {
  font-size: .95rem; color: rgba(250,247,242,.85);
}
.contact__form {
  padding: clamp(3rem, 6vw, 5rem);
  background: var(--surface);
  display: flex; flex-direction: column; gap: 1.25rem;
}
.contact__form .form-group {
  display: flex; flex-direction: column; gap: .4rem;
}
.contact__form label {
  font-size: .72rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
}
.contact__form input,
.contact__form textarea {
  padding: .85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--background);
  color: var(--text); font-size: .95rem;
  transition: border-color var(--transition);
  width: 100%;
}
.contact__form input:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.contact__form textarea { min-height: 110px; resize: vertical; }

/* ─── Footer ─────────────────────────────────────────────────── */
[data-section="footer"] {
  background: #080604;
  padding-block: clamp(3rem, 6vw, 5rem) 2rem;
  border-top: 1px solid rgba(201,168,76,.12);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer__brand img { height: 38px; width: auto; object-fit: contain; margin-bottom: 1rem; }
.footer__brand p {
  font-size: .85rem; color: rgba(250,247,242,.4);
  line-height: 1.65; max-width: 260px;
}
.footer__col h3 {
  font-size: .72rem; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 1.1rem;
}
.footer__col a {
  display: block;
  font-size: .85rem; color: rgba(250,247,242,.5);
  margin-bottom: .6rem;
  transition: color var(--transition);
}
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  border-top: 1px solid rgba(201,168,76,.08);
  padding-top: 2rem;
  font-size: .78rem; color: rgba(250,247,242,.3);
}
/* Alias footer__links / footer__social as footer__col */
.footer__links h3, .footer__social h3 {
  font-size: .72rem; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 1.1rem;
}
.footer__links a, .footer__social a {
  display: block; font-size: .85rem; color: rgba(250,247,242,.5);
  margin-bottom: .6rem; transition: color var(--transition);
}
.footer__links a:hover, .footer__social a:hover { color: var(--accent); }

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

/* ─── Breadcrumbs ───────────────────────────────────────────── */
.breadcrumbs {
  padding-block: 1rem;
  font-size: .78rem; color: var(--muted);
}
.breadcrumbs ol { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.breadcrumbs li::after { content: '/'; margin-left: .5rem; opacity: .45; }
.breadcrumbs li:last-child::after { display: none; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs [aria-current="page"] { color: var(--text); font-weight: 500; }

/* ─── Cart Page ─────────────────────────────────────────────── */
.cart-page { background: var(--background); padding-block: clamp(3rem, 6vw, 5rem); }
.cart-page .page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 2.5rem; font-weight: 400;
}
[data-cart-layout] {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2.5rem;
  align-items: start;
}
[data-cart-empty-state] {
  display: none;
  text-align: center;
  padding: 5rem 2rem;
  flex-direction: column; align-items: center; gap: 1.25rem;
}
[data-cart-empty-state].visible { display: flex; }
.empty-state__icon { color: var(--muted); }
.empty-state h2 {
  font-family: var(--font-display);
  font-size: 1.8rem; font-weight: 400;
}
.empty-state p { color: var(--muted); }
[data-cart-items] { display: flex; flex-direction: column; gap: 0; }
.cart-item {
  display: grid;
  grid-template-columns: 88px 1fr auto auto auto;
  align-items: center; gap: 1.25rem;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.cart-item__img-wrap { display: block; border-radius: var(--radius); overflow: hidden; }
.cart-item__img-wrap img {
  width: 88px; height: 88px; object-fit: cover;
  border-radius: var(--radius);
}
.cart-item__title {
  font-size: .95rem; font-weight: 500; color: var(--text);
}
.cart-item__original { color: var(--muted); text-decoration: line-through; font-size: .82rem; }
.cart-item__price { font-weight: 600; color: var(--text); }
.cart-item__qty {
  display: flex; align-items: center; gap: .5rem;
}
.qty-btn {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--text);
  cursor: pointer; transition: var(--transition);
}
.qty-btn:hover { border-color: var(--accent); color: var(--accent); }
.qty-val { font-size: .9rem; font-weight: 600; min-width: 1.5rem; text-align: center; }
.cart-item__line-total { font-weight: 700; font-size: .95rem; white-space: nowrap; }
.cart-item__remove {
  color: var(--muted); transition: color var(--transition);
  padding: .3rem;
}
.cart-item__remove:hover { color: #e53e3e; }
.cart-summary {
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  color: #faf7f2;
  position: sticky; top: 7rem;
}
.cart-summary__title {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 400;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(201,168,76,.18);
}
.cart-summary__row {
  display: flex; justify-content: space-between;
  font-size: .9rem; padding-block: .5rem;
  color: rgba(250,247,242,.65);
}
.cart-summary__row--total {
  font-size: 1.05rem; font-weight: 700;
  color: var(--accent);
  border-top: 1px solid rgba(201,168,76,.18);
  margin-top: .5rem; padding-top: 1rem;
}
.cart-summary__actions { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .75rem; }
.cart-summary__actions .btn { justify-content: center; }

/* ─── Checkout Page ─────────────────────────────────────────── */
.checkout-page { background: var(--background); padding-block: clamp(3rem, 6vw, 5rem); }
.checkout-page .page-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: .5rem; font-weight: 400;
}
.checkout-page .page-sub { color: var(--muted); margin-bottom: 2.5rem; }
[data-checkout-layout] {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
  align-items: start;
}
[data-checkout-empty-state] { display: none; }
.checkout-form-wrap { display: flex; flex-direction: column; gap: 1.75rem; }
.checkout-block {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.checkout-block__title {
  font-size: .75rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 1.25rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label {
  font-size: .72rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: .85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--background);
  color: var(--text); font-size: .95rem;
  width: 100%; transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--accent);
}
.form-group.full { grid-column: 1 / -1; }
.shipping-option, .payment-option {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color var(--transition);
  margin-bottom: .6rem;
}
.shipping-option:has(input:checked),
.payment-option:has(input:checked) { border-color: var(--accent); }
.shipping-option input, .payment-option input { accent-color: var(--accent); }
.shipping-option__info { flex: 1; }
.shipping-option__label, .payment-option__label { font-size: .9rem; font-weight: 500; }
.shipping-option__zone { font-size: .78rem; color: var(--muted); }
.shipping-option__price { font-weight: 700; color: var(--accent); white-space: nowrap; }
.checkout-progress {
  display: flex; justify-content: center;
  margin-bottom: 2.5rem;
}
.checkout-progress ol {
  display: flex; align-items: flex-start; max-width: 360px; width: 100%;
}
.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__num {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem; font-weight: 700;
  background: var(--background);
  position: relative; z-index: 1;
  color: var(--muted);
}
.checkout-progress__step--completed .checkout-progress__num {
  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__num {
  border-color: var(--accent); color: var(--accent);
}
.checkout-progress__label {
  font-size: .72rem; text-align: center; white-space: nowrap;
  color: var(--muted);
}
.checkout-progress__step--active .checkout-progress__label { color: var(--accent); font-weight: 600; }
.checkout-sidebar {
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  color: #faf7f2;
  position: sticky; top: 7rem;
}
.checkout-sidebar__title {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 400;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(201,168,76,.18);
}
[data-checkout-summary-items] { display: flex; flex-direction: column; gap: .85rem; margin-bottom: 1.25rem; }
.checkout-summary-item {
  display: flex; align-items: center; gap: .85rem;
}
.checkout-summary-item img {
  width: 52px; height: 52px; object-fit: cover;
  border-radius: var(--radius); flex-shrink: 0;
}
.checkout-summary-item__info { flex: 1; }
.checkout-summary-item__title { font-size: .85rem; color: rgba(250,247,242,.8); line-height: 1.3; }
.checkout-summary-item__qty { font-size: .75rem; color: rgba(250,247,242,.4); }
.checkout-summary-item__price { font-size: .9rem; font-weight: 600; color: var(--accent); white-space: nowrap; }
.checkout-sidebar__total {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(201,168,76,.18);
  padding-top: 1rem; margin-top: 1rem;
  font-size: 1rem; font-weight: 700; color: var(--accent);
}
.trust-signals {
  display: flex; gap: 1rem; flex-wrap: wrap;
  margin-top: 1.5rem; padding-top: 1.25rem;
  border-top: 1px solid rgba(201,168,76,.12);
}
.trust-signals__item {
  display: flex; align-items: center; gap: .4rem;
  font-size: .72rem; color: rgba(250,247,242,.5);
}
.trust-signals__item svg { width: 14px; height: 14px; color: var(--accent); }

/* ─── Product Detail Page ───────────────────────────────────── */
.product-detail-page { background: var(--background); }
[data-section="product_detail"] { padding-block: 0; }
.product-detail__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding-block: clamp(3rem, 6vw, 5rem);
  align-items: start;
}
.product-gallery__main {
  aspect-ratio: 1; overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
  margin-bottom: 1rem;
}
.product-gallery__main img {
  width: 100%; height: 100%; object-fit: cover;
}
.product-gallery__thumbs {
  display: flex; gap: .75rem; overflow-x: auto;
  scrollbar-width: none;
}
.product-gallery__thumbs::-webkit-scrollbar { display: none; }
.product-gallery__thumbs button {
  flex-shrink: 0;
  width: 72px; height: 72px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color var(--transition);
  background: var(--surface);
}
.product-gallery__thumbs button.active,
.product-gallery__thumbs button:hover { border-color: var(--accent); }
.product-gallery__thumbs img {
  width: 100%; height: 100%; object-fit: cover;
}
.product-info { display: flex; flex-direction: column; gap: 1.25rem; }
.product-info__category {
  font-size: .72rem; letter-spacing: .15em;
  text-transform: uppercase; color: var(--accent);
}
.product-info__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400; line-height: 1.2;
  color: var(--text);
}
.product-info__rating {
  display: flex; align-items: center; gap: .5rem;
}
.product-info__stars { color: var(--accent); font-size: .9rem; }
.product-info__count { font-size: .8rem; color: var(--muted); }
.product-info__price {
  font-size: 1.5rem; font-weight: 700;
  color: var(--primary);
}
.product-info__price-original {
  font-size: 1rem; color: var(--muted);
  text-decoration: line-through; margin-left: .5rem;
}
.product-info__desc {
  font-size: .95rem; color: var(--muted);
  line-height: 1.7;
}
.variant-selector { margin-bottom: .75rem; }
.variant-selector__label {
  font-size: .72rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: .6rem; display: block;
}
.variant-selector__options { display: flex; flex-wrap: wrap; gap: .5rem; }
.variant-chip {
  padding: .4rem .9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .82rem; cursor: pointer;
  transition: var(--transition);
  display: inline-flex; align-items: center;
}
.variant-chip input { position: absolute; opacity: 0; pointer-events: none; }
.variant-chip--active, .variant-chip:has(input:checked) {
  border-color: var(--primary);
  background: var(--primary);
  color: #faf7f2;
}
.product-atc {
  display: flex; gap: 1rem; align-items: center;
  margin-top: .5rem;
}
.product-atc .qty-control {
  display: flex; align-items: center; gap: .5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .5rem .75rem;
}
.product-atc__btn {
  flex: 1; padding: 1rem;
  background: var(--primary); color: #faf7f2;
  border-radius: var(--radius);
  font-size: .82rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase;
  transition: var(--transition);
}
.product-atc__btn:hover {
  background: var(--accent); color: var(--primary);
  color: oklch(from var(--accent) clamp(0, (0.57 - l) * 1000, 1) 0 0);
}
.product-meta {
  display: flex; flex-direction: column; gap: .5rem;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}
.product-meta__row {
  display: flex; gap: .5rem;
  font-size: .82rem;
}
.product-meta__label { color: var(--muted); min-width: 80px; }
.product-meta__val { color: var(--text); font-weight: 500; }

/* Sticky ATC */
.sticky-atc {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  padding: .75rem 1rem;
  background: var(--primary);
  border-top: 1px solid rgba(201,168,76,.2);
  z-index: 800;
  transform: translateY(100%);
  transition: transform .3s;
}
.sticky-atc.visible {
  display: flex; align-items: center;
  justify-content: space-between; gap: 1rem;
  transform: translateY(0);
}
.sticky-atc__info { flex: 1; overflow: hidden; }
.sticky-atc__title {
  font-size: .9rem; font-weight: 600;
  color: #faf7f2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sticky-atc__price { font-size: .8rem; color: var(--accent); }
.sticky-atc__btn {
  padding: .65rem 1.5rem;
  background: var(--accent); color: var(--primary);
  border-radius: var(--radius);
  font-size: .8rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; flex-shrink: 0;
  transition: var(--transition);
  color: oklch(from var(--accent) clamp(0, (0.57 - l) * 1000, 1) 0 0);
}
.sticky-atc__btn:hover { background: var(--accent-light); }

/* ─── Reviews ───────────────────────────────────────────────── */
[data-section="reviews"] { background: var(--surface); }
[data-section="reviews"] .section-heading { margin-bottom: 2rem; }
.reviews-list { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 3rem; }
.review-item {
  padding: 1.5rem;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.review-author { font-weight: 600; font-size: .9rem; }
.review-stars { color: var(--accent); font-size: .85rem; margin-block: .3rem; display: block; }
.review-title { font-weight: 600; font-size: .92rem; display: block; margin-bottom: .35rem; }
.review-body { font-size: .9rem; color: var(--muted); line-height: 1.65; }
.review-form-wrap {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.review-form-wrap h3 {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 400;
  margin-bottom: 1.5rem;
}
.review-form-wrap .form-group { margin-bottom: 1rem; }

/* ─── Related Products ──────────────────────────────────────── */
.related-products {
  padding-block: clamp(3rem, 6vw, 5rem);
  background: var(--background);
}
.related-products .section-heading { margin-bottom: 2rem; }
.related-products .products-grid {
  grid-template-columns: repeat(4, 1fr);
}
.related-products .product-card {
  background: var(--surface);
}
.related-products .product-card__title { color: var(--text); }
.related-products .product-card__add-btn {
  color: var(--primary); border-color: var(--border);
}
.related-products .product-card__add-btn:hover {
  background: var(--primary); border-color: var(--primary); color: #faf7f2;
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .categories__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  [data-section="header"] .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .hero--home .hero__inner { grid-template-columns: 1fr; padding-block: 7rem 3rem; }
  .hero--home .hero__image-wrap { display: none; }
  .hero--home .hero__scroll-hint { display: none; }
  .categories__grid { grid-template-columns: repeat(2, 1fr); }
  .stats-band__grid { display: flex; flex-wrap: wrap; gap: 1.5rem; } /* 2-up; an owner-optional stat may be hidden, so an odd last stat takes the full row instead of leaving a hole */
  .stats-band__grid > .stat-item { flex: 1 1 calc(50% - .75rem); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid { grid-template-columns: 1fr; }
  .policies__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__inner { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  [data-cart-layout] { grid-template-columns: 1fr; }
  [data-checkout-layout] { grid-template-columns: 1fr; }
  .product-detail__inner { grid-template-columns: 1fr; }
  .related-products .products-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 72px 1fr auto; gap: .75rem; }
  .cart-item__line-total { display: none; }
}
@media (max-width: 480px) {
  .categories__grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .policies__grid { grid-template-columns: 1fr; }
  .related-products .products-grid { grid-template-columns: 1fr; }
  .hero--home .hero__ctas { flex-direction: column; }
}
/* ===== 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 wbRevealUp {
    from { opacity: 0; transform: translateY(24px); }
    /* `to` intentionally omits `transform` — see
       les-filling-view-animation-outranks-hover-and-inline-transform. */
    to { opacity: 1; }
  }
  @keyframes wbRevealUpBig {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; }
  }
  @keyframes wbImageWipe {
    from { clip-path: inset(100% 0 0 0); transform: scale(1.06); }
    to { clip-path: inset(0% 0 0 0); }
  }

  /* ---- Page-load entrances (hero) ----
     These never used ScrollTrigger — GSAP fired them once on DOMContentLoaded
     via a timeline, so wall-clock animation-delay reproduces the same
     cadence exactly. */
  .hero__image-frame {
    animation: wbImageWipe 1.5s cubic-bezier(.19,1,.22,1) .1s both;
  }
  .hero__badge {
    animation: wbRevealUp .6s cubic-bezier(.16,1,.3,1) .2s both;
  }
  .hero__prefix {
    animation: wbRevealUp .6s cubic-bezier(.16,1,.3,1) .5s both;
  }
  .hero__title {
    animation: wbRevealUpBig .9s cubic-bezier(.16,1,.3,1) .8s both;
  }
  .hero__subtitle {
    animation: wbRevealUp .7s cubic-bezier(.16,1,.3,1) 1.2s both;
  }
  .hero__ctas {
    animation: wbRevealUp .6s cubic-bezier(.16,1,.3,1) 1.5s both;
  }
}

/* ---- 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 .75s cubic-bezier(.16,1,.3,1) both;
      animation-timeline: view();
      animation-range: entry 0% entry 60%;
    }
    .reveal-grid > *:nth-child(2) { animation-range: entry 8% entry 68%; }
    .reveal-grid > *:nth-child(3) { animation-range: entry 16% entry 76%; }
    .reveal-grid > *:nth-child(4) { animation-range: entry 24% entry 84%; }
    .reveal-grid > *:nth-child(n+5) { animation-range: entry 32% entry 92%; }

    /* 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 — each element keeps its own
       measured amplitude. */
    [data-parallax] {
      animation: wbDataParallax linear both;
      animation-timeline: view();
      animation-range: cover 0% cover 100%;
    }
  }
}

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

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


/* __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="footer"]) .footer__links h3 { color: oklch(from var(--accent) max(l, 0.75) c h); }
:where([data-section="footer"]) .footer__social h3 { color: oklch(from var(--accent) max(l, 0.75) c h); }
:where([data-section="footer"]) .footer__col h3 { color: oklch(from var(--accent) max(l, 0.75) c h); }
:where(.marquee-band) .marquee__item { color: oklch(from var(--accent) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
:where([data-section="products"]) .eyebrow { color: oklch(from var(--primary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
:where(.product-card) .product-card__price-current { color: oklch(from var(--accent) max(l, 0.75) c h); }
:where(.product-card) .product-card__add-btn { color: oklch(from var(--accent) max(l, 0.75) c h); }
:where([data-section="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="products"]) .section-sub--light { color: oklch(from var(--primary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
:where([data-section="products"]) .sort-select { color: oklch(from var(--primary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
.product-card { color: oklch(from var(--secondary) 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: #75695a; /* was #8a7d6e */
}
.footer__bottom { color: oklch(from rgba(250, 247, 242, 0.3) calc(l + 0.07) c h / calc(min(1, alpha + 0.21))); }
.footer__brand p { color: oklch(from rgba(250, 247, 242, 0.4) calc(l + 0.02) c h / calc(min(1, alpha + 0.06))); }

/* 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. */
:where([data-section="categories"]) .eyebrow { color: oklch(from var(--accent) min(l, 0.553) c h / alpha); }

/* 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. */
:where([data-section="contact"]) .contact__info-label { color: oklch(from rgba(250, 247, 242, 0.4) calc(l + 0.02) c h / calc(min(1, alpha + 0.06))); }

/* Hand contrast (Skin & Skeleton S2 light-theme batch): the product cards fill with --secondary and the filter row,
   FAQ band and contact panel with --primary. The rules above assume those fills stay dark; an owner's mid-tone
   fill (tan, slate blue) left light text and accent prices unreadable. Text there follows its fill. */
.product-card__title,
.product-card__price-current,
.product-card__add-btn:not(:hover) { color: oklch(from var(--secondary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
:where([data-section="products"]) .filter-chip:not(:hover, .is-active, .filter-chip--active),
:where([data-section="faqs"]) .eyebrow,
:where([data-section="contact"]) :is(.contact__info-label, .contact__info-value) { color: oklch(from var(--primary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
/* Own design: the gold eyebrow on the cream testimonials and policies bands reads darker. */
:is(.testimonials__header, .policies__header) .eyebrow { color: oklch(from var(--accent) min(l, 0.48) c h / alpha); }
