/* style.css — Little Fern design tokens + components */

:root,
[data-theme='light'] {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(2.75rem, 0.5rem + 6vw, 6.5rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Surfaces — warm cream / linen */
  --color-bg: #faf7f0;
  --color-surface: #ffffff;
  --color-surface-2: #fdfcf9;
  --color-surface-offset: #f2ecdf;
  --color-surface-offset-2: #ece3d1;
  --color-surface-dynamic: #e4d8c0;
  --color-divider: #e5ddc9;
  --color-border: #d9cdae;

  /* Text — warm charcoal */
  --color-text: #33321f;
  --color-text-muted: #756f57;
  --color-text-faint: #a9a389;
  --color-text-inverse: #faf7f0;

  /* Primary Accent — Fern Sage */
  --color-primary: #5c7a5c;
  --color-primary-hover: #4a6449;
  --color-primary-active: #384c38;
  --color-primary-highlight: #dbe3d3;

  /* Secondary Accent — Terracotta */
  --color-terracotta: #bd7350;
  --color-terracotta-hover: #a15d3d;
  --color-terracotta-active: #7f4830;
  --color-terracotta-highlight: #ecd9cc;

  /* Warning / Error / Success (semantic, muted to match palette) */
  --color-warning: #a15d3d;
  --color-warning-highlight: #ecd9cc;
  --color-error: #a3423c;
  --color-error-hover: #832f2a;
  --color-error-highlight: #ecd5d2;
  --color-success: #5c7a5c;
  --color-success-highlight: #dbe3d3;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows — tone-matched warm */
  --shadow-sm: 0 1px 2px oklch(0.3 0.03 100 / 0.08);
  --shadow-md: 0 4px 16px oklch(0.3 0.03 100 / 0.1);
  --shadow-lg: 0 16px 40px oklch(0.3 0.03 100 / 0.14);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 1080px;
  --content-wide: 1320px;
  --content-full: 100%;

  /* Fonts */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'General Sans', 'Inter', sans-serif;
}

[data-theme='dark'] {
  --color-bg: #1c1d16;
  --color-surface: #22231a;
  --color-surface-2: #262719;
  --color-surface-offset: #2a2b1d;
  --color-surface-offset-2: #313220;
  --color-surface-dynamic: #3a3b26;
  --color-divider: #34351f;
  --color-border: #454629;
  --color-text: #ece7d6;
  --color-text-muted: #a5a086;
  --color-text-faint: #736f58;
  --color-text-inverse: #1c1d16;
  --color-primary: #8fac86;
  --color-primary-hover: #a3bd9b;
  --color-primary-active: #b7cbb0;
  --color-primary-highlight: #35402f;
  --color-terracotta: #d3906a;
  --color-terracotta-hover: #dea582;
  --color-terracotta-active: #e8ba9c;
  --color-terracotta-highlight: #453227;
  --color-warning: #d3906a;
  --color-warning-highlight: #453227;
  --color-error: #d1746b;
  --color-error-hover: #dc8b83;
  --color-error-highlight: #452925;
  --color-success: #8fac86;
  --color-success-highlight: #35402f;
  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.3);
  --shadow-md: 0 4px 16px oklch(0 0 0 / 0.35);
  --shadow-lg: 0 16px 40px oklch(0 0 0 / 0.45);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #1c1d16;
    --color-surface: #22231a;
    --color-surface-2: #262719;
    --color-surface-offset: #2a2b1d;
    --color-surface-offset-2: #313220;
    --color-surface-dynamic: #3a3b26;
    --color-divider: #34351f;
    --color-border: #454629;
    --color-text: #ece7d6;
    --color-text-muted: #a5a086;
    --color-text-faint: #736f58;
    --color-text-inverse: #1c1d16;
    --color-primary: #8fac86;
    --color-primary-hover: #a3bd9b;
    --color-primary-active: #b7cbb0;
    --color-primary-highlight: #35402f;
    --color-terracotta: #d3906a;
    --color-terracotta-hover: #dea582;
    --color-terracotta-active: #e8ba9c;
    --color-terracotta-highlight: #453227;
    --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.3);
    --shadow-md: 0 4px 16px oklch(0 0 0 / 0.35);
    --shadow-lg: 0 16px 40px oklch(0 0 0 / 0.45);
  }
}

/* ============ LAYOUT UTILITIES ============ */

.wrap {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-5), 5vw, var(--space-12));
}

.wrap--default {
  max-width: var(--content-default);
}

.wrap--narrow {
  max-width: var(--content-narrow);
}

section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
}

