/* THREAD & CROCHET CREATIONS — bundled CSS (no @import waterfall). */

/* === variables.css === */
/* THREAD & CROCHET CREATIONS — brand tokens
   Source: booth brand board (soft blush pink + chocolate brown + light wood).
   Reference: frontend/assets/images/brand/brand-booth-reference.png */

:root {
  /* Core brand palette (from booth signage) */
  --color-blush: #f7d6d8;           /* soft pastel pink panels / banners */
  --color-blush-soft: #fce9eb;      /* lighter pink wash */
  --color-blush-deep: #e8b4b8;      /* dusty rose leaves / hover */
  --color-chocolate: #3d2b29;       /* logo + primary text */
  --color-chocolate-soft: #5c403c;  /* secondary brown */
  --color-wood: #d4b896;            /* light oak / maple */
  --color-wood-deep: #b8956c;       /* richer wood accent */
  --color-cream: #fff8f4;           /* soft cream / off-white */
  --color-sage: #8fa88a;            /* botanical greenery accent */
  --color-chalkboard: #2f2a28;      /* chalkboard CTA panels */

  /* Semantic tokens mapped to brand */
  --color-primary: #3d2b29;         /* chocolate — primary actions / text emphasis */
  --color-primary-hover: #2a1d1c;
  --color-secondary: #d4b896;       /* wood */
  --color-accent: #f7d6d8;          /* blush pink */
  --color-accent-strong: #e8b4b8;   /* dusty rose */
  --color-background: #fff8f4;      /* cream page ground */
  --color-background-deep: #fce9eb; /* soft blush sections */
  --color-surface: #ffffff;
  --color-surface-muted: #f7d6d8;   /* blush cards / soft panels */
  --color-surface-wood: #f3e6d6;
  --color-text: #3d2b29;
  --color-text-strong: #2a1d1c;
  --color-muted: #7a625e;
  --color-border: #ecd5d0;
  --color-border-strong: #d4b896;
  --color-success: #5f7d5a;
  --color-warning: #b8893d;
  --color-danger: #9a3b45;
  --color-info: #6a7f8f;
  --color-focus: #3d2b29;
  --color-overlay: rgba(61, 43, 41, 0.48);
  --color-on-primary: #fff8f4;
  --color-on-accent: #3d2b29;

  /* Typography — script wordmark + clean sans subtitle (booth-inspired) */
  --font-script: "Great Vibes", "Segoe Script", "Brush Script MT", cursive;
  --font-display: "Cormorant Garamond", "Palatino Linotype", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", Tahoma, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-md: 1.125rem;
  --font-size-lg: 1.5rem;
  --font-size-xl: 2rem;
  --font-size-2xl: 2.65rem;
  --font-size-3xl: clamp(2.75rem, 5vw, 3.85rem);
  --line-height-tight: 1.2;
  --line-height-normal: 1.6;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --letter-brand: 0.18em;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;

  /* Layout — balanced content column; full-bleed heroes stay outside .container */
  --container-max-width: 1200px;
  --container-max: var(--container-max-width); /* alias for existing rules */
  --container-narrow: 48rem;
  --container-padding: 1.25rem; /* 20px mobile */
  --container-padding-md: 1.5rem; /* 24px tablet+ */
  --container-padding-lg: 2rem; /* 32px large desktop */
  --header-height: 7.25rem;
  --radius-sm: 0.5rem;
  --radius-md: 0.85rem;
  --radius-lg: 1.25rem;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(61, 43, 41, 0.06);
  --shadow-md: 0 4px 14px rgba(61, 43, 41, 0.09);
  --shadow-lg: 0 8px 24px rgba(61, 43, 41, 0.11);
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;

  --bp-sm: 480px;
  --bp-md: 768px;
  --bp-lg: 1024px;
  --bp-xl: 1280px;

  --product-aspect: 1 / 1;
  --touch-min: 2.75rem;
}

/* === themes.css === */
/* Color themes — swap via html[data-theme="…"]
   Default (no attribute / blush) = current booth brand.
   To lock permanently later: set TCC_COLOR_THEME_LOCKED in functions.php */

/* Current brand is already defined in :root (variables.css). Alias: */
html[data-theme="blush"],
html:not([data-theme]) {
  color-scheme: light;
}

/* Soft Lilac — gentle, premium, elegant */
html[data-theme="soft-lilac"] {
  --color-blush: #e8def5;
  --color-blush-soft: #f4eefb;
  --color-blush-deep: #c9b3e3;
  --color-chocolate: #3d2f4a;
  --color-chocolate-soft: #5a4a6e;
  --color-wood: #c9b8a8;
  --color-wood-deep: #a8927e;
  --color-cream: #faf7fd;
  --color-sage: #8fa88a;
  --color-chalkboard: #2e2438;

  --color-primary: #3d2f4a;
  --color-primary-hover: #2a2035;
  --color-secondary: #c9b8a8;
  --color-accent: #e8def5;
  --color-accent-strong: #b794d4;
  --color-background: #faf7fd;
  --color-background-deep: #f4eefb;
  --color-surface: #ffffff;
  --color-surface-muted: #e8def5;
  --color-surface-wood: #f0e8f5;
  --color-text: #3d2f4a;
  --color-text-strong: #2a2035;
  --color-muted: #7a6b8a;
  --color-border: #ddd0eb;
  --color-border-strong: #c9b3e3;
  --color-focus: #6b4f8c;
  --color-overlay: rgba(61, 47, 74, 0.48);
  --color-on-primary: #faf7fd;
  --color-on-accent: #3d2f4a;

  --shadow-sm: 0 1px 2px rgba(61, 47, 74, 0.06);
  --shadow-md: 0 4px 14px rgba(61, 47, 74, 0.09);
  --shadow-lg: 0 8px 24px rgba(61, 47, 74, 0.11);
}

/* Pink Lilac — warm, romantic, creative */
html[data-theme="pink-lilac"] {
  --color-blush: #f3d4e6;
  --color-blush-soft: #fceef6;
  --color-blush-deep: #e5a8c8;
  --color-chocolate: #4a2f3d;
  --color-chocolate-soft: #6b4558;
  --color-wood: #d4b8a8;
  --color-wood-deep: #b8957e;
  --color-cream: #fff6fa;
  --color-sage: #8fa88a;
  --color-chalkboard: #352028;

  --color-primary: #4a2f3d;
  --color-primary-hover: #341f2b;
  --color-secondary: #d4b8a8;
  --color-accent: #f3d4e6;
  --color-accent-strong: #d478a8;
  --color-background: #fff6fa;
  --color-background-deep: #fceef6;
  --color-surface: #ffffff;
  --color-surface-muted: #f3d4e6;
  --color-surface-wood: #f8e8f0;
  --color-text: #4a2f3d;
  --color-text-strong: #341f2b;
  --color-muted: #8a6578;
  --color-border: #ecd0e0;
  --color-border-strong: #e5a8c8;
  --color-focus: #a85a84;
  --color-overlay: rgba(74, 47, 61, 0.48);
  --color-on-primary: #fff6fa;
  --color-on-accent: #4a2f3d;

  --shadow-sm: 0 1px 2px rgba(74, 47, 61, 0.06);
  --shadow-md: 0 4px 14px rgba(74, 47, 61, 0.09);
  --shadow-lg: 0 8px 24px rgba(74, 47, 61, 0.11);
}

/* Lavender Violet — modern, fresh, distinctive */
html[data-theme="lavender-violet"] {
  --color-blush: #d8cef2;
  --color-blush-soft: #f0ebfa;
  --color-blush-deep: #a994d8;
  --color-chocolate: #2e2448;
  --color-chocolate-soft: #4a3d6e;
  --color-wood: #b8a8c4;
  --color-wood-deep: #8e7aa8;
  --color-cream: #f6f3fc;
  --color-sage: #7a9a88;
  --color-chalkboard: #1f1833;

  --color-primary: #2e2448;
  --color-primary-hover: #1f1833;
  --color-secondary: #b8a8c4;
  --color-accent: #d8cef2;
  --color-accent-strong: #7b5fb8;
  --color-background: #f6f3fc;
  --color-background-deep: #f0ebfa;
  --color-surface: #ffffff;
  --color-surface-muted: #d8cef2;
  --color-surface-wood: #ebe4f5;
  --color-text: #2e2448;
  --color-text-strong: #1f1833;
  --color-muted: #6e6588;
  --color-border: #d0c4e8;
  --color-border-strong: #a994d8;
  --color-focus: #6b4fa8;
  --color-overlay: rgba(46, 36, 72, 0.48);
  --color-on-primary: #f6f3fc;
  --color-on-accent: #2e2448;

  --shadow-sm: 0 1px 2px rgba(46, 36, 72, 0.07);
  --shadow-md: 0 4px 14px rgba(46, 36, 72, 0.1);
  --shadow-lg: 0 8px 24px rgba(46, 36, 72, 0.12);
}

/* Smooth theme transition on key surfaces (avoid animating every node) */
html.tcc-theme-ready body,
html.tcc-theme-ready .site-wrapper,
html.tcc-theme-ready .site-header,
html.tcc-theme-ready .site-footer,
html.tcc-theme-ready .section,
html.tcc-theme-ready .btn,
html.tcc-theme-ready .announcement,
html.tcc-theme-ready .tcc-theme-switcher__panel {
  transition:
    background-color var(--transition-base),
    border-color var(--transition-base),
    color var(--transition-base),
    box-shadow var(--transition-base);
}

/* === branding-themes.css === */
/* Branding + decorative imagery follow the active color theme.
   Product catalog photos stay natural (not hue-shifted). */

:root {
  --brand-logo-filter: none;
  --brand-hero-filter: none;
  --brand-image-tint: transparent;
  --brand-image-tint-strength: 0;
  --brand-ring: var(--color-border-strong);
}

