/* ==========================================================================
   Rainforest Roots — theme styles
   Colors: HSL brand tokens converted to hex (kept in sync with functions.php).
   ========================================================================== */

:root {
  --color-background: #f8f6f2;
  --color-foreground: #19241f;
  --color-card: #fbfaf8;
  --color-primary: #be4f2d;
  --color-primary-foreground: #fbfaf8;
  --color-button-text: #fbfaf8;
  --color-secondary: #ebe7e0;
  --color-muted-foreground: #4e5f57;
  --color-accent: #e49e25;
  --color-accent-foreground: #13201a;
  --color-border: #d9d4c9;
  --color-noir: #0f241b;
  --color-noir-soft: #1c362b;
  --color-brass: #e49e25;
  --color-brass-light: #f5c566;
  --color-cream: #f8f6f2;
  --color-emerald: #be4f2d;
  --color-emerald-deep: #973c20;
  --color-bone: #efece6;

  --font-display-base: 'Cinzel', 'Playfair Display', serif;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  --shadow-soft: 0 4px 24px -8px color-mix(in srgb, var(--color-noir) 35%, transparent);
  --shadow-elevated: 0 24px 60px -20px color-mix(in srgb, var(--color-noir) 70%, transparent);

  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.4, 0.25, 1);

  --logo-height: 80px;
  --header-height: 6rem;

  --btn-radius: 0;
  --btn-height: 3.5rem;
  --btn-padding: 0 2.25rem;
  --btn-font-size: 0.875rem;
  --btn-font-weight: 500;
  --btn-letter-spacing: normal;
  --btn-text-transform: none;
  --btn-icon-padding: 0 0.75rem;
}

/* ---------- Reset ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: var(--color-border);
}
html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  font-family: var(--font-body);
  -webkit-tap-highlight-color: transparent;
}
body {
  margin: 0;
  line-height: inherit;
  background-color: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display-base);
  font-weight: 500;
  letter-spacing: 0.005em;
}
p, blockquote, figure, dl, dd, ul, ol { margin: 0; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration: inherit; }
img, svg, video { display: block; vertical-align: middle; }
img:where(:not(.cover-img):not(.hero-bg-img):not(.product-card-img):not(.product-main-img):not(.theme-thumb-img):not(.about-img):not(.site-logo-img)) {
  max-width: 100%;
  height: auto;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}
button { background: transparent; cursor: pointer; text-transform: none; -webkit-appearance: button; }
button:disabled { cursor: default; }
table { border-collapse: collapse; border-color: inherit; text-indent: 0; }
[hidden] { display: none !important; }
::selection {
  background: color-mix(in srgb, var(--color-primary) 55%, transparent);
  color: var(--color-cream);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ---------- Layout helpers ---------- */
.container-wide {
  width: 100%;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
@media (min-width: 1024px) {
  .container-wide { padding-left: 2.5rem; padding-right: 2.5rem; }
}
.scroll-mt { scroll-margin-top: 6rem; }
.section-bg-background { background-color: var(--color-background); }
.section-bg-white { background-color: #fff; }
.surface-noir { background: var(--color-noir); color: var(--color-cream); }
.section-pad-lg { padding-top: 5rem; padding-bottom: 5rem; }
.section-pad-md { padding-top: 4rem; padding-bottom: 4rem; }
.section-pad-sm { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 768px) {
  .section-pad-lg { padding-top: 7rem; padding-bottom: 7rem; }
  .section-pad-md { padding-top: 5rem; padding-bottom: 5rem; }
  .section-pad-sm { padding-top: 5rem; padding-bottom: 5rem; }
}
@media (min-width: 1024px) {
  .section-pad-md { padding-top: 6rem; padding-bottom: 6rem; }
}
.block { display: block; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent); }
.text-cream { color: var(--color-cream); }
.text-brass-light { color: var(--color-brass-light); }
.text-muted-foreground { color: var(--color-muted-foreground); }
.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
}
.brass-rule {
  display: block;
  height: 1px;
  width: 3rem;
  background-color: var(--color-accent);
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.link-underline { position: relative; display: inline-block; }
.link-underline::after {
  content: '';
  position: absolute;
  bottom: -0.25rem;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.5s var(--ease-smooth);
}
.link-underline:hover::after { transform: scaleX(1); }

/* ---------- Section titles (per-section scales from the source) ---------- */
.section-title {
  font-family: var(--font-display);
  line-height: 1.1;
  font-size: 2.25rem;
}
.section-title--md { font-size: 1.875rem; }
.section-title--about { margin-top: 0.75rem; }
.section-title--mt { margin-top: 0.75rem; }
.title-em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-accent);
}
.title-em--light { color: var(--color-brass-light); }
@media (min-width: 768px) {
  .section-title { font-size: 3rem; }
  .section-title--md { font-size: 2.25rem; }
}
@media (min-width: 1024px) {
  .section-title--xl, .section-title--xxl { font-size: 3.75rem; }
  .section-title--md { font-size: 3rem; }
}
.section-lead {
  margin-top: 1.5rem;
  color: var(--color-muted-foreground);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.625;
}
@media (min-width: 768px) { .section-lead { font-size: 1.125rem; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  height: 2.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  cursor: pointer;
  border: 0;
  transition: all 0.3s ease-out;
}
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--color-background), 0 0 0 4px var(--color-primary);
}
.btn:active { transform: scale(0.98); }
.btn svg { pointer-events: none; width: 1rem; height: 1rem; flex-shrink: 0; }
.btn--lg { height: 3.5rem; padding: 0 2.25rem; }
.btn--sm { height: 2.25rem; padding: 0 0.75rem; }
.btn--block { width: 100%; }
.btn--default {
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
  box-shadow: 0 2px 0 0 color-mix(in srgb, var(--color-primary) 35%, transparent);
}
.btn--default:hover {
  background-color: color-mix(in srgb, var(--color-primary) 90%, transparent);
  box-shadow: 0 10px 28px -10px color-mix(in srgb, var(--color-primary) 70%, transparent);
  transform: translateY(-2px);
}
.btn--outline {
  border: 1px solid var(--color-border);
  background-color: var(--color-background);
  color: var(--color-foreground);
}
.btn--outline:hover {
  background-color: var(--color-accent);
  color: var(--color-accent-foreground);
  border-color: color-mix(in srgb, var(--color-foreground) 40%, transparent);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px -12px color-mix(in srgb, var(--color-foreground) 35%, transparent);
}
.btn:disabled,
.btn.disabled { pointer-events: none; opacity: 0.5; }
.btn--hero { width: 100%; }
.btn--hero-outline {
  background-color: transparent;
  border-color: color-mix(in srgb, var(--color-cream) 40%, transparent);
  color: var(--color-cream);
}
.btn--hero-outline:hover {
  background-color: color-mix(in srgb, var(--color-cream) 10%, transparent);
  color: var(--color-cream);
  border-color: color-mix(in srgb, var(--color-cream) 70%, transparent);
}
@media (min-width: 1024px) { .btn--hero { width: auto; } }
.btn--about-primary, .btn--about-outline { width: 100%; }
.btn--about-outline {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.75rem;
  line-height: 1rem;
}
@media (min-width: 768px) {
  .btn--about-primary, .btn--about-outline { width: auto; }
}

/* ---------- Animations ---------- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }
@keyframes hero-zoom { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes rvA { from { opacity: 0; transform: translateY(32px); filter: blur(8px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }
@keyframes rvY { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes rvLeft { from { opacity: 0; transform: translateX(-32px); } to { opacity: 1; transform: translateX(0); } }
@keyframes heroEyebrow { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroWord { from { opacity: 0; transform: translateY(0.6em); filter: blur(10px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }
@keyframes heroP { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroBtn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.animate-fade-in { animation: fadeIn 0.7s var(--ease-smooth) forwards; }
.animate-slide-up { animation: slideUp 0.7s var(--ease-smooth) forwards; }
.animate-slide-down { animation: slideDown 0.5s var(--ease-smooth) forwards; }
.animate-scale-in { animation: scaleIn 0.6s var(--ease-smooth) forwards; }

/* Scroll reveals: hidden until the section enters the viewport. */
.rv { opacity: 0; }
.rv-section.is-in .rv--a { animation: rvA 0.95s var(--ease-expo) var(--rv-d, 0s) both; }
.rv-section.is-in .rv--b { animation: rvY 0.8s var(--ease-expo) var(--rv-d, 0s) both; }
.rv-section.is-in .rv--c { animation: rvY 0.7s var(--ease-soft) var(--rv-d, 0s) both; }
.rv-section.is-in .rv--d { animation: rvY 0.6s var(--ease-soft) var(--rv-d, 0s) both; }
.rv-section.is-in .rv--left { animation: rvLeft 0.8s var(--ease-soft) var(--rv-d, 0s) both; }

