/* =========================================================================
   Coquettehunnie theme.css — Theme by The Free Website Guys
   ========================================================================= */

:root {
  --color-background: #f4ecdf;
  --color-foreground: #221c15;
  --color-primary: #2c3a2b;
  --color-primary-fg: #f7f2e7;
  --color-secondary: #e6dcc7;
  --color-muted: #e9e2d4;
  --color-muted-fg: #625950;
  --color-accent: #dba52a;
  --color-accent-fg: #221c15;
  --color-border: #ddd0bb;
  --color-card: #f7f4ec;
  --color-fuchsia: #ec4faf;
  --color-fuchsia-text: #e879f9;

  --font-display: 'Cormorant Garamond', serif;
  --font-script: 'Photograph Signature', cursive;
  --font-body: 'Jost', sans-serif;

  --radius: 1rem;
  --card-radius: 1.5rem;
  --shadow-soft: 0 4px 20px -4px rgba(30, 20, 10, 0.08);
  --shadow-elevated: 0 8px 40px -8px rgba(30, 20, 10, 0.16);
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 88px;
  --logo-height: 56px;

  --btn-radius: 999px;
  --btn-height: 48px;
  --btn-padding: 0.75rem 1.75rem;
  --btn-font-size: 0.9rem;
  --btn-font-weight: 500;
  --btn-letter-spacing: 0;
  --btn-text-transform: none;
  --btn-icon-padding: 0.65rem;
  --checkout-gap: 2.5rem;

  /* Horizontal spacing — matches Lovable container-wide (px-6 lg:px-8) */
  --container-max: 1400px;
  --page-padding-x: 1.5rem;
  --page-padding-x-lg: 2rem;
}

@font-face {
  font-family: 'Photograph Signature';
  src: url('../fonts/Photograph_Signature.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* =========================================================================
   Reset & base
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; max-width: 100%; }
dl, dt, dd { margin: 0; padding: 0; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: inherit;
  font-size: inherit;
  margin: 0;
  line-height: 1.15;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }
ul { margin: 0; padding: 0; list-style: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

img:not(.cover-img):not(.hero-bg-img):not(.product-card-img):not(.site-logo-img) {
  max-width: 100%;
  height: auto;
}
.cover-img, .hero-bg-img, .product-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.container-wide {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--page-padding-x);
  min-width: 0;
}
@media (min-width: 1024px) {
  .container-wide { padding-inline: var(--page-padding-x-lg); }
}

/* Align full-bleed content (e.g. carousels) with .container-wide edges */
.container-gutter {
  padding-inline-start: max(var(--page-padding-x), calc((100vw - var(--container-max)) / 2 + var(--page-padding-x)));
  padding-inline-end: max(var(--page-padding-x), calc((100vw - var(--container-max)) / 2 + var(--page-padding-x)));
}
@media (min-width: 1024px) {
  .container-gutter {
    padding-inline-start: max(var(--page-padding-x-lg), calc((100vw - var(--container-max)) / 2 + var(--page-padding-x-lg)));
    padding-inline-end: max(var(--page-padding-x-lg), calc((100vw - var(--container-max)) / 2 + var(--page-padding-x-lg)));
  }
}

.scroll-reveal-section,
[id] { scroll-margin-top: 6rem; }

.text-primary-inline { color: var(--color-primary); }
.text-accent-inline { color: var(--color-accent); }
.text-fuchsia { color: var(--color-fuchsia-text); text-shadow: 0 0 18px color-mix(in srgb, var(--color-fuchsia-text) 55%, transparent); }
.eyebrow-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted-fg);
  font-family: var(--font-body);
}
.eyebrow-accent { color: var(--color-accent); display: inline-flex; align-items: center; gap: 0.5rem; }
.eyebrow-light { color: rgba(247,242,231,0.7); }
.eyebrow-accent-light { color: var(--color-accent); display: inline-flex; align-items: center; gap: 0.5rem; }

.theme-icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.15em; }

/* =========================================================================
   Buttons
   ========================================================================= */
.theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  letter-spacing: var(--btn-letter-spacing);
  text-transform: var(--btn-text-transform);
  padding: var(--btn-padding);
  border-radius: var(--btn-radius);
  transition: opacity 0.2s ease, transform 0.2s ease;
  cursor: pointer;
  border: none;
}
.theme-btn:hover { opacity: 0.88; }
.theme-btn-pill { border-radius: 999px; padding: 0.75rem 1.75rem; }
.theme-btn-full { width: 100%; }
.theme-btn-primary { background: var(--color-primary); color: var(--color-primary-fg); }
.theme-btn-accent { background: var(--color-accent); color: var(--color-accent-fg); }
.theme-btn-fuchsia { background: var(--color-fuchsia); color: #fff; }
.theme-btn-outline { background: transparent; border: 1px solid var(--color-border); color: var(--color-foreground); }
.theme-btn-outline-light { background: transparent; border: 1px solid rgba(247,242,231,0.8); color: var(--color-background); }
.theme-btn-outline-light:hover { background: rgba(247,242,231,0.15); }

/* =========================================================================
   Header
   ========================================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 0.5rem var(--page-padding-x) 0;
  animation: slideDown 0.5s var(--transition-smooth) forwards;
}
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}
@media (min-width: 1024px) {
  .site-header { padding-inline: var(--page-padding-x-lg); }
}

.site-header__bar {
  max-width: var(--container-max);
  margin: 0 auto;
  background: color-mix(in srgb, var(--color-card) 95%, transparent);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  box-shadow: 0 4px 20px -8px rgba(30,20,10,0.10);
  transition: box-shadow 0.3s ease, border-radius 0.3s ease;
  overflow: hidden;
}
.site-header.is-solid .site-header__bar { background: var(--color-card); }
.site-header__bar.is-open { border-radius: 1.5rem; }

.site-header__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-width: 0;
  gap: 0.5rem;
  height: 56px;
  padding: 0 0.375rem 0 0.875rem;
}
@media (min-width: 640px) {
  .site-header__nav {
    gap: 0.75rem;
    height: 72px;
    padding: 0 0.75rem 0 1.25rem;
  }
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}
@media (min-width: 1280px) {
  .site-header__brand {
    flex: 0 1 auto;
    gap: 0.75rem;
  }
}
.site-logo-img {
  flex-shrink: 0;
  height: 44px !important;
  width: 44px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--color-border);
}
@media (min-width: 640px) {
  .site-logo-img {
    height: var(--logo-height, 56px) !important;
    width: var(--logo-height, 56px);
  }
}
.site-header__brand-text {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  color: var(--color-foreground);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
@media (min-width: 640px) {
  .site-header__brand-text {
    font-size: 1.1rem;
    letter-spacing: 0.22em;
  }
}
@media (max-width: 399px) {
  .site-header__brand:has(.site-logo-img) .site-header__brand-text {
    display: none;
  }
}
.site-logo-text { font-family: var(--font-display); font-weight: 600; }

.site-header__links {
  display: none;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
  margin: 0 1rem;
  min-width: 0;
}
@media (min-width: 1280px) {
  .site-header__links { display: flex; }
}
.theme-nav-list { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.theme-nav-link, .theme-nav-list a {
  font-size: 0.875rem;
  color: var(--color-foreground);
  transition: color 0.3s ease;
}
.theme-nav-link:hover, .theme-nav-list a:hover { color: var(--color-primary); }

.site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.125rem;
  flex: 0 0 auto;
  flex-shrink: 0;
  margin-left: 0.25rem;
}
@media (min-width: 640px) {
  .site-header__actions { gap: 0.25rem; margin-left: auto; }
}
@media (min-width: 1280px) {
  .site-header__actions { margin-left: 0; }
}

.theme-cart-toggle {
  position: relative;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: 999px;
  transition: background 0.2s ease;
}
@media (min-width: 640px) {
  .theme-cart-toggle {
    width: auto;
    height: auto;
    padding: 0.65rem;
  }
}
.theme-cart-toggle:hover { background: color-mix(in srgb, var(--color-secondary) 70%, transparent); }
.theme-cart-count {
  position: absolute;
  top: 2px; right: 2px;
  width: 16px; height: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 500;
  background: var(--color-primary);
  color: var(--color-primary-fg);
  border-radius: 999px;
}
.theme-cart-count:empty { display: none; }

.theme-mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
  border-radius: 999px;
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
}
@media (min-width: 640px) {
  .theme-mobile-toggle {
    width: 2.75rem;
    height: 2.75rem;
    padding: 0.65rem;
  }
}
.theme-mobile-toggle[hidden] { display: none !important; }
@media (max-width: 1279.98px) {
  .site-header__actions .theme-mobile-toggle:not([hidden]) {
    display: flex;
  }
}
.theme-mobile-toggle__icon { display: flex; align-items: center; justify-content: center; transition: opacity 0.25s ease, transform 0.25s ease; }
.theme-mobile-toggle__icon--close { position: absolute; inset: 0; opacity: 0; transform: rotate(-90deg) scale(0.85); }
.theme-mobile-toggle.is-active .theme-mobile-toggle__icon--menu { opacity: 0; transform: rotate(90deg) scale(0.85); }
.theme-mobile-toggle.is-active .theme-mobile-toggle__icon--close { opacity: 1; transform: rotate(0) scale(1); }
.theme-mobile-toggle:hover { background: color-mix(in srgb, var(--color-secondary) 70%, transparent); }

.site-header__mobile {
  display: block;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  border-top: 1px solid transparent;
  padding: 0 var(--page-padding-x);
  transition: max-height 0.45s var(--transition-smooth), opacity 0.35s ease, padding 0.35s ease, border-color 0.25s ease;
}
.site-header__mobile.is-open {
  max-height: 28rem;
  opacity: 1;
  border-top-color: var(--color-border);
  padding: 1rem var(--page-padding-x) 1.25rem;
}
.site-header__mobile .theme-nav-list { flex-direction: column; gap: 0.25rem; }
.site-header__mobile .theme-nav-list a,
.site-header__mobile .theme-nav-link {
  display: block;
  padding: 0.5rem 0;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.35s ease, transform 0.35s var(--transition-smooth), color 0.3s ease;
}
.site-header__mobile.is-open .theme-nav-list a,
.site-header__mobile.is-open .theme-nav-link {
  opacity: 1;
  transform: translateY(0);
}
.site-header__mobile.is-open .theme-nav-list li:nth-child(1) a,
.site-header__mobile.is-open .theme-nav-list li:nth-child(1) .theme-nav-link { transition-delay: 0.04s; }
.site-header__mobile.is-open .theme-nav-list li:nth-child(2) a,
.site-header__mobile.is-open .theme-nav-list li:nth-child(2) .theme-nav-link { transition-delay: 0.08s; }
.site-header__mobile.is-open .theme-nav-list li:nth-child(3) a,
.site-header__mobile.is-open .theme-nav-list li:nth-child(3) .theme-nav-link { transition-delay: 0.12s; }
.site-header__mobile.is-open .theme-nav-list li:nth-child(4) a,
.site-header__mobile.is-open .theme-nav-list li:nth-child(4) .theme-nav-link { transition-delay: 0.16s; }
.site-header__mobile.is-open .theme-nav-list li:nth-child(5) a,
.site-header__mobile.is-open .theme-nav-list li:nth-child(5) .theme-nav-link { transition-delay: 0.20s; }
.site-header__mobile.is-open .theme-nav-list li:nth-child(6) a,
.site-header__mobile.is-open .theme-nav-list li:nth-child(6) .theme-nav-link { transition-delay: 0.24s; }
.site-header__mobile.is-open .theme-nav-list li:nth-child(7) a,
.site-header__mobile.is-open .theme-nav-list li:nth-child(7) .theme-nav-link { transition-delay: 0.28s; }
.site-header__mobile.is-open .theme-nav-list li:nth-child(8) a,
.site-header__mobile.is-open .theme-nav-list li:nth-child(8) .theme-nav-link { transition-delay: 0.32s; }
@media (min-width: 1280px) { .site-header__mobile { display: none !important; } }

body.theme-no-hero .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main,
body.woocommerce-checkout .site-main {
  padding-top: var(--header-height, 88px);
  padding-bottom: 4rem;
}
body.admin-bar.theme-no-hero .site-main,
body.admin-bar.woocommerce-cart .site-main,
body.admin-bar.woocommerce-account .site-main,
body.admin-bar.woocommerce-checkout .site-main {
  padding-top: calc(var(--header-height, 88px) + 32px);
}
@media screen and (max-width: 782px) {
  body.admin-bar.theme-no-hero .site-main,
  body.admin-bar.woocommerce-cart .site-main,
  body.admin-bar.woocommerce-account .site-main,
  body.admin-bar.woocommerce-checkout .site-main {
    padding-top: calc(var(--header-height, 88px) + 46px);
  }
}

/* =========================================================================
   Hero
   ========================================================================= */
.hero-section {
  position: relative;
  width: 100%;
  padding: 6rem var(--page-padding-x) 1.5rem;
}
@media (min-width: 640px) {
  .hero-section { padding-top: 7rem; padding-bottom: 2.5rem; }
}
@media (min-width: 1024px) {
  .hero-section { padding-inline: var(--page-padding-x-lg); }
}
.hero-frame {
  position: relative;
  width: 100%;
  border-radius: 2rem;
  overflow: hidden;
  background: var(--color-secondary);
  box-shadow: 0 20px 60px -20px rgba(30,20,10,0.3);
  min-height: 560px;
}
@media (min-width: 640px) { .hero-frame { border-radius: 2.5rem; min-height: 620px; } }
@media (min-width: 1024px) { .hero-frame { min-height: 680px; } }
.hero-frame__media { position: absolute; inset: 0; }
.hero-frame__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(34,28,21,0.65), rgba(34,28,21,0.55) 45%, rgba(34,28,21,0.85));
}
.hero-frame__content {
  position: relative; z-index: 10;
  display: flex; flex-direction: column; justify-content: center;
  min-height: 560px;
  padding: 3.5rem 1.5rem;
  max-width: 48rem;
}
@media (min-width: 640px) { .hero-frame__content { padding: 3.5rem 2.5rem; min-height: 620px; } }
@media (min-width: 1024px) { .hero-frame__content { padding: 3.5rem 3.5rem; min-height: 680px; } }

.hero-tagline { font-size: 0.8rem; letter-spacing: 0.35em; text-transform: uppercase; color: var(--color-accent); }
@media (min-width: 640px) { .hero-tagline { font-size: 0.875rem; } }
.hero-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1.05;
  color: var(--color-background);
  margin-top: 1rem;
  filter: drop-shadow(0 2px 24px rgba(0,0,0,0.5));
}
.hero-title__greeting { display: block; font-family: var(--font-body); font-size: 1.25rem; letter-spacing: 0.02em; color: rgba(247,242,231,0.8); margin-bottom: 0.5rem; }
@media (min-width: 640px) { .hero-title { font-size: 3rem; } .hero-title__greeting { font-size: 1.5rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 3.75rem; } .hero-title__greeting { font-size: 1.75rem; } }
@media (min-width: 1280px) { .hero-title { font-size: 4.5rem; } }
.hero-paragraph { margin-top: 1.25rem; max-width: 36rem; font-size: 0.9rem; color: rgba(247,242,231,0.9); line-height: 1.7; }
@media (min-width: 640px) { .hero-paragraph { font-size: 1rem; } }
.hero-ctas { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-social { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; font-size: 0.9rem; font-weight: 500; color: rgba(247,242,231,0.75); }
.hero-social a:hover { color: var(--color-accent); }
.hero-social__sep { opacity: 0.4; }

/* =========================================================================
   Why choose
   ========================================================================= */
.why-section { background: var(--color-background); }
.why-section__inner { padding-block: 4rem; }
@media (min-width: 768px) { .why-section__inner { padding-block: 6rem; } }
.why-section__head { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; margin-bottom: 3rem; }
@media (min-width: 768px) { .why-section__head { grid-template-columns: 1fr 1fr; gap: 4rem; margin-bottom: 4rem; } }
.section-heading { font-family: var(--font-display); font-size: 2.25rem; line-height: 1.05; letter-spacing: -0.01em; }
@media (min-width: 768px) { .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .section-heading { font-size: 3.75rem; } }
.why-section__paragraph { color: var(--color-muted-fg); font-size: 1rem; line-height: 1.7; max-width: 36rem; padding-top: 0.75rem; }
@media (min-width: 768px) { .why-section__paragraph { font-size: 1.125rem; } }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } }
.why-card {
  background: var(--color-secondary);
  border-radius: 1.5rem;
  padding: 1.5rem;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  transition: background 0.5s var(--transition-smooth);
}
@media (min-width: 768px) { .why-card { padding: 2rem; } }
.why-card:hover { background: color-mix(in srgb, var(--color-secondary) 70%, transparent); }
.why-card__icon {
  width: 5rem; height: 5rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--color-primary) 40%, transparent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
  transition: all 0.5s var(--transition-smooth);
}
.why-card__icon .theme-icon { width: 2.5rem; height: 2.5rem; }
@media (min-width: 768px) { .why-card__icon { width: 6rem; height: 6rem; margin-bottom: 2rem; } .why-card__icon .theme-icon { width: 3rem; height: 3rem; } }
.why-card:hover .why-card__icon { border-color: var(--color-primary); transform: scale(1.05); }
.why-card h3 { font-family: var(--font-display); font-size: 1.125rem; margin-bottom: 0.5rem; }
@media (min-width: 768px) { .why-card h3 { font-size: 1.25rem; } }
.why-card p { font-size: 0.875rem; color: var(--color-muted-fg); line-height: 1.6; }

