/* =============================================================
   POSITIVE JOURNALS — THEME CSS
   ============================================================= */

/* ---- Google Fonts are loaded via wp_enqueue_style ---- */

/* ---- CSS Variables ---- */
:root {
  --color-primary:              #7c5c3e;
  --color-primary-foreground:   #f5f0ea;
  --color-background:           #f8f4f0;
  --color-foreground:           #2a1f18;
  --color-secondary:            #ede8e0;
  --color-secondary-foreground: #2e2418;
  --color-muted:                #d9d3cb;
  --color-muted-foreground:     #6b5f54;
  --color-border:               #d5cfc6;
  --color-accent:               #4a7a5e;
  --color-button-text:          #f5f0ea;
  --logo-height:                40px;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', -apple-system, sans-serif;

  --shadow-soft:     0 4px 20px -4px rgba(42,31,24,0.06);
  --shadow-elevated: 0 8px 40px -8px rgba(42,31,24,0.12);

  --radius:      0.375rem;
  --radius-lg:   0.75rem;
  --radius-full: 9999px;

  --btn-height:         2.75rem;
  --btn-radius:         0.375rem;
  --btn-padding:        0 2.5rem;
  --btn-font-size:      0.9375rem;
  --btn-font-weight:    500;
  --btn-letter-spacing: 0.01em;
  --btn-text-transform: none;
  --btn-icon-padding:   0.625rem;

  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: cubic-bezier(0.25, 0.4, 0.25, 1);

  --header-height:  5rem;
  --section-py:     5rem;
  --card-radius:    0.5rem;
  --container-max:  80rem;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); line-height: 1.2; }

img, video { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button { cursor: pointer; background: none; border: none; font-family: inherit; }

ul { list-style: none; }

input, textarea, select {
  font-family: var(--font-body);
  font-size: 0.875rem;
}

/* ---- Utility ---- */
.italic { font-style: italic; }
.scroll-mt { scroll-margin-top: 5rem; }
.container-wide {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
@media (min-width: 1024px) {
  .container-wide { padding-inline: 2rem; }
}
.text-center { text-align: center; }
.py-section { padding-block: var(--section-py); }
.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted-foreground);
  font-weight: 400;
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 3.125rem);
  font-weight: 600;
  line-height: 1.15;
}
.section-subtext {
  color: var(--color-muted-foreground);
  font-family: var(--font-body);
  max-width: 32rem;
  margin-inline: auto;
}

/* ---- Animations ---- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

.animate-fade-in  { animation: fadeIn  0.5s var(--transition-smooth) forwards; }
.animate-slide-up { animation: slideUp 0.5s var(--transition-smooth) forwards; }
.animate-scale-in { animation: scaleIn 0.5s var(--transition-smooth) forwards; }

[data-animate] { opacity: 0; transform: translateY(30px); transition: opacity 0.7s var(--transition-spring), transform 0.7s var(--transition-spring); }
[data-animate].is-visible { opacity: 1; transform: translateY(0); }
[data-animate-child] { opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--transition-spring), transform 0.6s var(--transition-spring); }
[data-animate-child].is-visible { opacity: 1; transform: translateY(0); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  letter-spacing: var(--btn-letter-spacing);
  text-transform: var(--btn-text-transform);
  border-radius: var(--btn-radius);
  min-height: var(--btn-height);
  padding: var(--btn-padding);
  transition: opacity 0.2s ease, transform 0.1s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-button-text);
}
.btn-primary:hover { opacity: 0.85; }
.btn-primary:active { transform: scale(0.97); }
.btn-outline {
  background-color: transparent;
  color: var(--color-foreground);
  border: 1px solid var(--color-border);
}
.btn-outline:hover { background-color: var(--color-secondary); }
.btn-ghost {
  background-color: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-ghost:hover { background-color: rgba(255,255,255,0.2); }
.btn-sm { font-size: 0.8125rem; min-height: 2.25rem; padding: 0 1.25rem; }
.btn-lg { font-size: 1rem; min-height: 3rem; padding: 0 2.5rem; }
.btn:disabled, .btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
html.admin-bar {
  margin-top: 0 !important;
}
body.admin-bar .site-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}
.site-header.is-solid {
  background-color: rgba(248,244,240,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom-color: var(--color-border);
}
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}
@media (min-width: 1024px) {
  .site-nav { height: var(--header-height); }
}

/* Nav left/right groups */
.site-nav__left,
.site-nav__right {
  display: none;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
}
@media (min-width: 1024px) {
  .site-nav__left  { display: flex; }
  .site-nav__right { display: flex; justify-content: flex-end; }
}