html[data-theme="blush"] {
  --brand-logo-filter: none;
  --brand-hero-filter: none;
  --brand-image-tint: transparent;
  --brand-image-tint-strength: 0;
  --brand-ring: var(--color-wood);
}

html[data-theme="soft-lilac"] {
  /* Shift blush artwork toward soft lilac / plum */
  --brand-logo-filter: hue-rotate(235deg) saturate(0.88) brightness(1.04) contrast(1.02);
  --brand-hero-filter: hue-rotate(230deg) saturate(0.95) brightness(1.03) contrast(1.02);
  --brand-image-tint: #b794d4;
  --brand-image-tint-strength: 0.42;
  --brand-ring: var(--color-accent-strong);
}

html[data-theme="pink-lilac"] {
  /* Warm romantic pink-lilac */
  --brand-logo-filter: hue-rotate(325deg) saturate(1.08) brightness(1.03) contrast(1.01);
  --brand-hero-filter: hue-rotate(318deg) saturate(1.12) brightness(1.02) contrast(1.01);
  --brand-image-tint: #d478a8;
  --brand-image-tint-strength: 0.38;
  --brand-ring: var(--color-accent-strong);
}

html[data-theme="lavender-violet"] {
  /* Modern violet cast */
  --brand-logo-filter: hue-rotate(248deg) saturate(1.05) brightness(1.02) contrast(1.03);
  --brand-hero-filter: hue-rotate(245deg) saturate(1.1) brightness(1.01) contrast(1.04);
  --brand-image-tint: #7b5fb8;
  --brand-image-tint-strength: 0.4;
  --brand-ring: var(--color-accent-strong);
}

/* —— Logo / brand mark ——
   Ring stays on the circular mark only — never on .brand (logo + wordmark),
   or the ellipse spills into the announcement bar. */
.brand {
  position: relative;
  border-radius: 0;
  box-shadow: none;
}

.brand__logo {
  display: block;
  width: 112px;
  height: 112px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--color-blush-soft);
  box-shadow:
    inset 0 0 0 3px var(--color-surface),
    0 0 0 3px var(--brand-ring);
  transition: filter var(--transition-base), background-color var(--transition-base), box-shadow var(--transition-base);
}

/* PNG fallback (before SVG upgrade) — hue-shift with theme */
img.brand__logo {
  filter: var(--brand-logo-filter);
}

/* SVG logo — colors come from CSS variables (no filter needed) */
svg.brand__logo--svg {
  filter: none;
  overflow: visible;
}

/* —— Homepage hero banner (header image) —— */
.crochet-hero {
  background: var(--color-background);
}

.crochet-hero__frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.crochet-hero__artwork,
img.crochet-hero__artwork {
  filter: var(--brand-hero-filter) !important;
  transition: filter var(--transition-base);
  background: var(--color-background);
}

/* Color wash layer above artwork, below hotspots */
.crochet-hero__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: var(--brand-image-tint);
  opacity: var(--brand-image-tint-strength);
  mix-blend-mode: color;
  transition: opacity var(--transition-base), background-color var(--transition-base);
}

html[data-theme="blush"] .crochet-hero__frame::before {
  opacity: 0;
}

/* Keep hotspot clicks above the wash */
.crochet-hero__hotspots {
  z-index: 3;
}

/* —— Other brand / story media —— */
.brand-story__media,
.about-hero__media,
.story-media,
[data-brand-media] {
  position: relative;
  isolation: isolate;
}

.brand-story__media::after,
.about-hero__media::after,
.story-media::after,
[data-brand-media]:not(.crochet-hero__frame)::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  border-radius: inherit;
  background: var(--brand-image-tint);
  opacity: var(--brand-image-tint-strength);
  mix-blend-mode: color;
  transition: opacity var(--transition-base), background-color var(--transition-base);
}

.brand-story__media img,
.about-hero__media img,
.story-media img,
[data-brand-media] img:not(.crochet-hero__artwork) {
  filter: var(--brand-hero-filter);
  transition: filter var(--transition-base);
}

html[data-theme="blush"] .brand-story__media::after,
html[data-theme="blush"] .about-hero__media::after,
html[data-theme="blush"] .story-media::after,
html[data-theme="blush"] [data-brand-media]:not(.crochet-hero__frame)::after {
  opacity: 0;
}

html[data-theme="blush"] .brand-story__media img,
html[data-theme="blush"] .about-hero__media img,
html[data-theme="blush"] .story-media img {
  filter: none;
}

/* Category / collection tiles that use brand washes */
.collection-card,
.category-card,
.home-category-card {
  background: var(--color-surface-muted);
  border-color: var(--color-border);
}

/* Do NOT filter product gallery / shop thumbnails */
.product-card__image img,
.product-gallery img,
[data-product-image],
.cart-item img,
.shop-grid img,
.category-card__media img {
  filter: none !important;
}

/* === theme-switcher.css === */
/* Theme color switcher — compact control in header area */

.tcc-theme-switcher {
  position: fixed;
  right: 1rem;
  bottom: 5.5rem; /* above WhatsApp FAB when present */
  z-index: 90;
  font-family: var(--font-body);
}

.tcc-theme-switcher__panel {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.4rem 0.35rem 0.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.tcc-theme-switcher__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.tcc-theme-switcher__swatches {
  display: flex;
  gap: 0.3rem;
  align-items: center;
}

.tcc-theme-switcher__swatch {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  cursor: pointer;
  padding: 0;
  background: linear-gradient(135deg, var(--swatch-a), var(--swatch-b));
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.tcc-theme-switcher__swatch:hover,
.tcc-theme-switcher__swatch:focus-visible {
  transform: scale(1.08);
  outline: none;
  border-color: var(--color-primary);
}

.tcc-theme-switcher__swatch[aria-pressed="true"] {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px var(--color-accent-strong);
}

.tcc-theme-switcher__swatch[data-theme-id="blush"] {
  --swatch-a: #f7d6d8;
  --swatch-b: #3d2b29;
}

.tcc-theme-switcher__swatch[data-theme-id="soft-lilac"] {
  --swatch-a: #e8def5;
  --swatch-b: #6b4f8c;
}

.tcc-theme-switcher__swatch[data-theme-id="pink-lilac"] {
  --swatch-a: #f3d4e6;
  --swatch-b: #d478a8;
}

.tcc-theme-switcher__swatch[data-theme-id="lavender-violet"] {
  --swatch-a: #d8cef2;
  --swatch-b: #7b5fb8;
}

.tcc-theme-switcher__cycle {
  min-width: 2.25rem;
  min-height: 2.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-background-deep);
  color: var(--color-text);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.tcc-theme-switcher__cycle:hover,
.tcc-theme-switcher__cycle:focus-visible {
  background: var(--color-accent);
  outline: 2px solid var(--color-focus);
  outline-offset: 1px;
}

.tcc-theme-switcher__select {
  max-width: 9.5rem;
  min-height: 2.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 0.75rem;
  padding: 0.25rem 0.4rem;
  cursor: pointer;
}

.tcc-theme-switcher__select:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 1px;
}

@media (max-width: 767px) {
  /* Compact control, bottom-left — avoids covering product cards + WhatsApp */
  .tcc-theme-switcher {
    left: max(0.65rem, env(safe-area-inset-left, 0px));
    right: auto;
    bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
    z-index: 840;
  }

  .tcc-theme-switcher__panel {
    padding: 0.3rem;
    gap: 0.25rem;
  }

  .tcc-theme-switcher__swatches,
  .tcc-theme-switcher__select {
    display: none;
  }

  .tcc-theme-switcher__cycle {
    min-width: 2.5rem;
    min-height: 2.5rem;
  }
}

/* === reset.css === */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd,
ul, ol {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

a {
  color: inherit;
  text-decoration: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

/* === base.css === */
/* Fonts load via <link> in page <head> (preconnect + display=swap) — avoid CSS @import blocking */

body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background:
    radial-gradient(circle at top right, rgba(247, 214, 216, 0.55), transparent 42%),
    radial-gradient(circle at bottom left, rgba(212, 184, 150, 0.18), transparent 38%),
    linear-gradient(180deg, var(--color-cream) 0%, var(--color-blush-soft) 100%);
  min-height: 100vh;
}

h1, h2, h3, h4 {
  color: var(--color-text-strong);
  line-height: var(--line-height-tight);
  text-wrap: balance;
}

/* Display serif for section headings — clearer wrapping than script at body sizes */
h1, h2 {
  font-family: var(--font-display);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.01em;
}

h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--font-weight-semibold);
}

h1 { font-size: var(--font-size-3xl); }
h2 { font-size: clamp(1.75rem, 3vw, 2.35rem); }
h3 { font-size: var(--font-size-lg); }
h4 { font-size: var(--font-size-md); }

p {
  color: var(--color-muted);
  max-width: 65ch;
  line-height: 1.65;
}

.section__header p,
.section__header .muted {
  max-width: 40rem;
}

a:hover {
  color: var(--color-chocolate-soft);
}

.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;
}

.text-center { text-align: center; }
.muted { color: var(--color-muted); }
.strong { color: var(--color-text-strong); font-weight: var(--font-weight-semibold); }

/* Booth-style chalkboard callout */
.chalkboard {
  background: var(--color-chalkboard);
  color: #f7f2ee;
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}

.chalkboard a {
  color: var(--color-blush);
}

/* === layout.css === */
.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
}

/*
  Global container — single source of truth.
  Wider on desktop (~1380px) to reduce side whitespace; safe padding on small screens.
*/
.container {
  width: min(
    calc(100% - (var(--container-padding) * 2)),
    var(--container-max-width)
  );
  margin-inline: auto;
}

