/* ============================================================
   Babes & Bowties Unlimited — theme.css
   Google Fonts: Cormorant Garamond + Nunito Sans
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Nunito+Sans:wght@300;400;500;600;700&display=swap');

/* ── Reset / base ── */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Nunito Sans', sans-serif;
  background-color: var(--color-background);
  color: var(--color-foreground);
  line-height: 1.5;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.2;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── CSS Variables ── */
:root {
  /* Fallbacks — match Lovable (HSL tokens → hex) */
  --color-primary:            #c2617c;
  --color-primary-foreground: #ffffff;
  --color-accent:             #d4a85c;
  --color-background:         #faf8f6;
  --color-foreground:         #342830;
  --color-card:               #ffffff;
  --color-muted:              #efede9;
  --color-muted-foreground:   #776c72;
  --color-border:             #e3ddd6;
  --color-destructive:        #ef4444;

  --radius:                   0.5rem;
  --radius-lg:                0.75rem;
  --radius-xl:                1rem;
  --radius-full:              9999px;

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

  --btn-radius:               var(--radius);
  --btn-height:               3rem;
  --btn-padding:              0.875rem 2rem;
  --btn-font-size:            0.875rem;
  --btn-font-weight:          600;
  --btn-letter-spacing:       0.12em;
  --btn-text-transform:       uppercase;
  --btn-icon-padding:         0.75rem;

  --card-radius:              var(--radius-lg);

  --max-w:                    80rem;   /* 1280px */
  --max-w-lg:                 72rem;   /* ~1150px */
  --max-w-md:                 56rem;
  --max-w-sm:                 48rem;
  --max-w-xs:                 38rem;

  --section-py:               6rem;
  --section-py-lg:            8rem;

  --transition-base:          0.3s ease;
  --transition-cubic:         0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 768px) {
  :root {
    --header-height: 7rem;
  }
}

/* ── Typography helpers ── */
.font-serif { font-family: 'Cormorant Garamond', serif !important; }
.text-center { text-align: center; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
@media (min-width: 768px) {
  .container { padding-inline: 3rem; }
}
.container--narrow { max-width: var(--max-w-sm); }
.container--medium { max-width: var(--max-w-md); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: var(--btn-padding);
  font-family: 'Nunito Sans', sans-serif;
  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-radius: var(--btn-radius);
  transition: opacity 0.2s ease, background-color 0.2s ease, gap 0.3s ease, transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s ease;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
  border-color: var(--color-primary);
}
.btn--primary:hover { opacity: 0.9; gap: 0.75rem; }
.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn--outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); }
.btn--full { width: 100%; }

/* ── Input field ── */
.input-field {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.875rem;
  background: var(--color-card);
  border: 1px solid rgba(229,224,218,0.6);
  border-radius: var(--radius);
  color: var(--color-foreground);
  outline: none;
  transition: border-color 0.3s ease;
  resize: vertical;
}
.input-field::placeholder { color: var(--color-muted-foreground); }
.input-field:focus {
  border-color: color-mix(in srgb, var(--color-primary) 50%, transparent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 10%, transparent);
}

/* ── Section helpers ── */
.section-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-muted-foreground);
  margin-bottom: 0.75rem;
}
/* Lovable: text-3xl md:text-5xl (shop, reviews, faq, contact headers) */
.section-heading {
  font-size: 1.875rem;
  color: var(--color-foreground);
  margin-bottom: 1rem;
  line-height: 1.2;
  font-weight: 600;
}
@media (min-width: 768px) {
  .section-heading { font-size: 3rem; }
}
/* Lovable Our Story: text-4xl md:text-5xl */
.our-story .section-heading {
  font-size: 2.25rem;
}
@media (min-width: 768px) {
  .our-story .section-heading { font-size: 3rem; }
}
.section-body {
  color: var(--color-muted-foreground);
  max-width: 36rem;
  margin-inline: auto;
  line-height: 1.625;
}
.section-badge {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary);
  border: 1px solid color-mix(in srgb, var(--color-primary) 40%, transparent);
  border-radius: var(--radius-full);
  padding: 0.375rem 1rem;
  margin-bottom: 1.5rem;
}
.section-header { margin-bottom: 3rem; }
.reviews-section .section-header { margin-bottom: 3.5rem; }