/* Nav links */
.nav-link {
  position: relative;
  font-family: var(--font-body);
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  color: var(--color-foreground);
  transition: color 0.3s ease;
  display: inline-block;
}
.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-smooth);
}
.nav-link:hover::after { transform: scaleX(1); }
.site-header:not(.is-solid) .nav-link {
  color: rgba(255,255,255,0.9);
}
.site-header:not(.is-solid) .nav-link:hover { color: #fff; }

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-foreground);
  transition: color 0.3s ease;
}
@media (min-width: 1024px) {
  .site-logo { font-size: 1.5rem; justify-content: center; }
}
.site-header:not(.is-solid) .site-logo { color: #fff; }

.site-logo-img {
  width: 2.25rem;
  height: 2.25rem;
  display: block;
  border-radius: 9999px;
  object-fit: cover;
  border: 1px solid rgba(124,92,62,0.3);
  flex-shrink: 0;
  transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease, border-width 0.3s ease;
}
.site-header:not(.is-solid) .site-logo-img {
  width: 0;
  height: 0;
  opacity: 0;
  border-width: 0;
  overflow: hidden;
}
.site-logo-text {
  display: block;
  line-height: 1.2;
  white-space: nowrap;
}

/* Cart button */
.cart-btn {
  position: relative;
  padding: 0.5rem;
  color: var(--color-foreground);
  transition: opacity 0.2s ease;
  display: flex;
  align-items: center;
}
.cart-btn:hover { opacity: 0.6; }
.site-header:not(.is-solid) .cart-btn { color: #fff; }

/* Cart badge */
.theme-cart-count {
  position: absolute;
  top: 0;
  right: 0;
  width: 1.25rem;
  height: 1.25rem;
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
  border-radius: 9999px;
  font-size: 0.625rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  line-height: 1;
}
.theme-cart-count:empty { display: none; }

@media (max-width: 1023px) {
  .cart-btn.desktop-only { display: none !important; }
}

/* Mobile header controls — cart + hamburger side by side */
.site-nav__mobile-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.site-nav__mobile-controls .cart-btn,
.site-nav__mobile-controls .hamburger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Hamburger */
.hamburger-btn {
  display: flex;
  align-items: center;
  padding: 0.5rem;
  color: var(--color-foreground);
  transition: opacity 0.2s ease;
}
.hamburger-btn:hover { opacity: 0.6; }
.site-header:not(.is-solid) .hamburger-btn { color: #fff; }
@media (min-width: 1024px) {
  .hamburger-btn { display: none; }
  .site-nav__mobile-controls { display: none; }
}

/* Mobile menu — only visible on small screens when toggled open */
.mobile-menu[hidden] {
  display: none;
}
.mobile-menu:not([hidden]) {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid var(--color-border);
  padding: 1rem 0;
  animation: fadeIn 0.3s ease;
}
@media (min-width: 1024px) {
  .mobile-menu { display: none !important; }
}
.mobile-nav-link {
  font-family: var(--font-body);
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  padding: 0.625rem 0;
  color: var(--color-foreground);
  transition: color 0.2s ease;
  border-bottom: none;
}
.mobile-nav-link:hover { color: var(--color-muted-foreground); }

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--color-foreground);
}
.hero-video-wrap {
  position: absolute;
  inset: 0;
  will-change: transform;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(42,31,24,0.5);
  pointer-events: none;
  transition: opacity 0.3s;
}
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding-block: 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero-eyebrow-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.hero-eyebrow-line {
  height: 1px;
  width: 2rem;
  background-color: rgba(255,255,255,0.4);
  display: block;
}
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  font-weight: 300;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}
.hero-title-line1 { display: block; }
.hero-title-line2 { display: block; }
.hero-subtitle {
  color: rgba(255,255,255,0.6);
  max-width: 32rem;
  margin-bottom: 2.5rem;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
  padding-inline: 1rem;
  width: 100%;
}
@media (min-width: 640px) {
  .hero-ctas { flex-direction: row; }
}
.hero-cta1 { min-width: 10rem; }
.hero-cta2 { min-width: 10rem; }

/* ============================================================
   BENEFITS
   ============================================================ */