.container--narrow {
  width: min(
    calc(100% - (var(--container-padding) * 2)),
    var(--container-narrow)
  );
  margin-inline: auto;
}

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

.section--tight {
  padding-block: var(--space-5);
}

.section__header {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.grid {
  display: grid;
  gap: var(--space-5);
}

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

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

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

.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

@media (min-width: 768px) {
  :root {
    --container-padding: var(--container-padding-md);
  }

  .grid--products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-5);
  }

  .grid--categories {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .grid--products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .grid--categories {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  :root {
    --container-padding: var(--container-padding-lg);
    /* Cap content width so large desktops stay balanced (not edge-stretched) */
    --container-max-width: 1200px;
  }
}

@media (min-width: 1600px) {
  :root {
    --container-max-width: 1240px;
  }
}

/* === components.css === */
/* Reusable UI primitives — Phase 0 design system */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 2.75rem;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  /* Brand system: display serif + tracked uppercase (matches brand__sub character, readable) */
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.btn:active {
  opacity: 0.92;
}

.btn:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.btn--primary {
  background: var(--color-chocolate);
  color: var(--color-on-primary);
}

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

.btn--secondary {
  background: var(--color-surface);
  border-color: var(--color-wood);
  color: var(--color-chocolate);
}

.btn--secondary:hover {
  background: var(--color-surface-wood);
}

.btn--accent {
  background: var(--color-blush);
  color: var(--color-on-accent);
  border-color: var(--color-blush-deep);
}

.btn--accent:hover {
  background: var(--color-blush-deep);
  color: var(--color-chocolate);
}

.btn--ghost {
  background: transparent;
  border-color: transparent;
  color: var(--color-chocolate);
}

.btn--block {
  width: 100%;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  background: var(--color-surface-muted);
  color: var(--color-text);
}

.badge--sale {
  background: var(--color-blush);
  color: var(--color-chocolate);
  border: 1px solid var(--color-blush-deep);
}

.badge--stock-out {
  background: #f3d6d6;
  color: var(--color-danger);
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.product-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--transition-base);
}

.product-card:hover {
  box-shadow: var(--shadow-md);
}

.product-card__media {
  aspect-ratio: var(--product-aspect);
  background:
    linear-gradient(145deg, rgba(247, 214, 216, 0.65), rgba(212, 184, 150, 0.25) 55%, transparent),
    var(--color-cream);
  position: relative;
  overflow: hidden;
}

.product-card__badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  z-index: 1;
}

.product-card__actions {
  position: absolute;
  left: var(--space-3);
  right: var(--space-3);
  bottom: var(--space-3);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.product-card:hover .product-card__actions,
.product-card:focus-within .product-card__actions {
  opacity: 1;
}

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

.product-card__body {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}

.product-card__title {
  font-family: var(--font-display);
  font-size: var(--font-size-md);
  color: var(--color-text-strong);
}

.product-card__price {
  display: flex;
  gap: var(--space-2);
  align-items: baseline;
  font-weight: var(--font-weight-semibold);
  color: var(--color-chocolate);
}

.product-card__price .was {
  color: var(--color-muted);
  text-decoration: line-through;
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-sm);
}

.product-card__price .now {
  color: var(--color-chocolate);
}

.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.field label {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-strong);
}

.input,
.select,
.textarea {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
}

.textarea {
  min-height: 7rem;
  resize: vertical;
}

.alert {
  padding: var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface-muted);
}

.alert--success { border-color: #b9d4c2; background: #eef7f1; }
.alert--danger { border-color: #e2bdbd; background: #fbf0f0; }
.alert--warning { border-color: #e5d2a8; background: #fbf6ea; }

.toast {
  position: fixed;
  right: var(--space-4);
  bottom: var(--space-4);
  z-index: 1000;
  min-width: 16rem;
  max-width: 22rem;
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: var(--color-text-strong);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  background: rgba(42, 33, 30, 0.45);
  z-index: 900;
}

.modal.is-open {
  display: flex;
}

.modal__panel {
  width: min(100%, 32rem);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-lg);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  color: var(--color-muted);
}

.pagination {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  min-width: 2.5rem;
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.qty button {
  width: 2.5rem;
  height: 2.5rem;
}

.qty input {
  width: 3rem;
  text-align: center;
  border: 0;
  border-inline: 1px solid var(--color-border);
}

.status-badge {
  display: inline-flex;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  background: var(--color-surface-muted);
}

.order-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 2px solid var(--color-border);
  margin-left: 0.6rem;
  padding-left: var(--space-4);
}

.order-timeline__item {
  position: relative;
  padding-bottom: var(--space-5);
}

.order-timeline__item::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--space-4) - 0.45rem);
  top: 0.35rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--color-border);
}

.order-timeline__item.is-complete::before {
  background: var(--color-success);
}

.order-timeline__item.is-current::before {
  background: var(--color-accent-strong);
  box-shadow: 0 0 0 4px rgba(212, 137, 143, 0.25);
}

/* Category tile */
.category-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 10rem;
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background:
    linear-gradient(165deg, rgba(255, 248, 244, 0.35), rgba(61, 43, 41, 0.45)),
    linear-gradient(135deg, var(--color-blush) 0%, var(--color-wood) 100%);
  color: #fff;
  overflow: hidden;
  transition: box-shadow var(--transition-base);
}

.category-tile:hover {
  box-shadow: var(--shadow-md);
  color: #fff;
}

.category-tile h3 {
  color: #fff;
  font-size: var(--font-size-lg);
}

.category-tile p {
  color: rgba(255, 248, 244, 0.9);
  font-size: var(--font-size-sm);
}

/* Hero — booth blush panel */
.hero {
  padding: clamp(2.25rem, 6vw, 4.5rem);
  border: 1px solid var(--color-border);
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.55), transparent 35%),
    linear-gradient(135deg, var(--color-blush) 0%, var(--color-blush-soft) 48%, var(--color-surface-wood) 100%);
}

.hero h1 {
  color: var(--color-chocolate);
}

.hero__tag {
  font-family: var(--font-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: var(--font-size-xs);
  color: var(--color-chocolate-soft);
}

/* Feature strip */
.feature-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}

.feature-item {
  padding: var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.feature-item h3 {
  margin-bottom: var(--space-2);
}

@media (min-width: 768px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-card__actions {
    opacity: 0;
  }
}

@media (max-width: 1023px) {
  .product-card__actions {
    opacity: 1;
    transform: none;
  }
}

/* === header.css === */
/* Header — logo LEFT · nav CENTER · utilities RIGHT
   Balanced three-column bar; premium, high-visibility type */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  /* Solid blush (brand) — no backdrop-filter (performance audit) */
  background: var(--color-blush);
  border-bottom: 1px solid var(--color-border-strong, var(--color-border));
  box-shadow: 0 1px 0 rgba(74, 44, 32, 0.04), 0 8px 24px rgba(74, 44, 32, 0.06);
}

.announcement {
  background: var(--color-chocolate);
  color: var(--color-cream);
  text-align: center;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.02em;
  padding: 0.55rem 1rem;
}

.announcement a {
  color: var(--color-blush);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.site-header__bar {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  position: relative;
  /* Must stay visible so Shop dropdown + brand are not clipped */
  padding-block: 0.55rem;
  box-sizing: border-box;
  overflow: visible;
}

/*
  Align logo (left) and search/account/BAG (right) with the hero content
  column inset (~7.46%), not the narrower page .container.
*/
.site-header > .site-header__bar.container {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-left: max(0.75rem, 7.46%);
  padding-right: max(0.75rem, 7.46%);
  box-sizing: border-box;
}

.header-left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-2);
  min-width: 0;
  flex: 1 1 0;
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  min-width: 0;
  flex: 1 1 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 1;
  min-width: 0;
  max-width: 100%;
  line-height: 1.1;
  color: var(--color-chocolate);
  text-decoration: none;
  position: relative;
}

.brand:hover {
  color: var(--color-chocolate);
  opacity: 0.96;
}

.brand:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 4px;
  border-radius: var(--radius-md);
}

.brand__logo {
  display: block;
  width: 112px;
  height: 112px;
  object-fit: contain;
  border-radius: 50%;
  flex-shrink: 0;
}

.brand__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
  min-width: 0;
  flex-shrink: 0;
}

.brand__name {
  display: block;
  font-family: "Great Vibes", cursive;
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.05;
  color: var(--color-chocolate);
  white-space: nowrap;
}

.brand__sub {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--color-chocolate);
  white-space: nowrap;
}

.brand__sub::before,
.brand__sub::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  max-width: 2.4rem;
  background: currentColor;
  opacity: 0.55;
}

.nav-caret {
  display: inline-block;
  width: 0.42em;
  height: 0.42em;
  margin-left: 0.35em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-0.12em);
  opacity: 0.72;
  flex-shrink: 0;
  pointer-events: none;
  transition: transform 0.18s ease;
}

[data-dropdown-toggle][aria-expanded="true"] .nav-caret,
.mobile-nav__trigger[aria-expanded="true"] .nav-caret,
.nav-primary > li.is-open > [data-dropdown-toggle] .nav-caret {
  transform: rotate(-135deg) translateY(-0.05em);
}

.site-header__bar > nav {
  display: none;
  flex: 0 1 auto;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.nav-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.nav-primary > li {
  position: relative;
}

.nav-primary > li > a,
.nav-primary > li > button {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 3.15rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-md);
  /* Display serif keeps nav scannable; script reserved for brand wordmark */
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.35vw, 1.4rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.15;
  color: var(--color-chocolate);
  background: transparent;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}

.nav-primary > li > a:hover,
.nav-primary > li > button:hover,
.nav-primary > li > a[aria-current="page"] {
  background: rgba(255, 248, 244, 0.88);
  color: var(--color-chocolate);
  box-shadow: inset 0 -2px 0 var(--color-blush-deep);
}

