/* ============================================================
   FLUX — Electronics Store Theme (Growth Tier)
   Palette: Acid Lime #84CC16 + Hot Rose #F43F5E on Midnight #0A0E1A
   ============================================================ */

/* 01 — VARIABLES & RESET
------------------------------------------------------------ */
:root {
  --clr-primary: #84CC16;
  --clr-primary-dark: #65A30D;
  --clr-accent: #F43F5E;
  --clr-dark: #0A0E1A;
  --clr-dark-2: #131929;
  --clr-dark-3: #1E2640;
  --clr-bg: #F2F7FF;
  --clr-surface: #FFFFFF;
  --clr-border: #E0E7F5;
  --clr-text: #0F172A;
  --clr-muted: #64748B;
  --clr-on-dark: #C8D8F0;
  --clr-on-dark-muted: #7A8FAD;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 4px rgba(10,14,26,.07);
  --shadow-md: 0 4px 18px rgba(10,14,26,.10);
  --shadow-lg: 0 12px 44px rgba(10,14,26,.14);
  --glow-primary: 0 0 28px rgba(132,204,22,.35);
  --glow-card: 0 8px 32px rgba(132,204,22,.18);

  --transition: 0.25s cubic-bezier(.4,0,.2,1);
  --transition-slow: 0.45s cubic-bezier(.4,0,.2,1);
  --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans, 'Inter', system-ui, sans-serif);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--clr-text);
  background: var(--clr-bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; }
h1, h2, h3, h4, h5 { font-family: var(--font-display, 'Space Grotesk', sans-serif); line-height: 1.2; }

/* 02 — ACCESSIBILITY
------------------------------------------------------------ */
.skip-link {
  position: absolute; top: -100%; left: 1rem;
  background: var(--clr-primary); color: var(--clr-dark);
  padding: .5rem 1rem; border-radius: var(--radius-sm);
  font-weight: 700; z-index: 9999; transition: top .2s;
  color: oklch(from var(--clr-primary) clamp(0, (0.57 - l) * 1000, 1) 0 0);
}
.skip-link:focus { top: 1rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

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

/* 03 — LAYOUT
------------------------------------------------------------ */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section--tinted { background: var(--clr-surface); }
.section-head { text-align: center; margin-bottom: 3rem; }
.section-head--left { text-align: left; margin-bottom: 2rem; }
.eyebrow {
  display: inline-block; font-size: .75rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--clr-primary); margin-bottom: .75rem;
}
.section-title { font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 700; color: var(--clr-text); }
.section-subtitle { color: var(--clr-muted); margin-top: .75rem; max-width: 52ch; margin-inline: auto; }
.section-cta { text-align: center; margin-top: 3rem; }

