/* ============================================================
   THE BOUGIE BOUTIQUE — THEME CSS
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
  /* Brand tokens (overridden by Customizer via inline style) */
  --color-primary:    #4d2338;
  --color-accent:     #da9b2f;
  --color-background: #faf7f5;
  --color-foreground: #2c1c25;
  --color-secondary:  #f5e5e8;
  --color-muted:      #ece6df;
  --color-border:     #e1d9d0;

  /* Derived tokens */
  --color-midnight:   #311624;
  --color-ghost:      #fcfaf8;
  --color-lavender:   #eec4cb;
  --color-sparkle:    #da9b2f;
  --color-card:       #fefdfb;
  --color-muted-fg:   #705c68;
  --color-primary-fg: #fcfaf8;
  --color-button-text: #311624;

  /* Logo */
  --logo-height: 60px;

  /* Fonts */
  --font-display: 'Lora', Georgia, serif;
  --font-body:    'Nunito Sans', system-ui, sans-serif;

  /* Buttons */
  --btn-radius:          0px;
  --btn-height:          2.75rem;
  --btn-padding:         0.75rem 2.5rem;
  --btn-font-size:       0.75rem;
  --btn-font-weight:     500;
  --btn-letter-spacing:  0.2em;
  --btn-text-transform:  uppercase;
  --btn-icon-padding:    0.625rem;

  /* Shadows */
  --shadow-soft:     0 4px 24px -6px rgba(49,22,36,0.18);
  --shadow-elevated: 0 12px 48px -10px rgba(49,22,36,0.28);
  --shadow-glow:     0 0 40px rgba(218,155,47,0.32);

  /* Transitions */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-expo:   cubic-bezier(0.16, 1, 0.3, 1);

  /* Misc */
  --radius:          0.75rem;
  --header-height:   72px;
  --card-radius:     1rem;
  --section-padding: 2rem;
}

/* ============================================================
   BASE RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--color-background);
  color: var(--color-foreground);
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(ellipse at top, rgba(238,196,203,0.35), transparent 60%),
    radial-gradient(ellipse at bottom, rgba(218,155,47,0.15), transparent 60%);
  background-attachment: fixed;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
}

a { color: inherit; text-decoration: none; }
img { display: block; }
button { cursor: pointer; background: none; border: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* Cover images — excluded from global height:auto */
img:not(.cover-img):not(.hero-bg-img):not(.product-card-img):not(.site-logo-img):not(.product-main-img):not(.cart-thumb-img):not(.product-thumb-img) {
  max-width: 100%;
  height: auto;
}
.cover-img, .hero-bg-img, .product-card-img, .product-main-img, .cart-thumb-img, .product-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-main-img,
.cart-thumb-img,
.cart-item-thumb img {
  height: 100% !important;
  object-fit: cover;
}
.cover-img, .hero-bg-img, .product-card-img, .product-main-img {
  position: absolute;
  inset: 0;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container-wide {
  width: 100%;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
@media (min-width: 1024px) {
  .container-wide { padding-left: 2rem; padding-right: 2rem; }
}

.text-center { text-align: center; }
.hidden-mobile { display: none; }
.show-mobile   { display: block; }
@media (min-width: 768px) {
  .hidden-mobile { display: flex; }
  .show-mobile   { display: none; }
}

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted-fg);
}
.section-eyebrow--accent { 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(--ease-smooth);
}
.link-underline:hover::after { transform: scaleX(1); }

.text-glow { text-shadow: 0 0 30px rgba(218,155,47,0.35); }

/* ============================================================
   SITE LOGO
   ============================================================ */
.site-logo-img {
  height: var(--logo-height) !important;
  width: auto !important;
  display: block;
  object-fit: contain;
}
.site-logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-ghost);
  line-height: var(--logo-height);
  display: block;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background-color 0.5s ease, border-color 0.5s ease;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  color: var(--color-ghost);
}
.site-header.is-solid {
  background-color: rgba(49,22,36,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(252,250,248,0.1);
}
.site-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  height: 4rem;
  transition: height 0.3s ease;
}
.site-header.is-solid .site-nav { height: 3.5rem; }
@media (min-width: 1024px) {
  .site-nav { height: 5rem; }
  .site-header.is-solid .site-nav { height: 4rem; }
}

.nav-left  { display: flex; align-items: center; gap: 1.75rem; justify-content: flex-start; }
.nav-logo  { display: flex; justify-content: center; }
.nav-right { display: flex; align-items: center; gap: 0.25rem; justify-content: flex-end; }

.theme-nav-list, .mobile-nav-list { list-style: none; display: flex; align-items: center; gap: 1.75rem; }
.mobile-nav-list { flex-direction: column; align-items: flex-start; gap: 0; }
.bougie-nav-link {
  font-size: 0.875rem;
  font-family: var(--font-body);
  letter-spacing: 0.05em;
  color: rgba(252,250,248,0.9);
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.2s ease;
  position: relative;
}
.bougie-nav-link:hover { color: var(--color-ghost); }
.theme-nav-list .bougie-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(--ease-smooth);
}
.theme-nav-list .bougie-nav-link:hover::after { transform: scaleX(1); }
.theme-nav-list .menu-item { list-style: none; }

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.logo-circle {
  border-radius: 9999px;
  background: transparent;
  border: 1px solid rgba(252,250,248,0.2);
  overflow: hidden;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.logo-circle--white-bg {
  background: white;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  border: none;
}
.logo-circle--text {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}
.logo-circle .site-logo-img {
  height: var(--logo-height) !important;
  transition: height 0.3s ease;
}
.site-header.is-solid .logo-circle .site-logo-img {
  height: calc(var(--logo-height) * 0.85) !important;
}

.nav-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  color: var(--color-ghost);
  transition: opacity 0.2s ease;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  text-decoration: none;
}
.nav-icon-btn:hover { opacity: 0.6; }

