/* WildHaven 2.0 — Immersive Nature Design System */
/* Brand: WildHaven | Bring Birds Home */

/* ===== CSS Variables ===== */
:root {
  /* Core Palette — Premium Nature */
  --forest: #1a3a2e;
  --forest-light: #2d5a47;
  --sage: #7a9e6e;
  --sage-mist: #a8b5a0;
  --earth: #8b6f47;
  --copper: #b87333;
  --copper-light: #d49560;
  --cream: #f5f0e6;
  --bone: #ebe6dc;
  --linen: #e2dccf;
  --charcoal: #1a1a1a;
  --charcoal-soft: #2a2a2a;
  --ink: #1a1a1a;
  --gray-1: #d4cfc3;
  --gray-2: #a8a294;
  --gray-3: #6b665a;
  --white: #ffffff;
  --error: #b33a3a;
  --success: #3a6b3a;

  /* Seasonal Accents */
  --spring: #e8c5c5;
  --summer: #d4a548;
  --autumn: #c4621e;
  --winter: #8ba5b8;

  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-italic: 'Cormorant', Georgia, serif;
  --font-label: 'Inter', sans-serif;

  /* Layout */
  --header-h: 72px;
  --max-w: 1440px;
  --gutter: 32px;

  /* Radius */
  --r-sm: 2px;
  --r-md: 4px;
  --r-lg: 8px;
  --r-xl: 16px;
  --r-full: 999px;

  /* Transitions */
  --t-fast: 0.2s ease;
  --t: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  --t-slow: 0.8s cubic-bezier(0.22, 1, 0.36, 1);

  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(26,26,26,0.06);
  --shadow-sm: 0 2px 8px rgba(26,26,26,0.08);
  --shadow-md: 0 6px 24px rgba(26,26,26,0.12);
  --shadow-lg: 0 12px 48px rgba(26,26,26,0.18);
  --shadow-inset: inset 0 1px 0 rgba(255,255,255,0.1);
}

/* ===== Reset ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--forest);
}
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.15rem; }

.italic-text { font-family: var(--font-italic); font-style: italic; font-weight: 400; }
.label-text {
  font-family: var(--font-label);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--copper);
}
.serif-display { font-family: var(--font-display); }

/* ===== Container ===== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: 860px; margin: 0 auto; padding: 0 var(--gutter); }
.container-wide { max-width: 1600px; margin: 0 auto; padding: 0 var(--gutter); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 36px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--r-sm);
  transition: all var(--t);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--forest);
  color: var(--cream);
  border: 1px solid var(--forest);
}
.btn-primary:hover {
  background: var(--forest-light);
  border-color: var(--forest-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-copper {
  background: var(--copper);
  color: var(--white);
  border: 1px solid var(--copper);
}
.btn-copper:hover {
  background: #a5642b;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--forest);
  border: 1px solid var(--forest);
}
.btn-outline:hover {
  background: var(--forest);
  color: var(--cream);
}
.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.5);
}
.btn-ghost-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.8);
}
.btn-sm { padding: 10px 24px; font-size: 0.75rem; }
.btn-lg { padding: 18px 44px; font-size: 0.9rem; }

/* Button shine effect */
.btn-shine::before {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.6s ease;
}
.btn-shine:hover::before { left: 120%; }

/* ===== Sections ===== */
.section { padding: 100px 0; }
.section-tight { padding: 64px 0; }
.section-dark { background: var(--charcoal); color: var(--cream); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--cream); }
.section-forest { background: var(--forest); color: var(--cream); }
.section-forest h2, .section-forest h3 { color: var(--cream); }
.section-cream { background: var(--cream); }
.section-bone { background: var(--bone); }
.section-linen { background: var(--linen); }

/* Section label */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.section-label .line {
  width: 32px;
  height: 1px;
  background: var(--copper);
}
.section-label span {
  font-family: var(--font-label);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--copper);
}