/* ── Scroll animations ── */
.scroll-hidden {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--transition-cubic), transform var(--transition-cubic);
}
.scroll-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Hover lift ── */
.hover-lift {
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s ease;
}
.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -12px rgba(196,99,122,0.12);
}

/* ── Fade-in-up animation ── */
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up { animation: fade-in-up 0.8s ease-out both; }

/* ──────────────────────────────────────────
   HEADER
   ────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: all 0.5s ease;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), transparent);
}
.site-header.is-solid {
  background: color-mix(in srgb, var(--color-background) 95%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.site-header__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 6rem;
}
@media (min-width: 768px) {
  .site-header__inner { padding-inline: 3rem; height: 7rem; }
}
.site-header__logo {
  display: flex;
  align-items: center;
}
.site-logo-img {
  height: var(--logo-height) !important;
  width: auto !important;
  display: block;
  transition: all 0.5s ease;
}
@media (min-width: 768px) {
  .site-header .site-logo-img {
    height: calc(var(--logo-height) * 1.1222222222) !important;
    max-height: 6.5rem;
  }
}
.site-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 600;
  display: block;
  line-height: var(--logo-height);
  color: var(--color-foreground);
  transition: all 0.5s ease;
}
/* Logo inverted when transparent header over video */
.site-header:not(.is-solid) .site-logo-img {
  filter: brightness(0) invert(1) drop-shadow(0 1px 3px rgba(0,0,0,0.4));
}
.site-header:not(.is-solid) .site-logo-text { color: #fff; }

.site-header__nav { display: none; }
@media (min-width: 768px) { .site-header__nav { display: flex; align-items: center; } }

.theme-nav-list,
.theme-footer-nav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
}
.theme-nav-list { gap: 2rem; }
.theme-nav-list li a,
.theme-nav-list li button {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  background: none;
  border: none;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
  cursor: pointer;
}
.site-header.is-solid .theme-nav-list li a,
.site-header.is-solid .theme-nav-list li button {
  color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
}
.site-header.is-solid .theme-nav-list li a:hover,
.site-header.is-solid .theme-nav-list li button:hover {
  color: var(--color-primary);
}
.site-header:not(.is-solid) .theme-nav-list li a,
.site-header:not(.is-solid) .theme-nav-list li button {
  color: rgba(255,255,255,0.9);
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5));
}
.site-header:not(.is-solid) .theme-nav-list li a:hover,
.site-header:not(.is-solid) .theme-nav-list li button:hover { color: #fff; }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.site-header__cart-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
}
.site-header.is-solid .site-header__cart-btn { color: var(--color-foreground); }
.site-header:not(.is-solid) .site-header__cart-btn {
  color: #fff;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5));
}
.theme-cart-count {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  width: 1.25rem;
  height: 1.25rem;
  background: var(--color-primary);
  color: var(--color-primary-foreground);
  font-size: 0.625rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-family: 'Nunito Sans', sans-serif;
}
.theme-cart-count:empty { display: none; }

.site-header__mobile-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  color: inherit;
  transition: color 0.3s ease;
}
@media (min-width: 768px) { .site-header__mobile-toggle { display: none; } }
.site-header.is-solid .site-header__mobile-toggle { color: var(--color-foreground); }
.site-header:not(.is-solid) .site-header__mobile-toggle {
  color: #fff;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5));
}
.icon-close { display: none; }
.site-header__mobile-toggle.is-open .icon-menu  { display: none; }
.site-header__mobile-toggle.is-open .icon-close { display: block; }

/* Mobile nav — alineado con Lovable Header (panel bajo el header, lista vertical) */
.site-header__mobile-nav {
  display: none;
  width: 100%;
  box-sizing: border-box;
  background: color-mix(in srgb, var(--color-background) 98%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  padding: 0.5rem 1.5rem 1.5rem;
}
@media (min-width: 768px) {
  .site-header__mobile-nav { display: none !important; }
}
.site-header__mobile-nav.is-open { display: block; }
.site-header__mobile-nav .theme-mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0;
  width: 100%;
}
.site-header__mobile-nav .theme-mobile-nav-list > li > a,
.site-header__mobile-nav .theme-mobile-nav-list > li > button {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
  padding: 0.75rem 0;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.875rem;
  line-height: 1.25;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--color-border) 50%, transparent);
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  border-radius: 0;
  cursor: pointer;
  transition: color 0.3s ease;
}
.site-header__mobile-nav .theme-mobile-nav-list > li:last-child > a,
.site-header__mobile-nav .theme-mobile-nav-list > li:last-child > button {
  border-bottom: none;
}
.site-header__mobile-nav .theme-mobile-nav-list > li > a:hover,
.site-header__mobile-nav .theme-mobile-nav-list > li > button:hover {
  color: var(--color-primary);
}

