/* ============================================================
   ARTISAN PRO — Furniture Store
   Palette: Midnight Navy · Burnished Gold · Warm Parchment
   Tier: Pro | Fonts: Cormorant Garamond + Outfit
   ============================================================ */

/* 1. ROOT VARIABLES
   ============================================================ */
:root {
  /* Palette */
  --clr-bg:          #F4F0E6;
  --clr-tinted:      #EAE2D2;
  --clr-dark:        #0B1829;
  --clr-dark-2:      #142237;
  --clr-primary:     #142237;
  --clr-accent:      #C0831E;
  --clr-accent-2:    #DDA94A;
  --clr-accent-pale: #F5E8C8;
  --clr-text:        #1C1C2C;
  --clr-muted:       #6A6E82;
  --clr-border:      #D4CCBA;
  --clr-white:       #FFFFFF;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Outfit', system-ui, -apple-system, sans-serif;

  /* Layout */
  --section-pad:    clamp(64px, 9vw, 120px);
  --container-max:  1280px;
  --container-pad:  clamp(16px, 4vw, 48px);

  /* Easing */
  --ease-fast:   0.15s ease;
  --ease-base:   0.28s ease;
  --ease-slow:   0.5s ease;
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shadows */
  --shadow-xs: 0 1px 4px rgba(11, 24, 41, 0.06);
  --shadow-sm: 0 4px 14px rgba(11, 24, 41, 0.09);
  --shadow-md: 0 8px 32px rgba(11, 24, 41, 0.13);
  --shadow-lg: 0 24px 64px rgba(11, 24, 41, 0.18);

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --radius-xl: 32px;
}

/* 2. RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--clr-text);
  background: var(--clr-bg);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; }
fieldset { border: none; padding: 0; }
legend { font-family: var(--font-body); }

/* 3. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(3rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { line-height: 1.75; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 0.75rem;
}

.eyebrow--light { color: var(--clr-accent-2); }
.eyebrow--muted { color: var(--clr-muted); }

/* 4. LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: var(--section-pad);
}

.section--ivory   { background: var(--clr-bg); }
.section--tinted  { background: var(--clr-tinted); }
.section--dark    { background: var(--clr-dark); }
.section--dark-2  { background: var(--clr-dark-2); }
.section--accent  { background: var(--clr-accent-pale); }

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section__head--centered {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section__title { margin-bottom: 0.5rem; }

.section__sub {
  font-size: 1.05rem;
  color: var(--clr-muted);
  max-width: 540px;
}

.section--dark .section__title,
.section--dark-2 .section__title { color: var(--clr-white); }

.section--dark .section__sub,
.section--dark-2 .section__sub  { color: rgba(255,255,255,0.55); }

/* Gold divider rule */
.gold-rule {
  width: 48px;
  height: 2px;
  background: var(--clr-accent);
  margin-bottom: 1.5rem;
}

/* 5. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: transform var(--ease-base), box-shadow var(--ease-base), background var(--ease-base), color var(--ease-base), border-color var(--ease-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

/* Gold fill button */
.btn--gold {
  background: var(--clr-accent);
  color: var(--clr-white);
  box-shadow: 0 4px 16px rgba(192, 131, 30, 0.3);
}

.btn--gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--clr-accent-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.btn--gold:hover::before { transform: scaleX(1); }
.btn--gold:hover { box-shadow: 0 8px 28px rgba(192, 131, 30, 0.45); transform: translateY(-1px); }
.btn--gold span { position: relative; }

/* Ghost */
.btn--ghost {
  background: transparent;
  color: var(--clr-white);
  border: 1.5px solid rgba(255,255,255,0.35);
}

.btn--ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-1px);
}

/* Gold outline */
.btn--outline-gold {
  background: transparent;
  color: var(--clr-accent-2);
  border: 1.5px solid var(--clr-accent-2);
}

.btn--outline-gold:hover {
  background: var(--clr-accent);
  color: var(--clr-white);
  border-color: var(--clr-accent);
}

/* Navy outline */
.btn--outline {
  background: transparent;
  color: var(--clr-primary);
  border: 1.5px solid var(--clr-primary);
}

.btn--outline:hover {
  background: var(--clr-primary);
  color: var(--clr-white);
}

.btn--full { width: 100%; justify-content: center; }

/* Ripple effect on click */
.btn::after {
  content: '';
  position: absolute;
  inset: 50% auto auto 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: var(--wb-tint, rgba(255,255,255,0.2));
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease, opacity 0.5s ease;
  opacity: 0;
}

.btn:active::after {
  width: 200px;
  height: 200px;
  opacity: 1;
}

/* 6. FORM ELEMENTS
   ============================================================ */
.form-group { position: relative; margin-bottom: 1.25rem; }

.form-input {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-sm);
  background: var(--clr-white);
  font-size: 0.95rem;
  color: var(--clr-text);
  transition: border-color var(--ease-base), box-shadow var(--ease-base);
  appearance: none;
}

.form-input:focus {
  outline: none;
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(192, 131, 30, 0.15);
}

.form-input::placeholder { color: var(--clr-muted); }

textarea.form-input { resize: vertical; min-height: 120px; }

.form-input--dark {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.15);
  color: var(--clr-white);
}