/* Product cards animate on load (not on scroll). */
.rv-load { animation: rvA 0.95s var(--ease-expo) var(--rv-d, 0s) both; }

.hero-anim { animation-delay: var(--rv-d, 0s); animation-fill-mode: both; animation-timing-function: var(--ease-expo); }
.hero-anim--eyebrow { animation-name: heroEyebrow; animation-duration: 0.8s; }
.hero-anim--word { animation-name: heroWord; animation-duration: 0.9s; }
.hero-anim--p { animation-name: heroP; animation-duration: 0.9s; }
.hero-anim--btn { animation-name: heroBtn; animation-duration: 0.9s; }

body.is-customizer .rv,
body.is-customizer .rv-load,
body.is-customizer .hero-anim {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .animate-fade-in, .animate-slide-up, .animate-slide-down, .animate-scale-in {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  overflow: visible;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition: all 0.5s var(--ease-smooth);
}
.site-header.is-solid {
  background-color: color-mix(in srgb, var(--color-noir) 95%, transparent);
  -webkit-backdrop-filter: blur(40px) saturate(1.5);
  backdrop-filter: blur(40px) saturate(1.5);
  border-bottom-color: var(--color-noir-soft);
  box-shadow: 0 1px 0 0 color-mix(in srgb, var(--color-brass) 25%, transparent);
}
.site-header__grad {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8rem;
  pointer-events: none;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--color-noir) 85%, transparent), color-mix(in srgb, var(--color-noir) 45%, transparent), transparent);
  transition: opacity 0.5s var(--ease-smooth);
}
.site-header.is-solid .site-header__grad { opacity: 0; }
.site-header__inner { position: relative; z-index: 10; }
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}
@media (min-width: 1024px) { .site-nav { height: 6rem; } }
.site-logo { display: flex; align-items: center; min-width: 0; margin-left: -0.5rem; }
@media (min-width: 1024px) { .site-logo { margin-left: -0.75rem; } }
.site-logo-img {
  height: var(--logo-height) !important;
  width: auto !important;
  display: block;
  object-fit: contain;
}
.site-logo-text { line-height: var(--logo-height); display: block; color: var(--color-cream); }
.site-header .site-logo-img {
  border-radius: 0.75rem;
  box-shadow: 0 4px 24px -8px color-mix(in srgb, var(--color-noir) 50%, transparent);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-smooth);
}
.site-header .site-logo:hover .site-logo-img { transform: scale(1.04); }
@media (max-width: 1023px) {
  .site-header .site-logo-img { height: calc(var(--logo-height) * 0.8) !important; }
}
.site-nav__desktop { display: none; margin-left: auto; margin-right: 1rem; }
@media (min-width: 768px) { .site-nav__desktop { display: flex; align-items: center; } }
@media (min-width: 1024px) { .site-nav__desktop { margin-right: 2rem; } }
.site-nav__list { display: flex; align-items: center; gap: 1.25rem; }
@media (min-width: 1024px) { .site-nav__list { gap: 1.75rem; } }
.nav-link {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--color-cream);
  text-shadow: 0 1px 12px color-mix(in srgb, var(--color-noir) 70%, transparent);
  transition: color 0.3s var(--ease-smooth);
}
.site-header.is-solid .nav-link { text-shadow: none; }
.nav-link:hover { color: var(--color-brass-light); }
.site-nav__actions { display: flex; align-items: center; gap: 0.25rem; }
.cart-btn {
  position: relative;
  padding: 0.5rem;
  color: var(--color-cream);
  transition: color 0.15s;
}
.cart-btn:hover { color: var(--color-brass-light); }
.icon-5 { width: 1.25rem; height: 1.25rem; }
.theme-cart-count {
  position: absolute;
  top: -0.125rem;
  right: -0.125rem;
  width: 1.25rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 500;
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
  border-radius: 9999px;
}
.theme-cart-count:empty { display: none; }
.menu-toggle {
  padding: 0.5rem;
  color: var(--color-cream);
  transition: color 0.15s;
}
.menu-toggle:hover { color: var(--color-brass-light); }
@media (min-width: 768px) { .menu-toggle { display: none; } }
.menu-toggle__close { display: none; }
.site-header.is-menu-open .menu-toggle__open { display: none; }
.site-header.is-menu-open .menu-toggle__close { display: block; }
.site-nav__mobile {
  background-color: var(--color-noir);
  border-top: 1px solid var(--color-noir-soft);
  padding: 1rem 0;
}
.site-nav__mobile:not([hidden]) { animation: fadeIn 0.7s var(--ease-smooth) forwards; }
@media (min-width: 768px) { .site-nav__mobile { display: none !important; } }
.site-nav__mobile-list { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-link {
  display: block;
  text-align: left;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.75rem 0.5rem;
  color: color-mix(in srgb, var(--color-cream) 80%, transparent);
  transition: color 0.15s, background-color 0.15s;
}
.mobile-link:hover { color: var(--color-brass-light); background-color: var(--color-noir-soft); }

.site-main--page,
.site-main--product,
.site-main--shop { padding-top: 6rem; }
@media (min-width: 1024px) {
  .site-main--page,
  .site-main--product,
  .site-main--shop { padding-top: 7rem; }
}
.site-main--home { padding-top: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: 100svh;
}
@media (min-width: 1024px) { .hero { height: 100vh; min-height: 720px; } }
.hero__media { position: absolute; inset: 0; will-change: transform; }
.hero-bg-img,
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-zoom 20s ease-in-out infinite;
}
.hero__ov { position: absolute; inset: 0; }
.hero__ov--flat { background-color: color-mix(in srgb, var(--color-noir) 40%, transparent); }
.hero__ov--x {
  opacity: 0.5;
  background: linear-gradient(to right, color-mix(in srgb, var(--color-noir) 80%, transparent), color-mix(in srgb, var(--color-noir) 35%, transparent), color-mix(in srgb, var(--color-noir) 50%, transparent));
}
.hero__ov--y {
  background: linear-gradient(to top, color-mix(in srgb, var(--color-noir) 95%, transparent), color-mix(in srgb, var(--color-noir) 25%, transparent), transparent);
}
.hero__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding-bottom: 3.5rem;
}
@media (min-width: 768px) { .hero__content { padding-bottom: 5rem; } }
@media (min-width: 1024px) { .hero__content { padding-bottom: 6rem; } }
.hero__inner {
  max-width: 48rem;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) {
  .hero__inner { text-align: left; margin-left: 0; margin-right: 0; }
}
.hero__eyebrow { display: block; margin-bottom: 1.25rem; color: var(--color-brass-light); }
.hero__title {
  font-family: var(--font-display);
  color: var(--color-cream);
  font-size: 2.25rem;
  line-height: 1.08;
  letter-spacing: 0.005em;
}
@media (min-width: 640px) { .hero__title { font-size: 2.85rem; } }
@media (min-width: 768px) { .hero__title { font-size: 3.5rem; } }
@media (min-width: 1024px) { .hero__title { font-size: 4rem; } }
.hero__em {
  color: var(--color-brass-light);
  font-style: italic;
  display: block;
}
@media (min-width: 768px) { .hero__em { display: inline; margin-left: 0.75rem; } }
.split-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-right: 0.25em;
}
.split-word__inner { display: inline-block; will-change: transform; }
.hero__text {
  margin-top: 1.5rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  color: color-mix(in srgb, var(--color-cream) 85%, transparent);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.625;
}
@media (min-width: 768px) {
  .hero__text { margin-left: 0; margin-right: 0; font-size: 1.125rem; }
}
.hero__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
}
@media (min-width: 768px) { .hero__actions { margin-top: 2.5rem; } }
@media (min-width: 1024px) {
  .hero__actions { display: flex; flex-direction: row; flex-wrap: wrap; }
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
.about-logo {
  order: 2;
  overflow: hidden;
  background-color: #fcfbf8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  aspect-ratio: 4 / 5;
}
.about-img, .about-logo img { width: 100%; height: 100%; object-fit: contain; }
.about-copy { order: 1; }
@media (min-width: 768px) { .about-logo { padding: 3.5rem; } }
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 5rem; }
  .about-logo { grid-column: span 5 / span 5; order: 1; position: sticky; top: 7rem; }
  .about-copy { grid-column: span 7 / span 7; order: 2; }
}
.about-intro {
  color: var(--color-foreground);
  font-weight: 300;
  font-size: 1.125rem;
  line-height: 1.625;
}
@media (min-width: 768px) { .about-intro { font-size: 1.25rem; } }
.story-list { margin-top: 3rem; display: flex; flex-direction: column; gap: 2.5rem; }
@media (min-width: 768px) { .story-list { gap: 3rem; } }
.story-block { border-top: 1px solid var(--color-border); padding-top: 1.5rem; }
.story-block__head { display: flex; align-items: baseline; gap: 1rem; }
.story-block__num { font-family: var(--font-display); font-size: 1rem; color: var(--color-muted-foreground); }
.story-block__title { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.375; }
@media (min-width: 768px) { .story-block__title { font-size: 1.875rem; } }
.story-block__body {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: var(--color-muted-foreground);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.625;
}
@media (min-width: 768px) { .story-block__body { font-size: 1.125rem; } }
.about-quote {
  margin: 3rem 0 0;
  border-left: 2px solid var(--color-accent);
  padding-left: 1.5rem;
}
.about-quote p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.375;
  color: var(--color-foreground);
  font-style: italic;
}
@media (min-width: 768px) { .about-quote p { font-size: 1.5rem; } }
.about-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 768px) { .about-actions { flex-direction: row; flex-wrap: wrap; } }