.benefits-section { overflow: hidden; }
.benefits-inner { padding-block: 5rem; }
@media (min-width: 768px) { .benefits-inner { padding-block: 7rem; } }
.benefits-header {
  text-align: center;
  margin-bottom: 4rem;
}
.benefits-header .section-subtext { margin-top: 1rem; }
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 56rem;
  margin-inline: auto;
}
@media (min-width: 640px)  { .benefits-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .benefits-grid { grid-template-columns: repeat(4, 1fr); } }

.benefit-card { text-align: center; padding-inline: 1rem; }
.benefit-icon {
  width: 3.5rem;
  height: 3.5rem;
  background-color: var(--color-secondary);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--color-primary);
}
.benefit-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}
.benefit-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.benefit-desc {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  line-height: 1.6;
}

/* ============================================================
   FOUNDER
   ============================================================ */
.founder-section {
  background-color: var(--color-secondary);
}
.founder-inner {
  padding-block: 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 768px) {
  .founder-inner {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding-block: 6rem;
  }
}
.founder-text { order: 2; }
@media (min-width: 768px) { .founder-text { order: 1; } }
.founder-text .eyebrow { margin-bottom: 0.5rem; }
.founder-name {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3.5vw, 3rem);
  font-weight: 600;
  margin-bottom: 1.5rem;
  margin-top: 0.5rem;
}
.founder-bio {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: var(--color-muted-foreground);
  font-family: var(--font-body);
  line-height: 1.7;
}
.founder-photos {
  order: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (min-width: 768px) { .founder-photos { order: 2; } }
.founder-photo-wrap {
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.founder-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3/4;
  transition: transform 0.6s var(--transition-spring);
}
.founder-photo-wrap:hover .founder-photo { transform: scale(1.03); }

/* ============================================================
   ABOUT
   ============================================================ */
.about-section { position: relative; overflow: hidden; }
.about-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(42,31,24,0.75);
}
.about-inner {
  position: relative;
  z-index: 10;
  padding-block: 5rem;
}
@media (min-width: 768px) { .about-inner { padding-block: 7rem; } }
.about-content {
  max-width: 48rem;
  margin-inline: auto;
  text-align: center;
}
.about-heading {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3.5vw, 3.125rem);
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.5rem;
}
.about-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.about-tab {
  padding: 0.5rem 1rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: all 0.3s ease;
}
.about-tab:hover { border-color: rgba(255,255,255,0.5); }
.about-tab.is-active {
  background-color: #fff;
  color: var(--color-foreground);
  border-color: #fff;
}
.about-tab-content { position: relative; }
.about-tab-panel {
  display: none;
  color: rgba(255,255,255,0.8);
  font-family: var(--font-body);
  text-align: center;
}
.about-tab-panel.is-active { display: block; }
.about-tab-panel p { margin-bottom: 1rem; line-height: 1.7; }
.about-tab-panel p:last-child { margin-bottom: 0; }

/* ============================================================
   SHOP
   ============================================================ */
.shop-section { overflow: hidden; }
.shop-inner { padding-block: 4rem 5rem; }
@media (min-width: 768px) { .shop-inner { padding-block: 5rem 6.25rem; } }
.shop-header { text-align: center; margin-bottom: 3rem; }
.shop-heading { margin-top: 0.5rem; }
.shop-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}
.shop-filter-btn {
  padding: 0.625rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  border-radius: var(--radius);
  background-color: var(--color-secondary);
  color: var(--color-secondary-foreground);
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.1s ease;
  border: none;
  cursor: pointer;
}
.shop-filter-btn:hover { background-color: var(--color-muted); }
.shop-filter-btn.is-active {
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
}
.shop-filter-btn:active { transform: scale(0.95); }

/* Product Grid */
.shop-products-grid,
.theme-product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
}
@media (min-width: 768px) { .shop-products-grid, .theme-product-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .shop-products-grid, .theme-product-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

/* Product Card */
.theme-product-card-wrap {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.theme-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--color-background);
  transition: transform 0.3s var(--transition-spring), box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
}
.theme-product-card:not(.theme-product-card--coming-soon):hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
}
.theme-product-card__image-wrapper {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  margin: 0.75rem;
  border-radius: calc(var(--radius-lg) - 2px);
}
.theme-product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--transition-spring);
}
.theme-product-card:hover .theme-product-card__image { transform: scale(1.05); }
.theme-product-card__image.is-dim { opacity: 0.6; }

.badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius);
  z-index: 1;
}
.badge--sold-out {
  background-color: var(--color-foreground);
  color: var(--color-background);
}
.badge--coming-soon {
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
}