.theme-cart-count {
  position: absolute;
  top: -0.125rem;
  right: -0.125rem;
  min-width: 1.25rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 600;
  background: var(--color-accent);
  color: var(--color-midnight);
  border-radius: 9999px;
  line-height: 1;
}
.theme-cart-count:empty { display: none; }

/* Hamburger */
.hamburger-btn { color: var(--color-ghost); display: flex; align-items: center; padding: 0.5rem; transition: opacity 0.2s; }
.hamburger-btn:hover { opacity: 0.6; }

/* Mobile menu */
.mobile-menu {
  display: none;
  background-color: var(--color-midnight);
  border-top: 1px solid rgba(252,250,248,0.1);
  animation: fadeIn 0.2s ease forwards;
}
.mobile-menu.is-open { display: block; }
.mobile-nav-links { padding: 1rem 0; }
.mobile-nav-list .menu-item, .mobile-nav-list li { border: none; }
.mobile-nav-list .bougie-nav-link, .mobile-nav-list a {
  display: block;
  padding: 0.625rem 0;
  font-size: 0.875rem;
  color: rgba(252,250,248,0.8);
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.mobile-nav-list .bougie-nav-link:hover, .mobile-nav-list a:hover { color: var(--color-ghost); }
.mobile-nav-list .bougie-nav-link::after { display: none; }

/* ============================================================
   ANIMATIONS & REVEALS
   ============================================================ */
@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) translateY(12px); } to { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50%       { opacity: 1; transform: scale(1.2); }
}
@keyframes floatBob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.animate-fade-in  { animation: fadeIn  0.6s var(--ease-smooth) forwards; }
.animate-slide-up { animation: slideUp 0.6s var(--ease-smooth) forwards; }
.animate-marquee  { animation: marquee 30s linear infinite; }

/* Scroll-reveal classes */
.reveal-item {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease-expo), transform 0.9s var(--ease-expo);
}
.reveal-item.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-item[data-reveal="scale-in"] {
  transform: scale(0.92) translateY(12px);
}
.reveal-item[data-reveal="scale-in"].is-visible {
  transform: scale(1) translateY(0);
}
.reveal-item[data-reveal="fade-only"] {
  transform: none;
}

/* Customizer fallback: always show in preview */
body.is-customizer .reveal-item {
  opacity: 1 !important;
  transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-item { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 7rem;
  overflow: hidden;
  background-color: var(--color-midnight);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to right, rgba(49,22,36,0.80), rgba(49,22,36,0.45), rgba(49,22,36,0.20));
  pointer-events: none;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  will-change: transform;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.90;
}
.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
}
.hero-inner { padding: 5rem 0; }
.hero-text-wrap {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}
.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-ghost);
  margin-bottom: 2rem;
}
@media (min-width: 768px) { .hero-title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 4.5rem; } }
.hero-title-em {
  font-style: italic;
  color: var(--color-accent);
}
.hero-subtitle {
  font-family: var(--font-display);
  font-style: italic;
  color: rgba(252,250,248,0.90);
  max-width: 40rem;
  margin: 0 auto 2.5rem;
  font-size: 1.125rem;
  line-height: 1.7;
}
@media (min-width: 768px) { .hero-subtitle { font-size: 1.25rem; } }
.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}
@media (min-width: 640px) { .hero-ctas { flex-direction: row; } }

/* Hero CTA buttons */
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--color-accent);
  color: var(--color-midnight);
  border: none;
  border-radius: var(--btn-radius);
  cursor: pointer;
  box-shadow: var(--shadow-glow);
  transition: opacity 0.2s ease, transform 0.2s var(--ease-expo);
  text-decoration: none;
  text-transform: none;
}
.btn-hero-primary:hover { opacity: 0.9; transform: scale(1.04); }
.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: none;
  background: rgba(252,250,248,0.05);
  color: var(--color-ghost);
  border: 1px solid rgba(252,250,248,0.40);
  border-radius: var(--btn-radius);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s var(--ease-expo);
  text-decoration: none;
}
.btn-hero-outline:hover { background: rgba(252,250,248,0.15); transform: scale(1.04); }

/* ============================================================
   REEL SECTION
   ============================================================ */
.reel-section {
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}
@media (min-width: 1024px) { .reel-section { padding: 8rem 0; } }
.reel-decor { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.reel-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
}
.reel-blob--1 {
  top: 25%; left: -6rem;
  width: 24rem; height: 24rem;
  background: rgba(238,196,203,0.40);
}
.reel-blob--2 {
  bottom: 0; right: -6rem;
  width: 28rem; height: 28rem;
  background: rgba(218,155,47,0.20);
}
.reel-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .reel-grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
}
.reel-copy { order: 2; }
@media (min-width: 1024px) { .reel-copy { order: 1; } }
.reel-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  background: rgba(238,196,203,0.60);
  color: rgba(49,22,36,0.80);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.reel-heading {
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1.05;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .reel-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .reel-heading { font-size: 3.75rem; } }
.reel-heading-em { font-style: italic; color: var(--color-accent); }
.reel-body {
  font-size: 1rem;
  color: rgba(44,28,37,0.75);
  max-width: 40rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}
@media (min-width: 768px) { .reel-body { font-size: 1.125rem; } }
.reel-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.reel-shop-link {
  font-size: 0.875rem;
  font-family: var(--font-body);
  letter-spacing: 0.05em;
  color: var(--color-primary);
  transition: color 0.2s;
  text-decoration: none;
}
.reel-shop-link:hover { color: var(--color-accent); }
.reel-sep { color: rgba(44,28,37,0.30); }
.reel-mute-btn {
  font-size: 0.875rem;
  font-family: var(--font-body);
  letter-spacing: 0.05em;
  color: rgba(44,28,37,0.60);
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.2s;
}
.reel-mute-btn:hover { color: var(--color-primary); }