.form-input--dark::placeholder { color: rgba(255,255,255,0.4); }
.form-input--dark:focus { border-color: var(--clr-accent); }

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--clr-muted);
  margin-bottom: 0.4rem;
  letter-spacing: 0.04em;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-section { margin-bottom: 2rem; }

.form-section__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--clr-text);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--clr-border);
}

/* 6b. SKIP LINK & FOCUS STYLES
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.6rem 1.2rem;
  background: var(--clr-accent);
  color: var(--clr-white);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: top 0.1s;
}

.skip-link:focus { top: 0.75rem; }

:focus-visible {
  outline: 2px solid var(--clr-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* 7. CURSOR (PRO TIER)
   ============================================================ */
.cursor {
  pointer-events: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  mix-blend-mode: exclusion;
}

.cursor__dot {
  width: 8px;
  height: 8px;
  background: var(--clr-accent-2);
  border-radius: 50%;
  position: absolute;
  top: -4px;
  left: -4px;
  transition: transform var(--ease-fast);
}

.cursor__ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--clr-accent-2);
  border-radius: 50%;
  position: absolute;
  top: -18px;
  left: -18px;
  transition: width 0.3s var(--ease-spring), height 0.3s var(--ease-spring),
              top 0.3s var(--ease-spring), left 0.3s var(--ease-spring),
              opacity var(--ease-base);
}

.cursor--hover .cursor__ring {
  width: 60px;
  height: 60px;
  top: -30px;
  left: -30px;
  opacity: 0.6;
}

@media (hover: none) { .cursor { display: none; } }

/* 8. SCROLL PROGRESS
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(to right, var(--clr-accent), var(--clr-accent-2));
  z-index: 9998;
  transition: width 0.05s linear;
}

/* 9. HEADER & NAV
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 900;
  transition: background var(--ease-base), box-shadow var(--ease-base), backdrop-filter var(--ease-base);
}

.header.is-scrolled {
  background: var(--wb-dark-surface, rgba(11, 24, 41, 0.92));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(11,24,41,0.25);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 72px;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.header__logo { height: 36px; width: auto; }

.header__brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--clr-white);
  letter-spacing: 0.04em;
}

.header__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-inline-start: auto;
}

.header__links a {
  display: inline-block;
  padding: 0.5rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--wb-on-dark, rgba(255,255,255,0.75));
  position: relative;
  transition: color var(--ease-fast);
}

.header__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.9rem;
  right: 0.9rem;
  height: 1px;
  background: var(--clr-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.header__links a:hover { color: var(--clr-white); }
.header__links a:hover::after { transform: scaleX(1); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  color: rgba(255,255,255,0.8);
  transition: background var(--ease-fast), color var(--ease-fast), transform var(--ease-spring);
}

.cart-icon-btn:hover {
  background: rgba(255,255,255,0.1);
  color: var(--clr-white);
  transform: scale(1.08);
}

.cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  padding-inline: 4px;
  background: var(--clr-accent);
  color: var(--clr-white);
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--ease-spring);
}

.cart-badge.pop { animation: badgePop 0.4s var(--ease-spring); }

@keyframes badgePop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.5); }
  100% { transform: scale(1); }
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--radius-md);
  transition: background var(--ease-fast);
}

.hamburger:hover { background: rgba(255,255,255,0.1); }

.hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--clr-white);
  transition: transform var(--ease-base), opacity var(--ease-base), width var(--ease-base);
}

.hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11, 24, 41, 0.5);
  z-index: 850;
  backdrop-filter: blur(4px);
}

/* 10. HERO
   ============================================================ */
.hero {
  position: relative;
  /* A floor, not a fixed height: on a short screen the centred content outgrew a 600px hero and `clip` cut its
     buttons off (1366x560: CTAs ended at 634px). The hero now grows with what it holds. */
  min-height: max(600px, 100svh);
  display: flex;
  align-items: center;
  /* `clip`, not `hidden`: `overflow: hidden` makes this section a SCROLL
     CONTAINER, which silently kills the `.hero__img` view()-timeline
     parallax below — see les-overflow-hidden-section-becomes-scroll-
     container-and-kills-view-timelines. `.hero` never scrolls internally,
     so `clip` is behaviourally identical here. */
  overflow: clip;
  background: var(--wb-dark-surface, #0B1829);
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: translate;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    color-mix(in srgb, var(--wb-dark-surface, rgb(11, 24, 41)) 85%, transparent) 0%,
    color-mix(in srgb, var(--wb-dark-surface, rgb(11, 24, 41)) 50%, transparent) 50%,
    color-mix(in srgb, var(--wb-dark-surface, rgb(11, 24, 41)) 25%, transparent) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  /* Symmetric, so a centred hero sits where it did; when the hero grows, the top clears the fixed 72px header. */
  padding-block: 6rem;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-accent-2);
  margin-bottom: 1.25rem;
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--clr-accent-2);
}

.hero__title {
  color: var(--clr-white);
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.hero__title-line {
  display: block;
  font-style: italic;
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  line-height: 1.05;
}

.hero__title-line--accent {
  font-style: normal;
  color: var(--clr-accent-2);
}

.hero__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--wb-on-dark, rgba(255,255,255,0.65));
  max-width: 480px;
  margin-bottom: 2.25rem;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--wb-on-dark, rgba(255,255,255,0.4));
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 2;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--clr-accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50%       { transform: scaleY(0.6); opacity: 0.4; }
}

/* 11. ABOUT / STATS BAND
   ============================================================ */
