/* ============================================================
   Pop&Bare Cosmetics — theme.css
   ============================================================ */

/* ---- Defaults (overridden by Customizer inline CSS) ---- */
:root {
  --color-background:          #f9f6f1;
  --color-foreground:          #15281d;
  --color-primary:             #204632;
  --color-primary-foreground:  #fcfbf8;
  --color-secondary:           #dae7dc;
  --color-accent:              #ce272d;
  --color-accent-foreground:   #fcfbf8;
  --color-muted:               #efede6;
  --color-muted-foreground:    #596960;
  --color-border:              #d9d4c9;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Karla', system-ui, sans-serif;

  --logo-height:        44px;
  --header-height:      80px;
  --admin-bar-offset:   0px;

  --shadow-soft:     0 2px 14px -4px rgba(20,30,18,.08);
  --shadow-elevated: 0 12px 40px -10px rgba(20,30,18,.16);

  --transition: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --btn-radius: 9999px;
  --btn-height: 48px;
  --btn-padding: 0 2rem;
  --btn-font-size: 0.75rem;
  --btn-font-weight: 500;
  --btn-letter-spacing: 0.1em;
  --btn-text-transform: uppercase;

  --card-radius: 2rem 2.75rem 2.25rem 2.5rem / 2.5rem 2.25rem 2.75rem 2rem;
  --card-radius-alt: 2.75rem 2rem 2.5rem 2.25rem / 2.25rem 2.75rem 2rem 2.5rem;

  --checkout-gap: 2.5rem;
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-foreground);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.admin-bar {
  --admin-bar-offset: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar {
    --admin-bar-offset: 46px;
  }
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

/* ============================================================
   CONTAINERS
   ============================================================ */
.container-wide   { width: 100%; max-width: 80rem; margin-inline: auto; padding-inline: 1.25rem; }
.container-narrow { width: 100%; max-width: 56rem; margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 1024px) {
  .container-wide, .container-narrow { padding-inline: 2rem; }
}

/* ============================================================
   UTILITY
   ============================================================ */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-accent);
}

.link-underline { position: relative; display: inline-block; }
.link-underline::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--transition);
}
.link-underline:hover::after { transform: scaleX(1); }

/* Blob shapes */
.blob-card     { border-radius: 2rem 2.75rem 2.25rem 2.5rem / 2.5rem 2.25rem 2.75rem 2rem; }
.blob-card-alt { border-radius: 2.75rem 2rem 2.5rem 2.25rem / 2.25rem 2.75rem 2rem 2.5rem; }
.blob-image    { border-radius: 47% 53% 38% 62% / 56% 41% 59% 44%; overflow: hidden; }
.blob-image-alt{ border-radius: 62% 38% 56% 44% / 41% 59% 41% 59%; overflow: hidden; }
.blob-image-soft { border-radius: 38% 62% 41% 59% / 49% 38% 62% 51%; overflow: hidden; }
.blob-pill     { border-radius: 9999px; }
.blob-tab      { border-radius: 1.25rem 1.75rem 1.5rem 2rem / 1.5rem 1.25rem 2rem 1.5rem; }
.blob-drawer-l { border-radius: 2.5rem 0 0 3rem / 3rem 0 0 2.5rem; }

/* ============================================================
   BUTTONS
   ============================================================ */
.theme-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  height: var(--btn-height);
  padding: var(--btn-padding);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  letter-spacing: var(--btn-letter-spacing);
  text-transform: var(--btn-text-transform);
  font-family: var(--font-body);
  transition: background-color 0.25s, color 0.25s, opacity 0.2s, transform 0.3s;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
}

.theme-btn--primary {
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
  border-color: var(--color-primary);
}
.theme-btn--primary:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-accent-foreground);
  transform: translateY(-2px);
}

.theme-btn--outline {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.theme-btn--outline:hover {
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
  transform: translateY(-2px);
}

/* ============================================================
   LOGO
   ============================================================ */
.site-logo-img  { height: var(--logo-height) !important; width: auto !important; display: block; }
.site-logo-text { line-height: var(--logo-height); display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--color-primary); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: var(--admin-bar-offset); left: 0; right: 0; z-index: 50;
  background-color: color-mix(in srgb, var(--color-background) 70%, transparent);
  backdrop-filter: blur(4px);
  transition: background-color 0.3s, box-shadow 0.3s;
}
.site-header.is-solid {
  background-color: color-mix(in srgb, var(--color-background) 95%, transparent);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-height);
}

.site-logo-wrap {
  display: flex; align-items: center; gap: 0.75rem;
  text-decoration: none;
  transition: opacity 0.3s;
}
.site-logo-wrap:hover { opacity: 0.8; }
.site-logo-wrap .site-logo-img { transition: transform 0.5s var(--transition); }
.site-logo-wrap:hover .site-logo-img { transform: rotate(10deg); }

.site-logo-text-wrap { display: flex; flex-direction: column; line-height: 1; }
.site-logo-text-wrap .site-name { font-family: var(--font-display); font-size: 1.5rem; color: var(--color-primary); letter-spacing: -0.02em; }
.site-logo-text-wrap .site-tagline-small { font-size: 0.5625rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-accent); margin-top: 0.125rem; font-weight: 500; }

.site-nav { display: none; }
@media (min-width: 768px) { .site-nav { display: block; } }
.theme-nav-list { display: flex; align-items: center; gap: 2.5rem; list-style: none; }
.theme-nav-list a,
.theme-nav-link {
  font-size: 0.875rem; color: var(--color-foreground);
  font-family: var(--font-body);
  transition: color 0.2s;
  position: relative; display: inline-block;
  background: none; border: none; cursor: pointer; padding: 0;
}
.theme-nav-list a::after,
.theme-nav-link::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--transition);
}
.theme-nav-list a:hover,
.theme-nav-link:hover { color: var(--color-accent); }
.theme-nav-list a:hover::after,
.theme-nav-link:hover::after { transform: scaleX(1); }

.site-header__actions { display: flex; align-items: center; gap: 0.25rem; }

.cart-btn {
  position: relative; padding: 0.625rem; color: var(--color-foreground);
  transition: color 0.2s; display: flex; align-items: center; justify-content: center;
}
.cart-btn:hover { color: var(--color-accent); }

.theme-cart-count {
  position: absolute; top: 0; right: 0;
  background: var(--color-accent); color: var(--color-accent-foreground);
  font-size: 0.625rem; width: 1rem; height: 1rem;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 600; line-height: 1;
}
.theme-cart-count:empty { display: none; }

.mobile-menu-btn { display: flex; align-items: center; justify-content: center; padding: 0.625rem; }
@media (min-width: 768px) { .mobile-menu-btn { display: none; } }
.mobile-menu-btn .icon-close { display: none; }
.mobile-menu-btn.is-open .icon-menu { display: none; }
.mobile-menu-btn.is-open .icon-close { display: block; }