/* Phone frame */
.reel-frame-wrap { order: 1; display: flex; justify-content: center; position: relative; }
@media (min-width: 1024px) { .reel-frame-wrap { order: 2; justify-content: flex-end; } }
.reel-glow {
  position: absolute;
  inset: -1.5rem;
  border-radius: 2.5rem;
  background: linear-gradient(135deg, rgba(218,155,47,0.30), rgba(238,196,203,0.30), transparent);
  filter: blur(24px);
  pointer-events: none;
}
.reel-phone-frame {
  position: relative;
  width: 260px;
  aspect-ratio: 9/16;
  border-radius: 2rem;
  overflow: hidden;
  ring: 1px solid rgba(252,250,248,0.40);
  box-shadow: 0 25px 60px -15px rgba(49,22,36,0.45);
  background: var(--color-midnight);
  border: 1px solid rgba(252,250,248,0.40);
}
@media (min-width: 640px) { .reel-phone-frame { width: 300px; } }
@media (min-width: 1024px) { .reel-phone-frame { width: 340px; } }
.reel-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}
.reel-mute-overlay-btn {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  background: rgba(49,22,36,0.70);
  backdrop-filter: blur(8px);
  color: var(--color-ghost);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(252,250,248,0.20);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.reel-mute-overlay-btn:hover { background: rgba(49,22,36,0.90); transform: scale(1.05); }
.reel-float-badge {
  position: absolute;
  top: -1rem;
  right: -1rem;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(252,250,248,0.30);
  color: var(--color-midnight);
  animation: floatBob 4s ease-in-out infinite;
}

/* ============================================================
   CATEGORIES SECTION
   ============================================================ */
.categories-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, rgba(245,229,232,0.40), var(--color-background), rgba(77,35,56,0.05));
  scroll-margin-top: 6rem;
}
.categories-section .container-wide { padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 1024px) {
  .categories-section .container-wide { padding-top: 6rem; padding-bottom: 6rem; }
}
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .section-eyebrow { margin-bottom: 1.25rem; }
.categories-heading {
  font-family: var(--font-display);
  font-size: 1.875rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
@media (min-width: 768px) { .categories-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .categories-heading { font-size: 3.75rem; } }

.categories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .categories-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .categories-grid { grid-template-columns: repeat(4, 1fr); } }

.cat-card {
  position: relative;
  display: block;
  border-radius: 1.5rem;
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-soft);
  isolation: isolate;
  cursor: pointer;
  text-align: left;
  width: 100%;
  border: none;
  padding: 0;
  transition: box-shadow 0.5s ease, transform 0.5s var(--ease-expo);
}
.cat-card:hover { box-shadow: var(--shadow-glow); transform: translateY(-8px); }
.cat-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s ease-out;
}
.cat-card:hover .cat-card-img { transform: scale(1.10); }
.cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(49,22,36,0.95), rgba(49,22,36,0.40), rgba(49,22,36,0.10));
  transition: all 0.5s;
}
.cat-card:hover .cat-card-overlay { background: linear-gradient(to top, rgba(49,22,36,0.90), rgba(49,22,36,0.30)); }
.cat-card-overlay-hover {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, transparent);
  mix-blend-mode: overlay;
  transition: all 0.7s;
  pointer-events: none;
}
.cat-card:hover .cat-card-overlay-hover { background: linear-gradient(135deg, rgba(218,155,47,0.20), rgba(238,196,203,0.20)); }
.cat-card-num {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--color-midnight);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  z-index: 10;
}
.cat-card-icon {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 10;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(218,155,47,0.20);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-midnight);
  border: 1px solid rgba(49,22,36,0.40);
  transition: all 0.5s;
}
.cat-card:hover .cat-card-icon {
  background: var(--color-accent);
  transform: scale(1.10);
  color: var(--color-midnight);
}
.cat-card-content {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1.5rem;
  z-index: 10;
}
.cat-card-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-ghost);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}
.cat-card-body {
  color: rgba(252,250,248,0.75);
  font-size: 0.875rem;
  line-height: 1.6;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.5s ease;
}
.cat-card:hover .cat-card-body { max-height: 8rem; opacity: 1; }
.cat-card-shop-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  color: var(--color-ghost);
  font-size: 0.6875rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.cat-card-line {
  display: block;
  height: 1px;
  width: 1.5rem;
  background: rgba(252,250,248,0.60);
  transition: width 0.5s ease;
}
.cat-card:hover .cat-card-line { width: 3rem; }
.cat-card-accent-line {
  position: absolute;
  bottom: 0; left: 0;
  height: 2px; width: 0;
  background: linear-gradient(to right, var(--color-accent), var(--color-lavender));
  transition: width 0.7s ease;
  z-index: 10;
}
.cat-card:hover .cat-card-accent-line { width: 100%; }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
  position: relative;
  overflow: hidden;
  background-color: var(--color-primary);
  scroll-margin-top: 6rem;
}
.about-section .container-wide { padding-top: 5rem; padding-bottom: 5rem; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 64rem;
  margin: 0 auto;
}
@media (min-width: 768px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.about-image-wrap { position: relative; display: flex; justify-content: center; }
.about-glow {
  position: absolute;
  inset: -1rem;
  border-radius: 1rem;
  background: rgba(218,155,47,0.20);
  filter: blur(48px);
  pointer-events: none;
}
.about-img {
  position: relative;
  width: 18rem;
  height: 18rem;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: var(--shadow-elevated);
  border: 0.5rem solid rgba(252,250,248,0.15);
}
@media (min-width: 768px) { .about-img { width: 20rem; height: 20rem; } }
.about-copy .section-eyebrow { color: var(--color-accent); margin-bottom: 0.75rem; }
.about-heading {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 500;
  color: var(--color-primary-fg);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}
@media (min-width: 768px) { .about-heading { font-size: 2.25rem; } }
.about-heading-em {
  font-style: italic;
  color: var(--color-ghost);
}
.about-body { display: flex; flex-direction: column; gap: 1rem; }
.about-body p { color: rgba(252,250,248,0.85); line-height: 1.7; }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-strip {
  position: relative;
  overflow: hidden;
  background: rgba(245,229,232,0.60);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 0;
}
.marquee-inner {
  display: flex;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}
.marquee-set {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 1rem;
  flex-shrink: 0;
}
.marquee-text {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--color-primary);
  letter-spacing: 0.05em;
}
@media (min-width: 768px) { .marquee-text { font-size: 1.25rem; } }
.marquee-dot {
  display: block;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}