/* ---------- Mission ---------- */
.mission-head { max-width: 48rem; }
.mission-cards {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background-color: var(--color-border);
  border: 1px solid var(--color-border);
}
@media (min-width: 768px) {
  .mission-cards { margin-top: 4rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.mission-card { background-color: var(--color-card); padding: 2rem; }
@media (min-width: 768px) { .mission-card { padding: 2.5rem; } }
@media (min-width: 1024px) { .mission-card { padding: 3rem; } }
.mission-card__text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.375;
  color: var(--color-foreground);
}
@media (min-width: 768px) { .mission-card__text { font-size: 1.5rem; } }
.pillars {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .pillars { margin-top: 3.5rem; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
}
.pillar { border-top: 1px solid var(--color-border); padding-top: 1.5rem; }
.pillar__icon { width: 1.5rem; height: 1.5rem; color: var(--color-primary); margin-bottom: 1.25rem; }
.pillar__title { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.375; }
.pillar__text {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  font-weight: 300;
  line-height: 1.625;
}
@media (min-width: 768px) { .pillar__text { font-size: 1rem; } }
.partner {
  margin-top: 3rem;
  border: 1px solid var(--color-border);
  background-color: var(--color-card);
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 768px) { .partner { margin-top: 4rem; padding: 2.5rem; } }
@media (min-width: 1024px) {
  .partner { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2.5rem; }
  .partner__head { grid-column: span 4 / span 4; }
  .partner__text { grid-column: span 8 / span 8; }
}
.partner__title { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.375; }
@media (min-width: 768px) { .partner__title { font-size: 1.875rem; } }
.partner__text {
  color: var(--color-muted-foreground);
  font-weight: 300;
  line-height: 1.625;
  font-size: 1rem;
}
@media (min-width: 768px) { .partner__text { font-size: 1.125rem; } }

/* ---------- Focus ---------- */
.focus-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: end;
  margin-bottom: 3.5rem;
}
@media (min-width: 768px) {
  .focus-head { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4rem; margin-bottom: 5rem; }
  .focus-head__main { grid-column: span 7 / span 7; }
  .focus-head__text { grid-column: span 5 / span 5; }
}
.focus-head__text {
  color: color-mix(in srgb, var(--color-cream) 70%, transparent);
  font-weight: 300;
  line-height: 1.625;
  font-size: 1rem;
}
@media (min-width: 768px) { .focus-head__text { font-size: 1.125rem; } }
.focus-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background-color: var(--color-noir-soft);
  border: 1px solid var(--color-noir-soft);
}
@media (min-width: 768px) { .focus-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .focus-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.focus-card {
  position: relative;
  background-color: var(--color-noir);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all 0.5s var(--ease-smooth);
}
@media (min-width: 768px) { .focus-card { padding: 2.5rem; } }
.focus-card:hover {
  background-color: var(--color-noir-soft);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-brass) 40%, transparent);
}
.focus-card__line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, color-mix(in srgb, var(--color-brass) 60%, transparent), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.7s var(--ease-smooth);
}
.focus-card:hover .focus-card__line { transform: scaleX(1); }
.focus-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.focus-card__icon {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--color-brass-light);
  transition: all 0.5s var(--ease-smooth);
}
.focus-card:hover .focus-card__icon { transform: translateY(-0.25rem) scale(1.1); }
.focus-card__num {
  font-family: var(--font-display);
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--color-cream) 40%, transparent);
}
.focus-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-cream);
  margin-bottom: 0.75rem;
  line-height: 1.375;
  transition: color 0.3s var(--ease-smooth);
}
@media (min-width: 768px) { .focus-card__title { font-size: 1.5rem; } }
.focus-card:hover .focus-card__title { color: var(--color-brass-light); }
.focus-card__text {
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--color-cream) 65%, transparent);
  font-weight: 300;
  line-height: 1.625;
  transition: color 0.3s var(--ease-smooth);
}
.focus-card:hover .focus-card__text { color: color-mix(in srgb, var(--color-cream) 85%, transparent); }

/* ---------- Team ---------- */
.team-head { max-width: 48rem; margin: 0 auto 2.5rem; text-align: center; }
@media (min-width: 768px) { .team-head { margin-bottom: 3.5rem; } }
.team-grid {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .team-grid { flex-direction: row; gap: 2rem; }
  .team-grid--wrap { flex-wrap: wrap; }
}
.team-card {
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  overflow: hidden;
}
@media (min-width: 768px) { .team-card { width: 380px; margin: 0; } }
@media (min-width: 1024px) { .team-card { width: 400px; } }
.team-card__img { aspect-ratio: 4 / 5; overflow: hidden; }
.cover-img { width: 100%; height: 100%; object-fit: cover; }
.team-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.team-card__img img:hover { transform: scale(1.05); }
.team-card__body { padding: 1.25rem 1.5rem 1.5rem; }
.team-card__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.25;
}
@media (min-width: 768px) { .team-card__name { font-size: 1.875rem; } }
@media (min-width: 1024px) { .team-card__name { font-size: 30px; } }
.team-card__role {
  margin-top: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-accent);
}

/* ---------- Journal ---------- */
.journal-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .journal-head { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4rem; margin-bottom: 4rem; }
  .journal-head__main { grid-column: span 7 / span 7; }
  .journal-head__text { grid-column: span 5 / span 5; }
}
.journal-head__text {
  color: var(--color-muted-foreground);
  font-weight: 300;
  line-height: 1.625;
  font-size: 1rem;
}
@media (min-width: 768px) { .journal-head__text { font-size: 1.125rem; } }
.journal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background-color: var(--color-border);
  border: 1px solid var(--color-border);
}
@media (min-width: 768px) { .journal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.journal-card {
  background-color: var(--color-card);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) { .journal-card { padding: 2.5rem; } }
.journal-card__meta { display: flex; align-items: center; gap: 1rem; }
.journal-card__num { font-family: var(--font-display); font-size: 1.125rem; color: var(--color-muted-foreground); }
.journal-card__title {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.375;
  transition: color 0.3s var(--ease-smooth);
}
@media (min-width: 768px) { .journal-card__title { font-size: 28px; } }
.journal-card:hover .journal-card__title { color: var(--color-primary); }
.journal-card__excerpt {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  font-weight: 300;
  line-height: 1.625;
}
@media (min-width: 768px) { .journal-card__excerpt { font-size: 1rem; } }
.journal-card__more {
  margin-top: 1.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  min-height: 44px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-primary);
  transition: color 0.15s;
}
.journal-card__more:hover { color: var(--color-accent); }
.journal-card__arrow { width: 1rem; height: 1rem; transition: transform 0.3s; }
.journal-card:hover .journal-card__arrow { transform: translateX(0.25rem); }

