/*
 * Kooliopods theme.css
 * All colors are consumed via CSS variables emitted from the Customizer
 * (Section 6 / 22.9). Derived tokens are computed here from the brand
 * tokens registered in functions.php.
 */

:root {
  /* Brand tokens are injected inline by wp_add_inline_style() as
     `h s% l%` triplets (kooliopods_get_inline_css_vars()); the fallback
     values below match the original brand design exactly. */
  --background: 44 60% 96%;
  --foreground: 155 16% 12%;
  --primary: 96 27% 38%;
  --primary-foreground: 44 62% 97%;
  --secondary: 190 55% 80%;
  --accent: 44 92% 62%;
  --accent-foreground: 155 16% 12%;
  --destructive: 0 72% 50%;
  --border: 44 26% 84%;
  --ivory: 44 62% 97.5%;
  --linen: 44 48% 93%;
  --bone: 44 36% 89%;
  --logo-height: 56px;

  /* Derived (not editable — computed from the brand tokens above). */
  --secondary-foreground: var(--foreground);
  --destructive-foreground: 0 0% 100%;
  --card: var(--ivory);
  --muted: 44 42% 92%;
  --muted-foreground: 155 10% 38%;

  /* Typography scale — ported verbatim from the source's Tailwind tokens. */
  --fs-micro: 11px;
  --fs-eyebrow: 12px;
  --fs-caption: 13px;
  --fs-body-sm: 14px;
  --fs-body: 15px;
  --fs-lead: 20px;
  --fs-display-hero: clamp(2.2rem, 5.6vw, 4.6rem);
  --fs-display-section: clamp(2rem, 5.4vw, 4rem);

  --ls-label-tight: 0.12em;
  --ls-label: 0.14em;
  --ls-label-wide: 0.15em;
  --ls-badge: 0.16em;
  --ls-eyebrow-tight: 0.2em;
  --ls-eyebrow: 0.22em;
  --ls-eyebrow-wide: 0.28em;
  --ls-section-label: 0.32em;
  --ls-section-label-wide: 0.38em;

  --lh-display: 1.05;
  --lh-display-tight: 1.02;

  --header-h: 80px;
  --radius: 1rem;
  --shadow-soft: 0 4px 20px -8px hsl(155 30% 12% / 0.16);
  --shadow-elevated: 0 20px 50px -18px hsl(155 30% 12% / 0.3);

  /* Button design tokens (Section 11.4.1). */
  --btn-radius: 999px;
  --btn-height: 44px;
  --btn-padding: 0 1.5rem;
  --btn-font-size: 14px;
  --btn-font-weight: 500;
  --btn-letter-spacing: normal;
  --btn-text-transform: none;
  --btn-icon-padding: 0;
  --color-primary: hsl(var(--primary));
  --color-button-text: hsl(var(--primary-foreground));
}

/* -------------------------------------------------------------------------
 * RESET / BASE
 * ---------------------------------------------------------------------- */

* {
  box-sizing: border-box;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: 'Nunito Sans', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: inherit;
  font-size: inherit;
  margin: 0;
  font-family: 'Gluten', 'Nunito Sans', system-ui, sans-serif;
  letter-spacing: -0.01em;
}

.font-display, h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, a { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

img:not(.cover-img):not(.hero-section__bg):not(.precta-section__bg):not(.theme-product-card__image):not(.theme-product-gallery__main-img):not(.theme-product-thumbnail__img):not(.theme-cart-item__img):not(.service-card__image):not(.cover-img-contain) {
  max-width: 100%;
  height: auto;
}

.cover-img,
.hero-section__bg,
.precta-section__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover-img-contain,
.theme-product-card__image,
.theme-cart-item__img {
  object-fit: contain;
}

.theme-product-card__image {
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

section[id] { scroll-margin-top: var(--header-h); }

.container-wide {
  width: 100%;
  max-width: 90rem; /* 1440px ~ Tailwind max-w-7xl (80rem) plus generous gutters seen in source */
  max-width: 80rem;
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
@media (min-width: 640px) {
  .container-wide { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
  .container-wide { padding-left: 2.5rem; padding-right: 2.5rem; }
}

.eyebrow {
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-section-label);
  text-transform: uppercase;
  color: hsl(var(--primary));
  font-weight: 600;
  margin-bottom: 1rem;
}

.icon { width: 1.25rem; height: 1.25rem; }
.icon-xxs { width: 0.75rem; height: 0.75rem; }
.icon-xs { width: 0.875rem; height: 0.875rem; }
.icon-sm { width: 1rem; height: 1rem; }
.icon-lg { width: 3rem; height: 3rem; }
.icon-star { fill: hsl(var(--primary)); color: hsl(var(--primary)); }

/* -------------------------------------------------------------------------
 * REVEAL-ON-SCROLL (Section 2.1)
 * ---------------------------------------------------------------------- */

.reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1), transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal-item.is-revealed { opacity: 1; transform: translateY(0); }

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

/* Customizer preview fallback — never hide content in the editor (Section 2.1.5). */
body.is-customizer .reveal-item,
body.is-customizer .theme-shop-extra-item {
  opacity: 1 !important;
  transform: none !important;
  display: block !important;
}

@keyframes theme-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes theme-slide-in-right { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: translateX(0); } }
@keyframes theme-marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-33.3333%); } }

.animate-fade-in { animation: theme-fade-in 0.7s ease-out both; }

/* -------------------------------------------------------------------------
 * BUTTONS
 * ---------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
  border: 1px solid transparent;
  height: 44px;
  padding: 0 1.5rem;
}
.btn:disabled { pointer-events: none; opacity: 0.6; }
.btn .icon { width: 1rem; height: 1rem; flex-shrink: 0; }

.btn-lg { height: 48px; padding: 0 1.75rem; }
.btn-sm { height: 36px; padding: 0 1rem; }

.btn-hero-primary,
.btn-primary {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-color: hsl(var(--primary));
  text-transform: none;
}
.btn-hero-primary:hover, .btn-primary:hover { background-color: hsl(var(--primary) / 0.9); }

.btn-hero-outline,
.btn-outline {
  background-color: transparent;
  color: hsl(var(--foreground));
  border-color: hsl(var(--foreground) / 0.25);
  text-transform: none;
}
.btn-hero-outline { background-color: hsl(var(--ivory) / 0.7); backdrop-filter: blur(4px); }
.btn-outline:hover, .btn-hero-outline:hover { border-color: hsl(var(--foreground)); background-color: hsl(var(--foreground) / 0.04); }

.btn-secondary {
  background-color: hsl(var(--secondary));
  color: hsl(var(--foreground));
  border-color: hsl(var(--secondary));
}
.btn-secondary:hover { background-color: hsl(var(--bone)); }

.btn-ghost { border-color: transparent; background-color: transparent; }
.btn-ghost:hover { background-color: hsl(var(--foreground) / 0.05); }

/* -------------------------------------------------------------------------
 * HEADER
 * ---------------------------------------------------------------------- */

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

.announcement-bar {
  background-color: hsl(var(--foreground));
  color: hsl(var(--background));
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  text-align: center;
}
.announcement-bar__text { opacity: 0.9; }
.announcement-bar__highlight { color: hsl(var(--accent)); }

.site-header__bar {
  background-color: hsl(var(--ivory) / 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid hsl(var(--foreground) / 0.1);
  transition: background-color 0.5s ease;
}

.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}
@media (min-width: 1024px) {
  .site-header__row {
    height: 5rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }
}

.site-header__burger {
  order: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: hsl(var(--foreground));
  transition: background-color 0.2s;
}
.site-header__burger:hover { background-color: hsl(var(--foreground) / 0.06); }
@media (min-width: 1024px) { .site-header__burger { display: none; } }
.site-header__burger .icon-menu-close { display: none; }
.site-header__burger[aria-expanded="true"] .icon-menu-open { display: none; }
.site-header__burger[aria-expanded="true"] .icon-menu-close { display: block; }