/* ──────────────────────────────────────────
   HERO
   ────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-muted);
}
.hero__bg {
  position: absolute;
  inset: 0;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.6), rgba(0,0,0,0.4), rgba(0,0,0,0.2));
}
.hero__content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 6rem 1.5rem;
}
@media (min-width: 768px) { .hero__content { padding: 6rem 3rem; } }
.hero__eyebrow {
  font-size: 0.875rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1rem;
}
/* Lovable: text-4xl md:text-6xl lg:text-7xl, leading-tight */
.hero__heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.25rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .hero__heading { font-size: 3.75rem; }
}
@media (min-width: 1024px) {
  .hero__heading { font-size: 4.5rem; }
}
.hero__heading em {
  color: rgba(255,255,255,0.9);
  font-style: italic;
}
.hero__body {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  max-width: 32rem;
  line-height: 1.625;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .hero__body { font-size: 1.125rem; }
}
.hero__buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 480px) { .hero__buttons { flex-direction: row; } }
.hero__scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  z-index: 10;
  transition: color 0.3s ease;
  display: flex;
}
.hero__scroll-indicator:hover { color: #fff; }

/* ──────────────────────────────────────────
   OUR STORY
   ────────────────────────────────────────── */
.our-story {
  padding-block: var(--section-py) var(--section-py-lg);
  background: color-mix(in srgb, var(--color-muted) 40%, transparent);
}
.our-story__inner { max-width: var(--max-w-xs); margin-inline: auto; text-align: center; }
.our-story__text { margin-block: 1.5rem; text-align: left; }
.our-story__text p {
  color: var(--color-muted-foreground);
  line-height: 1.625;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
}
@media (min-width: 768px) {
  .our-story__text p { font-size: 1rem; }
}
.our-story__quote {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 1.125rem;
  font-weight: 500;
  font-style: italic;
  color: var(--color-foreground);
  text-align: center;
}
.our-story__values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 2.5rem;
}
@media (min-width: 480px) {
  .our-story__values { grid-template-columns: repeat(4, 1fr); }
}
.our-story__value-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem;
}
.our-story__value-card svg { color: var(--color-primary); flex-shrink: 0; }
.our-story__value-card span { font-size: 0.75rem; color: rgba(45,32,40,0.8); font-weight: 500; text-align: center; }

/* ──────────────────────────────────────────
   SHOP SECTION
   ────────────────────────────────────────── */
.shop-section {
  padding-block: var(--section-py) var(--section-py-lg);
  background: var(--color-background);
}
.shop-section__filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}
.category-pill {
  padding: 0.5rem 1.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-muted-foreground);
  cursor: pointer;
  transition: all 0.3s ease;
}
.category-pill:hover {
  border-color: color-mix(in srgb, var(--color-primary) 50%, transparent);
  color: var(--color-foreground);
}
.category-pill--active,
.category-pill.active {
  background: var(--color-primary);
  color: var(--color-primary-foreground);
  border-color: var(--color-primary);
}
.shop-section__empty {
  text-align: center;
  color: var(--color-muted-foreground);
  padding: 3rem;
  grid-column: 1 / -1;
}

/* ── Product Grid ── */
.theme-product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  align-items: stretch;
}
@media (min-width: 768px) {
  .theme-product-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}
@media (min-width: 1024px) {
  .theme-product-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ── Product Card ── */
.theme-product-card {
  background: var(--color-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(229,224,218,0.5);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}
.theme-product-card__image-wrapper {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
/* Hit-area overlay (Pattern A) */
.theme-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: auto;
  display: block;
}
.theme-product-card * { pointer-events: none; }
.theme-product-card .theme-card-link,
.theme-product-card .add_to_cart_button { pointer-events: auto; }

.theme-product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.7s ease;
}
.theme-product-card:hover .theme-product-card__img { transform: scale(1.05); }

/* Hover overlay with quick-add */
.theme-product-card__image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(45,32,40,0);
  transition: background 0.4s ease;
  pointer-events: none;
  z-index: 0;
}
.theme-product-card:hover .theme-product-card__image-wrapper::after {
  background: rgba(45,32,40,0.08);
}