/* ============ HEADER ============ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(from var(--color-bg) l c h / 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid oklch(from var(--color-border) l c h / 0.6);
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header--hidden {
  transform: translateY(-100%);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-block: var(--space-4);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  text-decoration: none;
  flex-shrink: 0;
}

.logo svg {
  width: 32px;
  height: 32px;
  color: var(--color-primary);
}

.main-nav {
  display: flex;
  gap: var(--space-8);
  align-items: center;
}

.main-nav a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 500;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--color-text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  color: var(--color-text);
  position: relative;
}

.icon-btn:hover {
  background: var(--color-surface-offset);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

.cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--color-terracotta);
  color: var(--color-text-inverse);
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: 3px;
}

.cart-badge[hidden] {
  display: none;
}

.mobile-nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
}

.mobile-nav-toggle svg {
  width: 22px;
  height: 22px;
}

/* ============ BUTTONS ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  text-decoration: none;
  white-space: nowrap;
  min-height: 44px;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--color-border);
  color: var(--color-text);
}
.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-terracotta {
  background: var(--color-terracotta);
  color: var(--color-text-inverse);
}
.btn-terracotta:hover {
  background: var(--color-terracotta-hover);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  font-size: var(--text-xs);
  padding: var(--space-2) var(--space-4);
  min-height: 36px;
}

/* ============ HERO ============ */

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(var(--space-8), 6vw, var(--space-16));
  align-items: center;
  padding-block: clamp(var(--space-12), 6vw, var(--space-20));
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-5);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-6);
  letter-spacing: -0.01em;
}

.hero p {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}

.hero-trust {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.hero-media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media-tag {
  position: absolute;
  bottom: var(--space-5);
  left: var(--space-5);
  background: oklch(from var(--color-surface) l c h / 0.92);
  backdrop-filter: blur(8px);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  font-size: var(--text-xs);
  color: var(--color-text);
  box-shadow: var(--shadow-md);
}

.hero-media-tag strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
}

/* ============ SECTION HEADINGS ============ */

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-6);
  margin-bottom: clamp(var(--space-8), 4vw, var(--space-12));
  flex-wrap: wrap;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--color-text);
}

.section-head p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 48ch;
}

.section-eyebrow {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  margin-bottom: var(--space-3);
}

/* ============ VALUE STRIP ============ */

.value-strip {
  background: var(--color-surface-offset);
  padding-block: var(--space-6);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}

.value-strip-inner {
  display: flex;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.value-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex: 1;
  min-width: 200px;
}

.value-item svg {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.value-item-text strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
}

.value-item-text span {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ============ PRODUCT GRID ============ */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(var(--space-5), 3vw, var(--space-8));
}

.product-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--color-text);
}

.product-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--color-surface-offset);
  margin-bottom: var(--space-4);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.product-badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  background: var(--color-terracotta);
  color: var(--color-text-inverse);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}

.product-add {
  position: absolute;
  bottom: var(--space-3);
  right: var(--space-3);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--color-surface);
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    background 0.2s ease;
}

.product-card:hover .product-add {
  opacity: 1;
  transform: translateY(0);
}

.product-add:hover {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}

.product-add svg {
  width: 18px;
  height: 18px;
}

.product-swatches {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}

.swatch {
  width: 14px;
  height: 14px;
  border-radius: var(--radius-full);
  border: 1px solid oklch(from var(--color-border) l c h / 0.6);
}

.product-name {
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.product-meta {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}

.product-price {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
}

.product-price .was {
  color: var(--color-text-faint);
  text-decoration: line-through;
  font-weight: 400;
  margin-right: var(--space-2);
}

/* ============ STORY / EDITORIAL SECTIONS ============ */

.editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-8), 6vw, var(--space-16));
  align-items: center;
}

.editorial.reverse .editorial-media {
  order: 2;
}

.editorial-media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
}

.editorial-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editorial-copy h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  margin-bottom: var(--space-5);
}

.editorial-copy p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
}

.editorial-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.editorial-list li {
  display: flex;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text);
}

.editorial-list svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============ HOW IT WORKS ============ */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(var(--space-8), 4vw, var(--space-10));
}

.step {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.step-number {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-terracotta);
}

.step h3 {
  font-size: var(--text-lg);
  font-weight: 600;
}

.step p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ============ TESTIMONIALS ============ */

.testimonial-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.stars {
  display: flex;
  gap: 2px;
  color: var(--color-terracotta);
}

.stars svg {
  width: 14px;
  height: 14px;
}

.testimonial-card p {
  font-size: var(--text-sm);
  color: var(--color-text);
}

.testimonial-author {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 600;
}

/* ============ NEWSLETTER ============ */

.newsletter {
  background: var(--color-primary);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-10), 6vw, var(--space-16));
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-8);
  align-items: center;
}