.site-header__logo {
  order: 2;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
@media (min-width: 1024px) { .site-header__logo { order: 1; justify-self: start; } }

.site-header__logo .site-logo-img { height: 2.75rem; width: auto; }
@media (min-width: 640px) { .site-header__logo .site-logo-img { height: 3rem; } }
@media (min-width: 1024px) { .site-header__logo .site-logo-img { height: 3.5rem; } }
.site-header__logo .site-logo-text { font-family: 'Gluten', sans-serif; font-size: 1.5rem; color: hsl(var(--foreground)); }

.site-header__nav {
  order: 3;
  display: none;
}
@media (min-width: 1024px) {
  .site-header__nav { display: flex; align-items: center; order: 2; justify-self: center; }
  .site-header__nav .theme-nav-list {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
  }
}
.theme-nav-list { list-style: none; margin: 0; padding: 0; }
.theme-nav-link {
  position: relative;
  font-size: var(--fs-body-sm);
  font-weight: 500;
  color: hsl(var(--foreground) / 0.75);
  transition: color 0.3s ease;
  padding: 0;
}
.theme-nav-link:hover, .theme-nav-link.is-active { color: hsl(var(--primary)); }
.theme-nav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -0.375rem;
  height: 2px;
  border-radius: 999px;
  background-color: hsl(var(--primary));
  opacity: 0;
  transform: scaleX(0);
  transition: all 0.3s ease;
}
.theme-nav-link.is-active::after { opacity: 1; transform: scaleX(1); }

.site-header__actions { order: 3; display: flex; align-items: center; gap: 0.5rem; justify-self: end; }

.site-header__cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: hsl(var(--foreground));
  transition: background-color 0.2s;
}
.site-header__cart:hover { background-color: hsl(var(--foreground) / 0.06); }
.theme-cart-count {
  position: absolute;
  top: -0.125rem;
  right: -0.125rem;
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  min-width: 18px;
  height: 18px;
  padding: 0 0.25rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.theme-cart-count:empty { display: none; }

.site-header__mobile-nav {
  display: none;
  border-top: 1px solid hsl(var(--foreground) / 0.1);
  background-color: hsl(var(--ivory) / 0.95);
  backdrop-filter: blur(20px);
}
.site-header__mobile-nav.is-open { display: block; animation: theme-fade-in 0.3s ease-out; }
.site-header__mobile-nav-inner {
  padding-block: 1rem;
  display: flex;
  flex-direction: column;
}
.theme-nav-list--mobile { display: flex; flex-direction: column; width: 100%; }
.theme-nav-list--mobile .theme-nav-link,
.theme-nav-list--mobile li a {
  display: block;
  text-align: left;
  padding: 0.75rem 0.25rem 0.75rem 0.75rem;
  border-bottom: 1px solid hsl(var(--foreground) / 0.1);
  color: hsl(var(--foreground) / 0.8);
  font-size: var(--fs-body-sm);
  font-weight: 500;
}
.theme-nav-list--mobile li:last-child .theme-nav-link,
.theme-nav-list--mobile li:last-child a { border-bottom: 0; }
@media (min-width: 1024px) { .site-header__mobile-nav { display: none !important; } }

/* Inner-page (non-home) solid header */
.site-header.is-solid .site-header__bar { background-color: hsl(var(--ivory) / 0.97); }

/* -------------------------------------------------------------------------
 * HOME HERO
 * ---------------------------------------------------------------------- */

body:not(.theme-no-hero) .site-main { padding-top: 0; }
body.theme-no-hero .site-main { padding-top: var(--header-h, 80px); }
body.theme-no-hero .single-product-main,
body.theme-no-hero .shop-archive-section,
body.theme-no-hero .site-main--page {
  padding-top: calc(var(--header-h, 80px) + 2rem);
}
@media (min-width: 1024px) {
  body.theme-no-hero .single-product-main { padding-top: calc(var(--header-h, 80px) + 2.5rem); }
}

.hero-section {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: hsl(var(--ivory));
}
.hero-section__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(at center, hsl(var(--ivory) / 0.94) 0%, hsl(var(--ivory) / 0.8) 55%, hsl(var(--ivory) / 0.45) 100%);
}
.hero-section__inner {
  position: relative;
  z-index: 10;
  text-align: center;
  color: hsl(var(--foreground));
  padding-top: 10rem;
  padding-bottom: 6rem;
}
@media (min-width: 1024px) { .hero-section__inner { padding-top: 13rem; padding-bottom: 8rem; } }

.hero-section__badge-row { display: flex; justify-content: center; margin-bottom: 1.75rem; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 999px;
  background-color: hsl(var(--ivory) / 0.8);
  border: 1px solid hsl(var(--foreground) / 0.15);
  backdrop-filter: blur(8px);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  font-weight: 600;
}
.hero-badge .icon { color: hsl(var(--primary)); }

.hero-section__heading {
  font-size: var(--fs-display-hero);
  line-height: var(--lh-display-tight);
  letter-spacing: -0.02em;
  max-width: 64rem;
  margin: 0 auto;
}
.hero-section__heading-accent { color: hsl(var(--primary)); }
.hero-section__break { display: none; }
@media (min-width: 640px) { .hero-section__break { display: block; } }

.hero-section__paragraph {
  margin-top: 1.75rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  font-size: var(--fs-body);
  color: hsl(var(--foreground) / 0.75);
  line-height: 1.7;
}
@media (min-width: 640px) { .hero-section__paragraph { font-size: 16px; } }

.hero-section__actions {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero-section__actions .btn {
  width: 100%;
  max-width: 20rem;
}
.hero-section__actions .btn + .btn {
  margin-top: 0.75rem;
}
@media (min-width: 640px) {
  .hero-section__actions {
    flex-direction: row;
    gap: 1rem;
  }
  .hero-section__actions .btn + .btn {
    margin-top: 0;
  }
  .hero-section__actions .btn {
    width: auto;
    max-width: none;
  }
}

/* -------------------------------------------------------------------------
 * SECTION HEADINGS (Section 2.2 — per-section scale, no global clamp)
 * ---------------------------------------------------------------------- */

.brand-section .section-heading,
.about-section .section-heading,
.services-section .section-heading,
.faq-section .section-heading,
.testimonials-block .section-heading,
.shop-heading {
  font-size: 2.25rem;
  line-height: var(--lh-display);
}
@media (min-width: 768px) { .brand-section .section-heading, .about-section .section-heading, .services-section .section-heading, .faq-section .section-heading, .testimonials-block .section-heading, .shop-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .brand-section .section-heading, .services-section .section-heading, .shop-heading { font-size: 3.2rem; } }
@media (min-width: 1024px) { .about-section .section-heading { font-size: 3.4rem; } }

.precta-section__heading { font-size: var(--fs-display-section); line-height: var(--lh-display); letter-spacing: -0.02em; max-width: 56rem; margin: 0 auto; }

.contact-title { font-size: 2.25rem; line-height: var(--lh-display); }
@media (min-width: 768px) { .contact-title { font-size: 3rem; } }
@media (min-width: 1024px) { .contact-title { font-size: 3.4rem; } }

/* -------------------------------------------------------------------------
 * BRAND SECTION ("The Shop" values)
 * ---------------------------------------------------------------------- */

.brand-section { background-color: hsl(var(--ivory)); padding: 6rem 0; border-bottom: 1px solid hsl(var(--foreground) / 0.1); }
@media (min-width: 768px) { .brand-section { padding: 8rem 0; } }

.brand-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .brand-section__grid { grid-template-columns: 5fr 7fr; gap: 4rem; } }

.brand-section__paragraph { margin-top: 1.5rem; color: hsl(var(--foreground) / 0.75); line-height: 1.7; max-width: 65ch; }

.brand-section__mark {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  border-radius: 1rem;
  border: 1px solid hsl(var(--foreground) / 0.1);
  background-color: hsl(var(--linen));
  padding: 1rem 1.25rem;
}
.brand-section__mark-img { width: 3.5rem; height: 3.5rem; object-fit: contain; }
.brand-section__mark-caption { font-size: var(--fs-body-sm); color: hsl(var(--foreground) / 0.75); line-height: 1.4; max-width: 16rem; }

.brand-section__values { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .brand-section__values { grid-template-columns: 1fr 1fr; gap: 1.25rem; } }