.about-band {
  background: var(--clr-dark-2);
  border-bottom: 1px solid rgba(192, 131, 30, 0.2);
}

.about-band__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding-block: 2.5rem;
}

.about-band__stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  text-align: center;
  padding-inline: 1rem;
}

.about-band__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  color: var(--clr-accent-2);
  line-height: 1;
}

.about-band__label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.about-band__divider {
  width: 1px;
  height: 3rem;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

/* 12. CATEGORIES
   ============================================================ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

/* Grid-transparent wrapper for data-list converter */
.categories-grid > [data-list] { display: contents; }

.cat-card {
  position: relative;
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--clr-tinted);
}

.cat-card__img-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.cat-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.cat-card:hover .cat-card__img { transform: scale(1.06); }

.cat-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(11, 24, 41, 0.85) 0%,
    rgba(11, 24, 41, 0.2) 55%,
    transparent 100%
  );
  transition: opacity var(--ease-base);
}

.cat-card:hover .cat-card__overlay { opacity: 0.9; }

.cat-card__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cat-card__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--clr-white);
  font-style: italic;
}

.cat-card__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  color: var(--clr-white);
  transition: background var(--ease-base), border-color var(--ease-base), transform var(--ease-spring);
}

.cat-card:hover .cat-card__arrow {
  background: var(--clr-accent);
  border-color: var(--clr-accent);
  transform: rotate(45deg);
}

/* 13. PRODUCT CARDS & GRID
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.products-grid > [data-db-list] { display: contents; }
.products-grid > [data-list]    { display: contents; }

.product-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  transition: transform var(--ease-base), box-shadow var(--ease-base), border-color var(--ease-base);
  transform-style: preserve-3d;
  cursor: pointer;
}

/* Light bg variant (products page) */
.section--ivory .product-card,
.section--tinted .product-card {
  background: var(--surface, var(--clr-white));
  border-color: var(--clr-border);
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(192, 131, 30, 0.3);
}

.product-card__image-wrap {
  display: block;
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--surface, var(--clr-tinted));
}

.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-card__img { transform: scale(1.04); }

.product-card__quick-view {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: rgba(11, 24, 41, 0.88);
  backdrop-filter: blur(8px);
  color: var(--clr-white);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  transition: opacity var(--ease-base), transform var(--ease-base);
}

.product-card:hover .product-card__quick-view {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.product-card__info {
  padding: 1.1rem 1.25rem 1.4rem;
}

.product-card__category {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 0.35rem;
}

.section--dark .product-card__category { color: var(--clr-accent-2); }

.product-card__title {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.product-card__title a {
  color: var(--clr-white);
  transition: color var(--ease-fast);
}

.section--ivory .product-card__title a,
.section--tinted .product-card__title a { color: var(--clr-text); }

.product-card__title a:hover { color: var(--clr-accent-2); }

.product-card__price {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.product-card__price-current {
  font-size: 1rem;
  font-weight: 600;
  color: var(--clr-accent-2);
}

.section--ivory .product-card__price-current,
.section--tinted .product-card__price-current { color: var(--clr-accent); }

.product-card__price-original {
  font-size: 0.85rem;
  color: var(--clr-muted);
  text-decoration: line-through;
}

.product-card__add-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  justify-content: center;
  padding: 0.65rem 1rem;
  background: transparent;
  border: 1px solid rgba(192, 131, 30, 0.4);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-accent-2);
  transition: background var(--ease-base), color var(--ease-base), border-color var(--ease-base), transform var(--ease-spring);
}

.section--ivory .product-card__add-btn,
.section--tinted .product-card__add-btn {
  color: var(--clr-accent);
  border-color: rgba(192, 131, 30, 0.35);
}

.product-card__add-btn:hover {
  background: var(--clr-accent);
  color: var(--clr-white);
  border-color: var(--clr-accent);
  transform: translateY(-2px);
}

.product-card__add-btn.is-added {
  background: #2d6a4f;
  border-color: #2d6a4f;
  color: var(--clr-white);
}

/* Discount badge */
.product-card__discount-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--clr-accent);
  color: var(--clr-white);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.04em;
}

/* 14. SERVICES BAND
   ============================================================ */
.services-band {
  background: var(--clr-accent-pale);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  padding-block: 2.5rem;
}

.services-band__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); /* auto-fit: an owner-optional item (free delivery) may be absent — never leave an empty column */
  gap: 2rem;
  text-align: center;
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.service-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: rgba(192, 131, 30, 0.12);
  border-radius: 50%;
  color: var(--clr-accent);
  transition: transform var(--ease-spring), background var(--ease-base);
}

.service-item:hover .service-item__icon {
  background: var(--clr-accent);
  color: var(--clr-white);
  transform: scale(1.1);
}

.service-item__title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--clr-text);
  letter-spacing: 0.02em;
}

.service-item__desc {
  font-size: 0.8rem;
  color: var(--clr-muted);
}

/* 15. TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonials-grid > [data-list] { display: contents; }

.testimonial-card {
  background: var(--surface, var(--clr-white));
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  position: relative;
  transition: transform var(--ease-base), box-shadow var(--ease-base);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-card__stars {
  color: var(--clr-accent);
  font-size: 1rem;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.testimonial-card__body {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--clr-text);
  margin-bottom: 1.5rem;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  border-top: 1px solid var(--clr-border);
  padding-top: 1.25rem;
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--clr-accent-pale);
}

.testimonial-card__author strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--clr-text);
}

.testimonial-card__author span {
  display: block;
  font-size: 0.75rem;
  color: var(--clr-muted);
}

/* Large decorative quote mark */
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: var(--clr-accent-pale);
  pointer-events: none;
}