/* ===== Navbar — Transparent to Solid ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 1000;
  transition: all var(--t);
  display: flex;
  align-items: center;
}
.navbar.transparent {
  background: transparent;
}
.navbar.solid {
  background: rgba(245, 240, 230, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-xs);
  border-bottom: 1px solid rgba(26, 58, 46, 0.08);
}
.navbar.transparent .navbar-logo,
.navbar.transparent .navbar-menu > li > a,
.navbar.transparent .navbar-icon-btn {
  color: var(--white);
}
.navbar.transparent .navbar-logo svg path { fill: var(--white); stroke: var(--white); }
.navbar.transparent .navbar-toggle span { background: var(--white); }
.navbar.solid .navbar-logo,
.navbar.solid .navbar-menu > li > a,
.navbar.solid .navbar-icon-btn {
  color: var(--forest);
}
.navbar.solid .navbar-logo svg path { fill: var(--forest); stroke: var(--sage); }
.navbar.solid .navbar-toggle span { background: var(--forest); }

.navbar-inner {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  transition: color var(--t);
}
.navbar-logo svg { width: 28px; height: 28px; }
.navbar-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}
.navbar-menu > li > a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  position: relative;
  padding: 4px 0;
  transition: color var(--t);
}
.navbar-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--copper);
  transition: width var(--t);
}
.navbar-menu > li > a:hover::after,
.navbar-menu > li > a.active::after { width: 100%; }
.navbar-transparent .navbar-menu > li > a { color: rgba(255,255,255,0.9); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: all var(--t);
}
.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-size: 0.82rem;
  color: var(--ink);
  transition: all var(--t-fast);
}
.dropdown-menu a:hover {
  background: var(--bone);
  color: var(--forest);
  padding-left: 24px;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.navbar-icon-btn {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all var(--t-fast);
  position: relative;
}
.navbar.solid .navbar-icon-btn:hover { background: rgba(26, 58, 46, 0.08); }
.navbar.transparent .navbar-icon-btn:hover { background: rgba(255,255,255,0.1); }
.cart-count {
  position: absolute;
  top: 2px; right: 2px;
  min-width: 18px; height: 18px;
  background: var(--copper);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px; height: 28px;
  align-items: center;
  justify-content: center;
}
.navbar-toggle span {
  width: 22px; height: 2px;
  transition: all var(--t);
}
.navbar-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.navbar-toggle.active span:nth-child(2) { opacity: 0; }
.navbar-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--copper);
  z-index: 1001;
  width: 0;
  transition: width 0.1s linear;
}

/* ===== Hero — Immersive Full-Screen ===== */
.hero-immersive {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: 80px;
}
.hero-bg-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(26, 26, 26, 0.2) 0%,
    rgba(26, 26, 26, 0.1) 40%,
    rgba(26, 26, 26, 0.6) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 640px;
}
.hero-content .label-text {
  color: var(--copper-light);
  margin-bottom: 16px;
  display: block;
}
.hero-content h1 {
  color: var(--white);
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.05;
  margin-bottom: 20px;
  font-weight: 600;
}
.hero-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  animation: floatY 2.5s ease-in-out infinite;
}
.hero-scroll-indicator svg { width: 24px; height: 24px; margin: 0 auto; }
.hero-scroll-indicator span { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; }

/* Bird fly layers */
.hero-birds {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

/* ===== Seasonal Scroll Section ===== */
.season-scroll {
  position: relative;
}
.season-track {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
.season-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  display: flex;
  align-items: center;
}
.season-panel.active { opacity: 1; }
.season-panel-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.season-panel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,26,0.5) 0%, rgba(26,26,26,0.3) 100%);
}
.season-panel-content {
  position: relative;
  z-index: 2;
  max-width: 540px;
  padding: 0 var(--gutter);
}
.season-panel-content h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 16px;
}
.season-panel-content p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  margin-bottom: 24px;
}
.season-nav {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 8px;
}
.season-dot {
  width: 32px; height: 3px;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: background var(--t);
}
.season-dot.active { background: var(--copper); }