.brand-value-card {
  border-radius: 1rem;
  border: 1px solid hsl(var(--foreground) / 0.1);
  background-color: hsl(var(--linen));
  padding: 1.5rem;
  height: 100%;
  transition: border-color 0.2s ease;
}
@media (min-width: 768px) { .brand-value-card { padding: 1.75rem; } }
.brand-value-card:hover { border-color: hsl(var(--primary) / 0.4); }
.brand-value-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  margin-bottom: 1rem;
}
.brand-value-card__title { font-size: 1.25rem; margin-bottom: 0.5rem; }
.brand-value-card__body { font-size: var(--fs-body-sm); line-height: 1.7; color: hsl(var(--foreground) / 0.7); }

/* -------------------------------------------------------------------------
 * ABOUT / MEET ELLA
 * ---------------------------------------------------------------------- */

.about-section { background-color: hsl(var(--linen)); padding: 6rem 0; }
@media (min-width: 768px) { .about-section { padding: 8rem 0; } }

.about-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: stretch; }
@media (min-width: 1024px) { .about-section__grid { grid-template-columns: 5fr 7fr; gap: 4rem; } }

.about-section__portrait-wrap { position: relative; display: flex; min-width: 0; }
.about-section__portrait {
  position: relative;
  width: 100%;
  min-height: 32rem;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 1rem;
  background-color: hsl(var(--secondary));
  box-shadow: var(--shadow-elevated);
}
@media (min-width: 1024px) { .about-section__portrait { min-height: 0; aspect-ratio: auto; height: 100%; } }
.about-section__portrait-img { padding: 2rem; }
.about-section__badge {
  position: absolute;
  top: 1rem; left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-size: var(--fs-micro);
  letter-spacing: var(--ls-eyebrow-tight);
  text-transform: uppercase;
  font-weight: 600;
}
.about-section__badge-dot { width: 0.375rem; height: 0.375rem; border-radius: 999px; background-color: hsl(var(--primary-foreground)); }

@media (min-width: 1024px) { .about-section__content { padding-left: 1.5rem; } }
.about-section__quote {
  margin-top: 2rem;
  font-family: 'Gluten', sans-serif;
  font-size: 1.25rem;
  color: hsl(var(--foreground) / 0.75);
  line-height: 1.4;
  border-left: 2px solid hsl(var(--primary) / 0.7);
  padding-left: 1.25rem;
}
@media (min-width: 768px) { .about-section__quote { font-size: 1.5rem; } }

.about-section__paragraphs {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: var(--fs-body);
  line-height: 1.7;
  color: hsl(var(--foreground) / 0.8);
  max-width: 100%;
}
@media (min-width: 1280px) {
  .about-section__paragraphs { max-width: 65ch; }
}

.about-section__socials { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.about-section__social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 2.75rem;
  padding: 0 1.25rem;
  border-radius: 999px;
  border: 1px solid hsl(var(--foreground) / 0.15);
  background-color: hsl(var(--ivory));
  font-size: var(--fs-body-sm);
  font-weight: 600;
  transition: all 0.2s ease;
}
.about-section__social-link:hover { background-color: hsl(var(--primary)); color: hsl(var(--primary-foreground)); border-color: hsl(var(--primary)); }

.about-section__stats {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  border-top: 1px solid hsl(var(--foreground) / 0.15);
  padding-top: 2rem;
}
@media (min-width: 640px) { .about-section__stats { grid-template-columns: repeat(3, 1fr); } }
.about-stat { min-width: 0; }
.about-stat__value { font-family: 'Gluten', sans-serif; font-size: 1.125rem; color: hsl(var(--primary)); overflow-wrap: break-word; }
@media (min-width: 768px) { .about-stat__value { font-size: 1.25rem; } }
.about-stat__label { margin-top: 0.25rem; font-size: var(--fs-eyebrow); text-transform: uppercase; letter-spacing: var(--ls-label-tight); color: hsl(var(--foreground) / 0.6); }

/* -------------------------------------------------------------------------
 * SHOP SECTION
 * ---------------------------------------------------------------------- */

.shop-section { background-color: hsl(var(--ivory)); padding: 6rem 0; }
@media (min-width: 768px) { .shop-section { padding: 8rem 0; } }

.shop-section__head { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2.5rem; }
@media (min-width: 1024px) { .shop-section__head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.shop-section__head-copy { max-width: 100%; }
@media (min-width: 1280px) { .shop-section__head-copy { max-width: 42rem; } }
.shop-section__paragraph { margin-top: 1.25rem; font-size: var(--fs-body-sm); color: hsl(var(--foreground) / 0.7); line-height: 1.7; max-width: 100%; }
@media (min-width: 768px) { .shop-section__paragraph { font-size: var(--fs-body); } }
@media (min-width: 1280px) { .shop-section__paragraph { max-width: 40rem; } }

.shop-section__search { position: relative; width: 100%; }
@media (min-width: 1024px) { .shop-section__search { width: 20rem; } }
.shop-section__search-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: hsl(var(--foreground) / 0.4); }
.shop-section__search-input {
  width: 100%;
  height: 2.75rem;
  padding-left: 2.75rem;
  padding-right: 1rem;
  border-radius: 999px;
  background-color: hsl(var(--linen));
  border: 1px solid hsl(var(--foreground) / 0.1);
  font-size: var(--fs-body-sm);
  font-family: inherit;
  color: hsl(var(--foreground));
}
.shop-section__search-input::placeholder { color: hsl(var(--foreground) / 0.45); }
.shop-section__search-input:focus { outline: none; border-color: hsl(var(--primary) / 0.6); }

.shop-section__filters { display: flex; flex-wrap: wrap; gap: 0.625rem; margin-bottom: 2.5rem; }
.shop-filter-pill {
  padding: 0 1.25rem;
  height: 2.5rem;
  border-radius: 999px;
  font-size: var(--fs-body-sm);
  font-weight: 500;
  border: 1px solid hsl(var(--foreground) / 0.15);
  background-color: transparent;
  color: hsl(var(--foreground) / 0.75);
  transition: all 0.2s ease;
}
.shop-filter-pill:hover { border-color: hsl(var(--primary)); color: hsl(var(--primary)); }
.shop-filter-pill.is-active { background-color: hsl(var(--primary)); color: hsl(var(--primary-foreground)); border-color: hsl(var(--primary)); }

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

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

.theme-shop-extra-item { display: none; }
.theme-shop-extra-item.is-shown { display: block; }
.theme-product-card-wrap.is-filtered-out { display: none !important; }

.shop-section__empty { text-align: center; padding: 5rem 0; }
.shop-section__empty-title { display: block; font-family: 'Gluten', sans-serif; font-size: 1.5rem; margin-bottom: 0.5rem; }
.shop-section__empty-body { display: block; font-size: var(--fs-body-sm); color: hsl(var(--foreground) / 0.6); max-width: 24rem; margin: 0 auto; }

.shop-section__more { margin-top: 3rem; display: flex; justify-content: center; }

/* Product card */
.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }
.theme-product-card-wrap.theme-shop-extra-item:not(.is-shown) { display: none !important; }
.theme-product-card-wrap.theme-shop-extra-item.is-shown { display: flex; }
.theme-product-card { display: flex; flex-direction: column; height: 100%; }

.theme-product-card__image-wrapper {
  position: relative;
  aspect-ratio: 1/1;
  background-color: hsl(var(--linen));
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  box-sizing: border-box;
}
.theme-product-card__image { transition: transform 1.4s cubic-bezier(0.22,0.61,0.36,1); pointer-events: none; }
.theme-product-card:hover .theme-product-card__image { transform: scale(1.04); }

.theme-card-link { position: absolute; inset: 0; z-index: 2; pointer-events: auto; }
.theme-product-card__image-wrapper *:not(.theme-card-link):not(.theme-product-card__quick-actions):not(.theme-product-card__quick-actions *):not(.theme-product-card__nav) { pointer-events: none; }
.theme-product-card__quick-actions,
.theme-product-card__quick-actions *,
.theme-product-card__nav { pointer-events: auto; }