/* 04 — BUTTONS
------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.75rem; border-radius: var(--radius-md);
  font-family: var(--font-sans, 'Space Grotesk', sans-serif); font-weight: 600; font-size: .9375rem;
  border: 2px solid transparent; transition: var(--transition);
  white-space: nowrap; text-align: center; justify-content: center;
}
.btn:focus-visible { outline: 2px solid var(--clr-primary); outline-offset: 3px; }
.btn--primary {
  background: var(--clr-primary); color: var(--clr-dark);
  border-color: var(--clr-primary);
  color: oklch(from var(--clr-primary) clamp(0, (0.57 - l) * 1000, 1) 0 0);
}
.btn--primary:hover {
  background: var(--clr-primary-dark); border-color: var(--clr-primary-dark);
  box-shadow: var(--glow-primary); transform: translateY(-2px);
}
.btn--outline {
  background: transparent; color: var(--clr-text);
  border-color: var(--clr-border);
}
.btn--outline:hover { border-color: var(--clr-primary); color: var(--clr-primary); }
.btn--outline-light {
  background: transparent; color: #fff;
  border-color: rgba(255,255,255,.35);
}
.btn--outline-light:hover { border-color: var(--clr-primary); color: var(--clr-primary); }
.btn--lg { padding: .9375rem 2.25rem; font-size: 1rem; }
.btn--sm { padding: .5rem 1.125rem; font-size: .875rem; }
.btn--full { width: 100%; }

/* 05 — BADGES
------------------------------------------------------------ */
.badge {
  display: inline-block; padding: .2rem .625rem; border-radius: var(--radius-full);
  font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.badge--lime { background: var(--clr-primary); color: var(--clr-dark); color: oklch(from var(--clr-primary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
.badge--rose { background: var(--clr-accent); color: #fff; }
.badge--dark { background: var(--clr-dark-3); color: var(--clr-on-dark); }
.text-gradient {
  background: linear-gradient(135deg, var(--clr-primary) 0%, #BBF451 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* 06 — HEADER
------------------------------------------------------------ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: transparent;
  transition: background var(--transition-slow), backdrop-filter var(--transition-slow),
              box-shadow var(--transition-slow);
}
.site-header.scrolled {
  background: var(--wb-dark-surface, rgba(10,14,26,.92)); backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,.07);
}
.header__inner {
  display: flex; align-items: center; gap: 2rem;
  height: 72px;
}
.header__logo {
  display: flex; align-items: center; gap: .625rem; flex-shrink: 0;
}
.header__logo img { width: auto; height: 32px; }
.header__brand {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.1rem;
  color: #fff; letter-spacing: -.01em;
}
.header__nav { margin-inline-start: auto; }
.header__nav-list { display: flex; gap: 2rem; }
.nav-link {
  font-size: .9375rem; font-weight: 500; color: var(--clr-on-dark);
  transition: color var(--transition); position: relative; padding-bottom: 2px;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--clr-primary);
  transform: scaleX(0); transition: transform var(--transition);
}
.nav-link:hover, .nav-link:focus { color: var(--clr-primary); }
.nav-link:hover::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; gap: .5rem; margin-inline-start: 1.5rem; }
.header__search-btn, .header__cart-btn {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: var(--radius-md);
  color: var(--clr-on-dark); transition: var(--transition);
}
.header__search-btn:hover, .header__cart-btn:hover {
  background: rgba(132,204,22,.12); color: var(--clr-primary);
}
.cart-badge {
  position: absolute; top: 4px; right: 4px;
  min-width: 18px; height: 18px; border-radius: var(--radius-full);
  background: var(--clr-primary); color: var(--clr-dark);
  font-size: .65rem; font-weight: 800; display: flex;
  align-items: center; justify-content: center; padding: 0 4px;
  transition: transform .2s cubic-bezier(.4,0,.2,1);
  color: oklch(from var(--clr-primary) clamp(0, (0.57 - l) * 1000, 1) 0 0);
}
.cart-badge.pulse { animation: badge-pulse .4s ease; }
.header__menu-btn {
  display: none; flex-direction: column; gap: 5px;
  width: 42px; height: 42px; align-items: center; justify-content: center;
  border-radius: var(--radius-md); color: var(--clr-on-dark);
}
.header__menu-btn span {
  display: block; width: 22px; height: 2px;
  background: currentColor; border-radius: 2px; transition: var(--transition);
}
.header__menu-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__menu-btn.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.header__menu-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none; background: var(--clr-dark-2);
  border-top: 1px solid rgba(255,255,255,.06);
}
.mobile-menu ul { padding: 1rem 1.5rem; display: flex; flex-direction: column; gap: .25rem; }
.mobile-menu a {
  display: block; padding: .75rem .5rem; color: var(--clr-on-dark);
  font-weight: 500; border-bottom: 1px solid rgba(255,255,255,.06);
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--clr-primary); }
.mobile-menu.open { display: block; }

/* 07 — CART DRAWER
------------------------------------------------------------ */
.cart-drawer-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.55);
  z-index: 1000; opacity: 0; pointer-events: none;
  transition: opacity var(--transition-slow);
}
.cart-drawer-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(420px, 100vw); background: var(--wb-dark-surface, var(--clr-dark-2));
  z-index: 1001; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform var(--transition-slow);
  box-shadow: -8px 0 40px rgba(0,0,0,.3);
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,.08);
}
.cart-drawer__title { color: #fff; font-size: 1.125rem; font-weight: 700; }
.cart-drawer__close {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  color: var(--clr-on-dark); transition: var(--transition);
}
.cart-drawer__close:hover { background: rgba(255,255,255,.08); color: #fff; }
.cart-drawer__items { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; }
.cart-drawer__item {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: .875rem 0; border-bottom: 1px solid rgba(255,255,255,.06);
}
.cart-drawer__item img {
  width: 64px; height: 64px; object-fit: cover;
  border-radius: var(--radius-sm); flex-shrink: 0; background: var(--wb-dark-surface, #1E2640);
}
.cart-drawer__item-info { flex: 1; min-width: 0; }
.cart-drawer__item-title { color: #fff; font-size: .875rem; font-weight: 600; line-height: 1.3; }
.cart-drawer__item-price { color: var(--clr-primary); font-size: .875rem; font-weight: 700; margin-top: .25rem; }
.cart-drawer__item-qty { color: var(--clr-on-dark-muted); font-size: .8rem; margin-top: .125rem; }
.cart-drawer__footer {
  padding: 1.25rem 1.5rem; border-top: 1px solid rgba(255,255,255,.08);
  background: var(--wb-dark-surface, var(--clr-dark));
}
.cart-drawer__total-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1rem; color: var(--clr-on-dark);
}
.cart-drawer__total { font-weight: 800; font-size: 1.125rem; color: var(--clr-primary); }
.cart-drawer__empty {
  text-align: center; padding: 3rem 1rem; color: var(--clr-on-dark-muted);
}
.cart-drawer__empty-icon { margin: 0 auto 1rem; opacity: .4; }

/* 08 — HERO
------------------------------------------------------------ */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: var(--wb-dark-surface, var(--clr-dark)); overflow: hidden; padding-top: 72px;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(132,204,22,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(132,204,22,.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}
.hero__glow-orb {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .35;
}
.hero__glow-orb--1 {
  width: 600px; height: 600px; background: var(--wb-tint, rgba(132,204,22,.25));
  top: -200px; right: -100px;
}
.hero__glow-orb--2 {
  width: 400px; height: 400px; background: var(--wb-tint, rgba(244,63,94,.18));
  bottom: -100px; left: 10%;
}
.hero__inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center; padding-block: 5rem;
  position: relative; z-index: 1;
}
.hero__content { max-width: 580px; }
.hero__content .badge { margin-bottom: 1.5rem; }
.hero__title {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem); font-weight: 800;
  color: var(--wb-on-dark, #fff); line-height: 1.1; letter-spacing: -.025em; margin-bottom: 1.25rem;
}
.hero__subtitle { color: var(--clr-on-dark); font-size: 1.125rem; line-height: 1.7; margin-bottom: 2rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero__trust { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.hero__trust-item {
  display: flex; align-items: center; gap: .5rem;
  color: var(--clr-on-dark-muted); font-size: .875rem;
}
.hero__trust-item svg { color: var(--clr-primary); flex-shrink: 0; }
.hero__visual { display: flex; align-items: center; justify-content: center; }
.hero__stage {
  position: relative; width: 480px; height: 480px;
  display: flex; align-items: center; justify-content: center;
}
.hero__ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(132,204,22,.25);
}
.hero__ring--outer {
  inset: 0; animation: ring-rotate 18s linear infinite;
  border-style: dashed;
}
.hero__ring--inner {
  inset: 60px; animation: ring-rotate 12s linear infinite reverse;
  border-color: var(--border, rgba(132,204,22,.15));
}
.hero__glow-spot {
  position: absolute; width: 260px; height: 260px; border-radius: 50%;
  background: var(--background, radial-gradient(circle, rgba(132,204,22,.15) 0%, transparent 70%));
  animation: glow-pulse 4s ease-in-out infinite;
}
.hero__product-img {
  position: relative; z-index: 2; width: 320px; height: 320px;
  object-fit: contain; animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 20px 60px rgba(132,204,22,.3));
}

/* Hero entrance — page-load, not scroll-driven. Resting state (opacity:1) is
   fully visible at rule level; the hidden from-state lives only inside the
   keyframes, so a browser that never runs the animation (or a same-origin
   preview iframe) never strands the hero copy or visual. */
[data-hero-reveal] { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .hero__content[data-hero-reveal] {
    animation: flx-hero-content-in .9s cubic-bezier(.16,1,.3,1) .1s both;
  }
  .hero__visual[data-hero-reveal] {
    animation: flx-hero-visual-in .9s cubic-bezier(.16,1,.3,1) .3s both;
  }
}

/* 09 — STATS BAND
------------------------------------------------------------ */
.stats-band {
  background: var(--clr-dark-3);
  border-top: 1px solid rgba(132,204,22,.12);
  border-bottom: 1px solid rgba(132,204,22,.12);
}
.stats-band__inner {
  display: flex; align-items: center; justify-content: center;
  gap: 0; padding: 1.75rem 0;
}
.stats-band__item { flex: 1; text-align: center; padding: .5rem 1rem; }
.stats-band__num {
  display: block; font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem; font-weight: 800; color: var(--clr-primary);
  line-height: 1; margin-bottom: .25rem;
}
.stats-band__label { font-size: .8rem; color: var(--clr-on-dark-muted); text-transform: uppercase; letter-spacing: .06em; }
.stats-band__divider { width: 1px; height: 40px; background: rgba(255,255,255,.1); flex-shrink: 0; }

/* 10 — CATEGORIES
------------------------------------------------------------ */
.categories__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.category-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  display: block; aspect-ratio: 4/3; background: var(--clr-dark-3);
  transition: transform var(--transition), box-shadow var(--transition);
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--glow-card); }
.category-card:hover .category-card__overlay { opacity: .55; }
.category-card:hover .category-card__cta { opacity: 1; transform: translateY(0); }
.category-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform var(--transition-slow);
}
.category-card:hover img { transform: scale(1.06); }
.category-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,14,26,.9) 40%, transparent 100%);
  transition: opacity var(--transition);
}
.category-card__content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.25rem; display: flex; flex-direction: column; gap: .375rem;
}
.category-card__name { color: #fff; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.125rem; }
.category-card__cta {
  color: var(--clr-primary); font-size: .875rem; font-weight: 600;
  opacity: 0; transform: translateY(6px); transition: var(--transition);
}
.categories__grid > [data-list] { display: contents; }

/* 11 — PRODUCTS
------------------------------------------------------------ */
.product-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
}
.product-card {
  background: var(--clr-surface); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  border: 1px solid var(--clr-border); position: relative;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.product-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg);
  border-color: rgba(132,204,22,.35);
}
.product-card__image-wrap {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 1; background: var(--clr-bg);
}
.product-card__image-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--transition-slow);
}
.product-card:hover .product-card__image-wrap img { transform: scale(1.05); }
.product-card__quick-view {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(10,14,26,.88); color: var(--clr-primary);
  font-size: .8rem; font-weight: 700; letter-spacing: .04em;
  display: flex; align-items: center; justify-content: center; gap: .375rem;
  padding: .625rem; transform: translateY(100%); transition: transform var(--transition);
}
.product-card:hover .product-card__quick-view { transform: translateY(0); }
.product-card__info { padding: 1rem; display: flex; flex-direction: column; flex: 1; gap: .375rem; }
.product-card__badge { align-self: flex-start; margin-bottom: .125rem; }
.product-card__title { font-size: .9375rem; font-weight: 600; line-height: 1.35; }
.product-card__title a { color: var(--clr-text); transition: color var(--transition); }
.product-card__title a:hover { color: var(--clr-primary); }
.product-card__price { display: flex; align-items: baseline; gap: .5rem; margin-top: auto; padding-top: .5rem; }
.product-card__price-current { font-family: 'Space Grotesk', sans-serif; font-weight: 800; font-size: 1.05rem; color: var(--clr-text); }
.product-card__price-original { font-size: .875rem; color: var(--clr-muted); text-decoration: line-through; }
.product-card form { margin-top: .625rem; }