/* ===== Bird Species Collection Cards ===== */
.species-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.species-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--t-slow);
}
.species-card.large {
  grid-column: span 2;
  grid-row: span 2;
}
.species-card img,
.species-card .species-bg {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.species-card.large img,
.species-card.large .species-bg { min-height: 576px; }
.species-card:hover img,
.species-card:hover .species-bg {
  transform: scale(1.06);
}
.species-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.8) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  color: var(--white);
}
.species-card-overlay h3 {
  color: var(--white);
  margin-bottom: 4px;
}
.species-card-overlay p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 8px;
}
.species-card-overlay .label-text {
  color: var(--copper-light);
}
.species-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-top: 8px;
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--t);
}
.species-card:hover .species-card-arrow {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Scene-Based Product Display ===== */
.scene-product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 600px;
  position: relative;
}
.scene-product-img {
  position: relative;
  overflow: hidden;
  background: var(--bone);
}
.scene-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.scene-product-info {
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.scene-product-info .label-text { margin-bottom: 12px; }
.scene-product-info h3 {
  font-size: 2rem;
  margin-bottom: 16px;
}
.scene-product-info .scene-desc {
  color: var(--gray-3);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 24px;
}
.scene-product-info .scene-price {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 24px;
}
.scene-product-info .scene-price .old {
  font-size: 1.1rem;
  color: var(--gray-2);
  text-decoration: line-through;
  margin-left: 12px;
}
.scene-product-reverse .scene-product-img { order: 2; }
.scene-product-reverse .scene-product-info { order: 1; }

/* ===== Product Cards (Masonry) ===== */
.product-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.product-masonry .product-card {
  margin-bottom: 0;
}
.product-card {
  background: var(--white);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all var(--t);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.product-card-img {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bone);
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--copper);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--r-full);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  z-index: 2;
}
.product-card-badge.sale { background: var(--error); }
.product-card-badge.new { background: var(--sage); }
.product-card-quick {
  position: absolute;
  bottom: -44px; left: 0; right: 0;
  background: var(--forest);
  color: var(--white);
  padding: 12px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: bottom var(--t);
}
.product-card:hover .product-card-quick { bottom: 0; }
.product-card-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}
.product-card-cat {
  font-size: 0.68rem;
  color: var(--gray-2);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 4px;
}
.product-card-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.3;
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.product-card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}
.product-card-rating .stars { color: var(--copper); font-size: 0.8rem; }
.product-card-rating .count { font-size: 0.72rem; color: var(--gray-2); }
.product-card-price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}
.product-card-price .price { font-size: 1.15rem; font-weight: 600; color: var(--forest); }
.product-card-price .old-price { font-size: 0.85rem; color: var(--gray-2); text-decoration: line-through; }

/* ===== Habitat Builder ===== */
.habitat-builder {
  background: var(--forest);
  color: var(--cream);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.habitat-builder h2 { color: var(--cream); }
.habitat-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.habitat-step {
  text-align: center;
  padding: 32px 24px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--r-lg);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all var(--t);
}
.habitat-step:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}
.habitat-step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--copper);
  margin-bottom: 12px;
}
.habitat-step h4 { color: var(--cream); margin-bottom: 8px; }
.habitat-step p { color: rgba(245,240,230,0.7); font-size: 0.9rem; }

/* ===== Impact Dashboard ===== */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.impact-stat .number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 600;
  color: var(--copper);
  line-height: 1;
}
.impact-stat .label {
  font-size: 0.78rem;
  color: rgba(245,240,230,0.6);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 8px;
}

