/* =====================================================================
   Kreations 4 Karla — theme.css
   Single source of truth for all visual styling (Section 10 / 15.1).
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. TOKENS
   ------------------------------------------------------------------- */
:root {
  --color-background: #faf5f0;
  --color-foreground: #342239;
  --color-primary: #53315e;
  --color-primary-foreground: #faf5f0;
  --color-accent: #e46b25;
  --color-accent-foreground: #faf5f0;
  --color-marigold: #e46b25;
  --color-butter: #f4ebe1;
  --color-border: #dbd1c7;
  --color-rosa: #ea8696;
  --color-teal: #42947b;
  --color-lilac: #517ecd;
  --color-nopal: #53315e;
  --color-muted-foreground: #67556d;
  --color-secondary: #eee6dd;
  --color-destructive: #bd2828;
  --color-button-text: var(--color-primary-foreground);

  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;

  --radius: 0.75rem;
  --card-radius: 1rem;
  --shadow-soft: 0 4px 20px -4px rgb(52 34 57 / 0.08);
  --shadow-elevated: 0 8px 40px -8px rgb(52 34 57 / 0.16);
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  --logo-height: 44px;
  --header-height: 80px;

  --btn-radius: 9999px;
  --btn-height: 44px;
  --btn-padding: 0 1.75rem;
  --btn-font-size: 12px;
  --btn-font-weight: 600;
  --btn-letter-spacing: 0.22em;
  --btn-text-transform: uppercase;

  --checkout-gap: 2rem;
  --checkout-max-width: 1280px;
}

/* ---------------------------------------------------------------------
   2. RESET / BASE
   ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html, body { max-width: 100%; overflow-x: clip; }
body { overflow-wrap: break-word; }

body {
  background-color: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  margin: 0;
  line-height: 1.5;
}

img, video { max-width: 100%; display: block; }
img:not(.cover-img):not(.hero-bg-img):not(.product-card-img):not(.theme-brand-wordmark__mark):not(.site-logo-img):not(.theme-product-detail-img):not(.theme-related-card__image) {
  max-width: 100%;
  height: auto;
}
.cover-img, .hero-bg-img, .product-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: inherit;
  font-size: inherit;
  letter-spacing: -0.015em;
  margin: 0;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font-family: inherit; background: none; border: none; cursor: pointer; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

.theme-collection-tile,
.theme-product-card,
.theme-footer__link-btn,
.theme-contact-trigger,
.theme-story-section__cta,
[data-scroll-to],
[data-contact-open],
[data-cart-open],
[data-section-anchor],
summary {
  cursor: pointer;
}

@media screen {
  body.admin-bar .site-header {
    top: 32px;
  }
}
@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

.single-product .single_add_to_cart_button,
.theme-btn-hero-primary,
.btn-hero-primary,
.theme-btn-hero-outline,
.btn-hero-outline {
  text-transform: none;
}

.product-title,
.variations label {
  font-family: var(--font-body);
  font-weight: 600;
  font-style: normal;
}
.single-product-main .theme-product-info__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: normal;
}

/* ---------------------------------------------------------------------
   3. LAYOUT UTILITIES
   ------------------------------------------------------------------- */
.container-wide {
  width: 100%;
  max-width: 80rem; /* 7xl */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  min-width: 0;
}
@media (min-width: 1024px) {
  .container-wide { padding-left: 2rem; padding-right: 2rem; }
}

.container-edge {
  width: 100%;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
@media (min-width: 1024px) {
  .container-edge { padding-left: 2.5rem; padding-right: 2.5rem; }
}

.link-underline { position: relative; display: inline-block; }
.link-underline::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.3s var(--transition-smooth);
}
button:hover .link-underline::after,
a:hover .link-underline::after { transform: scaleX(1); }

.scroll-mt-24 { scroll-margin-top: 6rem; }

/* ---------------------------------------------------------------------
   4. ANIMATIONS / REVEALS (Section 2.1)
   ------------------------------------------------------------------- */
@keyframes k4k-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes k4k-slide-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes k4k-fade-up { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: translateY(0); } }
@keyframes k4k-scale-in { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: scale(1); } }

.animate-fade-in { animation: k4k-fade-in 0.6s var(--transition-smooth) forwards; }
.animate-slide-up { animation: k4k-slide-up 0.6s var(--transition-smooth) forwards; }

.reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
}
.reveal-item[data-reveal="scale-in"] { transform: scale(0.97); }
.reveal-item.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-item[data-reveal-delay="1"] { transition-delay: 0.08s; }
.reveal-item[data-reveal-delay="2"] { transition-delay: 0.16s; }
.reveal-item[data-reveal-delay="3"] { transition-delay: 0.24s; }
.reveal-item[data-reveal-delay="4"] { transition-delay: 0.32s; }
.reveal-item[data-reveal-delay="5"] { transition-delay: 0.4s; }

/* Customizer preview / no-JS fallback: content must never be stuck hidden. */
body.is-customizer .reveal-item,
.no-js .reveal-item {
  opacity: 1 !important;
  transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-item, .animate-fade-in, .animate-slide-up {
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------------------------------------------------------------------
   5. BUTTONS
   ------------------------------------------------------------------- */
.theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--btn-radius);
  min-height: var(--btn-height);
  padding: var(--btn-padding);
  font-family: var(--font-body);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  letter-spacing: var(--btn-letter-spacing);
  text-transform: var(--btn-text-transform);
  border: 1px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.theme-btn-primary { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }
.theme-btn-primary:hover { background: var(--color-background); color: var(--color-primary); }
.theme-btn-outline { background: transparent; color: var(--color-foreground); border-color: color-mix(in srgb, var(--color-foreground) 40%, transparent); }
.theme-btn-outline:hover { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }
.theme-btn-inverse { background: var(--color-background); color: var(--color-foreground); }
.theme-btn-inverse:hover { background: var(--color-foreground); color: var(--color-background); }
.theme-btn-block { width: 100%; }
.theme-btn-sm { min-height: 36px; font-size: 11px; }
.theme-btn-lg { min-height: 48px; padding: 0 2.5rem; }

.theme-btn-hero-primary, .btn-hero-primary {
  background: var(--color-accent);
  color: var(--color-accent-foreground);
  min-height: var(--btn-height);
  padding: 0 2.5rem;
  border-radius: var(--btn-radius);
  font-size: 11px;
  letter-spacing: 0.28em;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.theme-btn-hero-primary:hover, .btn-hero-primary:hover { background: color-mix(in srgb, var(--color-accent) 90%, black); }

.theme-btn-hero-outline, .btn-hero-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--btn-radius);
  border: 1px solid color-mix(in srgb, var(--color-background) 80%, transparent);
  color: var(--color-background);
  padding: 0 2rem;
  min-height: var(--btn-height);
  font-size: 11px;
  letter-spacing: 0.28em;
  font-weight: 600;
  transition: all 0.2s ease;
}
.theme-btn-hero-outline:hover, .btn-hero-outline:hover {
  background: color-mix(in srgb, var(--color-background) 15%, transparent);
  border-color: var(--color-background);
}

.theme-btn-cta-outline {
  display: inline-flex;
  align-items: center;
  border-radius: var(--btn-radius);
  padding: 0 1.75rem;
  min-height: var(--btn-height);
  font-size: 12px;
  letter-spacing: 0.22em;
  font-weight: 600;
  color: var(--color-accent-foreground);
  border: 1px solid color-mix(in srgb, var(--color-accent-foreground) 70%, transparent);
  transition: all 0.2s ease;
}
.theme-btn-cta-outline:hover {
  border-color: var(--color-accent-foreground);
  background: color-mix(in srgb, var(--color-accent-foreground) 10%, transparent);
}

/* ---------------------------------------------------------------------
   6. HEADER
   ------------------------------------------------------------------- */
.theme-announcement-bar {
  position: relative;
  background: var(--color-primary);
  color: var(--color-primary-foreground);
}
.theme-announcement-bar__inner { padding: 0.5rem 2.5rem; text-align: center; }
.theme-announcement-bar__text { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; }
.theme-announcement-bar__close {
  position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%);
  padding: 0.25rem; opacity: 0.7;
}
.theme-announcement-bar__close:hover { opacity: 1; }

.site-header {
  position: sticky; top: 0; left: 0; right: 0; z-index: 50; width: 100%;
  background: var(--color-background);
  border-bottom: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
  transition: all 0.3s ease;
}
.site-header.is-solid,
.site-header.is-scrolled,
body.mobile-menu-open .site-header {
  background: color-mix(in srgb, var(--color-background) 95%, transparent);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.04);
}
.site-header__nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; height: 64px; min-width: 0;
}
@media (min-width: 768px) { .site-header__nav { height: 96px; } }

.site-header__brand { display: flex; align-items: center; gap: 0.75rem; min-width: 0; flex-shrink: 0; }
.site-header__mark {
  border-radius: 999px; object-fit: cover; flex-shrink: 0;
  box-shadow: 0 0 0 1px var(--color-border);
  height: 2.25rem; width: 2.25rem;
}
@media (min-width: 768px) { .site-header__mark { height: 2.75rem; width: 2.75rem; } }
.site-header__wordmark { display: none; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 640px) { .site-header__wordmark { display: inline-flex; } }

.theme-brand-wordmark--header {
  font-size: 1rem;
  color: var(--color-foreground);
  flex-wrap: nowrap;
}
@media (min-width: 768px) { .theme-brand-wordmark--header { font-size: 1.25rem; } }
@media (min-width: 1024px) { .theme-brand-wordmark--header { font-size: 1.5rem; } }
.theme-brand-wordmark--header .theme-brand-wordmark__mark { height: 1.1em; }