.newsletter h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--color-text-inverse);
  margin-bottom: var(--space-3);
}

.newsletter p {
  color: oklch(from var(--color-text-inverse) l c h / 0.85);
  font-size: var(--text-base);
}

.newsletter-form {
  display: flex;
  gap: var(--space-3);
}

.newsletter-form input {
  flex: 1;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-full);
  border: none;
  font-size: var(--text-sm);
  min-height: 48px;
}

.newsletter-form input::placeholder {
  color: var(--color-text-faint);
}

.newsletter-note {
  font-size: var(--text-xs);
  color: oklch(from var(--color-text-inverse) l c h / 0.7);
  margin-top: var(--space-3);
}

.newsletter-success {
  color: var(--color-text-inverse);
  font-size: var(--text-sm);
  font-weight: 600;
  display: none;
  align-items: center;
  gap: var(--space-2);
}

/* ============ FOOTER ============ */

.site-footer {
  background: var(--color-surface-offset);
  border-top: 1px solid var(--color-divider);
  padding-block: clamp(var(--space-12), 5vw, var(--space-16)) var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.footer-brand p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-4);
  max-width: 34ch;
}

.footer-social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
}

.footer-social a:hover {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

.footer-col h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-col a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-divider);
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-bottom p {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.footer-legal {
  display: flex;
  gap: var(--space-5);
}

.footer-legal a {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--color-text-muted);
}

/* ============ THEME TOGGLE ============ */

[data-theme-toggle] svg {
  width: 18px;
  height: 18px;
}

/* ============ CART DRAWER ============ */

.cart-overlay {
  position: fixed;
  inset: 0;
  background: oklch(0.2 0.02 100 / 0.4);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(420px, 92vw);
  background: var(--color-surface);
  z-index: 91;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-6);
  border-bottom: 1px solid var(--color-divider);
}

.cart-header h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
  padding-block: var(--space-16);
  color: var(--color-text-muted);
}

.cart-empty svg {
  width: 40px;
  height: 40px;
  color: var(--color-text-faint);
}

.cart-line {
  display: flex;
  gap: var(--space-4);
}

.cart-line img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.cart-line-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.cart-line-info strong {
  font-size: var(--text-sm);
}

.cart-line-info span {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.cart-line-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-2);
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
}

.qty-control button {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
}

.qty-control span {
  min-width: 24px;
  text-align: center;
  font-size: var(--text-xs);
}

.cart-remove {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-decoration: underline;
}

.cart-footer {
  padding: var(--space-6);
  border-top: 1px solid var(--color-divider);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-sm);
  font-weight: 600;
}

/* ============ SHOP FILTERS ============ */

.shop-header {
  padding-block: var(--space-10) var(--space-6);
  text-align: center;
}

.shop-header h1 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-3);
}

.shop-header p {
  color: var(--color-text-muted);
  max-width: 560px;
  margin-inline: auto;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
}

.filter-chip {
  font-size: var(--text-sm);
  font-weight: 500;
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: var(--transition-interactive);
}

.filter-chip:hover {
  border-color: var(--color-primary);
  color: var(--color-text);
}

.filter-chip.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-text-inverse);
}

.empty-state {
  text-align: center;
  padding-block: var(--space-24);
  color: var(--color-text-muted);
}

/* ============ SOURCING / STORY PAGE ============ */

.story-hero {
  padding-block: var(--space-12) var(--space-8);
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

.story-hero span.section-eyebrow {
  display: block;
  margin-bottom: var(--space-3);
}

.story-hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}

.story-hero p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
}

.sourcing-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.sourcing-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.sourcing-card svg {
  width: 28px;
  height: 28px;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.sourcing-card h3 {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.sourcing-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.values-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

/* ============ RESPONSIVE ============ */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-media {
    aspect-ratio: 4/3;
    order: -1;
  }

  .editorial,
  .editorial.reverse .editorial-media {
    grid-template-columns: 1fr;
    order: unset;
  }

  .editorial-media {
    order: -1;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps,
  .testimonial-row,
  .sourcing-steps,
  .values-row {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .newsletter {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8) var(--space-6);
  }

  .value-strip-inner {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .main-nav {
    display: none;
  }

  .main-nav.mobile-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-1);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-4) var(--space-5) var(--space-5);
    box-shadow: var(--shadow-md);
    z-index: 40;
  }

  .main-nav.mobile-open a {
    width: 100%;
    padding: var(--space-3) 0;
    font-size: var(--text-base);
    border-bottom: 1px solid var(--color-divider);
  }

  .main-nav.mobile-open a:last-child {
    border-bottom: none;
  }

  .mobile-nav-toggle {
    display: flex;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