.nav-primary > li > a:focus-visible,
.nav-primary > li > button:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.2rem);
  left: 0;
  transform: none;
  min-width: 15rem;
  padding: var(--space-2);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: none;
  z-index: 200;
}

/* Open state is driven by .is-open (JS) so the caret stays in sync with the menu */
.nav-dropdown.is-open,
.nav-primary > li.is-open > .nav-dropdown {
  display: block;
}

.nav-dropdown a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: var(--font-size-base);
  color: var(--color-text);
}

.nav-dropdown a:hover {
  background: var(--color-blush-soft);
}

.nav-dropdown a strong {
  font-weight: var(--font-weight-semibold);
  color: var(--color-chocolate);
}

.icon-btn {
  width: var(--touch-min);
  height: var(--touch-min);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  color: var(--color-chocolate);
  position: relative;
}

/* Header utilities: enlarge thin Unicode glyphs to balance BAG */
.header-right .icon-btn {
  width: 3.5rem;
  height: 3.5rem;
  font-size: 1.75rem;
  line-height: 1;
  flex-shrink: 0;
  color: var(--color-chocolate);
}

.header-right .icon-btn[aria-label="Cart"] {
  width: auto;
  min-width: 3.5rem;
  padding: 0 0.85rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.08em;
}

.icon-btn:hover {
  background: rgba(255, 248, 244, 0.92);
  border-color: var(--color-border-strong, var(--color-border));
}

.icon-btn:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

.cart-count {
  position: absolute;
  top: 0.15rem;
  right: 0.1rem;
  min-width: 1.4rem;
  height: 1.4rem;
  padding: 0 0.32rem;
  border-radius: 999px;
  background: var(--color-chocolate);
  color: var(--color-cream);
  font-size: 0.78rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--color-border-strong, var(--color-border));
  border-radius: var(--radius-md);
  background: rgba(255, 248, 244, 0.92);
  color: var(--color-chocolate);
}

.nav-toggle__icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.28rem;
  width: 1.1rem;
  height: 0.9rem;
}

.nav-toggle__icon span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(1) {
  transform: translateY(0.34rem) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(3) {
  transform: translateY(-0.34rem) rotate(-45deg);
}

/* Fixed left sidebar drawer (mobile / tablet) */
.mobile-nav-backdrop {
  display: none;
}

.mobile-nav {
  display: none;
}

body.is-mobile-nav-open {
  overflow: hidden;
}

.mobile-nav__sheet {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--color-blush-soft);
}

.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-blush);
  flex-shrink: 0;
}

.mobile-nav__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-chocolate);
}

.mobile-nav__close {
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.6rem;
  line-height: 1;
  border: 1px solid var(--color-border);
  background: rgba(255, 248, 244, 0.92);
}

.mobile-nav__accordion {
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0.35rem 0 1.25rem;
}

.mobile-nav__link,
.mobile-nav__trigger,
.mobile-nav__panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: var(--touch-min);
  padding: 0.95rem 1.15rem;
  border: 0;
  border-bottom: 1px solid var(--color-border);
  background: transparent;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 4.2vw, 1.3rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.3;
  color: var(--color-chocolate);
  cursor: pointer;
  text-decoration: none;
}

.mobile-nav__panel a {
  justify-content: flex-start;
  padding-left: 1.65rem;
  font-size: clamp(1rem, 3.6vw, 1.1rem);
  font-weight: 600;
  color: var(--color-chocolate-soft, var(--color-muted));
  background: rgba(255, 248, 244, 0.45);
}

.mobile-nav__panel a:hover,
.mobile-nav__link:hover,
.mobile-nav__trigger:hover {
  background: rgba(255, 248, 244, 0.88);
  color: var(--color-chocolate);
}

.mobile-nav__section.is-open .mobile-nav__trigger {
  background: rgba(255, 248, 244, 0.7);
}

.search-drawer {
  display: none;
  position: relative;
  z-index: 120;
  border-top: 1px solid var(--color-border);
  background:
    linear-gradient(180deg, var(--color-blush-soft) 0%, var(--color-cream) 100%);
  padding: 1.15rem 0 1.35rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.search-drawer.is-open {
  display: block;
  animation: search-drawer-in 0.28s ease;
}

.header-right .icon-btn[data-search-toggle] {
  position: relative;
  z-index: 121;
  pointer-events: auto;
  cursor: pointer;
}

@keyframes search-drawer-in {
  from {
    opacity: 0;
    transform: translateY(-0.4rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Match header content inset so the bar feels part of the header */
.site-header > .search-drawer.container {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-left: max(0.75rem, 7.46%);
  padding-right: max(0.75rem, 7.46%);
  box-sizing: border-box;
}

.search-drawer__form {
  display: flex;
  align-items: stretch;
  gap: 0.65rem;
  max-width: 46rem;
  margin-inline: auto;
  padding: 0.55rem;
  border-radius: 999px;
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong, var(--color-border));
  box-shadow: var(--shadow-md);
}

.search-drawer__form .input {
  flex: 1;
  min-width: 0;
  min-height: 3.15rem;
  padding: 0.85rem 1.25rem 0.85rem 1.35rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--color-chocolate);
  box-shadow: none;
}

.search-drawer__form .input::placeholder {
  color: var(--color-muted);
  opacity: 0.9;
}

.search-drawer__form .input:focus {
  outline: none;
  box-shadow: none;
}

.search-drawer__form .input:focus-visible {
  outline: none;
}

.search-drawer__form:focus-within {
  border-color: var(--color-chocolate);
  box-shadow:
    0 0 0 3px rgba(74, 44, 32, 0.12),
    var(--shadow-md);
}

.search-drawer__form .btn {
  flex: 0 0 auto;
  min-height: 3.15rem;
  min-width: 7.5rem;
  padding-inline: 1.5rem;
  border-radius: 999px;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
}

@media (max-width: 560px) {
  .search-drawer__form {
    border-radius: var(--radius-lg);
    flex-direction: column;
    gap: 0.55rem;
  }

  .search-drawer__form .input,
  .search-drawer__form .btn {
    width: 100%;
    border-radius: var(--radius-md);
  }
}

@media (prefers-reduced-motion: reduce) {
  .search-drawer.is-open {
    animation: none;
  }
}

/* Desktop / large tablet: logo left · nav center · utilities right
   Scales fluidly as the desktop window shrinks or grows. */
@media (min-width: 1024px) {
  .site-header__bar > nav {
    display: flex;
    flex: 1 1 auto;
    justify-content: center;
    min-width: 0;
  }
  .nav-toggle { display: none; }
  .mobile-nav,
  .mobile-nav-backdrop { display: none !important; }

  .site-header > .site-header__bar.container {
    padding-left: max(0.75rem, clamp(0.85rem, 3.5vw, 7.46%));
    padding-right: max(0.75rem, clamp(0.85rem, 3.5vw, 7.46%));
  }

  .site-header__bar {
    display: grid;
    grid-template-columns: minmax(0, auto) minmax(0, 1fr) minmax(0, auto);
    align-items: center;
    column-gap: clamp(0.35rem, 1.1vw, 1.25rem);
    min-height: clamp(4.25rem, 7.5vw, 6.75rem);
    padding-block: clamp(0.35rem, 0.75vw, 0.6rem);
    overflow: visible;
  }

  .header-left,
  .header-right {
    flex: initial;
    min-width: 0;
  }

  .header-left {
    justify-self: start;
    z-index: 1;
  }

  .header-right {
    justify-self: end;
    gap: clamp(0.2rem, 0.5vw, 0.45rem);
  }

  .brand {
    gap: clamp(0.4rem, 0.8vw, 0.75rem);
    flex-shrink: 1;
    align-items: center;
    max-width: min(100%, 22rem);
  }

  .brand__logo {
    width: clamp(52px, 5.2vw, 72px);
    height: clamp(52px, 5.2vw, 72px);
  }

  .brand__text {
    display: flex;
    flex-shrink: 1;
    min-width: 0;
  }

  .brand__name {
    display: block;
    font-size: clamp(1.2rem, 1.85vw, 2.45rem);
    line-height: 1;
  }

  .brand__sub {
    display: flex;
    font-size: clamp(0.55rem, 0.65vw, 0.78rem);
    letter-spacing: clamp(0.22em, 0.32vw, 0.4em);
  }

  .nav-primary {
    gap: clamp(0.05rem, 0.35vw, 0.35rem);
    justify-content: center;
    flex-wrap: nowrap;
  }

  .nav-primary > li > a,
  .nav-primary > li > button {
    padding: clamp(0.35rem, 0.55vw, 0.55rem) clamp(0.35rem, 0.7vw, 0.95rem);
    min-height: clamp(2.45rem, 3.8vw, 3.15rem);
    font-size: clamp(0.98rem, 1.15vw, 1.45rem);
    font-weight: 700;
    letter-spacing: 0.03em;
  }

  .nav-dropdown {
    min-width: min(16rem, 70vw);
  }

  .nav-dropdown a {
    font-weight: 600;
    font-size: clamp(0.95rem, 1.05vw, 1.05rem);
  }

  .header-right .icon-btn {
    width: clamp(2.55rem, 3.1vw, 3.65rem);
    height: clamp(2.55rem, 3.1vw, 3.65rem);
    font-size: clamp(1.15rem, 1.55vw, 1.85rem);
  }

  .header-right .icon-btn[aria-label="Cart"] {
    width: auto;
    min-width: clamp(2.55rem, 3.1vw, 3.65rem);
    padding: 0 clamp(0.45rem, 0.7vw, 0.95rem);
    font-size: clamp(0.72rem, 0.95vw, 1.05rem);
  }
}

/* Compact desktop / small laptop: keep menu readable, tighten brand */
@media (min-width: 1024px) and (max-width: 1200px) {
  .brand__sub {
    display: none;
  }

  .brand__name {
    font-size: clamp(1.15rem, 1.55vw, 1.55rem);
  }

  .nav-primary > li > a,
  .nav-primary > li > button {
    padding-inline: clamp(0.28rem, 0.55vw, 0.55rem);
    font-size: clamp(0.92rem, 1.05vw, 1.12rem);
  }
}

/* Wide desktop: menu stays bold and prominent */
@media (min-width: 1440px) {
  .nav-primary > li > a,
  .nav-primary > li > button {
    font-size: clamp(1.28rem, 1.15vw, 1.5rem);
    padding: 0.55rem 1rem;
  }

  .brand__name {
    font-size: clamp(2rem, 1.7vw, 2.55rem);
  }
}

/* Mobile / small tablet: Menu + brand left · utilities right */
@media (max-width: 1023px) {
  .site-header > .site-header__bar.container,
  .site-header > .search-drawer.container {
    padding-left: max(0.75rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.75rem, env(safe-area-inset-right, 0px));
  }

  .site-header__bar {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 4.25rem;
    padding-block: 0.45rem;
    overflow: visible;
  }

  .header-left {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex: 1 1 auto;
    min-width: 0;
  }

  .header-right {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 0.2rem;
  }

  .brand {
    gap: 0.45rem;
    min-width: 0;
    flex: 1 1 auto;
  }

  .brand__logo {
    width: 48px;
    height: 48px;
  }

  /* Fill the empty mobile header with the brand wordmark */
  .brand__text {
    display: flex;
  }

  .brand__name {
    font-size: clamp(1.15rem, 4.6vw, 1.45rem);
  }

  .brand__sub {
    font-size: 0.55rem;
    letter-spacing: 0.24em;
  }

  .nav-toggle,
  .header-right .icon-btn {
    width: 2.75rem;
    height: 2.75rem;
    align-self: center;
  }

  .header-right .icon-btn {
    font-size: 1.3rem;
  }

  .header-right .icon-btn[aria-label="Cart"] {
    width: auto;
    min-width: 2.75rem;
    height: 2.75rem;
    padding: 0 0.5rem;
    font-size: 0.72rem;
  }

  .mobile-nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 140;
    background: rgba(46, 30, 24, 0.42);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s ease;
  }

  .mobile-nav-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-nav {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 150;
    width: min(86vw, 22rem);
    height: 100dvh;
    height: 100vh;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    transform: translateX(-105%);
    transition: transform 0.24s ease;
    box-shadow: 8px 0 28px rgba(46, 30, 24, 0.18);
    pointer-events: none;
  }

  .mobile-nav.is-open {
    transform: translateX(0);
    pointer-events: auto;
  }

  .announcement {
    font-size: 0.78rem;
    padding: 0.45rem 0.75rem;
    line-height: 1.35;
  }
}

@media (max-width: 430px) {
  .brand__logo {
    width: 44px;
    height: 44px;
  }

  .brand__name {
    font-size: 1.05rem;
  }

  .brand__sub {
    display: none;
  }

  .site-header__bar {
    min-height: 3.85rem;
    gap: 0.4rem;
  }

  .nav-toggle,
  .header-right .icon-btn {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.15rem;
  }

  .header-right .icon-btn[aria-label="Cart"] {
    min-width: 2.5rem;
    height: 2.5rem;
    font-size: 0.68rem;
  }
}

/* === footer.css === */
.site-footer {
  background:
    linear-gradient(180deg, #4a3532 0%, var(--color-chocolate) 100%);
  color: var(--color-cream);
  margin-top: auto;
  padding-block: var(--space-7) var(--space-5);
  border-top: 4px solid var(--color-wood);
}

.site-footer a {
  color: var(--color-cream);
}

.site-footer a:hover {
  color: var(--color-blush);
}

.footer-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
  align-items: start;
}

.footer-brand {
  font-family: var(--font-script);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: var(--space-3);
  color: #fff;
  line-height: 1.1;
}

.footer-brand span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: var(--letter-brand);
  text-transform: uppercase;
  color: rgba(255, 248, 244, 0.72);
  margin-top: 0.35rem;
}

