/* ==========================================================================
   Inspired Mind Clinical — theme.css
   Single source of truth for all visual styling. No CSS lives in PHP
   templates (Section 10 / 14). Colors are CSS variables (Section 6),
   defaults below match the Customizer defaults exactly (Section 6.1).
   ========================================================================== */

/* -------------------------------------------------------------------------
   1. COLOR TOKENS (fallback defaults — live values are re-emitted via
      wp_add_inline_style from get_theme_mod(), Section 22.9)
   ------------------------------------------------------------------------- */
:root {
  --color-background: #fcfbf8;
  --color-foreground: #141c2e;
  --color-card: #ffffff;
  --color-primary: #141c2e;
  --color-primary-foreground: #fcfbf8;
  --color-secondary: #f9f6f0;
  --color-secondary-foreground: #1a2338;
  --color-muted: #f4f1eb;
  --color-muted-foreground: #525d6f;
  --color-accent: #c5a867;
  --color-accent-foreground: #141c2e;
  --color-border: #eae0cc;
  --color-navy-slate: #1a2338;
  --color-navy-obsidian: #0d1321;
  --color-gold-bronze: #b69754;
  --color-champagne: #d5b97c;
  --color-olive: #6a7963;
  --color-olive-border: #d9e1d6;
  --color-button-text: var(--color-primary-foreground);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-eyebrow: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --radius: 0.5rem;
  --radius-md: calc(var(--radius) - 2px);
  --radius-sm: calc(var(--radius) - 4px);
  --card-radius: var(--radius);

  --shadow-soft: 0 4px 20px -6px rgba(20, 28, 46, 0.10);
  --shadow-elevated: 0 18px 45px -12px rgba(20, 28, 46, 0.22);
  --shadow-gold: 0 10px 30px -12px rgba(197, 168, 103, 0.45);

  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  --btn-radius: var(--radius-md);
  --btn-height: 44px;
  --btn-padding: 0 2rem;
  --btn-font-size: 0.9rem;
  --btn-font-weight: 500;
  --btn-letter-spacing: normal;
  --btn-text-transform: none;

  --header-height: 108px;
  --checkout-gap: 2.5rem;
  --section-padding: 2rem;
}

/* -------------------------------------------------------------------------
   2. RESET & BASE
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video { max-width: 100%; display: block; }
img:not(.cover-img):not(.hero-bg-img):not(.product-card-img):not(.gallery-cover-img):not(.site-logo-img) {
  max-width: 100%;
  height: auto;
}
.site-logo-img {
  height: var(--logo-height, 48px);
  width: auto;
  max-width: none;
}
@media (min-width: 768px) {
  .site-logo-img { height: calc(var(--logo-height, 48px) * 1.333333); }
}
.cover-img, .hero-bg-img, .product-card-img, .gallery-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: inherit;
  font-size: inherit;
  margin: 0;
  text-wrap: balance;
}
p, li { text-wrap: pretty; margin: 0; }

.container-wide {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  max-width: 1280px;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) {
  .container-wide { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
  .container-wide { padding-left: 2rem; padding-right: 2rem; }
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

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

/* -------------------------------------------------------------------------
   3. TYPOGRAPHY UTILITIES
   ------------------------------------------------------------------------- */
.text-display { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; }
.text-body { font-family: var(--font-body); font-weight: 400; }
.text-eyebrow {
  font-family: var(--font-eyebrow);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}
.text-balance { text-wrap: balance; }
.text-pretty { text-wrap: pretty; }
.text-italic-accent { font-style: italic; color: var(--color-accent); }

.gold-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--color-accent) 40%, transparent);
  background: color-mix(in srgb, var(--color-accent) 10%, transparent);
  padding: 0.5rem 1rem;
  font-family: var(--font-eyebrow);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
}
@media (min-width: 640px) { .gold-pill { font-size: 0.75rem; } }

.card-surface {
  border-radius: var(--radius);
  background: var(--color-card);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  transition: all 0.2s ease;
}
.card-surface:hover {
  box-shadow: 0 4px 14px -3px rgba(20,28,46,0.12);
  border-color: color-mix(in srgb, var(--color-accent) 60%, transparent);
}

.link-underline { position: relative; display: inline-block; }
.link-underline::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.3s var(--transition-smooth);
}
.link-underline:hover::after { transform: scaleX(1); }

.card-hover { transition: all 0.5s var(--transition-smooth); }
.card-hover:hover { box-shadow: var(--shadow-elevated); transform: translateY(-4px); }

.image-zoom { transition: transform 0.7s ease-out; }
.image-zoom:hover { transform: scale(1.05); }

.gradient-brand { background: linear-gradient(135deg, var(--color-primary), var(--color-navy-slate)); }
.gradient-gold { background: linear-gradient(135deg, var(--color-gold-bronze), var(--color-champagne)); }

/* -------------------------------------------------------------------------
   4. ANIMATIONS (Section 2.1) — per-element inventory
   ------------------------------------------------------------------------- */