.journal-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}
@media (min-width: 640px) { .journal-modal { align-items: center; padding: 1.5rem; } }
.journal-modal__backdrop {
  position: absolute;
  inset: 0;
  background-color: color-mix(in srgb, var(--color-noir) 80%, transparent);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s var(--ease-soft);
}
.journal-modal__panel {
  position: relative;
  width: 100%;
  max-height: 92svh;
  display: flex;
  flex-direction: column;
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  box-shadow: 0 24px 80px -24px color-mix(in srgb, var(--color-noir) 50%, transparent);
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  transition: opacity 0.35s var(--ease-soft), transform 0.35s var(--ease-soft);
}
.journal-modal__panel:focus { outline: none; }
@media (min-width: 640px) {
  .journal-modal__panel { max-width: 42rem; max-height: 85svh; }
}
.journal-modal.is-open .journal-modal__backdrop { opacity: 1; }
.journal-modal.is-open .journal-modal__panel { opacity: 1; transform: translateY(0) scale(1); }
.journal-modal.is-closing .journal-modal__panel { transform: translateY(16px) scale(0.99); }
.journal-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}
@media (min-width: 768px) { .journal-modal__head { padding: 2rem; } }
.journal-modal__heading { min-width: 0; }
.journal-modal__title { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.375; }
@media (min-width: 768px) { .journal-modal__title { font-size: 1.875rem; } }
.journal-modal__close {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  color: var(--color-muted-foreground);
  transition: color 0.15s, border-color 0.15s;
}
.journal-modal__close:hover { color: var(--color-foreground); border-color: var(--color-primary); }
.journal-modal__scroll { overflow-y: auto; overscroll-behavior: contain; padding: 1.5rem; }
@media (min-width: 768px) { .journal-modal__scroll { padding: 2rem; } }
.journal-modal__body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  color: var(--color-muted-foreground);
  font-weight: 300;
  line-height: 1.625;
  font-size: 0.875rem;
}
@media (min-width: 768px) { .journal-modal__body { font-size: 1rem; } }

/* ---------- Shop heading + product grid + cards ---------- */
.shop-head { max-width: 48rem; margin: 0 auto 3rem; text-align: center; }
@media (min-width: 768px) { .shop-head { margin-bottom: 4rem; } }
.shop-head__text {
  margin-top: 1.5rem;
  color: var(--color-muted-foreground);
  font-weight: 300;
  line-height: 1.625;
}
.shop-empty { text-align: center; color: var(--color-muted-foreground); }

.theme-product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: stretch;
}
.theme-product-grid--home { margin-top: 2.5rem; }
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
}
.theme-product-grid--related { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
@media (min-width: 1024px) {
  .theme-product-grid--related { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
}
.theme-product-card-wrap { height: 100%; min-width: 0; }
.theme-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.3, 1.3, 0.6, 1), border-color 0.5s var(--ease-smooth), box-shadow 0.5s var(--ease-smooth);
}
.theme-product-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--color-emerald) 60%, transparent);
  box-shadow: 0 24px 60px -24px color-mix(in srgb, var(--color-noir) 35%, transparent);
}
.theme-product-card > .theme-card-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: auto;
}
.theme-product-card *:not(.theme-card-link) { pointer-events: none; }
.theme-product-card .theme-product-card__action,
.theme-product-card .add_to_cart_button { pointer-events: auto; }
.theme-product-card .theme-product-card__action .add_to_cart_button { position: relative; z-index: 3; }
.theme-product-card__image-wrapper {
  position: relative;
  aspect-ratio: 4 / 5;
  background-color: var(--color-secondary);
  overflow: hidden;
}
.theme-product-card__badge { position: absolute; top: 1rem; left: 1rem; z-index: 10; }
.theme-product-card__badge span {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background-color: color-mix(in srgb, var(--color-cream) 95%, transparent);
  color: var(--color-noir);
  font-weight: 500;
}
.product-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-soft);
}
.theme-product-card:hover .product-card-img { transform: scale(1.04); }
.theme-product-card.is-sold-out .product-card-img { opacity: 0.6; }
.theme-product-card__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
}
@media (min-width: 768px) { .theme-product-card__info { padding: 1.5rem; } }
.theme-product-card__cat {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-muted-foreground);
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.theme-product-card__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--color-foreground);
  line-height: 1.375;
  min-height: 3.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s var(--ease-smooth);
}
@media (min-width: 768px) { .theme-product-card__title { font-size: 1.25rem; } }
.theme-product-card:hover .theme-product-card__title { color: var(--color-emerald); }
.theme-product-card__desc {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--color-muted-foreground);
  font-weight: 300;
  line-height: 1.625;
  min-height: 3.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.theme-product-card__price-row {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
}
.theme-product-card__price { font-size: 1rem; font-weight: 600; color: var(--color-foreground); }
.theme-product-card__price ins { text-decoration: none; }
.theme-product-card__price del { opacity: 0.6; margin-right: 0.35rem; font-weight: 400; }
.theme-product-card__currency {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted-foreground);
}
.theme-product-card__action { margin-top: auto; padding-top: 1.25rem; }
.card-btn__state { display: inline-flex; align-items: center; }
.card-btn__state--added { display: none; }
.theme-card-btn.is-added .card-btn__state--add { display: none; }
.theme-card-btn.is-added .card-btn__state--added { display: inline-flex; }
.card-btn__icon { margin-right: 0.375rem; }

/* ---------- WooCommerce button overrides ---------- */
.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) !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: all 0.3s ease-out !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover,
a.single_add_to_cart_button:hover,
a.add_to_cart_button:hover {
  opacity: 0.9 !important;
  background-color: var(--color-primary) !important;
  color: var(--color-button-text) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -10px color-mix(in srgb, var(--color-primary) 70%, transparent);
}
.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.5 !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.5 !important;
  background-color: var(--color-primary) !important;
  transform: none;
  box-shadow: none;
}
/* Card compact button — overrides the global add-to-cart rules */
.theme-product-card .add_to_cart_button.ajax_add_to_cart,
.theme-product-card a.add_to_cart_button {
  min-height: 2.25rem !important;
  height: 2.25rem;
  padding: var(--btn-icon-padding) !important;
  border-radius: var(--btn-radius) !important;
  width: 100%;
}
.ajax_add_to_cart.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; }
.single-product .single_add_to_cart_button { text-transform: none; }
.single-product .single_add_to_cart_button.btn { height: 3.5rem; }

body a.added_to_cart.wc-forward,
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward { display: none !important; }
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }

/* ---------- Single product ---------- */
.back-row { padding: 1.5rem 0; }
.back-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  transition: color 0.15s;
}
.back-link:hover { color: var(--color-foreground); }
.back-link__icon { width: 1rem; height: 1rem; margin-right: 0.5rem; }
.theme-product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  padding-bottom: 5rem;
  min-width: 0;
}
@media (min-width: 1024px) {
  .theme-product-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; }
}
.single-product .theme-product-gallery,
.single-product .theme-product-info { min-width: 0; max-width: 100%; }
.product-main {
  position: relative;
  aspect-ratio: 3 / 4;
  background-color: var(--color-secondary);
  overflow: hidden;
  margin-bottom: 1rem;
}
.product-main-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.theme-product-thumbnails {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.5rem;
  max-width: 100%;
}
.theme-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.6;
  transition: all 0.15s;
}
.theme-thumb:hover { opacity: 1; }
.theme-thumb.is-active { border-color: var(--color-primary); opacity: 1; }
.theme-thumb-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) { .theme-product-info { padding-top: 2.5rem; padding-bottom: 2.5rem; } }
.product-cat {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted-foreground);
}
.product-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}
@media (min-width: 768px) { .product-title { font-size: 1.875rem; line-height: 2.25rem; } }
.product-price {
  font-size: 1.5rem;
  line-height: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}