/* =========================================================================
   About
   ========================================================================= */
.about-section { background: var(--color-secondary); }
.about-section__inner { padding-block: 4rem; display: grid; grid-template-columns: 1fr; gap: 2rem; max-width: 72rem; margin: 0 auto; align-items: start; }
@media (min-width: 768px) { .about-section__inner { grid-template-columns: 1fr 1fr; gap: 2rem; padding-block: 6rem; } }
@media (min-width: 1024px) { .about-section__inner { gap: 3rem; } }
.about-section__image-col { display: flex; justify-content: center; }
@media (min-width: 768px) { .about-section__image-col { justify-content: flex-end; } }
.about-section__image-frame {
  --about-image-size: 32rem;
  aspect-ratio: 1 / 1;
  width: min(80vw, 360px);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .about-section__image-frame {
    width: 100%;
    max-width: 420px;
    height: auto;
    border-radius: 999px;
  }
}
@media (min-width: 1024px) {
  .about-section__image-col { width: 100%; }
  .about-section__image-frame {
    width: 100%;
    max-width: none;
    aspect-ratio: auto;
    height: var(--about-image-size);
  }
}
.about-section__text-col { display: flex; flex-direction: column; }
.about-section__copy { margin-top: 1rem; display: flex; flex-direction: column; gap: 1rem; }
.about-section__title { font-family: var(--font-display); font-size: 1.875rem; line-height: 1.12; margin: 0; color: var(--color-foreground); }
@media (min-width: 768px) { .about-section__title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .about-section__title { font-size: 3rem; } }
.about-section__body { margin: 0; color: var(--color-muted-fg); font-family: var(--font-body); font-size: 1rem; line-height: 1.625; }
@media (min-width: 768px) { .about-section__body { font-size: 1.125rem; } }

/* =========================================================================
   Image divider
   ========================================================================= */
.image-divider { position: relative; width: 100%; height: 220px; overflow: hidden; }
@media (min-width: 640px) { .image-divider { height: 320px; } }
@media (min-width: 768px) { .image-divider { height: 420px; } }

/* =========================================================================
   Gallery / shop
   ========================================================================= */
.gallery-section { padding: 4rem 0; }
@media (min-width: 768px) { .gallery-section { padding: 5rem 0; } }
.gallery-section__head { text-align: center; margin-bottom: 3rem; }
.gallery-section__paragraph { max-width: 36rem; margin: 1rem auto 0; color: var(--color-muted-fg); font-size: 0.95rem; line-height: 1.7; }
.theme-filter-bar { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.5rem; margin: 1.5rem 0 1rem; }
.theme-filter-pill {
  flex-shrink: 0;
  padding: 0.6rem 1.1rem;
  font-size: 0.875rem;
  border-radius: 999px;
  background: var(--color-secondary);
  color: var(--color-foreground);
  transition: all 0.3s ease;
}
.theme-filter-pill:hover { background: var(--color-muted); }
.theme-filter-pill.is-active { background: var(--color-primary); color: var(--color-primary-fg); }
.theme-filter-pill--price { display: flex; align-items: center; gap: 0.5rem; }
.theme-filter-pill--price .theme-icon { transition: transform 0.3s ease; }
.theme-filter-pill--price[aria-expanded="true"] .theme-icon { transform: rotate(180deg); }

.theme-price-filter { max-width: 24rem; margin: 0 auto; padding: 0.5rem 0; }
.price-range-wrapper { position: relative; height: 1.5rem; }
.range-track-bg, .range-track-fill { position: absolute; height: 4px; top: 50%; transform: translateY(-50%); pointer-events: none; border-radius: 999px; }
.range-track-bg { left: 0; right: 0; background: var(--color-border); }
.range-track-fill { background: var(--color-primary); }
.range-input { position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0; -webkit-appearance: none; appearance: none; background: transparent; pointer-events: none; }
.range-input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 16px; height: 16px; border-radius: 999px; background: var(--color-primary); border: 2px solid var(--color-background); cursor: pointer; }
.range-input::-moz-range-thumb { pointer-events: auto; width: 16px; height: 16px; border-radius: 999px; background: var(--color-primary); border: 2px solid var(--color-background); cursor: pointer; }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }
.price-range-labels { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--color-muted-fg); margin-top: 0.5rem; }

.gallery-section__note { margin-top: 1.5rem; max-width: 42rem; margin-inline: auto; border-radius: 1rem; border: 1px solid var(--color-border); background: color-mix(in srgb, var(--color-secondary) 40%, transparent); padding: 1.25rem 1.5rem; }
.gallery-section__note p { font-size: 0.9rem; color: var(--color-muted-fg); line-height: 1.7; }
.theme-inline-link { color: var(--color-primary); text-underline-offset: 4px; }
.theme-inline-link:hover { text-decoration: underline; }

.theme-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}
@media (min-width: 768px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
.theme-product-grid--related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .theme-product-grid--related { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.theme-product-card-wrap { display: flex; height: 100%; }
.theme-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  background: var(--color-background);
  border: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
  border-radius: 1rem;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.theme-product-card:hover { box-shadow: 0 20px 40px -12px rgba(30,15,10,0.10); transform: translateY(-4px); }
.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__badges { position: absolute; top: 0.75rem; left: 0.75rem; right: 0.75rem; z-index: 3; display: flex; justify-content: space-between; }
.theme-badge { padding: 0.25rem 0.6rem; font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; }
.theme-badge-dark { background: var(--color-foreground); color: var(--color-background); }
.theme-badge-accent { background: var(--color-accent); color: #fff; }
.theme-badge-outline { background: color-mix(in srgb, var(--color-background) 90%, transparent); color: var(--color-accent); border: 1px solid var(--color-border); }
.theme-badge-topright { color: var(--color-foreground); }
.theme-product-card__image { position: relative; aspect-ratio: 1 / 1; background: var(--color-secondary); overflow: hidden; }
.theme-product-card:hover .theme-product-card__image img { transform: scale(1.06); }
.theme-product-card__image img { transition: transform 0.6s var(--transition-smooth); }
.theme-product-card__body { flex: 1; display: flex; flex-direction: column; padding: 1rem; border-top: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent); }
@media (min-width: 768px) { .theme-product-card__body { padding: 1.25rem; } }
.theme-product-card__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; min-width: 0; }
.theme-product-card__title { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.3; min-width: 0; overflow: hidden; }
@media (min-width: 768px) { .theme-product-card__title { font-size: 0.875rem; } }
.theme-product-card:hover .theme-product-card__title { color: var(--color-accent); }
.theme-product-card__price { font-size: 0.875rem; font-weight: 600; white-space: nowrap; }
@media (min-width: 768px) { .theme-product-card__price { font-size: 1rem; } }
.theme-product-card__price--muted { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--color-muted-fg); font-weight: 400; }

.gallery-section__more { text-align: center; margin-top: 2.5rem; }
.gallery-section__empty { text-align: center; padding: 5rem 0; color: var(--color-muted-fg); }
.theme-shop-empty { text-align: center; padding: 4rem 0; color: var(--color-muted-fg); }

/* =========================================================================
   Commissions
   ========================================================================= */
.commissions-section { background: var(--color-background); padding: 5rem 0; }
@media (min-width: 768px) { .commissions-section { padding: 6rem 0; } }
.commissions-section__head { max-width: 42rem; margin: 0 auto 2.5rem; text-align: center; }
.commissions-section__body { margin-top: 1rem; color: var(--color-muted-fg); line-height: 1.7; }
.commissions-form { max-width: 42rem; margin: 0 auto; background: color-mix(in srgb, var(--color-secondary) 50%, transparent); border-radius: 1.5rem; padding: 1.5rem; }
@media (min-width: 768px) { .commissions-form { padding: 2rem; } }

