/* =============================================================================
   KAPELI PANA - THEME CSS
   ============================================================================= */

/* Google Fonts loaded via PHP enqueue */

/* =============================================================================
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ============================================================================= */

:root {
  /* Brand colors - set via PHP inline style from Customizer */
  --color-primary:    #1f5b4d;
  --color-accent:     #f2c231;
  --color-background: #f9f5eb;
  --color-foreground: #182f29;
  --color-rosa:       #e4257b;
  --color-teal:       #57bcc7;
  --color-nopal:      #1f5b4d;
  --color-butter:     #faedc7;
  --color-blush:      #f0a8be;
  --color-marigold:   #f2c231;
  --color-sand:       #f6d4b6;

  /* Derived / composite tokens */
  --color-muted:          #cbd8d1;
  --color-muted-fg:       #516761;
  --color-secondary:      #f0e7d5;
  --color-border:         #dccbbc;
  --color-card:           #f4ebdc;

  /* Fonts */
  --font-display:   'Fraunces', serif;
  --font-body:      'Inter', sans-serif;
  --font-condensed: 'Anton', Impact, sans-serif;
  --font-script:    'Caveat', cursive;

  /* Border radius */
  --radius:       0.75rem;
  --radius-md:    calc(var(--radius) - 2px);
  --radius-sm:    calc(var(--radius) - 4px);
  --radius-full:  9999px;

  /* Button tokens */
  --btn-radius:        var(--radius-full);
  --btn-height:        3rem;
  --btn-padding:       0.875rem 2rem;
  --btn-font-size:     0.6875rem;
  --btn-font-weight:   600;
  --btn-letter-spacing: 0.22em;
  --btn-text-transform: uppercase;
  --color-button-text: var(--color-background);

  /* Shadows */
  --shadow-soft:     0 4px 20px -4px rgba(24, 47, 41, 0.08);
  --shadow-elevated: 0 8px 40px -8px rgba(24, 47, 41, 0.16);
  --shadow-card:     0 10px 30px -16px rgba(40, 30, 20, 0.40);

  /* Transitions */
  --ease-smooth: cubic-bezier(0.25, 0.4, 0.25, 1);
  --transition-colors: color 0.2s var(--ease-smooth), background-color 0.2s var(--ease-smooth), border-color 0.2s var(--ease-smooth);

  /* Layout */
  --header-height: 96px;
  --logo-height:   80px;
  --container-max: 80rem;
  --container-pad: 1.5rem;
  --section-py:    5rem;

  /* Card tokens */
  --card-radius: var(--radius);
  --checkout-gap: 2rem;
}

/* =============================================================================
   RESET & BASE
   ============================================================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  max-width: 100%;
  overflow-x: clip;
}

body {
  background-color: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.015em;
  line-height: 1.2;
}

img:not(.cover-img):not(.hero-bg-img):not(.product-card-img):not(.site-logo-img) {
  max-width: 100%;
  height: auto;
}

.cover-img, .hero-bg-img, .product-card-img, .site-logo-img {
  display: block;
}

a { color: inherit; text-decoration: none; }
button { font-family: var(--font-body); cursor: pointer; background: none; border: none; }

/* =============================================================================
   LAYOUT
   ============================================================================= */

.container-wide {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

@media (min-width: 1024px) {
  .container-wide { padding-left: 2rem; padding-right: 2rem; }
}

/* =============================================================================
   TYPOGRAPHY UTILITIES
   ============================================================================= */

.font-display   { font-family: var(--font-display); }
.font-body      { font-family: var(--font-body); }
.font-condensed { font-family: var(--font-condensed); }
.font-script    { font-family: var(--font-script); }

.italic { font-style: italic; }
.uppercase { text-transform: uppercase; }

/* Editorial kicker (script handwriting style label) */
.editorial-kicker {
  display: inline-block;
  font-family: var(--font-script);
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 0.25rem;
}
@media (min-width: 768px) {
  .editorial-kicker { font-size: 1.875rem; }
}

/* Color text utilities */
.text-teal     { color: var(--color-teal); }
.text-nopal    { color: var(--color-nopal); }
.text-rosa     { color: var(--color-rosa); }
.text-blush    { color: var(--color-blush); }
.text-marigold { color: var(--color-marigold); }
.text-foreground { color: var(--color-foreground); }
.text-background { color: var(--color-background); }

/* Section headings per section (scoped scales, no global clamp) */
.section-heading-lg {
  font-family: var(--font-condensed);
  text-transform: uppercase;
  line-height: 0.9;
  font-size: 2.5rem;
}
@media (min-width: 768px)  { .section-heading-lg { font-size: 3.75rem; } }
@media (min-width: 1024px) { .section-heading-lg { font-size: 4.375rem; } }

.section-header-center {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header-center .editorial-kicker { margin-bottom: 0.25rem; }

/* Link underline animation */
.link-underline {
  position: relative;
  display: inline-block;
}
.link-underline::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-smooth);
}
.link-underline:hover::after { transform: scaleX(1); }

/* Opacity */
.opacity-60 { opacity: 0.6; }

/* =============================================================================
   BUTTONS
   ============================================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--btn-radius);
  padding: var(--btn-padding);
  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);
  transition: var(--transition-colors), opacity 0.2s var(--ease-smooth);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-foreground);
  color: var(--color-background);
  border: 1px solid var(--color-foreground);
}
.btn-primary:hover { opacity: 0.85; }

.btn-hero-primary, .btn-hero-outline { text-transform: uppercase; }
.btn-hero-primary {
  background-color: rgba(249, 245, 235, 0.95);
  color: var(--color-foreground);
  border: none;
  border-radius: var(--radius-full);
  padding: 1rem 2.5rem;
}
.btn-hero-primary:hover { background-color: var(--color-background); }

.btn-hero-outline {
  background: transparent;
  color: var(--color-background);
  border: 1px solid rgba(249, 245, 235, 0.8);
  border-radius: var(--radius-full);
  padding: 1rem 2rem;
}
.btn-hero-outline:hover {
  background: rgba(249, 245, 235, 0.15);
  border-color: var(--color-background);
}

.btn-outline {
  background: transparent;
  color: var(--color-foreground);
  border: 1px solid var(--color-border);
}
.btn-outline:hover { border-color: var(--color-foreground); }

.btn-outline-nopal {
  background: transparent;
  color: var(--color-nopal);
  border: 1px solid var(--color-nopal);
}
.btn-outline-nopal:hover {
  background: var(--color-nopal);
  color: var(--color-background);
}

.btn-outline-teal {
  background: transparent;
  color: var(--color-teal);
  border: 1px solid var(--color-teal);
}
.btn-outline-teal:hover {
  background: var(--color-teal);
  color: var(--color-background);
}

.btn-cta-primary {
  background: var(--color-background);
  color: var(--color-foreground);
  border: 1px solid var(--color-foreground);
  border-radius: var(--radius-full);
  padding: 0.875rem 2rem;
}
.btn-cta-primary:hover {
  background: var(--color-foreground);
  color: var(--color-background);
}

.btn-cta-secondary {
  background: transparent;
  color: var(--color-foreground);
  border: 1px solid rgba(24, 47, 41, 0.6);
  border-radius: var(--radius-full);
  padding: 0.875rem 2rem;
}
.btn-cta-secondary:hover {
  border-color: var(--color-foreground);
  background: rgba(24, 47, 41, 0.1);
}

.btn-sm { padding: 0.5rem 1rem; font-size: 0.6875rem; }

/* =============================================================================
   FORMS
   ============================================================================= */

.form-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.375rem;
}