.theme-product-card__badge {
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  z-index: 3;
  background-color: hsl(var(--foreground));
  color: hsl(var(--background));
  font-size: var(--fs-micro);
  font-weight: 500;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
}

.theme-product-card__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 2rem; height: 2rem;
  border-radius: 999px;
  background-color: hsl(var(--background) / 0.85);
  backdrop-filter: blur(4px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--foreground));
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: auto;
  border: none;
}
.theme-product-card:hover .theme-product-card__nav { opacity: 1; }
.theme-product-card__nav:hover { background-color: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.theme-product-card__nav--prev { left: 0.5rem; }
.theme-product-card__nav--next { right: 0.5rem; }

.theme-product-card__dots { position: absolute; top: 0.75rem; right: 0.75rem; z-index: 3; display: flex; gap: 0.25rem; pointer-events: none; }
.theme-product-card__dot { height: 4px; width: 4px; border-radius: 999px; background-color: hsl(var(--background) / 0.6); transition: all 0.2s; }
.theme-product-card__dot.is-active { width: 1rem; background-color: hsl(var(--background)); }

.theme-product-card__quick-actions {
  position: absolute;
  left: 0.75rem; right: 0.75rem; bottom: 0.75rem;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: auto;
}
.theme-product-card:hover .theme-product-card__quick-actions { opacity: 1; }
@media (hover: none) {
  .theme-product-card__quick-actions { opacity: 1; }
}

a.theme-product-card__add-btn.button {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background-color: hsl(var(--background) / 0.95) !important;
  backdrop-filter: blur(4px);
  color: hsl(var(--foreground)) !important;
  font-size: var(--fs-body-sm);
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none !important;
  border: none !important;
  min-height: unset !important;
  padding: 0 1rem !important;
  transition: background-color 0.3s ease, color 0.3s ease;
}
a.theme-product-card__add-btn.button:hover {
  background-color: hsl(var(--primary)) !important;
  color: hsl(var(--primary-foreground)) !important;
}

.theme-product-card__quick-view {
  width: 2.5rem; height: 2.5rem;
  border-radius: 999px;
  background-color: hsl(var(--background) / 0.95);
  backdrop-filter: blur(4px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--foreground));
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.theme-product-card__quick-view:hover { background-color: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }

.theme-product-card__info { display: block; padding: 0 0.125rem; flex: 1; }
.theme-product-card__category { font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: var(--ls-badge); color: hsl(var(--primary) / 0.9); margin-bottom: 0.375rem; font-weight: 500; }
.theme-product-card__title {
  font-size: 1.15rem;
  line-height: 1.4;
  color: hsl(var(--foreground));
  transition: color 0.3s ease;
}
@media (min-width: 768px) { .theme-product-card__title { font-size: 1.3rem; } }
@media (min-width: 1024px) { .theme-product-card__title { font-size: 1.4rem; } }
.theme-product-card:hover .theme-product-card__title { color: hsl(var(--primary)); }
.theme-product-card__price { margin-top: 0.375rem; font-size: var(--fs-body-sm); font-weight: 500; color: hsl(var(--foreground) / 0.85); }
.theme-product-card__price .woocommerce-Price-amount { color: inherit; }

/* -------------------------------------------------------------------------
 * MARQUEE
 * ---------------------------------------------------------------------- */

.marquee-section { background-color: hsl(var(--primary)); padding: 1.25rem 0; overflow: hidden; }
.marquee-section__track { display: flex; white-space: nowrap; animation: theme-marquee 22s linear infinite; }
.marquee-section__item {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: hsl(var(--primary-foreground) / 0.95);
  font-family: 'Gluten', sans-serif;
  font-size: 1.125rem;
  letter-spacing: 0.01em;
}
@media (min-width: 768px) { .marquee-section__item { font-size: 1.25rem; } }
.marquee-section__item-text { margin: 0 1.5rem; }
@media (min-width: 768px) { .marquee-section__item-text { margin: 0 2rem; } }
.marquee-section__item-dot { color: hsl(var(--primary-foreground) / 0.5); font-size: 0.875rem; }

/* -------------------------------------------------------------------------
 * SERVICES / INSIDE THE STUDIO
 * ---------------------------------------------------------------------- */

.services-section { background-color: hsl(var(--ivory)); padding: 6rem 0; }
@media (min-width: 768px) { .services-section { padding: 8rem 0; } }
.services-section__intro { max-width: 48rem; margin-bottom: 3.5rem; }
.services-section__grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .services-section__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }

.service-card {
  background-color: hsl(var(--linen));
  border: 1px solid hsl(var(--foreground) / 0.1);
  border-radius: 1rem;
  overflow: hidden;
  transition: border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover { border-color: hsl(var(--primary) / 0.4); }
.service-card__image-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; background-color: hsl(var(--ivory)); }
.service-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2rem;
  transition: transform 0.7s ease;
}
.service-card:hover .service-card__image { transform: scale(1.05); }
.service-card__icon {
  position: absolute;
  top: 1rem; left: 1rem;
  width: 2.75rem; height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease;
}
.service-card:hover .service-card__icon { transform: rotate(20deg); }
.service-card__body { padding: 1.75rem; }
@media (min-width: 768px) { .service-card__body { padding: 2rem; } }
.service-card__title { font-size: 1.5rem; margin-bottom: 0.75rem; }
.service-card__text { font-size: var(--fs-body-sm); line-height: 1.7; color: hsl(var(--foreground) / 0.7); }

/* -------------------------------------------------------------------------
 * FAQ + TESTIMONIALS
 * ---------------------------------------------------------------------- */

.faq-section { background-color: hsl(var(--linen)); border-top: 1px solid hsl(var(--foreground) / 0.1); padding: 6rem 0; }
@media (min-width: 768px) { .faq-section { padding: 8rem 0; } }
.faq-section__stack { display: flex; flex-direction: column; gap: 5rem; }
@media (min-width: 768px) { .faq-section__stack { gap: 6rem; } }

.faq-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .faq-section__grid { grid-template-columns: 4fr 8fr; } }

.faq-section__paragraph { margin-top: 1.5rem; font-size: var(--fs-body-sm); color: hsl(var(--foreground) / 0.7); line-height: 1.7; max-width: 22rem; }
@media (min-width: 768px) { .faq-section__paragraph { font-size: var(--fs-body); } }

.faq-ask-card { margin-top: 2.5rem; position: relative; overflow: hidden; border-radius: 1rem; background-color: hsl(var(--primary)); color: hsl(var(--primary-foreground)); padding: 1.75rem; display: none; }
@media (min-width: 1024px) { .faq-ask-card { display: block; } }
.faq-ask-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem; height: 2.75rem;
  border-radius: 999px;
  background-color: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  margin-bottom: 1.25rem;
}
.faq-ask-card__title { font-size: 1.5rem; line-height: 1.3; margin-bottom: 0.5rem; }
.faq-ask-card__body { font-size: var(--fs-body-sm); color: hsl(var(--primary-foreground) / 0.85); line-height: 1.7; margin-bottom: 1.5rem; }

.faq-item { border-bottom: 1px solid hsl(var(--foreground) / 0.15); }
.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 0;
  text-align: left;
  background: transparent;
  border: none;
  font-family: inherit;
}
.faq-item__question-text { font-family: 'Gluten', sans-serif; font-size: 1.125rem; line-height: 1.4; color: hsl(var(--foreground)); }
@media (min-width: 768px) { .faq-item__question-text { font-size: 1.25rem; } }
.faq-item__icon { flex-shrink: 0; color: hsl(var(--primary)); position: relative; width: 1.25rem; height: 1.25rem; }
.faq-item__icon .icon { position: absolute; top: 0; left: 0; }
.faq-item__icon .icon-minus { opacity: 0; }
.faq-item.is-open .faq-item__icon .icon-plus { opacity: 0; }
.faq-item.is-open .faq-item__icon .icon-minus { opacity: 1; }