.theme-form__row-2 { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .theme-form__row-2 { grid-template-columns: 1fr 1fr; } }
.theme-form__field { margin-bottom: 1.25rem; }
.theme-form__field:last-child { margin-bottom: 0; }
.theme-form__field label { font-size: 0.875rem; font-weight: 500; margin-bottom: 0.5rem; display: block; }
.theme-form__field input, .theme-form__field textarea {
  width: 100%; padding: 0.75rem 1rem;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  font-size: 0.9rem;
}
.theme-form__field input:focus, .theme-form__field textarea:focus { outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-accent) 50%, transparent); }
.commissions-form > .theme-form__field, .commissions-form > .theme-form__row-2 { margin-bottom: 1.25rem; }
.theme-form__success { display: none; text-align: center; padding: 1.5rem 0; }
.theme-form__success:not([hidden]) { display: block; }
.theme-form.is-submitted .theme-form__row-2,
.theme-form.is-submitted .theme-form__field:not(.theme-form__success),
.theme-form.is-submitted > button[type="submit"] { display: none; }

/* =========================================================================
   Services carousel
   ========================================================================= */
.services-section { background: var(--color-primary); color: var(--color-primary-fg); overflow: hidden; padding: 5rem 0 7rem; }
@media (min-width: 768px) { .services-section { padding: 7rem 0 7rem; } }
.services-section__head { text-align: center; margin-bottom: 3rem; }
@media (min-width: 768px) { .services-section__head { margin-bottom: 4rem; } }
.section-heading-light { color: var(--color-primary-fg); }
.services-section__paragraph { margin-top: 1.25rem; max-width: 42rem; margin-inline: auto; color: color-mix(in srgb, var(--color-primary-fg) 80%, transparent); line-height: 1.7; }

.theme-carousel { position: relative; }
.theme-carousel__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.theme-carousel__track.container-gutter { scroll-padding-inline-start: max(var(--page-padding-x), calc((100vw - var(--container-max)) / 2 + var(--page-padding-x))); }
@media (min-width: 1024px) {
  .theme-carousel__track.container-gutter { scroll-padding-inline-start: max(var(--page-padding-x-lg), calc((100vw - var(--container-max)) / 2 + var(--page-padding-x-lg))); }
}
.theme-carousel__track::-webkit-scrollbar { display: none; }
.theme-carousel__spacer {
  flex: 0 0 max(var(--page-padding-x), calc((100vw - var(--container-max)) / 2 + var(--page-padding-x)));
  min-width: var(--page-padding-x);
  scroll-snap-align: end;
  pointer-events: none;
}
@media (min-width: 1024px) {
  .theme-carousel__spacer {
    flex-basis: max(var(--page-padding-x-lg), calc((100vw - var(--container-max)) / 2 + var(--page-padding-x-lg)));
    min-width: var(--page-padding-x-lg);
  }
}
.theme-carousel__item { flex: 0 0 82%; scroll-snap-align: start; }
@media (min-width: 640px) { .theme-carousel__item { flex-basis: 48%; } }
@media (min-width: 1024px) { .theme-carousel__item { flex-basis: 31%; } }

.service-card { position: relative; overflow: hidden; border-radius: 1.5rem; aspect-ratio: 3 / 4; background: color-mix(in srgb, var(--color-foreground) 40%, transparent); }
.service-card__image { transition: transform 0.7s ease; }
.service-card:hover .service-card__image { transform: scale(1.05); }
.service-card__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.45) 55%, rgba(0,0,0,0.15)); }
.service-card__cta {
  position: absolute; top: 1rem; right: 1rem; z-index: 3;
  width: 2.5rem; height: 2.5rem; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--color-background) 90%, transparent);
  color: var(--color-foreground);
  pointer-events: auto;
  transition: background 0.2s ease, color 0.2s ease;
}
.service-card__cta:hover { background: var(--color-accent); color: #fff; }
.service-card__price {
  position: absolute; top: 1rem; left: 1rem; z-index: 3;
  display: flex; gap: 0.5rem; align-items: center;
  border-radius: 999px; padding: 0.25rem 0.75rem;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  background: color-mix(in srgb, var(--color-background) 90%, transparent);
}
.service-card__price span { font-weight: 600; color: var(--color-primary); }
.service-card__content { position: absolute; inset-inline: 0; bottom: 0; z-index: 2; display: flex; flex-direction: column; gap: 0.75rem; padding: 1.5rem; color: #fff; }
.service-card__content h3 { font-size: 1.5rem; line-height: 1.1; }
.service-card__content p { font-size: 0.875rem; line-height: 1.6; color: rgba(255,255,255,0.85); }
.service-card__inhome {
  margin-top: 0.25rem; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(247,242,231,0.1);
  border-radius: 999px; padding: 0.4rem 0.9rem;
  font-size: 0.75rem; color: #fff;
  pointer-events: auto;
  transition: background 0.2s ease, color 0.2s ease;
}
.service-card__inhome:hover { background: var(--color-background); color: var(--color-foreground); }

.theme-carousel__controls { margin-top: 2rem; display: flex; justify-content: center; gap: 0.75rem; }
.theme-carousel__btn {
  width: 2.75rem; height: 2.75rem; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--color-primary-fg) 30%, transparent);
  background: color-mix(in srgb, var(--color-background) 10%, transparent);
  color: var(--color-primary-fg);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.theme-carousel__btn:hover { background: var(--color-background); color: var(--color-foreground); }
.theme-carousel__btn:disabled { opacity: 0.4; cursor: not-allowed; }
.services-section__footnote { margin-top: 2.5rem; text-align: center; font-size: 0.875rem; color: color-mix(in srgb, var(--color-primary-fg) 70%, transparent); }

/* =========================================================================
   Testimonials
   ========================================================================= */
.testimonials-section { background: var(--color-background); padding: 4rem 0; }
@media (min-width: 768px) { .testimonials-section { padding: 6rem 0; } }
.testimonials-section__head { text-align: center; margin-bottom: 2.5rem; }
.font-script { font-family: var(--font-script); }
.theme-testimonial-slider { position: relative; max-width: 56rem; margin: 0 auto; }
.theme-testimonial-slider__track { position: relative; min-height: 22rem; }
.theme-testimonial-slide {
  display: none;
  background: color-mix(in srgb, var(--color-secondary) 60%, transparent);
  border: 1px solid var(--color-border);
  border-radius: 1.5rem;
  padding: 2.5rem 1.25rem;
  text-align: center;
  flex-direction: column;
  align-items: center;
}
.theme-testimonial-slide.is-active { display: flex; animation: fadeIn 0.5s var(--transition-smooth); }
@media (min-width: 768px) { .theme-testimonial-slide { padding: 4rem 3rem; } }
.theme-testimonial-slide__icon { width: 2rem; height: 2rem; color: var(--color-accent); margin-bottom: 2rem; }
.theme-testimonial-slide__quote { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; line-height: 1.35; max-width: 42rem; }
@media (min-width: 768px) { .theme-testimonial-slide__quote { font-size: 1.75rem; } }
.theme-testimonial-slide__stars { display: flex; gap: 0.35rem; margin-top: 2.5rem; }
.theme-testimonial-slide__stars .theme-icon { width: 1rem; height: 1rem; color: color-mix(in srgb, var(--color-muted-fg) 30%, transparent); }
.theme-testimonial-slide__stars .theme-icon.is-filled { color: var(--color-accent); fill: var(--color-accent); }
.theme-testimonial-slide__meta { margin-top: 1rem; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-fg); }
.theme-testimonial-slider__controls { margin-top: 2rem; display: flex; align-items: center; justify-content: center; gap: 1.25rem; }
.theme-testimonial-slider__controls .theme-carousel__btn {
  border-color: var(--color-border);
  background: transparent;
  color: var(--color-foreground);
}
.theme-testimonial-slider__controls .theme-carousel__btn:hover {
  background: var(--color-secondary);
  color: var(--color-accent);
}
.theme-testimonial-slider__dots { display: flex; align-items: center; gap: 0.5rem; }
.theme-testimonial-slider__dots button { width: 6px; height: 6px; border-radius: 999px; background: color-mix(in srgb, var(--color-muted-fg) 30%, transparent); transition: all 0.3s ease; }
.theme-testimonial-slider__dots button.is-active { width: 24px; background: var(--color-accent); }

/* =========================================================================
   Moon magic
   ========================================================================= */