.form-input {
  width: 100%;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.625rem 0.75rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-foreground);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus {
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(87, 188, 199, 0.2);
}
.form-input::placeholder { color: var(--color-muted-fg); }
.form-textarea { resize: none; }

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .form-grid-2 { grid-template-columns: 1fr 1fr; }
}

.form-group { display: flex; flex-direction: column; }

.form-actions { display: flex; justify-content: flex-end; }

/* =============================================================================
   ANNOUNCEMENT BAR
   ============================================================================= */

.theme-announcement-bar {
  position: relative;
  background-color: var(--color-nopal);
  color: var(--color-background);
}
.announcement-inner {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  text-align: center;
}
.announcement-text {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.announcement-close {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  padding: 0.25rem;
  opacity: 0.7;
  color: var(--color-background);
  line-height: 1;
}
.announcement-close:hover { opacity: 1; }

/* =============================================================================
   HEADER
   ============================================================================= */

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--color-background);
  border-top: 2px solid rgba(228, 37, 123, 0.4); /* rosa/40 */
  border-bottom: 1px solid transparent;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s, top 0.2s var(--ease-smooth);
}

/* Offset sticky header when WordPress admin bar is visible */
body.admin-bar .site-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

.site-header.is-scrolled,
body.cart-open .site-header {
  background: rgba(249, 245, 235, 0.95);
  backdrop-filter: blur(4px);
  border-bottom-color: rgba(220, 203, 188, 0.6);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
  position: relative;
}
@media (min-width: 768px) {
  .site-nav { height: 6rem; }
}

.nav-left, .nav-right { flex: 1; }
.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
}
.nav-right-links { display: flex; align-items: center; gap: 2.5rem; }

.nav-link, .theme-nav-link {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  color: rgba(24, 47, 41, 0.8);
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-link:hover, .theme-nav-link:hover { color: var(--color-foreground); }

/* Logo */
.site-logo-link {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
}
.site-logo-img {
  height: var(--logo-height) !important;
  width: auto !important;
  display: block;
  object-fit: contain;
}
.site-logo-text { font-family: var(--font-display); font-size: 1.5rem; line-height: var(--logo-height); display: block; }

/* Cart button */
.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(24, 47, 41, 0.3);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--color-foreground);
  transition: border-color 0.2s;
  background: none;
  cursor: pointer;
}
.cart-btn:hover { border-color: var(--color-foreground); }

.theme-cart-count {
  font-family: var(--font-body);
  font-size: 0.8125rem;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  padding: 0.5rem;
  color: var(--color-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -0.5rem;
  transition: transform 0.3s var(--ease-smooth), opacity 0.2s;
}
.mobile-menu-toggle:hover { opacity: 0.6; }
.mobile-menu-toggle.is-active {
  transform: rotate(90deg);
}

.hidden-mobile { display: none; }
@media (min-width: 1024px) {
  .hidden-mobile { display: flex; align-items: center; gap: 2.5rem; }
  .show-mobile { display: none !important; }
}

/* Mobile nav — slide-down with staggered link reveal */
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  border-top: 1px solid transparent;
  padding: 0;
  transform: translateY(-6px);
  transition:
    max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.35s;
}

.mobile-nav.is-open {
  max-height: 420px;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  border-top-color: rgba(220, 203, 188, 0.6);
  padding: 1rem 0;
}

.mobile-nav-link {
  display: block;
  font-family: var(--font-body);
  font-size: 0.875rem;
  padding: 0.625rem 0;
  color: var(--color-foreground);
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s, opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  opacity: 0;
  transform: translateX(-14px);
}

.mobile-nav.is-open .mobile-nav-link {
  opacity: 1;
  transform: translateX(0);
}

.mobile-nav.is-open .mobile-nav-link:nth-child(1) { transition-delay: 0.05s; }
.mobile-nav.is-open .mobile-nav-link:nth-child(2) { transition-delay: 0.1s; }
.mobile-nav.is-open .mobile-nav-link:nth-child(3) { transition-delay: 0.15s; }
.mobile-nav.is-open .mobile-nav-link:nth-child(4) { transition-delay: 0.2s; }
.mobile-nav.is-open .mobile-nav-link:nth-child(5) { transition-delay: 0.25s; }

.mobile-nav-link:hover { color: var(--color-muted-fg); }

/* Prevent body scroll when mobile menu is open */
body.mobile-nav-open {
  overflow: hidden;
}

/* Inner pages: main content needs top padding to clear fixed header */
.inner-page-main { padding-top: 2.5rem; padding-bottom: 4rem; }

/* =============================================================================
   HERO SECTION
   ============================================================================= */

.hero-section { background: var(--color-background); }