.theme-nav-collections { position: relative; }
.theme-nav-collections::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 0.5rem;
}
.theme-nav-collections__toggle {
  display: inline-flex; align-items: center; gap: 0.25rem;
  background: none; border: 0; padding: 0; cursor: pointer;
}
.theme-nav-collections__chevron { transition: transform 0.2s ease; }
.theme-nav-collections.is-open .theme-nav-collections__chevron { transform: rotate(180deg); }
.theme-nav-collections__menu {
  position: absolute; top: calc(100% + 0.5rem); right: 0;
  width: 16rem; max-width: calc(100vw - 2rem);
  background: var(--color-background);
  border: 1px solid color-mix(in srgb, var(--color-border) 70%, transparent);
  border-radius: 0.75rem;
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.08);
  padding: 0.5rem 0; z-index: 60;
}
.theme-nav-collections__menu[hidden] { display: none; }
.theme-nav-collections__item {
  display: block; width: 100%; padding: 0.625rem 1rem;
  font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent);
  transition: background 0.2s ease, color 0.2s ease;
}
.theme-nav-collections__item:hover {
  background: color-mix(in srgb, var(--color-secondary) 60%, transparent);
  color: var(--color-foreground);
}

.site-header__desktop-nav { display: none; align-items: center; gap: 1.75rem; flex-shrink: 0; }
@media (min-width: 1280px) { .site-header__desktop-nav { gap: 2.25rem; } }
@media (min-width: 1024px) { .site-header__desktop-nav { display: flex; } }
.theme-nav-list { display: flex; align-items: center; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 1280px) { .theme-nav-list { gap: 2.25rem; } }
.theme-nav-link, .theme-nav-list a {
  font-size: 13px; font-weight: 500; letter-spacing: 0.01em;
  color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
  white-space: nowrap; transition: color 0.2s ease;
}
.theme-nav-link:hover, .theme-nav-list a:hover { color: var(--color-foreground); }

.site-header__icons { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
@media (min-width: 768px) { .site-header__icons { gap: 0.75rem; } }
.theme-cart-button {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--color-foreground) 30%, transparent);
  transition: all 0.2s ease;
}
.theme-cart-button:hover { border-color: var(--color-foreground); background: var(--color-foreground); color: var(--color-background); }
.theme-cart-count {
  position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 4px;
  background: var(--color-accent); color: var(--color-accent-foreground);
  border-radius: 999px; font-size: 10px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.theme-cart-count:empty { display: none; }

.theme-mobile-toggle { display: inline-flex; padding: 0.5rem; }
@media (min-width: 1024px) { .theme-mobile-toggle { display: none; } }
.theme-mobile-toggle__close { display: none; }
body.mobile-menu-open .theme-mobile-toggle__open { display: none; }
body.mobile-menu-open .theme-mobile-toggle__close { display: inline-flex; }

.theme-mobile-menu {
  display: none;
  border-top: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
  padding: 1rem 0;
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
  animation: k4k-fade-in 0.25s ease;
}
@media (min-width: 1024px) { .theme-mobile-menu { display: none !important; } }
body.mobile-menu-open .theme-mobile-menu {
  display: block;
}

.theme-mobile-menu__inner {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.theme-mobile-menu__list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.theme-mobile-menu__link,
.theme-mobile-menu__list a,
.theme-mobile-menu a {
  display: block;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  padding: 0.75rem 0.5rem;
  border-radius: 0.375rem;
  color: var(--color-foreground);
  border: none;
  background: transparent;
  cursor: pointer;
}

.theme-mobile-menu__accordion-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.theme-mobile-menu__chevron {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.theme-mobile-menu__accordion-toggle[aria-expanded="true"] .theme-mobile-menu__chevron {
  transform: rotate(180deg);
}

.theme-mobile-menu__collections {
  border-top: 1px solid color-mix(in srgb, var(--color-border) 40%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--color-border) 40%, transparent);
  margin: 0.25rem 0;
}

.theme-mobile-menu__sublist[hidden] {
  display: none !important;
}

.theme-mobile-menu__sublist:not([hidden]) {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0 0 0.5rem 1rem;
}

.theme-mobile-menu .sub-menu {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0 0 0.5rem 1rem;
}

.theme-mobile-menu .sub-menu.is-open {
  display: flex;
}

.theme-mobile-menu__sublink {
  display: block;
  text-align: left;
  font-family: var(--font-body);
  font-size: 14px;
  padding: 0.5rem 0.5rem;
  border-radius: 0.375rem;
  color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
}

.theme-mobile-menu__link:hover,
.theme-mobile-menu__list a:hover,
.theme-mobile-menu a:hover,
.theme-mobile-menu__sublink:hover {
  background: color-mix(in srgb, var(--color-secondary) 50%, transparent);
  color: var(--color-foreground);
}

/* Prevent desktop nav list styles from leaking into the mobile panel. */
.theme-mobile-menu .theme-nav-list {
  flex-direction: column;
  align-items: stretch;
  gap: 0.25rem;
}

.theme-mobile-menu .theme-nav-link {
  white-space: normal;
}

.site-logo-img { height: var(--logo-height) !important; width: auto !important; display: block; }
.site-header__mark.site-logo-img {
  height: 2.25rem !important;
  width: 2.25rem !important;
}
@media (min-width: 768px) {
  .site-header__mark.site-logo-img {
    height: 2.75rem !important;
    width: 2.75rem !important;
  }
}
.site-logo-text { line-height: var(--logo-height); display: block; font-family: var(--font-display); font-style: italic; }

/* Home hero fills viewport under the fixed transparent header. */
body:not(.theme-no-hero) .site-main { padding-top: 0; }
body.theme-no-hero .site-main,
body.theme-no-hero .woocommerce-archive-main { padding-top: 2rem; }
body.theme-no-hero .single-product-main {
  padding-top: 5rem !important;
  padding-bottom: 0;
}
@media (min-width: 1024px) {
  body.theme-no-hero .single-product-main { padding-top: 6rem !important; }
}

/* ---------------------------------------------------------------------
   7. SECTION HEADS / TYPOGRAPHY SCALE (Section 2.2)
   ------------------------------------------------------------------- */
.theme-eyebrow {
  display: block; font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--color-accent); font-weight: 600; margin-bottom: 0.75rem;
}
.theme-section-head--center { text-align: center; }
.theme-section-subtitle { color: color-mix(in srgb, var(--color-foreground) 70%, transparent); max-width: 36rem; margin: 0 auto; }

.section-heading, .theme-featured-section__title { font-style: normal; font-weight: 400; font-size: 1.875rem; line-height: 1.15; margin-bottom: 1rem; }
@media (min-width: 768px) { .section-heading, .theme-featured-section__title { font-size: 3rem; } }

.theme-collections-section__title { font-size: 1.875rem; }
@media (min-width: 768px) { .theme-collections-section__title { font-size: 3rem; } }

.theme-story-section__title { font-size: 1.875rem; font-style: italic; line-height: 1.08; max-width: 42rem; }
@media (min-width: 768px) { .theme-story-section__title { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-story-section__title { font-size: 3.5rem; } }

.theme-services-section__title { font-size: 2.25rem; }
@media (min-width: 768px) { .theme-services-section__title { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-services-section__title { font-size: 3.75rem; } }

.theme-shop-section__title { font-size: 1.875rem; }
@media (min-width: 768px) { .theme-shop-section__title { font-size: 3rem; } }

.theme-faq-section__title { font-size: 1.875rem; }
@media (min-width: 768px) { .theme-faq-section__title { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-faq-section__title { font-size: 3.75rem; } }

.theme-owner-section__title { font-size: 2.25rem; line-height: 1.2; margin-bottom: 1.75rem; }
@media (min-width: 768px) { .theme-owner-section__title { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-owner-section__title { font-size: 3.75rem; } }

.theme-contact-cta__title { font-size: 2.25rem; line-height: 1.2; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .theme-contact-cta__title { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-contact-cta__title { font-size: 3.75rem; } }

.theme-section { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .theme-section { padding-top: 5rem; padding-bottom: 5rem; } }
.theme-section-head { margin-bottom: 3rem; }

/* ---------------------------------------------------------------------
   8. HERO
   ------------------------------------------------------------------- */
.theme-hero { background: var(--color-background); }
.theme-hero__media {
  position: relative; width: 100%; min-height: calc(100vh - 4rem); overflow: hidden;
}
@media (min-width: 768px) { .theme-hero__media { min-height: calc(100vh - 5rem); } }
.theme-hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    color-mix(in srgb, var(--color-foreground) 40%, transparent) 0%,
    color-mix(in srgb, var(--color-foreground) 30%, transparent) 45%,
    color-mix(in srgb, var(--color-foreground) 70%, transparent) 100%);
}
.theme-hero__content {
  position: relative; min-height: calc(100vh - 4rem);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 6rem 0.5rem;
}
@media (min-width: 768px) { .theme-hero__content { min-height: calc(100vh - 5rem); } }

.theme-hero__wordmark { margin-bottom: 2rem; }

.theme-brand-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.18em;
  font-family: var(--font-display);
  font-style: italic;
  line-height: 1;
  flex-wrap: wrap;
  justify-content: center;
}

.theme-brand-wordmark--hero {
  font-size: clamp(1.6rem, 6vw, 4rem);
  color: var(--color-background);
  filter: drop-shadow(0 2px 12px rgb(0 0 0 / 0.55));
}

.theme-brand-wordmark__mark {
  height: 1.05em;
  width: auto;
  max-width: none;
  object-fit: contain;
  flex-shrink: 0;
}

.theme-brand-wordmark__jewelry { margin-left: 0.28em; }
.theme-hero__title {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  color: var(--color-background); line-height: 0.98; letter-spacing: -0.015em;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  filter: drop-shadow(0 4px 16px rgb(0 0 0 / 0.35));
  max-width: 100%;
  overflow-wrap: break-word;
}
.theme-hero__subtitle {
  margin-top: 1.5rem; max-width: 42rem; color: color-mix(in srgb, var(--color-background) 95%, transparent);
  font-size: 1rem; line-height: 1.7;
}
@media (min-width: 768px) { .theme-hero__subtitle { font-size: 1.125rem; } }
.theme-hero__actions { margin-top: 2.5rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; }
@media (min-width: 640px) { .theme-hero__actions { flex-direction: row; } }

/* ---------------------------------------------------------------------
   9. FEATURED / QUOTE BLOCK
   ------------------------------------------------------------------- */

.theme-quote-block {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--color-butter);
  border-radius: 1.5rem;
  padding: 1.5rem;
}
@media (min-width: 768px) {
  .theme-quote-block {
    margin-top: 6rem;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 3rem;
    padding: 2.5rem;
  }
}
@media (min-width: 1024px) {
  .theme-quote-block { padding: 3.5rem; }
}

.theme-quote-block__image-col { min-width: 0; }
@media (min-width: 768px) {
  .theme-quote-block__image-col { grid-column: span 4; }
}

.theme-quote-block__copy { min-width: 0; text-align: left; }
@media (min-width: 768px) {
  .theme-quote-block__copy { grid-column: span 8; }
}

.theme-quote-block__frame {
  position: relative;
  aspect-ratio: 3 / 4;
  width: 100%;
  max-width: 20rem;
  margin: 0 auto;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
}
@media (min-width: 768px) {
  .theme-quote-block__frame { margin: 0; }
}

.theme-quote-block__frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.theme-quote-block__label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
}
.theme-quote-block__label::before {
  content: '';
  width: 2rem;
  height: 1px;
  background: color-mix(in srgb, var(--color-accent) 70%, transparent);
}

.theme-quote-block__quote {
  margin: 0 0 1.75rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.375;
  color: var(--color-foreground);
}
@media (min-width: 768px) {
  .theme-quote-block__quote { font-size: 1.875rem; }
}
@media (min-width: 1024px) {
  .theme-quote-block__quote { font-size: 2.25rem; }
}

.theme-quote-block__paragraphs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 42rem;
}
.theme-quote-block__paragraphs p {
  color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
  line-height: 1.625;
}
.theme-quote-block__footer {
  margin-top: 1.5rem;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-muted-foreground);
}