.theme-product-card__body {
  border-top: 1px solid var(--color-border);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.theme-product-card__name-row {
  padding: 1rem 1.25rem;
}
.theme-product-card__name {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.3s ease;
  min-width: 0;
  overflow-wrap: break-word;
}
.theme-product-card:hover .theme-product-card__name { color: var(--color-primary); }
.theme-product-card__footer {
  border-top: 1px solid var(--color-border);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-width: 0;
  margin-top: auto;
}
.theme-product-card__price {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-muted-foreground);
  min-width: 0;
}
.theme-product-card__price .woocommerce-Price-amount { font-size: 0.875rem; color: var(--color-muted-foreground); }
.theme-product-card__cat {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted-foreground);
  flex-shrink: 0;
}

.shop-empty {
  text-align: center;
  padding-block: 5rem;
  color: var(--color-muted-foreground);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { background-color: var(--color-secondary); }
.testimonials-inner {
  padding-block: 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .testimonials-inner {
    grid-template-columns: 30% 1fr;
    gap: 3rem;
    padding-block: 6rem;
  }
}
.testimonials-left { display: flex; flex-direction: column; gap: 1.5rem; }
.testimonials-heading {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3.5vw, 3.125rem);
  font-weight: 600;
  line-height: 1.2;
}
.testimonials-heart { color: var(--color-primary); }
.testimonials-video-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  flex: 1;
  min-height: 18.75rem;
}
.testimonials-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.testimonials-video-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(42,31,24,0.2);
}
.testimonials-stat {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 10;
}
.testimonials-stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 3.75rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
@media (min-width: 768px) { .testimonials-stat-number { font-size: 4.5rem; } }
.testimonials-stat-label {
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
  font-family: var(--font-body);
  margin-top: 0.25rem;
}

/* Review Cards */
.testimonials-right { display: flex; flex-direction: column; gap: 1.25rem; }
.review-card {
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: transform 0.3s var(--transition-spring), box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: default;
}
.review-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 30px -8px rgba(42,31,24,0.1);
  border-color: rgba(124,92,62,0.3);
}
.pj-stars { display: flex; gap: 2px; margin-bottom: 0.75rem; }
.pj-star {
  color: var(--color-primary);
  flex-shrink: 0;
}
.pj-star:not(.filled) { color: var(--color-muted); }
.review-text {
  font-size: 0.875rem;
  font-family: var(--font-body);
  line-height: 1.6;
  color: rgba(42,31,24,0.8);
  margin-bottom: 1rem;
}
.review-author { display: flex; align-items: center; gap: 0.75rem; }
.review-avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background-color: rgba(124,92,62,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-primary);
  font-family: var(--font-body);
  flex-shrink: 0;
}
.review-name {
  font-size: 0.875rem;
  font-weight: 500;
  font-family: var(--font-body);
}
.review-role {
  font-size: 0.75rem;
  color: var(--color-muted-foreground);
  font-family: var(--font-body);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-section {}
.faq-inner {
  padding-block: 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .faq-inner {
    grid-template-columns: 40% 1fr;
    gap: 4rem;
    padding-block: 6rem;
  }
}
.faq-left .eyebrow { margin-bottom: 0.5rem; }
.faq-heading {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3.5vw, 3.125rem);
  font-weight: 600;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}
.faq-subtext {
  color: var(--color-muted-foreground);
  font-family: var(--font-body);
  margin-bottom: 2rem;
}
.faq-image-wrap {
  overflow: hidden;
  border-radius: var(--radius-lg);
  display: none;
}
@media (min-width: 1024px) { .faq-image-wrap { display: block; } }
.faq-image { width: 100%; height: auto; object-fit: cover; aspect-ratio: 4/3; }

#faq-sticky-left {
  position: sticky;
  top: 7rem;
}

/* FAQ Accordion */
.faq-right { }
.faq-item {
  border-top: 1px solid var(--color-border);
}
.faq-item:last-child { border-bottom: 1px solid var(--color-border); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.25rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-foreground);
  transition: color 0.2s ease;
  gap: 1rem;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question:hover { color: var(--color-primary); }