@keyframes imcFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes imcSlideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes imcFadeUp { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
@keyframes imcScaleIn { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }

.animate-fade-in { animation: imcFadeIn 0.6s var(--transition-smooth) forwards; }
.animate-slide-up { animation: imcSlideUp 0.6s var(--transition-smooth) forwards; }

/* Scroll-reveal: fade + translateY(15px), staggered by --reveal-delay,
   duration 0.4s, easing cubic-bezier(0.25,0.4,0.25,1) — matches the
   framer-motion fadeUp variant used across the source sections. */
.reveal-item {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.4s cubic-bezier(0.25, 0.4, 0.25, 1), transform 0.4s cubic-bezier(0.25, 0.4, 0.25, 1);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }

/* Product/service/vision cards use a slightly longer duration to match
   the source's whileInView cards (0.4s, staggerChildren 0.08s). */
.reveal-card { opacity: 0; transform: translateY(15px); transition: opacity 0.4s cubic-bezier(0.25,0.4,0.25,1), transform 0.4s cubic-bezier(0.25,0.4,0.25,1); transition-delay: var(--reveal-delay, 0s); }
.reveal-card.is-visible { opacity: 1; transform: translateY(0); }

/* Always show reveal content in the Customizer preview — required fallback
   so live edits are visible even if the IntersectionObserver is suppressed
   by the preview iframe (Section 2.1.5). */
body.is-customizer .reveal-item,
body.is-customizer .reveal-card {
  opacity: 1 !important;
  transform: none !important;
}
/* No-JS fallback: if JS never runs, content must still be visible. */
html.no-js .reveal-item,
html.no-js .reveal-card { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal-item, .reveal-card { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* -------------------------------------------------------------------------
   5. HEADER
   ------------------------------------------------------------------------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; }

.site-header__announcement {
  background: var(--color-primary);
  color: var(--color-primary-foreground);
}
.site-header__announcement-inner { padding: 0.5rem 0; }
.site-header__announcement p {
  font-family: var(--font-eyebrow);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-align: center;
  color: color-mix(in srgb, var(--color-primary-foreground) 85%, transparent);
}
@media (min-width: 640px) { .site-header__announcement p { font-size: 0.75rem; } }
.site-header__announcement .accent-mark { color: var(--color-accent); }

.site-header__nav-wrap {
  transition: all 0.2s ease;
  border-bottom: 1px solid transparent;
  background: var(--color-background);
}
.site-header__nav-wrap.is-scrolled,
.site-header__nav-wrap.is-menu-open {
  background: color-mix(in srgb, var(--color-background) 95%, transparent);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--color-border);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

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

.site-header__brand {
  display: flex;
  align-items: center;
  padding: 0.25rem 0;
  min-height: 44px;
}
.site-header__brand img,
.site-header__brand .site-logo-img { height: var(--logo-height, 48px); width: auto; max-width: none; }
@media (min-width: 768px) { .site-header__brand img, .site-header__brand .site-logo-img { height: calc(var(--logo-height, 48px) * 1.333333); } }
.site-header__brand-text,
.site-logo-text { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: var(--color-foreground); }
.site-footer .site-logo-text { color: var(--color-primary-foreground); }

.page-title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.site-header__links {
  display: none;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
  margin-right: 0.5rem;
}
@media (min-width: 1024px) { .site-header__links { display: flex; } }
.theme-nav-list { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
@media (min-width: 1280px) { .theme-nav-list { gap: 1.5rem; } }
.site-header__mobile-menu .theme-nav-list { flex-direction: column; align-items: stretch; gap: 0; }
@media (min-width: 1280px) { .site-header__links { gap: 1.5rem; margin-right: 1rem; } }
.site-header__links a, .site-header__links button {
  font-family: var(--font-body);
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  padding: 0.75rem 0;
  color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
  transition: color 0.2s ease;
}
.site-header__links a:hover, .site-header__links button:hover { color: var(--color-accent); }

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

.site-header__cart-btn {
  position: relative;
  padding: 0.75rem;
  min-height: 44px;
  min-width: 44px;
  border-radius: var(--radius-md);
  color: var(--color-foreground);
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.site-header__cart-btn:hover { color: var(--color-accent); }
.site-header__cart-btn svg { width: 20px; height: 20px; }

.theme-cart-count {
  position: absolute;
  top: 4px; right: 4px;
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 600;
  background: var(--color-accent);
  color: var(--color-accent-foreground);
  border-radius: 999px;
  line-height: 1;
}
.theme-cart-count:empty { display: none; }

.site-header__menu-toggle {
  padding: 0.75rem;
  min-height: 44px;
  min-width: 44px;
  border-radius: var(--radius-md);
  color: var(--color-foreground);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 1024px) { .site-header__menu-toggle { display: none; } }
.site-header__menu-toggle svg { width: 20px; height: 20px; }

.site-header__mobile-menu {
  display: none;
  border-top: 1px solid var(--color-border);
  padding: 0.75rem 0;
  animation: imcFadeIn 0.6s var(--transition-smooth);
}
.site-header__mobile-menu.is-open { display: flex; flex-direction: column; }
@media (min-width: 1024px) { .site-header__mobile-menu { display: none !important; } }
.site-header__mobile-menu a, .site-header__mobile-menu button {
  font-family: var(--font-body);
  text-align: left;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 0.75rem 0.25rem;
  min-height: 44px;
  color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
}
.site-header__mobile-menu a:hover, .site-header__mobile-menu button:hover { color: var(--color-accent); }

/* -------------------------------------------------------------------------
   6. HERO
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-secondary);
  min-height: 100vh;
  min-height: 100dvh;
  padding: 8rem 0 4rem;
}
@media (min-width: 768px) { .hero { padding: 9rem 0 5rem; } }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    color-mix(in srgb, var(--color-background) 70%, transparent),
    color-mix(in srgb, var(--color-background) 55%, transparent),
    color-mix(in srgb, var(--color-background) 85%, transparent));
}
.hero__content { position: relative; z-index: 10; text-align: center; }
.hero__pill-row { display: flex; justify-content: center; }
.hero__pill { max-width: 100%; text-align: center; line-height: 1.6; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2.25rem;
  max-width: 56rem;
  margin: 1.5rem auto 1.25rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
@media (min-width: 768px) { .hero__title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero__title { font-size: 4.5rem; } }
.hero__subtitle {
  color: var(--color-muted-foreground);
  max-width: 42rem;
  margin: 0 auto 2.25rem;
  font-size: 1rem;
  line-height: 1.6;
}
@media (min-width: 768px) { .hero__subtitle { font-size: 1.125rem; } }
.hero__cta-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
  align-items: stretch;
  max-width: 28rem;
  margin: 0 auto;
}
@media (min-width: 640px) { .hero__cta-row { flex-direction: row; align-items: center; max-width: none; } }
.hero__note {
  margin-top: 2rem;
  font-family: var(--font-eyebrow);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-olive);
}

/* -------------------------------------------------------------------------
   7. BUTTONS
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: var(--btn-radius);
  font-family: var(--font-body);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  letter-spacing: var(--btn-letter-spacing);
  text-transform: var(--btn-text-transform);
  min-height: var(--btn-height);
  padding: var(--btn-padding);
  transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  border: none;
  cursor: pointer;
}
.btn svg { width: 1rem; height: 1rem; flex-shrink: 0; }
.btn-hero-primary, .btn-primary {
  background: var(--color-primary);
  color: var(--color-primary-foreground);
}
.btn-hero-primary:hover, .btn-primary:hover { background: var(--color-navy-slate); }
.btn-hero-outline, .btn-outline-accent {
  background: transparent;
  border: 1px solid var(--color-accent);
  color: var(--color-foreground);
}
.btn-hero-outline:hover, .btn-outline-accent:hover { background: color-mix(in srgb, var(--color-accent) 10%, transparent); }
.btn-lg { padding: 0 2rem; min-height: 48px; font-size: 1rem; }
.btn-full { width: 100%; }
@media (min-width: 640px) { .btn-auto-sm { width: auto; } }
.btn:disabled { opacity: 0.5; pointer-events: none; }

/* -------------------------------------------------------------------------
   8. GENERIC SECTION LAYOUT
   ------------------------------------------------------------------------- */
.section { scroll-margin-top: 7rem; }

.section-heading {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
}
/* Vertical rhythm only — horizontal padding comes from .container-wide on the same node. */
.section-inner { padding-top: 3rem; padding-bottom: 3rem; }
@media (min-width: 768px) { .section-inner { padding-top: 5rem; padding-bottom: 5rem; } }
@media (min-width: 1024px) { .section-inner { padding-top: 7rem; padding-bottom: 7rem; } }
.archive-inner { padding-top: 3rem; padding-bottom: 5rem; }
.fallback-inner { padding-top: 6rem; padding-bottom: 6rem; }
.bg-alt { background: var(--color-secondary); }
.bg-muted-section { background: var(--color-muted); }
.bg-page { background: var(--color-background); }

.section-eyebrow {
  display: block;
  font-family: var(--font-eyebrow);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-gold-bronze);
}
.section-lede {
  color: var(--color-muted-foreground);
  line-height: 1.6;
}

/* About */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.about-section .section-heading { font-size: 1.875rem; margin: 0.75rem 0 1.25rem; line-height: 1.25; }
@media (min-width: 768px) { .about-section .section-heading { font-size: 2.25rem; } }
@media (min-width: 1024px) { .about-section .section-heading { font-size: 3rem; } }
.about-figure { position: relative; order: -1; }
@media (min-width: 1024px) { .about-figure { order: 0; } }
.about-figure__frame {
  position: absolute;
  inset: -0.75rem;
  border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--color-accent) 40%, transparent);
  transform: translate(0.75rem, 0.75rem);
}
@media (min-width: 768px) { .about-figure__frame { inset: -1rem; transform: translate(1rem, 1rem); } }
.about-figure__image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-elevated);
  aspect-ratio: 4/3;
}
.about-body { color: var(--color-muted-foreground); line-height: 1.6; }
.about-body p + p { margin-top: 1rem; }
.values-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: 3.5rem; }
@media (min-width: 768px) { .values-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 5rem; } }
.value-card { padding: 1.5rem; }
.value-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--color-olive) 10%, transparent);
  color: var(--color-olive);
  margin-bottom: 1rem;
}
.value-card__icon svg { width: 20px; height: 20px; }
.value-card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; font-weight: 600; }
.value-card p { font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.6; }
.about-cta { margin-top: 2.5rem; text-align: center; }
@media (min-width: 768px) { .about-cta { margin-top: 3.5rem; } }