/* ---------------------------------------------------------------------
   10. COLLECTIONS GRID
   ------------------------------------------------------------------- */
.theme-collections-section { background: var(--color-butter); }
.theme-collections-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 640px) { .theme-collections-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
@media (min-width: 1024px) { .theme-collections-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.theme-collection-tile { display: block; }
.theme-collection-tile__image {
  position: relative; aspect-ratio: 1 / 1; background: var(--color-secondary);
  border-radius: 1rem; overflow: hidden; margin-bottom: 1rem;
}
.theme-collection-tile__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--transition-smooth);
}
.theme-collection-tile:hover .theme-collection-tile__image img { transform: scale(1.05); }
.theme-collection-tile__title { font-family: var(--font-display); font-size: 1rem; text-align: center; transition: opacity 0.3s ease; }
@media (min-width: 768px) { .theme-collection-tile__title { font-size: 1.125rem; } }
.theme-collection-tile:hover .theme-collection-tile__title { opacity: 0.8; }
.theme-collection-tile__butterfly { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-muted-foreground); text-align: center; margin-top: 0.25rem; }

/* ---------------------------------------------------------------------
   11. OUR STORY
   ------------------------------------------------------------------- */
.theme-story-section { position: relative; overflow: hidden; padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 1024px) { .theme-story-section { padding-top: 9rem; padding-bottom: 9rem; } }
.theme-story-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .theme-story-section__grid { grid-template-columns: 7fr 5fr; gap: 4rem; } }
.theme-story-section__accent { font-style: normal; color: var(--color-accent); }
.theme-story-section__rule { margin-top: 2rem; width: 3.5rem; height: 1px; background: color-mix(in srgb, var(--color-foreground) 20%, transparent); }
.theme-story-section__paragraphs { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.5rem; max-width: 36rem; }
.theme-story-section__paragraphs p { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.85; }
.theme-story-section__cta {
  margin-top: 3rem; display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; font-family: var(--font-display); font-weight: 500;
}
.theme-story-section__cta span[aria-hidden] { transition: transform 0.3s ease; }
.theme-story-section__cta:hover span[aria-hidden] { transform: translateX(4px); }
.theme-story-section__frame {
  position: relative; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px;
  box-shadow: var(--shadow-elevated); outline: 1px solid color-mix(in srgb, var(--color-accent) 15%, transparent);
}
@media (min-width: 1024px) { .theme-story-section__frame { aspect-ratio: 3 / 4; } }
.theme-story-section__frame video,
.theme-story-section__frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.theme-story-section__frame-scrim {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    color-mix(in srgb, var(--color-background) 18%, transparent) 0%,
    transparent 18%,
    transparent 78%,
    color-mix(in srgb, var(--color-background) 28%, transparent) 100%
  );
}
.theme-story-section__frame-caption {
  position: absolute; bottom: 1.25rem; left: 1.25rem; z-index: 2;
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: color-mix(in srgb, var(--color-background) 90%, transparent);
}

/* ---------------------------------------------------------------------
   12. OWNER
   ------------------------------------------------------------------- */
.theme-owner-section { background: var(--color-primary); color: var(--color-primary-foreground); }
.theme-owner-section__grid { display: grid; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 1024px) { .theme-owner-section__grid { grid-template-columns: 1fr 1fr; } }
.theme-owner-section__media { position: relative; min-height: 360px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; }
@media (min-width: 768px) { .theme-owner-section__media { min-height: 480px; } }
@media (min-width: 1024px) { .theme-owner-section__media { min-height: 600px; } }
.theme-owner-section__media img { position: static; width: 100%; height: 100%; object-fit: cover; }
.theme-owner-section__media-scrim { position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--color-primary) 50%, transparent), transparent 60%); pointer-events: none; }
.theme-owner-section__media-caption { position: absolute; bottom: 1.5rem; left: 1.5rem; right: 1.5rem; }
.theme-owner-section__name { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; }
@media (min-width: 768px) { .theme-owner-section__name { font-size: 1.875rem; } }
.theme-owner-section__role { margin-top: 0.25rem; font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; }
.theme-owner-section__copy { display: flex; align-items: center; background: var(--color-background); color: var(--color-foreground); padding: 4rem 1.5rem; }
@media (min-width: 768px) { .theme-owner-section__copy { padding: 6rem 3.5rem; } }
@media (min-width: 1280px) { .theme-owner-section__copy { padding: 6rem 6rem; } }
.theme-owner-section__copy-inner { max-width: 36rem; }
.theme-owner-section__quote { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); line-height: 1.3; margin-bottom: 2rem; }
@media (min-width: 768px) { .theme-owner-section__quote { font-size: 1.5rem; } }
.theme-owner-section__paragraph { color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.625; margin-bottom: 1.25rem; }
.theme-owner-section__paragraph:last-child { margin-bottom: 0; }
.theme-owner-section__contact-link { text-decoration: underline; text-underline-offset: 4px; color: inherit; }
.theme-owner-section__contact-link:hover { opacity: 0.85; }

/* ---------------------------------------------------------------------
   13. SERVICES GRID
   ------------------------------------------------------------------- */
.theme-services-section { background: var(--color-butter); padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 768px) { .theme-services-section { padding-top: 7rem; padding-bottom: 7rem; } }
.theme-services-section .theme-section-head { margin-bottom: 4rem; }
.theme-services-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; max-width: 80rem; margin: 0 auto; }
@media (min-width: 640px) { .theme-services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .theme-services-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2rem; } }
.theme-service-card {
  display: flex; flex-direction: column; text-align: center; background: var(--color-background);
  border-radius: 1rem; padding: 1.75rem; border: 1px solid color-mix(in srgb, var(--color-foreground) 5%, transparent);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.theme-service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px -15px rgb(0 0 0 / 0.15); }
.theme-service-card__icon { display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; }
.theme-service-card__icon svg { width: 2.5rem; height: 2.5rem; }
.theme-service-card__icon--1, .theme-service-card__icon--5 { color: var(--color-accent); }
.theme-service-card__icon--2 { color: var(--color-primary); }
.theme-service-card__icon--3 { color: var(--color-lilac); }
.theme-service-card__icon--4 { color: var(--color-teal); }
.theme-service-card__title { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 600; margin-bottom: 0.75rem; font-family: var(--font-body); }
.theme-service-card__description { font-size: 14px; color: var(--color-muted-foreground); line-height: 1.6; }

/* ---------------------------------------------------------------------
   14. SHOP SECTION + PRODUCT CARDS
   ------------------------------------------------------------------- */
.theme-shop-search { position: relative; max-width: 28rem; margin: 0 auto 2rem; }
.theme-shop-search svg { position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: var(--color-muted-foreground); }
.theme-shop-search__input {
  width: 100%; padding: 0.5rem 0 0.5rem 1.75rem; background: transparent; border: none;
  border-bottom: 1px solid var(--color-border); border-radius: 0; font-size: 1rem;
}
.theme-shop-search__input:focus { outline: none; border-color: var(--color-foreground); }