.faq-toggle {
  color: var(--color-muted-foreground);
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  display: inline-block;
}
details[open] .faq-toggle { transform: rotate(45deg); }
.faq-answer {
  padding-bottom: 1.25rem;
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  font-family: var(--font-body);
  line-height: 1.6;
  padding-right: 2rem;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section { position: relative; overflow: hidden; }
.contact-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.contact-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(42,31,24,0.8);
}
.contact-inner {
  position: relative;
  z-index: 10;
  padding-block: 5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .contact-inner { grid-template-columns: 1fr 1fr; gap: 4rem; padding-block: 7rem; }
}
.contact-info-col { display: flex; flex-direction: column; justify-content: space-between; }
.contact-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.contact-subtext {
  color: rgba(255,255,255,0.6);
  font-family: var(--font-body);
  max-width: 28rem;
  margin-bottom: 3rem;
}
.contact-details { display: flex; flex-direction: column; gap: 2rem; }
.contact-details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.contact-detail-heading {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.75rem;
}
.contact-social-links { display: flex; flex-direction: column; gap: 0.5rem; }
.contact-social-link {
  color: rgba(255,255,255,0.6);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: color 0.2s ease;
}
.contact-social-link:hover { color: #fff; }
.contact-detail-text {
  color: rgba(255,255,255,0.6);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
}
.contact-detail-link {
  color: rgba(255,255,255,0.6);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: color 0.2s ease;
  text-decoration: none;
}
.contact-detail-link:hover { color: #fff; }

/* Contact Form Box */
.contact-form-box {
  background-color: var(--color-background);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
@media (min-width: 768px) { .contact-form-box { padding: 2.5rem; } }
.contact-form-heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.contact-form-subtext {
  color: var(--color-muted-foreground);
  font-family: var(--font-body);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--color-secondary);
  border: none;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  color: var(--color-foreground);
  font-family: var(--font-body);
  transition: box-shadow 0.3s ease;
  outline: none;
}
.form-input::placeholder { color: var(--color-muted-foreground); }
.form-input:focus { box-shadow: 0 0 0 2px rgba(124,92,62,0.35); }
.form-textarea { resize: none; }
.form-inquiry-wrap {}
.form-inquiry-label {
  font-size: 0.875rem;
  font-weight: 500;
  font-family: var(--font-body);
  margin-bottom: 0.75rem;
}
.form-inquiry-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.inquiry-pill {
  padding: 0.5rem 1rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  border-radius: 9999px;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-muted-foreground);
  cursor: pointer;
  transition: all 0.3s ease;
}
.inquiry-pill:hover { border-color: rgba(42,31,24,0.4); }
.inquiry-pill.is-active {
  background-color: var(--color-foreground);
  color: var(--color-background);
  border-color: var(--color-foreground);
}
.contact-submit { width: 100%; }

/* Contact success state */
.contact-success-msg {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 31.25rem;
  padding: 2rem;
}
.contact-success-icon {
  width: 4rem;
  height: 4rem;
  background-color: var(--color-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-foreground);
  margin-bottom: 1.5rem;
}
.contact-success-heading {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.contact-success-text {
  color: var(--color-muted-foreground);
  font-family: var(--font-body);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--color-border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-block: 3rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 3rem; padding-block: 4rem; }
}
.footer-logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-foreground);
  margin-bottom: 1rem;
  text-decoration: none;
}
.footer-logo-img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  object-fit: cover;
  border: 1px solid rgba(124,92,62,0.3);
  flex-shrink: 0;
}
.footer-logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.footer-tagline {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  max-width: 22rem;
  line-height: 1.6;
  font-family: var(--font-body);
  margin-top: 1rem;
}
.footer-social { display: flex; gap: 1rem; margin-top: 1rem; }
.footer-social-link {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  font-family: var(--font-body);
  transition: color 0.2s ease;
}
.footer-social-link:hover { color: var(--color-foreground); }
.footer-col-heading {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.theme-footer-nav-list { display: flex; flex-direction: column; gap: 0.75rem; }
.theme-footer-nav-list li a,
.theme-footer-nav-list a {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  font-family: var(--font-body);
  transition: color 0.2s ease;
  text-decoration: none;
}
.theme-footer-nav-list li a:hover,
.theme-footer-nav-list a:hover { color: var(--color-foreground); }
.footer-contact-list { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  font-family: var(--font-body);
}
.footer-contact-item svg { flex-shrink: 0; }
.footer-contact-link {
  color: inherit;
  transition: color 0.2s ease;
}
.footer-contact-link:hover { color: var(--color-foreground); }
.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  padding-bottom: 2rem;
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}
.footer-copyright { font-size: 0.75rem; color: var(--color-muted-foreground); font-family: var(--font-body); }
.footer-credit-link {
  font-size: 0.75rem;
  color: var(--color-muted-foreground);
  font-family: var(--font-body);
  transition: color 0.2s ease;
}
.footer-credit-link:hover { color: var(--color-foreground); }