/* ===== Editorial Article Cards ===== */
.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.editorial-card {
  transition: all var(--t);
}
.editorial-card:hover { transform: translateY(-4px); }
.editorial-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--r-md);
  margin-bottom: 16px;
}
.editorial-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.editorial-card:hover .editorial-card-img img { transform: scale(1.05); }
.editorial-card-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 3px 10px;
  border-radius: var(--r-full);
  margin-bottom: 8px;
}
.editorial-card-tag.beginner { background: rgba(122,158,110,0.15); color: var(--sage); }
.editorial-card-tag.advanced { background: rgba(184,115,51,0.15); color: var(--copper); }
.editorial-card h4 { color: var(--ink); margin-bottom: 8px; }
.editorial-card p { font-size: 0.9rem; color: var(--gray-3); margin-bottom: 12px; }
.editorial-card-meta { font-size: 0.75rem; color: var(--gray-2); }

/* ===== Testimonial ===== */
.testimonial-block {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.testimonial-block .quote {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  line-height: 1.4;
  color: var(--cream);
  margin-bottom: 24px;
}
.testimonial-block .author {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--copper-light);
}
.testimonial-block .location {
  font-size: 0.8rem;
  color: rgba(245,240,230,0.5);
}

/* ===== Newsletter ===== */
.newsletter-section {
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
}
.newsletter-inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.newsletter-inner h2 { color: var(--cream); margin-bottom: 16px; }
.newsletter-inner p { color: rgba(245,240,230,0.7); margin-bottom: 32px; }
.newsletter-form {
  display: flex;
  gap: 8px;
  max-width: 460px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: 16px 20px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.05);
  color: var(--white);
  font-size: 0.9rem;
  outline: none;
  transition: border var(--t-fast);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form input:focus { border-color: var(--copper); }
.newsletter-form button {
  padding: 16px 32px;
  background: var(--copper);
  color: var(--white);
  border: none;
  border-radius: var(--r-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background var(--t-fast);
  white-space: nowrap;
}
.newsletter-form button:hover { background: #a5642b; }
.newsletter-trust {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.newsletter-trust p {
  font-size: 0.78rem;
  color: rgba(245,240,230,0.5);
  margin: 0;
}

/* ===== Payment Marks ===== */
.payment-icons,
.payment-mark-list,
.footer-bottom-payment {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.payment-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.payment-mark img {
  display: block;
  width: auto;
  height: 30px;
}

.footer-bottom-payment {
  justify-content: flex-end;
  max-width: 480px;
}

.footer-bottom-payment .payment-mark img {
  height: 24px;
}

/* ===== Footer ===== */
.footer {
  background: var(--forest);
  color: var(--cream);
  padding: 64px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand h3 {
  color: var(--cream);
  font-size: 1.4rem;
  margin-bottom: 12px;
}
.footer-brand p {
  color: rgba(245,240,230,0.6);
  font-size: 0.85rem;
  max-width: 280px;
  margin-bottom: 16px;
}
.footer-brand .label-text { color: var(--copper-light); }
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(245,240,230,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-fast);
}
.footer-social a:hover {
  background: var(--copper);
  transform: translateY(-2px);
}
.footer-social svg { width: 16px; height: 16px; fill: var(--cream); }
.footer-col h4 {
  color: var(--cream);
  font-size: 0.78rem;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}
.footer-col ul li { margin-bottom: 6px; }
.footer-col ul li a {
  color: rgba(245,240,230,0.6);
  font-size: 0.82rem;
  transition: color var(--t-fast);
}
.footer-col ul li a:hover { color: var(--copper-light); }
.footer-bottom {
  border-top: 1px solid rgba(245,240,230,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.75rem; color: rgba(245,240,230,0.4); }

/* ===== Breadcrumb ===== */
.breadcrumb { padding: calc(var(--header-h) + 24px) 0 16px; font-size: 0.82rem; }
.breadcrumb a { color: var(--gray-2); }
.breadcrumb a:hover { color: var(--forest); }
.breadcrumb span { margin: 0 8px; color: var(--gray-2); }
.breadcrumb .current { color: var(--forest); font-weight: 500; }

/* ===== Page Header ===== */
.page-header {
  padding: calc(var(--header-h) + 60px) 0 40px;
  text-align: center;
  background: linear-gradient(135deg, var(--bone) 0%, var(--cream) 100%);
}
.page-header .label-text { display: block; margin-bottom: 8px; }
.page-header h1 { margin-bottom: 12px; }
.page-header p { color: var(--gray-3); max-width: 560px; margin: 0 auto; }

/* ===== Shop Layout ===== */
.shop-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  padding: 20px 0 80px;
}
.shop-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  align-self: start;
}
.shop-sidebar h4 {
  font-size: 0.78rem;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-1);
}
.filter-group { margin-bottom: 28px; }
.filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--gray-3);
  transition: color var(--t-fast);
}
.filter-option input { accent-color: var(--forest); }
.filter-option:hover { color: var(--forest); }
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-1);
}
.shop-toolbar .result-count { font-size: 0.85rem; color: var(--gray-3); }
.shop-toolbar select {
  padding: 8px 16px;
  border: 1px solid var(--gray-1);
  border-radius: var(--r-sm);
  background: var(--white);
  font-size: 0.82rem;
  cursor: pointer;
}