.faq-item__answer-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s ease-out; }
.faq-item.is-open .faq-item__answer-wrap { grid-template-rows: 1fr; }
.faq-item__answer-inner { overflow: hidden; }
.faq-item__answer { padding-bottom: 1.5rem; padding-right: 2rem; font-size: var(--fs-body-sm); color: hsl(var(--foreground) / 0.7); line-height: 1.7; max-width: 42rem; }
@media (min-width: 768px) { .faq-item__answer { font-size: var(--fs-body); } }

.testimonials-block__head { margin-bottom: 2.5rem; }
@media (min-width: 768px) { .testimonials-block__head { margin-bottom: 3rem; } }
.testimonials-block__heading { max-width: 36rem; }
.testimonials-block__grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .testimonials-block__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }

.testimonial-card {
  background-color: hsl(var(--ivory));
  border: 1px solid hsl(var(--foreground) / 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) { .testimonial-card { padding: 1.75rem; } }
.testimonial-card__stars { display: flex; gap: 0.25rem; margin-bottom: 1rem; }
.testimonial-card__quote { font-size: var(--fs-body-sm); color: hsl(var(--foreground) / 0.75); line-height: 1.7; flex: 1; }
@media (min-width: 768px) { .testimonial-card__quote { font-size: var(--fs-body); } }
.testimonial-card__caption { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid hsl(var(--foreground) / 0.1); }
.testimonial-card__name { font-family: 'Gluten', sans-serif; font-size: 1.125rem; line-height: 1; }
.testimonial-card__detail { margin-top: 0.5rem; font-size: var(--fs-eyebrow); letter-spacing: var(--ls-label-wide); text-transform: uppercase; color: hsl(var(--foreground) / 0.55); }

/* -------------------------------------------------------------------------
 * PRE-CONTACT CTA
 * ---------------------------------------------------------------------- */

.precta-section { position: relative; overflow: hidden; background-color: hsl(var(--ivory)); }
.precta-section__scrim { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(at center, hsl(var(--ivory) / 0.94) 0%, hsl(var(--ivory) / 0.8) 55%, hsl(var(--ivory) / 0.45) 100%); }
.precta-section__inner { position: relative; z-index: 10; padding-block: 7rem; text-align: center; color: hsl(var(--foreground)); }
@media (min-width: 768px) { .precta-section__inner { padding-block: 10rem; } }

.precta-section__eyebrow { display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem; font-size: var(--fs-eyebrow); letter-spacing: var(--ls-section-label-wide); text-transform: uppercase; color: hsl(var(--foreground) / 0.7); margin-bottom: 1.5rem; font-weight: 600; }
.precta-section__rule { height: 1px; width: 2rem; background-color: hsl(var(--primary) / 0.7); }
.precta-section__heading-accent { color: hsl(var(--primary)); }
.precta-section__paragraph { margin-top: 1.75rem; max-width: 40rem; margin-left: auto; margin-right: auto; font-size: var(--fs-body); color: hsl(var(--foreground) / 0.75); line-height: 1.7; }
.precta-section__action { margin-top: 2.5rem; }

/* -------------------------------------------------------------------------
 * CONTACT
 * ---------------------------------------------------------------------- */

.contact-section { background-color: hsl(var(--linen)); padding-top: 6rem; padding-bottom: 3rem; }
@media (min-width: 768px) { .contact-section { padding-top: 8rem; padding-bottom: 4rem; } }

.contact-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: stretch; }
@media (min-width: 1024px) { .contact-section__grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }

.contact-section__info { display: flex; flex-direction: column; height: 100%; }
.contact-section__paragraph { margin-top: 1.5rem; max-width: 28rem; font-size: var(--fs-body); color: hsl(var(--foreground) / 0.7); line-height: 1.7; }

.contact-section__methods { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.contact-method { display: inline-flex; align-items: center; gap: 1rem; color: hsl(var(--foreground)); transition: color 0.2s ease; }
.contact-method:hover { color: hsl(var(--primary)); }
.contact-method__icon {
  width: 2.75rem; height: 2.75rem;
  border-radius: 999px;
  background-color: hsl(var(--ivory));
  border: 1px solid hsl(var(--foreground) / 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.2s ease;
}
.contact-method:hover .contact-method__icon { border-color: hsl(var(--primary)); }
.contact-method__text { display: flex; flex-direction: column; text-align: left; }
.contact-method__label { font-size: var(--fs-eyebrow); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: hsl(var(--foreground) / 0.55); }
.contact-method__value { font-size: var(--fs-body); font-weight: 600; overflow-wrap: break-word; word-break: break-word; }

.contact-desk-note { margin-top: auto; padding-top: 2.5rem; }
.contact-desk-note__box { position: relative; border-radius: 1rem; border: 1px solid hsl(var(--foreground) / 0.1); background-color: hsl(var(--ivory) / 0.7); padding: 1.5rem 1.75rem; }
.contact-desk-note__badge {
  position: absolute;
  top: -0.75rem; left: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-size: var(--fs-micro);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  font-weight: 600;
}
.contact-desk-note__quote { font-family: 'Gluten', sans-serif; color: hsl(var(--foreground) / 0.85); font-size: 1.125rem; line-height: 1.4; border-left: 2px solid hsl(var(--primary) / 0.7); padding-left: 1.25rem; }
@media (min-width: 768px) { .contact-desk-note__quote { font-size: 1.25rem; } }
.contact-desk-note__author { margin-top: 0.75rem; padding-left: 1.25rem; font-size: var(--fs-caption); color: hsl(var(--foreground) / 0.6); letter-spacing: 0.02em; }

.contact-form {
  background-color: hsl(var(--ivory));
  border: 1px solid hsl(var(--foreground) / 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 768px) { .contact-form { padding: 2rem; } }
.contact-form__fields { flex: 1; display: flex; flex-direction: column; gap: 1rem; }
.contact-form__row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .contact-form__row { grid-template-columns: 1fr 1fr; } }
.contact-form__field label {
  display: block;
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: hsl(var(--foreground) / 0.55);
  margin-bottom: 0.5rem;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  height: 3rem;
  padding: 0 1rem;
  background-color: hsl(var(--ivory));
  border: 1px solid hsl(var(--foreground) / 0.15);
  border-radius: 0.375rem;
  font-size: var(--fs-body-sm);
  font-family: inherit;
  color: hsl(var(--foreground));
  transition: border-color 0.2s ease;
}
.contact-form textarea { height: auto; padding-top: 0.75rem; padding-bottom: 0.75rem; resize: none; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: hsl(var(--foreground) / 0.45); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: hsl(var(--primary)); }
.contact-form__select-wrap { position: relative; }
.contact-form select { appearance: none; padding-right: 2.5rem; }
.contact-form__select-caret { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); pointer-events: none; color: hsl(var(--foreground) / 0.55); }

.contact-form__submit-area { padding-top: 0.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.contact-form__submit { width: 100%; text-transform: none; }
.contact-form__note { font-size: var(--fs-eyebrow); color: hsl(var(--foreground) / 0.55); text-align: center; }

/* -------------------------------------------------------------------------
 * FOOTER
 * ---------------------------------------------------------------------- */

.site-footer { background-color: hsl(var(--linen)); border-top: 1px solid hsl(var(--foreground) / 0.1); }
.site-footer__inner { padding-block: 3.5rem; }
@media (min-width: 1024px) { .site-footer__inner { padding-block: 5rem; } }
.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  width: 100%;
  align-items: start;
  padding-inline: 0;
}
@media (min-width: 640px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 3rem;
    row-gap: 2.5rem;
  }
}
@media (min-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3rem;
  }
}
.site-footer__brand,
.site-footer__col { min-width: 0; }
.site-footer__brand { max-width: 20rem; }

.site-footer__logo { display: inline-flex; align-items: center; }
.site-footer__logo .site-logo-img { height: 3.5rem; width: auto; }
.site-footer__tagline { margin-top: 1rem; font-size: var(--fs-body-sm); color: hsl(var(--foreground) / 0.7); line-height: 1.7; max-width: 20rem; }
.site-footer__social { margin-top: 1.25rem; display: flex; align-items: center; gap: 0.5rem; }
.site-footer__social-link {
  width: 2.25rem; height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid hsl(var(--foreground) / 0.15);
  color: hsl(var(--foreground) / 0.7);
  transition: all 0.2s ease;
}
.site-footer__social-link:hover { color: hsl(var(--primary)); border-color: hsl(var(--primary)); }