.moonmagic-section { position: relative; width: 100%; overflow: hidden; }
.moonmagic-section__bg { position: absolute; inset: 0; }
.moonmagic-section__overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(34,28,21,0.8), rgba(34,28,21,0.65) 50%, rgba(34,28,21,0.85)); }
.moonmagic-section__content { position: relative; z-index: 2; padding-block: 6rem; min-height: 480px; display: flex; align-items: center; justify-content: center; text-align: center; }
@media (min-width: 640px) { .moonmagic-section__content { min-height: 560px; padding-block: 9rem; } }
.moonmagic-section__content > div { max-width: 42rem; }
.moonmagic-section__body { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; color: rgba(247,242,231,0.85); line-height: 1.7; }

/* =========================================================================
   Poetry
   ========================================================================= */
.poetry-section { background: color-mix(in srgb, var(--color-secondary) 60%, transparent); padding: 5rem 0; }
.poetry-section__head { max-width: 42rem; margin: 0 auto 3rem; text-align: center; }
.poetry-section__paragraph { margin-top: 1.25rem; color: var(--color-muted-fg); line-height: 1.7; }
.poetry-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }
@media (min-width: 1024px) { .poetry-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.poem-card { background: var(--color-background); border-radius: 1.5rem; overflow: hidden; }
.poem-card__toggle { width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; text-align: left; padding: 1.75rem; }
@media (min-width: 768px) { .poem-card__toggle { padding: 2.5rem; } }
.poem-card__toggle:hover { background: color-mix(in srgb, var(--color-secondary) 30%, transparent); }
.poem-card__toggle-text { flex: 1; min-width: 0; }
.poem-card__title { display: block; font-family: var(--font-display); font-size: 1.875rem; margin-top: 0.75rem; line-height: 1.2; }
@media (min-width: 768px) { .poem-card__title { font-size: 2.25rem; } }
.poem-card__subtitle { display: block; margin-top: 0.25rem; font-size: 0.875rem; color: var(--color-muted-fg); font-style: italic; }
.poem-card__hint { display: block; margin-top: 0.75rem; font-size: 0.875rem; color: var(--color-muted-fg); }
.poem-card__chevron { flex-shrink: 0; margin-top: 0.5rem; color: var(--color-muted-fg); transition: transform 0.3s ease; }
.poem-card__toggle[aria-expanded="true"] .poem-card__chevron { transform: rotate(180deg); }
.poem-card__panel { padding: 0 1.75rem 2rem; margin-top: -0.5rem; }
@media (min-width: 768px) { .poem-card__panel { padding: 0 2.5rem 2.5rem; } }
.poem-card__body { white-space: pre-wrap; font-family: var(--font-body); font-size: 0.98rem; line-height: 1.85; color: color-mix(in srgb, var(--color-foreground) 90%, transparent); margin-bottom: 2rem; }

/* =========================================================================
   Goddess universe
   ========================================================================= */
.goddess-section { background: var(--color-foreground); color: var(--color-background); padding: 5rem 0; }
@media (min-width: 768px) { .goddess-section { padding: 7rem 0; } }
.goddess-section__inner { max-width: 48rem; margin: 0 auto; text-align: center; }
.goddess-section__body { margin-top: 1.5rem; color: rgba(247,242,231,0.85); line-height: 1.7; }
.goddess-section__body-italic { margin-top: 0.75rem; font-style: italic; font-size: 0.9rem; color: rgba(247,242,231,0.7); }
.goddess-section .theme-btn { margin-top: 2.5rem; }
.goddess-section__footnote { margin-top: 1rem; font-size: 0.75rem; color: rgba(247,242,231,0.5); }

/* =========================================================================
   Home blog
   ========================================================================= */
.home-blog-section { background: color-mix(in srgb, var(--color-secondary) 60%, transparent); padding: 5rem 0; }
.home-blog-section__head { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .home-blog-section__head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.home-blog-section__all-link { font-size: 0.875rem; text-decoration: underline; text-underline-offset: 4px; align-self: flex-start; }
@media (min-width: 768px) { .home-blog-section__all-link { align-self: flex-end; } }
.home-blog-section__all-link:hover { color: var(--color-primary); }
.home-blog-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .home-blog-grid { grid-template-columns: repeat(3, 1fr); } }
.home-blog-card { background: var(--color-background); border-radius: 1.5rem; overflow: hidden; display: flex; flex-direction: column; }
.home-blog-card__image { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.home-blog-card__image img { transition: transform 0.7s ease; }
.home-blog-card:hover .home-blog-card__image img { transform: scale(1.05); }
.home-blog-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.home-blog-card__body time { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--color-muted-fg); }
.home-blog-card__body h3 { font-family: var(--font-display); font-size: 1.5rem; margin-top: 0.5rem; line-height: 1.2; }
.home-blog-card__body h3 a:hover { color: var(--color-primary); }
.home-blog-card__body p { margin-top: 0.75rem; font-size: 0.875rem; color: var(--color-muted-fg); line-height: 1.6; flex: 1; }
.home-blog-card__readmore { margin-top: 1rem; display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.875rem; color: var(--color-primary); }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq-section { background: var(--color-secondary); padding: 4rem 0; }
@media (min-width: 768px) { .faq-section { padding: 6rem 0; } }
.faq-section__head { max-width: 42rem; margin: 0 auto 3rem; text-align: center; }
@media (min-width: 768px) { .faq-section__head { margin-bottom: 4rem; } }
.faq-section__head p { margin-top: 1.25rem; color: var(--color-muted-fg); line-height: 1.7; max-width: 28rem; margin-inline: auto; }
.faq-columns { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 768px) { .faq-columns { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.faq-column { border-top: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent); }
.faq-item { border-bottom: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent); }
.faq-item__toggle { width: 100%; display: flex; align-items: center; gap: 1rem; padding: 1.25rem 0; text-align: left; }
@media (min-width: 768px) { .faq-item__toggle { padding: 1.5rem 0; gap: 1.5rem; } }
.faq-item__num { font-family: var(--font-display); font-size: 1rem; color: var(--color-muted-fg); flex-shrink: 0; }
@media (min-width: 768px) { .faq-item__num { font-size: 1.125rem; } }
.faq-item__toggle[aria-expanded="true"] .faq-item__num { color: var(--color-accent); }
.faq-item__question { flex: 1; font-size: 0.9rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); }
@media (min-width: 768px) { .faq-item__question { font-size: 1rem; } }
.faq-item__toggle[aria-expanded="true"] .faq-item__question { color: var(--color-foreground); }
.faq-item__icon { flex-shrink: 0; color: var(--color-muted-fg); transition: transform 0.3s ease; }
.faq-item__toggle[aria-expanded="true"] .faq-item__icon { transform: rotate(45deg); color: var(--color-accent); }
.faq-item__panel { padding: 0 0 1.5rem 2.25rem; }
@media (min-width: 768px) { .faq-item__panel { padding-left: 3rem; padding-right: 2rem; } }
.faq-item__panel p { color: var(--color-muted-fg); line-height: 1.7; font-size: 0.9rem; }
@media (min-width: 768px) { .faq-item__panel p { font-size: 1rem; } }

/* =========================================================================
   Contact
   ========================================================================= */
.contact-section { background: var(--color-secondary); padding: 5rem 0; }
.contact-section__inner { max-width: 48rem; margin: 0 auto; }
.contact-section__head { text-align: center; margin-bottom: 2.5rem; }
.contact-section__head p { margin-top: 1.25rem; color: var(--color-muted-fg); max-width: 28rem; margin-inline: auto; line-height: 1.7; }
.contact-section__methods {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.875rem;
  margin-bottom: 2.5rem;
  width: 100%;
  max-width: 20rem;
  margin-inline: auto;
}
@media (min-width: 768px) {
  .contact-section__methods {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    max-width: none;
  }
}
.contact-section__methods a,
.contact-section__method {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--color-muted-fg);
  text-align: left;
  line-height: 1.4;
  min-height: 2.5rem;
}
.contact-section__methods a:hover { color: var(--color-foreground); }
.contact-section__method-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--color-background);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================================================================
   Credentials
   ========================================================================= */
.credentials-section { background: var(--color-background); border-top: 1px solid var(--color-border); padding: 3.5rem 0; }
.credentials-section__head { text-align: center; margin-bottom: 2rem; }
.credentials-section__heading { font-family: var(--font-display); font-size: 1.5rem; margin-top: 0.75rem; }
@media (min-width: 768px) { .credentials-section__heading { font-size: 1.875rem; } }
.credentials-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; max-width: 42rem; margin: 0 auto; }
@media (min-width: 640px) { .credentials-grid { grid-template-columns: 1fr 1fr; } }
.credential-card { border-radius: 1rem; border: 1px solid var(--color-border); background: color-mix(in srgb, var(--color-secondary) 40%, transparent); padding: 1.25rem; text-align: center; }
.credential-card__label { font-family: var(--font-display); font-size: 1.125rem; }
.credential-card__desc { margin-top: 0.25rem; font-size: 0.875rem; color: var(--color-muted-fg); }