/* 16. FAQS
   ============================================================ */
.faqs-list {
  max-width: 780px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faqs-list > [data-list] { display: contents; }

.faq-item {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  transition: border-color var(--ease-base), background var(--ease-base);
}

.faq-item.is-open {
  border-color: rgba(192, 131, 30, 0.4);
  background: rgba(192, 131, 30, 0.05);
}

.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.1rem 1.5rem;
  text-align: left;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--ease-fast);
}

.faq-item__q:hover { color: var(--clr-white); }

.faq-item.is-open .faq-item__q { color: var(--clr-accent-2); }

.faq-item__icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  transition: transform var(--ease-base);
  color: var(--clr-accent);
}

.faq-item.is-open .faq-item__icon { transform: rotate(45deg); }

.faq-item__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s ease;
}

.faq-item.is-open .faq-item__a { grid-template-rows: 1fr; }

.faq-item__a-inner {
  overflow: hidden;
}

.faq-item__a p {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.92rem;
  color: var(--wb-on-dark, rgba(255,255,255,0.55));
  line-height: 1.75;
}

/* 17. POLICIES
   ============================================================ */
.policies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.policies-grid > [data-list] { display: contents; }

.policy-card {
  background: var(--surface, var(--clr-white));
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  border-left: 3px solid var(--clr-accent);
  transition: transform var(--ease-base), box-shadow var(--ease-base);
}

.policy-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.policy-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--clr-primary);
  margin-bottom: 0.75rem;
}

.policy-card p {
  font-size: 0.9rem;
  color: var(--clr-muted);
  line-height: 1.7;
}

/* 18. CONTACT
   ============================================================ */
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: start;
}

.contact__info h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  color: var(--clr-white);
  margin-bottom: 1.5rem;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact__details > div {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.95rem;
  color: var(--wb-on-dark, rgba(255,255,255,0.7));
}

.contact__details svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--clr-accent);
}

.contact__details a:hover { color: var(--clr-accent-2); }

.contact__form {
  background: var(--wb-tint, rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
}

/* 19. FOOTER
   ============================================================ */
.footer {
  background: var(--wb-dark-surface, #080f1a);
  color: var(--wb-on-dark, rgba(255,255,255,0.6));
  padding-top: 5rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--surface, linear-gradient(to right, transparent, var(--clr-accent), transparent));
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer__brand { display: flex; flex-direction: column; gap: 1rem; }
.footer__logo  { height: 32px; width: auto; }

.footer__brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--clr-white);
  font-style: italic;
}

.footer__brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--wb-on-dark, rgba(255,255,255,0.4));
  max-width: 260px;
}

.footer__social {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.footer__social > [data-list] { display: contents; }

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  color: var(--wb-on-dark, rgba(255,255,255,0.5));
  transition: border-color var(--ease-base), color var(--ease-base),
              background var(--ease-base), transform var(--ease-spring);
}

.footer__social-link:hover {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
  background: var(--wb-tint, rgba(192, 131, 30, 0.1));
  transform: scale(1.12);
}

.footer__links-col h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-white);
  margin-bottom: 1.25rem;
}

.footer__links-col ul { display: flex; flex-direction: column; gap: 0.6rem; }

.footer__links-col a {
  font-size: 0.88rem;
  color: var(--wb-on-dark, rgba(255,255,255,0.45));
  transition: color var(--ease-fast), padding-inline-start var(--ease-base);
}

.footer__links-col a:hover {
  color: var(--clr-accent-2);
  padding-inline-start: 6px;
}

.footer__newsletter h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-white);
  margin-bottom: 0.6rem;
}

.footer__newsletter p {
  font-size: 0.85rem;
  color: var(--wb-on-dark, rgba(255,255,255,0.4));
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form .form-input {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  color: var(--clr-white);
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
}

.newsletter-form .form-input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter-form .form-input:focus { border-color: var(--clr-accent); }
.newsletter-form .btn { padding: 0.7rem 1.25rem; font-size: 0.75rem; flex-shrink: 0; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.5rem;
  font-size: 0.8rem;
  color: var(--wb-on-dark, rgba(255,255,255,0.3));
}

/* 20. PRODUCT DETAIL
   ============================================================ */
.product-detail__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.product-gallery { display: flex; flex-direction: column; gap: 1rem; }

.product-gallery__main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--clr-tinted);
  position: relative;
}

.product-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-gallery__main:hover img { transform: scale(1.03); }

.product-gallery__thumbs {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.product-gallery__thumbs button {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color var(--ease-base), transform var(--ease-spring);
  flex-shrink: 0;
}

.product-gallery__thumbs button:hover,
.product-gallery__thumbs button.is-active {
  border-color: var(--clr-accent);
  transform: scale(1.05);
}

.product-gallery__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info__badge {
  display: inline-block;
  background: var(--clr-accent-pale);
  color: var(--clr-accent);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-xl);
  margin-bottom: 0.75rem;
}

.product-info__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.2;
  color: var(--clr-text);
  margin-bottom: 0.75rem;
}