/* ============================================================
   SHOP SECTION
   ============================================================ */
.shop-section {
  position: relative;
  overflow: hidden;
  background-color: var(--color-background);
  scroll-margin-top: 6rem;
}
.shop-section .container-wide { padding-top: 5rem; padding-bottom: 5rem; }
.shop-header { text-align: center; margin-bottom: 2.5rem; }
.shop-heading {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 500;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}
@media (min-width: 768px) { .shop-heading { font-size: 3rem; } }
.shop-body { color: var(--color-muted-fg); max-width: 36rem; margin: 0 auto 2rem; }

/* Filter pills */
.shop-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 2.5rem; }
.filter-pill {
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--color-border);
  background: rgba(254,253,251,0.60);
  color: rgba(44,28,37,0.70);
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-pill:hover { border-color: var(--color-primary); color: var(--color-foreground); }
.filter-pill.is-active {
  background: var(--color-primary);
  color: var(--color-primary-fg);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-soft);
}

/* Watermark */
.shop-watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.shop-watermark span {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14vw;
  font-weight: 500;
  color: rgba(77,35,56,0.06);
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

/* Product grid */
.shop-product-grid, .theme-product-grid {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 75rem;
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .shop-product-grid, .theme-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
  }
}
.shop-empty { text-align: center; color: var(--color-muted-fg); margin-top: 2.5rem; grid-column: 1/-1; }

/* Load more */
.shop-load-more-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 3rem;
  position: relative;
  z-index: 10;
}
.btn-shop-load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 10rem;
  padding: 0.875rem 2.5rem;
  border: none;
  border-radius: var(--btn-radius);
  background: var(--color-accent);
  color: var(--color-midnight);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: var(--shadow-glow);
  transition: opacity 0.2s ease, transform 0.2s var(--ease-expo);
}
.btn-shop-load-more:hover {
  opacity: 0.9;
  transform: scale(1.04);
}
.btn-shop-load-more.is-loading {
  opacity: 0.6;
  pointer-events: none;
  cursor: wait;
  transform: none;
}
.shop-load-more-wrap.is-hidden {
  display: none;
}

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.theme-product-card-wrap { display: flex; }
.theme-product-card {
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  padding: 1rem;
  background: var(--color-card);
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  position: relative;
  transition: box-shadow 0.5s var(--ease-smooth), transform 0.5s var(--ease-expo);
}
.theme-product-card:hover {
  box-shadow: 0 20px 40px -20px rgba(44,28,37,0.18);
  transform: translateY(-6px);
}

/* Pattern A: hit area overlay */
.theme-card-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: auto;
  border-radius: 1rem;
}
.theme-product-card *:not(.theme-card-link) { pointer-events: none; }
.theme-product-card .add_to_cart_button,
.theme-product-card .theme-card-atc {
  z-index: 3;
  pointer-events: auto;
}

/* Image wrapper */
.theme-product-card__image-wrapper {
  position: relative;
  aspect-ratio: 1;
  background: var(--color-secondary);
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 1rem;
}
.theme-product-card__image-wrapper .product-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-expo);
}
.theme-product-card:hover .theme-product-card__image-wrapper .product-card-img {
  transform: scale(1.08);
}
.product-card-img.is-sold-out { opacity: 0.60; }

/* Add to cart circular button on card */
.theme-card-atc {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-primary-fg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  opacity: 1;
  transition: opacity 0.3s ease, transform 0.3s ease;
  text-decoration: none;
  min-height: unset !important;
  padding: var(--btn-icon-padding) !important;
  border-radius: 50% !important;
  pointer-events: auto;
  z-index: 3;
}
@media (min-width: 768px) {
  .theme-card-atc { opacity: 0; transform: translateY(4px); }
  .theme-product-card:hover .theme-card-atc { opacity: 1; transform: translateY(0); }
}
.theme-card-atc:hover { transform: scale(1.12); }

/* Card info */
.theme-product-card__info { flex: 1; padding: 0 0.25rem 0.25rem; }
.card-product-name {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: opacity 0.2s;
  color: var(--color-foreground);
}
.theme-product-card:hover .card-product-name { opacity: 0.70; }
.card-product-price { font-size: 0.875rem; color: var(--color-muted-fg); margin-top: 0.25rem; }