/* ===== Product Detail ===== */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: calc(var(--header-h) + 24px) 0 80px;
}
.product-gallery { position: relative; }
.product-main-img {
  aspect-ratio: 1;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bone);
  margin-bottom: 12px;
}
.product-main-img img { width: 100%; height: 100%; object-fit: cover; }
.product-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.product-thumb {
  aspect-ratio: 1;
  border-radius: var(--r-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border var(--t-fast);
}
.product-thumb.active { border-color: var(--forest); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-info h1 {
  font-size: 2rem;
  margin-bottom: 12px;
  color: var(--ink);
}
.product-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.product-rating { display: flex; align-items: center; gap: 4px; }
.product-rating .stars { color: var(--copper); }
.product-rating .count { font-size: 0.82rem; color: var(--gray-2); }
.product-sku { font-size: 0.75rem; color: var(--gray-2); }
.product-price {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 20px;
}
.product-price .old-price {
  font-size: 1.1rem;
  color: var(--gray-2);
  text-decoration: line-through;
  margin-left: 12px;
}
.product-description {
  color: var(--gray-3);
  margin-bottom: 24px;
  line-height: 1.8;
}
.product-why-matters {
  background: var(--bone);
  border-left: 3px solid var(--copper);
  padding: 20px;
  margin-bottom: 24px;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.product-why-matters .label-text { margin-bottom: 6px; display: block; }
.product-why-matters p { font-size: 0.9rem; color: var(--gray-3); font-style: italic; }
.product-options { margin-bottom: 24px; }
.product-options label {
  display: block;
  font-weight: 600;
  font-size: 0.82rem;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.product-options select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-1);
  border-radius: var(--r-sm);
  font-size: 0.88rem;
  margin-bottom: 16px;
}
.qty-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--gray-1);
  border-radius: var(--r-sm);
  width: fit-content;
  margin-bottom: 24px;
}
.qty-selector button {
  width: 44px; height: 44px;
  font-size: 1.1rem;
  color: var(--forest);
  background: var(--bone);
}
.qty-selector input {
  width: 56px; height: 44px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--gray-1);
  border-right: 1px solid var(--gray-1);
  font-size: 0.95rem;
}
.product-actions { display: flex; gap: 10px; margin-bottom: 32px; }
.product-meta-list { border-top: 1px solid var(--gray-1); padding-top: 24px; }
.product-meta-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 0.85rem;
}
.product-meta-list li svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--sage); }