.product-info__rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  font-size: 0.88rem;
  color: var(--clr-muted);
}

.product-info__stars { color: var(--clr-accent); }

.product-info__price {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.product-info__price-current {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--clr-accent);
}

.product-info__price-original {
  font-size: 1.2rem;
  color: var(--clr-muted);
  text-decoration: line-through;
}

.product-info__description {
  font-size: 0.95rem;
  color: var(--clr-muted);
  line-height: 1.8;
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--clr-border);
}

/* Variant selector */
.variant-selector { margin-bottom: 1.25rem; }

.variant-selector__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-text);
  margin-bottom: 0.6rem;
  display: block;
}

.variant-selector__options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.variant-chip input { position: absolute; opacity: 0; width: 0; height: 0; }

.variant-chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding: 0.4rem 0.9rem;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--clr-text);
  cursor: pointer;
  transition: border-color var(--ease-base), background var(--ease-base), color var(--ease-base);
}

.variant-chip span:hover {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
}

.variant-chip--active span,
.variant-chip input:checked + span {
  border-color: var(--clr-accent);
  background: var(--clr-accent);
  color: var(--clr-white);
}

/* Qty control */
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.qty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 44px;
  font-size: 1.2rem;
  color: var(--clr-text);
  transition: background var(--ease-fast), color var(--ease-fast);
}

.qty-btn:hover { background: var(--clr-tinted); color: var(--clr-accent); }

.qty-input {
  width: 52px;
  height: 44px;
  text-align: center;
  border: none;
  border-inline: 1.5px solid var(--clr-border);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--clr-text);
  background: transparent;
}

.qty-input:focus { outline: none; }

/* Product ATC row */
.product-atc-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.product-atc-row .btn { flex: 1; }

/* Product features list */
.product-features {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.product-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--clr-muted);
}

.product-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--clr-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Sticky ATC */
.sticky-atc {
  display: none;
}

@media (max-width: 768px) {
  .sticky-atc {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.9rem 1.25rem;
    background: var(--clr-white);
    border-top: 1px solid var(--clr-border);
    box-shadow: 0 -8px 24px rgba(11,24,41,0.12);
    z-index: 800;
    transform: translateY(100%);
    transition: transform 0.35s ease;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
  .sticky-atc.visible {
    display: flex;
    transform: translateY(0);
  }
}

.sticky-atc__name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--clr-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-atc__price {
  font-size: 0.85rem;
  color: var(--clr-accent);
  white-space: nowrap;
}

/* 21. CART PAGE
   ============================================================ */
.cart-page {
  padding-block: var(--section-pad);
  min-height: 60vh;
}

.cart-page__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 2.5rem;
  color: var(--clr-text);
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}

.cart__items {
  display: flex;
  flex-direction: column;
  gap: 1px;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--clr-border);
}

.cart-line {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.25rem;
  background: var(--clr-white);
  transition: background var(--ease-fast);
}

.cart-line:hover { background: #fafaf8; }

.cart-line__img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.cart-line__title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: 0.25rem;
}

.cart-line__price {
  font-size: 0.88rem;
  color: var(--clr-accent);
  font-weight: 600;
}

.cart-line__qty-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cart-line__qty-wrap .qty-control {
  margin-bottom: 0;
  scale: 0.85;
}

.cart-line__remove {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--clr-muted);
  transition: background var(--ease-fast), color var(--ease-fast);
}

.cart-line__remove:hover { background: #fee2e2; color: #ef4444; }

.cart__summary {
  background: var(--clr-dark-2);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: sticky;
  top: 90px;
}

.cart__summary-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--clr-white);
  margin-bottom: 1.5rem;
}

.cart__summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.75rem;
}

.cart__summary-row--total {
  color: var(--clr-white);
  font-size: 1rem;
  font-weight: 600;
  padding-top: 1rem;
  margin-top: 0.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.cart__summary-row--discount { color: var(--clr-accent-2); }

.cart-empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--clr-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.cart-empty-state svg {
  width: 64px;
  height: 64px;
  color: var(--clr-border);
}

.cart-empty-state h2 { font-size: 1.5rem; color: var(--clr-text); }

/* 22. CHECKOUT PAGE
   ============================================================ */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 4rem;
  align-items: start;
  padding-block: var(--section-pad);
}

/* Progress bar */
.checkout-progress { margin-bottom: 2.5rem; }

.checkout-progress ol {
  display: flex;
  align-items: flex-start;
  max-width: 360px;
  list-style: none;
}

.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(--clr-border);
}

.checkout-progress__step--completed::after { background: var(--clr-accent) !important; }
.checkout-progress__step--active::after    { background: linear-gradient(to right, var(--clr-accent), var(--clr-border)); }

.checkout-progress__step > span:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--clr-tinted);
  color: var(--clr-muted);
  border: 2px solid var(--clr-border);
  z-index: 1;
  position: relative;
}

.checkout-progress__step--completed > span:first-child {
  background: var(--clr-accent);
  border-color: var(--clr-accent);
  color: var(--clr-white);
}

.checkout-progress__step--active > span:first-child {
  background: var(--clr-primary);
  border-color: var(--clr-accent);
  color: var(--clr-white);
}

.checkout-progress__label {
  font-size: 0.72rem;
  text-align: center;
  white-space: nowrap;
  color: var(--clr-muted);
}