/* ============================================================
   CART DRAWER
   ============================================================ */
#theme-cart-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(42,31,24,0.2);
  z-index: 100;
}
body.cart-open #theme-cart-overlay { display: block; }

body.admin-bar #theme-cart-drawer {
  top: 32px;
  height: calc(100% - 32px);
}
@media screen and (max-width: 782px) {
  body.admin-bar #theme-cart-drawer {
    top: 46px;
    height: calc(100% - 46px);
  }
}
#theme-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  max-width: 28rem;
  background-color: var(--color-background);
  z-index: 101;
  box-shadow: var(--shadow-elevated);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s var(--transition-smooth);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }

.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.125rem;
  font-weight: 700;
}
.cart-close-btn {
  padding: 0.25rem;
  color: var(--color-foreground);
  transition: opacity 0.2s ease;
}
.cart-close-btn:hover { opacity: 0.6; }

.cart-empty-state {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
}
.cart-empty-icon { color: var(--color-muted-foreground); margin-bottom: 1rem; }
.cart-empty-text {
  color: var(--color-muted-foreground);
  font-family: var(--font-body);
  margin-bottom: 1.5rem;
}

.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.cart-item {
  display: flex;
  gap: 1rem;
}
.cart-item-img-link {
  width: 5rem;
  height: 6rem;
  background-color: var(--color-secondary);
  overflow: hidden;
  flex-shrink: 0;
  display: block;
}
.cart-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: var(--font-body);
  color: var(--color-foreground);
  text-decoration: none;
  transition: opacity 0.2s ease;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cart-item-name:hover { opacity: 0.7; }
.cart-item-price {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  font-family: var(--font-body);
  margin-top: 0.25rem;
}
.cart-item-variation {
  font-size: 0.75rem;
  color: var(--color-muted-foreground);
  font-family: var(--font-body);
  margin-top: 0.125rem;
}
.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.cart-qty-btn {
  padding: 0.25rem;
  border-radius: var(--radius);
  transition: background-color 0.2s ease;
  color: var(--color-foreground);
}
.cart-qty-btn:hover { background-color: var(--color-secondary); }
.cart-qty-num {
  font-size: 0.875rem;
  min-width: 1.5rem;
  text-align: center;
  font-family: var(--font-body);
}
.cart-remove-btn {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--color-muted-foreground);
  font-family: var(--font-body);
  transition: color 0.2s ease;
}
.cart-remove-btn:hover { color: var(--color-foreground); }

.cart-drawer-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-shrink: 0;
}
.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  font-family: var(--font-body);
}
.cart-subtotal-label { color: var(--color-muted-foreground); }
.cart-subtotal-value { font-weight: 500; }
.cart-shipping-note {
  font-size: 0.75rem;
  color: var(--color-muted-foreground);
  font-family: var(--font-body);
}
.cart-checkout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--btn-height);
  background-color: var(--color-primary);
  color: var(--color-button-text);
  border-radius: var(--btn-radius);
  font-family: var(--font-body);
  font-size: var(--btn-font-size);
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s ease;
  width: 100%;
}
.cart-checkout-btn:hover { opacity: 0.85; }

/* ============================================================
   INNER PAGES (product, checkout, etc.)
   ============================================================ */
.theme-inner-page { padding-top: var(--header-height); }
.page-content-wrap { padding-block: 3rem; }

/* Page heading */
.page-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
}
.page-404-text {
  color: var(--color-muted-foreground);
  margin-bottom: 2rem;
  font-family: var(--font-body);
}

/* ============================================================
   WOOCOMMERCE — SINGLE PRODUCT PAGE
   ============================================================ */
.single-product main,
.woocommerce-page.single-product .site-main {
  padding-top: var(--header-height);
}

.theme-product-layout {
  padding-block: 1.5rem 5rem;
}
.theme-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  font-family: var(--font-body);
  transition: color 0.2s ease;
  margin-bottom: 1.5rem;
  text-decoration: none;
}
.theme-back-link:hover { color: var(--color-foreground); }