/* Lovable: bolsa circular; en táctil siempre visible (sin hover fino no se veía) */
.theme-product-card__quick-add-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.4s ease;
}
@media (hover: hover) and (pointer: fine) {
  .theme-product-card__quick-add-overlay {
    opacity: 0;
  }
  .theme-product-card:hover .theme-product-card__quick-add-overlay {
    opacity: 1;
  }
}
.theme-product-card__quick-add-overlay:focus-within {
  opacity: 1;
}
.theme-product-card:focus-within .theme-product-card__image-wrapper::after {
  background: rgba(45,32,40,0.08);
}
/* Anular estilos globales de .add_to_cart_button (min-width 160px, flex:1, etc.) — solo círculo ~42px como Lovable */
.theme-product-card__quick-add-overlay a.add_to_cart_button,
.theme-product-card__quick-add-overlay a.add_to_cart_button.button {
  pointer-events: auto;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: none !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: 0 !important;
  line-height: 0 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  font-weight: 400 !important;
  text-decoration: none !important;
  vertical-align: middle;
}
.theme-product-card__quick-add-overlay a.add_to_cart_button:hover {
  opacity: 1 !important;
  background: transparent !important;
  background-color: transparent !important;
}
.theme-product-card__quick-add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.625rem;
  height: 2.625rem;
  padding: 0;
  box-sizing: border-box;
  border-radius: 9999px;
  background: var(--color-primary);
  color: var(--color-primary-foreground);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease, transform 0.2s ease;
}
.theme-product-card__quick-add-overlay .add_to_cart_button:hover .theme-product-card__quick-add-btn {
  background: color-mix(in srgb, var(--color-primary) 80%, transparent);
}
.theme-product-card__quick-add-overlay .add_to_cart_button:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 9999px;
}
.theme-product-card__quick-add-overlay .add_to_cart_button:focus-visible .theme-product-card__quick-add-btn {
  transform: scale(1.02);
}

.product-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 0.625rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
  background: var(--color-primary);
  color: var(--color-primary-foreground);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.75rem;
  z-index: 2;
  pointer-events: none;
}

.theme-product-card__info {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}
.theme-product-card__cat {
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted-foreground);
  margin-bottom: 0.25rem;
}
.theme-product-card__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: var(--color-foreground);
  margin-bottom: 0.25rem;
  line-height: 1.375;
}
@media (min-width: 768px) {
  .theme-product-card__name { font-size: 1.125rem; }
}
.theme-product-card__price {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
}
.theme-product-card__price span,
.theme-product-card__price ins,
.theme-product-card__price del { color: inherit; }
.theme-product-card__sold-out {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-top: 0.25rem;
}
a.theme-product-card__image-link {
  display: block;
  overflow: hidden;
}
a.theme-product-card__image-link img { display: block; width: 100%; }

/* ──────────────────────────────────────────
   FOUNDER SECTION
   ────────────────────────────────────────── */
.founder-section {
  padding-block: var(--section-py) var(--section-py-lg);
  background: color-mix(in srgb, var(--color-muted) 40%, transparent);
}
.founder-section__card {
  background: var(--color-card);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(229,224,218,0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
@media (min-width: 768px) { .founder-section__card { flex-direction: row; } }
.founder-section__image-wrap { flex-shrink: 0; }
@media (min-width: 768px) { .founder-section__image-wrap { width: 20rem; max-width: 20rem; } }
.founder-section__image {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  display: block;
}
@media (min-width: 768px) { .founder-section__image { height: 100%; } }
.founder-section__content { padding: 2rem; flex: 1; }
@media (min-width: 768px) { .founder-section__content { padding: 3rem; } }
.founder-section__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 1rem;
}
.founder-section__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-foreground);
  margin-bottom: 0.25rem;
  line-height: 1.2;
}
@media (min-width: 768px) {
  .founder-section__name { font-size: 1.875rem; }
}
.founder-section__role {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted-foreground);
  margin-bottom: 1.5rem;
}
.founder-section__text { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.founder-section__text p { font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.8; }
.founder-section__p3 { font-weight: 600 !important; color: var(--color-foreground) !important; }
.founder-section__blockquote {
  border-left: 3px solid var(--color-primary);
  padding-left: 1rem;
}
.founder-section__blockquote p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-style: italic;
  color: rgba(45,32,40,0.8);
  line-height: 1.7;
}