.checkout-progress__step--active .checkout-progress__label { color: var(--clr-text); font-weight: 600; }
.checkout-progress__step--completed .checkout-progress__label { color: var(--clr-accent); }

/* Shipping/payment method cards */
.shipping-methods,
.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.shipping-method-label,
.payment-method-label {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.25rem;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color var(--ease-base), background var(--ease-base);
}

.shipping-method-label:has(input:checked),
.payment-method-label:has(input:checked) {
  border-color: var(--clr-accent);
  background: rgba(192, 131, 30, 0.04);
}

.shipping-method-label input,
.payment-method-label input { flex-shrink: 0; accent-color: var(--clr-accent); }

/* Checkout summary */
.checkout__summary {
  background: var(--clr-dark-2);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: sticky;
  top: 90px;
}

.checkout__summary-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--clr-white);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.checkout-summary-items { margin-bottom: 1.5rem; }

.summary-line {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-block: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.summary-line img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.summary-line__name {
  flex: 1;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

.summary-line__price {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--clr-accent-2);
  white-space: nowrap;
}

.checkout-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 600;
  color: var(--clr-white);
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 1.25rem;
}

/* Trust signals */
.trust-signals {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.trust-signals__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}

.trust-signals__item svg {
  width: 16px;
  height: 16px;
  color: var(--clr-accent);
  flex-shrink: 0;
}

.trust-signals__payment-icons {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.payment-icon-badge {
  padding: 0.2rem 0.6rem;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
}

/* 23. REVIEWS
   ============================================================ */
.reviews-section { background: var(--clr-bg); }

.reviews-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.review-item {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.review-item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.review-author { font-weight: 600; font-size: 0.9rem; }
.review-stars  { color: var(--clr-accent); font-size: 0.9rem; }
.review-title  { font-weight: 600; font-size: 0.9rem; color: var(--clr-text); margin-bottom: 0.4rem; }
.review-body   { font-size: 0.88rem; color: var(--clr-muted); line-height: 1.7; }
.review-date   { font-size: 0.75rem; color: var(--clr-muted); margin-top: 0.5rem; }

.review-form-placeholder {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.review-form-placeholder h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--clr-text);
  margin-bottom: 1.5rem;
}

.star-input {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.star-input button {
  font-size: 1.5rem;
  color: var(--clr-border);
  transition: color var(--ease-fast), transform var(--ease-spring);
}

.star-input button:hover,
.star-input button.is-active { color: var(--clr-accent); transform: scale(1.15); }

/* 24. FILTER BAR
   ============================================================ */
.product-filter {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.product-filter__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-muted);
}

.product-filter__categories {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  flex: 1;
}

.filter-chip {
  padding: 0.45rem 1.1rem;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-xl);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--clr-muted);
  background: transparent;
  transition: border-color var(--ease-base), background var(--ease-base), color var(--ease-base), transform var(--ease-spring);
}

.filter-chip:hover {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
  transform: translateY(-1px);
}

.filter-chip--active {
  background: var(--clr-accent);
  border-color: var(--clr-accent);
  color: var(--clr-white);
}

.product-filter__sort {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-inline-start: auto;
}

.product-filter__sort select {
  padding: 0.45rem 0.9rem;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--clr-text);
  background: var(--surface, var(--clr-white));
  cursor: pointer;
}

/* 25. BREADCRUMBS
   ============================================================ */
.breadcrumbs {
  padding-block: 1rem;
  margin-bottom: 0.5rem;
}

.breadcrumbs ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--clr-muted);
}

.breadcrumbs li { display: flex; align-items: center; gap: 0.4rem; }

.breadcrumbs li:not(:last-child)::after {
  content: '/';
  color: var(--clr-border);
}

.breadcrumbs a { transition: color var(--ease-fast); }
.breadcrumbs a:hover { color: var(--clr-accent); }

.breadcrumbs [aria-current="page"] { color: var(--clr-text); font-weight: 500; }

/* 26. PAGE HERO BANNER
   ============================================================ */
.page-hero {
  background: var(--wb-dark-surface, #0B1829);
  padding: calc(72px + 3.5rem) var(--container-pad) 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(192, 131, 30, 0.12) 0%, transparent 70%);
}

.page-hero__eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-accent-2);
  margin-bottom: 0.75rem;
  position: relative;
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-style: italic;
  color: var(--clr-white);
  position: relative;
}

/* 27. BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--clr-accent);
  color: var(--clr-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 800;
  box-shadow: var(--shadow-md);
  transition: transform var(--ease-spring), opacity var(--ease-base), background var(--ease-base);
  opacity: 0;
  pointer-events: none;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--clr-accent-2);
  transform: scale(1.1) translateY(-2px);
}

/* 28. DECORATIVE ELEMENTS
   ============================================================ */
.grain-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  pointer-events: none;
}

.gold-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--clr-accent), transparent);
  margin-block: 0.5rem;
}

/* 29. CONTENT VISIBILITY (PERFORMANCE)
   ============================================================ */
.testimonials,
.faqs,
.policies,
.contact,
.reviews-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 500px;
}