.hero-inner {
  position: relative;
  width: 100%;
  height: 92vh;
  min-height: 620px;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay-teal {
  position: absolute;
  inset: 0;
  background: rgba(87, 188, 199, 0.35);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.hero-overlay-dark {
  position: absolute;
  inset: 0;
  background: rgba(24, 47, 41, 0.25);
  pointer-events: none;
}

.hero-content-wrap {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 64rem;
  padding: 0 0.5rem;
}

/* Groups script eyebrow above condensed headline (matches Lovable hero stack) */
.hero-headline-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.hero-eyebrow {
  position: relative;
  z-index: 2;
  display: block;
  color: var(--color-blush);
  font-family: var(--font-script);
  font-size: 2.25rem;
  line-height: 1;
  margin-bottom: -0.5rem;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}
@media (min-width: 768px) {
  .hero-eyebrow {
    font-size: 3.75rem;
    margin-bottom: -1rem;
  }
}

.hero-title {
  position: relative;
  z-index: 1;
  margin-top: 0;
  font-family: var(--font-condensed);
  text-transform: uppercase;
  color: var(--color-butter);
  line-height: 0.86;
  letter-spacing: 0.01em;
  font-size: clamp(3rem, 11vw, 9rem);
}

.hero-subtitle {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-style: italic;
  color: rgba(249, 245, 235, 0.9);
  font-size: 1.125rem;
}
@media (min-width: 768px) { .hero-subtitle { font-size: 1.5rem; } }

.hero-ctas {
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 640px) {
  .hero-ctas { flex-direction: row; justify-content: center; }
}

/* Scallop divider at bottom of hero */
.hero-scallop {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  height: 32px;
  background: var(--color-background);
  -webkit-mask: radial-gradient(32px at 50% 100%, #000 99%, transparent 100%) 0 0 / 64px 32px repeat-x;
  mask: radial-gradient(32px at 50% 100%, #000 99%, transparent 100%) 0 0 / 64px 32px repeat-x;
}

/* =============================================================================
   ANIMATIONS / REVEALS
   ============================================================================= */

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(2rem); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-fade-in { animation: fadeIn 0.6s var(--ease-smooth) forwards; }
.animate-slide-up { animation: slideUp 0.6s var(--ease-smooth) forwards; }

/* Scroll reveal system */
.reveal-item {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fallback: make content visible if observers don't fire (e.g. Customizer iframe) */
@media (prefers-reduced-motion: reduce) {
  .reveal-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Hero reveal items animate on page load */
.hero-section .reveal-item {
  animation: fadeUp 0.8s var(--ease-smooth) both;
  animation-delay: var(--reveal-delay, 0s);
  opacity: 0;
}
.hero-section .reveal-item.is-visible { opacity: 1; }

/* =============================================================================
   CATEGORY STRIP
   ============================================================================= */

.cat-section { background: var(--color-background); }
.cat-section-inner { padding-top: 4rem; padding-bottom: 5rem; }
@media (min-width: 768px) { .cat-section-inner { padding-top: 5rem; padding-bottom: 6.25rem; } }

.cat-section .section-header-center { margin-bottom: 2.5rem; }

.cat-tiles-row {
  --cat-gap: 1.5rem;
  display: flex;
  gap: var(--cat-gap);
  overflow-x: auto;
  overflow-y: hidden;
  padding: 1.5rem 1.5rem 1rem;
  margin: 0 -1.5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}
.cat-tiles-row::-webkit-scrollbar { display: none; }

@media (min-width: 768px) {
  .cat-tiles-row {
    --cat-gap: clamp(0.5rem, 1.2vw, 2rem);
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    justify-content: center;
    gap: var(--cat-gap);
    padding: 1.5rem 0.5rem 1rem;
    margin: 0;
    scroll-snap-type: none;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .cat-tiles-row::-webkit-scrollbar { display: none; }
}

.cat-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  flex: 0 0 auto;
  width: 6rem;
  min-width: 0;
  scroll-snap-align: start;
  background: none;
  border: none;
  cursor: pointer;
}

/* Category strip — mobile grid (desktop rules unchanged above 768px) */
@media (max-width: 767px) {
  .cat-tiles-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: flex-start;
    gap: 1.25rem 0.875rem;
    overflow: visible;
    padding: 0.75rem 0 1rem;
    margin: 0;
    scroll-snap-type: none;
    -webkit-overflow-scrolling: auto;
  }

  .cat-tile {
    flex: 0 0 auto;
    width: 5.25rem;
    max-width: 5.25rem;
    scroll-snap-align: none;
  }

  .cat-tile-label {
    font-size: 0.625rem;
    letter-spacing: 0.1em;
    line-height: 1.2;
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .cat-tiles-row {
    gap: 1.5rem 1rem;
  }

  .cat-tile {
    width: 5.75rem;
    max-width: 5.75rem;
  }
}

@media (min-width: 768px) {
  .cat-tile {
    flex: 1 1 calc((100% - 6 * var(--cat-gap)) / 7);
    width: auto;
    max-width: 10rem;
    min-width: 4rem;
    gap: 1rem;
  }
}

.cat-tile-circle {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease-smooth);
}
.cat-tile:hover .cat-tile-circle { transform: scale(1.05); }

/* Category tone classes */
.cat-tone-marigold { background-color: rgba(242, 194, 49, 0.8); }
.cat-tone-teal     { background-color: rgba(87, 188, 199, 0.7); }
.cat-tone-blush    { background-color: rgba(240, 168, 190, 0.8); }
.cat-tone-nopal    { background-color: rgba(31, 91, 77, 0.6); }
.cat-tone-accent   { background-color: rgba(242, 194, 49, 0.6); }

.cat-tile-icon {
  width: 50%;
  height: 50%;
  max-width: 5rem;
  max-height: 5rem;
  object-fit: contain;
}

.cat-tile-label {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(24, 47, 41, 0.85);
  transition: color 0.2s;
  text-align: center;
  max-width: 100%;
  line-height: 1.25;
  overflow-wrap: anywhere;
  hyphens: auto;
}
@media (min-width: 768px) { .cat-tile-label { font-size: clamp(0.625rem, 0.55rem + 0.25vw, 0.875rem); } }
.cat-tile:hover .cat-tile-label { color: var(--color-foreground); }

/* =============================================================================
   FEATURED SECTION
   ============================================================================= */

.featured-section { background: var(--color-background); }
.featured-inner { padding-top: 4rem; padding-bottom: 6rem; }
@media (min-width: 768px) { .featured-inner { padding-top: 6rem; padding-bottom: 7.5rem; } }

.featured-view-all { text-align: center; margin-top: 3.5rem; }

/* =============================================================================
   PRODUCT GRID & CARD
   ============================================================================= */

.theme-product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}
@media (min-width: 768px) {
  .theme-product-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}
@media (min-width: 1024px) { .theme-product-grid { gap: 2.5rem; } }

.featured-grid {
  grid-template-columns: repeat(1, 1fr);
}
@media (min-width: 768px) {
  .featured-grid { grid-template-columns: repeat(3, 1fr); }
}

.theme-product-card-wrap {
  display: flex;
  flex-direction: column;
}

.theme-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* IMAGE WRAPPER */
.theme-product-card__image-wrapper {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(24, 47, 41, 0.05);
  box-shadow: var(--shadow-card);
  margin-bottom: 1.25rem;
  padding: 0.5rem;
}
.theme-product-card__image-wrapper .product-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius) - 4px);
  transition: transform 0.7s var(--ease-smooth);
}
.theme-product-card:hover .theme-product-card__image-wrapper .product-card-img {
  transform: scale(1.04);
}

/* Hit area overlay — image area only; does not block add-to-cart */
.theme-product-card__image-wrapper .theme-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.card-add-to-cart-btn,
.card-view-product-btn {
  pointer-events: auto;
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 4;
  text-align: center;
  border-radius: var(--radius-full);
  background: var(--color-teal);
  color: var(--color-background);
  border: 1px solid var(--color-teal);
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.75rem 1rem;
  opacity: 0;
  transform: translateY(0.5rem);
  transition: opacity 0.3s, transform 0.3s, background 0.2s, color 0.2s;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.theme-product-card:hover .card-add-to-cart-btn {
  opacity: 1;
  transform: translateY(0);
}
.card-add-to-cart-btn:hover {
  background: var(--color-background);
  color: var(--color-teal);
}

/* Card info */
.theme-product-card__info {
  flex: 1;
  padding: 0 0.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.product-card-category {
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-muted-fg);
}
.product-card-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.3;
  color: var(--color-foreground);
  transition: color 0.3s;
}
@media (min-width: 768px) { .product-card-title { font-size: 1.125rem; } }
.theme-product-card:hover .product-card-title { color: var(--color-primary); }

.product-card-title-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease-smooth);
}
.product-card-title-link:hover { color: var(--color-primary); }

.card-view-product-btn {
  text-align: center;
  border-radius: var(--radius-full);
  background: var(--color-teal);
  color: var(--color-background);
  border: 1px solid var(--color-teal);
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.75rem 1rem;
  opacity: 0;
  transform: translateY(0.5rem);
  transition: opacity 0.3s, transform 0.3s, background 0.2s, color 0.2s;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.theme-product-card:hover .card-view-product-btn {
  opacity: 1;
  transform: translateY(0);
}
.card-view-product-btn:hover {
  background: var(--color-background);
  color: var(--color-teal);
}

.product-card-price {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(24, 47, 41, 0.85);
}

/* Sold out badge */
.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  pointer-events: none;
}
.badge-sold-out { background: var(--color-foreground); color: var(--color-background); }

/* WooCommerce hover state via container */
.theme-product-card:hover .theme-product-card__image-wrapper {
  box-shadow: 0 12px 30px -8px rgba(40, 30, 20, 0.3);
  transform: translateY(-4px) rotate(-1.2deg);
  transition: transform 0.35s cubic-bezier(0.18, 0.89, 0.32, 1.28), box-shadow 0.3s;
}
.theme-product-card__image-wrapper { transition: transform 0.35s, box-shadow 0.3s; }

/* Image link display */
.theme-product-card__image-link {
  display: block;
  overflow: hidden;
}

/* =============================================================================
   STRIPE BAND
   ============================================================================= */

.stripe-band {
  background-image: repeating-linear-gradient(
    90deg,
    hsl(45, 88%, 78%) 0,
    hsl(45, 88%, 78%) 72px,
    hsl(45, 80%, 85%) 72px,
    hsl(45, 80%, 85%) 144px
  );
}