/* ---- Mobile Menu ---- */
.mobile-menu {
  position: fixed;
  top: var(--admin-bar-offset);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  background-color: var(--color-background);
  transform: translateX(-100%);
  transition: transform 0.35s var(--transition);
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu__header {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-height); border-bottom: 1px solid var(--color-border);
}
.mobile-menu__logo { display: flex; align-items: center; gap: 0.75rem; }
.mobile-menu__logo .site-name { font-family: var(--font-display); font-size: 1.5rem; color: var(--color-primary); }
.mobile-menu-close { padding: 0.625rem; }
.mobile-menu__nav { display: flex; flex-direction: column; gap: 1.5rem; padding-top: 3rem; }
.mobile-nav-link {
  font-family: var(--font-display); font-size: 2.5rem; color: var(--color-primary);
  text-align: left; display: block; transition: color 0.2s;
}
.mobile-nav-link:hover { color: var(--color-accent); }
.mobile-menu-overlay {
  position: fixed;
  top: var(--admin-bar-offset);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 99;
  background: rgba(0,0,0,0.3); display: none;
}
.mobile-menu.is-open ~ #mobile-menu-overlay { display: block; }

/* Header spacer */
.header-spacer { height: calc(var(--header-height) + var(--admin-bar-offset)); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  position: relative; min-height: 90vh;
  display: flex; align-items: center;
  background-color: color-mix(in srgb, var(--color-secondary) 40%, var(--color-background));
  overflow: hidden;
  padding-block: 5rem;
}

/* Organic decorations — outer positions, inner animates (matches OrganicShapes.tsx) */
.hero-decor,
.shop-decor,
.faq-decor,
.contact-decor,
.about-decor,
.organic-decor {
  position: absolute;
  pointer-events: none;
  overflow: visible;
}
.organic-decor--rotated {
  transform: rotate(var(--organic-rotate));
}
.organic-motion {
  width: 100%;
  height: 100%;
  display: block;
}
.organic-motion svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.organic-motion--blob {
  animation: organicBlob 10s ease-in-out infinite;
}
.organic-motion--leaf {
  animation: organicLeaf 12s ease-in-out infinite;
  transform-origin: center center;
}
.organic-motion--sprig {
  animation: organicSprig 14s ease-in-out infinite;
  transform-origin: center center;
}
.organic-motion--bloom {
  animation: organicBloom 80s linear infinite;
  transform-origin: center center;
}
.organic-motion--dot {
  animation: organicDot 7s ease-in-out infinite;
}
.organic-motion--dot .organic-dot-fill {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.hero-decor--blob-sage {
  width: 520px; height: 520px; top: -10rem; left: -10rem;
}
.hero-decor--blob-clay {
  width: 380px; height: 380px; bottom: -8rem; right: -5rem;
}
.hero-decor--sprig {
  width: 18rem; height: 18rem; top: 2.5rem; right: 2.5rem; display: none;
}
@media (min-width: 1024px) { .hero-decor--sprig { display: block; } }
.hero-decor--dot-clay {
  width: 0.75rem; height: 0.75rem; top: 33%; left: 8%;
}
.hero-decor--dot-sage {
  width: 0.5rem; height: 0.5rem; bottom: 25%; left: 14%;
}

.hero-grid {
  display: grid; gap: 3rem; align-items: center;
  position: relative; z-index: 1;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
}

/* Hero content */
.hero-eyebrow { margin-bottom: 1.5rem; }
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5rem);
  color: var(--color-primary);
  line-height: 1; margin-bottom: 1.5rem;
}
.hero-headline__line { display: block; overflow: hidden; padding-bottom: 0.25rem; }
.hero-headline__line--accent {
  font-style: italic; color: var(--color-accent); font-weight: 300;
}
.hero-body {
  font-size: 1rem; line-height: 1.7; color: var(--color-muted-foreground);
  max-width: 36rem; margin-bottom: 2rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-cta-primary, .hero-cta-secondary { height: 3rem; padding: 0 2rem; }

/* Hero slider */
.hero-slider-wrap {
  position: relative;
  animation: heroSliderIn 1.2s 0.2s var(--ease-smooth) both;
}
.hero-slider {
  position: relative; width: 100%; aspect-ratio: 4/5;
  overflow: hidden; border-radius: 1.5rem;
  background: color-mix(in srgb, var(--color-secondary) 40%, var(--color-background));
  box-shadow: var(--shadow-elevated);
}
@media (min-width: 1024px) { .hero-slider { aspect-ratio: 4/5; max-height: 75vh; } }

.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide__link { display: block; width: 100%; height: 100%; }
.hero-slide__img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.hero-slide__overlay {
  position: absolute; inset-x: 0; bottom: 0;
  padding: 1.5rem 2rem;
  background: linear-gradient(to top, rgba(17,30,18,0.7) 0%, rgba(17,30,18,0.2) 60%, transparent 100%);
}
.hero-slide__category {
  font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.2em;
  color: rgba(250,249,245,0.8); margin-bottom: 0.5rem;
}
.hero-slide__info { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.hero-slide__name { font-family: var(--font-display); font-size: clamp(1.25rem, 3vw, 2rem); color: var(--color-primary-foreground); line-height: 1.2; }
.hero-slide__price { font-family: var(--font-display); font-size: clamp(1.1rem, 2.5vw, 1.5rem); color: var(--color-primary-foreground); white-space: nowrap; }
.hero-slide__price span, .hero-slide__price .woocommerce-Price-amount { color: var(--color-primary-foreground); }

.hero-dots {
  position: absolute; top: 1rem; right: 1rem; z-index: 10;
  display: flex; gap: 0.375rem;
  background: rgba(17,30,18,0.3); backdrop-filter: blur(4px);
  padding: 0.5rem 0.75rem; border-radius: 9999px;
}
.hero-dot {
  height: 6px; border-radius: 9999px;
  background: rgba(250,249,245,0.6);
  width: 6px; transition: width 0.5s ease-out, background 0.5s;
}
.hero-dot.is-active { width: 2rem; background: var(--color-primary-foreground); }
.hero-dot:hover { background: var(--color-primary-foreground); }

/* Hero review card */
.hero-review-card {
  display: none;
  position: absolute; top: -1.5rem; left: -1.5rem; z-index: 10;
  background: var(--color-background); border: 1px solid var(--color-border);
  padding: 1.25rem; max-width: 220px;
  border-radius: 2rem 2.75rem 2.25rem 2.5rem / 2.5rem 2.25rem 2.75rem 2rem;
  box-shadow: var(--shadow-elevated);
  animation: heroReviewIn 0.9s 1.1s var(--ease-smooth) both;
}
@media (min-width: 768px) { .hero-review-card { display: block; } }
.hero-stars { display: flex; gap: 0.125rem; color: var(--color-accent); margin-bottom: 0.5rem; }
.hero-review__text { font-family: var(--font-display); font-size: 1.125rem; color: var(--color-primary); line-height: 1.3; }
.hero-review__author { font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--color-muted-foreground); margin-top: 0.5rem; }

/* Hero animate in */
.hero-content { animation: fadeInUp 0.7s var(--transition) both; }
.hero-eyebrow { animation: fadeInUp 0.7s 0s var(--transition) both; }
.hero-headline { animation: fadeInUp 0.9s 0.15s var(--transition) both; }
.hero-body { animation: fadeInUp 0.9s 0.5s var(--transition) both; }
.hero-ctas { animation: fadeInUp 0.9s 0.65s var(--transition) both; }

/* ============================================================
   VALUE STRIP
   ============================================================ */
.value-strip {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-background);
}
.value-strip__grid {
  display: grid;
  grid-template-columns: 1fr;
  divide-color: var(--color-border);
}
@media (min-width: 768px) {
  .value-strip__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .value-item + .value-item {
    border-left: 1px solid var(--color-border);
  }
}
.value-item + .value-item:not([class*="border-l"]) {
  border-top: 1px solid var(--color-border);
}
@media (min-width: 768px) {
  .value-item + .value-item { border-top: none; }
}