/* =========================================================================
   Modal (in-home dialog)
   ========================================================================= */
.theme-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.theme-modal[hidden] { display: none; }
.theme-modal__overlay { position: absolute; inset: 0; background: rgba(34,28,21,0.5); }
.theme-modal__panel { position: relative; z-index: 1; width: 100%; max-width: 32rem; background: var(--color-background); border-radius: 1.5rem; padding: 2rem; max-height: 90vh; overflow-y: auto; animation: scaleIn 0.35s var(--transition-smooth); }
.theme-modal__close { position: absolute; top: 1rem; right: 1rem; }
.theme-modal__title { font-family: var(--font-display); font-size: 1.5rem; }
.theme-modal__desc { margin-top: 0.5rem; color: var(--color-muted-fg); font-size: 0.9rem; line-height: 1.6; }
.theme-modal form { margin-top: 1rem; }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer { border-top: 1px solid var(--color-border); background: color-mix(in srgb, var(--color-secondary) 40%, transparent); }
.site-footer__inner { padding-block: 3rem; }
@media (min-width: 1024px) { .site-footer__inner { padding-block: 4rem; } }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.site-footer__brand { display: flex; align-items: center; gap: 0.75rem; }
.site-footer__brand .site-logo-img { width: 3rem; height: 3rem !important; }
.site-footer__tagline { margin-top: 1rem; font-size: 0.875rem; color: var(--color-muted-fg); max-width: 24rem; line-height: 1.6; }
.site-footer__social { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; }
.site-footer__social a { font-size: 1rem; font-weight: 500; color: var(--color-muted-fg); }
.site-footer__social a:hover { color: var(--color-primary); }
.site-footer__col h4 { font-family: var(--font-body); font-size: 0.9rem; font-weight: 600; margin-bottom: 1rem; }
.site-footer__col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer__col a { font-size: 0.875rem; color: var(--color-muted-fg); }
.site-footer__col a:hover { color: var(--color-primary); }
.site-footer__contact-item { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-fg); }
.site-footer__bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; }
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; justify-content: space-between; } }
.site-footer__bottom p, .site-footer__bottom a { font-size: 0.75rem; color: var(--color-muted-fg); }
.site-footer__bottom a:hover { color: var(--color-primary); }

/* =========================================================================
   Reveal / motion (Section 2.1)
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-0 { transition-delay: 0s; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.4s; }

body.is-customizer .reveal,
body.is-customizer .theme-product-card-wrap.reveal {
  opacity: 1 !important;
  transform: none !important;
}

@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); } }

.animate-fade-in { animation: fadeIn 0.6s var(--transition-smooth) forwards; }
.animate-slide-up { animation: slideUp 0.6s var(--transition-smooth) forwards; }
.animate-slide-down { animation: slideDown 0.5s var(--transition-smooth) forwards; }
.animate-scale-in { animation: scaleIn 0.5s var(--transition-smooth) forwards; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .site-header, .theme-testimonial-slide, .theme-modal__panel,
  .animate-fade-in, .animate-slide-up, .animate-slide-down, .animate-scale-in {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* =========================================================================
   Generic pages (page.php)
   ========================================================================= */
.theme-page-wrap.theme-page {
  max-width: 52rem;
  padding-block: 2.5rem 5rem;
}
@media (min-width: 768px) {
  .theme-page-wrap.theme-page { padding-block: 3.5rem 6rem; }
}

.theme-page-header {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}
.theme-page-header--plain {
  margin-bottom: 2rem;
  padding-bottom: 0;
  border-bottom: none;
}
.theme-page-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
@media (min-width: 768px) {
  .theme-page-title { font-size: 3.25rem; }
}
.theme-page-lead {
  margin-top: 1.25rem;
  max-width: 40rem;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--color-muted-fg);
}
@media (min-width: 768px) {
  .theme-page-lead { font-size: 1.125rem; }
}

.theme-page .theme-page-content {
  font-size: 1rem;
  line-height: 1.75;
  color: color-mix(in srgb, var(--color-foreground) 88%, transparent);
}
@media (min-width: 768px) {
  .theme-page .theme-page-content { font-size: 1.0625rem; }
}

.theme-page .theme-page-content > *:first-child {
  margin-top: 0;
}
.theme-page .theme-page-content > p:first-of-type {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--color-muted-fg);
}
@media (min-width: 768px) {
  .theme-page .theme-page-content > p:first-of-type { font-size: 1.125rem; }
}
.theme-page .theme-page-content.has-excerpt > p:first-of-type {
  font-size: inherit;
  color: inherit;
}

.theme-page .theme-page-content h2,
.theme-page .theme-page-content .wp-block-heading.has-large-font-size {
  margin-top: 3rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-foreground);
}
.theme-page .theme-page-content > h2:first-child,
.theme-page .theme-page-content > .wp-block-heading:first-child {
  margin-top: 0;
}
@media (min-width: 768px) {
  .theme-page .theme-page-content h2,
  .theme-page .theme-page-content .wp-block-heading.has-large-font-size { font-size: 2rem; }
}

.theme-page .theme-page-content h3,
.theme-page .theme-page-content .wp-block-heading.has-medium-font-size {
  margin-top: 2.25rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-foreground);
}

.theme-page .theme-page-content h4 {
  margin-top: 1.75rem;
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
}

.theme-page .theme-page-content p,
.theme-page .theme-page-content .wp-block-paragraph {
  margin-top: 0;
  margin-bottom: 1.25rem;
}
.theme-page .theme-page-content p:last-child,
.theme-page .theme-page-content .wp-block-paragraph:last-child {
  margin-bottom: 0;
}

.theme-page .theme-page-content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, var(--color-primary) 35%, transparent);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.theme-page .theme-page-content a:hover {
  color: var(--color-accent);
  text-decoration-color: var(--color-accent);
}

.theme-page .theme-page-content ul,
.theme-page .theme-page-content ol,
.theme-page .theme-page-content .wp-block-list {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.theme-page .theme-page-content ul li,
.theme-page .theme-page-content ol li,
.theme-page .theme-page-content .wp-block-list li {
  position: relative;
  padding: 0.85rem 0 0.85rem 1.35rem;
  border-bottom: 1px solid color-mix(in srgb, var(--color-border) 70%, transparent);
}
.theme-page .theme-page-content ul li:last-child,
.theme-page .theme-page-content ol li:last-child,
.theme-page .theme-page-content .wp-block-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.theme-page .theme-page-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.35rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}
.theme-page .theme-page-content ol {
  counter-reset: theme-page-ol;
}
.theme-page .theme-page-content ol li {
  counter-increment: theme-page-ol;
  padding-left: 2rem;
}
.theme-page .theme-page-content ol li::before {
  content: counter(theme-page-ol, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.85rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  font-weight: 600;
}

.theme-page .theme-page-content ul li a,
.theme-page .theme-page-content ol li a,
.theme-page .theme-page-content .wp-block-list li a {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  line-height: 1.45;
  text-decoration: none;
  color: var(--color-foreground);
}
.theme-page .theme-page-content ul li a:hover,
.theme-page .theme-page-content ol li a:hover,
.theme-page .theme-page-content .wp-block-list li a:hover {
  color: var(--color-primary);
}

.theme-page .theme-page-content blockquote,
.theme-page .theme-page-content .wp-block-quote {
  margin: 2rem 0;
  padding: 1.5rem 1.75rem;
  border-left: 3px solid var(--color-accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: color-mix(in srgb, var(--color-secondary) 45%, transparent);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--color-foreground);
}

.theme-page .theme-page-content hr,
.theme-page .theme-page-content .wp-block-separator {
  margin: 2.5rem 0;
  border: none;
  border-top: 1px solid var(--color-border);
}

.theme-page .theme-page-content .wp-block-group,
.theme-page .theme-page-content .wp-block-columns {
  margin: 2rem 0;
}
.theme-page .theme-page-content .wp-block-group.is-style-card,
.theme-page .theme-page-content .wp-block-group.has-background {
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  background: color-mix(in srgb, var(--color-secondary) 40%, transparent);
}
.theme-page .theme-page-content .wp-block-columns {
  gap: 1.5rem;
}
@media (max-width: 781px) {
  .theme-page .theme-page-content .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column + .wp-block-column {
    margin-top: 1.5rem;
  }
}

.theme-page .theme-page-content img,
.theme-page .theme-page-content .wp-block-image img {
  position: static;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--card-radius);
  margin: 1.5rem 0;
}