.theme-product-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 5rem;
}
@media (min-width: 1024px) {
  .theme-product-main { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

/* Gallery */
.theme-product-gallery { min-width: 0; max-width: 100%; }
.theme-product-main-img-wrap {
  aspect-ratio: 3/4;
  background-color: var(--color-secondary);
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
}
#product-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s ease;
}
.theme-product-thumbnails {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 100%;
}
.theme-thumb-btn {
  flex: 0 0 auto;
  width: calc(20% - 0.5rem);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  border: 2px solid transparent;
  opacity: 0.6;
  transition: border-color 0.2s ease, opacity 0.2s ease;
  cursor: pointer;
  padding: 0;
}
.theme-thumb-btn:hover { opacity: 1; }
.theme-thumb-btn.is-active { border-color: var(--color-primary); opacity: 1; }
.theme-thumb-btn img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Product Info */
.theme-product-info {
  min-width: 0;
  max-width: 100%;
}
@media (min-width: 1024px) { .theme-product-info { padding-top: 2.5rem; } }

.theme-product-cat {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted-foreground);
  margin-bottom: 0.5rem;
}
.theme-product-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  margin-bottom: 1rem;
}
.theme-product-price {
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}
.theme-product-description,
.theme-product-description p {
  color: var(--color-muted-foreground);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.625;
  margin-bottom: 2rem;
  white-space: pre-line;
  overflow-wrap: break-word;
  word-break: break-word;
}
.theme-product-description p:last-child { margin-bottom: 0; }

/* Add to cart area */
.theme-add-to-cart-area {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.theme-quantity-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
}
.theme-qty-minus, .theme-qty-plus {
  padding: 0.75rem 1rem;
  font-size: 1rem;
  color: var(--color-foreground);
  transition: background-color 0.2s ease;
  border: none;
  background: none;
  cursor: pointer;
}
.theme-qty-minus:hover, .theme-qty-plus:hover { background-color: var(--color-secondary); }
.theme-qty-input {
  width: 3rem;
  text-align: center;
  border: none;
  background: none;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-foreground);
  -moz-appearance: textfield;
  padding: 0.75rem 0;
}
.theme-qty-input::-webkit-outer-spin-button,
.theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.theme-qty-input:focus { outline: none; }

.theme-btn-primary {
  flex: 1 1 auto;
  min-width: 10rem;
  background-color: var(--color-primary) !important;
  color: var(--color-button-text) !important;
  border: none !important;
  border-radius: var(--btn-radius) !important;
  min-height: var(--btn-height) !important;
  padding: var(--btn-padding) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: var(--font-body) !important;
  font-size: var(--btn-font-size) !important;
  font-weight: var(--btn-font-weight) !important;
  letter-spacing: var(--btn-letter-spacing) !important;
  cursor: pointer !important;
  transition: opacity 0.2s ease !important;
  text-decoration: none;
}
.theme-btn-primary:hover { opacity: 0.85 !important; }
.theme-btn-primary.disabled,
.theme-btn-primary:disabled {
  cursor: not-allowed !important;
  opacity: 0.4 !important;
  pointer-events: none !important;
}

/* Product Details Section */
.theme-product-details {
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
}
.theme-product-details-title {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.theme-product-details-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.theme-product-details-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  font-family: var(--font-body);
  overflow-wrap: break-word;
  word-break: break-word;
}
.theme-product-details-list li::before {
  content: '';
  width: 0.375rem;
  height: 0.375rem;
  background-color: var(--color-primary);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.5rem;
}

/* Related Products */
.theme-related-products {
  border-top: 1px solid var(--color-border);
  padding-block: 5rem;
}
.theme-related-heading {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
  margin-bottom: 2.5rem;
}
.theme-related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 32rem;
}
@media (min-width: 768px) { .theme-related-grid { grid-template-columns: 1fr 1fr; } }

/* Stock Indicator */
.theme-stock-sold-out {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-family: var(--font-body);
  color: var(--color-muted-foreground);
  margin-bottom: 1rem;
}

/* ============================================================
   WOOCOMMERCE — WC BUTTON OVERRIDES (Section 11.4.1)
   ============================================================ */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
  background-color: var(--color-primary) !important;
  color: var(--color-button-text) !important;
  border: none !important;
  border-radius: var(--btn-radius) !important;
  min-height: var(--btn-height) !important;
  padding: var(--btn-padding) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: var(--font-body) !important;
  font-size: var(--btn-font-size) !important;
  font-weight: var(--btn-font-weight) !important;
  letter-spacing: var(--btn-letter-spacing) !important;
  text-transform: var(--btn-text-transform) !important;
  cursor: pointer !important;
  transition: opacity 0.2s ease !important;
  text-decoration: none !important;
  flex: 1 1 auto;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
  opacity: 0.85 !important;
  background-color: var(--color-primary) !important;
  color: var(--color-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
  cursor: not-allowed !important;
  opacity: 0.4 !important;
  pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
  opacity: 0.4 !important;
  background-color: var(--color-primary) !important;
}
/* Hide "View cart" link after AJAX add (Section 11.4.2) */
.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; }