.value-item {
  display: flex; align-items: center; gap: 1rem; padding: 2rem;
  transition: all 0.5s;
}
.value-item__icon {
  color: var(--color-accent); flex-shrink: 0;
  transition: transform 0.5s var(--transition);
}
.value-item:hover .value-item__icon { transform: scale(1.1) rotate(-6deg); }
.value-item__title { font-family: var(--font-display); font-size: 1.25rem; color: var(--color-primary); line-height: 1.2; }
.value-item__desc { font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.125rem; }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
  position: relative; padding-block: 6rem;
  background-color: color-mix(in srgb, var(--color-secondary) 30%, var(--color-background));
  overflow: hidden;
  scroll-margin-top: 6rem;
}
.about-decor--bloom {
  width: 20rem; height: 20rem;
  top: -5rem; right: -3.75rem;
}
.about-decor--leaf {
  width: 11rem; height: 11rem;
  bottom: 3rem; left: -1.25rem;
}
.about-decor--dot {
  width: 0.625rem; height: 0.625rem;
  top: 25%; right: 12%;
}

.about-grid {
  display: grid; gap: 4rem;
  position: relative; z-index: 1;
}
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
}

.about-image-col { position: relative; }
.about-img-deco {
  position: absolute;
  display: none;
}
.about-img-deco--tl {
  top: -1.5rem; left: -2rem; width: 10rem; height: 10rem;
  background: color-mix(in srgb, var(--color-accent) 15%, transparent);
}
.about-img-deco--br {
  bottom: -1.5rem; right: -1.5rem; width: 12rem; height: 11rem;
  background: color-mix(in srgb, var(--color-primary) 10%, transparent);
}
@media (min-width: 768px) { .about-img-deco { display: block; } }
.about-img-frame {
  position: relative;
  overflow: hidden; isolation: isolate;
  box-shadow: var(--shadow-elevated);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
}
.about-founder-img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  transform: scale(1.15);
}
.about-image-col.is-visible .about-founder-img {
  animation: aboutImgZoom 1.4s var(--ease-smooth) both;
}

.about-badge {
  position: absolute; bottom: 1.5rem; right: 0.5rem;
  background: var(--color-background);
  border: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-elevated);
  z-index: 2;
}
@media (min-width: 768px) { .about-badge { right: -1.5rem; } }
.about-badge__number { font-family: var(--font-display); font-size: 1.875rem; color: var(--color-primary); line-height: 1; }
.about-badge__number span { color: var(--color-accent); }
.about-badge__label { font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--color-muted-foreground); margin-top: 0.25rem; }

.about-eyebrow-pill {
  display: inline-block; padding: 0.5rem 1.25rem;
  background: color-mix(in srgb, var(--color-accent) 15%, transparent);
  color: var(--color-accent);
  font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.28em; font-weight: 500;
  border-radius: 9999px; margin-bottom: 1.5rem;
}
.about-founder-name { font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 4rem); color: var(--color-primary); margin-bottom: 0.75rem; }
.about-role-italic { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; color: var(--color-accent); margin-bottom: 1.25rem; }
.about-role-label { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.28em; font-weight: 600; color: var(--color-primary); margin-bottom: 1.5rem; }
.about-body { display: flex; flex-direction: column; gap: 1rem; color: var(--color-muted-foreground); line-height: 1.75; }
.about-body strong { color: var(--color-primary); }

.about-credentials {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 2rem;
}
.about-credential {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: color-mix(in srgb, var(--color-background) 60%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
  border-radius: 2.75rem 2rem 2.5rem 2.25rem / 2.25rem 2.75rem 2rem 2.5rem;
}
.about-credential svg { color: var(--color-accent); flex-shrink: 0; }
.about-credential span { font-size: 0.875rem; }

.about-quote {
  margin-top: 2.5rem; padding-left: 1.25rem;
  border-left: 2px solid var(--color-accent);
}
.about-quote p { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: var(--color-primary); line-height: 1.4; }
.about-quote cite { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--color-muted-foreground); margin-top: 0.5rem; font-style: normal; }

.about-social-row { display: flex; align-items: center; gap: 0.75rem; margin-top: 2rem; }
.about-stars { display: flex; color: var(--color-accent); }
.about-ig-link { font-size: 0.875rem; color: var(--color-primary); transition: color 0.2s; }
.about-ig-link:hover { color: var(--color-accent); }

/* ============================================================
   SHOP SECTION
   ============================================================ */
.shop-section {
  position: relative; padding-block: 6rem; overflow: hidden;
  scroll-margin-top: 6rem;
}
.shop-decor--sprig {
  width: 16rem; height: 16rem; top: 8rem; right: -2.5rem;
  display: none;
}
@media (min-width: 768px) { .shop-decor--sprig { display: block; } }
.shop-decor--blob-clay {
  width: 24rem; height: 24rem; bottom: 0; left: -10rem;
}
.shop-section > .container-wide { position: relative; z-index: 1; }

.shop-header {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 1.5rem; margin-bottom: 2.5rem;
}
.shop-eyebrow { margin-bottom: 0.75rem; }
.shop-heading { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.5rem); color: var(--color-primary); }
.shop-count-text { font-size: 0.875rem; color: var(--color-muted-foreground); max-width: 28rem; }

/* Search */
.shop-search-wrap {
  position: relative; max-width: 36rem; margin-bottom: 1.5rem;
}
.shop-search-icon {
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  color: var(--color-muted-foreground); pointer-events: none;
}
.shop-search-input {
  width: 100%; background: transparent; border: none;
  border-bottom: 1px solid var(--color-border);
  padding: 0.75rem 2.25rem 0.75rem 1.75rem;
  font-size: 0.875rem; color: var(--color-foreground);
  outline: none; transition: border-color 0.2s;
}
.shop-search-input::placeholder { color: color-mix(in srgb, var(--color-muted-foreground) 70%, transparent); }
.shop-search-input:focus { border-bottom-color: var(--color-accent); }
.shop-search-clear {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  padding: 0.375rem; color: var(--color-muted-foreground); transition: color 0.2s;
}
.shop-search-clear:hover { color: var(--color-primary); }