.site-footer__col-title { font-family: 'Gluten', sans-serif; font-size: 1.125rem; color: hsl(var(--foreground)); margin-bottom: 1rem; }
.footer-nav-list { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-nav-link, .footer-nav-list a {
  font-size: var(--fs-body-sm);
  color: hsl(var(--foreground) / 0.65);
  transition: color 0.2s ease;
}
.footer-nav-link:hover, .footer-nav-list a:hover { color: hsl(var(--primary)); }
.footer-nav-list--studio { gap: 0.75rem; font-size: var(--fs-body-sm); }
.footer-nav-list__note { color: hsl(var(--foreground) / 0.6); }
.footer-contact-link { display: inline-flex; align-items: center; gap: 0.5rem; color: hsl(var(--foreground) / 0.75); transition: color 0.2s ease; }
.footer-contact-link:hover { color: hsl(var(--primary)); }
.footer-contact-link__text { overflow-wrap: anywhere; }

.site-footer__bottom {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--foreground) / 0.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: var(--fs-eyebrow);
  color: hsl(var(--foreground) / 0.55);
  width: 100%;
}
@media (min-width: 640px) {
  .site-footer__bottom {
    flex-direction: row;
    align-items: center;
  }
}

/* Logo height (Section 31.7) — single definition, no page-scoped overrides. */
.site-logo-img { height: var(--logo-height) !important; width: auto !important; }
.site-logo-text { line-height: var(--logo-height); display: block; }

/* -------------------------------------------------------------------------
 * PROMO BANNER
 * ---------------------------------------------------------------------- */

.theme-promo-banner {
  position: fixed;
  bottom: 1.5rem; left: 1rem; right: 1rem;
  z-index: 50;
  background-color: hsl(var(--foreground));
  color: hsl(var(--background));
  border-radius: 1rem;
  box-shadow: var(--shadow-elevated);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.theme-promo-banner[hidden] { display: none; }
body.is-customizer #theme-promo-banner { display: flex !important; }
@media (min-width: 640px) { .theme-promo-banner { left: auto; right: 1.5rem; max-width: 26rem; } }
.theme-promo-banner__text { font-size: var(--fs-caption); line-height: 1.6; flex: 1; }
@media (min-width: 640px) { .theme-promo-banner__text { font-size: var(--fs-body); } }
.theme-promo-banner__before,
.theme-promo-banner__middle,
.theme-promo-banner__after { color: inherit; }
.theme-promo-banner__highlight { color: hsl(var(--accent)); font-weight: 600; }
.theme-promo-banner__dismiss {
  flex-shrink: 0;
  margin-top: 0.125rem;
  padding: 0.375rem;
  border-radius: 999px;
  background: transparent;
  border: none;
  color: hsl(var(--background));
  transition: background-color 0.2s ease;
}
.theme-promo-banner__dismiss:hover { background-color: hsl(var(--background) / 0.1); }

/* -------------------------------------------------------------------------
 * SIDE CART DRAWER (Section 12)
 * ---------------------------------------------------------------------- */

#theme-cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 55;
  background-color: hsl(var(--foreground) / 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }

.theme-cart-drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: 100%;
  max-width: 28rem;
  background-color: hsl(var(--ivory));
  z-index: 56;
  box-shadow: var(--shadow-elevated);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
body.cart-open .theme-cart-drawer { transform: translateX(0); }
.theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }

.theme-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid hsl(var(--foreground) / 0.1); }
.theme-cart-drawer__title { font-size: 1.5rem; }
.theme-cart-drawer__close { padding: 0.375rem; border-radius: 999px; border: none; background: transparent; transition: background-color 0.2s ease; }
.theme-cart-drawer__close:hover { background-color: hsl(var(--foreground) / 0.06); }

.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-icon { color: hsl(var(--foreground) / 0.3); margin-bottom: 1rem; }
.theme-cart-drawer__empty-text { color: hsl(var(--foreground) / 0.65); margin-bottom: 1.5rem; font-size: var(--fs-body-sm); }

.theme-cart-drawer__items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item__thumb { display: flex; align-items: center; justify-content: center; position: relative; width: 5rem; height: 6rem; background-color: hsl(var(--bone)); border-radius: 0.375rem; overflow: hidden; flex-shrink: 0; padding: 0.5rem; box-sizing: border-box; }
.theme-cart-item__thumb img,
.theme-cart-item__img { width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.theme-cart-item__body { flex: 1; min-width: 0; }
.theme-cart-item__name { font-size: var(--fs-body-sm); font-weight: 500; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color 0.2s ease; }
.theme-cart-item__name:hover { color: hsl(var(--primary)); }
.theme-cart-item__price { font-size: var(--fs-caption); color: hsl(var(--foreground) / 0.6); margin-top: 0.125rem; }
.theme-cart-item__variation { font-size: var(--fs-caption); color: hsl(var(--foreground) / 0.55); margin-top: 0.25rem; }
.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: 0.25rem; border: none; background: transparent; transition: background-color 0.2s ease; }
.theme-cart-item__qty-btn:hover { background-color: hsl(var(--bone)); }
.theme-cart-item__qty { font-size: var(--fs-caption); width: 1.5rem; text-align: center; }
.theme-cart-item__remove { margin-left: auto; font-size: var(--fs-caption); color: hsl(var(--foreground) / 0.55); background: transparent; border: none; transition: color 0.2s ease; }
.theme-cart-item__remove:hover { color: hsl(var(--destructive)); }

.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid hsl(var(--foreground) / 0.1); background-color: hsl(var(--linen) / 0.4); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal-row { display: flex; justify-content: space-between; font-size: var(--fs-body-sm); }
.theme-cart-drawer__subtotal-label { color: hsl(var(--foreground) / 0.65); }
.theme-cart-drawer__subtotal-value { font-weight: 500; }
.theme-cart-drawer__note { font-size: var(--fs-caption); color: hsl(var(--foreground) / 0.55); }
.theme-cart-drawer__checkout-btn { width: 100%; text-transform: none; }
.theme-cart-drawer__empty-btn { width: 100%; color: hsl(var(--foreground) / 0.6); }

/* -------------------------------------------------------------------------
 * WOOCOMMERCE ADD-TO-CART BUTTON OVERRIDES (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,
button.single_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, 'Nunito Sans', sans-serif) !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;
}

/* Card compact button — overrides the global rules above (scope AFTER them). */
.theme-product-card .theme-product-card__add-btn {
  min-height: unset !important;
  padding: 0 1rem !important;
  border-radius: 999px !important;
}

.theme-buy-now {
  background-color: transparent !important;
  color: hsl(var(--foreground)) !important;
  border: 1px solid hsl(var(--foreground) / 0.25) !important;
}
.theme-buy-now:hover { background-color: hsl(var(--foreground) / 0.04) !important; }

.single_add_to_cart_button.theme-btn-loading,
.add_to_cart_button.theme-btn-loading {
  opacity: 0.6 !important;
  pointer-events: none !important;
  cursor: wait !important;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

/* Hide "View cart" injected by WooCommerce after AJAX add-to-cart (Section 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;
}

/* WooCommerce notices — scoped hiding only where the theme already gives feedback (Section 14.1). */
.single-product .woocommerce-message,
.single-product .woocommerce-info {
  display: none;
}
#theme-cart-drawer .woocommerce-message {
  display: none;
}
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  background-color: hsl(var(--linen));
  color: hsl(var(--foreground));
  padding: 1rem 1.25rem;
  font-size: var(--fs-body-sm);
  list-style: none;
}
.woocommerce-error { border-color: hsl(var(--destructive) / 0.4); color: hsl(var(--destructive)); }

/* -------------------------------------------------------------------------
 * SINGLE PRODUCT PAGE (Section 11.13)
 * ---------------------------------------------------------------------- */