/* Product badges */
.product-badge {
  position: absolute;
  z-index: 5;
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 9999px;
  line-height: 1;
  pointer-events: none;
}
.sold-out-badge {
  top: 0.5rem; left: 0.5rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.625rem;
  background: var(--color-midnight);
  color: var(--color-ghost);
}
@media (min-width: 768px) {
  .sold-out-badge { top: 0.75rem; left: 0.75rem; padding: 0.375rem 0.75rem; font-size: 0.75rem; }
}
.new-badge {
  top: 0.5rem; right: 0.5rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.625rem;
  background: var(--color-accent);
  color: var(--color-midnight);
}
@media (min-width: 768px) {
  .new-badge { top: 0.75rem; right: 0.75rem; padding: 0.375rem 0.75rem; font-size: 0.75rem; }
}
.one-of-a-kind-badge {
  bottom: 0.5rem; left: 0.5rem;
  padding: 0.125rem 0.375rem;
  font-size: 0.5rem;
  background: var(--color-lavender);
  color: var(--color-midnight);
}
@media (min-width: 768px) {
  .one-of-a-kind-badge { bottom: 0.75rem; left: 0.75rem; padding: 0.25rem 0.5rem; font-size: 0.625rem; }
}
.multiple-colors-badge {
  top: 0.5rem; right: 0.5rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.625rem;
  background: var(--color-lavender);
  color: var(--color-midnight);
}
@media (min-width: 768px) {
  .multiple-colors-badge { top: 0.75rem; right: 0.75rem; padding: 0.375rem 0.75rem; font-size: 0.75rem; }
}
.multiple-colors-badge.has-new { top: 2.25rem; }
@media (min-width: 768px) { .multiple-colors-badge.has-new { top: 3rem; } }

/* ============================================================
   OWNER SECTION
   ============================================================ */
.owner-section {
  position: relative;
  overflow: hidden;
  background: rgba(245,229,232,0.40);
  scroll-margin-top: 6rem;
}
.owner-section .container-wide { padding-top: 5rem; padding-bottom: 5rem; }
.owner-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 64rem;
  margin: 0 auto;
}
@media (min-width: 768px) { .owner-grid { grid-template-columns: 1fr 1fr; } }
.owner-photo-wrap { display: flex; justify-content: center; }
.owner-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: var(--shadow-elevated);
  border: 0.25rem solid var(--color-background);
  max-width: 26rem;
}
.owner-copy .section-eyebrow { margin-bottom: 0.75rem; }
.owner-name {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}
@media (min-width: 768px) { .owner-name { font-size: 2.25rem; } }
.owner-body { display: flex; flex-direction: column; gap: 1rem; }
.owner-body p { color: var(--color-muted-fg); line-height: 1.7; }
.owner-tagline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-style: italic;
  color: var(--color-foreground) !important;
}
.owner-tagline svg { color: var(--color-accent); flex-shrink: 0; }
.order-1 { order: 1; }
.order-2 { order: 2; }
@media (min-width: 768px) {
  .owner-photo-wrap { order: 2; }
  .owner-copy { order: 1; }
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section { scroll-margin-top: 6rem; }
.cta-inner {
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
  min-height: 320px;
}
@media (min-width: 768px) { .cta-inner { min-height: 380px; } }
@media (min-width: 1024px) { .cta-inner { min-height: 440px; } }
.cta-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 130%;
  top: -15%;
  object-fit: cover;
}
.cta-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(77,35,56,0.95), rgba(77,35,56,0.80), rgba(77,35,56,0.30));
  pointer-events: none;
}
.cta-content {
  position: relative;
  z-index: 10;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  color: var(--color-primary-fg);
}
@media (min-width: 768px) { .cta-content { padding-top: 5rem; padding-bottom: 5rem; } }
@media (min-width: 1024px) { .cta-content { padding-top: 6rem; padding-bottom: 6rem; } }
.cta-text-col { max-width: 36rem; }
.cta-heading {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}
@media (min-width: 768px) { .cta-heading { font-size: 2.25rem; } }
@media (min-width: 1024px) { .cta-heading { font-size: 3rem; } }
.cta-body {
  color: rgba(252,250,248,0.80);
  margin-bottom: 2rem;
  line-height: 1.7;
}
.cta-btns { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .cta-btns { flex-direction: row; } }
.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  background: var(--color-accent);
  color: var(--color-midnight);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.375rem;
  box-shadow: var(--shadow-glow);
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.btn-cta-primary:hover { opacity: 0.90; }
.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  background: rgba(252,250,248,0.10);
  color: var(--color-ghost);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid rgba(252,250,248,0.40);
  border-radius: 0.375rem;
  backdrop-filter: blur(4px);
  text-decoration: none;
  transition: background 0.2s ease;
}
.btn-cta-outline:hover { background: rgba(252,250,248,0.20); }

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
  position: relative;
  background: var(--color-midnight);
  color: var(--color-ghost);
  scroll-margin-top: 6rem;
}
.contact-section .container-wide { padding-top: 6rem; padding-bottom: 6rem; }
.contact-header { text-align: center; margin-bottom: 3.5rem; }
.contact-header .section-eyebrow { color: var(--color-accent); }
.contact-heading {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 500;
  margin-top: 0.75rem;
  color: var(--color-ghost);
}
@media (min-width: 768px) { .contact-heading { font-size: 3rem; } }
.contact-heading-em { font-style: italic; color: var(--color-accent); }
.contact-intro { margin-top: 1rem; color: rgba(252,250,248,0.75); max-width: 36rem; margin-left: auto; margin-right: auto; line-height: 1.7; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch;
  max-width: 75rem;
  margin: 0 auto;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 2fr 3fr; } }
.contact-info { display: flex; flex-direction: column; gap: 1rem; }
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(252,250,248,0.15);
  background: rgba(252,250,248,0.05);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s, border-color 0.2s;
}
.contact-info-card:hover { background: rgba(252,250,248,0.10); border-color: rgba(218,155,47,0.40); }
.contact-info-icon {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(218,155,47,0.15);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}
.contact-info-card:hover .contact-info-icon { transform: scale(1.10); }
.contact-info-label { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(252,250,248,0.60); margin-bottom: 0.25rem; }
.contact-info-value { font-family: var(--font-display); font-size: 1.125rem; }
.contact-response-card {
  flex: 1;
  min-height: 10rem;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(252,250,248,0.15);
  background: linear-gradient(135deg, rgba(218,155,47,0.10), rgba(252,250,248,0.05), rgba(77,35,56,0.10));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.contact-response-heading {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.3;
  margin-top: 0.5rem;
}
.contact-response-em { font-style: italic; color: var(--color-accent); }
.contact-response-note { margin-top: 1rem; font-size: 0.875rem; color: rgba(252,250,248,0.70); line-height: 1.7; }

/* Contact form */
.contact-form {
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(252,250,248,0.15);
  background: rgba(252,250,248,0.05);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: var(--shadow-elevated);
}
@media (min-width: 768px) { .contact-form { padding: 2.5rem; } }
.form-row-2 { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .form-row-2 { grid-template-columns: 1fr 1fr; } }
.form-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(252,250,248,0.70);
  margin-bottom: 0.5rem;
}
.form-input, .form-input--line {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(252,250,248,0.25);
  outline: none;
  padding: 0.5rem 0;
  color: var(--color-ghost);
  font-size: 1rem;
  transition: border-color 0.2s;
}
.form-input--line::placeholder { color: rgba(252,250,248,0.40); }
.form-input--line:focus { border-bottom-color: var(--color-accent); }
.form-textarea {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(252,250,248,0.20);
  border-radius: 0.75rem;
  outline: none;
  padding: 1rem;
  color: var(--color-ghost);
  font-size: 1rem;
  resize: none;
  transition: border-color 0.2s;
  min-height: 140px;
}
.form-textarea::placeholder { color: rgba(252,250,248,0.40); }
.form-textarea:focus { border-color: var(--color-accent); }
.contact-form .btn-contact-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  max-width: 100%;
  align-self: flex-start;
  padding: 0.875rem 2rem;
  background: var(--color-accent);
  color: var(--color-midnight);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  box-shadow: var(--shadow-glow);
  transition: opacity 0.2s ease, transform 0.2s var(--ease-expo);
  text-transform: none;
}
@media (max-width: 639px) {
  .contact-form .btn-contact-submit { width: 100%; }
}
.contact-form .btn-contact-submit:hover { opacity: 0.90; transform: scale(1.02); }
.form-status { font-size: 0.875rem; min-height: 1.25rem; }
.form-status.success { color: #68d391; }
.form-status.error   { color: #fc8181; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: rgba(245,229,232,0.40);
  border-top: 1px solid var(--color-border);
}
.site-footer .container-wide { padding-top: 3rem; padding-bottom: 3rem; }
@media (min-width: 1024px) { .site-footer .container-wide { padding-top: 4rem; padding-bottom: 4rem; } }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 3rem; }
}
.footer-logo-link { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: inherit; }
.footer-logo-img { height: var(--logo-height) !important; }
.footer-brand-name { font-family: var(--font-display); font-size: 1.5rem; color: var(--color-foreground); }
.footer-tagline { margin-top: 1rem; font-size: 0.875rem; color: var(--color-muted-fg); max-width: 24rem; line-height: 1.7; }
.footer-col-heading { font-size: 0.875rem; font-weight: 500; margin-bottom: 1rem; font-family: var(--font-body); }
.footer-nav-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-nav-link { font-size: 0.875rem; color: var(--color-muted-fg); transition: color 0.2s; text-decoration: none; }
.footer-nav-link:hover { color: var(--color-foreground); }
.footer-contact-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-fg); }
.footer-contact-list svg { flex-shrink: 0; margin-top: 0.125rem; }
.footer-contact-link { color: var(--color-muted-fg); transition: color 0.2s; text-decoration: none; word-break: break-all; }
.footer-contact-link:hover { color: var(--color-foreground); }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer-copy, .footer-by { font-size: 0.75rem; color: var(--color-muted-fg); white-space: nowrap; }
.footer-credit { font-size: 0.75rem; color: rgba(112,92,104,0.70); white-space: nowrap; }
.footer-credit-link { font-weight: 500; text-decoration: underline; text-underline-offset: 2px; color: inherit; transition: color 0.2s; }
.footer-credit-link:hover { color: var(--color-foreground); }

/* ============================================================
   SIDE CART DRAWER
   ============================================================ */
#theme-cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(44,28,37,0.20);
  z-index: 49;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