.product-price .woocommerce-Price-amount { font-weight: inherit; }
.product-price ins { text-decoration: none; }
.product-price__calc {
  margin-left: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--color-muted-foreground);
  font-weight: 400;
}
.product-description {
  color: var(--color-muted-foreground);
  line-height: 1.625;
  margin-bottom: 2rem;
  overflow-wrap: break-word;
  word-break: break-word;
}
.product-description p + p { margin-top: 1rem; }
.product-option { margin-bottom: 1.5rem; }
.product-option__title,
.single-product .variations label {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  font-style: normal;
  margin-bottom: 0.75rem;
  display: block;
}
.product-option__list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.product-option__list--color { gap: 0.75rem; }
.theme-swatch {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  border: 1px solid var(--color-border);
  transition: all 0.15s;
}
.theme-swatch:hover { border-color: color-mix(in srgb, var(--color-primary) 50%, transparent); }
.theme-swatch.is-selected {
  border-color: var(--color-primary);
  background-color: color-mix(in srgb, var(--color-primary) 5%, transparent);
}
.theme-swatch__dot {
  width: 1rem;
  height: 1rem;
  border-radius: 9999px;
  border: 1px solid var(--color-border);
}
.single-product .variations,
.single-product .variations tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
}
.single-product .variations { margin-bottom: 1.5rem; }
.single-product .variations tbody td.label { padding-bottom: 0; }
.single-product .variations tbody td.value { padding-top: 0; }
.theme-attr-select-hidden { display: none !important; }
.theme-attr-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-attr-pill {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  border: 1px solid var(--color-border);
  transition: all 0.15s;
}
.theme-attr-pill:hover { border-color: color-mix(in srgb, var(--color-primary) 50%, transparent); }
.theme-attr-pill.is-selected {
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
  border-color: var(--color-primary);
}
.single-product .reset_variations,
.single-product .single_variation { display: none !important; }
.theme-add-to-cart-area,
.single-product .theme-add-to-cart-area {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}
.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }
.theme-quantity-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
}
.theme-qty-minus,
.theme-qty-plus {
  padding: 0.75rem 1rem;
  transition: background-color 0.15s;
}
.theme-qty-minus:hover,
.theme-qty-plus:hover { background-color: var(--color-secondary); }
.theme-qty-minus svg,
.theme-qty-plus svg { width: 1rem; height: 1rem; }
.theme-qty-input {
  width: 48px;
  height: 3rem;
  padding: 0;
  text-align: center;
  border: 0;
  background: transparent;
  font-family: var(--font-body);
  -moz-appearance: textfield;
  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; }
.product-details { border-top: 1px solid var(--color-border); padding-top: 2rem; }
.product-details__title {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.product-details__list { display: flex; flex-direction: column; gap: 0.5rem; }
.product-details__list li {
  display: flex;
  align-items: flex-start;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--color-muted-foreground);
}
.product-details__dot {
  width: 0.375rem;
  height: 0.375rem;
  background-color: var(--color-primary);
  border-radius: 9999px;
  margin-top: 0.5rem;
  margin-right: 0.75rem;
  flex-shrink: 0;
}
.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }
.related-products-section { padding: 5rem 0; border-top: 1px solid var(--color-border); }
.related-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) { .related-title { font-size: 1.5rem; line-height: 2rem; } }

/* ---------- Newsletter ---------- */
.newsletter-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .newsletter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; }
}
.newsletter-copy { order: 2; }
.newsletter-image { order: 1; display: flex; align-items: center; justify-content: center; }
@media (min-width: 1024px) {
  .newsletter-copy { order: 1; }
  .newsletter-image { order: 2; }
}
.newsletter-copy__text {
  margin-top: 1.25rem;
  max-width: 36rem;
  color: color-mix(in srgb, var(--color-cream) 70%, transparent);
  font-weight: 300;
  line-height: 1.625;
}
.newsletter-form-wrap { margin-top: 2rem; width: 100%; max-width: 28rem; }
.newsletter-form { display: flex; flex-direction: column; gap: 0.75rem; }
.newsletter-thanks {
  border: 1px solid color-mix(in srgb, var(--color-cream) 25%, transparent);
  padding: 1.5rem;
  color: color-mix(in srgb, var(--color-cream) 85%, transparent);
  font-weight: 300;
  font-size: 0.875rem;
  line-height: 1.625;
}
.newsletter-image img { width: 100%; max-width: 280px; height: auto; object-fit: contain; }
@media (min-width: 768px) { .newsletter-image img { max-width: 340px; } }
@media (min-width: 1024px) { .newsletter-image img { max-width: 400px; } }
.field-input {
  width: 100%;
  min-width: 0;
  padding: 0.875rem 1rem;
  background-color: transparent;
  border: 1px solid color-mix(in srgb, var(--color-cream) 25%, transparent);
  color: var(--color-cream);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 300;
  font-family: var(--font-body);
  border-radius: 0;
  transition: border-color 0.3s;
}
.field-input::placeholder { color: color-mix(in srgb, var(--color-cream) 30%, transparent); }
.field-input:focus { outline: none; border-color: var(--color-brass-light); }
.field-input--area { resize: none; flex: 1; }

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .faq-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 5rem; }
  .faq-image { grid-column: span 5 / span 5; position: sticky; top: 7rem; }
  .faq-copy { grid-column: span 7 / span 7; }
}
.faq-image { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.faq-image > img { width: 100%; height: 100%; object-fit: cover; }
.faq-image__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, color-mix(in srgb, var(--color-noir) 90%, transparent), transparent);
}
@media (min-width: 768px) { .faq-image__caption { padding: 2rem; } }
.faq-image__text {
  font-family: var(--font-display);
  color: var(--color-cream);
  font-size: 1.5rem;
  line-height: 1.375;
  max-width: 24rem;
}
@media (min-width: 768px) { .faq-image__text { font-size: 1.875rem; } }
.faq-copy__text {
  margin-top: 1.25rem;
  color: var(--color-muted-foreground);
  font-weight: 300;
  line-height: 1.625;
  max-width: 32rem;
}
.faq-list { margin-top: 2.5rem; border-top: 1px solid var(--color-border); }
@media (min-width: 768px) { .faq-list { margin-top: 3rem; } }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item__btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 0;
  text-align: left;
}
@media (min-width: 768px) { .faq-item__btn { gap: 1.75rem; padding: 1.75rem 0; } }
.faq-item__num {
  font-family: var(--font-display);
  font-size: 1.125rem;
  line-height: 1.75rem;
  flex-shrink: 0;
  color: var(--color-muted-foreground);
  transition: color 0.3s var(--ease-smooth);
}
.faq-item__q {
  flex: 1;
  font-family: var(--font-display);
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: color-mix(in srgb, var(--color-foreground) 85%, transparent);
  transition: color 0.3s var(--ease-smooth);
}
@media (min-width: 768px) {
  .faq-item__num, .faq-item__q { font-size: 1.25rem; }
}
.faq-item__btn:hover .faq-item__q { color: var(--color-foreground); }
.faq-item__icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: var(--color-muted-foreground);
  transition: transform 0.3s var(--ease-smooth), color 0.3s var(--ease-smooth);
}
.faq-item.is-open .faq-item__num { color: var(--color-primary); }
.faq-item.is-open .faq-item__q { color: var(--color-foreground); }
.faq-item.is-open .faq-item__icon { transform: rotate(45deg); color: var(--color-primary); }
.faq-item__answer {
  overflow: hidden;
  transition: height 0.4s var(--ease-soft), opacity 0.4s var(--ease-soft);
}
.faq-item__answer p {
  padding: 0 1.5rem 1.5rem 2.5rem;
  color: var(--color-muted-foreground);
  font-weight: 300;
  line-height: 1.625;
  font-size: 0.875rem;
  max-width: 42rem;
}
@media (min-width: 768px) {
  .faq-item__answer p { padding: 0 1.5rem 1.75rem 3rem; font-size: 1rem; }
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: stretch;
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4rem; }
  .contact-info { grid-column: span 5 / span 5; }
  .contact-form-col { grid-column: span 7 / span 7; }
}
.contact-info { display: flex; flex-direction: column; }
.contact-info__text {
  margin-top: 1.25rem;
  max-width: 28rem;
  color: color-mix(in srgb, var(--color-cream) 70%, transparent);
  font-weight: 300;
  line-height: 1.625;
}
.contact-list { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; flex: 1; }
.contact-row { display: flex; align-items: center; gap: 1rem; }
.contact-list > .contact-row:first-child { align-items: flex-start; }
.contact-row__icon {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid color-mix(in srgb, var(--color-cream) 20%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.15s;
}
.contact-row__icon svg { width: 1rem; height: 1rem; }
a.contact-row:hover .contact-row__icon { border-color: var(--color-brass-light); }
.contact-row__text {
  font-size: 0.875rem;
  line-height: 1.625;
  font-weight: 300;
  color: color-mix(in srgb, var(--color-cream) 85%, transparent);
  transition: color 0.15s;
}
a.contact-row:hover .contact-row__text { color: var(--color-cream); }
.contact-row__text--break { word-break: break-all; }
.contact-form-col { display: flex; flex-direction: column; height: 100%; }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; flex: 1; }
.contact-form__row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .contact-form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.contact-form__message { flex: 1; display: flex; flex-direction: column; }
.contact-success {
  border: 1px solid color-mix(in srgb, var(--color-cream) 25%, transparent);
  padding: 2.5rem;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}