/* ===== Cart ===== */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  padding: calc(var(--header-h) + 24px) 0 80px;
}
.cart-items {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 24px;
  border: 1px solid var(--gray-1);
}
.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto auto auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-1);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-img {
  width: 80px; height: 80px;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--bone);
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-name { font-weight: 500; font-size: 0.92rem; }
.cart-item-category { font-size: 0.78rem; color: var(--gray-2); }
.cart-item-price { font-weight: 600; color: var(--forest); }
.cart-item-qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--gray-1);
  border-radius: var(--r-sm);
}
.cart-item-qty button { width: 32px; height: 32px; color: var(--forest); }
.cart-item-qty span { width: 40px; text-align: center; font-size: 0.85rem; }
.cart-item-remove { color: var(--gray-2); transition: color var(--t-fast); }
.cart-item-remove:hover { color: var(--error); }
.cart-summary {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 24px;
  border: 1px solid var(--gray-1);
  position: sticky;
  top: calc(var(--header-h) + 20px);
  align-self: start;
}
.cart-summary h3 {
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--sage);
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.88rem;
}
.cart-summary-row.total {
  border-top: 1px solid var(--gray-1);
  padding-top: 12px;
  margin-top: 12px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--forest);
}
.cart-summary .btn { width: 100%; margin-top: 16px; }

/* ===== Checkout ===== */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  padding: calc(var(--header-h) + 24px) 0 80px;
}
.checkout-form {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 32px;
  border: 1px solid var(--gray-1);
}
.checkout-form h3 {
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--sage);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.78rem;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-1);
  border-radius: var(--r-sm);
  font-size: 0.88rem;
  outline: none;
  transition: border var(--t-fast);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--sage); }
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.payment-methods {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.payment-method {
  min-width: 0;
  min-height: 56px;
  padding: 10px 12px;
  border: 1px solid var(--gray-1);
  border-radius: var(--r-sm);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.25;
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}

.payment-method:hover {
  border-color: var(--sage);
}

.payment-method.active {
  border-color: var(--forest);
  background: rgba(26,58,46,0.05);
  box-shadow: inset 0 0 0 1px var(--forest);
}

.payment-method:has(input:checked) {
  border-color: var(--forest);
  background: rgba(26,58,46,0.05);
  box-shadow: inset 0 0 0 1px var(--forest);
}

.payment-method:focus-within {
  outline: 2px solid var(--copper);
  outline-offset: 2px;
}

.payment-method-logo {
  display: block;
  width: auto;
  height: 24px;
  flex: 0 0 auto;
}

.payment-method-card {
  flex-direction: column;
}

.payment-method-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.payment-method-logos img {
  display: block;
  width: auto;
  height: 18px;
}

#card-fields[hidden] {
  display: none !important;
}

.checkout-security {
  margin-top: 14px;
  color: var(--gray-3);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-align: center;
}

.checkout-security img {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

/* ===== Auth Pages ===== */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  background: var(--forest);
  position: relative;
  overflow: hidden;
}
.auth-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1518709268805-4e9042af9f23?w=1920&q=80') center/cover;
  opacity: 0.15;
}
.auth-card {
  background: var(--cream);
  border-radius: var(--r-lg);
  padding: 48px;
  max-width: 440px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}
.auth-card .logo { text-align: center; margin-bottom: 32px; }
.auth-card .logo svg { width: 44px; height: 44px; margin: 0 auto; }
.auth-card h2 { text-align: center; margin-bottom: 8px; }
.auth-card .subtitle {
  text-align: center;
  color: var(--gray-3);
  font-size: 0.88rem;
  margin-bottom: 32px;
}
.auth-card .btn { width: 100%; margin-bottom: 12px; }
.auth-divider {
  text-align: center;
  margin: 24px 0;
  position: relative;
}
.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 1px;
  background: var(--gray-1);
}
.auth-divider span {
  background: var(--cream);
  padding: 0 16px;
  color: var(--gray-2);
  font-size: 0.82rem;
  position: relative;
}
.auth-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--gray-3);
}
.auth-footer a { color: var(--forest); font-weight: 500; }