/* ──────────────────────────────────────────
   REVIEWS
   ────────────────────────────────────────── */
.reviews-section {
  padding-block: var(--section-py) var(--section-py-lg);
  background: var(--color-background);
}
.reviews-section__carousel-wrap { position: relative; overflow: hidden; }
.reviews-carousel { overflow: hidden; }
.reviews-carousel__track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.reviews-carousel__item {
  flex: 0 0 100%;
}
@media (min-width: 640px)  { .reviews-carousel__item { flex: 0 0 85%; } }
@media (min-width: 768px)  { .reviews-carousel__item { flex: 0 0 45%; } }
@media (min-width: 1024px) { .reviews-carousel__item { flex: 0 0 calc(33.333% - 1rem); } }

.review-card {
  background: var(--color-card);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  border: 1px solid rgba(229,224,218,0.5);
  display: flex;
  flex-direction: column;
  height: 100%;
}
@media (min-width: 768px) { .review-card { padding: 2rem; } }
.review-card__quote-icon { color: rgba(196,99,122,0.3); margin-bottom: 1rem; flex-shrink: 0; }
.review-card__text { font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.8; flex: 1; margin-bottom: 1.5rem; }
.review-card__footer { display: flex; align-items: center; justify-content: space-between; }
.review-card__name { font-family: 'Cormorant Garamond', serif; font-size: 1rem; font-weight: 600; color: var(--color-foreground); }
.review-card__stars { display: flex; align-items: center; gap: 2px; margin-top: 4px; color: var(--color-accent); }
.review-card__verified {
  font-size: 0.625rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-muted-foreground);
  background: var(--color-muted);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}
.reviews-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}
.carousel-btn {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-background);
  color: var(--color-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.carousel-btn:hover {
  background: var(--color-primary);
  color: var(--color-primary-foreground);
  border-color: var(--color-primary);
}

/* ──────────────────────────────────────────
   FAQ
   ────────────────────────────────────────── */
.faq-section {
  padding-block: var(--section-py) var(--section-py-lg);
  background: color-mix(in srgb, var(--color-muted) 40%, transparent);
}
.faq-section__accordion { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: var(--color-card);
  border: 1px solid rgba(229,224,218,0.5);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.faq-item.is-open { border-color: color-mix(in srgb, var(--color-primary) 30%, transparent); }
.faq-item__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  gap: 1rem;
}
.faq-item__question {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-foreground);
  transition: color 0.3s ease;
}
@media (min-width: 768px) {
  .faq-item__question { font-size: 1.125rem; }
}
.faq-item__trigger:hover .faq-item__question,
.faq-item.is-open .faq-item__question { color: var(--color-primary); }
.faq-item__chevron {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--color-muted-foreground);
}
.faq-item.is-open .faq-item__chevron { transform: rotate(180deg); }
.faq-item__answer {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  line-height: 1.8;
}
.faq-item__answer[hidden] { display: none; }

/* ──────────────────────────────────────────
   CONTACT
   ────────────────────────────────────────── */
.contact-section {
  padding-block: var(--section-py) var(--section-py-lg);
  background: var(--color-background);
}
.contact-section__content {}
.contact-form { max-width: 36rem; margin-inline: auto; }
.contact-form__field { margin-bottom: 1.25rem; }
.contact-form__field .input-field {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.3s ease;
}
.scroll-visible .contact-form__field .input-field {
  opacity: 1;
  transform: translateY(0);
}
.contact-section__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (min-width: 768px) {
  .contact-section__links { gap: 2rem; }
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  transition: color 0.3s ease;
  text-decoration: none;
}
.contact-link svg { color: var(--color-primary); }
.contact-link:hover { color: var(--color-primary); }