/* Loading state */
.ajax_add_to_cart.theme-btn-loading {
  opacity: 0.6 !important;
  pointer-events: none !important;
  cursor: wait !important;
}

/* ============================================================
   WOOCOMMERCE — ARCHIVE PAGE
   ============================================================ */
.theme-shop-page { padding-top: var(--header-height); }
.theme-shop-inner { padding-block: 4rem; }
.theme-shop-header {
  text-align: center;
  margin-bottom: 3rem;
}
.theme-shop-title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 600;
}

/* ============================================================
   WOOCOMMERCE — NOTICES (Section 14.1)
   ============================================================ */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  background-color: var(--color-secondary);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-foreground);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.woocommerce-error {
  border-left-color: #e53e3e;
  background-color: #fff5f5;
}

/* ============================================================
   WOOCOMMERCE — CHECKOUT (Section 13)
   ============================================================ */
body.woocommerce-checkout .site-main {
  padding-top: var(--header-height);
  padding-bottom: 4rem;
}
body.woocommerce-checkout .entry-content { max-width: 100%; }
body.woocommerce-checkout .page-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

/* Checkout two-column grid */
@media (min-width: 768px) {
  body.woocommerce-checkout .wc-block-checkout {
    display: block;
  }
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
    display: grid;
    grid-template-columns: 1fr 24rem;
    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;
}

/* Sidebar styling */
body.woocommerce-checkout .wc-block-checkout__sidebar {
  background-color: var(--color-secondary);
  border-radius: var(--card-radius);
  padding: 2rem;
}

/* Inputs */
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea {
  width: 100% !important;
  max-width: none !important;
  font-family: var(--font-body) !important;
  font-size: 0.875rem !important;
  color: var(--color-foreground) !important;
  border: 1px solid var(--color-border) !important;
  border-radius: var(--radius-lg) !important;
  background-color: var(--color-background) !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(124,92,62,0.35) !important;
}

/* Place Order button */
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  background-color: var(--color-primary) !important;
  color: var(--color-button-text) !important;
  border-radius: var(--btn-radius) !important;
  font-family: var(--font-body) !important;
  font-weight: 500 !important;
  transition: opacity 0.2s ease !important;
  border: none !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
  opacity: 0.85 !important;
}

/* Section titles */
body.woocommerce-checkout .wc-block-checkout h2 {
  font-family: var(--font-display) !important;
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  margin-bottom: 1rem !important;
}

/* ============================================================
   WOOCOMMERCE — THANK YOU PAGE (Section 22.8)
   ============================================================ */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order {
  font-family: var(--font-body);
  color: var(--color-foreground);
}
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  padding: 0 0 1rem;
}
body.theme-thankyou-page .woocommerce-order-overview {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  background-color: var(--color-secondary);
  border-radius: var(--card-radius);
  padding: 1.5rem;
  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 strong { color: var(--color-foreground); }
body.theme-thankyou-page .woocommerce-customer-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
body.theme-thankyou-page .woocommerce-customer-details address {
  font-style: normal;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-muted-foreground);
  max-width: 30rem;
  overflow-wrap: break-word;
}
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 th,
body.theme-thankyou-page .woocommerce-order-details table td {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border);
  font-family: var(--font-body);
}
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }

/* ============================================================
   VARIABLE PRODUCT — 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; }

/* single_variation_wrap hidden until variation selected */
.single_variation_wrap { display: none; }
.single_variation_wrap.active { display: block; }

/* ============================================================
   RESPONSIVE FIXES
   ============================================================ */
.single-product .theme-product-main { 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 .single_add_to_cart_button { flex: 1 1 auto; min-width: 10rem; }
.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .theme-product-cat {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ============================================================
   CUSTOMIZER CONTROLS
   ============================================================ */
.theme-media-control { display: flex; flex-direction: column; gap: 0.5rem; }
.theme-media-url-input { width: 100%; min-width: 0; box-sizing: border-box; }
.theme-media-preview,
.theme-media-preview-video { max-width: 100%; height: auto; display: block; }