.theme-shop-filters-wrap,
.theme-faq-tabs-wrap {
  max-width: 100%;
}
.theme-shop-filters-wrap { margin-bottom: 1rem; }
.theme-faq-tabs-wrap { margin-bottom: 2.5rem; }
.theme-shop-filters-scroll,
.theme-faq-tabs-scroll {
  position: relative;
  max-width: 100%;
}
.theme-shop-filters-scroll::before,
.theme-shop-filters-scroll::after,
.theme-faq-tabs-scroll::before,
.theme-faq-tabs-scroll::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2rem;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.theme-shop-filters-scroll::before,
.theme-faq-tabs-scroll::before {
  left: 0;
  background: linear-gradient(to right, var(--color-background), transparent);
}
.theme-shop-filters-scroll::after,
.theme-faq-tabs-scroll::after {
  right: 0;
  background: linear-gradient(to left, var(--color-background), transparent);
}
@media (max-width: 767px) {
  .theme-shop-filters-wrap.has-overflow:not(.is-at-end) .theme-shop-filters-scroll::after,
  .theme-faq-tabs-wrap.has-overflow:not(.is-at-end) .theme-faq-tabs-scroll::after {
    opacity: 1;
  }
  .theme-shop-filters-wrap.has-overflow:not(.is-at-start) .theme-shop-filters-scroll::before,
  .theme-faq-tabs-wrap.has-overflow:not(.is-at-start) .theme-faq-tabs-scroll::before {
    opacity: 1;
  }
  .theme-faq-tabs-scroll {
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
.theme-shop-filters-hint,
.theme-faq-tabs-hint {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  margin: 0.5rem 0 0;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted-foreground);
}
.theme-shop-filters-hint__icon,
.theme-faq-tabs-hint__icon {
  display: inline-flex;
  align-items: center;
  gap: 0.125rem;
  animation: k4k-swipe-hint 1.8s ease-in-out infinite;
}
.theme-shop-filters-hint__chevron,
.theme-faq-tabs-hint__chevron {
  font-size: 14px;
  line-height: 1;
  opacity: 0.75;
}
@keyframes k4k-swipe-hint {
  0%, 100% { transform: translateX(-2px); opacity: 0.55; }
  50% { transform: translateX(3px); opacity: 1; }
}
@media (max-width: 767px) {
  .theme-shop-filters-wrap.has-overflow:not(.is-hint-dismissed) .theme-shop-filters-hint,
  .theme-faq-tabs-wrap.has-overflow:not(.is-hint-dismissed) .theme-faq-tabs-hint {
    display: flex;
  }
}
@media (min-width: 768px) {
  .theme-shop-filters-hint,
  .theme-faq-tabs-hint { display: none !important; }
  .theme-shop-filters-scroll::before,
  .theme-shop-filters-scroll::after,
  .theme-faq-tabs-scroll::before,
  .theme-faq-tabs-scroll::after { display: none; }
}

.theme-shop-filters {
  display: flex; overflow-x: auto; gap: 0.5rem; justify-content: flex-start;
  max-width: 100%; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  scroll-snap-type: x proximity;
}
.theme-shop-filters::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .theme-shop-filters { overflow-x: visible; flex-wrap: wrap; justify-content: center; scroll-snap-type: none; } }
.theme-shop-filter {
  flex-shrink: 0; scroll-snap-align: start;
  padding: 0.5rem 1.25rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  border-radius: 999px; border: 1px solid var(--color-border); background: transparent; color: var(--color-foreground);
  transition: all 0.3s ease;
}
.theme-shop-filter:hover { border-color: var(--color-accent); color: var(--color-accent); }
.theme-shop-filter.is-active { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }

.theme-product-grid, .products.theme-product-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem;
  align-items: stretch; margin: 0; padding: 0; list-style: none; width: 100%;
}
@media (min-width: 768px) {
  .theme-product-grid, .products.theme-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }
}
@media (min-width: 1024px) {
  .theme-product-grid, .products.theme-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Home shop grid — override any WooCommerce flex/column rules (Lovable: 2 / 3 / 4 cols). */
#theme-shop-grid.theme-product-grid.products {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1.5rem !important;
}
@media (min-width: 768px) {
  #theme-shop-grid.theme-product-grid.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 2rem !important;
  }
}
@media (min-width: 1024px) {
  #theme-shop-grid.theme-product-grid.products {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}
#theme-shop-grid > .theme-product-card-wrap,
#theme-shop-grid > li.product {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  float: none !important;
}
.theme-product-grid--related { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1024px) { .theme-product-grid--related { grid-template-columns: repeat(4, 1fr); } }

/* Featured item on home: single centered card (Lovable max-w-sm mx-auto). */
.theme-product-grid.theme-featured-product-grid {
  max-width: 24rem;
  width: 100%;
  margin: 0 auto 4rem;
  grid-template-columns: 1fr !important;
}

.theme-product-card-wrap { list-style: none; display: flex; min-width: 0; }
.theme-product-card-wrap.is-shop-collapsed,
.theme-product-card-wrap[hidden] { display: none !important; }
.theme-product-card { position: relative; display: flex; flex-direction: column; width: 100%; }
.theme-product-card > .theme-card-link { position: absolute; inset: 0; z-index: 1; pointer-events: auto; }
.theme-product-card__image-wrapper {
  position: relative; z-index: 2; aspect-ratio: 1 / 1; background: var(--color-secondary);
  border-radius: 1rem; overflow: hidden; margin-bottom: 1.25rem; pointer-events: none;
}
.theme-product-card__info { position: relative; z-index: 1; pointer-events: none; }
.theme-product-card__image { transition: transform 0.7s var(--transition-smooth); }
.theme-product-card:hover .theme-product-card__image { transform: scale(1.04); }

.theme-product-badge {
  position: absolute; top: 1rem; left: 1rem; z-index: 4; padding: 0.25rem 0.75rem;
  border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: 0.02em;
  font-family: var(--font-body); pointer-events: none;
}
.theme-product-badge--accent { background: var(--color-accent); color: var(--color-accent-foreground); }
.theme-product-badge--soldout { left: auto; right: 1rem; border-radius: 0.375rem; background: var(--color-foreground); color: var(--color-background); }

.theme-product-card__add {
  position: absolute; z-index: 5; inset-inline: 1rem; bottom: 1rem;
  padding: 0.75rem 1rem; border-radius: 999px; background: var(--color-primary);
  color: var(--color-primary-foreground); border: 1px solid var(--color-primary);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600;
  font-family: var(--font-body); line-height: 1.2;
  opacity: 0; transform: translateY(0.5rem); transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  text-align: center; pointer-events: auto; cursor: pointer;
}
.theme-product-card:hover .theme-product-card__add { opacity: 1; transform: translateY(0); }
.theme-product-card__add:hover { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-foreground); }

.theme-product-card__info { flex: 1; padding: 0 0.25rem; display: flex; flex-direction: column; gap: 0.375rem; }
.theme-product-card__category { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-product-card__title { font-size: 1rem; font-weight: 500; line-height: 1.3; transition: color 0.3s ease; }
@media (min-width: 768px) { .theme-product-card__title { font-size: 1.125rem; } }
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__price, .theme-product-card__price .amount { font-size: 1rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); font-family: var(--font-body); }
.theme-product-card__price del { opacity: 0.5; margin-right: 0.4em; }
.theme-product-card__price ins { text-decoration: none; }

.theme-shop-show-more { text-align: center; margin-top: 3rem; }
.theme-shop-empty { text-align: center; padding: 5rem 0; color: var(--color-muted-foreground); }

/* ---------------------------------------------------------------------
   15. FAQ
   ------------------------------------------------------------------- */
.theme-faq-section { padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 768px) { .theme-faq-section { padding-top: 7rem; padding-bottom: 7rem; } }
.theme-faq-section__head { max-width: 42rem; margin: 0 0 2.5rem; text-align: left; }
@media (min-width: 768px) { .theme-faq-section__head { margin-bottom: 3.5rem; } }
.theme-faq-section__title {
  font-family: var(--font-display);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-bottom: 1.25rem;
}
.theme-faq-section__intro { color: color-mix(in srgb, var(--color-foreground) 75%, transparent); font-size: 1rem; line-height: 1.625; }
@media (min-width: 768px) { .theme-faq-section__intro { font-size: 1.125rem; } }
.theme-faq-section__intro a {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: color-mix(in srgb, var(--color-foreground) 30%, transparent);
  transition: text-decoration-color 0.2s ease;
}
.theme-faq-section__intro a:hover { text-decoration-color: var(--color-foreground); }

.theme-faq-tabs {
  display: flex; gap: 0.625rem; overflow-x: auto; flex-wrap: nowrap;
  max-width: 100%; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  scroll-snap-type: x proximity;
}
.theme-faq-tabs::-webkit-scrollbar { display: none; }
@media (min-width: 768px) {
  .theme-faq-tabs {
    flex-wrap: wrap; overflow-x: visible;
    scroll-snap-type: none;
  }
  .theme-faq-tabs-scroll {
    margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0;
  }
}
.theme-faq-tab {
  flex-shrink: 0; scroll-snap-align: start;
  border-radius: 999px; border: 1px solid var(--color-border); padding: 0.625rem 1.25rem;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600;
  background: transparent; color: var(--color-foreground);
  transition: all 0.2s ease;
}