/* ===== Account ===== */
.account-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  padding: calc(var(--header-h) + 24px) 0 80px;
}
.account-sidebar {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 24px;
  border: 1px solid var(--gray-1);
}
.account-sidebar h4 {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--sage);
}
.account-sidebar ul li { margin-bottom: 2px; }
.account-sidebar ul li a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  font-size: 0.88rem;
  color: var(--gray-3);
  transition: all var(--t-fast);
}
.account-sidebar ul li a:hover,
.account-sidebar ul li a.active {
  background: rgba(26,58,46,0.06);
  color: var(--forest);
  font-weight: 500;
}
.account-content {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 32px;
  border: 1px solid var(--gray-1);
}
.account-content h3 { margin-bottom: 24px; }
.order-card {
  border: 1px solid var(--gray-1);
  border-radius: var(--r-md);
  padding: 20px;
  margin-bottom: 12px;
}
.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-1);
}
.order-card-header .order-num { font-weight: 500; font-size: 0.88rem; }
.order-card-header .order-status {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: var(--r-full);
}
.order-status.delivered { background: rgba(58,107,58,0.12); color: var(--success); }
.order-status.shipped { background: rgba(184,115,51,0.12); color: var(--copper); }
.order-status.processing { background: rgba(122,158,110,0.12); color: var(--sage); }

/* ===== Learn/Article ===== */
.learn-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  padding: 20px 0 80px;
}
.learn-feature {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--gray-1);
}
.learn-feature-img { aspect-ratio: 16/10; overflow: hidden; }
.learn-feature-img img { width: 100%; height: 100%; object-fit: cover; }
.learn-feature-body { padding: 32px; }
.article-content { padding: calc(var(--header-h) + 24px) 0 80px; }
.article-content h1 { margin-bottom: 16px; }
.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-1);
}
.article-meta img { width: 40px; height: 40px; border-radius: 50%; }
.article-body { max-width: 740px; }
.article-body p { margin-bottom: 20px; font-size: 1.05rem; color: var(--gray-3); line-height: 1.85; }
.article-body h2 { margin: 32px 0 16px; }
.article-body img { border-radius: var(--r-md); margin: 24px 0; }

/* ===== About ===== */
.about-hero {
  padding: calc(var(--header-h) + 80px) 0 60px;
  text-align: center;
  background: var(--forest);
  color: var(--cream);
}
.about-hero h1 { color: var(--cream); margin-bottom: 16px; }
.about-hero p { color: rgba(245,240,230,0.8); max-width: 560px; margin: 0 auto; font-size: 1.1rem; }
.about-content { padding: 60px 0; }
.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 60px 0;
}
.about-value-card { text-align: center; padding: 32px; }
.about-value-card svg { width: 44px; height: 44px; color: var(--forest); margin-bottom: 16px; }
.about-value-card p { color: var(--gray-3); font-size: 0.88rem; }

/* ===== Contact ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: calc(var(--header-h) + 24px) 0 80px;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-info-item svg { width: 22px; height: 22px; color: var(--forest); flex-shrink: 0; }
.contact-form {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 32px;
  border: 1px solid var(--gray-1);
}

/* ===== Policy Pages ===== */
.policy-page { padding: calc(var(--header-h) + 24px) 0 80px; }
.policy-page h1 { margin-bottom: 8px; }
.policy-page .last-updated { font-size: 0.82rem; color: var(--gray-2); margin-bottom: 32px; }
.policy-content { max-width: 780px; }
.policy-content h2 { font-size: 1.3rem; margin: 32px 0 12px; }
.policy-content h3 { font-size: 1.05rem; margin: 24px 0 8px; }
.policy-content p { margin-bottom: 16px; color: var(--gray-3); }
.policy-content ul { list-style: disc; padding-left: 24px; margin-bottom: 16px; }
.policy-content ul li { margin-bottom: 8px; color: var(--gray-3); }
.policy-content a { color: var(--forest); text-decoration: underline; }

/* ===== Toast ===== */
.toast {
  position: fixed;
  bottom: 24px; right: 24px;
  background: var(--forest);
  color: var(--cream);
  padding: 16px 24px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--t);
  display: flex;
  align-items: center;
  gap: 12px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast svg { width: 20px; height: 20px; }