.theme-page .theme-page-content .wp-block-buttons {
  margin: 2rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.theme-page .theme-page-content .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--btn-height);
  padding: var(--btn-padding);
  border-radius: var(--btn-radius);
  background: var(--color-primary);
  color: var(--color-primary-fg) !important;
  font-family: var(--font-body);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  text-decoration: none !important;
  transition: opacity 0.2s ease;
}
.theme-page .theme-page-content .wp-block-button__link:hover {
  opacity: 0.88;
  color: var(--color-primary-fg) !important;
}

.page-title { font-family: var(--font-display); font-weight: inherit; font-size: 2.5rem; margin-bottom: 2rem; }

/* =========================================================================
   Blog templates (index + single)
   ========================================================================= */
.theme-page-wrap { padding-block: 3rem 4rem; }
body.woocommerce-checkout .entry-content,
body.woocommerce-cart .entry-content,
body.woocommerce-account .entry-content {
  max-width: 100%;
  overflow-x: auto;
}
.blog-index {
  padding-block: 2.5rem 5rem;
}
@media (min-width: 768px) {
  .blog-index { padding-block: 3.5rem 6rem; }
}

.blog-index-header {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .blog-index-header { margin-bottom: 3.5rem; }
}
.blog-index-title {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.05;
  margin-top: 0.5rem;
}
@media (min-width: 768px) {
  .blog-index-title { font-size: 3.75rem; }
}
.blog-index-desc {
  margin-top: 1.25rem;
  max-width: 38rem;
  color: var(--color-muted-fg);
  line-height: 1.75;
  font-size: 1.0625rem;
}
.blog-index-empty {
  text-align: center;
  color: var(--color-muted-fg);
  padding: 3rem 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
}
@media (min-width: 640px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem;
  }
}
@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }
}

.blog-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--transition-smooth), box-shadow 0.35s var(--transition-smooth);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
}

.blog-card__image {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: color-mix(in srgb, var(--color-secondary) 70%, transparent);
}
.blog-card__image img {
  transition: transform 0.7s ease;
}
.blog-card:hover .blog-card__image img {
  transform: scale(1.05);
}
.blog-card__image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, color-mix(in srgb, var(--color-secondary) 80%, transparent), color-mix(in srgb, var(--color-accent) 25%, var(--color-secondary)));
}
.blog-card__placeholder-text {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--color-primary) 55%, transparent);
  line-height: 1;
}

.blog-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.35rem 1.5rem 1.5rem;
}
.blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}
.blog-card__date {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-muted-fg);
}
.blog-card__category {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary);
  background: color-mix(in srgb, var(--color-secondary) 65%, transparent);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}
.blog-card__title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  line-height: 1.2;
  margin-top: 0.75rem;
}
.blog-card__title a:hover {
  color: var(--color-primary);
}
.blog-card__excerpt {
  margin-top: 0.65rem;
  font-size: 0.9rem;
  color: var(--color-muted-fg);
  line-height: 1.65;
  flex: 1;
}
.blog-card__readmore {
  margin-top: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-primary);
}
.blog-card__readmore:hover {
  color: var(--color-accent);
}

/* Grid variants */
@media (min-width: 1024px) {
  .blog-card--feature {
    grid-column: span 2;
  }
  .blog-card--feature .blog-card__image {
    aspect-ratio: 21 / 9;
  }
  .blog-card--feature .blog-card__body {
    padding: 1.75rem 2rem 2rem;
  }
  .blog-card--feature .blog-card__title {
    font-size: 2rem;
  }
  .blog-card--feature .blog-card__excerpt {
    font-size: 1rem;
    max-width: 52rem;
  }

  .blog-card--horizontal {
    grid-column: span 2;
    flex-direction: row;
  }
  .blog-card--horizontal .blog-card__image {
    flex: 0 0 44%;
    aspect-ratio: auto;
    min-height: 100%;
  }
  .blog-card--horizontal .blog-card__body {
    justify-content: center;
    padding: 1.5rem 1.75rem;
  }
}

.blog-index-pagination {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}
.blog-index-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  min-height: 2.5rem;
  padding: 0 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  font-size: 0.875rem;
  color: var(--color-foreground);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.blog-index-pagination .page-numbers:hover {
  background: var(--color-secondary);
  border-color: color-mix(in srgb, var(--color-border) 60%, var(--color-primary));
}
.blog-index-pagination .page-numbers.current {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-primary-fg);
}
.blog-index-pagination .page-numbers.dots {
  border-color: transparent;
  min-width: auto;
  padding: 0 0.25rem;
}
.blog-index-pagination .page-numbers .theme-icon {
  width: 1rem;
  height: 1rem;
}

.blog-post-wrap {
  max-width: 48rem;
  margin-inline: auto;
  padding-block: 3rem 0;
}
.blog-post__date { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--color-muted-fg); }
.blog-post__title { font-family: var(--font-display); font-size: 2.5rem; line-height: 1.05; margin-top: 0.75rem; }
@media (min-width: 768px) { .blog-post__title { font-size: 3.5rem; } }
.blog-post__cover {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 1.5rem;
  overflow: hidden;
  margin: 2rem 0;
  background: var(--color-secondary);
}
/* cover-img is absolute — parent must be relative + aspect-ratio (above) */
.blog-post__cover .cover-img,
.blog-post__cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
}
.blog-post__content { display: flex; flex-direction: column; gap: 1.25rem; font-size: 1rem; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); }
@media (min-width: 768px) { .blog-post__content { font-size: 1.125rem; } }
.blog-post-related {
  max-width: 48rem;
  margin-inline: auto;
  margin-top: 4rem;
  padding-top: 2.5rem;
  padding-bottom: 4rem;
  border-top: 1px solid var(--color-border);
}
.blog-post-related h2 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 1.5rem; }
.blog-post-related__grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .blog-post-related__grid { grid-template-columns: 1fr 1fr; } }
.blog-post-related__item { display: block; min-width: 0; }
.blog-post-related__thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--color-secondary);
}
.blog-post-related__thumb .cover-img,
.blog-post-related__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
}
/* Legacy markup: cover-img as direct child of the link (no thumb wrapper) */
.blog-post-related__item > img.cover-img,
.blog-post-related__item > img.wp-post-image {
  position: static !important;
  inset: auto !important;
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 1rem;
  margin: 0;
}
.blog-post-related__item h3 { font-family: var(--font-display); font-size: 1.25rem; margin-top: 0.75rem; }
.blog-post-related__item:hover h3 { color: var(--color-primary); }
.blog-post-related__item p { font-size: 0.875rem; color: var(--color-muted-fg); margin-top: 0.25rem; }

.theme-back-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-fg); margin-bottom: 1.5rem; }
.theme-back-link:hover { color: var(--color-foreground); }

body.error404 .site-main { padding-top: 0; padding-bottom: 0; }
.theme-404 {
  display: flex;
  min-height: 100vh;
  min-height: 100dvh;
  align-items: center;
  justify-content: center;
  background: var(--color-muted);
  text-align: center;
  padding: 2rem var(--page-padding-x);
}
.theme-404__inner { animation: scaleIn 0.5s var(--transition-smooth) forwards; }
.theme-404__code { font-size: 2.25rem; font-weight: 700; margin-bottom: 1rem; }
.theme-404__text { font-size: 1.25rem; color: var(--color-muted-fg); margin-bottom: 1rem; }
.theme-404__link { color: var(--color-primary); text-decoration: underline; text-underline-offset: 4px; }
.theme-404__link:hover { color: color-mix(in srgb, var(--color-primary) 90%, transparent); }

/* =========================================================================
   WooCommerce — single product (Section 11)
   ========================================================================= */