/* 30. RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .categories-grid  { grid-template-columns: repeat(2, 1fr); }
  .products-grid    { grid-template-columns: repeat(3, 1fr); }
  .footer__top      { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 900px) {
  .products-grid           { grid-template-columns: repeat(2, 1fr); }
  .product-detail__inner   { grid-template-columns: 1fr; gap: 2.5rem; }
  .checkout-layout         { grid-template-columns: 1fr; }
  .cart-layout             { grid-template-columns: 1fr; }
  .cart__summary           { position: static; }
  .contact__inner          { grid-template-columns: 1fr; gap: 2.5rem; }
  .services-band__inner    { display: flex; flex-wrap: wrap; } /* 2-up; an owner-optional item may be hidden, so an odd last item takes the full row instead of leaving a hole */
  .services-band__inner > .service-item { flex: 1 1 calc(50% - 1rem); }
  .testimonials-grid       { grid-template-columns: 1fr 1fr; }
  .policies-grid           { grid-template-columns: 1fr 1fr; }
  .reviews-layout          { grid-template-columns: 1fr; gap: 2rem; }
  .form-row                { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .header__links {
    position: fixed;
    inset-block: 0;
    inset-inline-end: -280px;
    width: 280px;
    flex-direction: column;
    align-items: flex-start;
    background: var(--clr-dark);
    padding: 5rem 2rem 2rem;
    gap: 0.25rem;
    z-index: 870;
    transition: inset-inline-end var(--ease-slow);
    overflow-y: auto;
  }

  .header__links.is-open { inset-inline-end: 0; }

  .header__links a {
    font-size: 1rem;
    padding: 0.75rem 0;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .hamburger { display: flex; }
  .nav-overlay { display: block; pointer-events: none; opacity: 0; transition: opacity var(--ease-base); }
  .nav-overlay.is-open { pointer-events: all; opacity: 1; }

  .hero__actions { flex-direction: column; align-items: flex-start; }
  .about-band__inner { flex-wrap: wrap; gap: 1.5rem; }
  .about-band__divider { display: none; }
  .categories-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .policies-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .newsletter-form { flex-direction: column; }
  .footer__bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .cart-line { grid-template-columns: 64px 1fr; }
  .cart-line__qty-wrap { grid-column: 2; }
  .product-filter { flex-direction: column; align-items: flex-start; }
  .product-filter__sort { margin-inline-start: 0; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .hero__title-line { font-size: clamp(2.5rem, 11vw, 4rem); }
}

/* ===== 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(40px); }
    /* `to` intentionally omits `transform` — see
       les-filling-view-animation-outranks-hover-and-inline-transform. */
    to { opacity: 1; }
  }
  @keyframes wbRevealUpSmall {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; }
  }
  @keyframes wbRevealClipUp {
    from { opacity: 0; transform: translateY(60px); clip-path: inset(0 0 100% 0); }
    to { opacity: 1; clip-path: inset(0 0 0% 0); }
  }
  @keyframes wbRevealClipDown {
    from { opacity: 0; transform: translateY(40px); clip-path: inset(0 0 60% 0); }
    to { opacity: 1; clip-path: inset(0 0 0% 0); }
  }
  @keyframes wbRevealLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; }
  }
  @keyframes wbRevealRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; }
  }
  @keyframes wbRevealScaleSide {
    from { opacity: 0; transform: scale(.96); }
    to { opacity: 1; }
  }

  /* ---- Page-load entrances (hero + page-hero banner) ----
     These never used ScrollTrigger — GSAP fired them once on DOMContentLoaded
     via a timeline, so wall-clock animation-delay reproduces the same cadence. */
  .hero__eyebrow {
    animation: wbRevealUpSmall .7s cubic-bezier(.16,1,.3,1) both;
  }
  .hero__title-line {
    animation: wbRevealClipUp .9s cubic-bezier(.16,1,.3,1) .3s both;
  }
  .hero__title-line--accent {
    animation-delay: .48s;
  }
  .hero__subtitle {
    animation: wbRevealUpSmall .7s cubic-bezier(.16,1,.3,1) .65s both;
  }
  .hero__actions {
    animation: wbRevealUpSmall .6s cubic-bezier(.16,1,.3,1) .85s both;
  }
  .hero__scroll-hint {
    animation: wbRevealUpSmall .5s cubic-bezier(.16,1,.3,1) 1.05s both;
  }
  .page-hero__eyebrow {
    animation: wbRevealUpSmall .8s cubic-bezier(.16,1,.3,1) both;
  }
  .page-hero__title {
    animation: wbRevealUpSmall .8s cubic-bezier(.16,1,.3,1) .15s 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) {

    .section__title {
      animation: wbRevealClipDown .9s cubic-bezier(.16,1,.3,1) both;
      animation-timeline: view();
      animation-range: entry 0% entry 60%;
    }

    .cat-card {
      animation: wbRevealScaleSide .9s cubic-bezier(.16,1,.3,1) both;
      animation-timeline: view();
      animation-range: entry 0% entry 62%;
    }
    .cat-card:nth-child(2) { animation-range: entry 8% entry 70%; }
    .cat-card:nth-child(3) { animation-range: entry 16% entry 78%; }
    .cat-card:nth-child(n+4) { animation-range: entry 24% entry 86%; }

    .product-card {
      animation: wbRevealUp .7s cubic-bezier(.16,1,.3,1) both;
      animation-timeline: view();
      animation-range: entry 0% entry 60%;
    }
    .product-card:nth-child(2) { animation-range: entry 6% entry 66%; }
    .product-card:nth-child(3) { animation-range: entry 12% entry 72%; }
    .product-card:nth-child(4) { animation-range: entry 18% entry 78%; }
    .product-card:nth-child(n+5) { animation-range: entry 24% entry 84%; }

    .testimonial-card {
      animation: wbRevealScaleSide .75s cubic-bezier(.16,1,.3,1) both;
      animation-timeline: view();
      animation-range: entry 0% entry 65%;
    }
    .testimonial-card:nth-child(2) { animation-range: entry 12% entry 77%; }
    .testimonial-card:nth-child(3) { animation-range: entry 24% entry 89%; }
    .testimonial-card:nth-child(n+4) { animation-range: entry 36% entry 100%; }

    .faq-item {
      animation: wbRevealLeft .6s cubic-bezier(.16,1,.3,1) both;
      animation-timeline: view();
      animation-range: entry 0% entry 65%;
    }
    .faq-item:nth-child(2) { animation-range: entry 6% entry 71%; }
    .faq-item:nth-child(3) { animation-range: entry 12% entry 77%; }
    .faq-item:nth-child(n+4) { animation-range: entry 18% entry 83%; }

    .policy-card {
      animation: wbRevealUpSmall .6s cubic-bezier(.16,1,.3,1) both;
      animation-timeline: view();
      animation-range: entry 0% entry 68%;
    }
    .policy-card:nth-child(2) { animation-range: entry 10% entry 78%; }
    .policy-card:nth-child(n+3) { animation-range: entry 20% entry 88%; }

    .service-item {
      animation: wbRevealUpSmall .55s cubic-bezier(.16,1,.3,1) both;
      animation-timeline: view();
      animation-range: entry 0% entry 70%;
    }
    .service-item:nth-child(2) { animation-range: entry 10% entry 80%; }
    .service-item:nth-child(3) { animation-range: entry 20% entry 90%; }
    .service-item:nth-child(n+4) { animation-range: entry 30% entry 100%; }

    .contact__info {
      animation: wbRevealLeft .9s cubic-bezier(.16,1,.3,1) both;
      animation-timeline: view();
      animation-range: entry 0% entry 65%;
    }
    .contact__form {
      animation: wbRevealRight .9s cubic-bezier(.16,1,.3,1) both;
      animation-timeline: view();
      animation-range: entry 0% entry 65%;
    }

    .footer__top > * {
      animation: wbRevealUpSmall .6s cubic-bezier(.16,1,.3,1) both;
      animation-timeline: view();
      animation-range: entry 0% entry 100%;
    }
    .footer__top > *:nth-child(2) { animation-range: entry 10% entry 100%; }
    .footer__top > *:nth-child(3) { animation-range: entry 20% entry 100%; }
    .footer__top > *:nth-child(n+4) { animation-range: entry 30% entry 100%; }

    /* Hero parallax — the CSS scroll-driven replacement for this theme's
       only scrub tween (`gsap.to(heroImg, {yPercent:30, scrollTrigger:
       {trigger:'.hero', start:'top top', end:'bottom top', scrub:true}})`).
       `top top` -> `bottom top` is the exact span `animation-range: exit`
       measures; `translate` (not `transform`) so it composes with any
       future hover/preset transform on the same element. */
    .hero__img {
      animation: wbHeroParallax linear both;
      animation-timeline: view();
      animation-range: exit;
    }
  }
}