/* =============================================================================
   STORY ACCORDION
   ============================================================================= */

.story-section { background: var(--color-background); }
.story-header { padding-top: 5rem; padding-bottom: 1rem; }
@media (min-width: 768px) { .story-header { padding-top: 7rem; padding-bottom: 1.5rem; } }

/* Desktop horizontal accordion */
.story-accordion-desktop {
  display: none;
}
@media (min-width: 1024px) {
  .story-accordion-desktop {
    display: flex;
    height: 640px;
    width: 100%;
    overflow: hidden;
  }
}

.story-chapter {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-left: 1px solid rgba(24, 47, 41, 0.1);
  cursor: pointer;
  flex-shrink: 0;
  transition: flex-grow 0.55s var(--ease-smooth), flex-basis 0.55s var(--ease-smooth);
}
.story-chapter.is-open { cursor: default; flex-grow: 1; flex-basis: 0; }
.story-chapter:not(.is-open) { flex-grow: 0; flex-basis: 120px; }

.story-chapter-teal  { background: var(--color-teal); color: var(--color-background); }
.story-chapter-rosa  { background: var(--color-rosa); color: var(--color-background); }

/* Collapsed rail */
.story-rail {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 0;
  width: 120px;
  opacity: 1;
  transition: opacity 0.3s;
}
.story-chapter.is-open .story-rail { opacity: 0; pointer-events: none; }

.story-num {
  font-family: var(--font-condensed);
  font-size: 1.875rem;
  line-height: 1;
  opacity: 0.7;
}

.story-rail-title {
  font-family: var(--font-condensed);
  text-transform: uppercase;
  font-size: 2.5rem;
  line-height: 0.9;
  white-space: nowrap;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.story-rail-plus {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(249, 245, 235, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-background);
}

/* Expanded panel */
.story-panel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: stretch;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-smooth);
  min-width: 760px;
}
.story-chapter.is-open .story-panel {
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0.15s;
}

.story-panel-image {
  width: 44%;
  height: 100%;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}
.story-panel-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-panel-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem 3rem;
  overflow-y: auto;
}
@media (min-width: 1280px) { .story-panel-content { padding: 2.5rem 4rem; } }

.story-kicker { display: block; font-size: 1.5rem; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .story-kicker { font-size: 1.875rem; } }

.story-chapter-title {
  font-family: var(--font-condensed);
  text-transform: uppercase;
  font-size: 2.5rem;
  line-height: 0.9;
  margin-bottom: 2rem;
}
@media (min-width: 1280px) { .story-chapter-title { font-size: 3.125rem; } }

.story-body { max-width: 32rem; }
.story-lead {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .story-lead { font-size: 1.875rem; } }
.story-text { font-family: var(--font-body); line-height: 1.7; margin-bottom: 1.25rem; opacity: 0.85; font-size: 1rem; }
.story-cta {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 2rem;
  display: inline-block;
  color: var(--color-background);
}

/* Mobile vertical accordion */
.story-accordion-mobile { display: flex; flex-direction: column; }
@media (min-width: 1024px) { .story-accordion-mobile { display: none; } }

.story-mobile-chapter { border-bottom: 1px solid rgba(24, 47, 41, 0.1); }
.story-mobile-chapter.story-chapter-teal  { background: var(--color-teal); color: var(--color-background); }
.story-mobile-chapter.story-chapter-rosa  { background: var(--color-rosa); color: var(--color-background); }

.story-mobile-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: left;
  padding: 1.75rem 1.5rem;
  color: inherit;
}
@media (min-width: 768px) { .story-mobile-toggle { padding: 2.25rem 3.5rem; gap: 2rem; } }

.story-mobile-toggle-left {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  min-width: 0;
}
@media (min-width: 768px) { .story-mobile-toggle-left { gap: 2rem; } }

.story-mobile-plus {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(249, 245, 235, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-background);
  transition: transform 0.3s;
}

.story-mobile-panel { overflow: hidden; }

.story-mobile-panel-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 0 1.5rem 3.5rem;
}
@media (min-width: 768px) {
  .story-mobile-panel-inner {
    grid-template-columns: 1fr 1fr;
    padding: 0 3.5rem 5rem;
  }
}

.story-mobile-image {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  height: 34vh;
  min-height: 260px;
}
@media (min-width: 768px) { .story-mobile-image { height: 44vh; } }
.story-mobile-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =============================================================================
   SERVICES SECTION
   ============================================================================= */

.services-section { position: relative; }
.services-stripe { position: relative; }
.services-inner { padding-top: 5rem; padding-bottom: 7rem; }
@media (min-width: 768px) { .services-inner { padding-top: 7rem; padding-bottom: 8.75rem; } }

.services-header { margin-bottom: 4rem; }
@media (min-width: 768px) { .services-header { margin-bottom: 5rem; } }

.services-title {
  font-family: var(--font-condensed);
  text-transform: uppercase;
  font-size: 3.125rem;
  line-height: 0.9;
  letter-spacing: 0.01em;
}
@media (min-width: 768px)  { .services-title { font-size: 4.375rem; } }
@media (min-width: 1024px) { .services-title { font-size: 5rem; } }

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 80rem;
  margin: 0 auto;
}
@media (min-width: 640px)  { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(5, 1fr); gap: 2rem; } }

.service-card {
  display: flex;
  flex-direction: column;
  text-align: center;
  background: var(--color-background);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid rgba(24, 47, 41, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px -15px rgba(0,0,0,0.2);
}

.service-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  border-radius: var(--radius-full);
  margin: 0 auto 1.5rem;
}
.service-tone-teal    { background-color: rgba(87, 188, 199, 0.7); }
.service-tone-nopal   { background-color: rgba(31, 91, 77, 0.6); }
.service-tone-rosa    { background-color: rgba(228, 37, 123, 0.8); }
.service-tone-marigold{ background-color: rgba(242, 194, 49, 0.8); }
.service-tone-accent  { background-color: rgba(242, 194, 49, 0.6); }

.service-icon { width: 3rem; height: 3rem; object-fit: contain; }

.service-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-foreground);
  margin-bottom: 0.75rem;
}
.service-desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-muted-fg);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}
.service-cta {
  margin-top: auto;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-nopal);
  transition: color 0.2s;
  text-decoration: none;
}
.service-cta:hover { color: var(--color-foreground); }

/* =============================================================================
   SHOP SECTION
   ============================================================================= */

.shop-section { background: var(--color-background); }
.shop-inner { padding-top: 4rem; padding-bottom: 6rem; }
@media (min-width: 768px) { .shop-inner { padding-top: 6rem; padding-bottom: 7.5rem; } }

.shop-header { margin-bottom: 3rem; }

/* Search */
.shop-search-wrap {
  position: relative;
  max-width: 28rem;
  margin: 0 auto 2rem;
}
.shop-search-icon {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-muted-fg);
  pointer-events: none;
}
.shop-search-input {
  width: 100%;
  padding: 0.5rem 0.5rem 0.5rem 1.75rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-foreground);
  outline: none;
  transition: border-color 0.2s;
}
.shop-search-input:focus { border-color: var(--color-foreground); }
.shop-search-input::placeholder { color: var(--color-muted-fg); }

/* Category filter buttons */
.shop-cat-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  justify-content: flex-start;
  margin: 0 -1rem;
  padding: 0 1rem 0.5rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  margin-bottom: 1rem;
}
.shop-cat-filters::-webkit-scrollbar { display: none; }