/* Services */
.services-section .section-heading { font-size: 1.875rem; margin: 0.75rem 0 1rem; }
@media (min-width: 768px) { .services-section .section-heading { font-size: 2.25rem; } }
@media (min-width: 1024px) { .services-section .section-heading { font-size: 3rem; } }
.section-heading-wrap { text-align: center; max-width: 42rem; margin: 0 auto 2.5rem; }
@media (min-width: 768px) { .section-heading-wrap { margin-bottom: 3.5rem; } }
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }
.service-card { overflow: hidden; display: flex; flex-direction: column; }
.service-card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--color-primary); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: transform 0.5s ease; }
.service-card:hover .service-card__media img { transform: scale(1.05); }
.service-card__media-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, color-mix(in srgb, var(--color-primary) 70%, transparent), color-mix(in srgb, var(--color-primary) 10%, transparent), transparent);
}
.service-card__icon {
  position: absolute; bottom: 0.75rem; left: 1rem;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius-md);
  background: var(--color-accent); color: var(--color-accent-foreground);
  box-shadow: var(--shadow-gold);
}
.service-card__icon svg { width: 20px; height: 20px; }
.service-card__body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
@media (min-width: 1024px) { .service-card__body { padding: 1.5rem; } }
.service-card__subtitle { font-family: var(--font-eyebrow); font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--color-gold-bronze); }
.service-card__title { font-size: 1.5rem; margin: 0.5rem 0 0.75rem; line-height: 1.3; }
.service-card__desc { font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.6; flex: 1; }

.focus-panel { margin-top: 2rem; border-radius: var(--radius); border: 1px solid var(--color-olive-border); background: var(--color-background); padding: 1.5rem; }
@media (min-width: 768px) { .focus-panel { margin-top: 2.5rem; padding: 2rem; } }
.focus-panel h3 { font-size: 1.5rem; margin: 0.5rem 0 0.75rem; }
@media (min-width: 768px) { .focus-panel h3 { font-size: 1.875rem; } }
.focus-panel p { font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.6; max-width: 48rem; }
.focus-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.focus-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border-radius: var(--radius-md);
  border: 1px solid color-mix(in srgb, var(--color-accent) 40%, transparent);
  background: color-mix(in srgb, var(--color-accent) 10%, transparent);
  padding: 0.5rem 0.75rem; font-size: 0.875rem;
  color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
}
.focus-tag svg { width: 1rem; height: 1rem; color: var(--color-olive); flex-shrink: 0; }

.info-cards { margin-top: 1.5rem; display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .info-cards { grid-template-columns: repeat(2, 1fr); margin-top: 2rem; gap: 1.5rem; } }
.info-card { padding: 1.5rem; display: flex; gap: 1rem; align-items: flex-start; }
.info-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius-md); flex-shrink: 0;
  background: color-mix(in srgb, var(--color-olive) 10%, transparent); color: var(--color-olive);
}
.info-card__icon svg { width: 20px; height: 20px; }
.info-card h3 { font-size: 1.5rem; margin-bottom: 0.25rem; }
.info-card p { font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.6; }
.services-cta { text-align: center; margin-top: 2.5rem; }

/* EMDR */
.emdr-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
@media (min-width: 1024px) { .emdr-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.emdr-sticky { position: static; }
@media (min-width: 1024px) { .emdr-sticky { position: sticky; top: 7rem; } }
.emdr-section .section-heading { font-size: 1.875rem; margin: 0.75rem 0 1.25rem; line-height: 1.25; }
@media (min-width: 768px) { .emdr-section .section-heading { font-size: 2.25rem; } }
@media (min-width: 1024px) { .emdr-section .section-heading { font-size: 3rem; } }
.emdr-body { color: var(--color-muted-foreground); line-height: 1.6; }
.emdr-body p + p { margin-top: 1rem; }
.emdr-cta { margin-top: 2rem; }
.emdr-cards { display: flex; flex-direction: column; gap: 1.25rem; }
@media (min-width: 768px) { .emdr-cards { gap: 1.5rem; } }
.emdr-card { padding: 1.5rem; }
@media (min-width: 768px) { .emdr-card { padding: 2rem; } }
.emdr-card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.emdr-card .body-copy { font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.6; }
@media (min-width: 768px) { .emdr-card .body-copy { font-size: 1rem; } }
.emdr-card .body-copy p + p { margin-top: 0.75rem; }
.emdr-card > p { font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.6; }
.emdr-card > p:first-of-type { margin-bottom: 1rem; }
.emdr-list { display: flex; flex-direction: column; gap: 0.5rem; }
@media (min-width: 640px) { .emdr-list { flex-direction: row; gap: 1.5rem; } }
.emdr-list__col { flex: 1; display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; }
.emdr-list li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); }
.emdr-list svg { width: 1rem; height: 1rem; color: var(--color-olive); flex-shrink: 0; margin-top: 0.125rem; }
.emdr-list + p { margin-top: 1rem; font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.6; }
.emdr-callout { border-radius: var(--radius); background: var(--color-primary); padding: 1.5rem; color: var(--color-primary-foreground); }
@media (min-width: 768px) { .emdr-callout { padding: 2rem; } }
.emdr-callout h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .emdr-callout h3 { font-size: 1.875rem; } }
.emdr-callout .body-copy { color: color-mix(in srgb, var(--color-primary-foreground) 75%, transparent); font-size: 0.875rem; line-height: 1.6; }
@media (min-width: 768px) { .emdr-callout .body-copy { font-size: 1rem; } }
.emdr-callout .body-copy p + p { margin-top: 0.75rem; }

/* Check-list icon used across About/EMDR/Founder */
.check-item { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); }
.check-item svg { width: 1rem; height: 1rem; color: var(--color-olive); flex-shrink: 0; margin-top: 0.125rem; }

/* -------------------------------------------------------------------------
   9. PRODUCTS / SHOP SECTION (homepage embedded shop — no separate archive)
   ------------------------------------------------------------------------- */
.products-feature-stack { display: flex; flex-direction: column; gap: 3.5rem; margin-bottom: 3.5rem; }
@media (min-width: 1024px) { .products-feature-stack { gap: 5rem; margin-bottom: 5rem; } }
.products-intro-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .products-intro-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
@media (min-width: 1024px) {
  .products-intro-grid--reverse .product-feature-figure { order: 2; }
  .products-intro-grid--reverse .product-feature__content { order: 1; }
}
.products-section .products-intro-grid .section-lede { margin-bottom: 1.5rem; }
@media (min-width: 768px) { .products-section .products-intro-grid .section-lede { margin-bottom: 2rem; } }
.product-feature-figure { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-elevated); background: var(--color-secondary); }
.product-feature-figure img { width: 100%; height: auto; max-height: 600px; object-fit: contain; margin: 0 auto; padding: 1rem; }
@media (min-width: 768px) { .product-feature-figure img { padding: 1.5rem; } }
.product-feature-figure .gold-pill { position: absolute; bottom: 1rem; left: 1rem; background: color-mix(in srgb, var(--color-background) 90%, transparent); backdrop-filter: blur(4px); }
.products-section .section-heading { font-size: 1.875rem; margin: 0.75rem 0 1rem; line-height: 1.3; }
@media (min-width: 768px) { .products-section .section-heading { font-size: 2.25rem; } }
@media (min-width: 1024px) { .products-section .section-heading { font-size: 3rem; } }
.products-cta-row { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 0; }
@media (min-width: 640px) { .products-cta-row { flex-direction: row; } }