@keyframes wbHeroParallax {
  from { translate: 0 0; }
  to   { translate: 0 30%; }
}

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

/* 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-menu-fit: a backdrop-filter makes the header the containing block of its position:fixed menu,
   so the opened menu resolved inset/top/bottom against the ~70px header and opened squashed.
   The header background is near-opaque, so the phone loses nothing by dropping the blur. */
@media (max-width: 768px) {
  .header, .header.is-scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; }
}
/* /phone-menu-fit */
/* 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.
   Gate: tests/Feature/Themes/MobileHeaderFitTest.php (it strips this block and expects the overhang back). */
@media (max-width: 768px) {
  [data-section="header"] .header__nav { gap: 1rem; }
  [data-section="header"] .header__brand { flex-shrink: 1; min-width: 0; }
  [data-section="header"] .header__brand-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  [data-section="header"] .header__actions { margin-inline-start: auto; flex-shrink: 0; }
}
/* /phone-header-fit */

/* 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(.section--dark) .eyebrow--light { color: oklch(from var(--clr-accent-2) max(l, 0.75) c h); }
:where(.section--dark) .btn--outline-gold { color: oklch(from var(--clr-accent-2) max(l, 0.75) c h); }
.section--dark .product-card__category { color: oklch(from var(--clr-accent-2) max(l, 0.75) c h); }
:where(.section--dark) .product-card__price-current { color: oklch(from var(--clr-accent-2) max(l, 0.75) c h); }
:where(.section--dark) .product-card__add-btn { color: oklch(from var(--clr-accent-2) max(l, 0.75) c h); }

/* 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-accent: #844b00; /* was #C0831E */
}
.footer__newsletter p { color: oklch(from var(--wb-on-dark, rgba(255,255,255,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. */
.footer__bottom { color: oklch(from var(--wb-on-dark, rgba(255,255,255,0.3)) calc(l + 0.07) c h / calc(min(1, alpha + 0.21))); }

/* 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. */
.cat-card { background-color: oklch(from var(--clr-tinted) min(l, 0.515) c h / alpha); }