/* Category filters */
.shop-filters {
  display: flex; gap: 0.5rem; margin-bottom: 2.5rem;
  overflow-x: auto; -ms-overflow-style: none; scrollbar-width: none;
  margin-inline: -1.25rem; padding-inline: 1.25rem;
}
.shop-filters::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .shop-filters { margin-inline: 0; padding-inline: 0; } }
.shop-filter-tab {
  white-space: nowrap; padding: 0.625rem 1.25rem;
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em;
  border: 1px solid var(--color-border); color: var(--color-foreground);
  background: transparent; transition: all 0.25s; flex-shrink: 0;
}
.shop-filter-tab:hover { border-color: var(--color-primary); }
.shop-filter-tab.is-active {
  background: var(--color-primary); color: var(--color-primary-foreground);
  border-color: var(--color-primary);
}

/* Load more */
.shop-load-more-wrap { margin-top: 3rem; display: flex; justify-content: center; }
.shop-load-more-btn { }

/* Empty state */
.shop-empty-state {
  padding-block: 5rem; text-align: center;
  border: 1px dashed var(--color-border);
  border-radius: var(--card-radius);
}
.shop-empty__heading { font-family: var(--font-display); font-size: 1.5rem; color: var(--color-primary); margin-bottom: 0.5rem; }
.shop-empty__sub { font-size: 0.875rem; color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.shop-reset-btn { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-accent); transition: color 0.2s; }
.shop-reset-btn:hover { color: var(--color-primary); }

/* ============================================================
   PRODUCT GRID
   ============================================================ */
.theme-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }
@media (min-width: 1280px) { .theme-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.theme-product-grid--3 {
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .theme-product-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ============================================================
   PRODUCT CARD
   ============================================================ */
.theme-product-card {
  position: relative;
  background: var(--color-primary-foreground);
  border: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
  border-radius: 2rem 2.75rem 2.25rem 2.5rem / 2.5rem 2.25rem 2.75rem 2rem;
  display: flex; flex-direction: column; height: 100%;
  transition: border-color 0.5s, box-shadow 0.5s, border-radius 0.5s;
  overflow: hidden;
}
.theme-product-card:hover {
  border-color: color-mix(in srgb, var(--color-accent) 50%, transparent);
  box-shadow: var(--shadow-elevated);
  border-radius: 2.75rem 2rem 2.5rem 2.25rem / 2.25rem 2.75rem 2rem 2.5rem;
  transform: translateY(-4px);
}

/* Hit-area overlay link — card navigates to single product; Add button stays interactive */
.theme-card-link {
  position: absolute; inset: 0; z-index: 1;
  display: block;
  cursor: pointer;
  text-decoration: none;
}
.theme-product-card * { pointer-events: none; }
.theme-card-link,
.theme-product-card__add-btn,
.theme-product-card__sold-out { pointer-events: auto; }

.theme-product-card__image-wrapper {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin: 0.75rem 0.75rem 0;
  border-radius: 0.75rem 1rem 0.75rem 1rem / 1rem 0.75rem 1rem 0.75rem;
  background: color-mix(in srgb, var(--color-secondary) 30%, var(--color-background));
}
.theme-product-card__img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  display: block; transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
.theme-product-card:hover .theme-product-card__img { transform: scale(1.08); }

.theme-product-card__info {
  padding: 1.25rem; display: flex; flex-direction: column; flex: 1;
}
.theme-product-card__cat { margin-bottom: 0.5rem; }
.theme-product-card__name {
  font-family: var(--font-display); font-size: 1.5rem; color: var(--color-primary);
  line-height: 1.2; margin-bottom: 0.5rem; transition: color 0.2s;
}
.theme-product-card:hover .theme-product-card__name { color: var(--color-accent); }
.theme-product-card__desc {
  font-size: 0.75rem; color: var(--color-muted-foreground);
  line-height: 1.6; margin-bottom: 1rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.theme-product-card__footer {
  display: flex; align-items: center; justify-content: space-between; margin-top: auto;
  min-width: 0; gap: 0.5rem;
}
.theme-product-card__price {
  font-family: var(--font-display); font-size: 1.5rem; color: var(--color-foreground);
  min-width: 0;
}
.theme-product-card__price .woocommerce-Price-amount { font-family: var(--font-display); font-size: 1.5rem; }
.theme-product-card__add-btn {
  display: flex; align-items: center; gap: 0.375rem;
  padding: 0.5rem 1rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em;
  font-weight: 500; background: var(--color-primary); color: var(--color-primary-foreground);
  border-radius: 9999px; transition: background 0.2s, opacity 0.2s;
  position: relative; z-index: 2;
}
.theme-product-card__add-btn:hover { background: var(--color-accent); }
.theme-product-card__add-btn.theme-btn-loading { opacity: 0.6; pointer-events: none; cursor: wait; }
.add-btn-text { display: none; }
@media (min-width: 640px) { .add-btn-text { display: inline; } }
.theme-product-card__sold-out {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--color-muted-foreground); position: relative; z-index: 2;
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-section {
  position: relative; padding-block: 6rem;
  background-color: color-mix(in srgb, var(--color-secondary) 30%, var(--color-background));
  overflow: hidden;
  scroll-margin-top: 6rem;
}
.faq-decor--leaf {
  width: 14rem; height: 14rem; top: -2.5rem; left: -2.5rem;
}
.faq-decor--bloom {
  width: 16rem; height: 16rem; bottom: -3.75rem; right: -2.5rem;
}
.faq-decor--dot {
  width: 0.5rem; height: 0.5rem; top: 33%; right: 10%;
}
.faq-section > .container-narrow { position: relative; z-index: 1; }

.faq-header { text-align: center; margin-bottom: 3rem; }
.faq-eyebrow { margin-bottom: 0.75rem; }
.faq-heading { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.5rem); color: var(--color-primary); }

.faq-accordion { position: relative; z-index: 1; }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item__trigger {
  width: 100%; text-align: left; display: flex; align-items: center;
  justify-content: space-between; gap: 1rem;
  padding-block: 1.5rem; background: none; border: none;
  cursor: pointer; transition: color 0.2s;
}
.faq-item__trigger:hover { color: var(--color-accent); }
.faq-item__question { font-family: var(--font-display); font-size: clamp(1.1rem, 2.5vw, 1.5rem); color: var(--color-primary); transition: color 0.2s; flex: 1; }
.faq-item__trigger:hover .faq-item__question { color: var(--color-accent); }
.faq-item__chevron { flex-shrink: 0; transition: transform 0.3s var(--transition); color: var(--color-primary); }
.faq-item__trigger[aria-expanded="true"] .faq-item__chevron { transform: rotate(180deg); }
.faq-item__body { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--transition); }
.faq-item__body.is-open { }
.faq-item__answer { color: var(--color-muted-foreground); line-height: 1.75; font-size: 1rem; padding-bottom: 1.5rem; }

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
  position: relative; padding-block: 6rem; overflow: hidden;
  scroll-margin-top: 6rem;
}
.contact-decor--sprig {
  width: 18rem; height: 18rem; top: 2.5rem; left: -3.75rem; display: none;
}
@media (min-width: 768px) { .contact-decor--sprig { display: block; } }
.contact-decor--blob-clay {
  width: 26rem; height: 26rem; bottom: -10rem; right: -7.5rem;
}
.contact-decor--dot {
  width: 0.75rem; height: 0.75rem; top: 25%; right: 20%;
}