.footer-contact {
  margin-top: var(--space-4);
  font-size: var(--font-size-sm);
  color: rgba(255, 248, 244, 0.82);
  line-height: 1.55;
}

.footer-contact a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.footer-contact a:focus-visible {
  outline: 2px solid var(--color-blush);
  outline-offset: 2px;
}

.footer-contact__address {
  display: block;
  margin-top: var(--space-2);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin: var(--space-4) 0 0;
  padding: 0;
  list-style: none;
}

.footer-social__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 248, 244, 0.28);
  background: rgba(255, 248, 244, 0.08);
  color: #fff;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

a.footer-social__btn:hover,
a.footer-social__btn:focus-visible {
  background: rgba(255, 248, 244, 0.18);
  border-color: rgba(255, 248, 244, 0.55);
  color: #fff;
  transform: translateY(-1px);
  outline: none;
}

.footer-social__btn--inactive {
  opacity: 0.55;
  cursor: default;
}

.footer-social__btn svg {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}

.footer-col h4 {
  color: #fff;
  margin: 0 0 var(--space-3);
  font-family: var(--font-display);
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-semibold);
}

.footer-col ul {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col a {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  line-height: 1.4;
}

.footer-bottom {
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(247, 214, 216, 0.2);
  font-size: var(--font-size-sm);
  color: rgba(255, 248, 244, 0.72);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: space-between;
  align-items: center;
}

.footer-bottom__copyright {
  color: rgba(255, 248, 244, 0.88);
}

.footer-bottom__developer a {
  color: rgba(255, 248, 244, 0.78);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.footer-bottom__developer a:hover {
  color: var(--color-blush);
}

.footer-bottom__note {
  color: rgba(255, 248, 244, 0.66);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
    gap: var(--space-5) var(--space-6);
  }
}

@media (max-width: 767px) {
  .footer-grid {
    gap: var(--space-5);
  }

  .footer-col + .footer-col {
    padding-top: var(--space-2);
    border-top: 1px solid rgba(247, 214, 216, 0.16);
  }
}

/* === whatsapp.css === */
/* Floating WhatsApp contact — storefront only */

.wa-widget {
  position: fixed;
  z-index: 850;
  right: calc(1rem + env(safe-area-inset-right, 0px));
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-3);
  max-width: min(22rem, calc(100vw - 2rem - env(safe-area-inset-right, 0px) - env(safe-area-inset-left, 0px)));
  pointer-events: none;
}

.wa-widget > * {
  pointer-events: auto;
}

.wa-widget--raised {
  bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
}

.wa-fab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  border: 2px solid #fff;
  background: #128c7e;
  color: #fff;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  flex-shrink: 0;
}

.wa-fab:hover {
  background: #0e7a6e;
  color: #fff;
}

.wa-fab:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
}

.wa-fab[aria-expanded="true"] {
  background: #0b6b60;
}

.wa-fab__icon {
  width: 1.65rem;
  height: 1.65rem;
  display: block;
}

.wa-panel {
  display: none;
  width: min(22rem, 100%);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: var(--shadow-lg);
  color: var(--color-text);
}

.wa-panel.is-open {
  display: block;
}

.wa-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.wa-panel__header h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-strong);
}

.wa-panel__close {
  flex-shrink: 0;
  min-width: 2.5rem;
  min-height: 2.5rem;
  margin: -0.35rem -0.35rem 0 0;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--color-chocolate);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.wa-panel__close:hover {
  background: var(--color-blush-soft);
}

.wa-panel__close:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
}

.wa-panel__text {
  margin: 0 0 var(--space-3);
  color: var(--color-muted);
  font-size: var(--font-size-sm);
}

.wa-panel__phone {
  margin: 0 0 var(--space-4);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-strong);
}

.wa-panel__phone a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.wa-panel__phone a:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
}

.wa-panel .btn {
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .wa-fab,
  .wa-panel {
    transition: none;
  }
}

@media (max-width: 480px) {
  .wa-widget {
    right: calc(0.75rem + env(safe-area-inset-right, 0px));
    bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
  }

  .wa-widget--raised {
    bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px));
  }
}

/* === about.css === */
/* About & Contact content pages */

.contact-page {
  max-width: var(--container-narrow);
}

/* Fill the site container so two-column blocks aren’t left-packed in a narrow strip */
.about-page {
  max-width: none;
  width: 100%;
  margin-top: var(--space-5);
  text-align: left;
}

.about-page__header {
  max-width: 42rem;
}

.about-page__eyebrow {
  display: inline-block;
  margin: 0;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-chocolate-soft);
}

.about-page__title {
  margin: 0;
  color: var(--color-chocolate);
  text-wrap: balance;
}

.about-page__intro {
  display: grid;
  gap: var(--space-5);
  align-items: center;
  margin-top: var(--space-5);
}

.about-page__body {
  min-width: 0;
}

.about-page__body p,
.about-page__section p {
  margin: 0;
  color: var(--color-muted);
  font-size: var(--font-size-md);
  line-height: var(--line-height-normal);
  text-align: left;
}

/* Readable measure for single-column prose (Promise, etc.) */
.about-page__section:not(.about-page__section--split) p,
.about-page__promise {
  max-width: 42rem;
}

.about-page__media {
  margin: 0;
  min-width: 0;
}

.about-page__media img {
  width: 100%;
  aspect-ratio: 1;
  max-height: 26rem;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-cream);
  display: block;
}

.about-page__section {
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
}

.about-page__section h2 {
  margin: 0 0 var(--space-3);
  font-family: var(--font-display);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-chocolate);
}

.about-page__section--split {
  display: grid;
  gap: var(--space-5);
  align-items: center;
}

.about-page__section-copy {
  min-width: 0;
}

.about-page__promise {
  margin: 0 0 var(--space-3);
  font-family: var(--font-display);
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-strong);
}

.about-page__closing {
  margin: var(--space-6) 0 0;
  font-family: var(--font-script);
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  color: var(--color-chocolate);
  line-height: 1.25;
  text-align: left;
}

.about-page > .cluster {
  margin-top: var(--space-5);
}

@media (min-width: 768px) {
  .about-page__intro {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: var(--space-6);
  }

  .about-page__section--split {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: var(--space-6);
  }

  .about-page__media img {
    max-height: 32rem;
  }
}

@media (min-width: 1024px) {
  .about-page__intro,
  .about-page__section--split {
    gap: var(--space-7);
  }

  .about-page__media img {
    max-height: 36rem;
  }
}

.contact-details {
  display: grid;
  gap: var(--space-4);
  margin: 0;
  padding: var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.contact-details dt {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-chocolate-soft);
}

.contact-details dd {
  margin: var(--space-1) 0 0;
  color: var(--color-text-strong);
}

.contact-details a {
  color: var(--color-chocolate);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.contact-details a:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
}

.contact-details .btn {
  text-decoration: none;
  margin-top: var(--space-2);
}

/* === contact.css === */
/* Contact Us — premium layout matching brand mockup */

.contact-page {
  max-width: none;
  width: 100%;
  margin: 0;
}

.contact-hero {
  display: grid;
  gap: var(--space-5);
  align-items: center;
  padding: clamp(1.75rem, 4vw, 3rem);
  margin-bottom: var(--space-6);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(125deg, var(--color-blush) 0%, var(--color-blush-soft) 48%, var(--color-cream) 100%);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.contact-hero__copy {
  min-width: 0;
}

.contact-hero__eyebrow {
  margin: 0 0 var(--space-2);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-chocolate-soft);
}

.contact-hero h1 {
  margin: 0 0 var(--space-3);
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  color: var(--color-chocolate);
  line-height: 1.1;
}

.contact-hero__lead {
  margin: 0 0 var(--space-5);
  max-width: 36rem;
  font-size: var(--font-size-md);
  line-height: 1.65;
  color: var(--color-muted);
}

.contact-hero__perks {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-5);
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-hero__perks li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-chocolate);
}

.contact-hero__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-blush-deep);
  flex-shrink: 0;
}

.contact-hero__icon svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-hero__media {
  margin: 0;
  min-width: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  background: var(--color-cream);
}

.contact-hero__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.contact-split {
  display: grid;
  gap: var(--space-5);
  margin-bottom: var(--space-6);
  align-items: stretch;
}

.contact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: clamp(1.35rem, 3vw, 2rem);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  min-width: 0;
}

.contact-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  color: var(--color-chocolate);
}

.contact-card > p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.6;
}

.contact-card__deco {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 4.5rem;
  height: 4.5rem;
  opacity: 0.18;
  pointer-events: none;
  color: var(--color-blush-deep);
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-4);
}

.contact-list li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: var(--space-3);
  align-items: start;
}

.contact-list__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--color-blush-soft);
  color: var(--color-chocolate);
}

.contact-list__icon svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-list strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: var(--font-size-sm);
  color: var(--color-chocolate);
}

.contact-list a {
  color: var(--color-chocolate);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.contact-list p {
  margin: 0;
  color: var(--color-muted);
  font-size: var(--font-size-sm);
  line-height: 1.5;
}

.contact-form {
  display: grid;
  gap: var(--space-4);
}

.contact-form__row {
  display: grid;
  gap: var(--space-4);
}

.contact-form .btn {
  width: 100%;
}

.contact-form__note {
  margin: 0;
  font-size: var(--font-size-sm);
  color: var(--color-muted);
}

.contact-topics {
  display: grid;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  grid-template-columns: 1fr;
}

.contact-topic {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  background: transparent;
  text-align: left;
}

.contact-topic__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: var(--space-1);
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-chocolate);
}

.contact-topic__icon svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-topic h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--font-size-md);
  color: var(--color-chocolate);
}

.contact-topic p {
  margin: 0;
  font-size: var(--font-size-sm);
  color: var(--color-muted);
  line-height: 1.55;
}

.contact-locale {
  display: grid;
  gap: var(--space-5);
  margin-bottom: var(--space-6);
  align-items: stretch;
}

.contact-map {
  margin-top: var(--space-3);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-cream);
  min-height: 16rem;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 18rem;
  border: 0;
}

.contact-map__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-3);
}

.contact-follow {
  position: relative;
  overflow: hidden;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(255, 248, 244, 0.92) 0%, rgba(247, 214, 216, 0.88) 100%),
    var(--color-blush);
}

.contact-follow__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.contact-follow__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.contact-follow__body {
  position: relative;
  z-index: 1;
}

.contact-social {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  list-style: none;
  margin: var(--space-4) 0 0;
  padding: 0;
}

.contact-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-chocolate);
  box-shadow: var(--shadow-sm);
}

.contact-social a:hover {
  background: var(--color-blush-soft);
}

.contact-social svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: currentColor;
}

.contact-cta {
  display: grid;
  gap: var(--space-4);
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background:
    linear-gradient(120deg, var(--color-blush) 0%, var(--color-blush-soft) 55%, var(--color-cream) 100%);
  margin-bottom: var(--space-2);
}

.contact-cta__eyebrow {
  margin: 0 0 var(--space-2);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-chocolate-soft);
}

.contact-cta h2 {
  margin: 0 0 var(--space-2);
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  color: var(--color-chocolate);
}

.contact-cta p {
  margin: 0;
  max-width: 36rem;
  color: var(--color-muted);
  line-height: 1.6;
}

@media (max-width: 767px) {
  .contact-hero {
    padding: 1.25rem;
  }

  .contact-hero__perks {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }

  .contact-map__actions {
    flex-direction: column;
  }

  .contact-map__actions .btn {
    width: 100%;
  }

  .contact-social {
    justify-content: flex-start;
  }
}

@media (min-width: 768px) {
  .contact-hero {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .contact-split {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .contact-form__row {
    grid-template-columns: 1fr 1fr;
  }

  .contact-topics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-locale {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .contact-cta {
    grid-template-columns: 1fr auto;
  }
}

@media (min-width: 1024px) {
  .contact-topics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* === product.css === */
/* Shop + product detail + quick view */

.product-hero {
  display: grid;
  gap: var(--space-5);
}

.product-gallery {
  min-width: 0;
}

.gallery-main {
  aspect-ratio: 1 / 1;
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs {
  display: flex;
  gap: var(--space-2);
  overflow-x: auto;
  padding-bottom: var(--space-2);
  margin-top: var(--space-3);
  -webkit-overflow-scrolling: touch;
}

.gallery-thumbs button {
  flex: 0 0 4.5rem;
  width: 4.5rem;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--color-cream);
  padding: 0;
}

.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-meta h1 {
  margin: var(--space-3) 0;
}

.product-price {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-chocolate);
  margin-bottom: var(--space-4);
}

.product-price .was {
  font-size: var(--font-size-base);
  color: var(--color-muted);
  text-decoration: line-through;
  font-weight: var(--font-weight-regular);
  margin-left: var(--space-2);
}

.shop-layout {
  display: grid;
  gap: var(--space-5);
}

.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  align-items: center;
  justify-content: space-between;
}

.shop-filters {
  display: none;
  padding: var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  height: fit-content;
}

.shop-filters.is-open {
  display: block !important;
  position: relative;
  z-index: 5;
  margin-bottom: var(--space-4);
}

.shop-filters .stack {
  gap: var(--space-4);
}

.shop-filters h3 {
  font-size: var(--font-size-md);
  margin-bottom: var(--space-2);
}

.quick-view {
  display: grid;
  gap: var(--space-4);
}

.quick-view__media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.breadcrumb span {
  margin-inline: 0.25rem;
}

@media (min-width: 700px) {
  .quick-view {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .product-hero {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
    gap: var(--space-6);
  }

  .shop-layout {
    grid-template-columns: 15.5rem minmax(0, 1fr);
    gap: var(--space-6);
    align-items: start;
  }

  .shop-filters {
    display: block;
  }

  .gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(4.5rem, 1fr));
    overflow: visible;
  }
}

/* === cart.css === */
.cart-layout {
  display: grid;
  gap: var(--space-5);
}

.cart-item {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-border);
}

.cart-item__image {
  width: 5rem;
  height: 5rem;
  border-radius: var(--radius-sm);
  background: var(--color-cream);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.cart-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-summary {
  padding: var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  height: fit-content;
}

.cart-summary__row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.cart-summary__total {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-strong);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-3);
  margin-top: var(--space-3);
}

@media (min-width: 900px) {
  .cart-layout {
    grid-template-columns: 1.4fr 0.75fr;
    gap: var(--space-6);
    align-items: start;
  }
}

/* === checkout.css === */
/* Phase 5 — Checkout */

.checkout-layout {
  display: grid;
  gap: var(--space-5);
}

.checkout-form,
.checkout-summary {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}

.checkout-form h2,
.checkout-summary h2 {
  margin-bottom: var(--space-4);
  font-size: var(--font-size-xl);
}

.checkout-grid-2 {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}

.payment-option {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  padding: var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-3);
  background: var(--color-blush-soft);
}

.payment-option.is-selected {
  border-color: var(--color-chocolate);
}

.payment-option.is-disabled {
  opacity: 0.55;
  background: var(--color-surface);
}

.checkout-line {
  display: grid;
  grid-template-columns: 3.5rem 1fr auto;
  gap: var(--space-3);
  align-items: start;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border);
}