/* Donate page */
.donate-page__header { max-width: 42rem; margin-bottom: 2.5rem; }
.donate-page__header .section-heading { font-size: 2.25rem; margin: 0.75rem 0 1rem; }
@media (min-width: 768px) { .donate-page__header .section-heading { font-size: 3rem; } }
.donate-page__intro { margin-bottom: 0; }
.donate-page__notice { padding: 1.5rem; margin-top: 1rem; }
.donation-tiers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}
@media (min-width: 640px) { .donation-tiers { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .donation-tiers { grid-template-columns: repeat(4, 1fr); } }
.donation-tier {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 1.5rem;
  text-align: left;
  cursor: pointer;
  border: 1px solid var(--color-border);
  background: var(--color-card);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.donation-tier:hover { border-color: color-mix(in srgb, var(--color-accent) 50%, transparent); box-shadow: var(--shadow-md); }
.donation-tier__label {
  font-family: var(--font-eyebrow);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-gold-bronze);
}
.donation-tier__amount { font-family: var(--font-display); font-size: 1.75rem; font-weight: 600; color: var(--color-foreground); }
.donation-tier__action { font-size: 0.875rem; color: var(--color-accent); margin-top: 0.5rem; }
.donate-custom { padding: 1.5rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .donate-custom { padding: 2rem; } }
.donate-custom__title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; margin-bottom: 0.5rem; }
.donate-custom__hint { font-size: 0.875rem; color: var(--color-muted-foreground); margin-bottom: 1.25rem; }
.donate-custom__row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.donate-custom__currency { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.donate-custom__row input[type="number"] {
  flex: 1;
  min-width: 8rem;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
}
.donate-custom__error { margin-top: 0.75rem; font-size: 0.875rem; color: var(--color-destructive, #b42318); }

.shop-heading { font-family: var(--font-display); font-size: 1.875rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 1rem; }
@media (min-width: 768px) { .shop-heading { font-size: 2.25rem; } }

.category-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 2.5rem; }
.category-filter {
  font-family: var(--font-eyebrow);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.75rem 1rem;
  min-height: 44px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-card);
  color: var(--color-muted-foreground);
  transition: all 0.2s ease;
}
.category-filter:hover { border-color: var(--color-accent); color: var(--color-accent); }
.category-filter.is-active { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }
.category-filter__icon { display: inline-flex; margin-right: 0.35rem; vertical-align: middle; }
.category-filter__icon svg { width: 1rem; height: 1rem; }

.theme-product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  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(4, minmax(0,1fr)); gap: 1.5rem; } }

.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }
.theme-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.theme-product-card__image-link {
  display: block;
  position: relative;
  aspect-ratio: 1/1;
  background: var(--color-secondary);
  overflow: hidden;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.theme-product-card__image-link::after {
  content: '';
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--color-foreground) 0%, transparent);
  transition: background-color 0.5s ease;
  pointer-events: none;
}
.theme-product-card:hover .theme-product-card__image-link {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--color-accent) 50%, transparent);
  box-shadow: 0 4px 14px -3px rgba(20,28,46,0.12);
}
.theme-product-card:hover .theme-product-card__image-link::after {
  background: color-mix(in srgb, var(--color-foreground) 5%, transparent);
}
.theme-product-card__image-link img,
.theme-product-card__image-link .product-card-img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25,0.4,0.25,1);
}
.theme-product-card:hover .theme-product-card__image-link img { transform: scale(1.08); }
.theme-product-card__image-link.is-sold-out img,
.theme-product-card__badge--soldout ~ img { opacity: 0.6; }
.theme-product-card__badge {
  position: absolute; top: 0.5rem; left: 0.5rem;
  padding: 0.375rem 0.75rem;
  font-family: var(--font-eyebrow);
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
  border-radius: var(--radius-md);
  background: var(--color-primary); color: var(--color-primary-foreground);
}
@media (min-width: 768px) { .theme-product-card__badge { top: 0.75rem; left: 0.75rem; } }
.theme-product-card__info { padding: 0 0.25rem; flex: 1; }
.theme-product-card__title {
  font-family: var(--font-body);
  font-size: 1rem; font-weight: 500;
  transition: color 0.2s ease;
}
.theme-product-card:hover .theme-product-card__title { color: var(--color-accent); }
.theme-product-card__price {
  font-family: var(--font-eyebrow);
  font-size: 0.875rem; font-weight: 600;
  color: var(--color-accent);
  margin-top: 0.25rem;
}
.shop-empty { text-align: center; color: var(--color-muted-foreground); padding: 2rem 0; }

/* -------------------------------------------------------------------------
   10. PRICING
   ------------------------------------------------------------------------- */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
@media (min-width: 1024px) { .pricing-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.pricing-sticky { position: static; }
@media (min-width: 1024px) { .pricing-sticky { position: sticky; top: 7rem; } }
.pricing-section .section-heading { font-size: 1.875rem; margin: 0.75rem 0 1rem; }
@media (min-width: 768px) { .pricing-section .section-heading { font-size: 2.25rem; } }
@media (min-width: 1024px) { .pricing-section .section-heading { font-size: 3rem; } }
.pricing-list { border-radius: var(--radius); background: var(--color-card); border: 1px solid var(--color-border); box-shadow: var(--shadow-soft); overflow: hidden; }
.pricing-list li { border-bottom: 1px solid var(--color-border); }
.pricing-list li:last-child { border-bottom: none; }
.pricing-row {
  display: flex; flex-direction: column; gap: 0.5rem;
  padding: 1.25rem; transition: background-color 0.2s ease;
}
@media (min-width: 768px) { .pricing-row { flex-direction: row; align-items: center; justify-content: space-between; padding: 1.5rem 1.75rem; } }
.pricing-row:hover { background: color-mix(in srgb, var(--color-secondary) 60%, transparent); }
.pricing-row.is-featured { background: color-mix(in srgb, var(--color-accent) 5%, transparent); }
.pricing-row__meta { min-width: 0; }
.pricing-row__name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
@media (min-width: 768px) { .pricing-row__name { font-size: 1.5rem; } }
.pricing-row__duration { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.25rem; }
.pricing-row__duration svg { width: 1rem; height: 1rem; color: var(--color-olive); flex-shrink: 0; }
.pricing-row__price { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--color-accent); flex-shrink: 0; }
@media (min-width: 768px) { .pricing-row__price { font-size: 1.875rem; text-align: right; } }

/* -------------------------------------------------------------------------
   11. FOUNDER
   ------------------------------------------------------------------------- */
.founder-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: stretch; }
@media (min-width: 1024px) { .founder-grid { grid-template-columns: 1fr 36%; gap: 4rem; } }
.founder-section .section-heading { font-size: 1.875rem; margin: 0.75rem 0 1.25rem; line-height: 1.25; }
@media (min-width: 768px) { .founder-section .section-heading { font-size: 2.25rem; } }
@media (min-width: 1024px) { .founder-section .section-heading { font-size: 3rem; } }
.founder-body { color: var(--color-muted-foreground); line-height: 1.6; }
.founder-body p + p { margin-top: 1rem; }
.founder-highlights { display: grid; grid-template-columns: 1fr; gap: 0.5rem 1.5rem; margin-top: 1.75rem; }
@media (min-width: 640px) { .founder-highlights { grid-template-columns: repeat(2, 1fr); } }
.founder-research { margin-top: 1.75rem; border-radius: var(--radius); border: 1px solid var(--color-olive-border); background: var(--color-secondary); padding: 1.25rem 1.5rem; }
.founder-research a { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.75rem; min-height: 44px; font-size: 0.875rem; font-weight: 600; color: var(--color-accent); }
.founder-research a:hover { text-decoration: underline; }
.founder-research a svg { width: 1rem; height: 1rem; }
.founder-figure { position: relative; order: -1; }
@media (min-width: 1024px) { .founder-figure { order: 1; height: 100%; } }
.founder-figure__frame {
  position: absolute; inset: -0.75rem; border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--color-accent) 40%, transparent);
  transform: translate(-0.75rem, 0.75rem);
}
@media (min-width: 768px) { .founder-figure__frame { inset: -1rem; transform: translate(-1rem, 1rem); } }
.founder-figure__image {
  position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-elevated);
  aspect-ratio: 4/5; background: var(--color-secondary);
}
@media (min-width: 1024px) { .founder-figure__image { aspect-ratio: auto; position: absolute; inset: 0; } }