.contact-grid { display: grid; gap: 4rem; position: relative; z-index: 1; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

.contact-eyebrow { margin-bottom: 0.75rem; }
.contact-heading { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.5rem); color: var(--color-primary); margin-bottom: 1.5rem; line-height: 1.1; }
.contact-body { color: var(--color-muted-foreground); line-height: 1.75; margin-bottom: 2rem; max-width: 28rem; }
.contact-links { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-link-item {
  display: flex; align-items: center; gap: 1rem;
  transition: transform 0.3s; text-decoration: none;
}
.contact-link-item:hover { transform: translateX(4px); }
.contact-link-icon {
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: var(--color-primary); color: var(--color-primary-foreground);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; flex-shrink: 0;
}
.contact-link-item:hover .contact-link-icon { background: var(--color-accent); }
.contact-link-label { font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--color-muted-foreground); }
.contact-link-value { font-family: var(--font-display); font-size: 1.25rem; color: var(--color-primary); }

/* Contact form */
.contact-form {
  background: var(--color-primary-foreground); border: 1px solid var(--color-border);
  padding: 2rem; display: flex; flex-direction: column; gap: 1.25rem;
}
@media (min-width: 768px) { .contact-form { padding: 2.5rem; } }
.contact-form__heading { font-family: var(--font-display); font-size: 1.875rem; color: var(--color-primary); margin-bottom: -0.25rem; }
.contact-form__field { display: flex; flex-direction: column; gap: 0.5rem; }
.contact-form__label { font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--color-muted-foreground); }
.contact-form__input,
.contact-form__textarea {
  width: 100%; background: transparent; border: none;
  border-bottom: 1px solid var(--color-border);
  padding: 0.75rem 0; font-size: 1rem; color: var(--color-foreground);
  outline: none; transition: border-color 0.2s; font-family: var(--font-body);
}
.contact-form__input:focus,
.contact-form__textarea:focus { border-bottom-color: var(--color-accent); }
.contact-form__textarea { resize: none; }
.contact-form__submit { width: 100%; }
.contact-form__arrow { transition: transform 0.3s; }
.contact-form__submit:hover .contact-form__arrow { transform: translateX(4px); }
.contact-form__status { padding: 0.75rem 1rem; border-radius: 0.5rem; font-size: 0.875rem; }
.contact-form__status--success { background: color-mix(in srgb, var(--color-primary) 10%, transparent); color: var(--color-primary); }
.contact-form__status--error { background: color-mix(in srgb, var(--color-accent) 10%, transparent); color: var(--color-accent); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--color-primary); color: var(--color-primary-foreground); }
.site-footer__grid {
  display: grid; gap: 2.5rem; padding-block: 4rem;
}
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; }
}
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 2fr 1fr 1fr; } }

.site-footer__logo-wrap { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.75rem; }
.site-footer__logo-img { border-radius: 50%; background: rgba(250,249,245,0.1); padding: 0.25rem; }
.site-footer__brand-name { font-family: var(--font-display); font-size: 1.875rem; }
.site-footer__desc { font-size: 0.875rem; opacity: 0.8; max-width: 28rem; line-height: 1.6; }
.site-footer__founded { font-size: 0.75rem; opacity: 0.6; font-style: italic; margin-top: 1rem; }

.site-footer__col-title { font-family: var(--font-display); font-size: 1.125rem; margin-bottom: 1rem; }
.theme-footer-nav-list { display: flex; flex-direction: column; gap: 0.625rem; list-style: none; }
.theme-footer-nav-list a { font-size: 0.875rem; opacity: 0.8; transition: opacity 0.2s, color 0.2s; }
.theme-footer-nav-list a:hover { opacity: 1; color: var(--color-accent); }

.site-footer__connect-links { display: flex; flex-direction: column; gap: 0.625rem; font-size: 0.875rem; opacity: 0.8; }
.site-footer__contact-link { display: flex; align-items: center; gap: 0.5rem; transition: opacity 0.2s, color 0.2s; }
.site-footer__contact-link:hover { opacity: 1; color: var(--color-accent); }
.site-footer__social-link { display: block; margin-top: 0.125rem; transition: opacity 0.2s, color 0.2s; }
.site-footer__social-link:hover { opacity: 1; color: var(--color-accent); }

.site-footer__bottom { border-top: 1px solid rgba(250,249,245,0.1); padding-block: 1.25rem; }
.site-footer__bottom-inner {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  gap: 0.5rem; font-size: 0.75rem; opacity: 0.6; text-align: center;
}
@media (min-width: 768px) { .site-footer__bottom-inner { flex-direction: row; } }
.site-footer__credit-link { text-decoration: underline; transition: color 0.2s, opacity 0.2s; }
.site-footer__credit-link:hover { color: var(--color-accent); opacity: 1; }

/* ============================================================
   CART DRAWER
   ============================================================ */
body.cart-open { overflow: hidden; }
body.cart-open #theme-cart-drawer { transform: translateX(0); }
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }

#theme-cart-overlay {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(17,30,18,0.3);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}

#theme-cart-drawer {
  position: fixed; right: 0; top: 0; height: 100%; z-index: 70;
  width: 100%; max-width: 28rem;
  background: var(--color-background);
  box-shadow: var(--shadow-elevated);
  border-radius: 2.5rem 0 0 3rem / 3rem 0 0 2.5rem;
  overflow: hidden;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
#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.5rem; border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}
.cart-drawer__title { font-family: var(--font-display); font-size: 1.5rem; color: var(--color-primary); }
.cart-drawer__close { padding: 0.25rem; color: var(--color-foreground); transition: opacity 0.2s; }
.cart-drawer__close:hover { opacity: 0.6; }

