/* =========================================================================
   THREE KIDS AND A CUP — theme.css
   All Customizer colors are emitted as CSS variables in :root via
   wp_add_inline_style() (see inc/customizer.php — Section 6 / 22.9).
   The hex fallbacks below match the converted source HSL tokens exactly
   (Section 6.1) and are only used before the inline block loads.
   ========================================================================= */

:root {
  --color-background: #faf8f4;
  --color-foreground: #192643;
  --color-primary: #dd3c8a;
  --color-secondary: #f7e8ee;
  --color-muted: #f0ece6;
  --color-border: #e5ded7;
  --color-input: var(--color-border);
  --color-noir: #16213b;
  --color-noir-soft: #32405d;
  --color-cream: #faf8f4;
  --color-bone: #f5eee6;
  --color-emerald: #d9267d;
  --color-brass: #cf307d;
  --color-brass-light: #f8aad0;

  /* Derived / non-editable tokens (Section 6 — computed, not exposed) */
  --color-primary-foreground: #ffffff;
  --color-secondary-foreground: #1c2a4a;
  --color-muted-foreground: #5c657a;
  --color-destructive: #c32222;
  --color-destructive-foreground: #ffffff;
  --color-card: #ffffff;
  --color-button-text: #ffffff;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Manrope', ui-sans-serif, system-ui, sans-serif;

  --logo-height: 44px;
  --header-height: 80px;
  --container-max: 1440px;
  --checkout-max-width: 1280px;
  --checkout-gap: 2rem;
  --checkout-padding-x: 1.25rem;
  --checkout-control-height: 3.75rem;
  --checkout-field-gap: 0.75rem;

  --radius: 0.5rem;
  --card-radius: 0.5rem;

  --btn-radius: 0.5rem;
  --btn-height: 3.5rem;
  --btn-padding: 0 2.25rem;
  --btn-font-size: 0.75rem;
  --btn-font-weight: 500;
  --btn-letter-spacing: 0.02em;
  --btn-text-transform: none;
  --btn-icon-padding: 0.5rem;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.25, 0.4, 0.25, 1);
}

/* =========================================================================
   RESET / BASE
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background-color: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: inherit;
  font-size: inherit;
  margin: 0;
}
.font-display, .theme-display { font-family: var(--font-display); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
a[href],
button:not(:disabled),
[role="button"],
.theme-contact-row,
.theme-card-link,
.theme-card-title-link,
.theme-product-card__view,
.theme-footer-nav-list a,
.theme-footer-contact-list a,
.theme-footer-brand-link,
.theme-footer-social,
.mobile-nav a {
  cursor: pointer;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; }

img:not(.cover-img):not(.hero-bg-img):not(.product-card-img):not(.theme-gallery-img):not(.theme-product-main-img) {
  max-width: 100%;
  height: auto;
}
.cover-img, .hero-bg-img, .product-card-img, .theme-gallery-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

::selection { background: color-mix(in srgb, var(--color-emerald) 25%, transparent); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--color-background); }
::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--color-noir) 35%, transparent);
  border: 3px solid var(--color-background);
}
::-webkit-scrollbar-thumb:hover { background: var(--color-emerald); }

/* =========================================================================
   LAYOUT UTILITIES
   ========================================================================= */
.container-wide {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
@media (min-width: 768px) { .container-wide { padding-left: 2rem; padding-right: 2rem; } }
@media (min-width: 1024px) { .container-wide { padding-left: 3rem; padding-right: 3rem; } }

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  display: block;
}
.surface-noir { background-color: var(--color-noir); color: var(--color-cream); }
.brass-rule { display: block; height: 1px; width: 4rem; background: color-mix(in srgb, var(--color-noir) 42%, var(--color-primary) 58%); }

.link-underline { position: relative; }
.link-underline::after {
  content: ""; position: absolute; bottom: -3px; left: 0; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
}
.link-underline:hover::after { transform: scaleX(1); transform-origin: left; }

.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-primary { color: var(--color-primary); }
.text-brass-light { color: var(--color-brass-light); }
em.italic { font-style: italic; }

/* =========================================================================
   SCROLL REVEAL (Section 2.1 — per-element inventory, mirrors source .reveal)
   ========================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal-fade { opacity: 0; transition: opacity 0.9s var(--ease-out-expo); }
.reveal-fade.is-visible { opacity: 1; }

.reveal-scale { opacity: 0; transform: scale(0.94); transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo); }
.reveal-scale.is-visible { opacity: 1; transform: scale(1); }

.reveal-left { opacity: 0; transform: translateX(-48px); filter: blur(6px); transition: opacity 1.1s var(--ease-out-expo), transform 1.1s var(--ease-out-expo), filter 1.1s var(--ease-out-expo); }
.reveal-left.is-visible { opacity: 1; transform: translateX(0); filter: blur(0); }

.reveal-right { opacity: 0; transform: translateX(48px); filter: blur(6px); transition: opacity 1.1s var(--ease-out-expo), transform 1.1s var(--ease-out-expo), filter 1.1s var(--ease-out-expo); }
.reveal-right.is-visible { opacity: 1; transform: translateX(0); filter: blur(0); }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.4s; }

/* Customizer-preview fallback — reveal content must never be invisible in the editor */
body.is-customizer .reveal,
body.is-customizer .reveal-fade,
body.is-customizer .reveal-scale,
body.is-customizer .reveal-left,
body.is-customizer .reveal-right,
body.is-customizer .reveal-stagger > * {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-fade, .reveal-scale, .reveal-left, .reveal-right, .reveal-stagger > * {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* =========================================================================
   BUTTONS (matches src/components/ui/button.tsx)
   ========================================================================= */
.theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  transition: all 0.3s var(--ease-smooth);
  transform: translateZ(0);
  height: 3.5rem;
  padding: 0 2.25rem;
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
  box-shadow: 0 2px 0 0 color-mix(in srgb, var(--color-primary) 35%, transparent);
}
.theme-btn:hover {
  background-color: color-mix(in srgb, var(--color-primary) 90%, black 0%);
  opacity: 0.92;
  box-shadow: 0 10px 28px -10px color-mix(in srgb, var(--color-primary) 70%, transparent);
  transform: translateY(-2px);
}
.theme-btn:active { transform: scale(0.98); }
.theme-btn:disabled { pointer-events: none; opacity: 0.5; cursor: not-allowed; }
.theme-btn svg { width: 1rem; height: 1rem; flex-shrink: 0; transition: transform 0.3s var(--ease-smooth); }
.theme-btn:hover svg { transform: scale(1.1); }

.theme-btn-outline {
  background-color: transparent;
  color: var(--color-foreground);
  border: 1px solid var(--color-border);
  box-shadow: none;
}
.theme-btn-outline:hover {
  background-color: color-mix(in srgb, var(--color-foreground) 6%, transparent);
  border-color: color-mix(in srgb, var(--color-foreground) 40%, transparent);
  box-shadow: 0 8px 22px -12px color-mix(in srgb, var(--color-foreground) 35%, transparent);
  transform: translateY(-2px);
}
.theme-btn-outline-dark {
  background-color: transparent;
  color: var(--color-noir);
  border: 1px solid color-mix(in srgb, var(--color-noir) 40%, transparent);
  box-shadow: none;
}
.theme-btn-outline-dark:hover {
  background-color: color-mix(in srgb, var(--color-noir) 10%, transparent);
  border-color: color-mix(in srgb, var(--color-noir) 70%, transparent);
}
.theme-btn-outline-cream {
  background-color: transparent;
  color: var(--color-cream);
  border: 1px solid color-mix(in srgb, var(--color-cream) 40%, transparent);
  box-shadow: none;
}
.theme-btn-outline-cream:hover {
  background-color: color-mix(in srgb, var(--color-cream) 10%, transparent);
  border-color: color-mix(in srgb, var(--color-cream) 70%, transparent);
  color: var(--color-cream);
}
.theme-btn-block-noir {
  border-radius: 0;
  border: 1px solid var(--color-noir);
  background: transparent;
  color: var(--color-noir);
  height: 3.5rem;
  padding: 0 2.25rem;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  box-shadow: none;
}
.theme-btn-block-noir:hover { background: var(--color-noir); color: var(--color-cream); transform: none; }
.theme-btn-sm { height: 2.5rem; padding: 0 1rem; font-size: 0.8rem; }

/* =========================================================================
   HEADER
   ========================================================================= */
body.admin-bar .site-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background-color: color-mix(in srgb, var(--color-background) 95%, transparent);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow 0.3s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 36px -20px color-mix(in srgb, var(--color-noir) 40%, transparent); }

.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
@media (min-width: 1024px) { .site-header__inner { height: 5rem; } }

.site-branding { display: flex; align-items: center; min-width: 0; flex-shrink: 0; gap: 0.75rem; background: none; border: none; cursor: pointer; padding: 0; color: inherit; text-decoration: none; }
.site-logo-img { height: var(--logo-height) !important; width: auto !important; display: block; max-width: 220px; object-fit: contain; }
.site-logo-text { line-height: var(--logo-height); font-family: var(--font-display); font-size: 1.35rem; color: var(--color-foreground); display: block; }

.theme-nav-list, .theme-footer-nav-list { display: none; list-style: none; margin: 0; padding: 0; }
@media (min-width: 1024px) {
  .theme-nav-list { display: flex; align-items: center; gap: 1.5rem; margin-left: auto; margin-right: 1.5rem; }
}
.theme-nav-list a {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-family: var(--font-body);
  cursor: pointer; transition: color 0.3s ease; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); white-space: nowrap;
}
.theme-nav-list a:hover { color: var(--color-primary); }

.site-header__actions { display: flex; align-items: center; gap: 0.25rem; }
.theme-cart-toggle { position: relative; padding: 0.5rem; color: var(--color-foreground); background: none; border: none; cursor: pointer; transition: color 0.3s ease; display: inline-flex; }
.theme-cart-toggle:hover { color: var(--color-primary); }
.theme-cart-toggle svg { width: 1.25rem; height: 1.25rem; transition: transform 0.3s ease; }
.theme-cart-toggle:hover svg { transform: scale(1.1) rotate(-6deg); }
.theme-cart-count-inline { display: none; }
.theme-cart-count,
.theme-cart-count-badge {
  position: absolute; top: -2px; right: -2px; width: 1.25rem; height: 1.25rem;
  display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 500;
  background: var(--color-primary); color: var(--color-primary-foreground); border-radius: 50%;
}
.theme-cart-count:empty,
.theme-cart-count-badge:empty { display: none; }

.mobile-menu-toggle { display: inline-flex; padding: 0.5rem; color: var(--color-foreground); background: none; border: none; cursor: pointer; }
@media (min-width: 1024px) { .mobile-menu-toggle { display: none; } }
.mobile-menu-toggle svg { width: 1.25rem; height: 1.25rem; }

.mobile-nav { display: none; border-top: 1px solid var(--color-border); padding: 1rem 0; }
.mobile-nav.is-open { display: block; }
@media (min-width: 1024px) { .mobile-nav { display: none !important; } }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-nav a {
  display: block; width: 100%; text-align: left; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 0.75rem 0; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); font-family: var(--font-body);
}
.mobile-nav a:hover { color: var(--color-primary); }

/* =========================================================================
   HERO
   ========================================================================= */
.theme-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: calc(100svh - 4rem);
  background: var(--color-background);
}
@media (min-width: 1024px) { .theme-hero { min-height: calc(100svh - 5rem); } }
body.theme-no-hero .theme-hero { display: none; }

.theme-hero__media { position: absolute; inset: 0; will-change: transform; transform: scale(1); transition: transform 6s linear; }
.theme-hero.is-scrolled-media .theme-hero__media { transform: scale(1.08); }
.theme-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-hero__scrim-1 { position: absolute; inset: 0; background: linear-gradient(to top, var(--color-background) 0%, color-mix(in srgb, var(--color-background) 55%, transparent) 55%, color-mix(in srgb, var(--color-background) 20%, transparent) 100%); }
.theme-hero__scrim-2 { position: absolute; inset: 0; background: linear-gradient(to right, color-mix(in srgb, var(--color-background) 75%, transparent) 0%, color-mix(in srgb, var(--color-background) 20%, transparent) 55%, transparent 100%); }

.theme-hero__content { position: absolute; left: 0; right: 0; bottom: 0; z-index: 10; padding-bottom: 3.5rem; }
@media (min-width: 768px) { .theme-hero__content { padding-bottom: 5rem; } }
@media (min-width: 1024px) { .theme-hero__content { padding-bottom: 6rem; } }
.theme-hero__inner { max-width: 48rem; }

.theme-hero__eyebrow { color: var(--color-primary); margin-bottom: 1.25rem; }
.theme-hero__title {
  font-family: var(--font-display); color: var(--color-foreground);
  font-size: 3rem; line-height: 1.12; letter-spacing: -0.015em;
}
@media (min-width: 640px) { .theme-hero__title { font-size: 4rem; } }
@media (min-width: 768px) { .theme-hero__title { font-size: 5.5rem; } }
@media (min-width: 1024px) { .theme-hero__title { font-size: 6rem; line-height: 1.1; } }
.theme-hero__title em { color: var(--color-primary); font-style: italic; display: block; }
@media (min-width: 768px) { .theme-hero__title em { display: inline; margin-left: 0.75rem; } }

.theme-hero__paragraph { margin-top: 1.5rem; max-width: 36rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); font-weight: 300; font-size: 1rem; line-height: 1.7; }
@media (min-width: 768px) { .theme-hero__paragraph { font-size: 1.125rem; } }

.theme-hero__ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 2rem; }
@media (min-width: 1024px) { .theme-hero__ctas { display: flex; flex-wrap: wrap; } }
.theme-hero__ctas .theme-btn { width: 100%; }
@media (min-width: 1024px) { .theme-hero__ctas .theme-btn { width: auto; } }

/* =========================================================================
   PILLARS SECTION
   ========================================================================= */
.theme-pillars { }
.theme-pillars-head { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: end; margin-bottom: 3.5rem; }
@media (min-width: 768px) { .theme-pillars-head { grid-template-columns: repeat(12, 1fr); gap: 4rem; margin-bottom: 5rem; } }
.theme-pillars-head__heading { grid-column: 1 / -1; }
@media (min-width: 768px) { .theme-pillars-head__heading { grid-column: span 7; } }
.theme-pillars-head__copy { grid-column: 1 / -1; color: color-mix(in srgb, var(--color-cream) 65%, transparent); font-weight: 300; line-height: 1.7; font-size: 1rem; }
@media (min-width: 768px) { .theme-pillars-head__copy { grid-column: span 5; font-size: 1.125rem; } }

.theme-pillars-heading { font-family: var(--font-display); font-size: 2.25rem; line-height: 1.05; color: var(--color-cream); }
@media (min-width: 768px) { .theme-pillars-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-pillars-heading { font-size: 3.75rem; } }
.theme-pillars-heading em { color: var(--color-brass-light); font-style: italic; }

.theme-pillars-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--color-noir-soft); border: 1px solid var(--color-noir-soft); }
@media (min-width: 640px) { .theme-pillars-grid { grid-template-columns: repeat(3, 1fr); } }

.theme-pillar-card {
  position: relative; background: var(--color-noir); padding: 1.75rem; display: flex; flex-direction: column;
  transition: all 0.5s ease;
}
@media (min-width: 768px) { .theme-pillar-card { padding: 2.5rem; } }
.theme-pillar-card:hover { background: var(--color-noir-soft); transform: translateY(-4px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-brass) 40%, transparent); }
.theme-pillar-card__bar { position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: linear-gradient(to right, transparent, color-mix(in srgb, var(--color-brass) 60%, transparent), transparent); transform: scaleX(0); transition: transform 0.7s ease; }
.theme-pillar-card:hover .theme-pillar-card__bar { transform: scaleX(1); }
.theme-pillar-card__icon { width: 1.75rem; height: 1.75rem; color: var(--color-brass-light); margin-bottom: 2rem; transition: all 0.5s ease; }
.theme-pillar-card:hover .theme-pillar-card__icon { transform: translateY(-4px) scale(1.1) rotate(6deg); }
.theme-pillar-card__title { font-family: var(--font-display); font-size: 1.25rem; color: var(--color-cream); margin-bottom: 0.75rem; line-height: 1.35; transition: color 0.3s ease; }
@media (min-width: 768px) { .theme-pillar-card__title { font-size: 1.5rem; } }
.theme-pillar-card:hover .theme-pillar-card__title { color: var(--color-brass-light); }
.theme-pillar-card__desc { font-size: 0.875rem; color: color-mix(in srgb, var(--color-cream) 60%, transparent); font-weight: 300; line-height: 1.7; transition: color 0.3s ease; }
.theme-pillar-card:hover .theme-pillar-card__desc { color: color-mix(in srgb, var(--color-cream) 80%, transparent); }

/* =========================================================================
   GENERIC SECTION HEADER (College Prep / Shop / Contact share this shape)
   ========================================================================= */
.theme-section-head { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: end; margin-bottom: 3.5rem; }
@media (min-width: 768px) { .theme-section-head { grid-template-columns: repeat(12, 1fr); gap: 3rem; margin-bottom: 4rem; } }
.theme-section-head__heading { grid-column: 1 / -1; }
@media (min-width: 768px) { .theme-section-head__heading { grid-column: span 7; } }
.theme-section-head__copy { grid-column: 1 / -1; color: var(--color-muted-foreground); font-weight: 300; line-height: 1.7; }
@media (min-width: 768px) { .theme-section-head__copy { grid-column: span 5; } }

.theme-section-heading { font-family: var(--font-display); line-height: 1.05; }
.college-prep-section .theme-section-heading,
.shop-section .theme-section-heading { font-size: 2.25rem; }
@media (min-width: 768px) { .college-prep-section .theme-section-heading, .shop-section .theme-section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .college-prep-section .theme-section-heading, .shop-section .theme-section-heading { font-size: 3.75rem; } }
.theme-section-heading em { color: var(--color-primary); font-style: italic; font-family: var(--font-display); }

/* =========================================================================
   COLLEGE PREP SECTION
   ========================================================================= */
.college-prep-section { background: var(--color-background); scroll-margin-top: 6rem; }
.theme-cp-card {
  display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center;
  background: var(--color-noir); color: var(--color-cream); padding: 2rem;
}
@media (min-width: 768px) { .theme-cp-card { grid-template-columns: repeat(12, 1fr); gap: 3rem; padding: 3rem; } }
.theme-cp-card__image { grid-column: 1 / -1; aspect-ratio: 4 / 5; overflow: hidden; position: relative; }
@media (min-width: 768px) { .theme-cp-card__image { grid-column: span 5; } }
.theme-cp-card__image img { transition: transform 0.7s var(--ease-smooth); }
.theme-cp-card__image:hover img { transform: scale(1.05); }
.theme-cp-card__body { grid-column: 1 / -1; }
@media (min-width: 768px) { .theme-cp-card__body { grid-column: span 7; } }
.theme-cp-card__eyebrow { color: var(--color-brass-light); margin-bottom: 1rem; }
.theme-cp-card__title { font-family: var(--font-display); font-size: 1.875rem; color: var(--color-cream); line-height: 1.1; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .theme-cp-card__title { font-size: 2.25rem; } }
.theme-cp-card__title em { color: var(--color-brass-light); font-style: italic; }
.theme-cp-card__text1 { color: color-mix(in srgb, var(--color-cream) 70%, transparent); font-weight: 300; line-height: 1.7; margin-bottom: 1rem; }
.theme-cp-card__text2 { color: color-mix(in srgb, var(--color-cream) 55%, transparent); font-weight: 300; font-size: 0.875rem; line-height: 1.7; margin-bottom: 1.5rem; }