.single-product-wrap { padding: 3rem 0 5rem; }
.single-product-back { margin-bottom: 1.5rem; }
.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; min-width: 0; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
.theme-product-thumb-main { position: relative; aspect-ratio: 3 / 4; background: var(--color-secondary); overflow: hidden; margin-bottom: 1rem; }
.theme-product-thumbnails { display: flex; flex-wrap: wrap; gap: 0.5rem; max-width: 100%; }
.theme-product-thumb { position: relative; width: 72px; height: 72px; overflow: hidden; border: 2px solid transparent; opacity: 0.6; transition: all 0.3s ease; border-radius: 0.5rem; }
.theme-product-thumb.is-active, .theme-product-thumb:hover { opacity: 1; border-color: var(--color-primary); }
.theme-product-category { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-fg); }
.theme-product-category a { color: inherit; }
.product-title { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; margin-top: 0.5rem; margin-bottom: 1rem; line-height: 1.15; }
@media (min-width: 768px) { .product-title { font-size: 1.875rem; } }
.theme-product-price { font-size: 1.5rem; font-weight: 600; margin-bottom: 1.5rem; }
.theme-stock-status--out { color: #b3261e; font-size: 0.875rem; font-weight: 600; margin-bottom: 1rem; }
.theme-product-description { color: var(--color-muted-fg); line-height: 1.7; margin-bottom: 2rem; overflow-wrap: break-word; word-break: break-word; }

.theme-add-to-cart-area { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.theme-quantity-wrapper { display: flex; align-items: center; border: 1px solid var(--color-border); border-radius: var(--btn-radius); overflow: hidden; }
.theme-qty-minus, .theme-qty-plus { padding: 0.75rem 1rem; transition: background 0.2s ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-input { width: 48px; text-align: center; border: none; background: transparent; -moz-appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
  background-color: var(--color-primary) !important;
  color: var(--color-primary-fg) !important;
  border: none !important;
  border-radius: var(--btn-radius) !important;
  min-height: var(--btn-height) !important;
  padding: var(--btn-padding) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: var(--font-body) !important;
  font-size: var(--btn-font-size) !important;
  font-weight: var(--btn-font-weight) !important;
  letter-spacing: var(--btn-letter-spacing) !important;
  text-transform: var(--btn-text-transform) !important;
  cursor: pointer !important;
  transition: opacity 0.2s ease !important;
  flex: 1 1 auto;
  min-width: 160px;
}
.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-primary-fg) !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;
}
.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; }

.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; }

.theme-product-details { border-top: 1px solid var(--color-border); padding-top: 2rem; }
.theme-product-details h3 { font-size: 0.9rem; font-weight: 600; margin-bottom: 1rem; }
.theme-product-details__content ul { display: flex; flex-direction: column; gap: 0.5rem; }
.theme-product-details__content li { font-size: 0.875rem; color: var(--color-muted-fg); position: relative; padding-left: 1.25rem; }
.theme-product-details__content li::before { content: ''; position: absolute; left: 0; top: 0.5em; width: 6px; height: 6px; border-radius: 999px; background: var(--color-primary); }

.related-products-section { margin-top: 5rem; padding-top: 5rem; border-top: 1px solid var(--color-border); }
.related-products-section .theme-product-card-wrap.reveal { opacity: 1; transform: none; }
.related-products-heading { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .related-products-heading { font-size: 1.5rem; } }

/* Variable products */
.single-product form.theme-variable-form table.variations,
.single-product form.variations_form table.variations { display: none; }
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody td.label { padding-bottom: 0.25rem; font-weight: 600; }
.single-product .variations tbody td.value { padding-top: 0; margin-bottom: 1rem; }
.theme-attr-select-hidden { display: none !important; }
.theme-attribute-pills { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 1.5rem; }
.theme-attribute-pills__group-label { font-size: 0.875rem; font-weight: 600; margin-bottom: 0.75rem; font-family: var(--font-body); }
.theme-attribute-pills__list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-attribute-pill {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-family: var(--font-body);
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-foreground);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.theme-attribute-pill:hover { border-color: color-mix(in srgb, var(--color-primary) 50%, transparent); }
.theme-attribute-pill.is-active {
  border-color: var(--color-primary);
  background: color-mix(in srgb, var(--color-primary) 5%, transparent);
}
.single_variation_wrap { margin-top: 1rem; }

/* Card compact button variant (not used by default cards, kept for extensibility) */
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
  min-height: unset !important;
  padding: var(--btn-icon-padding) !important;
  border-radius: 50% !important;
}

/* WooCommerce notices — scoped visibility (Section 14.1) */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  border-radius: 0.75rem;
  padding: 1rem 1.5rem;
  font-size: 0.9rem;
  background: var(--color-secondary);
  border: 1px solid var(--color-border);
  margin-bottom: 1.5rem;
  list-style: none;
}
.woocommerce-error { border-color: #b3261e; color: #b3261e; }

/* =========================================================================
   WooCommerce — shop archive
   ========================================================================= */
.shop-archive-section { padding-block: 3rem 5rem; }
.shop-heading { font-family: var(--font-display); font-size: 2.25rem; margin-bottom: 2rem; }

/* =========================================================================
   Side cart drawer (Section 12)
   ========================================================================= */
#theme-cart-overlay {
  position: fixed; inset: 0;
  background: rgba(34,28,21,0.2);
  z-index: 90;
  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: var(--color-background);
  z-index: 91;
  box-shadow: var(--shadow-elevated);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s var(--transition-smooth);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }

.theme-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--color-border); }
.theme-cart-drawer__header h2 { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; }
.theme-cart-drawer__close { padding: 0.25rem; }
.theme-cart-drawer__close:hover { opacity: 0.6; }
.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 .theme-icon { width: 3rem; height: 3rem; color: var(--color-muted-fg); margin-bottom: 1rem; }
.theme-cart-drawer__empty p { color: var(--color-muted-fg); margin-bottom: 1.5rem; }
.theme-cart-drawer__items { flex: 1; overflow-y: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item__image { position: relative; width: 5rem; height: 6rem; background: var(--color-secondary); overflow: hidden; flex-shrink: 0; border-radius: 0.5rem; }
.theme-cart-item__image img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-item__info { flex: 1; min-width: 0; }
.theme-cart-item__name { font-size: 0.875rem; font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-cart-item__price { font-size: 0.875rem; color: var(--color-muted-fg); margin-top: 0.125rem; }
.theme-cart-item__variation { font-size: 0.75rem; color: var(--color-muted-fg); margin-top: 0.25rem; }
.theme-cart-item__controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-qty-btn { padding: 0.25rem; border-radius: 0.25rem; transition: background 0.2s ease; }
.theme-qty-btn:hover { background: var(--color-secondary); }
.theme-qty-btn .theme-icon { width: 0.75rem; height: 0.75rem; }
.theme-cart-item__qty { font-size: 0.875rem; width: 1.5rem; text-align: center; }
.theme-cart-item__remove { margin-left: auto; font-size: 0.75rem; color: var(--color-muted-fg); }
.theme-cart-item__remove:hover { color: var(--color-foreground); }
.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 0.875rem; }
.theme-cart-drawer__shipping-note { font-size: 0.75rem; color: var(--color-muted-fg); }

/* =========================================================================
   WooCommerce Checkout Block (Section 13)
   ========================================================================= */
body.woocommerce-checkout .site-main { padding-top: var(--header-height, 88px); padding-bottom: 4rem; }
body.woocommerce-checkout .entry-content { max-width: 100%; }

body.woocommerce-checkout .wc-block-checkout { display: block; }

@media (min-width: 768px) {
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
  body.woocommerce-checkout .wc-block-checkout__main-and-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--checkout-gap);
    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;
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
  background-color: var(--color-secondary);
  border-radius: var(--card-radius);
  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 {
  width: 100% !important;
  max-width: none !important;
  font-family: var(--font-body);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  background-color: var(--color-background);
  padding: revert;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
  outline: none;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-accent) 50%, transparent);
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  background-color: var(--color-primary) !important;
  color: var(--color-primary-fg) !important;
  border-radius: var(--btn-radius) !important;
  font-family: var(--font-body) !important;
  text-transform: none !important;
}
body.woocommerce-checkout .wc-block-components-notice-banner {
  border-radius: 0.75rem;
  font-family: var(--font-body);
}
body.woocommerce-checkout .wc-block-cart-items { font-family: var(--font-body); }

.woocommerce-checkout .form-row .input-text,
.woocommerce-checkout .form-row select {
  font-family: var(--font-body);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  background-color: var(--color-background);
}

/* Cart / My Account page width parity (Section 13.7) */
body.woocommerce-cart .site-main .container-wide,
body.woocommerce-account .site-main .container-wide,
body.theme-thankyou-page .container-wide {
  max-width: var(--container-max);
}

/* =========================================================================
   Thank-you page (Section 22.8)
   ========================================================================= */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .theme-thankyou-content { padding-block: 3rem 5rem; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  padding: 0 0 1rem 0;
  display: block;
}
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 {
  border-right: none; padding: 0.75rem 1.25rem;
  background: var(--color-secondary); border-radius: 0.75rem;
}
body.theme-thankyou-page .woocommerce-order-details table {
  width: 100%; table-layout: fixed; border-collapse: collapse; margin: 1.5rem 0;
}
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td {
  padding: 0.75rem; border-bottom: 1px solid var(--color-border);
}
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .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;
}