.cart-drawer__empty {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 2rem; text-align: center;
}
.cart-drawer__empty-icon { color: var(--color-muted-foreground); margin-bottom: 1rem; }
.cart-drawer__empty-msg { color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.cart-drawer__continue { }

.cart-drawer__items {
  flex: 1; overflow-y: auto; padding: 1.5rem;
  display: flex; flex-direction: column; gap: 1.25rem;
}

.cart-item {
  display: flex; gap: 1rem; padding-bottom: 1.25rem;
  border-bottom: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
}
.cart-item:last-child { border-bottom: none; padding-bottom: 0; }
.cart-item__image-link { flex-shrink: 0; }
.cart-item__image-link img {
  width: 5rem; height: 5rem; object-fit: cover;
  background: color-mix(in srgb, var(--color-secondary) 30%, var(--color-background));
  border-radius: 38% 62% 41% 59% / 49% 38% 62% 51%;
}
.cart-item__info { flex: 1; min-width: 0; }
.cart-item__name { font-family: var(--font-display); font-size: 1.125rem; color: var(--color-primary); line-height: 1.2; display: block; margin-bottom: 0.25rem; }
.cart-item__price { font-size: 0.75rem; color: var(--color-muted-foreground); margin-bottom: 0.5rem; }
.cart-item__variation { font-size: 0.75rem; color: var(--color-muted-foreground); margin-bottom: 0.5rem; }
.cart-item__controls { display: flex; align-items: center; gap: 0.75rem; }
.cart-item__qty-wrap {
  display: flex; align-items: center;
  border: 1px solid var(--color-border); overflow: hidden;
}
.cart-item__qty-btn { padding: 0.375rem 0.5rem; transition: background 0.2s; }
.cart-item__qty-btn:hover { background: var(--color-secondary); }
.cart-item__qty { padding-inline: 0.75rem; font-size: 0.875rem; }
.cart-item__remove { color: var(--color-muted-foreground); transition: color 0.2s; }
.cart-item__remove:hover { color: var(--color-accent); }
.cart-item__total { font-family: var(--font-display); font-size: 1.125rem; color: var(--color-foreground); flex-shrink: 0; }

.cart-drawer__footer {
  border-top: 1px solid var(--color-border); padding: 1.5rem;
  display: flex; flex-direction: column; gap: 1rem; flex-shrink: 0;
}
.cart-drawer__subtotal { display: flex; justify-content: space-between; font-family: var(--font-display); font-size: 1.5rem; color: var(--color-primary); }
.cart-drawer__note { font-size: 0.6875rem; color: var(--color-muted-foreground); font-style: italic; text-align: center; }
.cart-drawer__checkout { width: 100%; }

/* ============================================================
   SINGLE PRODUCT PAGE
   ============================================================ */
.single-product .site-main { min-height: 60vh; }

.product-back-nav { padding-top: 1.5rem; padding-bottom: 0.5rem; }
.product-back-link {
  display: inline-flex; align-items: center; gap: 0.375rem;
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--color-muted-foreground); transition: color 0.2s;
}
.product-back-link:hover { color: var(--color-primary); }

.product-section { padding-bottom: 6rem; }

.theme-product-layout {
  display: grid; gap: 3rem;
  min-width: 0;
}
@media (min-width: 1024px) {
  .theme-product-layout { grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
}

/* Gallery */
.theme-product-gallery { min-width: 0; max-width: 100%; }
.theme-product-main-img-wrap { overflow: hidden; border-radius: 47% 53% 38% 62% / 56% 41% 59% 44%; }
.theme-product-main-img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.theme-product-thumbnails {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; max-width: 100%;
}
.theme-product-thumb {
  width: 4.5rem; height: 4.5rem; border-radius: 0.5rem;
  overflow: hidden; border: 2px solid transparent;
  transition: border-color 0.2s; flex-shrink: 0;
}
.theme-product-thumb.is-active { border-color: var(--color-accent); }
.theme-product-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Product info */
.theme-product-info { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) { .theme-product-info { position: sticky; top: calc(var(--header-height) + 1.5rem); } }

.product-categories { margin-bottom: 1rem; overflow-wrap: break-word; word-break: break-word; }
.product-categories a { color: var(--color-accent); }

.product-title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.5rem); color: var(--color-primary); line-height: 1.05; margin-bottom: 1.25rem; }
.product-price { font-family: var(--font-display); font-size: 1.875rem; color: var(--color-accent); margin-bottom: 2rem; }
.product-price .woocommerce-Price-amount { font-family: var(--font-display); font-size: 1.875rem; color: var(--color-accent); }

.product-stock { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.5rem; }
.product-stock--in { color: var(--color-primary); }
.product-stock--out { color: var(--color-muted-foreground); }

.product-description { color: var(--color-muted-foreground); line-height: 1.75; margin-bottom: 2.5rem; overflow-wrap: break-word; word-break: break-word; }

/* Feature badges */
.product-features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  padding-block: 1.5rem; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border);
  margin-bottom: 2.5rem;
}
.product-feature-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.5rem; }
.product-feature-icon { color: var(--color-accent); }
.product-feature-item span { font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--color-muted-foreground); }

/* Add to cart */
.theme-add-to-cart-area {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.single-product .theme-add-to-cart-area { flex-wrap: wrap; gap: 0.75rem; }
.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }

.theme-quantity-wrapper {
  display: flex; align-items: center; overflow: hidden;
  border: 1px solid var(--color-border); border-radius: 9999px;
}
.theme-qty-minus, .theme-qty-plus {
  padding: 0.75rem; transition: background 0.2s; font-size: 1.125rem; line-height: 1;
  display: flex; align-items: center; justify-content: center; min-width: 2.75rem;
}
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-input {
  width: 3.5rem; text-align: center; border: none; background: transparent;
  font-size: 0.875rem; font-family: var(--font-body); outline: none;
  -moz-appearance: textfield;
}
.theme-qty-input::-webkit-outer-spin-button,
.theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Variations table */
.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; }
.single-product .variations select {
  width: 100%; padding: 0.5rem 0.75rem;
  border: 1px solid var(--color-border); border-radius: 0.5rem;
  background: var(--color-background); color: var(--color-foreground);
  font-family: var(--font-body); outline: none;
}

/* Product details */
.product-details { margin-top: 1.5rem; margin-bottom: 1rem; }
.product-details__title { font-family: var(--font-display); font-size: 1.25rem; color: var(--color-primary); margin-bottom: 0.5rem; }
.product-details__content { color: var(--color-muted-foreground); line-height: 1.75; overflow-wrap: break-word; word-break: break-word; }
.product-shipping-note { font-size: 0.6875rem; color: var(--color-muted-foreground); font-style: italic; margin-top: 1.5rem; }

/* Related products */
.related-products-section { padding-block: 6rem; background: color-mix(in srgb, var(--color-secondary) 30%, var(--color-background)); }
.related-products__header { text-align: center; max-width: 36rem; margin-inline: auto; margin-bottom: 3rem; }
.related-products__header .eyebrow { margin-bottom: 0.75rem; }
.related-products__heading { font-family: var(--font-display); font-size: clamp(1.75rem, 3.5vw, 2.5rem); color: var(--color-primary); }

/* ============================================================
   WOOCOMMERCE ADD TO CART BUTTON OVERRIDES
   ============================================================ */
.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: 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-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;
}

/* Card compact button overrides */
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
  min-height: unset !important;
  padding: 0.5rem 1rem !important;
  border-radius: 9999px !important;
  height: auto !important;
}
.theme-product-card .theme-product-card__add-btn:hover,
.theme-product-card .add_to_cart_button.ajax_add_to_cart:hover {
  background-color: var(--color-accent) !important;
  color: var(--color-primary-foreground) !important;
  opacity: 1 !important;
}

/* Hide "View cart" 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; }

/* Hide single-product WC notice (drawer provides feedback) */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }

/* Button lock state */
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }

/* ============================================================
   WOOCOMMERCE SHOP ARCHIVE
   ============================================================ */
.woocommerce-archive .shop-header { margin-bottom: 2rem; }
.woocommerce-pagination { margin-top: 3rem; display: flex; justify-content: center; }
.woocommerce-pagination .page-numbers {
  display: flex; gap: 0.5rem; list-style: none;
}
.woocommerce-pagination .page-numbers a,
.woocommerce-pagination .page-numbers span {
  padding: 0.5rem 0.875rem; border: 1px solid var(--color-border);
  border-radius: 0.5rem; font-size: 0.875rem; transition: all 0.2s;
}
.woocommerce-pagination .page-numbers a:hover { border-color: var(--color-primary); color: var(--color-primary); }
.woocommerce-pagination .page-numbers .current { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }
.shop-no-products { color: var(--color-muted-foreground); grid-column: 1 / -1; text-align: center; padding-block: 4rem; }

/* ============================================================
   GENERIC PAGES
   ============================================================ */
.site-main { padding-top: 0; }
.theme-no-hero .site-main { padding-top: 0; }
.page-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--color-primary);
  padding: 2rem 0 1rem;
}
.entry-content { padding-bottom: 3rem; }

/* ============================================================
   CHECKOUT (two columns — matches Lovable Checkout.tsx)
   ============================================================ */
.site-main--checkout {
  padding-top: calc(var(--header-height) + var(--admin-bar-offset) + 1.5rem);
  padding-bottom: 6rem;
}

.checkout-back-nav {
  margin-bottom: 2rem;
}
.checkout-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted-foreground);
  text-decoration: none;
  transition: color 0.2s;
}
.checkout-back-link:hover {
  color: var(--color-primary);
}

.checkout-page-header {
  margin-bottom: 3rem;
}
.checkout-page-eyebrow {
  margin-bottom: 0.75rem;
}
.checkout-page-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  color: var(--color-primary);
  line-height: 1.05;
  margin: 0;
}

body.woocommerce-checkout .site-main {
  padding-top: calc(var(--header-height) + var(--admin-bar-offset) + 1.5rem);
  padding-bottom: 6rem;
}
body.woocommerce-checkout .entry-content,
body.woocommerce-checkout .entry-content--checkout {
  max-width: 100%;
  padding-bottom: 0;
}

/* Shared order-summary sidebar (Lovable: sticky aside, secondary/40, blob-card) */
body.woocommerce-checkout .theme-checkout-sidebar {
  background: color-mix(in srgb, var(--color-secondary) 40%, var(--color-background));
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  padding: 2rem;
  position: sticky;
  top: calc(var(--header-height) + var(--admin-bar-offset) + 2rem);
  align-self: start;
}

/* —— WooCommerce Blocks checkout —— */
body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wc-block-checkout {
  margin-top: 0;
}

@media (min-width: 1024px) {
  body.woocommerce-checkout .wc-block-components-sidebar-layout,
  body.woocommerce-checkout .wc-block-components-sidebar-layout.is-medium,
  body.woocommerce-checkout .wc-block-components-sidebar-layout.is-small,
  body.woocommerce-checkout .wc-block-components-sidebar-layout.is-mobile {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 400px !important;
    gap: 3rem !important;
    align-items: start !important;
    flex-direction: row !important;
    margin-inline: 0 !important;
  }

  /* Older block markup without sidebar-layout wrapper */
  body.woocommerce-checkout .wc-block-checkout:has(> .wc-block-checkout__main) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 400px !important;
    gap: 3rem !important;
    align-items: start !important;
  }

  body.woocommerce-checkout .wc-block-components-main,
  body.woocommerce-checkout .wc-block-checkout__main {
    grid-column: 1;
    grid-row: 1;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  body.woocommerce-checkout .wc-block-components-sidebar,
  body.woocommerce-checkout .wc-block-checkout__sidebar {
    grid-column: 2;
    grid-row: 1;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
  }
}

body.woocommerce-checkout .wc-block-components-sidebar,
body.woocommerce-checkout .wc-block-checkout__sidebar {
  background: color-mix(in srgb, var(--color-secondary) 40%, var(--color-background));
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  padding: 2rem !important;
  position: sticky;
  top: calc(var(--header-height) + var(--admin-bar-offset) + 2rem);
  align-self: start;
}

/* Order summary — inner spacing so content isn’t flush to card edges */
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block {
  padding-inline: 0.5rem;
}

body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-order-summary,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-totals,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-totals-wrapper,
body.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-order-summary,
body.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-totals,
body.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-totals-wrapper {
  padding-inline: 0.5rem;
}

body.woocommerce-checkout .wc-block-components-order-summary-item,
body.woocommerce-checkout .wc-block-components-totals-item,
body.woocommerce-checkout .wc-block-components-panel {
  padding-inline: 0.25rem;
}

body.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-panel,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-panel {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-combobox-control input {
  width: 100% !important;
  max-width: none !important;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-foreground);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
  padding: 0.75rem 0;
  box-shadow: none !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-combobox-control input:focus {
  border-color: var(--color-accent);
  outline: none;
}

body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-components-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-primary);
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  background-color: var(--color-primary) !important;
  color: var(--color-primary-foreground) !important;
  border-radius: 9999px !important;
  font-family: var(--font-body) !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  min-height: 3rem !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
  background-color: var(--color-accent) !important;
}

/* —— Classic WooCommerce checkout shortcode —— */
@media (min-width: 1024px) {
  body.woocommerce-checkout form.checkout.woocommerce-checkout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 3rem;
    align-items: start;
  }

  body.woocommerce-checkout form.checkout #customer_details {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
  }

  body.woocommerce-checkout form.checkout #order_review_heading {
    grid-column: 2;
    grid-row: 1;
    width: 100% !important;
    float: none !important;
    margin: 0 0 1rem !important;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-primary);
  }

  body.woocommerce-checkout form.checkout #order_review {
    grid-column: 2;
    grid-row: 2;
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    background: color-mix(in srgb, var(--color-secondary) 40%, var(--color-background));
    border: 1px solid var(--color-border);
    border-radius: var(--card-radius);
    padding: 2rem;
    position: sticky;
    top: calc(var(--header-height) + var(--admin-bar-offset) + 2rem);
  }

  body.woocommerce-checkout .col2-set {
    display: block;
    width: 100% !important;
  }

  body.woocommerce-checkout .col2-set .col-1,
  body.woocommerce-checkout .col2-set .col-2 {
    width: 100% !important;
    float: none !important;
    margin: 0 0 2rem !important;
  }
}

body.woocommerce-checkout form.checkout .form-row input.input-text,
body.woocommerce-checkout form.checkout .form-row textarea,
body.woocommerce-checkout form.checkout .form-row select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-foreground);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
  padding: 0.75rem 0;
  box-shadow: none;
}
body.woocommerce-checkout form.checkout .form-row input.input-text:focus,
body.woocommerce-checkout form.checkout .form-row select:focus {
  border-color: var(--color-accent);
  outline: none;
}