/* =========================================================================
   SHOP SECTION
   ========================================================================= */
.shop-section { background: var(--color-bone); scroll-margin-top: 6rem; }

.theme-shop-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.theme-cat-filter, .theme-price-toggle {
  flex-shrink: 0; padding: 0.75rem 1.25rem; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 500; font-family: var(--font-body); border: 1px solid var(--color-border); background: transparent;
  color: color-mix(in srgb, var(--color-foreground) 70%, transparent); cursor: pointer; transition: all 0.3s var(--ease-smooth);
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.theme-cat-filter:hover, .theme-price-toggle:hover {
  border-color: var(--color-brass); color: var(--color-brass); background: color-mix(in srgb, var(--color-brass) 5%, transparent); transform: translateY(-2px);
}
.theme-cat-filter.is-active, .theme-price-toggle.is-active {
  background: var(--color-emerald); color: var(--color-cream); border-color: var(--color-emerald);
  box-shadow: 0 2px 18px -6px color-mix(in srgb, var(--color-emerald) 55%, transparent);
}
.theme-price-toggle__chevron { width: 0.875rem; height: 0.875rem; transition: transform 0.3s ease; }
.theme-price-toggle.is-active .theme-price-toggle__chevron,
.theme-price-toggle[aria-expanded="true"] .theme-price-toggle__chevron { transform: rotate(180deg); }
.theme-price-toggle__hint { font-size: 10px; opacity: 0.9; text-transform: none; letter-spacing: normal; }

.theme-price-panel { overflow: hidden; max-height: 0; opacity: 0; transition: max-height 0.35s var(--ease-smooth), opacity 0.35s var(--ease-smooth); margin-bottom: 1rem; }
.theme-price-panel.is-open { max-height: 140px; opacity: 1; }
.theme-price-panel__inner { padding: 0.75rem 0; max-width: 28rem; }
.theme-price-panel__labels { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.75rem; }

.theme-product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
  align-items: stretch;
}
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }

.theme-shop-showall { text-align: center; margin-top: 3rem; }
.theme-shop-empty { text-align: center; padding: 5rem 0; }
.theme-shop-empty p { color: var(--color-muted-foreground); font-weight: 300; }
.theme-shop-empty, .theme-shop-showall { display: none; }
.theme-shop-empty.is-visible { display: block; }
.theme-shop-showall.is-visible { display: block; }

/* =========================================================================
   PRODUCT CARD (Pattern A hit-area overlay — Section 31.3)
   ========================================================================= */
.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }
.theme-product-card {
  position: relative;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.5s ease;
}
.theme-product-card:hover {
  border-color: color-mix(in srgb, var(--color-brass) 60%, transparent);
  box-shadow: 0 24px 60px -24px color-mix(in srgb, var(--color-noir) 55%, transparent), 0 0 0 1px color-mix(in srgb, var(--color-brass) 15%, transparent);
  transform: translateY(-8px);
}
.theme-product-card > .theme-card-link { position: absolute; inset: 0; z-index: 2; pointer-events: auto; }
.theme-product-card *:not(.theme-card-link) { pointer-events: none; }
.theme-product-card .add_to_cart_button,
.theme-product-card .theme-card-title-link { position: relative; z-index: 3; pointer-events: auto; }

.theme-product-card__image-wrapper { position: relative; aspect-ratio: 4 / 5; background: var(--color-noir); overflow: hidden; }
.theme-product-card__tag {
  position: absolute; top: 1rem; left: 1rem; z-index: 4; padding: 0.3rem 0.6rem; font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase; background: color-mix(in srgb, var(--color-cream) 95%, transparent);
  color: var(--color-noir); font-weight: 500;
}
.theme-product-card__image-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-smooth); display: block; }
.theme-product-card:hover .theme-product-card__image-wrapper img { transform: scale(1.06); }
.theme-product-card__image-wrapper img.is-dimmed { opacity: 0.6; }
.theme-product-card__scrim { position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--color-noir) 40%, transparent), transparent); opacity: 0; transition: opacity 0.5s ease; }
.theme-product-card:hover .theme-product-card__scrim { opacity: 1; }
.theme-product-card__placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.theme-product-card__placeholder span { color: color-mix(in srgb, var(--color-cream) 40%, transparent); font-family: var(--font-display); font-size: 1.25rem; letter-spacing: 0.15em; text-transform: uppercase; }

.theme-product-card__body { flex: 1; display: flex; flex-direction: column; padding: 1.25rem; min-width: 0; }
@media (min-width: 768px) { .theme-product-card__body { padding: 1.5rem; } }
.theme-product-card__title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 0.75rem; min-width: 0; }
.theme-product-card__title { font-family: var(--font-display); font-size: 1.125rem; color: var(--color-foreground); line-height: 1.35; transition: color 0.3s ease; min-width: 0; overflow: hidden; }
@media (min-width: 768px) { .theme-product-card__title { font-size: 1.25rem; } }
.theme-product-card:hover .theme-product-card__title { color: var(--color-emerald); }
.theme-product-card__price { font-family: var(--font-body); font-size: 0.875rem; font-weight: 500; color: var(--color-foreground); white-space: nowrap; margin-top: 0.25rem; }
.theme-product-card__desc {
  font-size: 0.75rem; color: var(--color-muted-foreground); font-weight: 300; line-height: 1.6; margin-bottom: 1rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.theme-product-card__footer { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--color-border); display: flex; align-items: center; justify-content: flex-end; gap: 0.75rem; flex-wrap: wrap; }
.theme-product-card__view { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-brass); font-weight: 500; transition: all 0.3s ease; }
.theme-product-card:hover .theme-product-card__view { color: var(--color-emerald); }
.theme-product-card__view-arrow { display: inline-block; transition: transform 0.3s ease; }
.theme-product-card:hover .theme-product-card__view-arrow { transform: translateX(4px); }
.theme-product-card__soldout { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-destructive); font-weight: 500; }

/* Card add-to-cart button (compact variant if the design ever includes one) */
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
  min-height: unset;
  padding: 0.5rem 1rem;
  border-radius: var(--btn-radius);
}

/* =========================================================================
   PRICE RANGE — dual overlapping handles (Section 31.4)
   ========================================================================= */
.price-range-wrapper { position: relative; height: 1.5rem; }
.range-track-bg, .range-track-fill { position: absolute; height: 4px; top: 50%; transform: translateY(-50%); pointer-events: none; border-radius: 4px; }
.range-track-bg { left: 0; right: 0; background: var(--color-border); }
.range-track-fill { background: var(--color-primary); }
.range-input {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0;
  -webkit-appearance: none; appearance: none; background: transparent; pointer-events: none;
}
.range-input::-webkit-slider-thumb {
  -webkit-appearance: none; pointer-events: auto; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer; margin-top: 0;
}
.range-input::-moz-range-thumb {
  pointer-events: auto; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer;
}
.range-input::-moz-range-track { background: transparent; border: none; }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }

/* =========================================================================
   JUST BE WELL — scroll feature strip
   ========================================================================= */
.jbw-section { position: relative; width: 100%; overflow: hidden; border-top: 2px solid color-mix(in srgb, var(--color-brass) 40%, transparent); border-bottom: 2px solid color-mix(in srgb, var(--color-brass) 40%, transparent); scroll-margin-top: 6rem; }
.jbw-section__stage { position: relative; height: 80vh; min-height: 560px; }
@media (min-width: 768px) { .jbw-section__stage { height: 85vh; } }
.jbw-section__media { position: absolute; inset: 0; will-change: transform; transform: scale(1.05); transition: transform 0.6s linear; }
.jbw-section.is-parallaxed .jbw-section__media { transform: scale(1.12); }
.jbw-section__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.7; }
.jbw-section__scrim { position: absolute; inset: 0; background: linear-gradient(to top, var(--color-noir) 0%, color-mix(in srgb, var(--color-noir) 40%, transparent) 55%, color-mix(in srgb, var(--color-noir) 30%, transparent) 100%); }
.jbw-section__content { position: absolute; left: 0; right: 0; bottom: 0; }
.jbw-section__inner { padding-block: 3rem; }
@media (min-width: 768px) { .jbw-section__inner { padding-block: 4rem; } }
.jbw-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: end; }
@media (min-width: 768px) { .jbw-grid { grid-template-columns: repeat(12, 1fr); } }
.jbw-copy { grid-column: 1 / -1; }
@media (min-width: 768px) { .jbw-copy { grid-column: span 8; } }
.jbw-eyebrow { color: var(--color-brass-light); margin-bottom: 1.25rem; }
.jbw-title { font-family: var(--font-display); color: var(--color-cream); font-size: 2.25rem; line-height: 1.05; max-width: 48rem; }
@media (min-width: 768px) { .jbw-title { font-size: 3rem; } }
@media (min-width: 1024px) { .jbw-title { font-size: 3.75rem; } }
.jbw-title em { color: var(--color-brass-light); font-style: italic; display: block; }
@media (min-width: 768px) { .jbw-title em { display: inline; } }
.jbw-paragraph { margin-top: 1.25rem; max-width: 36rem; color: color-mix(in srgb, var(--color-cream) 70%, transparent); font-weight: 300; line-height: 1.7; }
.jbw-ctas { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .jbw-ctas { flex-direction: row; } }
@media (min-width: 768px) { .jbw-ctas { grid-column: span 4; flex-direction: column; align-items: flex-end; } }
.jbw-ctas .theme-btn { width: 100%; }
@media (min-width: 640px) { .jbw-ctas .theme-btn { width: auto; } }
@media (min-width: 768px) { .jbw-ctas .theme-btn { width: 100%; } }

/* =========================================================================
   ABOUT SECTION
   ========================================================================= */
.about-section { scroll-margin-top: 6rem; }
.theme-about-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .theme-about-grid { grid-template-columns: repeat(12, 1fr); gap: 5rem; align-items: stretch; } }
.theme-about-photo { grid-column: 1 / -1; }
@media (min-width: 1024px) { .theme-about-photo { grid-column: span 6; position: relative; } }
.theme-about-photo__frame { aspect-ratio: 4/5; overflow: hidden; position: relative; }
@media (min-width: 1024px) { .theme-about-photo__frame { aspect-ratio: auto; position: absolute; inset: 0; } }
.theme-about-photo__frame img { transition: transform 0.7s var(--ease-smooth); }
.theme-about-photo__frame:hover img { transform: scale(1.05); }
.theme-about-body { grid-column: 1 / -1; display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 1024px) { .theme-about-body { grid-column: span 6; } }
.about-section .theme-section-heading { font-size: 2.25rem; margin-top: 0.75rem; color: var(--color-cream); }
@media (min-width: 768px) { .about-section .theme-section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .about-section .theme-section-heading { font-size: 3.75rem; } }
.about-section .theme-section-heading em { color: var(--color-brass-light); }
.theme-about-copy { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.25rem; color: color-mix(in srgb, var(--color-cream) 70%, transparent); font-weight: 300; line-height: 1.7; }
.theme-about-copy .theme-about-tagline { color: var(--color-cream); font-weight: 400; font-style: italic; }
.theme-about-stats { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--color-noir-soft); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.theme-about-stat__value { font-family: var(--font-display); font-size: 1.875rem; color: var(--color-brass-light); }
@media (min-width: 768px) { .theme-about-stat__value { font-size: 2.25rem; } }
.theme-about-stat__label { margin-top: 0.5rem; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--color-cream) 55%, transparent); }

/* =========================================================================
   NEWSLETTER SECTION
   ========================================================================= */
.newsletter-section { background: var(--color-bone); scroll-margin-top: 6rem; }
.theme-newsletter-inner { max-width: 42rem; margin: 0 auto; text-align: center; }
.newsletter-section .theme-section-heading { font-size: 2.25rem; }
@media (min-width: 768px) { .newsletter-section .theme-section-heading { font-size: 3rem; } }
.theme-newsletter-form { display: flex; flex-direction: column; gap: 0.75rem; max-width: 28rem; margin: 2rem auto 0; }
@media (min-width: 640px) { .theme-newsletter-form { flex-direction: row; } }
.theme-newsletter-form input {
  flex: 1; min-width: 0; padding: 0.9rem 1rem; background: var(--color-card); border: 1px solid var(--color-border);
  color: var(--color-foreground); font-size: 0.875rem; font-weight: 300; font-family: var(--font-body); transition: border-color 0.3s ease;
}
.theme-newsletter-form input::placeholder { color: color-mix(in srgb, var(--color-muted-foreground) 60%, transparent); }
.theme-newsletter-form input:focus { outline: none; border-color: var(--color-primary); }
.theme-newsletter-form .theme-btn { flex-shrink: 0; }
.theme-newsletter-success { margin-top: 2rem; display: inline-flex; align-items: center; gap: 0.75rem; border: 1px solid var(--color-border); background: var(--color-card); padding: 1rem 1.5rem; }
.theme-newsletter-success__icon { width: 2rem; height: 2rem; background: var(--color-primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.theme-newsletter-success__icon svg { width: 1rem; height: 1rem; color: var(--color-primary-foreground); }
.theme-newsletter-form, .theme-newsletter-success { display: none; }
.newsletter-section:not(.is-submitted):not(.has-embed-form) .theme-newsletter-form { display: flex; }
.newsletter-section.is-submitted .theme-newsletter-success { display: inline-flex; }
.newsletter-section.has-embed-form .theme-newsletter-embed { display: block; width: 100%; max-width: 32rem; margin: 2rem auto 0; text-align: left; }
.theme-newsletter-embed,
.theme-newsletter-embed .sib-form,
.theme-newsletter-embed #sib-container,
.theme-newsletter-embed .sib-container--large,
.theme-newsletter-embed .sib-container--medium,
.theme-newsletter-embed .sib-container--small {
	background: transparent !important; border: none !important; padding: 0 !important; margin: 0 !important; max-width: none !important; width: 100% !important;
	box-shadow: none !important;
}
.theme-newsletter-embed form#sib-form,
.theme-newsletter-embed form[id^="sib-form"] {
	display: grid !important; grid-template-columns: 1fr; gap: 0.75rem; width: 100%; margin: 0; padding: 0;
}
@media (min-width: 640px) {
	.theme-newsletter-embed form#sib-form,
	.theme-newsletter-embed form[id^="sib-form"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.theme-newsletter-embed .sib-form-block {
	width: 100% !important; max-width: 100% !important; margin: 0 !important; padding: 0 !important; text-align: left !important;
}
.theme-newsletter-embed .sib-form-block:has(.sib-email-area),
.theme-newsletter-embed .sib-form-block:has(input[type="email"]),
.theme-newsletter-embed .sib-form-block:has(.sib-sms-area),
.theme-newsletter-embed .sib-form-block:has(.sib-optin),
.theme-newsletter-embed .sib-form-block:has(.sib-checkbox-area),
.theme-newsletter-embed .sib-form-block:has(.g-recaptcha),
.theme-newsletter-embed .sib-form-block:has([type="submit"]),
.theme-newsletter-embed .sib-form-block:has(.sib-form-block__button),
.theme-newsletter-embed .sib-form-block:has(.sib-default-btn),
.theme-newsletter-embed .sib-form-message-panel {
	grid-column: 1 / -1;
}
.theme-newsletter-embed .form__entry,
.theme-newsletter-embed .entry_block {
	display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: 0.35rem;
	width: 100% !important; margin: 0 !important; padding: 0 !important;
}
.theme-newsletter-embed .entry__label,
.theme-newsletter-embed label.entry__label {
	display: block !important; width: 100% !important; margin: 0 !important; padding: 0 !important;
	font-family: var(--font-body) !important; font-size: 0.6875rem !important; font-weight: 500 !important;
	letter-spacing: 0.14em !important; text-transform: uppercase !important; line-height: 1.4 !important; text-align: left !important;
	color: color-mix(in srgb, var(--color-muted-foreground) 85%, transparent) !important; background: transparent !important; border: none !important;
}
.theme-newsletter-embed .entry__field { display: block !important; width: 100% !important; margin: 0 !important; padding: 0 !important; }
.theme-newsletter-embed .input,
.theme-newsletter-embed input.input,
.theme-newsletter-embed input[type="email"],
.theme-newsletter-embed input[type="text"],
.theme-newsletter-embed input[type="tel"],
.theme-newsletter-embed textarea.input {
	box-sizing: border-box !important; display: block !important; width: 100% !important; max-width: 100% !important; margin: 0 !important;
	min-height: 3rem; height: auto !important; padding: 0.9rem 1rem !important;
	background: var(--color-card) !important; border: 1px solid var(--color-border) !important; border-radius: 0 !important;
	color: var(--color-foreground) !important; font-size: 0.875rem !important; font-weight: 300 !important; font-family: var(--font-body) !important;
	line-height: 1.4 !important; box-shadow: none !important;
	transition: border-color 0.3s ease;
}
.theme-newsletter-embed .input::placeholder,
.theme-newsletter-embed input::placeholder { color: color-mix(in srgb, var(--color-muted-foreground) 60%, transparent); }
.theme-newsletter-embed .input:focus,
.theme-newsletter-embed input:focus,
.theme-newsletter-embed textarea:focus { outline: none !important; border-color: var(--color-primary) !important; }
.theme-newsletter-embed .sib-form-block:has([type="submit"]),
.theme-newsletter-embed .sib-form-block:has(.sib-form-block__button),
.theme-newsletter-embed .sib-form-block:has(.sib-default-btn) {
	margin-top: 0.25rem !important; text-align: center !important;
}
.theme-newsletter-embed .sib-form-block__button,
.theme-newsletter-embed .sib-default-btn,
.theme-newsletter-embed button[type="submit"],
.theme-newsletter-embed input[type="submit"] {
	appearance: none;
	display: inline-flex !important; align-items: center !important; justify-content: center !important;
	width: 100% !important; max-width: 100% !important; min-height: 3.5rem !important; height: auto !important;
	padding: 0 2.25rem !important; margin: 0 !important; border: none !important; border-radius: var(--radius) !important; cursor: pointer;
	background-color: var(--color-primary) !important; color: var(--color-primary-foreground) !important;
	font-family: var(--font-body) !important; font-size: 0.875rem !important; font-weight: 500 !important;
	letter-spacing: normal !important; text-transform: none !important;
	box-shadow: 0 2px 0 0 color-mix(in srgb, var(--color-primary) 35%, transparent);
	transition: all 0.3s var(--ease-smooth);
}
.theme-newsletter-embed .sib-form-block__button:hover,
.theme-newsletter-embed .sib-default-btn:hover,
.theme-newsletter-embed button[type="submit"]:hover,
.theme-newsletter-embed input[type="submit"]:hover {
	opacity: 0.92; transform: translateY(-2px);
}
.theme-newsletter-embed .sib-hide-loader-icon { display: none !important; }
.theme-newsletter-embed .entry__error,
.theme-newsletter-embed .sib-form-message-panel {
	font-size: 0.875rem !important; font-family: var(--font-body) !important; border-radius: 0 !important;
}

/* =========================================================================
   CONTACT SECTION
   ========================================================================= */
.contact-section { background: var(--color-background); scroll-margin-top: 6rem; }
.theme-contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .theme-contact-grid { grid-template-columns: repeat(12, 1fr); gap: 4rem; align-items: stretch; } }
.theme-contact-info { grid-column: 1 / -1; display: flex; flex-direction: column; }
@media (min-width: 1024px) { .theme-contact-info { grid-column: span 5; } }
.contact-section .theme-section-heading { font-size: 2.25rem; margin-top: 0.75rem; }
@media (min-width: 768px) { .contact-section .theme-section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .contact-section .theme-section-heading { font-size: 3.75rem; } }
.theme-contact-paragraph { margin-top: 1.25rem; color: var(--color-muted-foreground); font-weight: 300; line-height: 1.7; max-width: 28rem; }
.theme-contact-rows { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 1024px) { .theme-contact-rows { margin-top: auto; padding-top: 2.5rem; } }
.theme-contact-row { display: flex; align-items: center; gap: 1rem; }
.theme-contact-row__icon { width: 3rem; height: 3rem; flex-shrink: 0; border-radius: 50%; background: var(--color-secondary); color: var(--color-primary); display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
.theme-contact-row:hover .theme-contact-row__icon { background: var(--color-primary); color: var(--color-primary-foreground); transform: scale(1.1) rotate(-6deg); box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--color-primary) 60%, transparent); }
.theme-contact-row__icon svg { width: 18px; height: 18px; }
.theme-contact-row__label { display: block; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-muted-foreground); font-weight: 500; }
.theme-contact-row__value { display: block; font-size: 1rem; color: var(--color-foreground); font-weight: 300; transition: color 0.3s ease; }
.theme-contact-row:hover .theme-contact-row__value { color: var(--color-primary); }

.theme-contact-form-col { grid-column: 1 / -1; }
@media (min-width: 1024px) { .theme-contact-form-col { grid-column: span 7; height: 100%; } }
.theme-contact-form {
  background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--card-radius);
  box-shadow: 0 28px 70px -32px color-mix(in srgb, var(--color-noir) 35%, transparent);
  padding: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; height: 100%;
}
@media (min-width: 768px) { .theme-contact-form { padding: 2.5rem; } }
.theme-contact-form-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .theme-contact-form-grid { grid-template-columns: 1fr 1fr; } }
.theme-input {
  width: 100%; padding: 0.9rem 1rem; background: var(--color-background); border: 1px solid var(--color-input);
  border-radius: var(--radius); color: var(--color-foreground); font-size: 0.875rem; font-family: var(--font-body); font-weight: 300;
  transition: all 0.3s ease;
}
.theme-input::placeholder { color: color-mix(in srgb, var(--color-muted-foreground) 60%, transparent); }
.theme-input:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 20%, transparent); }
.theme-textarea-flex { flex: 1; display: flex; flex-direction: column; }
.theme-textarea-flex textarea { flex: 1; min-height: 160px; resize: none; }
.theme-contact-form-footer { display: flex; flex-direction: column; align-items: stretch; justify-content: space-between; gap: 1rem; padding-top: 0.25rem; }
@media (min-width: 640px) { .theme-contact-form-footer { flex-direction: row; align-items: center; } }
.theme-contact-form-footer p { font-size: 0.875rem; color: var(--color-muted-foreground); font-weight: 300; }
.theme-contact-form-footer .theme-btn { flex-shrink: 0; }
.theme-contact-success {
  height: 100%; min-height: 420px; background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--card-radius);
  box-shadow: 0 28px 70px -32px color-mix(in srgb, var(--color-noir) 35%, transparent);
  padding: 2.5rem; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.theme-contact-success__icon { width: 3.5rem; height: 3.5rem; background: var(--color-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.theme-contact-success__icon svg { width: 1.5rem; height: 1.5rem; color: var(--color-primary-foreground); }
.theme-contact-success h3 { font-family: var(--font-display); font-size: 1.875rem; margin-bottom: 0.75rem; }
.theme-contact-success p { color: var(--color-muted-foreground); font-weight: 300; max-width: 24rem; margin: 0 auto; line-height: 1.7; }
.theme-contact-form, .theme-contact-success { display: none; }
.contact-section:not(.is-submitted) .theme-contact-form { display: flex; }
.contact-section.is-submitted .theme-contact-success { display: flex; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer { border-top: 1px solid var(--color-noir-soft); }
.site-footer__inner { padding-block: 4rem; }
@media (min-width: 1024px) { .site-footer__inner { padding-block: 5rem; } }
.theme-footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .theme-footer-grid { grid-template-columns: repeat(12, 1fr); gap: 3rem; } }
.theme-footer-col--brand { grid-column: 1 / -1; }
@media (min-width: 768px) { .theme-footer-col--brand { grid-column: span 5; } }
.theme-footer-brand-link { font-family: var(--font-display); font-size: 1.5rem; color: var(--color-cream); }
@media (min-width: 768px) { .theme-footer-brand-link { font-size: 1.875rem; } }
.theme-footer-blurb { margin-top: 1.5rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-cream) 65%, transparent); max-width: 28rem; line-height: 1.7; font-weight: 300; }
.theme-footer-socials { display: flex; gap: 1rem; margin-top: 1.5rem; }
.theme-footer-social {
  width: 2.5rem; height: 2.5rem; border: 1px solid var(--color-noir-soft); display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease;
}
.theme-footer-social:hover { border-color: var(--color-brass-light); transform: translateY(-2px); }
.theme-footer-social svg { width: 1rem; height: 1rem; color: color-mix(in srgb, var(--color-cream) 70%, transparent); transition: all 0.3s ease; }
.theme-footer-social:hover svg { color: var(--color-brass-light); transform: scale(1.1) rotate(-6deg); }

.theme-footer-col--nav { grid-column: 1 / -1; }
@media (min-width: 768px) { .theme-footer-col--nav { grid-column: span 3; } }
.theme-footer-col--contact { grid-column: 1 / -1; }
@media (min-width: 768px) { .theme-footer-col--contact { grid-column: span 4; } }
.theme-footer-heading { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-brass-light); margin-bottom: 1.25rem; font-weight: 500; }
.theme-footer-nav-list li, .theme-footer-contact-list li { list-style: none; }
.theme-footer-nav-list { display: flex; flex-direction: column; gap: 0.75rem; }
.theme-footer-nav-list a { font-size: 0.875rem; color: color-mix(in srgb, var(--color-cream) 70%, transparent); font-weight: 300; transition: color 0.3s ease; }
.theme-footer-nav-list a:hover { color: var(--color-cream); }
.theme-footer-contact-list { display: flex; flex-direction: column; gap: 0.75rem; padding: 0; margin: 0; }
.theme-footer-contact-list li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-cream) 70%, transparent); font-weight: 300; }
.theme-footer-contact-list svg { width: 1rem; height: 1rem; color: var(--color-brass-light); flex-shrink: 0; }
.theme-footer-contact-list a:hover { color: var(--color-cream); }
.theme-footer-note { margin-top: 1.25rem; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: color-mix(in srgb, var(--color-cream) 45%, transparent); }

.theme-footer-bottom { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--color-noir-soft); display: flex; flex-direction: column; align-items: center; gap: 1rem; }
@media (min-width: 640px) { .theme-footer-bottom { flex-direction: row; justify-content: space-between; } }
.theme-footer-copyright { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: color-mix(in srgb, var(--color-cream) 45%, transparent); }
.theme-footer-totop { display: inline-flex; align-items: center; gap: 0.75rem; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: color-mix(in srgb, var(--color-cream) 70%, transparent); background: none; border: none; cursor: pointer; transition: color 0.3s ease; }
.theme-footer-totop:hover { color: var(--color-brass-light); }
.theme-footer-totop__box { width: 2rem; height: 2rem; border: 1px solid var(--color-noir-soft); display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
.theme-footer-totop:hover .theme-footer-totop__box { border-color: var(--color-brass-light); transform: translateY(-4px); }
.theme-footer-totop__box svg { width: 14px; height: 14px; }

/* =========================================================================
   CART DRAWER (Section 12)
   ========================================================================= */
#theme-cart-overlay {
  position: fixed; inset: 0; background: color-mix(in srgb, var(--color-foreground) 20%, transparent);
  z-index: 60; opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }

#theme-cart-drawer {
  position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem;
  background: var(--color-background); z-index: 61; box-shadow: -20px 0 60px -20px color-mix(in srgb, var(--color-noir) 40%, transparent);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.4s var(--ease-smooth);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }

.theme-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--color-border); }
.theme-cart-drawer__title { font-family: var(--font-display); font-size: 1.125rem; }
.theme-cart-drawer__close { padding: 0.25rem; background: none; border: none; cursor: pointer; opacity: 1; transition: opacity 0.2s ease; color: var(--color-foreground); }
.theme-cart-drawer__close:hover { opacity: 0.6; }
.theme-cart-drawer__close svg { width: 1.25rem; height: 1.25rem; }

.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.theme-cart-drawer__empty svg { width: 3rem; height: 3rem; color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-cart-drawer__empty p { color: var(--color-muted-foreground); margin-bottom: 1.5rem; }

.theme-cart-drawer__items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item__image { width: 5rem; height: 6rem; background: var(--color-secondary); overflow: hidden; flex-shrink: 0; }
.theme-cart-item__image img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-item__body { flex: 1; min-width: 0; }
.theme-cart-item__name { font-size: 0.875rem; font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: opacity 0.2s ease; }
.theme-cart-item__name:hover { opacity: 0.7; }
.theme-cart-item-meta {
  list-style: none; margin: 0.25rem 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 0.25rem;
}
.theme-cart-item-meta__row {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; color: var(--color-muted-foreground); font-family: var(--font-body);
}
.theme-cart-item-meta-swatch {
  width: 0.75rem; height: 0.75rem; border-radius: 50%;
  border: 1px solid var(--color-border); flex-shrink: 0;
}
.theme-cart-item__meta { font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.15rem; }
.theme-cart-item__price { font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.15rem; }
.theme-cart-item__controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-item__qty-btn { padding: 0.25rem; background: none; border: none; cursor: pointer; border-radius: 4px; display: inline-flex; transition: background 0.2s ease; color: var(--color-foreground); }
.theme-cart-item__qty-btn:hover { background: var(--color-secondary); }
.theme-cart-item__qty-btn svg { width: 0.75rem; height: 0.75rem; }
.theme-cart-item__qty-value { font-size: 0.875rem; width: 1.5rem; text-align: center; }
.theme-cart-item__remove { margin-left: auto; font-size: 0.75rem; color: var(--color-muted-foreground); background: none; border: none; cursor: pointer; transition: color 0.2s ease; }
.theme-cart-item__remove:hover { color: var(--color-foreground); }

.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal-row { display: flex; justify-content: space-between; font-size: 0.875rem; }
.theme-cart-drawer__subtotal-row span:first-child { color: var(--color-muted-foreground); }
.theme-cart-drawer__subtotal-row span:last-child { font-weight: 500; }
.theme-cart-drawer__note { font-size: 0.75rem; color: var(--color-muted-foreground); }
.theme-cart-drawer__footer .theme-btn { width: 100%; }

/* =========================================================================
   SINGLE PRODUCT PAGE — mirror ProductDetail.tsx
   ========================================================================= */
body.single-product main.single-product-main.theme-single-product,
body.theme-no-hero main.single-product-main.theme-single-product {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.single-product-main .woocommerce-product-gallery,
.single-product-main .woocommerce-tabs,
.single-product-main .product_meta,
.single-product-main .woocommerce-breadcrumb,
.single-product-main a.added_to_cart.wc-forward { display: none !important; }

.theme-product-back-wrap { padding-block: 0.75rem 1rem; }
.theme-back-to-shop { display: inline-flex; align-items: center; font-size: 0.875rem; color: var(--color-muted-foreground); transition: color 0.2s ease; padding: 0; }
.theme-back-to-shop:hover { color: var(--color-foreground); }
.theme-back-to-shop svg { width: 1rem; height: 1rem; margin-right: 0.5rem; flex-shrink: 0; }

.single-product-main .theme-product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  padding-bottom: 5rem;
  min-width: 0;
  float: none;
  width: 100%;
}
@media (min-width: 1024px) {
  .single-product-main .theme-product-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4rem;
  }
}
.single-product-main .theme-product-gallery,
.single-product-main .theme-product-info { min-width: 0; max-width: 100%; }

.single-product-main .theme-product-gallery__main {
  aspect-ratio: 3 / 4;
  background: var(--color-secondary);
  overflow: hidden;
  margin-bottom: 1rem;
}
.single-product-main .theme-product-main-img,
.single-product-main .theme-product-gallery__main img {
  position: static !important;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.single-product-main .theme-product-thumbnails {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.5rem;
}
.single-product-main .theme-product-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.6;
  transition: opacity 0.2s ease, border-color 0.2s ease;
  padding: 0;
  background: none;
  cursor: pointer;
}
.single-product-main .theme-product-thumb img,
.single-product-main .theme-thumb-img {
  position: static;
  inset: auto;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  display: block;
}
.single-product-main .theme-product-thumb:hover { opacity: 1; }
.single-product-main .theme-product-thumb.is-active { border-color: var(--color-primary); opacity: 1; }

@media (min-width: 1024px) {
  .single-product-main .theme-product-info { padding-block: 0 2.5rem; }
}

.single-product-main .theme-product-category {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted-foreground);
  font-family: var(--font-body);
}

.single-product-main .product-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.2;
  margin: 0.5rem 0 1rem;
}
@media (min-width: 768px) {
  .single-product-main .product-title { font-size: 1.875rem; }
}

.single-product-main .theme-product-price {
  font-size: 1.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  margin: 0 0 1.5rem;
  line-height: 1.2;
}
.single-product-main .theme-product-price__unit-note {
  margin-left: 0.5rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-muted-foreground);
}

.single-product-main .theme-product-description {
  color: var(--color-muted-foreground);
  font-family: var(--font-body);
  line-height: 1.625;
  margin-bottom: 2rem;
}
.single-product-main .theme-product-description p + p {
  margin-top: 1rem;
}
.single-product-main .theme-product-description ul {
  list-style: disc;
  margin: 1rem 0 0 1.25rem;
  padding: 0;
}
.single-product-main .theme-product-description li + li {
  margin-top: 0.5rem;
}

.single-product-main .theme-option-group { margin-bottom: 1.5rem; }
.single-product-main .theme-variation-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-family: var(--font-body);
}
.single-product-main .theme-variation-select {
  width: 100%;
  max-width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-family: var(--font-body);
  border: 1px solid var(--color-border);
  background: var(--color-background);
  color: var(--color-foreground);
}
.single-product-main .theme-option-group h3 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-family: var(--font-body);
}
.single-product-main .theme-option-buttons { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.single-product-main .theme-option-btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-family: var(--font-body);
  border: 1px solid var(--color-border);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}
.single-product-main .theme-option-btn:hover { border-color: color-mix(in srgb, var(--color-primary) 50%, transparent); }
.single-product-main .theme-option-btn.is-selected {
  background: var(--color-primary);
  color: var(--color-primary-foreground);
  border-color: var(--color-primary);
}
.single-product-main .theme-option-btn.is-color { display: inline-flex; align-items: center; gap: 0.5rem; }
.single-product-main .theme-option-btn.is-color.is-selected {
  background: color-mix(in srgb, var(--color-primary) 5%, transparent);
  color: var(--color-foreground);
  border-color: var(--color-primary);
}
.single-product-main .theme-attr-select-hidden { display: none !important; }
.single-product-main .theme-attr-pills {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem;
}
.single-product-main .theme-attr-pills--color { gap: 0.75rem; }
.single-product-main .theme-attr-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem; font-size: 0.875rem; font-family: var(--font-body);
  border: 1px solid var(--color-border); background: transparent;
  cursor: pointer; transition: all 0.2s ease;
}
.single-product-main .theme-attr-pill:hover { border-color: color-mix(in srgb, var(--color-primary) 50%, transparent); }
.single-product-main .theme-attr-pill--color.is-selected {
  border-color: var(--color-primary);
  background: color-mix(in srgb, var(--color-primary) 5%, transparent);
  color: var(--color-foreground);
}
.single-product-main .theme-attr-pill--license.is-selected {
  background: var(--color-primary);
  color: var(--color-primary-foreground);
  border-color: var(--color-primary);
}
.single-product-main .theme-attr-pill__swatch {
  width: 1rem; height: 1rem; border-radius: 50%;
  border: 1px solid var(--color-border); flex-shrink: 0;
}
.single-product-main .theme-color-swatch {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  flex-shrink: 0;
}

.single-product-main .theme-add-to-cart-area {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}
.single-product-main .theme-quantity-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
}
.single-product-main .theme-qty-minus,
.single-product-main .theme-qty-plus {
  padding: 0 1rem;
  min-height: 3.5rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-foreground);
}
.single-product-main .theme-qty-minus:hover,
.single-product-main .theme-qty-plus:hover { background: var(--color-secondary); }
.single-product-main .theme-qty-minus svg,
.single-product-main .theme-qty-plus svg { width: 1rem; height: 1rem; }
.single-product-main .theme-qty-value {
  padding: 0.75rem 1rem;
  min-width: 3rem;
  text-align: center;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1;
}
.single-product-main .theme-qty-input { display: none; }

.single-product-main .single_add_to_cart_button.theme-btn {
  flex: 1 1 auto;
  min-width: 10rem;
  min-height: 3.5rem;
  height: auto;
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: 1rem;
}
.single-product-main .single_add_to_cart_button.is-disabled,
.single-product-main .single_add_to_cart_button:disabled {
  pointer-events: none;
  opacity: 0.5;
}

.single-product-main .theme-product-details {
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
}
.single-product-main .theme-product-details h3 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  font-family: var(--font-body);
}
.single-product-main .theme-product-details ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.single-product-main .theme-product-details li {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  font-family: var(--font-body);
  display: flex;
  align-items: flex-start;
}
.single-product-main .theme-product-details li::before {
  content: "";
  width: 0.375rem;
  height: 0.375rem;
  background: var(--color-primary);
  border-radius: 50%;
  margin-top: 0.5rem;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

/* Related — simple cards (not shop product cards) */
.single-product-main .theme-related-section {
  padding-block: 5rem;
  border-top: 1px solid var(--color-border);
}
.single-product-main .theme-related-section__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .single-product-main .theme-related-section__title { font-size: 1.5rem; }
}
.single-product-main .theme-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .single-product-main .theme-related-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
  }
}
.single-product-main .theme-related-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.single-product-main .theme-related-card:hover { opacity: 0.85; }
.single-product-main .theme-related-card__image {
  aspect-ratio: 4 / 5;
  background: var(--color-secondary);
  overflow: hidden;
}
.single-product-main .theme-related-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.single-product-main .theme-related-card__cat {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted-foreground);
  font-family: var(--font-body);
}
.single-product-main .theme-related-card__name {
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.35;
  color: var(--color-foreground);
}
.single-product-main .theme-related-card__price {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-foreground);
}

/* =========================================================================
   WOOCOMMERCE CORE OVERRIDES (Section 14)
   ========================================================================= */
.woocommerce-message, .woocommerce-error, .woocommerce-info {
  list-style: none; margin: 0 0 1.5rem; padding: 1rem 1.5rem; border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.875rem; border-left: 3px solid var(--color-primary);
  background: var(--color-secondary); color: var(--color-foreground);
}
.woocommerce-error { border-left-color: var(--color-destructive); background: color-mix(in srgb, var(--color-destructive) 8%, var(--color-background)); }

/* Section 14.1 — scoped hiding only where the theme has its own feedback */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }

/* Section 11.4.1 — add-to-cart style override */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
  background-color: var(--color-primary) !important;
  color: var(--color-button-text) !important;
  border: none !important;
  border-radius: var(--btn-radius) !important;
  min-height: var(--btn-height) !important;
  padding: var(--btn-padding) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: var(--font-body) !important;
  font-size: var(--btn-font-size) !important;
  font-weight: var(--btn-font-weight) !important;
  letter-spacing: var(--btn-letter-spacing) !important;
  text-transform: var(--btn-text-transform) !important;
  cursor: pointer !important;
  transition: opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
  opacity: 0.85 !important;
  background-color: var(--color-primary) !important;
  color: var(--color-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
  cursor: not-allowed !important;
  opacity: 0.4 !important;
  pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
  opacity: 0.4 !important;
  background-color: var(--color-primary) !important;
}
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
  min-height: unset !important;
  padding: var(--btn-icon-padding) !important;
}

/* Section 11.4.2 — hide the injected "View cart" link */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

/* Section 31.8 — suppress WooCommerce's own loading spinner */
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }

/* =========================================================================
   SHOP / ARCHIVE PAGE
   ========================================================================= */
.theme-archive-header { padding: 4rem 0 2rem; text-align: center; }
.theme-archive-header h1 { font-family: var(--font-display); font-size: 2.25rem; }
.woocommerce-result-count, .woocommerce-ordering { display: none; }

/* =========================================================================
   CHECKOUT BLOCK (Section 13) — dual selectors: dedicated + embedded block
   ========================================================================= */
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main { padding-top: var(--header-height, 80px); padding-bottom: 4rem; }

body.woocommerce-checkout .theme-checkout-main { padding-top: 0; padding-bottom: 4rem; }
body.woocommerce-checkout .theme-checkout-shell {
  padding-block: 0.5rem 4rem;
  padding-inline: var(--checkout-padding-x);
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  body.woocommerce-checkout .theme-checkout-shell { --checkout-padding-x: 2rem; }
}
@media (min-width: 1024px) {
  body.woocommerce-checkout .theme-checkout-shell { --checkout-padding-x: 3rem; }
}
body.woocommerce-checkout .theme-checkout-main > .container-wide,
body.woocommerce-checkout .theme-checkout-shell,
body.woocommerce-checkout .theme-checkout-main .entry-content {
  max-width: none;
  width: 100%;
}

.theme-checkout-header {
  max-width: var(--checkout-max-width);
  width: 100%;
  margin-inline: auto;
  margin-bottom: 0;
  box-sizing: border-box;
}
.checkout-continue-link { margin-bottom: 1rem; }
.theme-checkout-title {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 700;
  margin: 0;
}
@media (min-width: 768px) { .theme-checkout-title { font-size: 2.5rem; } }
.theme-checkout-intro { margin: 0.75rem 0 0; color: var(--color-muted-foreground); font-family: var(--font-body); }

body.woocommerce-checkout .theme-checkout-main .entry-content,
.entry-content:has(.wc-block-checkout) {
  margin-top: 0;
  padding-top: 0;
}
body.woocommerce-checkout .theme-checkout-main .entry-content > .wc-block-checkout,
body.woocommerce-checkout .theme-checkout-main .entry-content > .wp-block-woocommerce-checkout,
.entry-content > .wc-block-checkout:first-child,
.entry-content > .wp-block-woocommerce-checkout:first-child {
  margin-top: 0;
}

body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout .wp-block-woocommerce-checkout,
.entry-content .wc-block-checkout,
.entry-content .wp-block-woocommerce-checkout {
  max-width: var(--checkout-max-width);
  width: 100%;
  margin-inline: auto;
  margin-top: 0;
  padding-top: 0;
  min-width: 0;
  box-sizing: border-box;
}
body.woocommerce-checkout .wc-block-checkout.alignwide,
.entry-content .wc-block-checkout.alignwide { margin-top: 0; }

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-components-main,
.entry-content .wc-block-checkout__main,
.entry-content .wc-block-components-main {
  margin-top: 0;
  padding-top: 0;
}

body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout,
body.woocommerce-checkout .wc-block-checkout .wc-block-checkout-sidebar-layout,
.entry-content .wc-block-checkout .wc-block-components-sidebar-layout,
.entry-content .wc-block-checkout .wc-block-checkout-sidebar-layout {
  margin-top: 0;
  padding-top: 0;
}

@media (min-width: 768px) {
  body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout,
  body.woocommerce-checkout .wc-block-checkout .wc-block-checkout-sidebar-layout,
  .entry-content .wc-block-checkout .wc-block-components-sidebar-layout,
  .entry-content .wc-block-checkout .wc-block-checkout-sidebar-layout {
    display: grid !important;
    grid-template-columns: 1fr minmax(360px, 400px);
    gap: var(--checkout-gap);
    align-items: start;
    flex-direction: unset;
    flex-wrap: nowrap;
    margin: 0;
  }
  body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__main,
  body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
  body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__sidebar,
  body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar,
  .entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__main,
  .entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
  .entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__sidebar,
  .entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar {
    width: auto !important;
    max-width: 100%;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
  }
  body.woocommerce-checkout .wc-block-checkout:has(> .wc-block-checkout__main):has(> .wc-block-checkout__sidebar),
  .entry-content .wc-block-checkout:has(> .wc-block-checkout__main):has(> .wc-block-checkout__sidebar) {
    display: grid;
    grid-template-columns: 1fr minmax(360px, 400px);
    gap: var(--checkout-gap);
    align-items: start;
  }
  body.woocommerce-checkout .wc-block-checkout > .wc-block-components-notices,
  .entry-content .wc-block-checkout > .wc-block-components-notices { grid-column: 1 / -1; }
}

body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar,
body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block,
.entry-content .wc-block-checkout__sidebar,
.entry-content .wc-block-components-sidebar,
.entry-content .wp-block-woocommerce-checkout-totals-block {
  background: transparent;
  padding: 0;
  border-radius: 0;
}
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
.entry-content .wp-block-woocommerce-checkout-order-summary-block {
  width: 100%;
  background: var(--color-muted);
  border-radius: var(--card-radius);
  padding: 2rem;
  box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-components-notices,
.entry-content .wc-block-components-notices {
  max-width: var(--checkout-max-width);
  margin-inline: auto;
  width: 100%;
  margin-top: 0;
  padding-top: 0;
  margin-bottom: var(--checkout-gap);
  box-sizing: border-box;
}
body.woocommerce-checkout .wc-block-checkout > .wc-block-components-notices:empty,
.entry-content .wc-block-checkout > .wc-block-components-notices:empty {
  display: none;
  margin: 0;
  padding: 0;
}
body.woocommerce-checkout .wc-block-components-notice-banner,
.entry-content .wc-block-components-notice-banner { border-radius: var(--radius); }

body.woocommerce-checkout .wc-block-checkout-empty,
.entry-content .wc-block-checkout-empty {
  margin-inline: auto;
  max-width: 36rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* WC Blocks wrappers — border lives on the field, not the floating-label shell */
body.woocommerce-checkout .wc-block-components-text-input,
body.woocommerce-checkout .wc-block-components-combobox,
.entry-content .wc-block-components-text-input,
.entry-content .wc-block-components-combobox {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control button,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-blocks-components-select__select,
body.woocommerce-checkout .wc-block-components-textarea textarea,
body.woocommerce-checkout .wc-block-checkout__form input[type="text"],
body.woocommerce-checkout .wc-block-checkout__form input[type="email"],
body.woocommerce-checkout .wc-block-checkout__form input[type="tel"],
body.woocommerce-checkout .wc-block-checkout__form input[type="number"],
body.woocommerce-checkout .wc-block-checkout__form select,
body.woocommerce-checkout .wc-block-checkout__form textarea,
.entry-content .wc-block-components-text-input input,
.entry-content .wc-block-components-combobox .wc-block-components-combobox-control input,
.entry-content .wc-block-components-combobox .wc-block-components-combobox-control button,
.entry-content .wc-block-components-select select,
.entry-content .wc-blocks-components-select__select,
.entry-content .wc-block-components-textarea textarea,
.entry-content .wc-block-checkout__form input[type="text"],
.entry-content .wc-block-checkout__form input[type="email"],
.entry-content .wc-block-checkout__form input[type="tel"],
.entry-content .wc-block-checkout__form input[type="number"],
.entry-content .wc-block-checkout__form select,
.entry-content .wc-block-checkout__form textarea {
  width: 100% !important;
  max-width: none !important;
  font-family: var(--font-body) !important;
  font-size: 0.875rem !important;
  font-weight: 300;
  line-height: 1.5;
  color: var(--color-foreground) !important;
  padding: 0.75rem 1rem !important;
  border: 1px solid var(--color-border) !important;
  border-radius: var(--radius) !important;
  background-color: var(--color-background) !important;
  box-shadow: none !important;
  min-height: var(--checkout-control-height) !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control button,
body.woocommerce-checkout .wc-block-checkout__form input[type="text"],
body.woocommerce-checkout .wc-block-checkout__form input[type="email"],
body.woocommerce-checkout .wc-block-checkout__form input[type="tel"],
body.woocommerce-checkout .wc-block-checkout__form input[type="number"],
.entry-content .wc-block-components-text-input input,
.entry-content .wc-block-components-combobox .wc-block-components-combobox-control input,
.entry-content .wc-block-components-combobox .wc-block-components-combobox-control button,
.entry-content .wc-block-checkout__form input[type="text"],
.entry-content .wc-block-checkout__form input[type="email"],
.entry-content .wc-block-checkout__form input[type="tel"],
.entry-content .wc-block-checkout__form input[type="number"] {
  height: var(--checkout-control-height) !important;
}
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-blocks-components-select__select,
body.woocommerce-checkout .wc-block-checkout__form select,
.entry-content .wc-block-components-select select,
.entry-content .wc-blocks-components-select__select,
.entry-content .wc-block-checkout__form select {
  height: var(--checkout-control-height) !important;
}
body.woocommerce-checkout .wc-block-components-textarea textarea,
.entry-content .wc-block-components-textarea textarea {
  height: auto !important;
  min-height: 6.5rem !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input:focus,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control button:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-blocks-components-select__select:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus,
body.woocommerce-checkout .wc-block-checkout__form input:focus,
body.woocommerce-checkout .wc-block-checkout__form select:focus,
body.woocommerce-checkout .wc-block-checkout__form textarea:focus,
.entry-content .wc-block-components-text-input input:focus,
.entry-content .wc-block-components-combobox .wc-block-components-combobox-control input:focus,
.entry-content .wc-block-components-combobox .wc-block-components-combobox-control button:focus,
.entry-content .wc-block-components-select select:focus,
.entry-content .wc-blocks-components-select__select:focus,
.entry-content .wc-block-components-textarea textarea:focus,
.entry-content .wc-block-checkout__form input:focus,
.entry-content .wc-block-checkout__form select:focus,
.entry-content .wc-block-checkout__form textarea:focus {
  outline: none !important;
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 1px var(--color-primary) !important;
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder,
body.woocommerce-checkout .wc-block-components-textarea textarea::placeholder,
body.woocommerce-checkout .wc-block-checkout__form input::placeholder,
body.woocommerce-checkout .wc-block-checkout__form textarea::placeholder,
.entry-content .wc-block-components-text-input input::placeholder,
.entry-content .wc-block-components-textarea textarea::placeholder,
.entry-content .wc-block-checkout__form input::placeholder,
.entry-content .wc-block-checkout__form textarea::placeholder {
  color: color-mix(in srgb, var(--color-muted-foreground) 60%, transparent);
}

/* Floating labels — extra room between label and entered text */
body.woocommerce-checkout .wc-block-components-text-input.is-active label,
.entry-content .wc-block-components-text-input.is-active label {
  top: 0.4375rem !important;
  transform: translateY(0) scale(0.84) !important;
  transform-origin: left top;
  line-height: 1.2 !important;
}
body.woocommerce-checkout .wc-block-components-text-input.is-active input,
.entry-content .wc-block-components-text-input.is-active input {
  padding-top: 1.75rem !important;
  padding-bottom: 0.625rem !important;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

/* WC Blocks select — label is always pinned inside the field (no is-active class) */
body.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__container,
.entry-content .wc-blocks-components-select .wc-blocks-components-select__container {
  position: relative;
  line-height: normal;
  border: none !important;
  background: transparent !important;
}
body.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__label,
.entry-content .wc-blocks-components-select .wc-blocks-components-select__label {
  position: absolute !important;
  top: 0.4375rem !important;
  left: 1rem !important;
  right: 2.5rem;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0.75rem !important;
  line-height: 1.2 !important;
  font-weight: 400;
  transform: translateY(0) scale(0.84) !important;
  transform-origin: left top;
  z-index: 1;
  pointer-events: none;
}
body.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__select,
.entry-content .wc-blocks-components-select .wc-blocks-components-select__select {
  padding-top: 1.75rem !important;
  padding-bottom: 0.625rem !important;
  padding-left: 1rem !important;
  padding-right: 2.25rem !important;
  min-height: var(--checkout-control-height) !important;
  height: var(--checkout-control-height) !important;
  line-height: 1.25 !important;
  overflow: hidden !important;
  text-overflow: ellipsis;
}
body.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__expand,
.entry-content .wc-blocks-components-select .wc-blocks-components-select__expand {
  top: 50% !important;
  right: 0.875rem !important;
  transform: translateY(-50%) !important;
}

/* Address form — spacing only; layout widths handled by WooCommerce locale */
body.woocommerce-checkout .wc-block-components-address-form,
.entry-content .wc-block-components-address-form {
  gap: var(--checkout-field-gap) !important;
  align-items: stretch !important;
}
body.woocommerce-checkout .wc-block-components-address-form > [class*="wc-block-components-address-form__"],
.entry-content .wc-block-components-address-form > [class*="wc-block-components-address-form__"] {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-self: flex-start;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
}
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-text-input,
body.woocommerce-checkout .wc-block-components-address-form .wc-blocks-components-select,
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-combobox,
.entry-content .wc-block-components-address-form .wc-block-components-text-input,
.entry-content .wc-block-components-address-form .wc-blocks-components-select,
.entry-content .wc-block-components-address-form .wc-block-components-combobox {
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}
body.woocommerce-checkout .wc-block-components-state-input,
body.woocommerce-checkout .wc-block-components-country-input,
.entry-content .wc-block-components-state-input,
.entry-content .wc-block-components-country-input {
  margin: 0 !important;
  padding: 0 !important;
}
body.woocommerce-checkout .wc-blocks-components-select,
.entry-content .wc-blocks-components-select {
  margin: 0 !important;
  padding: 0 !important;
}
body.woocommerce-checkout .wc-block-components-state-input .wc-blocks-components-select__container,
body.woocommerce-checkout .wc-block-components-country-input .wc-blocks-components-select__container,
.entry-content .wc-block-components-state-input .wc-blocks-components-select__container,
.entry-content .wc-block-components-country-input .wc-blocks-components-select__container {
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-validation-error:empty,
.entry-content .wc-block-components-address-form .wc-block-components-validation-error:empty {
  display: none;
  margin: 0;
  padding: 0;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
.entry-content .wc-block-components-checkout-place-order-button {
  background-color: var(--color-primary) !important;
  color: var(--color-primary-foreground) !important;
  border-radius: var(--btn-radius) !important;
  font-family: var(--font-body) !important;
  text-transform: none !important;
  min-height: var(--btn-height) !important;
  font-weight: 500 !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
.entry-content .wc-block-components-checkout-place-order-button:hover { opacity: 0.9; }

body.woocommerce-checkout .wc-block-cart-items,
.entry-content .wc-block-cart-items { font-family: var(--font-body); }

/* =========================================================================
   THANK YOU PAGE (Section 22.8)
   ========================================================================= */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; }
body.theme-thankyou-page .woocommerce-order,
body.theme-thankyou-page .woocommerce-order-overview,
body.theme-thankyou-page .woocommerce-customer-details,
body.theme-thankyou-page .woocommerce-order-details { font-family: var(--font-body); }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
  font-family: var(--font-display); font-size: 1.5rem; padding: 0 0 1rem 0;
}
body.theme-thankyou-page .woocommerce-order-overview {
  display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; margin: 0 0 2rem; padding: 1.5rem;
  background: var(--color-muted); border-radius: var(--card-radius);
}
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 0.8rem; }
body.theme-thankyou-page .woocommerce-order-overview li strong { display: block; font-family: var(--font-display); font-size: 1rem; margin-top: 0.25rem; }
body.theme-thankyou-page .woocommerce-order-details table { border-collapse: collapse; margin-bottom: 2rem; }
body.theme-thankyou-page .woocommerce-order-details th,
body.theme-thankyou-page .woocommerce-order-details td { padding: 0.75rem; border-bottom: 1px solid var(--color-border); text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-customer-details {
  display: flex; flex-direction: column; gap: 1.5rem;
}
body.theme-thankyou-page .woocommerce-customer-details address {
  max-width: 480px; overflow-wrap: break-word; border: 1px solid var(--color-border); padding: 1.25rem; border-radius: var(--radius);
}
@media (min-width: 768px) {
  body.theme-thankyou-page .woocommerce-customer-details { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
  body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; max-width: none; }
}

/* =========================================================================
   404
   ========================================================================= */
.theme-404 { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 4rem 1.5rem; }
.theme-404 h1 { font-family: var(--font-display); font-size: 3.5rem; margin-bottom: 1rem; }
.theme-404 p { color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.theme-404 a { color: var(--color-primary); text-decoration: underline; }

/* =========================================================================
   FADE-IN UTILITY (page transitions)
   ========================================================================= */
.animate-fade-in { animation: theme-fade-in 0.5s var(--ease-smooth); }
@keyframes theme-fade-in { from { opacity: 0; } to { opacity: 1; } }