body.cart-open #theme-cart-overlay {
  opacity: 1;
  pointer-events: auto;
}
#theme-cart-drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: min(100%, 28rem);
  background: var(--color-background);
  z-index: 51;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease-expo);
  box-shadow: var(--shadow-elevated);
}
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);
}
.cart-drawer-title { font-family: var(--font-display); font-size: 1.125rem; font-weight: 500; }
.cart-drawer-close {
  padding: 0.25rem;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--color-foreground);
  transition: opacity 0.2s;
}
.cart-drawer-close:hover { opacity: 0.60; }
.cart-drawer-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  gap: 1rem;
  color: var(--color-muted-fg);
}
.cart-empty-continue {
  padding: 0.625rem 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: 0.375rem;
  font-size: 0.875rem;
  cursor: pointer;
  background: none;
  color: var(--color-foreground);
  transition: background 0.2s;
}
.cart-empty-continue:hover { background: var(--color-muted); }
.cart-drawer-items { flex: 1; overflow-y: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.cart-item { display: flex; gap: 1rem; }
.cart-item-thumb {
  display: block;
  width: 5rem;
  height: 6rem;
  border-radius: 0.5rem;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--color-secondary);
}
.cart-item-thumb 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;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--color-foreground);
  text-decoration: none;
  transition: opacity 0.2s;
}
.cart-item-name:hover { opacity: 0.70; }
.cart-item-price { font-size: 0.875rem; color: var(--color-muted-fg); margin-top: 0.125rem; }
.cart-item-variation { font-size: 0.75rem; color: var(--color-muted-fg); margin-top: 0.25rem; }
.cart-item-qty-row { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.cart-qty-btn {
  padding: 0.25rem;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--color-foreground);
  border-radius: 0.25rem;
  transition: background 0.2s;
}
.cart-qty-btn:hover { background: var(--color-secondary); }
.cart-qty-val { font-size: 0.875rem; min-width: 1.5rem; text-align: center; }
.cart-remove-btn {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--color-muted-fg);
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.2s;
}
.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;
}
.cart-subtotal-row { display: flex; justify-content: space-between; font-size: 0.875rem; }
.cart-subtotal-label { color: var(--color-muted-fg); }
.cart-subtotal-val { font-weight: 500; }
.cart-shipping-note { font-size: 0.75rem; color: var(--color-muted-fg); }
.btn-checkout {
  display: block;
  text-align: center;
  padding: 0.875rem;
  background: var(--color-primary);
  color: var(--color-primary-fg);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.375rem;
  text-decoration: none;
  transition: opacity 0.2s;
}
.btn-checkout:hover { opacity: 0.85; }

/* ============================================================
   WooCommerce: VIEW CART LINK 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; }

/* ============================================================
   WooCommerce: NOTICES
   ============================================================ */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-error {
  background: rgba(252,129,129,0.10);
  border: 1px solid rgba(252,129,129,0.30);
  border-radius: 0.5rem;
  padding: 1rem;
  color: var(--color-foreground);
  margin-bottom: 1rem;
  font-size: 0.875rem;
  list-style: none;
}

/* ============================================================
   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-fg) !important;
  border: none !important;
  border-radius: var(--btn-radius) !important;
  min-height: var(--btn-height) !important;
  padding: var(--btn-padding) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: var(--font-body) !important;
  font-size: var(--btn-font-size) !important;
  font-weight: var(--btn-font-weight) !important;
  letter-spacing: var(--btn-letter-spacing) !important;
  text-transform: none !important;
  cursor: pointer !important;
  transition: opacity 0.2s ease !important;
  text-decoration: none !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-fg) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
  cursor: not-allowed !important;
  opacity: 0.4 !important;
  pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
  opacity: 0.4 !important;
  background-color: var(--color-primary) !important;
}

/* Card compact button override */
.theme-product-card .add_to_cart_button.ajax_add_to_cart,
.theme-product-card .theme-card-atc {
  position: absolute !important;
  top: auto !important;
  left: auto !important;
  bottom: 0.75rem !important;
  right: 0.75rem !important;
  min-height: unset !important;
  padding: var(--btn-icon-padding) !important;
  border-radius: 50% !important;
  background-color: var(--color-primary) !important;
  color: var(--color-primary-fg) !important;
}

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

/* ============================================================
   SINGLE PRODUCT PAGE
   ============================================================ */
.single-product.theme-inner-page .container-wide { padding-top: 0; padding-bottom: 5rem; }
.single-product-back { padding: 1.5rem 0; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-muted-fg);
  text-decoration: none;
  transition: color 0.2s;
}
.back-link:hover { color: var(--color-foreground); }

.theme-product-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  min-width: 0;
}
@media (min-width: 1024px) {
  .theme-product-layout { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }

/* Product gallery */
.product-main-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 0.5rem;
  overflow: hidden;
  background: var(--color-secondary);
}
.product-main-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.theme-product-thumbnails {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
  max-width: 100%;
}
.product-thumb-btn {
  width: 4rem;
  height: 4rem;
  border-radius: 0.375rem;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: none;
  padding: 0;
  transition: border-color 0.2s;
  flex-shrink: 0;
}
.product-thumb-btn img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-thumb-btn.is-active { border-color: var(--color-primary); }
.product-thumb-btn:hover { border-color: var(--color-muted-fg); }

/* Product info */
.theme-product-info { padding-top: 0; }
@media (min-width: 1024px) { .theme-product-info { padding-top: 2.5rem; } }
.product-cats {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted-fg);
  margin-bottom: 0.5rem;
}
.product-cats a { color: inherit; text-decoration: none; transition: color 0.2s; }
.product-cats a:hover { color: var(--color-foreground); }
.product-title {
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.3;
  font-style: normal;
}
@media (min-width: 768px) { .product-title { font-size: 1.875rem; } }
.product-price-wrap { font-size: 1.25rem; margin-bottom: 1.5rem; }
.product-price-wrap .woocommerce-Price-amount { font-size: inherit; }
.product-sold-out-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--color-muted);
  color: var(--color-muted-fg);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.375rem;
  margin-bottom: 1rem;
}
.product-description { color: var(--color-muted-fg); line-height: 1.7; margin-bottom: 2rem; overflow-wrap: break-word; word-break: break-word; }