.checkout-line img {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-cream);
}

.checkout-totals .cart-summary__row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-2);
}

.field-error {
  color: var(--color-danger);
  font-size: var(--font-size-sm);
  margin-top: 0.25rem;
}

.input.is-invalid,
.select.is-invalid,
.textarea.is-invalid {
  border-color: var(--color-danger);
}

.checkout-alert {
  margin-bottom: var(--space-4);
}

.btn[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
}

.confirmation-card {
  max-width: 48rem;
  margin-inline: auto;
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.confirmation-card h1 {
  margin-bottom: var(--space-3);
}

@media (min-width: 640px) {
  .checkout-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .checkout-layout {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
    gap: var(--space-6);
  }
}

/* === account.css === */
.account-layout {
  display: grid;
  gap: var(--space-5);
}

.account-nav a {
  display: block;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border);
}

@media (min-width: 768px) {
  .account-layout {
    grid-template-columns: 14rem 1fr;
  }
}

/* === admin.css === */
/* Admin dashboard shell — Phase 0 tokens only */

.admin-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 1fr;
}

.admin-sidebar {
  background: var(--color-chocolate);
  color: var(--color-cream);
  padding: var(--space-5);
}

.admin-sidebar a {
  display: block;
  padding: 0.7rem 0;
  color: var(--color-cream);
}

.admin-sidebar a:hover {
  color: var(--color-blush);
}

.admin-main {
  padding: var(--space-5);
  background: var(--color-cream);
}

.stat-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}

.stat-card__value {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-strong);
}

@media (min-width: 1024px) {
  .admin-shell {
    grid-template-columns: 15rem 1fr;
  }

  .stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* === home.css === */
/* Phase 14 — Premium homepage sections */

/*
  Full-bleed crochet hero from crochet-hero-template.
  Artwork includes headline, Explore CTA, and category icons;
  percentage hotspots map those regions to shop/category routes.
*/
.section--hero {
  padding-block-start: 0;
  padding-block-end: clamp(1rem, 2.5vw, 1.75rem);
  padding-inline: 0;
}

/*
  Brand wordmark + copy — always visible.
  Mobile: stacked above the product crop.
  Desktop: overlays the left cream field of the banner (covers baked headline).
*/
.crochet-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--color-cream);
}

.crochet-hero__intro {
  display: block;
  width: min(100% - (var(--container-padding) * 2), var(--container-max-width));
  margin: 0 auto;
  padding: var(--space-5) 0 var(--space-4);
}

.crochet-hero__actions {
  display: none;
  margin-top: var(--space-4);
  flex-wrap: wrap;
  gap: var(--space-3);
}

.crochet-hero__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15em;
  margin: 0 0 var(--space-3);
  max-width: 16ch;
  color: var(--color-chocolate);
  line-height: 1;
}

.crochet-hero__brand-script {
  font-family: "Great Vibes", cursive;
  font-size: clamp(2.35rem, 9vw, 3.35rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.05;
  color: var(--color-chocolate);
}

.crochet-hero__brand-sub {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(0.78rem, 2.4vw, 0.95rem);
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--color-chocolate);
}

.crochet-hero__brand-sub::before,
.crochet-hero__brand-sub::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  max-width: 2.75rem;
  background: currentColor;
  opacity: 0.55;
}

/* Match desktop banner typography (mobile HTML intro only) */
.crochet-hero__eyebrow {
  margin: 0 0 var(--space-3);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #3a3a3a;
}

.crochet-hero__tagline {
  margin: 0 0 var(--space-3);
  max-width: 12ch;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 9.5vw, 2.85rem);
  font-weight: 600;
  letter-spacing: 0.005em;
  line-height: 1.08;
  color: #2f2f2f;
}

.crochet-hero__line {
  display: block;
}

.crochet-hero__accent {
  font-style: italic;
  font-weight: 600;
  color: #c4785a;
}

.crochet-hero__desc {
  margin: 0;
  max-width: 34rem;
  font-family: var(--font-body);
  font-size: clamp(0.92rem, 3.6vw, 1.02rem);
  font-weight: 400;
  line-height: 1.55;
  color: #5a5a5a;
}

.crochet-hero__cta {
  background: #c4785a;
  color: #fff;
  border-color: #c4785a;
  border-radius: 999px;
  min-height: 2.85rem;
  padding: 0.7rem 1.45rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.crochet-hero__cta:hover {
  background: #b0674b;
  border-color: #b0674b;
  color: #fff;
}

.crochet-hero__frame {
  position: relative;
  width: 100%;
  line-height: 0;
}

.crochet-hero__artwork {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1983 / 793;
  object-fit: contain;
  object-position: center;
  background: var(--color-cream);
}

.crochet-hero__hotspots {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.crochet-hero__hotspot {
  position: absolute;
  display: block;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
}

.crochet-hero__hotspot:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: -4px;
}

/* Measured against source 1983×793 artwork */
.crochet-hero__hotspot--cta {
  left: 7.46%;
  top: 63.56%;
  width: 17.9%;
  height: 6.81%;
  border-radius: var(--radius-pill);
}

.crochet-hero__hotspot--flowers {
  left: 6.05%;
  top: 75.41%;
  width: 6.05%;
  height: 14.63%;
}

.crochet-hero__hotspot--toys {
  left: 12.86%;
  top: 75.41%;
  width: 6.05%;
  height: 14.75%;
}

.crochet-hero__hotspot--bags {
  left: 19.92%;
  top: 75.41%;
  width: 6.05%;
  height: 14.38%;
}

.crochet-hero__hotspot--home {
  left: 26.73%;
  top: 75.41%;
  width: 6.05%;
  height: 14.38%;
}

.crochet-hero__hotspot--gifts {
  left: 33.79%;
  top: 75.54%;
  width: 6.05%;
  height: 14.25%;
}

/* ---- Category cards ---- */
.grid--home-categories {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.category-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
  color: var(--color-text);
}

.category-card:hover {
  box-shadow: var(--shadow-md);
  color: var(--color-text);
  transform: translateY(-2px);
}

.category-card:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}

.category-card__media {
  aspect-ratio: 5 / 4;
  background:
    linear-gradient(145deg, var(--color-blush) 0%, var(--color-surface-wood) 100%);
  overflow: hidden;
}

.category-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.category-card:hover .category-card__media img {
  transform: scale(1.03);
}

.category-card__body {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}

.category-card__body h3 {
  font-size: var(--font-size-md);
  margin: 0;
  font-family: var(--font-display);
}

.category-card__label {
  font-size: var(--font-size-sm);
  color: var(--color-muted);
  margin: 0;
}

.category-card__cta {
  margin-top: auto;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-chocolate);
}

/* ---- Premium discovery panels (empty product states) ---- */
.discovery-panel {
  display: grid;
  gap: var(--space-5);
  align-items: center;
  padding: var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(120deg, rgba(252, 233, 235, 0.65) 0%, var(--color-surface) 55%);
  box-shadow: var(--shadow-sm);
}

/* Ensure [hidden] wins over display:grid (UA hidden is otherwise overridden). */
.discovery-panel[hidden] {
  display: none !important;
}

.discovery-panel--alt {
  background:
    linear-gradient(120deg, rgba(243, 230, 214, 0.55) 0%, var(--color-surface) 55%);
}

.discovery-panel__media {
  min-width: 0;
}

.discovery-panel__media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  max-height: 14rem;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  display: block;
  background: var(--color-cream);
}

.discovery-panel__body h3 {
  margin: 0 0 var(--space-2);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  color: var(--color-chocolate);
}

.discovery-panel__body p {
  margin: 0 0 var(--space-4);
  max-width: 36rem;
}

.discovery-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

/* Legacy empty-state retained for shop pages / JS helpers */
.empty-state {
  padding: var(--space-6);
  text-align: center;
  border: 1px dashed var(--color-border-strong);
  border-radius: var(--radius-lg);
  background: rgba(255, 248, 244, 0.7);
}

.empty-state h3 {
  margin-bottom: var(--space-2);
}

.empty-state p {
  max-width: 34rem;
  margin: 0 auto var(--space-4);
}

/* Sticky header clearance for in-page anchors (#categories, etc.) */
#categories,
#featured,
#bestsellers,
#story,
#trust,
#custom-orders {
  scroll-margin-top: calc(var(--header-height, 4.5rem) + 2.75rem);
}

/* ---- Homepage product card polish ---- */
/* Balanced 4-up: 2×2 from tablet up; one row of 4 on desktop */
#featured .grid--products,
#bestsellers .grid--products {
  align-items: stretch;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 1024px) {
  #featured .grid--products,
  #bestsellers .grid--products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

#featured .product-card,
#bestsellers .product-card {
  height: 100%;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

#featured .product-card:hover,
#bestsellers .product-card:hover {
  transform: translateY(-2px);
}

#featured .product-card__title,
#bestsellers .product-card__title {
  font-size: 1.05rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: calc(1.35em * 2);
}

#featured .product-card__body,
#bestsellers .product-card__body {
  gap: var(--space-3);
  padding: var(--space-4) var(--space-4) var(--space-5);
}

#featured .product-card__body > .btn,
#bestsellers .product-card__body > .btn {
  margin-top: auto;
}

#featured .product-card__actions .btn,
#bestsellers .product-card__actions .btn {
  min-height: 2.5rem;
  padding-block: 0.45rem;
  font-size: 0.85rem;
}

#featured .product-card__body > .btn,
#bestsellers .product-card__body > .btn {
  min-height: var(--touch-min);
}

.product-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
}

.product-card__availability {
  font-size: var(--font-size-xs);
  color: var(--color-muted);
}

.product-card__availability.is-in-stock {
  color: #4a6846;
}

.product-card__availability.is-out {
  color: var(--color-danger);
}