@media (min-width: 768px) { .contact-success { padding: 3.5rem; } }
.contact-success__icon {
  width: 3.5rem;
  height: 3.5rem;
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.contact-success__title {
  font-family: var(--font-display);
  font-size: 1.875rem;
  line-height: 2.25rem;
  color: var(--color-cream);
  margin-bottom: 0.75rem;
}
@media (min-width: 768px) { .contact-success__title { font-size: 2.25rem; line-height: 2.5rem; } }
.contact-success__text {
  color: color-mix(in srgb, var(--color-cream) 70%, transparent);
  font-weight: 300;
  max-width: 28rem;
  margin: 0 auto;
  line-height: 1.625;
}
.contact-submit__icon { margin-left: 0.5rem; }
.contact-form.is-sending .contact-submit__icon,
.is-sending .contact-submit__icon { display: none; }

/* ---------- Footer ---------- */
.site-footer {
  background-color: var(--color-background);
  color: var(--color-foreground);
  border-top: 1px solid var(--color-border);
}
.site-footer__inner { padding-top: 4rem; padding-bottom: 2rem; }
@media (min-width: 768px) { .site-footer__inner { padding-top: 5rem; padding-bottom: 2.5rem; } }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; } }
@media (min-width: 1024px) {
  .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.6fr; gap: 4rem; }
}
.footer-brand { display: flex; flex-direction: column; gap: 1.25rem; }
.footer-logo { display: flex; align-items: center; align-self: flex-start; }
.site-logo-img--footer {
  height: calc(var(--logo-height) * 0.7) !important;
  border-radius: 0;
  box-shadow: 0 4px 20px -8px color-mix(in srgb, var(--color-noir) 25%, transparent);
  flex-shrink: 0;
}
.footer-text {
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--color-muted-foreground);
  max-width: 20rem;
}
.footer-heading { color: var(--color-muted-foreground); margin-bottom: 1.25rem; }
.footer-list { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-list--connect { gap: 1rem; }
.footer-link {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--color-foreground);
  transition: color 0.3s var(--ease-smooth);
}
.footer-link:hover { color: var(--color-primary); }
.footer-contact {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--color-foreground);
  transition: color 0.3s var(--ease-smooth);
}
a.footer-contact:hover { color: var(--color-primary); }
.footer-contact--static { color: var(--color-muted-foreground); }
.footer-contact__icon {
  width: 1rem;
  height: 1rem;
  margin-top: 0.125rem;
  color: var(--color-muted-foreground);
  transition: color 0.3s var(--ease-smooth);
}
.footer-contact__icon--static { flex-shrink: 0; }
a.footer-contact:hover .footer-contact__icon { color: var(--color-primary); }
.footer-divider { margin: 2.5rem 0; height: 1px; background-color: var(--color-border); }
@media (min-width: 768px) { .footer-divider { margin: 3rem 0; } }
.footer-bottom {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; align-items: center; } }
.footer-meta { font-size: 0.875rem; line-height: 1.25rem; color: var(--color-muted-foreground); }
.footer-meta__prefix { margin-right: 0.25rem; }
.footer-credit { color: var(--color-foreground); font-weight: 500; transition: color 0.3s var(--ease-smooth); }
.footer-credit:hover { color: var(--color-primary); }

/* ---------- Side cart ---------- */
#theme-cart-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  background-color: color-mix(in srgb, var(--color-foreground) 20%, transparent);
}
#theme-cart-drawer {
  display: none;
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  max-width: 28rem;
  z-index: 50;
  flex-direction: column;
  background-color: var(--color-background);
  box-shadow: var(--shadow-elevated);
}
body.cart-open #theme-cart-overlay { display: block; animation: fadeIn 0.7s var(--ease-smooth) forwards; }
body.cart-open #theme-cart-drawer { display: flex; animation: slideUp 0.7s var(--ease-smooth) forwards; }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.cart-drawer__head {
  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;
  line-height: 1.75rem;
  font-weight: 700;
}
.cart-drawer__close { padding: 0.25rem; transition: opacity 0.15s; }
.cart-drawer__close:hover { opacity: 0.6; }
.cart-drawer__empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
}
.cart-drawer__empty-icon { width: 3rem; height: 3rem; color: var(--color-muted-foreground); margin-bottom: 1rem; }
.cart-drawer__empty-text { color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.cart-drawer__items {
  flex: 1;
  overflow: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.cart-item { display: flex; gap: 1rem; }
.cart-item__thumb {
  display: block;
  width: 5rem;
  height: 6rem;
  background-color: var(--color-secondary);
  overflow: hidden;
  flex-shrink: 0;
}
.cart-item__img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__info { flex: 1; min-width: 0; }
.cart-item__name {
  display: block;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.15s;
}
.cart-item__name:hover { opacity: 0.7; }
.cart-item__meta { font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.125rem; }
.cart-item__price { font-size: 0.875rem; line-height: 1.25rem; color: var(--color-muted-foreground); margin-top: 0.125rem; }
.cart-item__controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.cart-item__qty-btn { padding: 0.25rem; border-radius: 0.25rem; transition: background-color 0.15s; }
.cart-item__qty-btn:hover { background-color: var(--color-secondary); }
.cart-item__qty-btn svg { width: 0.75rem; height: 0.75rem; }
.cart-item__qty { font-size: 0.875rem; width: 1.5rem; text-align: center; }
.cart-item__remove {
  margin-left: auto;
  font-size: 0.75rem;
  line-height: 1rem;
  color: var(--color-muted-foreground);
  transition: color 0.15s;
}
.cart-item__remove:hover { color: var(--color-foreground); }
.cart-drawer__footer {
  padding: 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 0.875rem; }
.cart-drawer__subtotal-label { color: var(--color-muted-foreground); }
.cart-drawer__subtotal-value { font-weight: 500; }
.cart-drawer__note { font-size: 0.75rem; line-height: 1rem; color: var(--color-muted-foreground); }

/* ---------- Pages, 404 ---------- */
.page-container { padding-bottom: 5rem; }
.page-title {
  font-family: var(--font-display);
  font-size: 1.875rem;
  line-height: 2.25rem;
  padding: 1.5rem 0 2rem;
}
@media (min-width: 768px) { .page-title { font-size: 3rem; line-height: 1; } }
.not-found {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  background-color: var(--color-secondary);
}
.not-found__inner { text-align: center; }
.not-found__code { margin-bottom: 1rem; font-size: 2.25rem; line-height: 2.5rem; font-weight: 700; }
.not-found__text { margin-bottom: 1rem; font-size: 1.25rem; line-height: 1.75rem; color: var(--color-muted-foreground); }
.not-found__link { color: var(--color-primary); text-decoration: underline; transition: color 0.15s; }
.not-found__link:hover { color: color-mix(in srgb, var(--color-primary) 90%, transparent); }

/* ---------- WooCommerce Blocks: cart, checkout, thank you ---------- */
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main {
  padding-top: var(--header-height, 6rem);
  padding-bottom: 4rem;
}
@media (min-width: 1024px) {
  body.woocommerce-checkout .site-main,
  body.woocommerce-cart .site-main { padding-top: 7rem; }
}
body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-cart .wc-block-cart {
  font-family: var(--font-body);
  color: var(--color-foreground);
}
body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
  display: block;
}
@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: 2rem;
    align-items: start;
  }
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
  min-width: 0;
  width: 100%;
  max-width: none;
  padding: 0;
}
body.woocommerce-checkout .wc-block-checkout__sidebar {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 0;
  padding: 2rem;
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea,
body.woocommerce-checkout .form-row .input-text,
body.woocommerce-checkout .form-row select {
  width: 100% !important;
  max-width: none !important;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-foreground);
  background-color: transparent;
  border: 1px solid var(--color-border);
  border-radius: 0;
}
body.woocommerce-checkout .wc-block-components-text-input input { padding: revert; }
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: none;
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder,
body.woocommerce-checkout .wc-block-components-textarea textarea::placeholder {
  color: var(--color-muted-foreground);
}
body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-checkout .wc-block-components-checkout-order-summary__title-text {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--color-foreground);
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-cart .wc-block-cart__submit-button,
.wc-block-components-button:not(.is-link) {
  background-color: var(--color-primary);
  color: var(--color-button-text);
  border: 0;
  border-radius: 0;
  min-height: 3.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: none;
  transition: all 0.3s ease-out;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
body.woocommerce-cart .wc-block-cart__submit-button:hover {
  background-color: color-mix(in srgb, var(--color-primary) 90%, transparent);
  color: var(--color-button-text);
}
body.woocommerce-checkout .wc-block-components-notice-banner,
body.woocommerce-checkout .woocommerce-error,
body.woocommerce-checkout .woocommerce-message,
body.woocommerce-cart .wc-block-components-notice-banner,
.woocommerce-error {
  font-family: var(--font-body);
  border-radius: 0;
  border: 1px solid var(--color-border);
  background-color: var(--color-card);
  color: var(--color-foreground);
  padding: 1rem;
  list-style: none;
}
body.woocommerce-checkout .wc-block-cart-items { border-color: var(--color-border); }
body.woocommerce-cart .wc-block-cart,
body.woocommerce-cart .entry-content { max-width: 100%; }
body.woocommerce-account .woocommerce { font-family: var(--font-body); }

body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order { font-family: var(--font-body); color: var(--color-foreground); }
body.theme-thankyou-page .woocommerce-order-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  padding: 1.5rem;
  margin: 0 0 2rem;
  border: 1px solid var(--color-border);
  background-color: var(--color-card);
}
body.theme-thankyou-page .woocommerce-order-overview li {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted-foreground);
  list-style: none;
}
body.theme-thankyou-page .woocommerce-order-overview li strong {
  display: block;
  margin-top: 0.25rem;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-foreground);
}
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title,
body.theme-thankyou-page h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  padding: 0 0 1rem 0;
}
body.theme-thankyou-page .woocommerce-order-details table {
  width: 100%;
  table-layout: fixed;
  border: 1px solid var(--color-border);
}
body.theme-thankyou-page .woocommerce-order-details th,
body.theme-thankyou-page .woocommerce-order-details td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-customer-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}
body.theme-thankyou-page .woocommerce-customer-details address {
  max-width: 480px;
  overflow-wrap: break-word;
  padding: 1rem;
  border: 1px solid var(--color-border);
  font-style: normal;
}

/* ---------- Typography parity: responsive line-heights from the source ---------- */
@media (min-width: 768px) {
  .section-title { line-height: 1; }
  .section-title--md { line-height: 2.5rem; }
  .story-block__title,
  .partner__title,
  .journal-modal__title,
  .team-card__name { line-height: 2.25rem; }
  .mission-card__text,
  .about-quote p,
  .focus-card__title { line-height: 2rem; }
  .section-lead,
  .story-block__body,
  .partner__text,
  .focus-head__text,
  .journal-head__text,
  .hero__text,
  .about-intro,
  .theme-product-card__title { line-height: 1.75rem; }
  .pillar__text,
  .journal-card__excerpt,
  .journal-modal__body,
  .faq-item__answer p { line-height: 1.5rem; }
}
@media (min-width: 1024px) {
  .section-title--md { line-height: 1; }
}

/* ---------- Classic checkout ---------- */
.site-main--checkout { min-height: 100vh; background-color: var(--color-background); }
.checkout-container { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.theme-checkout .back-link { margin-bottom: 2rem; }
.checkout-title { font-family: var(--font-display); font-size: 1.875rem; line-height: 2.25rem; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .checkout-title { font-size: 3rem; line-height: 1; } }
.checkout-subtitle {
  color: var(--color-muted-foreground);
  font-weight: 300;
  margin-bottom: 2.5rem;
  max-width: 36rem;
}
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.checkout-col--order { order: 2; min-width: 0; }
.checkout-col--form { order: 1; min-width: 0; display: flex; flex-direction: column; gap: 2rem; }
@media (min-width: 1024px) {
  .checkout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3.5rem; }
  .checkout-col--order { order: 1; }
  .checkout-col--form { order: 2; }
}
.checkout-heading { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.75rem; margin-bottom: 1rem; }
.checkout-heading--lg { margin-bottom: 1.5rem; }