/* Payment — marigold */
.theme-faq-tab--1 { border-color: var(--color-marigold); }
.theme-faq-tab--1:hover { background: color-mix(in srgb, var(--color-marigold) 15%, transparent); }
.theme-faq-tab--1.is-active { background: var(--color-marigold); color: var(--color-background); border-color: var(--color-marigold); }

/* Materials — teal */
.theme-faq-tab--2 { border-color: var(--color-teal); }
.theme-faq-tab--2:hover { background: color-mix(in srgb, var(--color-teal) 10%, transparent); }
.theme-faq-tab--2.is-active { background: var(--color-teal); color: var(--color-background); border-color: var(--color-teal); }

/* Custom Orders — lilac */
.theme-faq-tab--3 { border-color: var(--color-lilac); }
.theme-faq-tab--3:hover { background: color-mix(in srgb, var(--color-lilac) 15%, transparent); }
.theme-faq-tab--3.is-active { background: var(--color-lilac); color: var(--color-background); border-color: var(--color-lilac); }

/* Shipping — nopal */
.theme-faq-tab--4 { border-color: var(--color-nopal); }
.theme-faq-tab--4:hover { background: color-mix(in srgb, var(--color-nopal) 10%, transparent); }
.theme-faq-tab--4.is-active { background: var(--color-nopal); color: var(--color-background); border-color: var(--color-nopal); }

.theme-faq-tab--5 { border-color: var(--color-marigold); }
.theme-faq-tab--5:hover { background: color-mix(in srgb, var(--color-marigold) 15%, transparent); }
.theme-faq-tab--5.is-active { background: var(--color-marigold); color: var(--color-background); border-color: var(--color-marigold); }

.theme-faq-panel { display: none; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); }
.theme-faq-panel.is-active { display: block; animation: k4k-fade-in 0.25s ease; }
.theme-faq-item { border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); }
.theme-faq-item__question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.25rem 0; text-align: left;
}
@media (min-width: 768px) { .theme-faq-item__question { padding: 1.5rem 0; } }
.theme-faq-item__question span:first-child { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.4; }
@media (min-width: 768px) { .theme-faq-item__question span:first-child { font-size: 1.25rem; } }
.theme-faq-item__icon {
  flex-shrink: 0; width: 2.25rem; height: 2.25rem; border-radius: 999px; border: 1px solid currentColor;
  display: flex; align-items: center; justify-content: center; transition: all 0.2s ease;
}
.theme-faq-item__icon svg { transition: transform 0.2s ease; color: currentColor; }
.theme-faq-item.is-open .theme-faq-item__icon svg { transform: rotate(180deg); }

.theme-faq-panel--1 .theme-faq-item__icon { color: var(--color-marigold); border-color: var(--color-marigold); }
.theme-faq-panel--1 .theme-faq-item.is-open .theme-faq-item__icon { background: var(--color-marigold); border-color: var(--color-marigold); color: var(--color-background); }
.theme-faq-panel--2 .theme-faq-item__icon { color: var(--color-teal); border-color: var(--color-teal); }
.theme-faq-panel--2 .theme-faq-item.is-open .theme-faq-item__icon { background: var(--color-teal); border-color: var(--color-teal); color: var(--color-background); }
.theme-faq-panel--3 .theme-faq-item__icon { color: var(--color-lilac); border-color: var(--color-lilac); }
.theme-faq-panel--3 .theme-faq-item.is-open .theme-faq-item__icon { background: var(--color-lilac); border-color: var(--color-lilac); color: var(--color-background); }
.theme-faq-panel--4 .theme-faq-item__icon { color: var(--color-nopal); border-color: var(--color-nopal); }
.theme-faq-panel--4 .theme-faq-item.is-open .theme-faq-item__icon { background: var(--color-nopal); border-color: var(--color-nopal); color: var(--color-background); }
.theme-faq-panel--5 .theme-faq-item__icon { color: var(--color-marigold); border-color: var(--color-marigold); }
.theme-faq-panel--5 .theme-faq-item.is-open .theme-faq-item__icon { background: var(--color-marigold); border-color: var(--color-marigold); color: var(--color-background); }
.theme-faq-panel--1 .theme-faq-item.is-open .theme-faq-item__icon svg,
.theme-faq-panel--2 .theme-faq-item.is-open .theme-faq-item__icon svg,
.theme-faq-panel--3 .theme-faq-item.is-open .theme-faq-item__icon svg,
.theme-faq-panel--4 .theme-faq-item.is-open .theme-faq-item__icon svg,
.theme-faq-panel--5 .theme-faq-item.is-open .theme-faq-item__icon svg { color: var(--color-background); }
.theme-faq-item__answer { max-height: 0; overflow: hidden; transition: max-height 0.28s ease; }
.theme-faq-item.is-open .theme-faq-item__answer { max-height: 400px; }
.theme-faq-item__answer p { color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.6; padding-bottom: 1.5rem; padding-right: 3rem; max-width: 48rem; }

/* ---------------------------------------------------------------------
   16. CONTACT CTA
   ------------------------------------------------------------------- */
.theme-contact-cta__grid { display: grid; grid-template-columns: 1fr; min-height: 420px; }
@media (min-width: 1024px) { .theme-contact-cta__grid { grid-template-columns: 1fr 1fr; } }
.theme-contact-cta__media { position: relative; overflow: hidden; min-height: 280px; }
@media (min-width: 1024px) { .theme-contact-cta__media { min-height: 480px; } }
.theme-contact-cta__media-scrim { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-primary) 30%, transparent); }
.theme-contact-cta__copy { position: relative; background: var(--color-accent); color: var(--color-accent-foreground); display: flex; align-items: center; justify-content: center; padding: 5rem 2rem; }
@media (min-width: 768px) { .theme-contact-cta__copy { padding: 6rem 4rem; } }
.theme-contact-cta__copy-inner { max-width: 28rem; text-align: center; }
.theme-contact-cta__copy .theme-eyebrow { color: color-mix(in srgb, var(--color-accent-foreground) 85%, transparent); }
.theme-contact-cta__text { line-height: 1.7; margin-bottom: 2rem; }
.theme-contact-cta__meta { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.theme-contact-cta__phone, .theme-contact-cta__email { display: flex; align-items: center; justify-content: center; gap: 0.75rem; transition: opacity 0.2s ease; }
.theme-contact-cta__phone { font-size: 1.125rem; }
.theme-contact-cta__phone:hover, .theme-contact-cta__email:hover { opacity: 0.8; }
.theme-contact-cta__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
}
.theme-contact-cta__actions .theme-btn {
  width: 100%;
}
@media (min-width: 640px) {
  .theme-contact-cta__actions {
    flex-direction: row;
    align-items: center;
  }
  .theme-contact-cta__actions .theme-btn {
    width: auto;
  }
}

/* ---------------------------------------------------------------------
   17. FOOTER
   ------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--color-border); background: var(--color-butter); }
.theme-footer__inner { max-width: 80rem; margin: 0 auto; padding-block: 3.5rem; }
@media (min-width: 1024px) { .theme-footer__inner { padding-block: 5rem; } }
.theme-footer__brand-row { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--color-border); }
@media (min-width: 640px) { .theme-footer__brand-row { flex-direction: row; align-items: center; justify-content: space-between; } }
.theme-footer__brand { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.theme-footer__mark { height: 4rem; width: 4rem; border-radius: 999px; object-fit: cover; box-shadow: 0 0 0 1px var(--color-border); }
@media (min-width: 640px) { .theme-footer__mark { height: 5rem; width: 5rem; } }
.theme-footer__wordmark { display: inline-flex; min-width: 0; }
.theme-brand-wordmark--footer {
  font-size: 1.25rem;
  color: var(--color-foreground);
  flex-wrap: wrap;
}
@media (min-width: 640px) { .theme-brand-wordmark--footer { font-size: 1.5rem; } }
.theme-brand-wordmark--footer .theme-brand-wordmark__mark { height: 1.1em; }
.theme-footer__tagline-block { max-width: 36rem; }
@media (min-width: 640px) { .theme-footer__tagline-block { text-align: right; margin-left: auto; } }
.theme-footer__tagline {
  font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 75%, transparent);
  font-style: italic; line-height: 1.625; font-family: var(--font-body);
}
.theme-footer__contact-line {
  margin-top: 0.75rem; font-size: 14px; font-family: var(--font-body);
  color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
}
.theme-footer__contact-line span[aria-hidden] { margin: 0 0.5rem; color: color-mix(in srgb, var(--color-foreground) 40%, transparent); }
.theme-footer__contact-line a { transition: color 0.2s ease; }
.theme-footer__contact-line a:hover { color: var(--color-foreground); }
.theme-footer__columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; }
@media (min-width: 768px) { .theme-footer__columns { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3rem; } }
.theme-footer__col--reach { grid-column: span 2; }
@media (min-width: 768px) { .theme-footer__col--reach { grid-column: span 1; } }
.theme-footer__col-title {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 400;
  margin-bottom: 1.25rem; color: var(--color-foreground);
}
.theme-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-family: var(--font-body);
}
.theme-footer__links li { display: block; line-height: 1.5; }
.theme-footer__links a,
.theme-footer__link-btn {
  font-size: 14px;
  font-family: var(--font-body);
  color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
  text-align: left;
  transition: color 0.2s ease;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  line-height: 1.5;
  background: none;
  border: none;
  appearance: none;
  -webkit-appearance: none;
}
.theme-footer__links a:hover,
.theme-footer__link-btn:hover { color: var(--color-foreground); }
.theme-footer__col--reach .theme-footer__links a,
.theme-footer__col--reach .theme-footer__facebook {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: auto;
  color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
}
.theme-footer__col--reach .theme-footer__links a:hover { color: var(--color-foreground); }
.theme-footer__col--reach .theme-footer__links svg { flex-shrink: 0; }
.theme-footer__reach-text { font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); margin-bottom: 1.25rem; line-height: 1.6; }
.theme-footer__newsletter { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--color-border); max-width: 40rem; }
.theme-footer__newsletter-text { font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); margin-bottom: 1rem; line-height: 1.6; }
.theme-footer__newsletter-form { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .theme-footer__newsletter-form { flex-direction: row; align-items: center; } }
.theme-footer__newsletter-form input {
  flex: 1; min-width: 0; padding: 0.75rem 1rem; border: 1px solid var(--color-border);
  border-radius: 999px; background: var(--color-background);
}
.theme-footer__newsletter-embed iframe {
  width: 100%; min-height: 220px; border: 0; border-radius: var(--radius); background: var(--color-background);
}
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.theme-footer__bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.75rem; text-align: center; }
@media (min-width: 640px) { .theme-footer__bottom { flex-direction: row; text-align: left; } }
.theme-footer__note {
  font-size: 12px; font-style: italic; font-family: var(--font-display);
  color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
  letter-spacing: 0.01em;
}
.theme-footer__credit { font-size: 12px; color: var(--color-muted-foreground); }
.theme-footer__credit a { text-decoration: underline; }

/* ---------------------------------------------------------------------
   18. SIDE CART DRAWER
   ------------------------------------------------------------------- */