/* ──────────────────────────────────────────
   FOOTER
   ────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid rgba(229,224,218,0.5);
  padding-block: 3rem;
  padding-inline: 1.5rem;
}
@media (min-width: 768px) { .site-footer { padding-inline: 3rem; } }
.site-footer__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  text-align: center;
}
.site-footer__logo { display: flex; align-items: center; justify-content: center; }
.site-footer__logo img { height: 5rem !important; }
@media (min-width: 768px) { .site-footer__logo img { height: 7.25rem !important; } }
.site-footer__nav {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.site-footer__nav .theme-footer-nav-list {
  gap: 1rem 1.5rem;
  justify-content: center;
  align-content: center;
}
.site-footer__nav .theme-footer-nav-list li a,
.site-footer__nav .theme-footer-nav-list li button {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-muted-foreground);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
  padding: 0;
}
@media (max-width: 767px) {
  .site-footer__nav .theme-footer-nav-list {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    max-width: 20rem;
    margin-inline: auto;
  }
  .site-footer__nav .theme-footer-nav-list > li {
    width: 100%;
    text-align: center;
  }
  .site-footer__nav .theme-footer-nav-list > li > a,
  .site-footer__nav .theme-footer-nav-list > li > button {
    display: block;
    width: 100%;
    padding: 0.25rem 0;
  }
}
.site-footer__nav .theme-footer-nav-list li a:hover,
.site-footer__nav .theme-footer-nav-list li button:hover { color: var(--color-primary); }
.site-footer__social { display: flex; align-items: center; gap: 1rem; }
.site-footer__social-link { color: var(--color-muted-foreground); transition: color 0.3s ease, transform 0.3s ease; }
.site-footer__social-link:hover { color: var(--color-primary); transform: scale(1.1); }
.site-footer__credits { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; font-size: 0.75rem; }
.site-footer__credits a { text-decoration: underline; transition: color 0.3s ease; }
.site-footer__credits a:hover { color: var(--color-primary); }

/* ──────────────────────────────────────────
   CART DRAWER
   ────────────────────────────────────────── */
#theme-cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
body.cart-open #theme-cart-overlay {
  opacity: 1;
  pointer-events: auto;
}
#theme-cart-drawer {
  position: fixed;
  top: 0; right: 0;
  width: 100%;
  max-width: 28rem;
  height: 100vh;
  background: var(--color-background);
  z-index: 200;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
  box-shadow: -4px 0 24px rgba(0,0,0,0.12);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }

.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}
.cart-drawer__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  color: var(--color-foreground);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cart-drawer__title svg { color: var(--color-primary); }
.cart-drawer__close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-muted-foreground);
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
}
.cart-drawer__close:hover { color: var(--color-foreground); }
.cart-drawer__body { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; }
.cart-drawer__empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  padding: 3rem 1.5rem;
}
.cart-drawer__empty svg { color: rgba(122,112,118,0.4); }
.cart-drawer__empty p { color: var(--color-muted-foreground); }
.cart-drawer__continue {
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-primary);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
}
.cart-drawer__continue:hover { color: rgba(196,99,122,0.8); }
.cart-item {
  display: flex;
  gap: 1rem;
  padding: 0.75rem;
  background: rgba(237,233,229,0.3);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}
.cart-item__img { width: 5rem; height: 5rem; object-fit: cover; border-radius: 0.375rem; flex-shrink: 0; }
.cart-item__info { flex: 1; min-width: 0; }
.cart-item__name { font-family: 'Cormorant Garamond', serif; font-size: 0.875rem; color: var(--color-foreground); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-item__cat { font-size: 0.75rem; color: var(--color-muted-foreground); text-transform: capitalize; }
.cart-item__price { font-size: 0.875rem; font-weight: 700; color: var(--color-primary); margin-top: 0.25rem; }
.cart-item__variation { font-size: 0.7rem; color: var(--color-muted-foreground); }
.cart-item__controls { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; }
.cart-qty-btn {
  padding: 0.25rem;
  border: 1px solid var(--color-border);
  border-radius: 0.25rem;
  background: var(--color-background);
  cursor: pointer;
  color: var(--color-foreground);
  transition: border-color 0.3s ease;
  display: flex;
  align-items: center;
}
.cart-qty-btn:hover { border-color: var(--color-primary); }
.cart-qty-display { font-size: 0.875rem; font-weight: 700; width: 1.5rem; text-align: center; }
.cart-remove-btn {
  margin-left: auto;
  padding: 0.25rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-muted-foreground);
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
}
.cart-remove-btn:hover { color: var(--color-destructive); }
.cart-drawer__footer {
  border-top: 1px solid var(--color-border);
  padding: 1rem 1.5rem;
  flex-shrink: 0;
}
.cart-drawer__subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.cart-drawer__subtotal-label { font-size: 0.875rem; color: var(--color-muted-foreground); }
.cart-drawer__subtotal-value { font-size: 1.125rem; font-weight: 700; color: var(--color-foreground); }
.cart-drawer__checkout-btn {
  display: block;
  width: 100%;
  padding: 0.875rem;
  background: var(--color-primary);
  color: var(--color-primary-foreground);
  text-align: center;
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: var(--radius);
  transition: opacity 0.2s ease;
  cursor: pointer;
  border: none;
  font-family: 'Nunito Sans', sans-serif;
  text-decoration: none;
}
.cart-drawer__checkout-btn:hover { opacity: 0.9; }