.single-product-main { padding-top: calc(var(--header-h, 80px) + 2rem); padding-bottom: 5rem; overflow: visible; }
@media (min-width: 1024px) { .single-product-main { padding-top: calc(var(--header-h, 80px) + 2.5rem); } }
.single-product-main .container-wide { overflow: visible; }

.single-product-breadcrumb { padding: 1.5rem 0; font-size: var(--fs-eyebrow); letter-spacing: var(--ls-eyebrow-tight); text-transform: uppercase; color: hsl(var(--foreground) / 0.55); }
.single-product-breadcrumb__link { transition: color 0.2s ease; }
.single-product-breadcrumb__link:hover { color: hsl(var(--primary)); }
.single-product-breadcrumb__sep { margin: 0 0.5rem; opacity: 0.5; }
.single-product-breadcrumb__current { color: hsl(var(--foreground)); }

.theme-product-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 5rem;
  align-items: start;
  min-width: 0;
  overflow: visible;
}
@media (min-width: 1024px) {
  .theme-product-layout {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 4rem;
  }
}

.theme-product-gallery,
.theme-product-info { min-width: 0; max-width: 100%; overflow: visible; }
@media (min-width: 1024px) {
  .theme-product-gallery {
    position: sticky;
    top: calc(var(--header-h, 80px) + 1.5rem);
    align-self: start;
    height: fit-content;
    z-index: 2;
  }
}

.theme-product-gallery__main {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  background-color: hsl(var(--linen));
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  box-sizing: border-box;
}
.theme-product-gallery__main-img {
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.woocommerce .theme-product-gallery__main-img,
.woocommerce .theme-product-card__image,
.woocommerce .theme-cart-item__img,
.woocommerce-page .theme-product-gallery__main-img,
.woocommerce-page .theme-product-card__image,
.woocommerce-page .theme-cart-item__img {
  height: 100% !important;
  max-height: 100%;
  width: 100%;
  max-width: 100%;
}

.theme-product-thumbnails { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.625rem; flex-wrap: wrap; max-width: 100%; }
.theme-product-thumbnail {
  position: relative;
  aspect-ratio: 1/1;
  background-color: hsl(var(--linen));
  border-radius: 0.375rem;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.375rem;
  box-sizing: border-box;
}
.theme-product-thumbnail img {
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.theme-product-thumbnail:hover { border-color: hsl(var(--foreground) / 0.2); }
.theme-product-thumbnail.is-active { border-color: hsl(var(--primary)); }

.theme-product-info__category { font-size: var(--fs-micro); letter-spacing: var(--ls-eyebrow-wide); text-transform: uppercase; color: hsl(var(--primary)); font-weight: 600; margin-bottom: 0.75rem; }
.product-title.theme-product-info__title {
  font-family: 'Gluten', sans-serif;
  font-weight: 400;
  font-size: 1.875rem;
  line-height: var(--lh-display);
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}
@media (min-width: 768px) { .product-title.theme-product-info__title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .product-title.theme-product-info__title { font-size: 2.6rem; } }

.theme-product-info__price { font-size: var(--fs-lead); font-weight: 500; color: hsl(var(--foreground) / 0.9); margin-bottom: 1.75rem; }
.theme-product-info__price .woocommerce-Price-amount { color: inherit; }

.theme-product-info__stock { display: inline-block; margin-bottom: 1.5rem; font-size: var(--fs-body-sm); font-weight: 600; }
.theme-product-info__stock.is-out-of-stock { color: hsl(var(--destructive)); }

.theme-product-info__description { font-size: var(--fs-body); line-height: 1.7; color: hsl(var(--foreground) / 0.75); margin-bottom: 2rem; overflow-wrap: break-word; word-break: break-word; }

.theme-quantity-wrapper {
  display: inline-flex;
  align-items: center;
  border: 1px solid hsl(var(--foreground) / 0.2);
  border-radius: 999px;
  height: 44px;
}
.theme-qty-minus, .theme-qty-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 100%;
  background: transparent;
  border: none;
  color: hsl(var(--foreground));
  transition: color 0.2s ease;
}
.theme-qty-minus:hover, .theme-qty-plus:hover { color: hsl(var(--primary)); }
.theme-qty-input {
  width: 2.75rem;
  height: 100%;
  border: none;
  background: transparent;
  text-align: center;
  font-size: var(--fs-body-sm);
  font-weight: 500;
  color: hsl(var(--foreground));
  -moz-appearance: textfield;
}
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.theme-qty-input:focus { outline: none; }

.theme-product-quantity-block { margin-bottom: 1.5rem; }
.theme-product-quantity-label {
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow-tight);
  text-transform: uppercase;
  color: hsl(var(--foreground) / 0.55);
  margin-bottom: 0.625rem;
  font-weight: 600;
}

.theme-product-actions-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
@media (min-width: 640px) {
  .theme-product-actions-row {
    flex-direction: row;
    gap: 0.75rem;
  }
  .theme-product-actions-row .single_add_to_cart_button,
  .theme-product-actions-row .theme-buy-now {
    flex: 1 1 0;
    min-width: 0;
    width: auto !important;
  }
}
.theme-product-actions-row .single_add_to_cart_button,
.theme-product-actions-row .theme-buy-now {
  width: 100%;
}

.theme-variation-attr { margin-bottom: 1.5rem; }
.theme-variation-attr__label {
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow-tight);
  text-transform: uppercase;
  color: hsl(var(--foreground) / 0.55);
  margin-bottom: 0.625rem;
  font-weight: 600;
}
.theme-variation-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.theme-variation-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid hsl(var(--foreground) / 0.2);
  background-color: transparent;
  color: hsl(var(--foreground) / 0.8);
  font-family: 'Nunito Sans', system-ui, -apple-system, sans-serif;
  font-size: var(--fs-body-sm);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.theme-variation-pill:hover { border-color: hsl(var(--primary)); color: hsl(var(--primary)); }
.theme-variation-pill.is-selected {
  background-color: hsl(var(--primary));
  border-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}
.theme-variation-pill.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.theme-product-info__details { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid hsl(var(--foreground) / 0.1); }
.theme-product-info__details-label { font-size: var(--fs-eyebrow); letter-spacing: var(--ls-eyebrow-tight); text-transform: uppercase; color: hsl(var(--foreground) / 0.55); margin-bottom: 1rem; }
.theme-product-info__details-list ul, .theme-product-info__details-list { margin: 0; padding: 0; }
.theme-product-info__details-list li {
  font-size: var(--fs-body-sm);
  color: hsl(var(--foreground) / 0.75);
  display: flex;
  align-items: flex-start;
  padding: 0.25rem 0;
  overflow-wrap: break-word;
  word-break: break-word;
}
.theme-product-info__details-list li::before {
  content: '';
  width: 4px; height: 4px;
  flex-shrink: 0;
  background-color: hsl(var(--primary));
  border-radius: 999px;
  margin-top: 0.6rem;
  margin-right: 0.75rem;
}

.theme-product-info__features {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid hsl(var(--foreground) / 0.1);
}
.product-feature { text-align: center; min-width: 0; }
.product-feature__icon { display: block; margin: 0 auto 0.5rem; color: hsl(var(--primary)); }
.product-feature__label { font-size: var(--fs-micro); letter-spacing: var(--ls-label-wide); text-transform: uppercase; color: hsl(var(--foreground) / 0.6); overflow-wrap: break-word; }

.posted_in, .variations { overflow-wrap: break-word; word-break: break-word; }

/* Variable-product attribute table layout (Section 11.5.1). */
.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 { display: none; }
.single-product .variations tbody td.value { padding-top: 0; }
.theme-attr-select-hidden { display: none !important; }