#theme-cart-overlay {
  position: fixed; inset: 0; background: color-mix(in srgb, var(--color-foreground) 20%, transparent);
  z-index: 60; opacity: 0; visibility: hidden; transition: opacity 0.3s ease;
}
body.cart-open #theme-cart-overlay { opacity: 1; visibility: visible; }

#theme-cart-drawer {
  position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem;
  background: var(--color-background); z-index: 61; box-shadow: var(--shadow-elevated);
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.35s 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__title { font-size: 1.125rem; font-weight: 700; }
.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; gap: 1rem; }
.theme-cart-drawer__empty svg { color: var(--color-muted-foreground); }
.theme-cart-drawer__items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item__image { width: 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__body { flex: 1; min-width: 0; }
.theme-cart-item__name { font-size: 14px; font-weight: 500; display: block; }
.theme-cart-item__name:hover { opacity: 0.7; }
.theme-cart-item__price { font-size: 14px; color: var(--color-muted-foreground); margin-top: 0.125rem; }
.theme-cart-item__meta { list-style: none; margin: 0.25rem 0 0; padding: 0; font-size: 12px; color: var(--color-muted-foreground); }
.theme-cart-item__meta li { margin: 0; }
.theme-cart-item__meta-key { font-weight: 500; }
.theme-cart-item__variation { font-size: 12px; color: var(--color-muted-foreground); }
.theme-cart-item__controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-item__qty-btn { padding: 0.25rem; border-radius: 0.25rem; }
.theme-cart-item__qty-btn:hover { background: var(--color-secondary); }
.theme-cart-item__qty { font-size: 14px; width: 1.5rem; text-align: center; }
.theme-cart-item__remove { margin-left: auto; font-size: 14px; color: var(--color-muted-foreground); }
.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: 14px; }

/* ---------------------------------------------------------------------
   19. CONTACT MODAL
   ------------------------------------------------------------------- */
#theme-contact-overlay {
  position: fixed; inset: 0; background: rgb(0 0 0 / 0.8);
  z-index: 70; opacity: 0; visibility: hidden; transition: opacity 0.2s ease;
}
body.contact-open #theme-contact-overlay { opacity: 1; visibility: visible; }
#theme-contact-modal {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.95);
  width: calc(100% - 2rem); max-width: 32rem; max-height: 90vh; overflow-y: auto;
  background: var(--color-background); border: 1px solid var(--color-border);
  border-radius: 0.5rem; box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  z-index: 71; padding: 1.5rem; opacity: 0; visibility: hidden; transition: opacity 0.2s ease, transform 0.2s ease;
}
body.contact-open #theme-contact-modal { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.theme-contact-modal__inner { display: grid; gap: 1rem; }
.theme-contact-modal__header { display: flex; flex-direction: column; gap: 0.375rem; }
.theme-contact-modal__close {
  position: absolute; top: 1rem; right: 1rem; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 0.125rem; opacity: 0.7; transition: opacity 0.2s ease;
}
.theme-contact-modal__close:hover { opacity: 1; }
.theme-contact-modal__close svg { flex-shrink: 0; }
.theme-contact-modal__title {
  margin: 0; font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; line-height: 1.2;
}
.theme-contact-modal__desc {
  margin: 0; font-size: 14px; font-family: var(--font-body); line-height: 1.5;
  color: var(--color-muted-foreground);
}
.theme-contact-modal__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
  font-size: 14px; font-family: var(--font-body); color: var(--color-muted-foreground);
}
.theme-contact-modal__meta-item { display: inline-flex; align-items: center; gap: 0.5rem; }
.theme-contact-modal__meta-item svg { flex-shrink: 0; }
.theme-contact-modal__meta a { transition: color 0.2s ease; }
.theme-contact-modal__meta a:hover { color: var(--color-foreground); }
.theme-contact-form { display: flex; flex-direction: column; gap: 1rem; }
.theme-contact-form__row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-contact-form__row { grid-template-columns: 1fr 1fr; } }
.theme-contact-form label {
  font-size: 14px; font-weight: 500; margin-bottom: 0.375rem; display: block; font-family: var(--font-body);
}
.theme-contact-form input, .theme-contact-form textarea {
  width: 100%; padding: 0.625rem 0.75rem; background: var(--color-background);
  border: 1px solid var(--color-border); border-radius: 0.375rem; font-size: 1rem;
  font-family: var(--font-body); transition: box-shadow 0.3s ease;
}
.theme-contact-form input::placeholder, .theme-contact-form textarea::placeholder { color: var(--color-muted-foreground); }
.theme-contact-form input:focus, .theme-contact-form textarea:focus {
  outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 50%, transparent);
}
.theme-contact-form textarea { resize: none; }
.theme-contact-form__actions { display: flex; justify-content: flex-end; }
.theme-contact-form__submit-text { display: inline-block; }
.theme-contact-form__success { text-align: center; padding: 2rem 0; }
.theme-contact-form__success-icon {
  width: 3.5rem; height: 3.5rem; background: var(--color-primary); color: var(--color-primary-foreground);
  border-radius: 999px; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem;
}
.theme-contact-form__success h3 {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 400; margin: 0 0 0.5rem;
}
.theme-contact-form__success p { color: var(--color-muted-foreground); font-size: 14px; font-family: var(--font-body); margin: 0; }

/* ---------------------------------------------------------------------
   20. WOOCOMMERCE: BUTTONS (Section 11.4.1)
   ------------------------------------------------------------------- */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
  background-color: var(--color-primary) !important;
  color: var(--color-button-text) !important;
  border: none !important;
  border-radius: var(--btn-radius) !important;
  min-height: var(--btn-height) !important;
  padding: var(--btn-padding) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: var(--font-body) !important;
  font-size: var(--btn-font-size) !important;
  font-weight: var(--btn-font-weight) !important;
  letter-spacing: var(--btn-letter-spacing) !important;
  text-transform: var(--btn-text-transform) !important;
  cursor: pointer !important;
  transition: opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
  opacity: 0.85 !important;
  background-color: var(--color-primary) !important;
  color: var(--color-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
  cursor: not-allowed !important;
  opacity: 0.4 !important;
  pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
  opacity: 0.4 !important;
  background-color: var(--color-primary) !important;
}
.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; }

/* Card compact button variant — overrides WooCommerce loop button defaults. */
.theme-product-card .theme-product-card__add.add_to_cart_button.button {
  display: block !important;
  min-height: unset !important;
  padding: 0.75rem 1rem !important;
  border-radius: 999px !important;
  opacity: 0 !important;
  transform: translateY(0.5rem) !important;
  background-color: var(--color-primary) !important;
  color: var(--color-primary-foreground) !important;
  border: 1px solid var(--color-primary) !important;
  font-size: 11px !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  font-family: var(--font-body) !important;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease, border-color 0.3s ease !important;
}
.theme-product-card:hover .theme-product-card__add.add_to_cart_button.button {
  opacity: 1 !important;
  transform: translateY(0) !important;
}
.theme-product-card .theme-product-card__add.add_to_cart_button.button:hover {
  opacity: 1 !important;
  background-color: var(--color-accent) !important;
  border-color: var(--color-accent) !important;
  color: var(--color-accent-foreground) !important;
}

/* Hide "View cart" injected after AJAX add. */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

/* 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: var(--radius); border: 1px solid var(--color-border); padding: 1rem 1.5rem;
  font-size: 14px; margin: 0 auto 1.5rem; max-width: 60rem; list-style: none;
}
.woocommerce-error { border-color: var(--color-destructive); color: var(--color-destructive); }

/* ---------------------------------------------------------------------
   21. WOOCOMMERCE: SHOP / SINGLE PRODUCT
   ------------------------------------------------------------------- */
.theme-shop-section { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .theme-shop-section { padding-top: 6rem; padding-bottom: 6rem; } }
.theme-shop-section .theme-section-head { margin-bottom: 3rem; }
.theme-shop-section__head { text-align: center; margin-bottom: 2rem; }

.theme-breadcrumb { padding: 0.75rem 0; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); font-family: var(--font-body); }
.theme-breadcrumb a:hover { color: var(--color-foreground); }
.theme-breadcrumb span[aria-hidden] { margin: 0 0.5rem; opacity: 0.5; }
.theme-breadcrumb__current { color: var(--color-foreground); }