/* -------------------------------------------------------------------------
   12. VISION FOR THE FUTURE
   ------------------------------------------------------------------------- */
.vision-section .section-inner { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .vision-section .section-inner { padding-top: 6rem; padding-bottom: 6rem; } }
@media (min-width: 1024px) { .vision-section .section-inner { padding-top: 8rem; padding-bottom: 8rem; } }
.vision-intro { max-width: 48rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .vision-intro { margin-bottom: 3.5rem; } }
.vision-section .section-heading { font-size: 1.875rem; margin: 0.75rem 0 1.25rem; line-height: 1.25; }
@media (min-width: 768px) { .vision-section .section-heading { font-size: 2.25rem; } }
@media (min-width: 1024px) { .vision-section .section-heading { font-size: 3rem; } }
.vision-intro .body-copy { color: var(--color-muted-foreground); line-height: 1.6; }
.vision-intro .body-copy p + p { margin-top: 1rem; }
.vision-topics-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .vision-topics-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .vision-topics-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.vision-topic-card {
  position: relative;
  overflow: hidden;
  text-align: left;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  min-height: 220px;
}
@media (min-width: 768px) { .vision-topic-card { padding: 1.75rem; } }
.vision-topic-card__bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0.2; transition: opacity 0.5s ease, transform 0.5s ease;
}
.vision-topic-card:hover .vision-topic-card__bg { opacity: 0.3; transform: scale(1.05); }
.vision-topic-card__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, color-mix(in srgb, var(--color-card) 85%, transparent), color-mix(in srgb, var(--color-card) 65%, transparent), color-mix(in srgb, var(--color-card) 35%, transparent));
}
.vision-topic-card__icon {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--color-olive) 10%, transparent); color: var(--color-olive);
  margin-bottom: 1rem;
}
.vision-topic-card__icon svg { width: 20px; height: 20px; }
.vision-topic-card__title { position: relative; font-size: 1.5rem; margin-bottom: 0.5rem; }
.vision-topic-card__teaser { position: relative; font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.6; flex: 1; }
.vision-topic-card__more {
  position: relative; display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1rem;
  font-family: var(--font-eyebrow); font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--color-gold-bronze); transition: color 0.2s ease;
}
.vision-topic-card:hover .vision-topic-card__more { color: var(--color-accent); }
.vision-topic-card__more svg { width: 0.875rem; height: 0.875rem; }

.growth-panel { margin-top: 1.5rem; border-radius: var(--radius); border: 1px solid var(--color-olive-border); background: var(--color-background); padding: 1.5rem; }
@media (min-width: 768px) { .growth-panel { margin-top: 2rem; padding: 2rem; } }
.growth-panel h3 { font-size: 1.5rem; margin: 0.5rem 0 1rem; }
@media (min-width: 768px) { .growth-panel h3 { font-size: 1.875rem; } }
.growth-list { display: grid; grid-template-columns: 1fr; gap: 0.5rem 1.5rem; }
@media (min-width: 640px) { .growth-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .growth-list { grid-template-columns: repeat(3, 1fr); } }
.growth-list li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); }
.growth-list svg { width: 1rem; height: 1rem; color: var(--color-accent); flex-shrink: 0; margin-top: 0.125rem; }

.looking-ahead { margin-top: 1.5rem; border-radius: var(--radius); background: var(--color-primary); padding: 1.5rem 1.5rem; color: var(--color-primary-foreground); }
@media (min-width: 768px) { .looking-ahead { margin-top: 2rem; padding: 2.5rem; } }
.looking-ahead .eyebrow { font-family: var(--font-eyebrow); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.22em; color: var(--color-accent); }
.looking-ahead .body-copy { margin-top: 0.75rem; color: color-mix(in srgb, var(--color-primary-foreground) 80%, transparent); line-height: 1.6; max-width: 56rem; }
.looking-ahead .body-copy p + p { margin-top: 1rem; }
.looking-ahead .body-copy .emphasis { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: var(--color-primary-foreground); }
@media (min-width: 768px) { .looking-ahead .body-copy .emphasis { font-size: 1.5rem; } }

.ways-to-give { margin-top: 2.5rem; }
@media (min-width: 768px) { .ways-to-give { margin-top: 3.5rem; } }
.ways-to-give h3 { font-size: 1.5rem; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .ways-to-give h3 { font-size: 1.875rem; margin-bottom: 1.5rem; } }
.give-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .give-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.give-card { padding: 1.5rem; display: flex; flex-direction: column; }
@media (min-width: 768px) { .give-card { padding: 1.75rem; } }
.give-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--radius-md); margin-bottom: 1rem; }
.give-card__icon svg { width: 20px; height: 20px; }
.give-card--donate .give-card__icon { background: color-mix(in srgb, var(--color-accent) 15%, transparent); color: var(--color-gold-bronze); }
.give-card--volunteer .give-card__icon, .give-card--intern .give-card__icon { background: color-mix(in srgb, var(--color-olive) 10%, transparent); color: var(--color-olive); }
.give-card h4 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.give-card p { font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.6; flex: 1; }
.give-card__cta {
  margin-top: 1.25rem; display: inline-flex; width: 100%; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0 1.5rem; border-radius: var(--radius-md);
  font-size: 0.875rem; font-weight: 600; transition: background-color 0.2s ease, opacity 0.2s ease;
}
.give-card__cta svg { width: 1rem; height: 1rem; }
.give-card--donate .give-card__cta { background: var(--color-primary); color: var(--color-primary-foreground); }
.give-card--donate .give-card__cta:hover { background: var(--color-navy-slate); }
.give-card--volunteer .give-card__cta, .give-card--intern .give-card__cta {
  background: transparent; border: 1px solid var(--color-accent); color: var(--color-foreground);
}
.give-card--volunteer .give-card__cta:hover, .give-card--intern .give-card__cta:hover { background: color-mix(in srgb, var(--color-accent) 10%, transparent); }

.donation-progress { margin-top: 1.25rem; }
.donation-progress__row { display: flex; align-items: baseline; justify-content: space-between; font-size: 0.875rem; }
.donation-progress__raised { font-weight: 600; }
.donation-progress__goal { color: var(--color-muted-foreground); }
.donation-progress__bar { margin-top: 0.5rem; height: 12px; width: 100%; border-radius: 999px; background: var(--color-muted); overflow: hidden; }
.donation-progress__fill { height: 100%; border-radius: 999px; transition: width 0.7s ease; }

/* Vision dialog modal */
.imc-dialog-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(20, 28, 46, 0.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.imc-dialog-overlay.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.imc-dialog {
  position: fixed; left: 50%; top: 50%; z-index: 101;
  width: calc(100% - 2rem);
  max-width: 42rem;
  max-height: 85dvh;
  overflow-y: auto;
  background: var(--color-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-elevated);
  padding: 1.5rem;
  transform: translate(-50%, -48%) scale(0.96);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}
@media (min-width: 768px) { .imc-dialog { padding: 2rem; } }
.imc-dialog.is-open { transform: translate(-50%, -50%) scale(1); opacity: 1; visibility: visible; pointer-events: auto; }
.imc-dialog__close {
  position: absolute; top: 1rem; right: 1rem;
  width: 32px; height: 32px; border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--color-muted-foreground);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.imc-dialog__close:hover { background: var(--color-muted); color: var(--color-foreground); }
.imc-dialog__close svg { width: 1rem; height: 1rem; }
.imc-dialog h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; font-size: 1.5rem; text-align: left; }
@media (min-width: 768px) { .imc-dialog h2 { font-size: 1.875rem; } }
.imc-dialog__desc { margin-top: 0.5rem; font-family: var(--font-body); text-align: left; color: var(--color-muted-foreground); }
.imc-dialog__list { margin-top: 0.75rem; display: flex; flex-direction: column; gap: 0.5rem; }
.imc-dialog__list li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); }
@media (min-width: 768px) { .imc-dialog__list li { font-size: 1rem; } }
.imc-dialog__list svg { width: 1rem; height: 1rem; color: var(--color-olive); flex-shrink: 0; margin-top: 0.2rem; }
body.imc-dialog-open { overflow: hidden; }