/* ──────────────────────────────────────────
   SINGLE PRODUCT PAGE
   ────────────────────────────────────────── */
.single-product .site-main {
  padding-top: var(--header-height);
  padding-bottom: 4rem;
  padding-inline: 1.5rem;
}
@media (min-width: 768px) {
  .single-product .site-main { padding-inline: 3rem; }
}
.theme-product-container { max-width: 72rem; margin-inline: auto; }
.theme-product-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  margin-bottom: 2rem;
  transition: color 0.3s ease;
  background: none;
  border: none;
  cursor: pointer;
}
.theme-product-back:hover { color: var(--color-foreground); }
.theme-product-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  min-width: 0;
}
@media (min-width: 768px) {
  .theme-product-layout { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
}
.theme-product-gallery { min-width: 0; max-width: 100%; }
.theme-product-info { min-width: 0; max-width: 100%; display: flex; flex-direction: column; justify-content: center; }

/* Gallery */
.theme-product-main-img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(237,233,229,0.3);
  margin-bottom: 1rem;
}
.theme-product-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.theme-product-thumbnails {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  max-width: 100%;
}
.theme-product-thumb {
  width: 4rem;
  height: 4rem;
  border-radius: 0.375rem;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: none;
  padding: 0;
  transition: border-color 0.3s ease;
}
.theme-product-thumb.is-active { border-color: var(--color-primary); }
.theme-product-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Product info */
.theme-product-cats {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted-foreground);
  margin-bottom: 0.5rem;
  overflow-wrap: break-word;
  word-break: break-word;
}
.theme-product-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--color-foreground);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}
@media (min-width: 768px) {
  .theme-product-title { font-size: 2.25rem; }
}
.theme-product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}
.theme-product-price .woocommerce-Price-amount { font-size: inherit; font-weight: inherit; color: inherit; }
.theme-product-stock-out {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted-foreground);
  margin-bottom: 1rem;
}
.theme-product-description {
  color: var(--color-muted-foreground);
  line-height: 1.625;
  margin-bottom: 2rem;
  overflow-wrap: break-word;
  word-break: break-word;
}
.theme-product-details-section { margin-top: 1.5rem; }
.theme-product-details-title { font-family: 'Cormorant Garamond', serif; font-size: 1.125rem; color: var(--color-foreground); margin-bottom: 0.75rem; }
.theme-product-details-content { color: var(--color-muted-foreground); line-height: 1.8; overflow-wrap: break-word; word-break: break-word; }

/* Add to cart area */
.theme-add-to-cart-area {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.theme-quantity-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.theme-qty-minus,
.theme-qty-plus {
  padding: 0.75rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-foreground);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
  line-height: 1;
  min-width: 2.75rem;
}
.theme-qty-minus:hover,
.theme-qty-plus:hover { background: rgba(237,233,229,0.5); }
.theme-qty-input {
  width: 3rem;
  text-align: center;
  border: none;
  background: none;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-foreground);
  outline: none;
  -moz-appearance: textfield;
}
.theme-qty-input::-webkit-inner-spin-button,
.theme-qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }

/* Single product add to cart button */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
  background-color: var(--color-primary) !important;
  color: var(--color-primary-foreground) !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: 'Nunito Sans', sans-serif !important;
  font-size: var(--btn-font-size) !important;
  font-weight: var(--btn-font-weight) !important;
  letter-spacing: var(--btn-letter-spacing) !important;
  text-transform: var(--btn-text-transform) !important;
  cursor: pointer !important;
  transition: opacity 0.2s ease !important;
  flex: 1 1 auto;
  min-width: 160px;
  text-decoration: none;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
  opacity: 0.85 !important;
  background-color: var(--color-primary) !important;
  color: var(--color-primary-foreground) !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;
}
/* Hide "View cart" injected by WooCommerce */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward {
  display: none !important;
}

/* Button lock state */
.ajax_add_to_cart.theme-btn-loading {
  opacity: 0.6 !important;
  pointer-events: none !important;
  cursor: wait !important;
}