/* 12 — TESTIMONIALS
------------------------------------------------------------ */
.testimonials__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.testimonial-card {
  background: var(--clr-bg); border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg); padding: 1.75rem;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); border-color: var(--border, rgba(132,204,22,.3)); }
.testimonial-card__header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.testimonial-card__header img {
  width: 48px; height: 48px; border-radius: 50%;
  object-fit: cover; background: var(--clr-border); flex-shrink: 0;
}
.testimonial-card__name { font-weight: 700; font-size: .9375rem; display: block; }
.testimonial-card__role { font-size: .8rem; color: var(--clr-muted); display: block; margin-top: .125rem; }
.testimonial-card__stars { color: #f59e0b; font-size: 1rem; letter-spacing: 1px; margin-bottom: .75rem; }
.testimonial-card__content { font-size: .9375rem; color: var(--clr-muted); line-height: 1.7; }

/* 13 — FAQs
------------------------------------------------------------ */
.faqs__inner {
  display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; align-items: start;
}
.faq-list { display: flex; flex-direction: column; gap: .5rem; }
.faq-item {
  background: var(--clr-bg); border: 1px solid var(--clr-border);
  border-radius: var(--radius-md); overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.open { border-color: rgba(132,204,22,.35); }
.faq-item__trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.125rem 1.25rem; text-align: left;
  font-weight: 600; font-size: .9375rem; color: var(--clr-text);
  transition: color var(--transition);
}
.faq-item__trigger:hover { color: var(--clr-primary); }
.faq-item__icon { flex-shrink: 0; transition: transform var(--transition); color: var(--clr-primary); }
.faq-item.open .faq-item__icon { transform: rotate(180deg); }
.faq-item__body {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease;
}
.faq-item__body p { padding: 0 1.25rem 1.125rem; color: var(--clr-muted); font-size: .9375rem; line-height: 1.7; }

/* 14 — POLICIES
------------------------------------------------------------ */
.policies__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.policy-card {
  background: var(--clr-bg); border: 1px solid var(--clr-border);
  border-radius: var(--radius-md); padding: 1.5rem;
  border-top: 3px solid var(--clr-primary);
  transition: box-shadow var(--transition);
}
.policy-card:hover { box-shadow: var(--shadow-md); }
.policy-card__title { display: block; font-weight: 700; font-size: .9375rem; margin-bottom: .5rem; }
.policy-card__body { font-size: .875rem; color: var(--clr-muted); line-height: 1.6; }

/* 15 — CONTACT
------------------------------------------------------------ */
.contact__inner {
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start;
}
.contact__details { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.contact__details li { display: flex; align-items: flex-start; gap: .75rem; color: var(--clr-text); }
.contact__details svg { color: var(--clr-primary); flex-shrink: 0; margin-top: .25rem; }
.contact__map-btn { margin-top: 1.5rem; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .375rem; }
.form-group label { font-size: .875rem; font-weight: 600; color: var(--clr-text); }
.form-group input, .form-group textarea {
  padding: .75rem 1rem; border: 1px solid var(--clr-border);
  border-radius: var(--radius-md); background: var(--clr-surface);
  transition: border-color var(--transition), box-shadow var(--transition);
  font-size: .9375rem;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(132,204,22,.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* 16 — FOOTER
------------------------------------------------------------ */
.site-footer { background: var(--clr-dark); padding-top: 5rem; }
.footer__inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem; padding-bottom: 3.5rem;
}
.footer__logo {
  display: flex; align-items: center; gap: .625rem;
  font-family: var(--font-sans, 'Space Grotesk', sans-serif); font-weight: 700;
  font-size: 1.1rem; color: var(--wb-on-dark, #fff); margin-bottom: 1rem;
}
.footer__logo img { height: 28px; width: auto; }
.footer__tagline { color: var(--clr-on-dark-muted); font-size: .9rem; line-height: 1.7; margin-bottom: 1.5rem; max-width: 28ch; }
.footer__social { display: flex; gap: .5rem; }
.footer__social-link {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  background: var(--clr-dark-3); color: var(--clr-on-dark);
  transition: var(--transition);
}
.footer__social-link:hover { background: var(--clr-primary); color: var(--clr-dark); color: oklch(from var(--clr-primary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
.footer__col-title {
  font-family: var(--font-sans, 'Space Grotesk', sans-serif); font-size: .875rem;
  font-weight: 700; color: var(--wb-on-dark, #fff); letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer__links { display: flex; flex-direction: column; gap: .625rem; }
.footer__links a { color: var(--clr-on-dark-muted); font-size: .9rem; transition: color var(--transition); }
.footer__links a:hover { color: var(--clr-primary); }
.footer__contact { display: flex; flex-direction: column; gap: .75rem; }
.footer__contact li { color: var(--clr-on-dark-muted); font-size: .9rem; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 1.25rem 0;
}
.footer__bottom p { text-align: center; color: var(--clr-on-dark-muted); font-size: .875rem; }

/* 17 — BREADCRUMBS
------------------------------------------------------------ */
.breadcrumbs { padding: 1rem 0; }
.breadcrumbs ol { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.breadcrumbs li { font-size: .875rem; color: var(--clr-muted); }
.breadcrumbs li + li::before { content: '/'; margin-right: .5rem; color: var(--clr-border); }
.breadcrumbs a { color: var(--clr-muted); transition: color var(--transition); }
.breadcrumbs a:hover { color: var(--clr-primary); }
.breadcrumbs [aria-current="page"] { color: var(--clr-text); font-weight: 600; }

/* 18 — PRODUCTS PAGE
------------------------------------------------------------ */
.products-page { padding-top: calc(72px + 2rem); padding-bottom: 5rem; }
.products-page__header { margin-bottom: 2rem; }
.product-filter {
  display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin-bottom: 2rem;
}
.filter-chip {
  padding: .5rem 1.25rem; border-radius: var(--radius-full);
  border: 1.5px solid var(--clr-border); background: var(--clr-surface);
  font-size: .875rem; font-weight: 600; color: var(--clr-muted);
  cursor: pointer; transition: var(--transition);
}
.filter-chip:hover { border-color: var(--clr-primary); color: var(--clr-primary); }
.filter-chip--active, .filter-chip[aria-pressed="true"] {
  background: var(--clr-primary); border-color: var(--clr-primary);
  color: var(--clr-dark);
  color: oklch(from var(--clr-primary) clamp(0, (0.57 - l) * 1000, 1) 0 0);
}
.product-filter__right { margin-inline-start: auto; }
.sort-select {
  padding: .5rem 2rem .5rem 1rem; border-radius: var(--radius-md);
  border: 1.5px solid var(--clr-border); background: var(--clr-surface);
  font-size: .875rem; font-weight: 500; color: var(--clr-text);
  appearance: none; cursor: pointer;
  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 fill='%2364748B' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .75rem center;
}
.product-grid-lg { grid-template-columns: repeat(4, 1fr); }

/* 19 — PRODUCT DETAIL PAGE
------------------------------------------------------------ */
.product-detail-page { padding-top: calc(72px + 1rem); padding-bottom: 5rem; }
.product-detail__layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start;
}
.product-gallery { position: sticky; top: calc(72px + 1rem); }
.product-gallery__main {
  aspect-ratio: 1; background: var(--clr-bg); border-radius: var(--radius-lg);
  overflow: hidden; margin-bottom: .75rem; border: 1px solid var(--clr-border);
}
.product-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery__thumbs {
  display: flex; gap: .5rem; overflow-x: auto;
}
.product-gallery__thumbs button {
  width: 72px; height: 72px; flex-shrink: 0; border-radius: var(--radius-sm);
  overflow: hidden; border: 2px solid transparent; transition: border-color var(--transition);
  background: var(--clr-bg);
}
.product-gallery__thumbs button.active, .product-gallery__thumbs button:hover {
  border-color: var(--clr-primary);
}
.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: .8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--clr-primary);
}
.product-info__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; color: var(--clr-text);
}
.product-info__rating { display: flex; align-items: center; gap: .75rem; }
.product-info__rating .stars { color: #f59e0b; font-size: 1rem; }
.product-info__rating .count { font-size: .875rem; color: var(--clr-muted); }
.product-info__price { display: flex; align-items: baseline; gap: .875rem; }
.product-info__price-current {
  font-family: 'Space Grotesk', sans-serif; font-size: 2rem;
  font-weight: 800; color: var(--clr-text);
}
.product-info__price-original {
  font-size: 1.125rem; color: var(--clr-muted); text-decoration: line-through;
}
.product-info__price-badge { font-size: .875rem; }
.product-info__desc { color: var(--clr-muted); line-height: 1.8; font-size: .9375rem; }
.variant-selector { margin-bottom: .5rem; }
.variant-selector__label {
  font-size: .875rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; color: var(--clr-muted); margin-bottom: .625rem; display: block;
}
.variant-selector__options { display: flex; gap: .5rem; flex-wrap: wrap; }
.variant-chip {
  display: inline-block; cursor: pointer;
}
.variant-chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.variant-chip span {
  display: block; padding: .375rem .875rem; border-radius: var(--radius-sm);
  border: 1.5px solid var(--clr-border); font-size: .875rem; font-weight: 600;
  transition: var(--transition); background: var(--clr-surface);
}
.variant-chip:hover span { border-color: var(--clr-primary); }
.variant-chip--active span,
.variant-chip input:checked + span {
  border-color: var(--clr-primary); background: rgba(132,204,22,.1); color: var(--clr-dark);
}
.product-atc {
  display: flex; gap: 1rem; align-items: stretch;
  padding: 1.25rem 0; border-top: 1px solid var(--clr-border); border-bottom: 1px solid var(--clr-border);
}
.qty-selector {
  display: flex; align-items: center; border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-md); overflow: hidden; flex-shrink: 0;
}
.qty-btn {
  width: 40px; height: 48px; display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; color: var(--clr-text); cursor: pointer; border: none;
  background: none; transition: var(--transition);
}
.qty-btn:hover { background: var(--clr-bg); color: var(--clr-primary); }
.qty-val {
  width: 48px; text-align: center; font-weight: 700;
  font-size: .9375rem; border: none; background: none;
}
.product-atc .btn--primary { flex: 1; font-size: 1rem; }
.sticky-atc {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--clr-dark); border-top: 1px solid rgba(255,255,255,.1);
  padding: .875rem 1.5rem; z-index: 800;
  transform: translateY(100%); transition: transform var(--transition);
}
.sticky-atc.visible {
  display: flex; align-items: center; justify-content: space-between;
  transform: translateY(0);
}
.sticky-atc__info { display: flex; flex-direction: column; gap: .125rem; }
.sticky-atc__title { color: #fff; font-weight: 600; font-size: .9375rem; }
.sticky-atc__price { color: var(--clr-primary); font-weight: 800; font-size: 1rem; }

/* 20 — REVIEWS
------------------------------------------------------------ */
.reviews-list { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 3rem; }
.review-item {
  padding: 1.5rem; border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg); background: var(--clr-surface);
}
.review-item__header { display: flex; align-items: center; gap: 1rem; margin-bottom: .75rem; }
.review-author { font-weight: 700; font-size: .9375rem; }
.review-stars { color: #f59e0b; font-size: .9rem; letter-spacing: 1px; }
.review-title { font-weight: 600; display: block; margin-bottom: .375rem; }
.review-body { color: var(--clr-muted); font-size: .9375rem; line-height: 1.7; }
.review-form { background: var(--clr-bg); border-radius: var(--radius-lg); padding: 2rem; }
.review-form h3 { margin-bottom: 1.5rem; font-size: 1.25rem; }
.review-form .form-group { margin-bottom: 1rem; }
.review-form input, .review-form textarea {
  width: 100%; padding: .75rem 1rem; border: 1px solid var(--clr-border);
  border-radius: var(--radius-md); font-size: .9375rem;
  transition: border-color var(--transition);
}
.review-form input:focus, .review-form textarea:focus {
  outline: none; border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(132,204,22,.15);
}
.review-form textarea { min-height: 100px; resize: vertical; }

/* 21 — CART PAGE
------------------------------------------------------------ */
.cart-page { padding-top: calc(72px + 2rem); padding-bottom: 5rem; }
.cart-page__layout {
  display: grid; grid-template-columns: 1fr 360px; gap: 2rem; align-items: start;
}
.cart-item {
  display: grid; grid-template-columns: 88px 1fr auto auto auto;
  gap: 1rem; align-items: center; padding: 1.25rem 0;
  border-bottom: 1px solid var(--clr-border);
}
.cart-item__img-wrap { width: 88px; height: 88px; border-radius: var(--radius-md); overflow: hidden; background: var(--clr-bg); }
.cart-item__img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__title { font-weight: 600; font-size: .9375rem; color: var(--clr-text); }
.cart-item__original { color: var(--clr-muted); font-size: .8125rem; }
.cart-item__price { color: var(--clr-text); font-weight: 700; }
.cart-item__qty { display: flex; align-items: center; gap: .375rem; }
.cart-item__qty .qty-btn {
  width: 32px; height: 32px; border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm); font-size: 1rem;
}
.cart-item__qty .qty-val { width: 32px; font-size: .9rem; text-align: center; }
.cart-item__line-total { font-weight: 800; font-family: 'Space Grotesk', sans-serif; }
.cart-item__remove {
  color: var(--clr-muted); transition: color var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.cart-item__remove:hover { color: var(--clr-accent); }
.cart-sidebar {
  background: var(--clr-surface); border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg); padding: 1.75rem; position: sticky;
  top: calc(72px + 1rem);
}
.cart-sidebar__title { font-size: 1.125rem; font-weight: 700; margin-bottom: 1.5rem; }
.cart-sidebar__row {
  display: flex; justify-content: space-between; align-items: center;
  padding: .5rem 0; font-size: .9375rem; color: var(--clr-muted);
}
.cart-sidebar__row + .cart-sidebar__row { border-top: 1px solid var(--clr-border); }
.cart-sidebar__total {
  font-weight: 800; font-size: 1.125rem; color: var(--clr-text);
  border-top: 2px solid var(--clr-border); padding-top: .875rem; margin-top: .375rem;
}
.cart-sidebar__total span:last-child { color: var(--clr-primary); }
.empty-state {
  text-align: center; padding: 5rem 2rem;
}
.empty-state__icon { margin: 0 auto 1.5rem; color: var(--clr-border); }
.empty-state h2 { font-size: 1.5rem; margin-bottom: .75rem; }
.empty-state p { color: var(--clr-muted); margin-bottom: 2rem; }

/* 22 — CHECKOUT PAGE
------------------------------------------------------------ */
.checkout-page { padding-top: calc(72px + 2rem); padding-bottom: 5rem; }
.checkout-progress { margin-bottom: 2.5rem; }
.checkout-progress ol { display: flex; align-items: flex-start; max-width: 360px; }
.checkout-progress__step {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  gap: 6px; position: relative; font-size: .8125rem; color: var(--clr-muted);
}
.checkout-progress__step:not(:last-child)::after {
  content: ''; position: absolute; top: 13px; left: 50%;
  width: 100%; height: 2px; background: var(--clr-border);
}
.checkout-progress__step span:first-child {
  width: 28px; height: 28px; border-radius: 50%; background: var(--clr-border);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .8rem; position: relative; z-index: 1; color: #fff;
}
.checkout-progress__step--completed { color: var(--clr-primary); }
.checkout-progress__step--completed span:first-child { background: var(--clr-primary); color: var(--clr-dark); color: oklch(from var(--clr-primary) clamp(0, (0.57 - l) * 1000, 1) 0 0); }
.checkout-progress__step--completed::after { background: var(--clr-primary) !important; }
.checkout-progress__step--active span:first-child { background: var(--clr-dark); border: 2px solid var(--clr-primary); color: var(--clr-primary); }
.checkout-page__layout {
  display: grid; grid-template-columns: 1fr 400px; gap: 2.5rem; align-items: start;
}
.checkout-form { background: var(--clr-surface); border: 1px solid var(--clr-border); border-radius: var(--radius-lg); padding: 2rem; }
.checkout-form__section { margin-bottom: 2rem; }
.checkout-form__section-title { font-size: 1rem; font-weight: 700; margin-bottom: 1.25rem; padding-bottom: .75rem; border-bottom: 1px solid var(--clr-border); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.checkout-summary {
  background: var(--clr-dark); color: var(--clr-on-dark);
  border-radius: var(--radius-lg); padding: 1.75rem;
  position: sticky; top: calc(72px + 1rem);
}
.checkout-summary__title { color: #fff; font-weight: 700; margin-bottom: 1.5rem; }
.checkout-summary-item {
  display: flex; gap: .875rem; align-items: flex-start;
  padding: .875rem 0; border-bottom: 1px solid rgba(255,255,255,.07);
}
.checkout-summary-item img {
  width: 52px; height: 52px; object-fit: cover; border-radius: var(--radius-sm);
  background: var(--clr-dark-3); flex-shrink: 0;
}
.checkout-summary-item__info { flex: 1; min-width: 0; }
.checkout-summary-item__title { font-size: .875rem; color: var(--clr-on-dark); font-weight: 600; line-height: 1.3; }
.checkout-summary-item__qty { font-size: .8rem; color: var(--clr-on-dark-muted); }
.checkout-summary-item__price { font-weight: 700; color: var(--clr-primary); font-size: .9rem; white-space: nowrap; }
.checkout-summary__total {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.1);
  font-weight: 800; font-size: 1.125rem; color: #fff;
}
.checkout-summary__total span:last-child { color: var(--clr-primary); }
.shipping-methods, .payment-methods { display: flex; flex-direction: column; gap: .625rem; margin-bottom: 1.25rem; }
.shipping-methods label, .payment-methods label {
  display: flex; align-items: center; gap .875rem; padding: .875rem 1.125rem;
  border: 1.5px solid var(--clr-border); border-radius: var(--radius-md);
  cursor: pointer; transition: border-color var(--transition); font-size: .9375rem;
  gap: .875rem;
}
.shipping-methods label:first-child, .payment-methods label:first-child { border-color: var(--clr-primary); }
.shipping-methods input, .payment-methods input { accent-color: var(--clr-primary); }
.trust-signals { display: flex; gap: 1.5rem; margin-top: 1.5rem; justify-content: center; flex-wrap: wrap; }
.trust-signals__item { display: flex; align-items: center; gap: .5rem; font-size: .8rem; color: var(--clr-muted); }
.trust-signals__item svg { color: var(--clr-primary); flex-shrink: 0; }

/* 22b — SCROLL PROGRESS BAR + BACK TO TOP
------------------------------------------------------------ */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-accent));
  transform-origin: left; transform: scaleX(0);
  z-index: 9999; transition: transform .05s linear;
}
.back-to-top {
  position: fixed; bottom: 2rem; right: 1.5rem;
  width: 44px; height: 44px; border-radius: var(--radius-md);
  background: var(--clr-dark); border: 1px solid rgba(132,204,22,.3);
  color: var(--clr-primary); display: flex; align-items: center; justify-content: center;
  z-index: 800; opacity: 0; pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-3px); box-shadow: var(--glow-primary); }

/* 23 — ANIMATIONS & KEYFRAMES
------------------------------------------------------------ */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}
@keyframes ring-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes glow-pulse {
  0%, 100% { opacity: .6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}
@keyframes badge-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes flx-hero-content-in {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes flx-hero-visual-in {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Scroll reveal — stats band, category cards, product cards, testimonial
   cards, contact columns (formerly GSAP + ScrollTrigger).
   The resting state (opacity:1) is fully visible at rule level, outside every
   guard, so a browser with no scroll-timeline support — or a same-origin
   preview iframe where the timeline resolves to null — never strands this
   content. The hidden from-state lives only inside @keyframes.
   `transform` is intentionally OMITTED from the `to` keyframe: several of
   these elements (.category-card, .product-card) also carry a :hover lift/
   scale transform, and a `both`-filling scroll animation that locks
   `transform` (even to `translateY(0)`) at its end state permanently outranks
   that :hover transform once the view leaves the entry range. Omitting it
   lets the browser fall back to each element's own (non-animated) transform,
   so hover/tilt keeps working after the reveal has played. */
.flx-reveal { opacity: 1; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .flx-reveal {
      animation: flx-reveal-in linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 38%;
    }

    /* Stagger is an animation-RANGE shift, never animation-delay — a wall-clock
       delay on a scroll timeline finishes long before the visitor scrolls the
       element into view. Both ends stay inside `entry` so every reveal
       completes once the element has fully entered. */
    .stats-band__item.flx-reveal:nth-child(3) { animation-range: entry 8% entry 46%; }
    .stats-band__item.flx-reveal:nth-child(5) { animation-range: entry 16% entry 54%; }
    .stats-band__item.flx-reveal:nth-child(7) { animation-range: entry 24% entry 62%; }

    .categories__grid .category-card.flx-reveal:nth-child(2) { animation-range: entry 8% entry 46%; }
    .categories__grid .category-card.flx-reveal:nth-child(3) { animation-range: entry 16% entry 54%; }
    .categories__grid .category-card.flx-reveal:nth-child(n+4) { animation-range: entry 24% entry 62%; }

    .product-grid .product-card.flx-reveal:nth-child(2) { animation-range: entry 8% entry 46%; }
    .product-grid .product-card.flx-reveal:nth-child(3) { animation-range: entry 16% entry 54%; }
    .product-grid .product-card.flx-reveal:nth-child(4) { animation-range: entry 24% entry 62%; }
    .product-grid .product-card.flx-reveal:nth-child(n+5) { animation-range: entry 32% entry 70%; }

    .testimonials__grid .testimonial-card.flx-reveal:nth-child(2) { animation-range: entry 8% entry 46%; }
    .testimonials__grid .testimonial-card.flx-reveal:nth-child(n+3) { animation-range: entry 16% entry 54%; }

    .contact__form-wrap.flx-reveal { animation-range: entry 8% entry 46%; }

    @keyframes flx-reveal-in {
      from { opacity: 0; transform: translateY(24px); }
      to { opacity: 1; }
    }
  }
}

/* 24 — PERFORMANCE
------------------------------------------------------------ */
.categories, .testimonials, .faqs, .policies, .contact {
  content-visibility: auto;
  contain-intrinsic-size: auto 500px;
}

/* 25 — RESPONSIVE
------------------------------------------------------------ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__visual { display: none; }
  .hero__actions { justify-content: center; }
  .hero__trust { justify-content: center; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .categories__grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid { grid-template-columns: 1fr 1fr; }
  .policies__grid { grid-template-columns: repeat(2, 1fr); }
  .faqs__inner { grid-template-columns: 1fr; gap: 2rem; }
  .cart-page__layout { grid-template-columns: 1fr; }
  .cart-sidebar { position: static; }
  .checkout-page__layout { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
  .product-detail__layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .product-gallery { position: static; }
}
@media (max-width: 768px) {
  .header__nav { display: none; }
  .header__menu-btn { display: flex; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .categories__grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid { grid-template-columns: 1fr; }
  .policies__grid { grid-template-columns: 1fr; }
  .contact__inner { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .stats-band__inner { flex-wrap: wrap; gap: 1.5rem; }
  .stats-band__divider { display: none; }
  .cart-item { grid-template-columns: 72px 1fr; grid-template-rows: auto auto; }
  .cart-item__qty, .cart-item__line-total, .cart-item__remove { grid-column: 2; }
  .form-row { grid-template-columns: 1fr; }
  .sticky-atc { display: flex; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .categories__grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
}

/* Hide wire:loading elements before Livewire mounts (mirrors Livewire's runtime CSS) */
[wire\:loading],
[wire\:loading\.delay],
[wire\:loading\.inline-block],
[wire\:loading\.inline] { display: none; }

/* WoBooks empty-image guard (theme:editor-compliance --fix --scope=img-empty-guard):
   image_url('') renders <img src=""> until the owner uploads a photo — hide it
   instead of leaking the browser's broken-image icon + alt text onto the page. */
img[src=""], img:not([src]) { display: none !important; }

/* 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.
   The search button is hidden: nothing binds it (no handler in main.js or the platform), so it is a dead tap.
   Gate: tests/Feature/Themes/MobileHeaderFitTest.php (it strips this block and expects the overhang back). */
@media (max-width: 768px) {
  [data-section="header"] .header__inner { gap: 1rem; }
  [data-section="header"] .header__logo { flex-shrink: 1; min-width: 0; }
  [data-section="header"] .header__brand { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  [data-section="header"] .header__actions { margin-inline-start: auto; flex-shrink: 0; }
  [data-section="header"] .header__search-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 {
  --clr-primary: #3a7c00; /* was #84CC16 */
  --clr-accent: #da1f4a; /* was #F43F5E */
}