/* Shop category filters — mobile grid (desktop unchanged above 768px) */
@media (max-width: 767px) {
  .shop-cat-filters {
    flex-wrap: wrap;
    justify-content: center;
    align-content: flex-start;
    gap: 0.625rem 0.5rem;
    overflow: visible;
    margin: 0 0 1rem;
    padding: 0 0 0.5rem;
    scroll-snap-type: none;
    -webkit-overflow-scrolling: auto;
  }

  .shop-cat-btn {
    flex-shrink: 1;
    scroll-snap-align: none;
    padding: 0.45rem 0.875rem;
    font-size: 0.6875rem;
    letter-spacing: 0.12em;
    line-height: 1.2;
    text-align: center;
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .shop-cat-filters {
    gap: 0.75rem 0.625rem;
  }

  .shop-cat-btn {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }
}

@media (min-width: 768px) {
  .shop-cat-filters {
    flex-wrap: wrap;
    justify-content: center;
    overflow: visible;
    margin: 0 0 1rem;
    padding: 0;
  }
}

.shop-cat-btn {
  flex-shrink: 0;
  scroll-snap-align: start;
  padding: 0.5rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-foreground);
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}
.shop-cat-btn:hover { border-color: var(--color-rosa); color: var(--color-rosa); }
.shop-cat-btn.is-active {
  background: var(--color-teal);
  color: var(--color-background);
  border-color: var(--color-teal);
}

/* Price filter */
.price-filter-wrap { margin-bottom: 0; }

.price-filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted-fg);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s;
}
.price-filter-toggle:hover { color: var(--color-foreground); }
.price-filter-chevron { transition: transform 0.3s; }
.price-filter-chevron.is-open { transform: rotate(180deg); }

.price-filter-panel {
  padding: 0.5rem 0 1rem;
  max-width: 22rem;
  margin: 0 auto;
}
.price-filter-panel[hidden] {
  display: none;
}

/* Price range slider — dual thumbs on a single track */
.price-range-wrapper {
  position: relative;
  height: 2rem;
  margin-bottom: 0.75rem;
}

.range-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 4px;
  background: var(--color-border);
  border-radius: 2px;
  pointer-events: none;
}

.range-track-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: var(--color-primary);
  border-radius: 2px;
  pointer-events: none;
}

.range-thumb {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  height: 2rem;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  pointer-events: none;
  z-index: 2;
}

.range-thumb--min { z-index: 3; }
.range-thumb--max { z-index: 4; }

.range-thumb::-webkit-slider-runnable-track {
  height: 4px;
  background: transparent;
  border: none;
}

.range-thumb::-webkit-slider-thumb {
  -webkit-appearance: none;
  pointer-events: auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-foreground);
  border: 2px solid var(--color-background);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  margin-top: -7px;
}

.range-thumb::-moz-range-track {
  height: 4px;
  background: transparent;
  border: none;
}

.range-thumb::-moz-range-thumb {
  pointer-events: auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-foreground);
  border: 2px solid var(--color-background);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.price-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-muted-fg);
}

/* Shop show-more */
.shop-show-more-wrap { text-align: center; margin-top: 3rem; }
.shop-empty-state { text-align: center; padding: 5rem 0; }
.shop-empty-state p, .no-products { color: var(--color-muted-fg); font-family: var(--font-body); }

.shop-item-hidden { display: none; }

/* =============================================================================
   FAQ SECTION
   ============================================================================= */

.faq-section { background: var(--color-background); }
.faq-inner { padding-top: 5rem; padding-bottom: 7rem; }
@media (min-width: 768px) { .faq-inner { padding-top: 7rem; padding-bottom: 8.75rem; } }

.faq-header { max-width: 40rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .faq-header { margin-bottom: 3.5rem; } }

.faq-title {
  font-family: var(--font-condensed);
  text-transform: uppercase;
  font-size: 2.5rem;
  line-height: 0.9;
  margin-bottom: 1.25rem;
}
@media (min-width: 768px)  { .faq-title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .faq-title { font-size: 4.375rem; } }

.faq-subtitle { font-family: var(--font-body); color: rgba(24, 47, 41, 0.75); font-size: 1rem; }
@media (min-width: 768px) { .faq-subtitle { font-size: 1.125rem; } }
.faq-email-link { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(24,47,41,0.3); transition: text-decoration-color 0.2s; }
.faq-email-link:hover { text-decoration-color: var(--color-foreground); }

/* FAQ tabs */
.faq-tabs {
  display: flex;
  gap: 0.625rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  margin: 0 -1rem;
  padding: 0 1rem 0.5rem;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  margin-bottom: 2.5rem;
}
.faq-tabs::-webkit-scrollbar { display: none; }

/* FAQ tabs — mobile grid (desktop unchanged above 768px) */
@media (max-width: 767px) {
  .faq-tabs {
    flex-wrap: wrap;
    justify-content: center;
    align-content: flex-start;
    gap: 0.625rem 0.5rem;
    overflow: visible;
    margin: 0 0 2.5rem;
    padding: 0 0 0.5rem;
    scroll-snap-type: none;
    -webkit-overflow-scrolling: auto;
  }

  .faq-tab {
    flex-shrink: 1;
    scroll-snap-align: none;
    padding: 0.5rem 1rem;
    font-size: 0.6875rem;
    letter-spacing: 0.12em;
    line-height: 1.2;
    text-align: center;
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .faq-tabs {
    gap: 0.75rem 0.625rem;
  }

  .faq-tab {
    padding: 0.625rem 1.25rem;
    font-size: 0.75rem;
  }
}

@media (min-width: 768px) {
  .faq-tabs { flex-wrap: wrap; overflow: visible; margin: 0 0 2.5rem; padding: 0; }
}

.faq-tab {
  flex-shrink: 0;
  scroll-snap-align: start;
  border-radius: var(--radius-full);
  border: 1px solid;
  padding: 0.625rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  background: transparent;
  white-space: nowrap;
}

/* FAQ tab color variants */
.faq-tab--teal     { border-color: var(--color-teal);     color: var(--color-teal); }
.faq-tab--teal.is-active  { background: var(--color-teal);     color: var(--color-background); }
.faq-tab--teal:hover:not(.is-active) { background: rgba(87,188,199,0.1); }

.faq-tab--nopal    { border-color: var(--color-nopal);    color: var(--color-nopal); }
.faq-tab--nopal.is-active { background: var(--color-nopal);    color: var(--color-background); }
.faq-tab--nopal:hover:not(.is-active) { background: rgba(31,91,77,0.1); }

.faq-tab--blush    { border-color: var(--color-blush);    color: var(--color-foreground); }
.faq-tab--blush.is-active { background: var(--color-blush); color: var(--color-foreground); }
.faq-tab--blush:hover:not(.is-active) { background: rgba(240,168,190,0.25); }

.faq-tab--marigold { border-color: var(--color-marigold); color: var(--color-foreground); }
.faq-tab--marigold.is-active { background: var(--color-marigold); color: var(--color-foreground); }
.faq-tab--marigold:hover:not(.is-active) { background: rgba(242,194,49,0.25); }

.faq-tab--rosa     { border-color: var(--color-rosa); color: var(--color-foreground); }
.faq-tab--rosa.is-active  { background: var(--color-rosa); color: var(--color-foreground); }
.faq-tab--rosa:hover:not(.is-active) { background: rgba(228,37,123,0.2); }

/* FAQ panels */
.faq-panels { border-top: 1px solid rgba(24, 47, 41, 0.15); }
.faq-panel-hidden { display: none; }

.faq-item { border-bottom: 1px solid rgba(24, 47, 41, 0.15); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 0;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
}
@media (min-width: 768px) { .faq-question { padding: 1.5rem 0; } }

.faq-question-text {
  font-family: var(--font-display);
  font-size: 1.125rem;
  line-height: 1.4;
  color: var(--color-foreground);
}
@media (min-width: 768px) { .faq-question-text { font-size: 1.25rem; } }

.faq-chevron {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-full);
  border: 1px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s, background 0.2s, color 0.2s;
}
.faq-chevron.is-open { transform: rotate(180deg); }