/* -------------------------------------------------------------------------
   13. TESTIMONIALS
   ------------------------------------------------------------------------- */
.testimonials-section { position: relative; isolation: isolate; overflow: hidden; background: var(--color-primary); }
.testimonials-section__bg {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom right, var(--color-primary), color-mix(in srgb, var(--color-primary) 95%, transparent), var(--color-navy-obsidian));
}
.testimonials-section .section-heading { color: var(--color-primary-foreground); font-size: 1.875rem; margin: 0.75rem 0 1rem; }
@media (min-width: 768px) { .testimonials-section .section-heading { font-size: 2.25rem; } }
@media (min-width: 1024px) { .testimonials-section .section-heading { font-size: 3rem; } }
.testimonials-section .section-eyebrow { color: var(--color-accent); }
.testimonials-section .section-lede { color: color-mix(in srgb, var(--color-primary-foreground) 70%, transparent); }
.testimonials-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.testimonial-card {
  border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--color-accent) 25%, transparent);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(6px);
  padding: 1.5rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.testimonial-card:hover { border-color: color-mix(in srgb, var(--color-accent) 60%, transparent); box-shadow: 0 4px 14px -3px rgba(0,0,0,0.2); }
.testimonial-card svg.quote-icon { width: 1.5rem; height: 1.5rem; color: var(--color-accent); margin-bottom: 1rem; }
.testimonial-card__quote { font-family: var(--font-display); font-size: 1.25rem; font-style: italic; line-height: 1.6; color: var(--color-primary-foreground); }
.testimonial-card__footer { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.1); }
.testimonial-card__name { font-family: var(--font-eyebrow); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--color-accent); }
.testimonial-card__detail { font-size: 0.875rem; color: color-mix(in srgb, var(--color-primary-foreground) 60%, transparent); margin-top: 0.25rem; }
.testimonials-note { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; margin-top: 2.5rem; }
@media (min-width: 640px) { .testimonials-note { flex-direction: row; } }
.testimonials-note svg { width: 1.25rem; height: 1.25rem; color: var(--color-accent); }
.testimonials-note p { font-size: 0.875rem; color: color-mix(in srgb, var(--color-primary-foreground) 70%, transparent); text-align: center; }

/* -------------------------------------------------------------------------
   14. CONTACT SECTION
   ------------------------------------------------------------------------- */
.contact-section { position: relative; overflow: hidden; background: var(--color-background); scroll-margin-top: 7rem; }
.contact-section__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact-section__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    color-mix(in srgb, var(--color-background) 70%, transparent),
    color-mix(in srgb, var(--color-background) 55%, transparent),
    color-mix(in srgb, var(--color-background) 85%, transparent));
}
.contact-section__blob { position: absolute; pointer-events: none; width: 24rem; height: 24rem; border-radius: 999px; filter: blur(64px); }
.contact-section__blob--a { top: -8rem; left: -8rem; background: color-mix(in srgb, var(--color-accent) 10%, transparent); }
.contact-section__blob--b { bottom: -8rem; right: -8rem; background: color-mix(in srgb, var(--color-olive) 15%, transparent); }
.contact-grid { position: relative; z-index: 10; display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: stretch; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: repeat(2, 1fr); gap: 4rem; } }
.contact-panel {
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex; flex-direction: column; justify-content: center; height: 100%;
  border: 1px solid var(--color-border);
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-elevated);
}
@media (min-width: 768px) { .contact-panel { padding: 2.5rem; } }
@media (min-width: 1024px) { .contact-panel { padding: 3rem; } }
.contact-panel .section-heading { font-size: 1.875rem; margin-bottom: 1rem; line-height: 1.25; }
@media (min-width: 768px) { .contact-panel .section-heading { font-size: 2.25rem; } }
@media (min-width: 1024px) { .contact-panel .section-heading { font-size: 3rem; } }
.contact-panel p.section-lede { margin-bottom: 2rem; font-size: 1rem; }
@media (min-width: 768px) { .contact-panel p.section-lede { font-size: 1.125rem; } }
.contact-details { display: flex; flex-direction: column; gap: 0.25rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--color-border); }
.contact-details a, .contact-details p {
  display: flex; align-items: center; gap: 0.5rem; color: var(--color-muted-foreground);
  font-size: 0.875rem; padding: 0.5rem 0; min-height: 44px;
}
.contact-details a { word-break: break-all; }
.contact-details a:hover { color: var(--color-accent); }
.contact-details svg { width: 1rem; height: 1rem; flex-shrink: 0; }
.contact-details p { align-items: flex-start; }

.contact-form-panel {
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex; flex-direction: column; height: 100%;
  border: 1px solid var(--color-border);
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-elevated);
}
@media (min-width: 768px) { .contact-form-panel { padding: 2.5rem; } }
.contact-form-panel h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; font-size: 1.5rem; margin-bottom: 1.5rem; }
.contact-form-panel .section-eyebrow { margin-bottom: 0.5rem; }
@media (min-width: 768px) { .contact-form-panel h2 { font-size: 1.875rem; } }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; flex: 1; }
.contact-form__row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .contact-form__row { grid-template-columns: repeat(2, 1fr); } }
.contact-form label { font-size: 0.875rem; font-weight: 500; margin-bottom: 0.5rem; display: block; }
.contact-form input, .contact-form textarea {
  width: 100%; min-height: 44px; padding: 0.75rem 1rem;
  background: #ffffff; border: 1px solid var(--color-border); border-radius: var(--radius-md);
  font-size: 0.875rem; color: var(--color-foreground);
  transition: box-shadow 0.2s ease;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: color-mix(in srgb, var(--color-muted-foreground) 70%, transparent); }
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-accent) 60%, transparent);
}
.contact-form__message-wrap { display: flex; flex-direction: column; flex: 1; }
.contact-form__message-wrap textarea { flex: 1; min-height: 140px; resize: none; }
.contact-form__notice { font-size: 0.75rem; color: var(--color-muted-foreground); line-height: 1.6; }
.contact-form__submit { width: 100%; }
.contact-form__success[hidden] { display: none !important; }
.contact-form__success:not([hidden]) { text-align: center; padding: 2.5rem 0; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.contact-form__success-icon {
  width: 64px; height: 64px; border-radius: 999px;
  background: color-mix(in srgb, var(--color-accent) 20%, transparent);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem;
}
.contact-form__success-icon svg { width: 2rem; height: 2rem; color: var(--color-accent); }
.contact-form__success h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; margin-bottom: 0.5rem; }
.contact-form__success p { color: var(--color-muted-foreground); }
.contact-form__error { font-size: 0.8125rem; color: #b3261e; }

/* -------------------------------------------------------------------------
   15. FOOTER
   ------------------------------------------------------------------------- */
.site-footer { background: var(--color-primary); color: var(--color-primary-foreground); border-top: 1px solid color-mix(in srgb, var(--color-accent) 20%, transparent); }
.site-footer__inner { padding: 3rem 0 2rem; }
@media (min-width: 768px) { .site-footer__inner { padding: 4rem 0 2rem; } }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); gap: 3rem; } }
.footer-col--brand { grid-column: span 1; }
@media (min-width: 1024px) { .footer-col--brand { grid-column: span 2; } }
.footer-col--brand img,
.footer-col--brand .site-logo-img { height: 80px; width: auto; max-width: none; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-col--brand p { margin-top: 1.25rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-primary-foreground) 70%, transparent); max-width: 28rem; line-height: 1.6; }
.footer-col h4 { font-family: var(--font-eyebrow); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.22em; color: var(--color-accent); margin-bottom: 1rem; }
.footer-nav-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 1.5rem; }
.footer-nav-cols .theme-nav-list { align-items: flex-start; flex-wrap: nowrap; }
.footer-nav-cols ul { display: flex; flex-direction: column; gap: 0.25rem; }
.footer-col a, .footer-col button, .footer-col p {
  font-size: 0.875rem; color: color-mix(in srgb, var(--color-primary-foreground) 70%, transparent);
  padding: 0.5rem 0; min-height: 44px; display: flex; align-items: center; gap: 0.5rem; text-align: left;
}
.footer-col .footer-address {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--color-primary-foreground) 70%, transparent);
  padding: 0.5rem 0;
  min-height: 44px;
  line-height: 1.5;
}
.footer-col .footer-address svg { flex-shrink: 0; margin-top: 0.125rem; }
.footer-col a:hover, .footer-col button:hover { color: var(--color-accent); }
.footer-col svg { width: 1rem; height: 1rem; flex-shrink: 0; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); display: flex; flex-direction: column; gap: 0.75rem; align-items: center; justify-content: space-between; }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; } }
.footer-bottom p { font-size: 0.75rem; color: color-mix(in srgb, var(--color-primary-foreground) 60%, transparent); text-align: center; }
@media (min-width: 768px) { .footer-bottom p:first-child { text-align: left; } .footer-bottom p:last-child { text-align: right; } }
.footer-bottom a { color: var(--color-accent); }
.footer-bottom a:hover { text-decoration: underline; }