/* Quantity + Add to cart */
.theme-add-to-cart-area {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.theme-quantity-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: 0.375rem;
  overflow: hidden;
}
.theme-qty-btn {
  padding: 0.75rem 1rem;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--color-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.theme-qty-btn:hover { background: var(--color-secondary); }
.theme-qty-input {
  padding: 0.75rem 1rem;
  width: 3rem;
  text-align: center;
  border: none;
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  outline: none;
  font-size: 0.875rem;
  background: transparent;
  color: var(--color-foreground);
  -moz-appearance: textfield;
}
.theme-qty-input::-webkit-outer-spin-button,
.theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.theme-btn-primary {
  flex: 1 1 auto;
  min-width: 160px;
  padding: 0.75rem 1.5rem;
  background: var(--color-primary);
  color: var(--color-primary-fg);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
  text-decoration: none;
  text-transform: none;
}
.theme-btn-primary:hover { opacity: 0.85; }
.single-out-of-stock-btn {
  flex: 1 1 auto;
  min-width: 160px;
  padding: 0.75rem 1.5rem;
  background: var(--color-muted);
  color: var(--color-muted-fg);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.375rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Product details section */
.product-details-section { border-top: 1px solid var(--color-border); padding-top: 2rem; margin-top: 2rem; }
.product-details-heading { font-family: var(--font-body); font-size: 0.875rem; font-weight: 500; margin-bottom: 1rem; }
.woocommerce-product-details__short-description { overflow-wrap: break-word; word-break: break-word; }
.woocommerce-product-details__short-description ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.woocommerce-product-details__short-description li {
  font-size: 0.875rem;
  color: var(--color-muted-fg);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.woocommerce-product-details__short-description li::before {
  content: '';
  display: block;
  width: 0.375rem;
  height: 0.375rem;
  background: var(--color-muted-fg);
  border-radius: 50%;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

/* Variation attributes */
.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; }
.single-product .variations tbody td.label label {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  font-style: normal;
  color: var(--color-foreground);
}
.theme-attr-select-hidden { display: none !important; }
.variation-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; margin-bottom: 1rem; }
.variation-pill {
  padding: 0.375rem 0.875rem;
  border: 1px solid var(--color-border);
  border-radius: 0.375rem;
  font-size: 0.875rem;
  cursor: pointer;
  background: none;
  color: var(--color-foreground);
  transition: all 0.2s;
}
.variation-pill:hover { border-color: var(--color-foreground); }
.variation-pill.is-selected { border-color: var(--color-foreground); background: var(--color-foreground); color: var(--color-background); }

/* Related products */
.related-products-section { padding: 5rem 0; border-top: 1px solid var(--color-border); }
.related-products-heading { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .related-products-heading { font-size: 1.5rem; } }
.related-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .related-products-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ============================================================
   WooCommerce ARCHIVE / SHOP PAGE
   ============================================================ */
.woocommerce-shop-page .container-wide { padding-top: 2rem; padding-bottom: 5rem; }
.shop-archive-header { margin-bottom: 2rem; }
.shop-archive-header h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
}
.woocommerce-ordering { margin-bottom: 1.5rem; }

/* ============================================================
   CHECKOUT
   ============================================================ */
body.woocommerce-checkout .site-main {
  padding-top: var(--header-height, 80px);
  padding-bottom: 4rem;
}
body.woocommerce-checkout .entry-content { max-width: 100%; }
body.woocommerce-checkout .page-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  padding: 2rem 0 1.5rem;
}

/* 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.is-large {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
  }
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
  min-width: 0;
  width: 100%;
  max-width: none;
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select {
  width: 100% !important;
  max-width: none !important;
  border: 1px solid var(--color-border) !important;
  border-radius: 0.375rem !important;
  background: var(--color-background) !important;
  color: var(--color-foreground) !important;
  font-family: var(--font-body) !important;
  font-size: 0.875rem !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
  outline: none !important;
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 2px rgba(77,35,56,0.10) !important;
}
body.woocommerce-checkout .wc-block-checkout__sidebar {
  background-color: var(--color-secondary);
  border-radius: var(--card-radius);
  padding: var(--section-padding, 2rem);
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  background: var(--color-primary) !important;
  color: var(--color-primary-fg) !important;
  border: none !important;
  border-radius: 0.375rem !important;
  font-family: var(--font-body) !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  padding: 0.875rem 2rem !important;
  transition: opacity 0.2s !important;
  cursor: pointer !important;
  text-transform: none !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
  opacity: 0.85 !important;
}
body.woocommerce-checkout h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-foreground);
}
body.woocommerce-checkout { overflow-x: hidden; }

/* ============================================================
   THANK YOU PAGE
   ============================================================ */
body.theme-thankyou-page .site-main { padding-top: var(--header-height, 80px); }
body.theme-thankyou-page .woocommerce-order { max-width: 48rem; margin: 0 auto; padding: 2rem 0; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  padding: 0 0 1rem;
}
body.theme-thankyou-page .woocommerce-order-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  background: var(--color-secondary);
  border-radius: var(--card-radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}
body.theme-thankyou-page .woocommerce-order-overview li {
  font-size: 0.875rem;
  color: var(--color-muted-fg);
}
body.theme-thankyou-page .woocommerce-order-overview strong { color: var(--color-foreground); }
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 tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-customer-details { margin-top: 2rem; }
body.theme-thankyou-page .woocommerce-customer-details address { overflow-wrap: break-word; max-width: 480px; }
body.theme-thankyou-page { overflow-x: hidden; }

/* ============================================================
   INNER PAGES
   ============================================================ */
.theme-inner-page { padding-top: var(--header-height, 72px); }
.page-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  padding: 2rem 0 1.5rem;
}
.entry-content {
  line-height: 1.7;
  color: var(--color-muted-fg);
  padding-bottom: 5rem;
}

/* 404 */
.error-404-wrap { display: flex; flex-direction: column; align-items: center; gap: 1rem; padding: 5rem 0; }
.error-404-num { font-family: var(--font-display); font-size: 6rem; font-weight: 700; color: var(--color-primary); opacity: 0.2; line-height: 1; }
.error-404-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; }
.error-404-body { color: var(--color-muted-fg); }
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  background: var(--color-primary);
  color: var(--color-primary-fg);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.375rem;
  text-decoration: none;
  transition: opacity 0.2s;
  margin-top: 1rem;
}
.btn-primary:hover { opacity: 0.85; }