/* FAQ chevron colors */
.faq-border-teal     { border-color: var(--color-teal); }
.faq-text-teal       { color: var(--color-teal); }
.faq-border-nopal    { border-color: var(--color-nopal); }
.faq-text-nopal      { color: var(--color-nopal); }
.faq-border-blush    { border-color: var(--color-blush); }
.faq-text-blush      { color: var(--color-foreground); }
.faq-border-marigold { border-color: var(--color-marigold); }
.faq-text-marigold   { color: var(--color-foreground); }
.faq-border-rosa     { border-color: var(--color-rosa); }
.faq-text-rosa       { color: var(--color-foreground); }

.faq-answer {
  overflow: hidden;
}
.faq-answer p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(24, 47, 41, 0.75);
  padding-bottom: 1.5rem;
  padding-right: 3rem;
  max-width: 48rem;
}
@media (min-width: 768px) { .faq-answer p { font-size: 1.0625rem; } }

/* =============================================================================
   TESTIMONIALS
   ============================================================================= */

.testimonials-section { background: var(--color-background); overflow: hidden; }
.testimonials-section .container-wide { padding-top: 4rem; padding-bottom: 6rem; }
@media (min-width: 768px) {
  .testimonials-section .container-wide { padding-top: 6rem; padding-bottom: 7.5rem; }
}

.testimonials-header { margin-bottom: 3rem; }
@media (min-width: 768px) { .testimonials-header { margin-bottom: 4rem; } }

.testimonials-count-label {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(24, 47, 41, 0.7);
  margin-bottom: 0.5rem;
}

.testimonials-stars { display: flex; justify-content: center; gap: 0.25rem; margin-bottom: 1.25rem; }
.testimonials-star-icon { color: var(--color-marigold); fill: var(--color-marigold); }

/* Carousel */
.testimonials-carousel-wrap { position: relative; max-width: 80rem; margin: 0 auto; overflow: hidden; }
.testimonials-track {
  display: flex;
  transition: transform 0.5s ease-out;
}

.testimonial-slide {
  flex-shrink: 0;
  padding: 0 0.625rem;
}

.testimonial-card {
  border-radius: 1.5rem;
  height: 260px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  .testimonial-card { height: 300px; padding: 1.75rem; }
}

/* Card backgrounds */
.bg-sand         { background: var(--color-sand); }
.bg-blush        { background: var(--color-blush); }
.bg-marigold-faded { background: rgba(242, 194, 49, 0.6); }
.bg-teal-faded   { background: rgba(87, 188, 199, 0.45); }
.bg-butter       { background: var(--color-butter); }
.bg-rosa-faded   { background: rgba(228, 37, 123, 0.2); }

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}
.testi-star { color: var(--color-marigold); fill: var(--color-marigold); }

.testimonial-quote {
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-foreground);
  flex: 1;
}
@media (min-width: 768px) { .testimonial-quote { font-size: 1.125rem; } }

.testimonial-author {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(24, 47, 41, 0.15);
  font-family: var(--font-body);
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(24, 47, 41, 0.8);
}

/* Controls */
.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.testi-arrow {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-nopal);
  color: var(--color-nopal);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: none;
  transition: var(--transition-colors);
}
.testi-arrow:hover {
  background: var(--color-nopal);
  color: var(--color-background);
}

.testi-dots { display: flex; align-items: center; gap: 0.5rem; }
.testi-dot {
  height: 0.5rem;
  border-radius: var(--radius-full);
  background: rgba(31, 91, 77, 0.3);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: width 0.3s, background 0.3s;
  width: 0.5rem;
}
.testi-dot.is-active { width: 2rem; background: var(--color-nopal); }

/* =============================================================================
   CTA SECTION
   ============================================================================= */

.cta-section { overflow: hidden; position: relative; }

.cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 420px;
}
@media (min-width: 1024px) { .cta-grid { grid-template-columns: 1fr 1fr; } }

.cta-image-col {
  position: relative;
  overflow: hidden;
  min-height: 280px;
}
@media (min-width: 1024px) { .cta-image-col { min-height: 480px; } }
.cta-image-col img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.cta-panel {
  position: relative;
  background: var(--color-accent);
  color: var(--color-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 2rem;
}
@media (min-width: 768px) { .cta-panel { padding: 6rem 4rem; } }

.cta-content { max-width: 28rem; text-align: center; }
.cta-title {
  font-family: var(--font-condensed);
  text-transform: uppercase;
  font-size: 3.125rem;
  line-height: 0.9;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px)  { .cta-title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .cta-title { font-size: 4.375rem; } }

.cta-body {
  font-family: var(--font-body);
  color: rgba(24, 47, 41, 0.8);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 640px) { .cta-buttons { flex-direction: row; justify-content: center; } }

/* =============================================================================
   FOOTER
   ============================================================================= */

.site-footer {
  background: var(--color-butter);
  border-top: 1px solid var(--color-border);
}
.site-footer .container-wide { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 1024px) {
  .site-footer .container-wide { padding-top: 5rem; padding-bottom: 5rem; }
}

/* Brand block */
.footer-brand-block {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--color-border);
}
@media (min-width: 640px) {
  .footer-brand-block {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-logo-link { flex-shrink: 0; }
.footer-logo { height: 6rem; }
@media (min-width: 640px) { .footer-logo { height: 7rem; } }

.footer-brand-info { max-width: 36rem; }
@media (min-width: 640px) { .footer-brand-info { text-align: right; } }
.footer-brand-desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(24, 47, 41, 0.7);
  line-height: 1.6;
}
.footer-contact-line {
  margin-top: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(24, 47, 41, 0.7);
}
.footer-contact-email, .footer-contact-phone { transition: color 0.2s; }
.footer-contact-email:hover, .footer-contact-phone:hover { color: var(--color-foreground); }
.footer-contact-sep { margin: 0 0.5rem; opacity: 0.4; }

/* Columns */
.footer-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}
@media (min-width: 768px) { .footer-columns { grid-template-columns: repeat(4, 1fr); gap: 3rem; } }

.footer-col-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-foreground);
  margin-bottom: 1.25rem;
}
.footer-col-links { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col-link {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(24, 47, 41, 0.7);
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-align: left;
  display: block;
  text-decoration: none;
}
.footer-col-link:hover { color: var(--color-foreground); }

.footer-col--reach { grid-column: span 2; }
@media (min-width: 768px) { .footer-col--reach { grid-column: auto; } }

.footer-reach-body {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(24, 47, 41, 0.7);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.footer-reach-contacts { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-reach-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(24, 47, 41, 0.8);
  transition: color 0.2s;
  text-decoration: none;
}
.footer-reach-link:hover { color: var(--color-foreground); }

/* Footer bottom */
.footer-bottom {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

.footer-tagline {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--color-nopal);
  letter-spacing: 0.1em;
  font-style: italic;
}
.footer-copyright {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--color-muted-fg);
  letter-spacing: 0.1em;
}
.footer-copyright-link { text-decoration: underline; transition: color 0.2s; }
.footer-copyright-link:hover { color: var(--color-foreground); }

/* =============================================================================
   CONTACT MODAL
   ============================================================================= */

.theme-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s;
}
.theme-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.theme-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(24, 47, 41, 0.2);
}