/* -------------------------------------------------------------------------
   16. SIDE CART DRAWER
   ------------------------------------------------------------------------- */
#theme-cart-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: color-mix(in srgb, var(--color-foreground) 20%, transparent);
  opacity: 0; visibility: hidden;
  pointer-events: none;
  transition: opacity 0.6s var(--transition-smooth), visibility 0.6s var(--transition-smooth);
}
body.cart-open #theme-cart-overlay { opacity: 1; visibility: visible; 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: 91; box-shadow: var(--shadow-elevated);
  display: flex; flex-direction: column;
  opacity: 0;
  transform: translateY(20px);
  visibility: hidden;
}
body.cart-open #theme-cart-drawer {
  visibility: visible;
  animation: imcSlideUp 0.6s var(--transition-smooth) forwards;
}
#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__header h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.theme-cart-drawer__close { padding: 0.25rem; transition: opacity 0.2s ease; }
.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: 80px; height: 96px; background: var(--color-secondary); overflow: hidden; flex-shrink: 0; border-radius: var(--radius-md); position: relative; display: block; }
.theme-cart-item__image img,
.theme-cart-item__image .cover-img { width: 100%; height: 100% !important; object-fit: cover; }
.theme-cart-item__body { flex: 1; min-width: 0; }
.theme-cart-item__title { 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__title:hover { opacity: 0.7; }
.theme-cart-item__meta { font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.125rem; }
.theme-cart-item__price { font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.125rem; }
.theme-cart-item__controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-item__qty-btn { padding: 0.25rem; border-radius: var(--radius-sm); transition: background-color 0.2s ease; }
.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 { 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); 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 { display: flex; justify-content: space-between; font-size: 0.875rem; }
.theme-cart-drawer__subtotal-label { color: var(--color-muted-foreground); }
.theme-cart-drawer__subtotal-value { font-weight: 500; }
.theme-cart-drawer__shipping-note { font-size: 0.75rem; color: var(--color-muted-foreground); }
.theme-cart-drawer__checkout-btn { width: 100%; }

/* Hide WooCommerce's own "View cart" link injected after AJAX add */
.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; }

/* -------------------------------------------------------------------------
   17. SINGLE PRODUCT PAGE
   ------------------------------------------------------------------------- */
.theme-product-back { display: inline-flex; align-items: center; font-size: 0.875rem; color: var(--color-muted-foreground); padding: 1.5rem 0; transition: color 0.2s ease; }
.theme-product-back:hover { color: var(--color-foreground); }
.theme-product-back svg { width: 1rem; height: 1rem; margin-right: 0.5rem; }

.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 5rem; min-width: 0; }
@media (min-width: 768px) { .theme-product-layout { grid-template-columns: repeat(2, 1fr); gap: 4rem; } }

.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }

#product-main-img-wrap { aspect-ratio: 3/4; background: var(--color-secondary); overflow: hidden; margin-bottom: 1rem; border-radius: var(--radius); position: relative; }
#product-main-img,
#product-main-img.cover-img { width: 100%; height: 100% !important; object-fit: cover; }
.theme-product-thumbnails { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.5rem; flex-wrap: wrap; max-width: 100%; }
.theme-product-thumb {
  aspect-ratio: 1/1; overflow: hidden; border-radius: var(--radius-md);
  border: 2px solid transparent; opacity: 0.6; transition: all 0.2s ease; padding: 0;
}
.theme-product-thumb img { width: 100%; height: 100% !important; object-fit: cover; }
.theme-product-thumb:hover { opacity: 1; }
.theme-product-thumb.is-active { border-color: var(--color-primary); opacity: 1; }

.theme-product-category { font-size: 0.875rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); }
.product-title, .theme-product-info h1.product-title {
  font-family: var(--font-display);
  font-size: 1.875rem; font-weight: 600; margin: 0.5rem 0 1rem; letter-spacing: -0.01em;
}
@media (min-width: 768px) { .product-title { font-size: 2.25rem; } }
.theme-product-price { font-size: 1.5rem; font-weight: 600; color: var(--color-accent); margin-bottom: 1.5rem; }
.theme-product-price .unit { font-size: 0.875rem; color: var(--color-muted-foreground); font-weight: 400; margin-left: 0.25rem; }
.theme-product-price del { color: var(--color-muted-foreground); opacity: 0.6; margin-right: 0.5rem; font-weight: 400; }
.theme-product-stock { display: inline-flex; align-items: center; margin-bottom: 1.5rem; font-size: 0.875rem; font-weight: 600; }
.theme-product-stock.out-of-stock { color: #b3261e; }
.theme-product-description { color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 2rem; white-space: pre-line; overflow-wrap: break-word; word-break: break-word; }

.theme-add-to-cart-area { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.theme-quantity-wrapper { display: flex; align-items: center; border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.theme-qty-minus, .theme-qty-plus { padding: 0.75rem 1rem; transition: background-color 0.2s ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-minus svg, .theme-qty-plus svg { width: 1rem; height: 1rem; }
.theme-qty-input {
  width: 3rem; text-align: center; border: none; background: transparent;
  padding: 0.75rem 0; -moz-appearance: textfield;
}
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }

.theme-product-details-block { border-top: 1px solid var(--color-border); padding-top: 2rem; }
.theme-product-details-block h3 { font-size: 1rem; font-weight: 600; margin-bottom: 1rem; font-family: var(--font-body); }
.theme-product-details-list li { font-size: 0.875rem; color: var(--color-muted-foreground); display: flex; align-items: flex-start; margin-bottom: 0.5rem; }
.theme-product-details-list .dot { width: 6px; height: 6px; background: var(--color-accent); border-radius: 999px; margin-top: 0.5rem; margin-right: 0.75rem; flex-shrink: 0; }

/* variations table layout — stack label above control */
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody td.label { padding-bottom: 0.25rem; font-weight: 600; }
.single-product .variations tbody td.value { padding-top: 0; }
.single-product .variations { margin-bottom: 1.5rem; border-collapse: collapse; }
.theme-attr-select-hidden { display: none !important; }
.theme-variation-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.75rem; }
.theme-variation-pill {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.5rem 1rem; border-radius: 999px; border: 1px solid var(--color-border);
  background: transparent; font-family: var(--font-body); font-size: 0.875rem;
  letter-spacing: 0.02em; color: var(--color-foreground); cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}
.theme-variation-pill:hover { border-color: var(--color-accent); color: var(--color-accent); }
.theme-variation-pill.is-active { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }

.related-products-section { padding: 5rem 0; border-top: 1px solid var(--color-border); }
.related-products-section h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; font-size: 1.5rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .related-products-section h2 { font-size: 1.875rem; } }
.related-products-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .related-products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .related-products-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }

.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }

/* Add to cart button style override (Section 11.4.1) */
.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;
}
.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;
}

/* -------------------------------------------------------------------------
   18. PRODUCT CARDS OUTSIDE SINGLE (grid + related) — reveal + overlay rules
   ------------------------------------------------------------------------- */
.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; }

/* -------------------------------------------------------------------------
   19. 404 PAGE
   ------------------------------------------------------------------------- */
.error-404-page { display: flex; min-height: 100vh; align-items: center; justify-content: center; background: var(--color-secondary); padding: 0 1rem; }
@media (min-width: 640px) { .error-404-page { padding: 0 1.5rem; } }
.error-404-page__inner { text-align: center; max-width: 28rem; }
.error-404-page h1 { font-family: var(--font-display); font-size: 3rem; font-weight: 600; margin-bottom: 1rem; }
.error-404-page p { margin-bottom: 1.5rem; font-size: 1.125rem; color: var(--color-muted-foreground); line-height: 1.6; text-wrap: pretty; }
.error-404-page a {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 1.5rem;
  border-radius: var(--radius-md); background: var(--color-primary); color: var(--color-primary-foreground);
  font-size: 0.875rem; transition: background-color 0.2s ease;
}
.error-404-page a:hover { background: var(--color-navy-slate); }

/* -------------------------------------------------------------------------
   20. WOOCOMMERCE CHECKOUT BLOCK OVERRIDES (Section 13)
   ------------------------------------------------------------------------- */
body.woocommerce-checkout .page-title,
body.woocommerce-cart .page-title,
body.woocommerce-account .page-title {
  font-size: 1.875rem;
  font-weight: 600;
  margin: 0 0 1.5rem;
}
@media (min-width: 768px) { body.woocommerce-checkout .page-title, body.woocommerce-cart .page-title, body.woocommerce-account .page-title { font-size: 2.25rem; } }

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
  min-width: 0;
  width: 100%;
  max-width: none;
  display: block;
}
body.woocommerce-checkout .wc-block-checkout input[type="text"],
body.woocommerce-checkout .wc-block-checkout input[type="email"],
body.woocommerce-checkout .wc-block-checkout input[type="tel"],
body.woocommerce-checkout .wc-block-checkout input[type="number"],
body.woocommerce-checkout .wc-block-checkout select,
body.woocommerce-checkout .wc-block-checkout textarea,
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
body.woocommerce-checkout .wc-block-components-country-input select,
body.woocommerce-checkout .wc-block-components-textarea textarea {
  width: 100% !important;
  max-width: none !important;
  font-family: var(--font-body) !important;
  font-size: 0.875rem !important;
  color: var(--color-foreground) !important;
  border: 1px solid var(--color-border) !important;
  border-radius: var(--radius-md) !important;
  background: #ffffff !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus,
body.woocommerce-checkout .wc-block-checkout input:focus,
body.woocommerce-checkout .wc-block-checkout select:focus,
body.woocommerce-checkout .wc-block-checkout textarea:focus,
body.woocommerce-checkout .wc-block-components-text-input input:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-accent) 60%, transparent);
}
body.woocommerce-checkout .wc-block-components-text-input input { padding: revert; }
body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-checkbox label { font-family: var(--font-body); }
body.woocommerce-checkout .wc-block-components-checkout-step__title {
  font-family: var(--font-display); font-weight: 600; font-size: 1.375rem;
}
body.woocommerce-checkout .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;
  font-weight: 500 !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { background-color: var(--color-navy-slate) !important; }
body.woocommerce-checkout .wc-block-components-notice-banner { border-radius: var(--radius-md); font-family: var(--font-body); grid-column: 1 / -1; }
body.woocommerce-checkout .wc-block-checkout__sidebar {
  background-color: var(--color-secondary);
  border-radius: var(--card-radius);
  padding: var(--section-padding);
}
body.woocommerce-checkout .wc-block-cart-items { font-family: var(--font-body); }

@media (min-width: 768px) {
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
  body.woocommerce-checkout .wc-block-checkout.is-large {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--checkout-gap);
    align-items: start;
  }
}

/* -------------------------------------------------------------------------
   21. WOOCOMMERCE THANK YOU PAGE
   ------------------------------------------------------------------------- */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .site-main { padding-bottom: 4rem; }
body.theme-thankyou-page .woocommerce-order { 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; font-weight: 600; padding: 0 0 1rem 0;
}
body.theme-thankyou-page .woocommerce-order-overview {
  display: grid; grid-template-columns: 1fr; gap: 0.75rem;
  list-style: none; padding: 1.5rem; margin: 1.5rem 0;
  background: var(--color-secondary); border-radius: var(--radius);
}
@media (min-width: 640px) { body.theme-thankyou-page .woocommerce-order-overview { grid-template-columns: repeat(2, 1fr); } }
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 0.875rem; }
body.theme-thankyou-page .woocommerce-order-overview li strong { display: block; font-family: var(--font-display); font-size: 1.125rem; margin-top: 0.25rem; }
body.theme-thankyou-page .woocommerce-order-details table {
  width: 100%; table-layout: fixed; border-collapse: collapse; margin-top: 1rem;
}
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table 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; margin-top: 2rem;
}
body.theme-thankyou-page .woocommerce-customer-details address {
  max-width: 480px; overflow-wrap: break-word; font-style: normal;
  background: var(--color-secondary); padding: 1.25rem; border-radius: var(--radius);
}

/* -------------------------------------------------------------------------
   22. CART / ACCOUNT PAGE WIDTH PARITY (Section 13.7)
   ------------------------------------------------------------------------- */

/* -------------------------------------------------------------------------
   23. WOOCOMMERCE + INNER PAGE HEADER CLEARANCE
   ------------------------------------------------------------------------- */
body.woocommerce .site-main,
body.woocommerce-page .site-main,
body.single-product .site-main,
body.single-product main.theme-product-main,
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main,
body.theme-thankyou-page .site-main {
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 4rem;
}
@media (min-width: 1024px) {
  body.woocommerce .site-main,
  body.woocommerce-page .site-main,
  body.single-product .site-main,
  body.single-product main.theme-product-main,
  body.woocommerce-checkout .site-main,
  body.woocommerce-cart .site-main,
  body.woocommerce-account .site-main,
  body.theme-thankyou-page .site-main {
    padding-top: calc(var(--header-height) + 3rem);
  }
}

/* Store coming soon uses block template — no .site-main wrapper */
body.woocommerce-coming-soon .wp-site-blocks,
body:has(.woocommerce-coming-soon-store-only) .wp-site-blocks {
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 4rem;
  min-height: 50vh;
}
@media (min-width: 1024px) {
  body.woocommerce-coming-soon .wp-site-blocks,
  body:has(.woocommerce-coming-soon-store-only) .wp-site-blocks {
    padding-top: calc(var(--header-height) + 3rem);
  }
}

/* Homepage hero: header overlays intentionally */
.home .site-main { padding-top: 0; }

/* -------------------------------------------------------------------------
   24. RESPONSIVE UTILITIES
   ------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .desktop-only { display: none !important; }
}
@media (min-width: 768px) {
  .mobile-only { display: none !important; }
}