/* ===== Search Overlay ===== */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.92);
  backdrop-filter: blur(8px);
  z-index: 1002;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--t);
}
.search-overlay.active { opacity: 1; visibility: visible; }
.search-box {
  width: 100%;
  max-width: 640px;
  padding: 0 24px;
}
.search-box input {
  width: 100%;
  padding: 18px 24px;
  font-size: 1.2rem;
  font-family: var(--font-display);
  color: var(--white);
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(255,255,255,0.3);
  outline: none;
  transition: border var(--t-fast);
}
.search-box input::placeholder { color: rgba(255,255,255,0.4); }
.search-box input:focus { border-color: var(--copper); }
.search-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  transition: background var(--t-fast);
}
.search-close:hover { background: rgba(255,255,255,0.1); }
.search-results {
  margin-top: 16px;
  max-height: 400px;
  overflow-y: auto;
}
.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background var(--t-fast);
}
.search-result-item:hover { background: rgba(255,255,255,0.08); }
.search-result-item img {
  width: 48px; height: 48px;
  border-radius: var(--r-sm);
  object-fit: cover;
  flex-shrink: 0;
}
.search-result-item .name {
  color: var(--white);
  font-size: 0.9rem;
  font-family: var(--font-display);
}
.search-result-item .cat {
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
}
.search-result-item .price {
  color: var(--copper-light);
  font-weight: 600;
  margin-left: auto;
}
.search-hint {
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
  margin-top: 12px;
  text-align: center;
}

/* ===== Mobile Menu ===== */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--forest);
  z-index: 999;
  padding: 80px 24px 24px;
  transform: translateX(100%);
  transition: transform var(--t);
  overflow-y: auto;
}
.mobile-menu.active { transform: translateX(0); }
.mobile-menu a {
  display: block;
  padding: 16px 0;
  font-size: 1.1rem;
  border-bottom: 1px solid rgba(245,240,230,0.1);
  color: var(--cream);
  font-family: var(--font-display);
}

/* ===== Cart Drawer ===== */
.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 400px;
  max-width: 90vw;
  background: var(--cream);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform var(--t);
  display: flex;
  flex-direction: column;
}
.cart-drawer.active { transform: translateX(0); }
.cart-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-1);
}
.cart-drawer-header h3 { font-size: 1.1rem; }
.cart-drawer-close {
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--gray-3);
}
.cart-drawer-close:hover { background: var(--bone); }
.cart-drawer-body { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cart-drawer-footer { padding: 20px 24px; border-top: 1px solid var(--gray-1); }
.cart-drawer-footer .cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 1.05rem;
  font-weight: 600;
}
.cart-drawer-footer .btn { width: 100%; }

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,26,26,0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all var(--t);
}
.overlay.active { opacity: 1; visibility: visible; }

/* ===== Empty State ===== */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state svg { width: 72px; height: 72px; color: var(--gray-1); margin-bottom: 16px; }
.empty-state h3 { margin-bottom: 8px; }
.empty-state p { color: var(--gray-3); margin-bottom: 24px; }

/* ===== Spinner ===== */
.spinner {
  width: 36px; height: 36px;
  border: 2px solid var(--gray-1);
  border-top-color: var(--forest);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 40px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Accordion ===== */
.accordion-item {
  border-bottom: 1px solid var(--gray-1);
  overflow: hidden;
}
.accordion-header {
  padding: 16px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  transition: color var(--t-fast);
}
.accordion-header:hover { color: var(--forest); }
.accordion-icon { transition: transform var(--t); }
.accordion-item.active .accordion-icon { transform: rotate(180deg); }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.accordion-item.active .accordion-body {
  max-height: 500px;
  padding-bottom: 16px;
}
.accordion-body p { color: var(--gray-3); font-size: 0.92rem; line-height: 1.7; }

/* ===== Utility ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.hidden { display: none !important; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