.review-items { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2rem; }
.review-item { display: flex; gap: 1rem; }
.review-item__thumb { width: 5rem; height: 6rem; background-color: var(--color-secondary); overflow: hidden; flex-shrink: 0; }
.review-item__info { flex: 1; min-width: 0; }
.review-item__name { display: block; font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity 0.15s; }
a.review-item__name:hover { opacity: 0.7; }
.review-item__price { font-size: 0.875rem; line-height: 1.25rem; color: var(--color-muted-foreground); margin-top: 0.125rem; }
.review-item__meta { font-size: 0.75rem; line-height: 1rem; color: var(--color-muted-foreground); margin-top: 0.125rem; }
.review-item__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.review-item__remove { margin-left: auto; padding: 0.25rem; color: var(--color-muted-foreground); transition: color 0.15s; }
.review-item__remove:hover { color: #c92a2a; }
.review-item__total { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; }

.theme-checkout > .review-coupon {
  position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none;
}
.checkout-col--order > .review-coupon {
  position: static; width: auto; height: auto; overflow: visible; opacity: 1; pointer-events: auto;
}
.review-coupon { margin-bottom: 1rem; }
.review-coupon__toggle {
  display: flex; align-items: center; gap: 0.5rem; cursor: pointer; list-style: none;
  font-family: var(--font-body); font-size: 0.875rem; line-height: 1.25rem;
  color: var(--color-muted-foreground); text-decoration: underline; text-underline-offset: 2px; user-select: none;
}
.review-coupon__toggle::-webkit-details-marker { display: none; }
.review-coupon__toggle::before {
  content: '+'; display: inline-flex; align-items: center; justify-content: center;
  width: 1rem; height: 1rem; font-size: 0.875rem; line-height: 1; color: var(--color-primary); text-decoration: none;
}
.review-coupon[open] .review-coupon__toggle::before { content: '−'; }
.review-coupon__toggle:hover { color: var(--color-foreground); }
.review-coupon__form { display: none; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-top: 0.75rem; }
.review-coupon[open] .review-coupon__form { display: flex; }
.review-coupon__field { flex: 1 1 10rem; margin: 0; min-width: 0; }
.review-coupon__apply { margin: 0; flex: 0 0 auto; }
.review-coupon__form .input-text { width: 100%; }

.review-totals { width: 100%; border-top: 1px solid var(--color-border); display: block; padding-top: 1.5rem; }
.review-totals tbody { display: flex; flex-direction: column; gap: 0.75rem; }
.review-totals tr { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.875rem; line-height: 1.25rem; }
.review-totals th { font-weight: 400; text-align: left; color: var(--color-muted-foreground); }
.review-totals td { text-align: right; }
.review-totals tr.woocommerce-shipping-totals td,
.review-shipping-pending { color: var(--color-muted-foreground); }
.review-totals ul#shipping_method { display: flex; flex-direction: column; gap: 0.25rem; }
.review-totals ul#shipping_method label { margin-left: 0.375rem; }
.review-totals .woocommerce-shipping-destination,
.review-totals .shipping-calculator-button { display: none; }
.review-totals tr.order-total { padding-top: 0.75rem; border-top: 1px solid var(--color-border); font-size: 1rem; line-height: 1.5rem; font-weight: 600; }
.review-totals tr.order-total th { color: var(--color-foreground); font-weight: 600; }

.after-order { margin-top: 2.5rem; border: 1px solid var(--color-border); background-color: var(--color-card); padding: 1.5rem; }
@media (min-width: 768px) { .after-order { padding: 2rem; } }
.after-order__steps { position: relative; }
.after-order__line { position: absolute; left: 19px; top: 0.75rem; bottom: 0.75rem; width: 1px; background-color: color-mix(in srgb, var(--color-primary) 30%, transparent); }
.after-order__step { position: relative; display: flex; gap: 1rem; padding-bottom: 1.5rem; }
.after-order__step:last-child { padding-bottom: 0; }
.after-order__icon {
  position: relative; z-index: 10; flex-shrink: 0; width: 2.5rem; height: 2.5rem;
  border: 2px solid var(--color-primary); background-color: var(--color-background); color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
}
.after-order__text { flex: 1; padding-top: 0.375rem; }
.after-order__title { font-size: 0.875rem; line-height: 1.25rem; color: var(--color-foreground); font-weight: 500; margin-bottom: 0.25rem; }
.after-order__num { color: var(--color-primary); margin-right: 0.5rem; }
.after-order__body { font-size: 0.75rem; line-height: 1.625; color: var(--color-muted-foreground); font-weight: 300; }
@media (min-width: 768px) {
  .after-order__title { font-size: 1rem; line-height: 1.5rem; }
  .after-order__body { font-size: 0.875rem; }
}

.theme-checkout .woocommerce-billing-fields__field-wrapper,
.theme-checkout .woocommerce-shipping-fields__field-wrapper {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.75rem;
}
.theme-checkout .form-row { margin: 0; padding: 0; grid-column: span 6 / span 6; min-width: 0; }
.theme-checkout #billing_first_name_field,
.theme-checkout #billing_last_name_field,
.theme-checkout #shipping_first_name_field,
.theme-checkout #shipping_last_name_field { grid-column: span 3 / span 3; }
@media (min-width: 640px) {
  .theme-checkout #billing_city_field, .theme-checkout #billing_state_field, .theme-checkout #billing_postcode_field,
  .theme-checkout #shipping_city_field, .theme-checkout #shipping_state_field, .theme-checkout #shipping_postcode_field { grid-column: span 2 / span 2; }
}
.theme-checkout #billing_first_name_field { order: 1; } .theme-checkout #billing_last_name_field { order: 2; }
.theme-checkout #billing_email_field { order: 3; } .theme-checkout #billing_phone_field { order: 4; }
.theme-checkout #billing_country_field { order: 5; } .theme-checkout #billing_address_1_field { order: 6; }
.theme-checkout #billing_city_field { order: 7; } .theme-checkout #billing_state_field { order: 8; }
.theme-checkout #billing_postcode_field { order: 9; }
.theme-checkout .form-row label:not(.checkbox):not(.woocommerce-form__label-for-checkbox) {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap;
}
.theme-checkout .woocommerce-input-wrapper { display: block; }
.theme-checkout input.input-text,
.theme-checkout textarea,
.theme-checkout select {
  display: block; width: 100%; padding: 0.75rem 1rem; background-color: var(--color-background);
  border: 1px solid var(--color-border); border-radius: 0; font-family: var(--font-body);
  font-size: 0.875rem; line-height: 1.25rem; color: var(--color-foreground);
  -webkit-appearance: none; appearance: none;
}
.theme-checkout select {
  background-image: linear-gradient(45deg, transparent 50%, var(--color-muted-foreground) 50%), linear-gradient(135deg, var(--color-muted-foreground) 50%, transparent 50%);
  background-position: calc(100% - 1.25rem) 50%, calc(100% - 0.9rem) 50%;
  background-size: 0.35rem 0.35rem; background-repeat: no-repeat; padding-right: 2.25rem;
}
.theme-checkout input.input-text::placeholder,
.theme-checkout textarea::placeholder { color: var(--color-muted-foreground); }
.theme-checkout input.input-text:focus,
.theme-checkout textarea:focus,
.theme-checkout select:focus { outline: none; box-shadow: 0 0 0 1px var(--color-primary); }
.theme-checkout .woocommerce-invalid input.input-text,
.theme-checkout .woocommerce-invalid select { border-color: #c92a2a; }
.theme-checkout .woocommerce-billing-fields { margin: 0; }
.theme-checkout .woocommerce-shipping-fields { margin-top: 0.75rem; }
.theme-checkout .checkout-optional { margin-top: 0.75rem; }
.theme-checkout .checkout-optional__toggle {
  display: flex; align-items: center; gap: 0.5rem; cursor: pointer; list-style: none;
  font-family: var(--font-body); font-size: 0.875rem; line-height: 1.25rem; color: var(--color-muted-foreground);
  user-select: none;
}
.theme-checkout .checkout-optional__toggle::-webkit-details-marker { display: none; }
.theme-checkout .checkout-optional__toggle::before {
  content: '+'; display: inline-flex; align-items: center; justify-content: center;
  width: 1rem; height: 1rem; font-size: 0.875rem; line-height: 1; color: var(--color-primary);
}
.theme-checkout .checkout-optional[open] .checkout-optional__toggle::before { content: '−'; }
.theme-checkout .checkout-optional__toggle:hover { color: var(--color-foreground); }
.theme-checkout .checkout-optional__fields { margin-top: 0.75rem; display: flex; flex-direction: column; gap: 0.75rem; }
.theme-checkout .woocommerce-additional-fields { margin: 0; }
.theme-checkout #ship-to-different-address { font-size: 0.875rem; font-family: var(--font-body); margin-bottom: 0.75rem; }
.theme-checkout #ship-to-different-address label { display: inline-flex; align-items: center; gap: 0.5rem; }
.theme-checkout .woocommerce-account-fields { margin-top: 0.75rem; font-size: 0.875rem; }

.theme-checkout .wc_payment_methods { display: flex; flex-direction: column; gap: 0.75rem; }
.theme-checkout .wc_payment_method,
.theme-checkout .woocommerce-notice--info,
.theme-checkout .woocommerce-info {
  border: 1px solid var(--color-border); background-color: var(--color-card);
  padding: 1.25rem; font-size: 0.875rem; font-weight: 300; line-height: 1.625; color: var(--color-muted-foreground);
}
.theme-checkout .wc_payment_method label { font-weight: 500; color: var(--color-foreground); margin-left: 0.5rem; }
.theme-checkout .payment_box { margin-top: 0.75rem; }
.theme-checkout .place-order { margin-top: 2rem; }
.theme-checkout .woocommerce-terms-and-conditions-wrapper { font-size: 0.875rem; margin-bottom: 1rem; color: var(--color-muted-foreground); }
.theme-checkout .woocommerce-privacy-policy-text { margin-bottom: 1rem; }
.theme-checkout .theme-place-order { width: 100%; }
.theme-checkout .woocommerce-form-coupon-toggle,
.theme-checkout > .woocommerce-form-coupon,
.theme-checkout .woocommerce-form-login-toggle,
.theme-checkout .woocommerce-shipping-fields + .woocommerce-additional-fields { display: none; }
.theme-checkout .review-coupon .woocommerce-form-coupon { margin: 0; }
.theme-checkout .review-coupon .woocommerce-form-coupon p { margin: 0; }
.theme-checkout .woocommerce-NoticeGroup,
.theme-checkout .woocommerce-error { margin-bottom: 1.5rem; }
.theme-checkout .woocommerce-error li { margin: 0.25rem 0; }
.checkout-empty { max-width: 42rem; margin: 0 auto; padding: 5rem 0; text-align: center; }
.checkout-empty__icon { width: 4rem; height: 4rem; margin: 0 auto 1.5rem; color: var(--color-muted-foreground); }
.checkout-empty__title { font-family: var(--font-display); font-size: 1.5rem; line-height: 2rem; font-weight: 700; margin-bottom: 1rem; }
@media (min-width: 768px) { .checkout-empty__title { font-size: 1.875rem; line-height: 2.25rem; } }
.checkout-empty__text { color: var(--color-muted-foreground); margin-bottom: 2rem; }
html, body { overflow-x: clip; }

/* ---------- Tailwind text-size line-heights (explicit, match the source) ---------- */
.team-card__role,
.product-cat { line-height: 1rem; }
.journal-card__num { line-height: 1.75rem; }
.focus-card__num,
.cart-item__qty,
.cart-drawer__subtotal,
.back-link,
.theme-swatch,
.theme-attr-pill { line-height: 1.25rem; }
@media (min-width: 768px) {
  .after-order__body { line-height: 1.25rem; }
}