.theme-product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  padding: 1rem 0 6rem;
  align-items: start;
  min-width: 0;
}
@media (min-width: 1024px) {
  .theme-product-layout {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 4rem;
  }
}
.theme-product-gallery,
.theme-product-info { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) {
  .theme-product-info { position: sticky; top: 7rem; align-self: start; padding-left: 1rem; }
}
.theme-product-gallery-mobile { display: block; }
.theme-product-gallery-desktop { display: none; }
@media (min-width: 1024px) {
  .theme-product-gallery-mobile { display: none; }
  .theme-product-gallery-desktop { display: flex; flex-direction: column; gap: 1rem; }
}
.theme-product-main-image { aspect-ratio: 1 / 1; background: var(--color-secondary); overflow: hidden; }
.theme-product-detail-img { display: block; width: 100%; height: 100%; object-fit: cover; position: static !important; }
.theme-product-detail-img--thumb { opacity: 0.6; transition: opacity 0.2s ease; }
.theme-product-thumb:hover .theme-product-detail-img--thumb,
.theme-product-thumb.is-active .theme-product-detail-img--thumb { opacity: 1; }
.theme-product-thumbnails { display: flex; gap: 0.75rem; margin-top: 1rem; overflow-x: auto; padding-bottom: 0.25rem; }
.theme-product-thumb {
  position: relative; width: 5rem; height: 5rem; flex-shrink: 0; overflow: hidden;
  background: var(--color-secondary); border: 0; padding: 0; cursor: pointer;
}
.theme-product-thumb.is-active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--color-foreground);
}

.theme-product-info__category {
  display: block; font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--color-muted-foreground); font-family: var(--font-body);
}
.theme-product-info__title { font-size: 1.875rem; line-height: 1.1; margin: 0.75rem 0 1.25rem; }
@media (min-width: 768px) { .theme-product-info__title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .theme-product-info__title { font-size: 2.75rem; } }
.theme-product-info__price { font-size: 1.25rem; margin-bottom: 1.5rem; font-family: var(--font-body); color: var(--color-foreground); }
.theme-stock-badge {
  display: inline-block; padding: 0.375rem 0.875rem; border-radius: 999px;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1.5rem;
}
.theme-stock-badge--out { background: color-mix(in srgb, var(--color-destructive) 12%, transparent); color: var(--color-destructive); }
.theme-product-info__description {
  color: var(--color-muted-foreground); line-height: 1.625; margin-bottom: 2rem;
  font-family: var(--font-body); font-size: 1rem;
}

.theme-product-purchase { margin-bottom: 1rem; }
.theme-product-purchase__label {
  font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground);
  margin-bottom: 0.75rem; font-family: var(--font-body); font-weight: 400;
}
.theme-product-cart-form { display: flex; flex-direction: column; gap: 1rem; }

.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--color-border); border-radius: 999px; overflow: hidden; }
.theme-qty-minus, .theme-qty-plus { padding: 0.6rem 0.9rem; transition: background 0.2s ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-input {
  width: 3.25rem; text-align: center; border: none; background: transparent;
  -moz-appearance: textfield; appearance: textfield; font-size: 14px;
}
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.single-product-main .theme-quantity-wrapper { border-radius: 0; overflow: visible; width: fit-content; }
.single-product-main .theme-qty-display {
  min-width: 44px; padding: 0.5rem 1rem; text-align: center; font-family: var(--font-body); font-size: 0.875rem;
}
.single-product-main .theme-qty-input {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.single-product-main .theme-product-atc,
.single-product-main .single_add_to_cart_button {
  width: 100%; background: var(--color-foreground) !important; color: var(--color-background) !important;
  border: 0 !important; border-radius: 999px !important; padding: 1rem 1.5rem !important;
  font-size: 12px !important; letter-spacing: 0.25em !important; text-transform: uppercase !important;
  font-family: var(--font-body) !important; font-weight: 500 !important; transition: opacity 0.2s ease !important;
}
.single-product-main .theme-product-atc:hover,
.single-product-main .single_add_to_cart_button:hover { opacity: 0.9; }
.single-product-main .theme-product-atc.is-added { opacity: 0.6; }

.theme-product-accordions { margin-top: 2.5rem; border-top: 1px solid var(--color-border); }
.theme-product-accordion { border-bottom: 1px solid var(--color-border); }
.theme-product-accordion__toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 0; text-align: left; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; font-family: var(--font-body);
}
.theme-product-accordion__chevron { transition: transform 0.2s ease; flex-shrink: 0; }
.theme-product-accordion.is-open .theme-product-accordion__chevron { transform: rotate(180deg); }
.theme-product-accordion__panel { padding-bottom: 1.5rem; }
.theme-product-accordion__panel[hidden] { display: none; }
.theme-product-accordion__copy { color: var(--color-muted-foreground); line-height: 1.625; font-family: var(--font-body); font-size: 15px; }
.theme-product-accordion__copy p { margin-bottom: 1rem; }
.theme-product-accordion__copy p:last-child { margin-bottom: 0; }
.theme-product-details-list { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.theme-product-details-list li {
  display: flex; align-items: flex-start; gap: 0.75rem; color: var(--color-muted-foreground); font-size: 15px; line-height: 1.625;
}
.theme-product-details-list li::before {
  content: ''; width: 4px; height: 4px; border-radius: 999px; background: var(--color-foreground); margin-top: 0.55rem; flex-shrink: 0;
}

.theme-related-section { border-top: 1px solid var(--color-border); padding: 5rem 0; }
.theme-related__head { text-align: center; margin-bottom: 3rem; }
.theme-related__eyebrow { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--color-muted-foreground); margin-bottom: 0.5rem; }
.theme-related__title { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; }
@media (min-width: 768px) { .theme-related__title { font-size: 2.25rem; } }
.theme-related-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; list-style: none; margin: 0; padding: 0;
}
@media (min-width: 1024px) { .theme-related-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; } }
.theme-related-card-wrap { list-style: none; min-width: 0; }
.theme-related-card { display: block; }
.theme-related-card__media {
  aspect-ratio: 1 / 1; background: var(--color-secondary); border-radius: 1rem; overflow: hidden;
  margin-bottom: 1.25rem; transition: transform 0.3s ease;
}
.theme-related-card:hover .theme-related-card__media { transform: translateY(-3px); }
.theme-related-card__image {
  width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s var(--transition-smooth);
}
.theme-related-card:hover .theme-related-card__image { transform: scale(1.04); }
.theme-related-card__info { padding: 0 0.25rem; display: flex; flex-direction: column; gap: 0.375rem; }
.theme-related-card__category { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-related-card__title { font-family: var(--font-display); font-size: 1rem; font-weight: 500; line-height: 1.3; transition: color 0.3s ease; }
@media (min-width: 768px) { .theme-related-card__title { font-size: 1.125rem; } }
.theme-related-card:hover .theme-related-card__title { color: var(--color-primary); }
.theme-related-card__price { font-size: 1rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); font-family: var(--font-body); }

.single-product .woocommerce-tabs,
.single-product .product_meta,
.single-product .woocommerce-product-gallery,
.single-product .related.products,
.single-product .upsells.products { display: none !important; }
.single-product a.added_to_cart.wc-forward { display: none !important; }

/* Variations table layout */
.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; position: relative; }
.single-product-main .theme-attr-select-hidden,
.single-product .theme-variable-cart-form .theme-attr-select-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.single-product-main .theme-variation-pills,
.single-product .theme-variable-cart-form .theme-variation-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}
.single-product-main .theme-variation-pill,
.single-product .theme-variable-cart-form .theme-variation-pill {
  padding: 0.5rem 1rem;
  border: 1px solid color-mix(in srgb, var(--color-foreground) 25%, transparent);
  border-radius: 999px;
  background: transparent;
  color: var(--color-foreground);
  font-size: 12px;
  font-family: var(--font-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.2;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.single-product-main .theme-variation-pill:hover:not(:disabled),
.single-product .theme-variable-cart-form .theme-variation-pill:hover:not(:disabled) {
  border-color: var(--color-foreground);
}
.single-product-main .theme-variation-pill.is-selected,
.single-product .theme-variable-cart-form .theme-variation-pill.is-selected {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--color-foreground);
}
.single-product-main .theme-variation-pill:disabled,
.single-product .theme-variable-cart-form .theme-variation-pill:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* ---------------------------------------------------------------------
   22. WOOCOMMERCE: CHECKOUT / CART / THANK YOU
   ------------------------------------------------------------------- */

/* C — Checkout page header */
.theme-checkout-shell {
  width: 100%;
  max-width: none;
  margin-inline: auto;
  padding-inline: 1.5rem;
  padding-block: 0.5rem 4rem;
  box-sizing: border-box;
}
@media (min-width: 1024px) {
  .theme-checkout-shell { padding-inline: 2rem; }
}
body.woocommerce-checkout .theme-checkout-main,
body.woocommerce-checkout.theme-no-hero .theme-checkout-main,
body.theme-no-hero.woocommerce-checkout .site-main.theme-checkout-main {
  padding-top: 0;
  padding-bottom: 0;
}
.theme-checkout-main > .container-wide,
.theme-checkout-shell,
body.woocommerce-checkout .theme-checkout-main .entry-content {
  max-width: none;
  width: 100%;
}

.theme-checkout-header {
  max-width: var(--checkout-max-width);
  width: 100%;
  margin-inline: auto;
  margin-bottom: 0;
  box-sizing: border-box;
}
.checkout-continue-link,
.theme-checkout-header__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--color-muted-foreground);
  transition: color 0.2s ease;
}
.checkout-continue-link:hover,
.theme-checkout-header__back:hover { color: var(--color-foreground); }
.theme-checkout-header__back svg { flex-shrink: 0; }
.theme-checkout-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 400;
  line-height: 1.15;
}
@media (min-width: 768px) {
  .theme-checkout-title { font-size: 2.25rem; }
}
.theme-checkout-intro {
  margin: 0.75rem 0 0;
  font-size: 14px;
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--color-muted-foreground);
}
.theme-checkout-intro a {
  color: var(--color-foreground);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}