.badge--bestseller {
  background: var(--color-surface-wood);
  color: var(--color-chocolate);
  border: 1px solid var(--color-border-strong);
}

.badge--featured {
  background: var(--color-blush);
  color: var(--color-chocolate);
  border: 1px solid var(--color-blush-deep);
}

/* ---- Brand story ---- */
.brand-story {
  display: grid;
  gap: var(--space-6);
  align-items: center;
}

.brand-story__media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 28rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  object-fit: cover;
  display: block;
  background: var(--color-cream);
}

.brand-story__eyebrow {
  margin: 0 0 var(--space-2);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-chocolate-soft);
}

.brand-story__content h2 {
  margin: 0 0 var(--space-4);
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  line-height: 1.25;
}

.brand-story__content p {
  margin: 0 0 var(--space-3);
  color: var(--color-muted);
  max-width: 34rem;
}

.brand-story__content .btn {
  margin-top: var(--space-3);
}

/* ---- Trust / value indicators ---- */
.section--trust {
  position: relative;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(247, 214, 216, 0.55) 0%, transparent 70%),
    linear-gradient(180deg, var(--color-blush-soft) 0%, var(--color-cream) 100%);
}

.section__header--center {
  justify-content: center;
  text-align: center;
}

.section__header--center > div {
  max-width: 36rem;
}

.trust-header {
  margin-bottom: var(--space-2);
}

.trust-header__eyebrow {
  margin: 0 0 var(--space-2);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-chocolate-soft);
}

.trust-header h2 {
  margin-bottom: var(--space-2);
  font-size: clamp(1.85rem, 3.2vw, 2.45rem);
  letter-spacing: 0.01em;
}

.trust-values {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.trust-value {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  height: 100%;
  min-height: 100%;
  box-sizing: border-box;
  padding: clamp(1.35rem, 2.5vw, 1.85rem);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, var(--color-surface) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.trust-value:hover {
  transform: translateY(-3px);
  border-color: var(--color-border-strong, var(--color-border));
  box-shadow: var(--shadow-md);
}

.trust-value__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  height: 2.85rem;
  margin-bottom: var(--space-4);
  border-radius: 50%;
  background: var(--color-blush-soft);
  border: 1px solid var(--color-blush-deep);
  color: var(--color-chocolate);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.55);
}

.trust-value__icon svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-value h3 {
  margin: 0 0 var(--space-2);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.5vw, 1.3rem);
  color: var(--color-chocolate);
  letter-spacing: 0.01em;
}

.trust-value p {
  margin: 0;
  flex: 1 1 auto;
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.65;
}

.ordering-notes {
  display: grid;
  gap: var(--space-3);
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  padding: clamp(1.25rem, 2.4vw, 1.75rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background:
    linear-gradient(135deg, var(--color-surface) 0%, var(--color-cream) 55%, var(--color-blush-soft) 100%);
  box-shadow: var(--shadow-sm);
}

.ordering-notes__item {
  display: grid;
  grid-template-columns: 2.35rem 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 0.35rem 0.15rem;
}

.ordering-notes__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-chocolate);
}

.ordering-notes__icon svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ordering-notes p {
  margin: 0;
  font-size: var(--font-size-sm);
  color: var(--color-muted);
  line-height: 1.55;
}

.ordering-notes strong {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.92rem;
  color: var(--color-chocolate);
}

.ordering-notes a {
  color: var(--color-chocolate);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

@media (prefers-reduced-motion: reduce) {
  .trust-value,
  .trust-value:hover {
    transition: none;
    transform: none;
  }
}

/* ---- Custom order band ---- */
.cta-band {
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background:
    linear-gradient(125deg, var(--color-blush) 0%, var(--color-blush-soft) 42%, var(--color-cream) 100%);
  text-align: center;
}

.cta-band__eyebrow {
  margin: 0 0 var(--space-2);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-chocolate-soft);
}

.cta-band h2 {
  margin: 0 0 var(--space-3);
  max-width: 22ch;
  margin-inline: auto;
  line-height: 1.2;
}

.cta-band > p {
  max-width: 36rem;
  margin: 0 auto var(--space-5);
  line-height: 1.65;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: var(--space-3);
}

.cta-band__actions .btn {
  min-width: 12.5rem;
}

/* ---- Final CTA ---- */
.final-cta {
  text-align: center;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: var(--radius-lg);
  background: var(--color-chocolate);
  color: var(--color-cream);
}

.final-cta h2 {
  color: #fff;
  margin: 0 0 var(--space-3);
}

.final-cta__copy {
  margin: 0 auto var(--space-5);
  max-width: 28rem;
  color: rgba(255, 248, 244, 0.82);
  font-size: var(--font-size-sm);
}

.final-cta__actions,
.final-cta .cluster {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-3);
}

.final-cta .btn--secondary {
  background: transparent;
  border-color: rgba(255, 248, 244, 0.45);
  color: var(--color-cream);
}

.final-cta .btn--secondary:hover {
  background: rgba(255, 248, 244, 0.1);
  color: #fff;
}

.final-cta .btn--accent {
  background: var(--color-blush);
  border-color: transparent;
  color: var(--color-chocolate);
}

/* ---- Responsive ---- */
@media (min-width: 768px) {
  .grid--home-categories {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .discovery-panel {
    grid-template-columns: 0.85fr 1.15fr;
    padding: var(--space-5);
  }

  .discovery-panel__media img {
    max-height: 12rem;
    aspect-ratio: 4 / 3;
  }

  .brand-story {
    grid-template-columns: 0.9fr 1.1fr;
    gap: var(--space-7);
  }

  .trust-values {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ordering-notes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-4);
  }
}

@media (min-width: 1024px) {
  .grid--home-categories {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/*
  Desktop / tablet landscape: artwork already has the headline + CTA.
  Hide the HTML intro (incl. site name) so it does not cover the banner.
  Mobile keeps brand name + copy above the product crop.
*/
@media (min-width: 768px) {
  .crochet-hero__intro {
    display: none !important;
  }
}

@media (max-width: 767px) {
  /* Readable mobile CTA — tiny image hotspots are hard to tap */
  .crochet-hero__actions {
    display: flex;
  }

  .crochet-hero__hotspots {
    display: none;
  }

  /*
    Desktop banner text is unreadable when scaled — crop to the product
    collage and keep the HTML intro + Explore CTA for clear messaging.
  */
  .crochet-hero__artwork {
    aspect-ratio: 5 / 4;
    object-fit: cover;
    object-position: 82% center;
  }

  .crochet-hero__frame {
    border-radius: var(--radius-lg);
    margin-inline: var(--container-padding);
    width: calc(100% - (var(--container-padding) * 2));
    overflow: hidden;
    border: 1px solid var(--color-border);
  }

  /* Keep grids clear of fixed WhatsApp / theme controls */
  #featured .grid--products,
  #bestsellers .grid--products,
  .grid--home-categories {
    padding-bottom: 1rem;
  }

  .category-card__body {
    gap: var(--space-2);
    padding: var(--space-3);
  }

  .category-card__body h3 {
    font-size: 1.05rem;
  }

  .section__header {
    align-items: flex-start;
  }

  .trust-value:hover {
    transform: none;
  }

  .ordering-notes {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 479px) {
  .discovery-panel__actions .btn,
  .cta-band__actions .btn,
  .final-cta .btn,
  .crochet-hero__actions .btn {
    width: 100%;
  }

  .trust-values {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .category-card,
  .category-card__media img,
  #featured .product-card,
  #bestsellers .product-card {
    transition: none;
  }

  .category-card:hover,
  #featured .product-card:hover,
  #bestsellers .product-card:hover {
    transform: none;
  }

  .category-card:hover .category-card__media img {
    transform: none;
  }
}

/* === responsive.css === */
/* Cross-cutting responsive adjustments
   Container width lives ONLY in layout.css / variables.css */

@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;
  }
}

html,
body {
  overflow-x: clip;
}

.site-wrapper {
  overflow-x: clip;
  max-width: 100%;
}

@media (max-width: 767px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.7rem; }

  .section {
    padding-block: var(--space-6);
  }

  /*
    Phase 14.3 — home.css sets .section--hero flush under the sticky header, but this
    file loads after home.css and was re-applying section padding on small screens,
    leaving a cream gap above the banner (looked like a clipped/duplicate logo).
  */
  .section.section--hero {
    padding-block-start: 0;
    padding-block-end: var(--space-6);
  }

  .section--tight {
    padding-block: var(--space-4);
  }

  .btn {
    min-height: 3rem;
  }

  /* Clear fixed WhatsApp + theme controls so content is not covered */
  .site-main {
    padding-bottom: calc(6.5rem + env(safe-area-inset-bottom, 0px));
  }

  .site-footer {
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  }

  img,
  svg,
  video,
  iframe {
    max-width: 100%;
    height: auto;
  }

  .contact-map iframe {
    height: auto;
    min-height: 14rem;
  }

  /* Shop / category: stack toolbar + keep filters usable */
  .shop-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3);
  }

  .shop-toolbar .cluster {
    width: 100%;
    justify-content: space-between;
  }

  .shop-layout {
    grid-template-columns: 1fr;
  }

  .grid--products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3);
  }

  .product-card__title {
    font-size: 0.95rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .nav-dropdown {
    max-width: min(18rem, calc(100vw - 2rem));
  }
}

@media (max-width: 479px) {
  .section__header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
  }

  .grid--products {
    grid-template-columns: 1fr;
  }

  .grid--home-categories {
    grid-template-columns: 1fr;
  }

  .shop-toolbar h1 {
    font-size: 1.75rem;
  }

  .cluster > .input,
  .cluster > .select,
  .cluster > .btn {
    width: 100%;
  }
}