/* WooCommerce variation output — match theme body typography */
.single-product .woocommerce-variation,
.single-product .woocommerce-variation-description,
.single-product .woocommerce-variation-price,
.single-product .woocommerce-variation-availability,
.single-product .single_variation_wrap,
.single-product .woocommerce-variation-price .price,
.theme-cart-item__variation,
.theme-cart-item__variation dl,
.theme-cart-item__variation dt,
.theme-cart-item__variation dd,
.woocommerce dl.variation,
.woocommerce dl.variation dt,
.woocommerce dl.variation dd {
  font-family: 'Nunito Sans', system-ui, -apple-system, sans-serif;
  font-size: var(--fs-body-sm);
  color: hsl(var(--foreground) / 0.75);
}
.woocommerce dl.variation { margin: 0; }
.woocommerce dl.variation dt {
  font-weight: 600;
  color: hsl(var(--foreground) / 0.55);
  text-transform: uppercase;
  letter-spacing: var(--ls-eyebrow-tight);
  font-size: var(--fs-eyebrow);
}
.woocommerce dl.variation dd { margin: 0 0 0.25rem; }
.single-product .woocommerce-variation-price .price {
  font-size: var(--fs-lead);
  font-weight: 500;
  color: hsl(var(--foreground) / 0.9);
}

.related-products-section { padding: 5rem 0; border-top: 1px solid hsl(var(--foreground) / 0.1); }
.related-products-section__head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2.5rem; }
.related-products-section__heading { font-size: 1.875rem; }
@media (min-width: 768px) { .related-products-section__heading { font-size: 2.25rem; } }
.related-products-section__view-all { display: none; align-items: center; gap: 0.375rem; font-size: var(--fs-body-sm); font-weight: 500; color: hsl(var(--foreground) / 0.7); transition: color 0.2s ease; }
@media (min-width: 640px) { .related-products-section__view-all { display: inline-flex; } }
.related-products-section__view-all:hover { color: hsl(var(--primary)); }

/* -------------------------------------------------------------------------
 * SHOP ARCHIVE
 * ---------------------------------------------------------------------- */

.shop-archive-section { padding-top: calc(var(--header-h, 80px) + 2rem); }
.shop-archive-section__pagination { margin-top: 3rem; display: flex; justify-content: center; }
.shop-archive-section__pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  margin: 0 0.25rem;
  border-radius: 999px;
  border: 1px solid hsl(var(--foreground) / 0.15);
  font-size: var(--fs-body-sm);
}
.shop-archive-section__pagination .page-numbers.current { background-color: hsl(var(--primary)); color: hsl(var(--primary-foreground)); border-color: hsl(var(--primary)); }

/* -------------------------------------------------------------------------
 * 404 PAGE
 * ---------------------------------------------------------------------- */

.site-main--404 { padding-top: 9rem; padding-bottom: 6rem; min-height: 60vh; }
.theme-404 { text-align: center; max-width: 32rem; margin: 0 auto; }
.theme-404__title { font-size: 2.25rem; margin-bottom: 1rem; }
.theme-404__body { color: hsl(var(--foreground) / 0.7); margin-bottom: 2rem; line-height: 1.7; }

.site-main--page { padding-top: 8rem; padding-bottom: 5rem; }
.page-title { font-size: 2.5rem; margin-bottom: 2rem; }

/* -------------------------------------------------------------------------
 * WOOCOMMERCE CHECKOUT BLOCK (Section 13)
 * ---------------------------------------------------------------------- */

body.woocommerce-checkout .site-main { padding-top: var(--header-h, 80px); padding-bottom: 4rem; }
body.woocommerce-checkout .entry-content { max-width: 100%; }

body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wc-block-checkout {
  width: 100% !important;
  max-width: 100% !important;
}

/* Two-column checkout: form left, order summary right (Section 13). */
@media (min-width: 768px) {
  /* Outer wrapper stays block when it only contains the sidebar-layout wrapper. */
  body.woocommerce-checkout .wp-block-woocommerce-checkout.wc-block-checkout {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  /* Newer block markup: fields + totals are direct children of the checkout block. */
  body.woocommerce-checkout .wp-block-woocommerce-checkout.wc-block-checkout:has(> .wp-block-woocommerce-checkout-fields-block) {
    display: grid !important;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr) !important;
    gap: 2.5rem 3rem !important;
    align-items: start !important;
  }

  /* Legacy / inner layout wrapper that holds main + sidebar. */
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout,
  body.woocommerce-checkout .wc-block-components-sidebar-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr) !important;
    gap: 2.5rem 3rem !important;
    align-items: start !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  body.woocommerce-checkout .wp-block-woocommerce-checkout-fields-block,
  body.woocommerce-checkout .wc-block-components-main,
  body.woocommerce-checkout .wc-block-checkout__main {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block,
  body.woocommerce-checkout .wc-block-components-sidebar,
  body.woocommerce-checkout .wc-block-checkout__sidebar {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.woocommerce-checkout .wc-block-checkout__main .wc-block-components-form,
  body.woocommerce-checkout .wc-block-checkout__main .wc-block-checkout__form,
  body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-order-summary,
  body.woocommerce-checkout .wp-block-woocommerce-checkout-fields-block,
  body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
  }

  body.woocommerce-checkout .wc-block-checkout__main .wc-block-components-address-form,
  body.woocommerce-checkout .wc-block-checkout__main .wc-block-components-address-card {
    display: block !important;
    grid-template-columns: none !important;
  }
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
  min-width: 0;
  width: 100%;
  max-width: none;
}

body.woocommerce-checkout .wc-block-components-notice-banner { grid-column: 1 / -1; }

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-text-input input[type="text"],
body.woocommerce-checkout .wc-block-components-text-input input[type="email"],
body.woocommerce-checkout .wc-block-components-text-input input[type="tel"],
body.woocommerce-checkout .wc-block-components-text-input input[type="number"],
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-combobox-control input,
body.woocommerce-checkout .wc-block-components-combobox-control select,
body.woocommerce-checkout select.wc-block-components-select-control__select {
  width: 100% !important;
  max-width: none !important;
  height: 3rem !important;
  border-radius: 0.375rem !important;
  border: 1px solid hsl(var(--foreground) / 0.15) !important;
  background-color: hsl(var(--ivory)) !important;
  font-family: inherit !important;
  font-size: var(--fs-body-sm) !important;
  color: hsl(var(--foreground)) !important;
  box-shadow: none !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-text-input input:focus-visible,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-select select:focus-visible,
body.woocommerce-checkout .wc-block-components-combobox-control input:focus,
body.woocommerce-checkout .wc-block-components-combobox-control select:focus {
  border-color: hsl(var(--primary)) !important;
  outline: none !important;
  box-shadow: none !important;
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder { color: hsl(var(--foreground) / 0.45) !important; }

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  background-color: hsl(var(--primary)) !important;
  border-color: hsl(var(--primary)) !important;
  border-radius: 999px !important;
  text-transform: none !important;
  font-weight: 500 !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.9; }

body.woocommerce-checkout .wc-block-components-notice-banner {
  border-radius: 0.75rem;
  font-family: inherit;
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
  background-color: hsl(var(--linen));
  border-radius: var(--radius);
  padding: 2rem;
}

body.woocommerce-checkout .wc-block-cart-items { font-family: inherit; }

.woocommerce-checkout .form-row .input-text,
.woocommerce-checkout .form-row select {
  font-family: inherit;
  border-radius: 0.375rem;
  border-color: hsl(var(--border));
}

/* -------------------------------------------------------------------------
 * CART / ACCOUNT / THANK-YOU PAGE WIDTH PARITY (Section 13.7)
 * ---------------------------------------------------------------------- */

body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
  padding-top: var(--header-h, 80px);
}

/* -------------------------------------------------------------------------
 * THANK-YOU PAGE (Section 22.8)
 * ---------------------------------------------------------------------- */

body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order,
body.theme-thankyou-page .woocommerce-order-overview,
body.theme-thankyou-page .woocommerce-customer-details,
body.theme-thankyou-page .woocommerce-order-details {
  font-family: inherit;
}
body.theme-thankyou-page .woocommerce-order-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}
body.theme-thankyou-page .woocommerce-order-overview li { font-size: var(--fs-body-sm); }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
  font-family: 'Gluten', sans-serif;
  padding: 0 0 1rem 0;
  font-size: 1.5rem;
}
body.theme-thankyou-page .woocommerce-order-details table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
@media (min-width: 768px) {
  body.theme-thankyou-page .woocommerce-customer-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
  }
}
body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; overflow-wrap: break-word; }
.theme-thankyou__not-found { text-align: center; padding: 4rem 0; }