.theme-checkout-intro a:hover { color: var(--color-accent); }

.theme-checkout-payment-note {
  max-width: var(--checkout-max-width);
  width: 100%;
  margin: 0 auto 1rem;
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  background: var(--color-butter);
  font-size: 14px;
  line-height: 1.6;
  box-sizing: border-box;
}

/* C.2 — Collapse vertical gap between header and WC block */
body.woocommerce-checkout .theme-checkout-main .entry-content,
.entry-content:has(.wc-block-checkout) {
  margin-top: 0;
  padding-top: 0;
}
body.woocommerce-checkout .theme-checkout-main .entry-content > .wc-block-checkout,
body.woocommerce-checkout .theme-checkout-main .entry-content > .wp-block-woocommerce-checkout,
.entry-content > .wc-block-checkout:first-child,
.entry-content > .wp-block-woocommerce-checkout:first-child {
  margin-top: 0;
}

/* D — Checkout block root width */
body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wc-block-checkout,
.entry-content .wp-block-woocommerce-checkout,
.entry-content .wc-block-checkout {
  max-width: var(--checkout-max-width);
  width: 100%;
  margin-inline: auto;
  margin-top: 0;
  padding-top: 0;
  min-width: 0;
  box-sizing: border-box;
}
body.woocommerce-checkout .wc-block-checkout.alignwide,
.entry-content .wc-block-checkout.alignwide {
  margin-top: 0;
}

/* G — Notices container */
body.woocommerce-checkout .wc-block-components-notices,
.entry-content .wc-block-components-notices {
  max-width: var(--checkout-max-width);
  width: 100%;
  margin-inline: auto;
  margin-top: 0;
  padding-top: 0;
  margin-bottom: var(--checkout-gap);
  box-sizing: border-box;
}
body.woocommerce-checkout .wc-block-checkout > .wc-block-components-notices:empty,
.entry-content .wc-block-checkout > .wc-block-components-notices:empty {
  display: none;
  margin: 0;
  padding: 0;
}

/* E — Two-column grid on internal sidebar layout wrapper only */
@media (min-width: 768px) {
  body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout,
  body.woocommerce-checkout .wc-block-checkout .wc-block-checkout-sidebar-layout,
  .entry-content .wc-block-checkout .wc-block-components-sidebar-layout,
  .entry-content .wc-block-checkout .wc-block-checkout-sidebar-layout {
    display: grid !important;
    grid-template-columns: 1fr minmax(360px, 400px);
    gap: var(--checkout-gap);
    align-items: start;
    flex-direction: unset;
    flex-wrap: nowrap;
    margin: 0;
    padding-top: 0;
  }

  body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__main,
  body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
  body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__sidebar,
  body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar,
  .entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__main,
  .entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
  .entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__sidebar,
  .entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar {
    width: auto !important;
    max-width: 100%;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
  }

  body.woocommerce-checkout .wc-block-checkout:has(> .wc-block-checkout__main):has(> .wc-block-checkout__sidebar),
  .entry-content .wc-block-checkout:has(> .wc-block-checkout__main):has(> .wc-block-checkout__sidebar) {
    display: grid;
    grid-template-columns: 1fr minmax(360px, 400px);
    gap: var(--checkout-gap);
    align-items: start;
  }

  body.woocommerce-checkout .wc-block-checkout > .wc-block-components-notices,
  .entry-content .wc-block-checkout > .wc-block-components-notices {
    grid-column: 1 / -1;
  }
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-components-main,
.entry-content .wc-block-checkout__main,
.entry-content .wc-block-components-main {
  margin-top: 0;
  padding-top: 0;
  min-width: 0;
}

body.woocommerce-checkout .wc-block-components-notice-banner,
.entry-content .wc-block-components-notice-banner {
  grid-column: 1 / -1;
}

/* F — Sidebar: card background only on order summary */
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar,
body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block,
.entry-content .wc-block-checkout__sidebar,
.entry-content .wc-block-components-sidebar,
.entry-content .wp-block-woocommerce-checkout-totals-block {
  background: transparent;
  border-radius: 0;
  padding: 0;
}
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
.entry-content .wp-block-woocommerce-checkout-order-summary-block {
  width: 100%;
  background: var(--color-butter);
  border-radius: var(--card-radius);
  padding: 2rem;
  box-sizing: border-box;
}

/* H — Empty checkout cart */
body.woocommerce-checkout .wc-block-checkout-empty,
.entry-content .wc-block-checkout-empty {
  margin-inline: auto;
  max-width: 36rem;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Form controls + place order button */
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
.entry-content .wc-block-checkout .wc-block-components-text-input input,
.entry-content .wc-block-checkout .wc-block-components-select select {
  width: 100% !important;
  max-width: none !important;
  font-family: var(--font-body);
  border: 1px solid var(--color-border);
  border-radius: 0.375rem;
  background: var(--color-background);
  color: var(--color-foreground);
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
.entry-content .wc-block-checkout .wc-block-components-text-input input:focus,
.entry-content .wc-block-checkout .wc-block-components-select select:focus {
  outline: none;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 40%, transparent);
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
.entry-content .wc-block-checkout .wc-block-components-checkout-place-order-button {
  background: var(--color-primary) !important;
  color: var(--color-primary-foreground) !important;
  border-radius: var(--btn-radius) !important;
  font-family: var(--font-body) !important;
  text-transform: var(--btn-text-transform) !important;
  letter-spacing: var(--btn-letter-spacing) !important;
  font-size: var(--btn-font-size) !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
.entry-content .wc-block-checkout .wc-block-components-checkout-place-order-button:hover {
  opacity: 0.9;
}

body.woocommerce-cart .entry-content,
body.woocommerce-account .entry-content { max-width: 100%; }

body.woocommerce-checkout .page-title,
body.woocommerce-cart .page-title,
body.woocommerce-account .page-title {
  font-size: 2rem;
  margin-bottom: 2rem;
}

body.theme-thankyou-page { overflow-x: clip; }
body.theme-thankyou-page .site-main { padding-top: var(--header-height, 80px); }
.theme-thankyou { max-width: 48rem; margin: 0 auto; padding: 3rem 0; }
.theme-thankyou__payment-note { background: var(--color-butter); border-radius: var(--card-radius); padding: 2rem; margin-bottom: 2.5rem; }
.theme-thankyou__eyebrow { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-thankyou__payment-list { margin: 1rem 0; display: flex; flex-direction: column; gap: 0.5rem; font-size: 14px; }
.theme-thankyou__contact { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); font-size: 14px; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; }
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-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { padding: 0 0 1rem 0; }
@media (min-width: 768px) {
  body.theme-thankyou-page .woocommerce-customer-details { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
  body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; }
}

/* ---------------------------------------------------------------------
   23. 404 / SPECIAL ORDERS PAGE
   ------------------------------------------------------------------- */
.theme-404__inner { padding: 8rem 0; text-align: center; }
.theme-404__title { font-size: 3rem; margin-bottom: 1rem; }
.theme-404__text { color: var(--color-muted-foreground); margin-bottom: 2rem; }

.theme-custom-page__inner { padding-block: 2.5rem 5rem; }
@media (min-width: 768px) { .theme-custom-page__inner { padding-block: 4rem 6rem; } }
.theme-custom-page__back { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
.theme-custom-page__back:hover { color: var(--color-foreground); }
.theme-custom-page__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; margin-top: 2rem; }
@media (min-width: 1024px) { .theme-custom-page__grid { grid-template-columns: 7fr 5fr; gap: 4rem; margin-top: 3.5rem; } }
.theme-custom-page__eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 600; margin-bottom: 1rem; color: var(--color-accent); }
.theme-custom-page__heading { font-style: italic; font-size: 2.25rem; line-height: 1.08; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .theme-custom-page__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-custom-page__heading { font-size: 3.75rem; } }
.theme-custom-page__rule { width: 3rem; height: 1px; margin-bottom: 1.5rem; background: color-mix(in srgb, var(--color-accent) 50%, transparent); }
.theme-custom-page__intro { font-size: 1rem; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); }
@media (min-width: 768px) { .theme-custom-page__intro { font-size: 1.125rem; } }
.theme-custom-page__closing { margin-top: 2.5rem; display: flex; align-items: flex-start; gap: 0.75rem; border-radius: 1rem; background: color-mix(in srgb, var(--color-background) 70%, transparent); border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); padding: 1.25rem; }
.theme-custom-page__closing svg { color: var(--color-accent); flex-shrink: 0; margin-top: 0.125rem; }
.theme-custom-page__cta { margin-top: 2rem; }
.theme-custom-page__media-frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 1rem; box-shadow: var(--shadow-elevated); outline: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }

/* ---------------------------------------------------------------------
   24. RESPONSIVE / SAFETY
   ------------------------------------------------------------------- */
.theme-card-title-row, .theme-product-card__info { min-width: 0; }
.theme-product-card__title { min-width: 0; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