.theme-modal-panel {
  position: relative;
  background: var(--color-background);
  border-radius: var(--radius);
  max-width: 32rem;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.5rem;
  box-shadow: var(--shadow-elevated);
  transform: scale(0.95);
  transition: transform 0.25s;
}
.theme-modal.is-open .theme-modal-panel { transform: scale(1); }

.theme-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.theme-modal-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
}
.theme-modal-desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-muted-fg);
  margin-top: 0.25rem;
}
.theme-modal-close {
  padding: 0.25rem;
  color: var(--color-foreground);
  opacity: 0.7;
  flex-shrink: 0;
}
.theme-modal-close:hover { opacity: 1; }

.theme-modal-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-muted-fg);
}
.modal-contact-item { display: flex; align-items: center; gap: 0.5rem; }
.modal-contact-link { transition: color 0.2s; }
.modal-contact-link:hover { color: var(--color-foreground); }

.theme-contact-form { display: flex; flex-direction: column; gap: 1rem; }

.contact-submit-btn { align-self: flex-end; }

.contact-success { text-align: center; padding: 2rem 0; }
.contact-success-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-background);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.contact-success-title { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 0.5rem; }
.contact-success-body { font-family: var(--font-body); font-size: 0.875rem; color: var(--color-muted-fg); }

/* =============================================================================
   SIDE CART DRAWER
   ============================================================================= */

#theme-cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(24, 47, 41, 0.2);
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
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: 70;
  box-shadow: var(--shadow-elevated);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease-smooth);
}
body.cart-open #theme-cart-drawer {
  transform: translateX(0);
}

#theme-cart-drawer.is-updating {
  opacity: 0.6;
  pointer-events: none;
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}
.cart-drawer-title { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; }
.cart-close-btn { padding: 0.25rem; color: var(--color-foreground); opacity: 0.7; }
.cart-close-btn:hover { opacity: 1; }

/* Empty state */
.cart-empty-state {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  gap: 1.5rem;
}
.cart-empty-icon { color: var(--color-muted-fg); }
.cart-empty-msg { font-family: var(--font-body); color: var(--color-muted-fg); }

/* Cart items */
.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cart-item { display: flex; gap: 1rem; align-items: flex-start; }

.cart-item-image-link {
  display: block;
  width: 5rem;
  height: 6rem;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--color-secondary);
}
.cart-item-image { width: 100%; height: 100%; object-fit: cover; }

.cart-item-details { flex: 1; min-width: 0; }
.cart-item-name {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.2s;
  text-decoration: none;
  color: var(--color-foreground);
}
.cart-item-name:hover { opacity: 0.7; }
.cart-item-price { font-family: var(--font-body); font-size: 0.875rem; color: var(--color-muted-fg); margin-top: 0.125rem; }

.cart-item-variation { font-size: 0.75rem; color: var(--color-muted-fg); margin-top: 0.25rem; }
.cart-item-variation span { display: block; }

.cart-item-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.cart-qty-btn {
  padding: 0.25rem;
  color: var(--color-foreground);
  border-radius: var(--radius-sm);
  transition: background 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-qty-btn:hover { background: var(--color-secondary); }
.cart-qty-display { font-family: var(--font-body); font-size: 0.875rem; min-width: 1.5rem; text-align: center; }
.cart-remove-btn {
  margin-left: auto;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-muted-fg);
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.cart-remove-btn:hover { color: var(--color-foreground); }

/* Cart footer */
.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 0.875rem;
}
.cart-subtotal-label { color: var(--color-muted-fg); }
.cart-subtotal-value { font-weight: 500; }
.cart-shipping-note { font-family: var(--font-body); font-size: 0.875rem; color: var(--color-muted-fg); }
.cart-checkout-btn { width: 100%; }
.cart-empty-btn { width: 100%; }

/* =============================================================================
   SINGLE PRODUCT PAGE
   ============================================================================= */

.single-product-main .container-wide { max-width: var(--container-max); }

.product-breadcrumb { padding: 1.5rem 0; }
.back-to-shop-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted-fg);
  transition: color 0.2s;
  text-decoration: none;
}
.back-to-shop-link:hover { color: var(--color-foreground); }

.theme-product-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 6rem;
  padding-top: 1rem;
  align-items: start;
  min-width: 0;
}
@media (min-width: 1024px) {
  .theme-product-layout {
    grid-template-columns: 7fr 5fr;
    gap: 4rem;
  }
}

.theme-product-gallery { min-width: 0; max-width: 100%; }
.theme-product-info    { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) {
  .theme-product-info { position: sticky; top: 7rem; }
}

/* Product gallery */
.product-main-image-wrap {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--color-secondary);
  position: relative;
}
.product-main-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s;
}

/* Thumbnails */
.theme-product-thumbnails {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  overflow-x: auto;
  flex-wrap: wrap;
  max-width: 100%;
}
.product-thumb-btn {
  width: 5rem;
  height: 5rem;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--color-secondary);
  position: relative;
  border: none;
  padding: 0;
  cursor: pointer;
}
.product-thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s;
}
.product-thumb-btn:not(.is-active) .product-thumb-img { opacity: 0.6; }
.product-thumb-btn:hover .product-thumb-img { opacity: 1; }
.product-thumb-btn.is-active { outline: 1px solid var(--color-foreground); }

/* Product info */
.product-category {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-muted-fg);
  margin-bottom: 0.75rem;
}
.product-category a { color: inherit; transition: color 0.2s; }
.product-category a:hover { color: var(--color-foreground); }

.product-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.875rem;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  font-style: normal;
}
@media (min-width: 768px) { .product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .product-title { font-size: 2.75rem; } }

.product-price {
  font-family: var(--font-body);
  font-size: 1.25rem;
  color: var(--color-foreground);
  margin-bottom: 1.5rem;
}

.product-description {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-muted-fg);
  line-height: 1.7;
  margin-bottom: 2rem;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Variation attributes */
.single-product .variations.shop_attributes { border: none; margin-bottom: 1.5rem; }
.single-product .variations.shop_attributes tbody,
.single-product .variations.shop_attributes tbody tr,
.single-product .variations.shop_attributes tbody td { display: block; width: 100%; }
.single-product .variations.shop_attributes tbody td.label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted-fg);
  padding-bottom: 0.75rem;
  padding-top: 1rem;
  font-style: normal;
}
.single-product .variations.shop_attributes tbody td.value { padding-top: 0; }

/* Hidden native select */
.theme-attr-select-hidden { display: none !important; }

/* Theme attribute pills */
.theme-attr-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-attr-pill {
  padding: 0.5rem 1rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  cursor: pointer;
  background: transparent;
  color: var(--color-foreground);
  transition: all 0.2s;
}
.theme-attr-pill:hover { border-color: rgba(24, 47, 41, 0.6); }
.theme-attr-pill.is-selected {
  background: var(--color-foreground);
  color: var(--color-background);
  border-color: var(--color-foreground);
}

/* Quantity + button row */
.theme-add-to-cart-area {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.theme-quantity-wrapper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
}
.theme-qty-minus, .theme-qty-plus {
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  color: var(--color-foreground);
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  min-width: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-input {
  width: 3rem;
  text-align: center;
  border: none;
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  font-family: var(--font-body);
  font-size: 0.875rem;
  padding: 0.5rem;
  background: transparent;
  -moz-appearance: textfield;
  outline: none;
}
.theme-qty-input::-webkit-outer-spin-button,
.theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }

.single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; text-transform: none !important; }

/* Product sold out */
.product-sold-out-label {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-muted-fg);
  margin-bottom: 1rem;
}

/* Product accordions */
.product-details-section { border-top: 1px solid var(--color-border); margin-top: 2.5rem; }
.product-accordion-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--color-foreground);
}
.product-accordion-label {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.product-accordion-chevron { transition: transform 0.2s; }
.product-accordion-toggle[aria-expanded="true"] .product-accordion-chevron { transform: rotate(180deg); }
.product-accordion-panel { padding-bottom: 1.5rem; }
.product-accordion-divider { border-top: 1px solid var(--color-border); }

.product-short-description p,
.product-accordion-panel p {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-muted-fg);
  line-height: 1.7;
  margin-bottom: 1rem;
  overflow-wrap: break-word;
  word-break: break-word;
}
.product-short-description ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.product-short-description li {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-muted-fg);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.product-short-description li::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-foreground);
  margin-top: 0.5rem;
  flex-shrink: 0;
}

/* Related products */
.related-products-section { padding: 5rem 0; border-top: 1px solid var(--color-border); }
.related-header { text-align: center; margin-bottom: 3rem; }
.related-subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--color-muted-fg);
  margin-bottom: 0.5rem;
}
.related-title { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; }
@media (min-width: 768px) { .related-title { font-size: 2.25rem; } }

.related-grid {
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 1024px) {
  .related-grid { grid-template-columns: repeat(4, 1fr); }
}

/* =============================================================================
   ADD TO CART BUTTON OVERRIDES (Mandatory §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-foreground) !important;
  color: var(--color-background) !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: none !important;
  cursor: pointer !important;
  transition: opacity 0.2s ease !important;
  text-decoration: none !important;
}

.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
  opacity: 0.85 !important;
  background-color: var(--color-foreground) !important;
  color: var(--color-background) !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-foreground) !important;
}

/* Card compact button override */
.theme-product-card .add_to_cart_button.ajax_add_to_cart.card-add-to-cart-btn {
  min-height: unset !important;
  padding: 0.75rem 1rem !important;
  border-radius: var(--radius-full) !important;
  background-color: var(--color-teal) !important;
  color: var(--color-background) !important;
  border: 1px solid var(--color-teal) !important;
  font-size: 0.6875rem !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
}
.theme-product-card .card-add-to-cart-btn:hover {
  background-color: var(--color-background) !important;
  color: var(--color-teal) !important;
}

/* Hide "View cart" after AJAX add (§11.4.2) */
.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;
}

/* Button loading state */
.ajax_add_to_cart.theme-btn-loading {
  opacity: 0.6 !important;
  pointer-events: none !important;
  cursor: wait !important;
}

/* =============================================================================
   WOOCOMMERCE VARIATIONS FORM
   ============================================================================= */

.variations_form .single_variation_wrap { margin-top: 1rem; }

/* =============================================================================
   ARCHIVE PRODUCT PAGE
   ============================================================================= */

.archive-product-main .container-wide { padding-top: 2.5rem; padding-bottom: 4rem; }
.shop-archive-header { margin-bottom: 2rem; }
.archive-title {
  font-family: var(--font-condensed);
  text-transform: uppercase;
  font-size: 3rem;
  line-height: 0.9;
  margin-bottom: 0.75rem;
}
.archive-desc { font-family: var(--font-body); color: var(--color-muted-fg); }

.shop-pagination { margin-top: 3rem; text-align: center; }
.shop-pagination .page-numbers {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
}
.shop-pagination a, .shop-pagination span {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.875rem;
  transition: var(--transition-colors);
}
.shop-pagination .current { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }

/* =============================================================================
   WooCommerce NOTICE STYLES
   ============================================================================= */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
}
.woocommerce-message { background: var(--color-butter); border-left: 4px solid var(--color-nopal); }
.woocommerce-info    { background: rgba(87, 188, 199, 0.15); border-left: 4px solid var(--color-teal); }
.woocommerce-error   { background: rgba(228, 37, 123, 0.1); border-left: 4px solid var(--color-rosa); }

/* Hide notice on single product (drawer provides feedback) */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }

/* =============================================================================
   CHECKOUT PAGE
   ============================================================================= */

body.woocommerce-checkout .site-main {
  padding-top: var(--header-height, 80px);
  padding-bottom: 4rem;
}

body.woocommerce-checkout .entry-content { max-width: 100%; }
body.woocommerce-checkout .page-title {
  font-family: var(--font-condensed);
  text-transform: uppercase;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
  min-width: 0;
  width: 100%;
  max-width: none;
}

@media (min-width: 768px) {
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--checkout-gap, 2rem);
    align-items: start;
  }
  body.woocommerce-checkout .wc-block-checkout {
    display: block;
  }
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select {
  width: 100% !important;
  max-width: none !important;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-foreground);
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(87,188,199,0.2);
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
  background-color: var(--color-card);
  border-radius: var(--card-radius);
  padding: 2rem;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  background-color: var(--color-foreground) !important;
  color: var(--color-background) !important;
  border-radius: var(--btn-radius) !important;
  font-family: var(--font-body) !important;
  font-size: var(--btn-font-size) !important;
  letter-spacing: var(--btn-letter-spacing) !important;
  text-transform: var(--btn-text-transform) !important;
  font-weight: var(--btn-font-weight) !important;
  padding: var(--btn-padding) !important;
}

/* =============================================================================
   THANK YOU PAGE
   ============================================================================= */

body.theme-thankyou-page .woocommerce-order { padding: 2rem 0; }
body.theme-thankyou-page .woocommerce-order-overview {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  background: var(--color-card);
  border-radius: var(--card-radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
}
body.theme-thankyou-page .woocommerce-order-overview li {
  font-family: var(--font-body);
  font-size: 0.875rem;
}
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  padding: 0 0 1rem;
}
body.theme-thankyou-page .woocommerce-order-details table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  margin-bottom: 2rem;
}
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);
}
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 { overflow-x: hidden; }

.thankyou-wrap { padding: 2rem 0 4rem; }
.thankyou-not-found { font-family: var(--font-body); color: var(--color-muted-fg); margin-bottom: 1.5rem; }

/* =============================================================================
   NOT FOUND / 404
   ============================================================================= */

.not-found-page {
  text-align: center;
  padding: 5rem 0;
}
.not-found-title {
  font-family: var(--font-condensed);
  text-transform: uppercase;
  font-size: 3rem;
  margin-bottom: 1.5rem;
}
.not-found-body {
  font-family: var(--font-body);
  color: var(--color-muted-fg);
  margin-bottom: 2rem;
}

/* =============================================================================
   CUSTOMIZER CONTROLS CSS
   ============================================================================= */

/* (See customizer-controls.css for the Customizer panel itself) */

/* =============================================================================
   RESPONSIVE UTILITIES
   ============================================================================= */

@media (max-width: 1023px) {
  .cart-btn.desktop-only { display: none !important; }
}

/* =============================================================================
   INNER PAGE HEADER OFFSET
   ============================================================================= */

.theme-no-hero .site-main,
.inner-page-main {
  padding-top: 2.5rem;
}

/* Don't add top padding on homepage hero */
body:not(.theme-no-hero) > #page-content > .hero-section { padding-top: 0; }

/* =============================================================================
   SCROLL TO ANCHOR SMOOTH BEHAVIOR
   ============================================================================= */

html { scroll-behavior: smooth; }