/* Variations */
.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; }
.single-product .variations tbody td.value { padding-top: 0; }
.theme-attr-select-hidden { display: none !important; }

/* ── Related Products ── */
.related-section { margin-top: 5rem; }
@media (min-width: 768px) { .related-section { margin-top: 7rem; } }
.related-section__heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-foreground);
  text-align: center;
  margin-bottom: 2.5rem;
  line-height: 1.2;
}
@media (min-width: 768px) {
  .related-section__heading { font-size: 1.875rem; }
}
.related-section__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 768px) { .related-section__grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }

/* ──────────────────────────────────────────
   WOOCOMMERCE ARCHIVE / SHOP
   ────────────────────────────────────────── */
.woocommerce-archive .site-main {
  padding-top: var(--header-height);
  padding-bottom: 4rem;
  padding-inline: 1.5rem;
}
@media (min-width: 768px) { .woocommerce-archive .site-main { padding-inline: 3rem; } }
.woocommerce-archive__intro {
  padding-top: 2rem;
  margin-bottom: 3rem;
}

/* ──────────────────────────────────────────
   INNER PAGES (non-home)
   ────────────────────────────────────────── */
.theme-no-hero .site-main {
  padding-top: var(--header-height);
}
.theme-page-main { min-height: 60vh; }
.theme-page-main .container { padding-block: 4rem; }
.page-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-foreground);
  margin-bottom: 2rem;
}

/* ──────────────────────────────────────────
   CHECKOUT
   ────────────────────────────────────────── */
body.woocommerce-checkout .site-main {
  padding-top: var(--header-height);
  padding-bottom: 4rem;
}
body.woocommerce-checkout .entry-content { max-width: 100%; }
body.woocommerce-checkout .wc-block-checkout { display: block; }
@media (min-width: 768px) {
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    align-items: start;
  }
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
  min-width: 0; width: 100%; max-width: none;
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select {
  width: 100% !important; max-width: none !important;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.875rem;
  color: var(--color-foreground);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-card);
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
  border-color: color-mix(in srgb, var(--color-primary) 50%, transparent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 10%, transparent);
  outline: none;
}
body.woocommerce-checkout .wc-block-checkout__sidebar {
  background-color: var(--color-muted);
  border-radius: var(--card-radius);
  padding: 2rem;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  background-color: var(--color-primary) !important;
  color: var(--color-primary-foreground) !important;
  border-radius: var(--radius) !important;
  font-family: 'Nunito Sans', sans-serif !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}
body.woocommerce-checkout h2 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--color-foreground);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* ──────────────────────────────────────────
   THANK YOU PAGE
   ────────────────────────────────────────── */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order { max-width: 48rem; margin-inline: auto; padding: 2rem 0; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--color-foreground);
  padding-bottom: 1rem;
}
body.theme-thankyou-page .woocommerce-order-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  background: var(--color-muted);
  border-radius: var(--card-radius);
  padding: 1.5rem;
}
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 0.875rem; color: var(--color-muted-foreground); }
body.theme-thankyou-page .woocommerce-order-overview li strong { color: var(--color-foreground); display: block; }
body.theme-thankyou-page .woocommerce-order-details table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 0.875rem;
}
body.theme-thankyou-page .woocommerce-order-details table tfoot th { text-align: left; padding: 0.5rem 0; }
body.theme-thankyou-page .woocommerce-order-details table tfoot td { text-align: right; padding: 0.5rem 0; }
body.theme-thankyou-page .woocommerce-customer-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}
body.theme-thankyou-page .woocommerce-customer-details address { overflow-wrap: break-word; max-width: 30rem; }

/* ──────────────────────────────────────────
   WOOCOMMERCE NOTICES
   ────────────────────────────────────────── */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none !important; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  border-left: 3px solid;
}
.woocommerce-message { background: rgba(196,99,122,0.08); border-color: var(--color-primary); color: var(--color-foreground); }
.woocommerce-info    { background: rgba(196,154,69,0.08); border-color: var(--color-accent); color: var(--color-foreground); }
.woocommerce-error   { background: rgba(239,68,68,0.08);  border-color: var(--color-destructive); color: var(--color-foreground); }

/* ──────────────────────────────────────────
   RESPONSIVE
   ────────────────────────────────────────── */
@media (max-width: 767px) {
  .single-product .theme-add-to-cart-area { gap: 0.75rem; }
  .single_add_to_cart_button { min-width: 140px !important; }
}