body.woocommerce-checkout form.checkout h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

body.woocommerce-checkout #place_order {
  background-color: var(--color-primary) !important;
  color: var(--color-primary-foreground) !important;
  border-radius: 9999px !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  width: 100%;
  min-height: 3rem;
}
body.woocommerce-checkout #place_order:hover {
  background-color: var(--color-accent) !important;
}

@media (max-width: 1023px) {
  body.woocommerce-checkout .wc-block-components-sidebar,
  body.woocommerce-checkout .wc-block-checkout__sidebar,
  body.woocommerce-checkout form.checkout #order_review {
    position: static;
    margin-top: 2rem;
  }
}


/* ============================================================
   THANK YOU PAGE
   ============================================================ */
body.theme-thankyou-page .woocommerce-order { max-width: 800px; margin-inline: auto; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
  font-family: var(--font-display); color: var(--color-primary); padding-bottom: 1rem;
}
body.theme-thankyou-page .woocommerce-order-overview {
  display: flex; flex-wrap: wrap; gap: 1rem; list-style: none;
  padding: 1.5rem; background: var(--color-primary-foreground); border: 1px solid var(--color-border);
  border-radius: var(--card-radius); margin-bottom: 2rem;
}
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-primary); }
body.theme-thankyou-page .woocommerce-order-details table {
  width: 100%; table-layout: fixed; border-collapse: collapse;
}
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td { padding: 0.75rem 0.5rem; border-bottom: 1px solid var(--color-border); font-size: 0.875rem; }
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 { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-customer-details { display: flex; flex-direction: column; gap: 1.5rem; }
body.theme-thankyou-page .woocommerce-customer-details address { max-width: 480px; overflow-wrap: break-word; }

/* ============================================================
   WOOCOMMERCE NOTICES
   ============================================================ */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  padding: 1rem 1.25rem; margin-bottom: 1.5rem;
  border-radius: 0.5rem; font-size: 0.875rem;
  border-left: 3px solid;
}
.woocommerce-message { background: color-mix(in srgb, var(--color-primary) 8%, var(--color-background)); border-color: var(--color-primary); color: var(--color-primary); }
.woocommerce-info { background: color-mix(in srgb, var(--color-secondary) 40%, var(--color-background)); border-color: var(--color-secondary); color: var(--color-foreground); }
.woocommerce-error { background: color-mix(in srgb, var(--color-accent) 8%, var(--color-background)); border-color: var(--color-accent); color: var(--color-accent); }

/* ============================================================
   ANIMATIONS
   ============================================================ */

/* Scroll reveal — matches Framer whileInView presets in Index.tsx */
.motion-reveal {
  opacity: 0;
  transition:
    opacity var(--motion-duration, 0.85s) var(--ease-smooth),
    transform var(--motion-duration, 0.85s) var(--ease-smooth),
    filter var(--motion-duration, 0.85s) var(--ease-smooth);
}
.motion-reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

.motion-reveal--value {
  transform: translateY(24px);
  filter: blur(6px);
}
.motion-reveal--value.is-visible { --motion-duration: 0.85s; }

.motion-reveal--about-image {
  transform: translateX(-40px) scale(0.96);
  filter: none;
}
.motion-reveal--about-image.is-visible { --motion-duration: 1.1s; }

.motion-reveal--about-content {
  transform: translateY(30px);
  filter: blur(8px);
}
.motion-reveal--about-content.is-visible { --motion-duration: 1s; }

.motion-reveal--badge {
  transform: translateY(20px);
  filter: none;
}
.motion-reveal--badge.is-visible { --motion-duration: 0.9s; }

.motion-reveal--section-header {
  transform: translateY(28px);
  filter: blur(6px);
}
.motion-reveal--section-header.is-visible { --motion-duration: 0.95s; }

.motion-reveal--faq-header {
  transform: translateY(24px);
  filter: blur(6px);
}
.motion-reveal--faq-header.is-visible { --motion-duration: 0.95s; }

.motion-reveal--faq-item {
  transform: translateY(16px);
  filter: none;
}
.motion-reveal--faq-item.is-visible { --motion-duration: 0.7s; }

.motion-reveal--from-left {
  transform: translateX(-30px);
  filter: blur(6px);
}
.motion-reveal--from-left.is-visible { --motion-duration: 1s; }

.motion-reveal--from-right {
  transform: translateX(30px);
  filter: blur(6px);
}
.motion-reveal--from-right.is-visible { --motion-duration: 1s; }

@keyframes aboutImgZoom {
  from { transform: scale(1.15); }
  to { transform: scale(1); }
}

@keyframes heroSliderIn {
  from { opacity: 0; transform: scale(0.96); filter: blur(8px); }
  to { opacity: 1; transform: scale(1); filter: blur(0); }
}

@keyframes heroReviewIn {
  from { opacity: 0; transform: translate(-10px, 20px); }
  to { opacity: 1; transform: translate(0, 0); }
}

/* OrganicShapes.tsx — Framer keyframe equivalents */
@keyframes organicBlob {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(12px, -28px) rotate(6deg); }
}

@keyframes organicLeaf {
  0%, 100% { transform: rotate(0deg) translate(0, 0); }
  25% { transform: rotate(-8deg) translate(4px, -8px); }
  50% { transform: rotate(0deg) translate(8px, -16px); }
  75% { transform: rotate(8deg) translate(4px, -8px); }
}

@keyframes organicSprig {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  25% { transform: rotate(5deg) translateY(-10px); }
  50% { transform: rotate(0deg) translateY(-20px); }
  75% { transform: rotate(-5deg) translateY(-10px); }
}

@keyframes organicBloom {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes organicDot {
  0%, 100% { transform: translate(0, 0); opacity: 0.7; }
  50% { transform: translate(10px, -18px); opacity: 1; }
}

@keyframes fadeInUp   { from { opacity: 0; transform: translateY(1.25rem); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInLeft { from { opacity: 0; transform: translateX(-1rem); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeInRight{ from { opacity: 0; transform: translateX(1rem);  } to { opacity: 1; transform: translateX(0); } }

@media (prefers-reduced-motion: reduce) {
  .organic-motion,
  .organic-motion--blob,
  .organic-motion--leaf,
  .organic-motion--sprig,
  .organic-motion--bloom,
  .organic-motion--dot,
  .hero-decor,
  .shop-decor,
  .faq-decor,
  .contact-decor,
  .about-decor { animation: none !important; }

  .about-founder-img,
  .hero-slider-wrap,
  .hero-review-card,
  .motion-reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
  }
}

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
#scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 100;
  background: var(--color-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.1s linear;
}

/* ============================================================
   RESPONSIVE FIXES
   ============================================================ */
.single-product .theme-product-layout { min-width: 0; }
.single-product .theme-product-gallery,
.single-product .theme-product-info { min-width: 0; max-width: 100%; }
.single-product .theme-product-thumbnails { flex-wrap: wrap; max-width: 100%; }
.single-product .theme-add-to-cart-area { flex-wrap: wrap; gap: 0.75rem; }
.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }
