/*
Theme Name: The Tea Story
Theme URI: https://theteastory.in
Author: The Tea Story
Author URI: https://theteastory.in
Description: A premium WooCommerce theme for The Tea Story — handcrafted teas from West Garo Hills, Meghalaya. Re-brewable up to 3 times. Never bitter.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
License URI: https://theteastory.in
Text Domain: teastory
Tags: woocommerce, e-commerce, tea, organic, responsive, custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ============================================================
   CSS VARIABLES — THE TEA STORY DESIGN SYSTEM
   ============================================================ */
:root {
  /* Brand Colors */
  --green-deep:    #1A4D2E;
  --green-mid:     #2E7D4F;
  --green-light:   #4CAF76;
  --green-pale:    #D6ECD9;
  --green-bg:      #F0F7F2;
  --gold:          #C8922A;
  --gold-light:    #F0C86A;
  --gold-pale:     #FDF8ED;
  --cream:         #FAF8F3;
  --brown-warm:    #5C3D2E;
  --text-dark:     #1C1C1C;
  --text-mid:      #4A4A4A;
  --text-light:    #7A7A7A;
  --white:         #FFFFFF;
  --border:        #E2E8E4;
  --shadow:        rgba(26,77,46,0.12);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-accent:  'DM Mono', monospace;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;

  /* Layout */
  --container: 1280px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 32px;
  --radius-full: 999px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.3s;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--green-deep);
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }

p { max-width: 68ch; }
p + p { margin-top: 1em; }

.text-gold   { color: var(--gold); }
.text-green  { color: var(--green-mid); }
.text-light  { color: var(--text-light); }
.text-center { text-align: center; }
.text-center p { margin-left: auto; margin-right: auto; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section { padding: var(--space-xl) 0; }
.section-lg { padding: var(--space-2xl) 0; }
.section-sm { padding: var(--space-lg) 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all var(--duration) var(--ease);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green-deep);
  color: var(--white);
  border: 2px solid var(--green-deep);
}
.btn-primary:hover {
  background: var(--green-mid);
  border-color: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--shadow);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border: 2px solid var(--gold);
}
.btn-gold:hover {
  background: #b07d22;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,146,42,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--green-deep);
  border: 2px solid var(--green-deep);
}
.btn-outline:hover {
  background: var(--green-deep);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--green-deep);
}

.btn-sm { padding: 0.6rem 1.25rem; font-size: 0.875rem; }
.btn-lg { padding: 1.1rem 2.5rem; font-size: 1.05rem; }

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.announcement-bar {
  background: var(--green-deep);
  color: var(--white);
  padding: 0.6rem 0;
  overflow: hidden;
  position: relative;
}

.announcement-bar__track {
  display: flex;
  gap: 4rem;
  animation: marquee 28s linear infinite;
  white-space: nowrap;
}

.announcement-bar__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.announcement-bar__item .dot {
  color: var(--gold);
  font-size: 1.2rem;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: box-shadow var(--duration) var(--ease);
}

.site-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.12); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: var(--space-md);
}

/* Logo */
.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.site-logo__icon {
  width: 44px;
  height: 44px;
  background: var(--green-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.4rem;
}
.site-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.site-logo__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green-deep);
}
.site-logo__sub {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Main Nav */
.main-nav { display: flex; align-items: center; gap: 0.25rem; }
.main-nav a {
  padding: 0.5rem 0.875rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  transition: all var(--duration) var(--ease);
  position: relative;
}
.main-nav a:hover,
.main-nav a.current { color: var(--green-deep); background: var(--green-pale); }

/* Dropdown */
.nav-item { position: relative; }
.nav-item__dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
  padding: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: all var(--duration) var(--ease);
  z-index: 200;
}
.nav-item:hover .nav-item__dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.nav-item__dropdown a {
  display: block;
  padding: 0.6rem 0.875rem;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  color: var(--text-dark);
}
.nav-item__dropdown a:hover { background: var(--green-pale); color: var(--green-deep); }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.header-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-size: 1.1rem;
  transition: all var(--duration) var(--ease);
  position: relative;
}
.header-icon:hover { background: var(--green-pale); color: var(--green-deep); }
.header-icon__badge {
  position: absolute;
  top: 2px; right: 2px;
  width: 18px; height: 18px;
  background: var(--gold);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--duration) var(--ease);
}
.menu-toggle:hover { background: var(--green-pale); }
.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--duration) var(--ease);
  display: block;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 90vh;
  background: linear-gradient(135deg, var(--green-deep) 0%, #0F2E1A 60%, var(--brown-warm) 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero__bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(76,175,118,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(200,146,42,0.1) 0%, transparent 40%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.hero__content { color: var(--white); }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(200,146,42,0.2);
  border: 1px solid rgba(200,146,42,0.4);
  color: var(--gold-light);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.hero__title {
  color: var(--white);
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero__title em {
  font-style: normal;
  color: var(--gold-light);
}

.hero__desc {
  color: rgba(255,255,255,0.82);
  font-size: 1.1rem;
  max-width: 50ch;
  margin-bottom: var(--space-lg);
}

.hero__ctas { display: flex; gap: var(--space-sm); flex-wrap: wrap; margin-bottom: var(--space-lg); }

.hero__pills {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.hero__pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  padding: 0.4rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  backdrop-filter: blur(8px);
}
.hero__pill .icon { font-size: 0.9rem; }

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero__img-wrap {
  width: 420px;
  height: 520px;
  border-radius: 40% 60% 60% 40% / 50% 40% 60% 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  animation: morphing 8s ease-in-out infinite;
}
@keyframes morphing {
  0%,100% { border-radius: 40% 60% 60% 40% / 50% 40% 60% 50%; }
  50%      { border-radius: 60% 40% 40% 60% / 40% 60% 40% 60%; }
}
.hero__img-placeholder {
  font-size: 8rem;
  opacity: 0.6;
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-16px); }
}

/* ============================================================
   USP BAR
   ============================================================ */
.usp-bar {
  background: var(--green-pale);
  border-bottom: 1px solid var(--border);
  padding: var(--space-md) 0;
}
.usp-bar__list {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}
.usp-bar__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--green-deep);
}
.usp-bar__item .icon {
  width: 36px;
  height: 36px;
  background: var(--green-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  flex-shrink: 0;
}

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-header { text-align: center; margin-bottom: var(--space-xl); }
.section-header__label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}
.section-header__title { margin-bottom: var(--space-sm); }
.section-header__desc { color: var(--text-mid); margin: 0 auto; max-width: 55ch; }

/* ============================================================
   CATEGORY CARDS
   ============================================================ */
.categories { background: var(--cream); }

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  group: true;
}
.category-card__bg {
  position: absolute;
  inset: 0;
  transition: transform 0.6s var(--ease);
}
.category-card:hover .category-card__bg { transform: scale(1.06); }
.category-card--green  .category-card__bg { background: linear-gradient(145deg, #1A5C36, #2E9959); }
.category-card--brown  .category-card__bg { background: linear-gradient(145deg, #3E2410, #7A4828); }
.category-card--gold   .category-card__bg { background: linear-gradient(145deg, #7A5010, #C8922A); }

.category-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
}
.category-card__emoji {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  font-size: 5rem;
  opacity: 0.7;
  transition: all 0.4s var(--ease);
}
.category-card:hover .category-card__emoji { transform: translate(-50%, -65%) scale(1.1); opacity: 0.9; }
.category-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
  color: var(--white);
}
.category-card__count {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.25rem;
}
.category-card__name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--white);
}
.category-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.05em;
  transition: gap var(--duration) var(--ease);
}
.category-card:hover .category-card__link { gap: 0.6rem; }

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--duration) var(--ease);
  position: relative;
}
.product-card:hover {
  border-color: var(--green-light);
  box-shadow: 0 12px 40px var(--shadow);
  transform: translateY(-4px);
}

.product-card__img {
  aspect-ratio: 1;
  background: var(--green-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}
.product-card__img img { width: 100%; height: 100%; object-fit: cover; }

.product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
}

.product-card__actions {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  opacity: 0;
  transform: translateX(8px);
  transition: all var(--duration) var(--ease);
}
.product-card:hover .product-card__actions { opacity: 1; transform: translateX(0); }
.product-card__action-btn {
  width: 36px; height: 36px;
  background: var(--white);
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-dark);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all var(--duration) var(--ease);
}
.product-card__action-btn:hover { background: var(--green-deep); color: var(--white); border-color: var(--green-deep); }

.product-card__body { padding: 1rem; }
.product-card__category {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 0.375rem;
}
.product-card__name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 0.375rem;
  line-height: 1.3;
}
.product-card__tagline {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card__brew {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.875rem;
}
.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 0.875rem;
}
.product-card__price { font-size: 1.1rem; font-weight: 700; color: var(--green-deep); }
.product-card__price .original { font-size: 0.82rem; color: var(--text-light); text-decoration: line-through; font-weight: 400; margin-left: 0.3rem; }
.product-card__atc {
  padding: 0.5rem 0.875rem;
  background: var(--green-deep);
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  transition: all var(--duration) var(--ease);
}
.product-card__atc:hover { background: var(--green-mid); transform: scale(1.05); }

/* ============================================================
   HEALTH CONCERN TABS
   ============================================================ */
.health-section { background: var(--cream); }

.health-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: var(--space-lg);
}
.health-tab {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  border: 2px solid var(--border);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-mid);
  background: var(--white);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}
.health-tab:hover { border-color: var(--green-mid); color: var(--green-mid); }
.health-tab.active {
  background: var(--green-deep);
  color: var(--white);
  border-color: var(--green-deep);
}

/* ============================================================
   BREW GUIDE SECTION
   ============================================================ */
.brew-section {
  background: var(--green-deep);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.brew-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(76,175,118,0.15) 0%, transparent 70%);
}

.brew-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  position: relative;
  z-index: 1;
}
.brew-step {
  text-align: center;
  padding: var(--space-lg);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
  transition: all var(--duration) var(--ease);
}
.brew-step:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); }
.brew-step__number {
  width: 64px;
  height: 64px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 auto var(--space-md);
}
.brew-step__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.brew-step__desc { color: rgba(255,255,255,0.75); font-size: 0.9rem; }
.brew-step__detail {
  margin-top: var(--space-sm);
  display: inline-block;
  background: rgba(200,146,42,0.2);
  border: 1px solid rgba(200,146,42,0.4);
  color: var(--gold-light);
  padding: 0.3rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
}

/* ============================================================
   BRAND STORY
   ============================================================ */
.story-section { overflow: hidden; }
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 600px;
}
.story-visual {
  background: linear-gradient(135deg, #1A4D2E 0%, #0F2E1A 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
}
.story-visual::before {
  content: '🌿';
  position: absolute;
  font-size: 20rem;
  opacity: 0.05;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.story-visual__content { position: relative; z-index: 1; text-align: center; color: var(--white); }
.story-visual__emoji { font-size: 6rem; margin-bottom: var(--space-md); display: block; }
.story-visual__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}
.story-visual__number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}
.story-visual__label { font-size: 0.9rem; color: rgba(255,255,255,0.7); }

.story-content {
  background: var(--cream);
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.story-content h2 { margin-bottom: var(--space-md); }
.story-content p { color: var(--text-mid); margin-bottom: var(--space-md); max-width: 55ch; }

.story-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}
.story-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: var(--space-sm);
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.story-feature__icon {
  width: 40px; height: 40px;
  background: var(--green-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.story-feature__text strong { display: block; font-size: 0.875rem; color: var(--green-deep); margin-bottom: 0.2rem; }
.story-feature__text span { font-size: 0.78rem; color: var(--text-light); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { background: var(--green-bg); }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  border: 1px solid var(--border);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 6rem;
  color: var(--green-pale);
  line-height: 1;
  position: absolute;
  top: 0.5rem;
  left: 1.25rem;
}
.testimonial-card__stars {
  display: flex;
  gap: 0.2rem;
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: var(--space-sm);
}
.testimonial-card__text {
  font-size: 0.925rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 1;
}
.testimonial-card__author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-card__avatar {
  width: 44px; height: 44px;
  background: var(--green-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.testimonial-card__name { font-weight: 700; font-size: 0.875rem; color: var(--green-deep); }
.testimonial-card__loc { font-size: 0.775rem; color: var(--text-light); }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter {
  background: linear-gradient(135deg, var(--green-deep) 0%, #0F2E1A 100%);
  padding: var(--space-xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.newsletter > * { position: relative; z-index: 1; }
.newsletter h2 { color: var(--white); margin-bottom: var(--space-sm); }
.newsletter p { color: rgba(255,255,255,0.75); margin: 0 auto var(--space-lg); }
.newsletter__form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  gap: 0;
  border-radius: var(--radius-full);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.newsletter__input {
  flex: 1;
  padding: 0.875rem 1.5rem;
  border: none;
  outline: none;
  font-size: 0.925rem;
  background: rgba(255,255,255,0.95);
}
.newsletter__btn {
  padding: 0.875rem 1.5rem;
  background: var(--gold);
  color: var(--white);
  font-weight: 700;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: background var(--duration) var(--ease);
  white-space: nowrap;
}
.newsletter__btn:hover { background: #b07d22; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #0D1F14; color: var(--white); padding: var(--space-xl) 0 var(--space-md); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: var(--space-lg);
}
.footer-brand__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--space-md);
}
.footer-brand__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--white);
}
.footer-brand__sub { font-size: 0.68rem; color: var(--gold); letter-spacing: 0.1em; text-transform: uppercase; }
.footer-brand__desc { color: rgba(255,255,255,0.6); font-size: 0.875rem; line-height: 1.7; margin-bottom: var(--space-md); max-width: 30ch; }
.footer-brand__pills { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.footer-brand__pill {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.75);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
}
.footer-col__title {
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-md);
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  margin-bottom: 0.6rem;
  transition: color var(--duration) var(--ease);
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  transition: all var(--duration) var(--ease);
}
.footer-social a:hover { background: var(--green-mid); color: var(--white); }

/* ============================================================
   WOOCOMMERCE — PRODUCT PAGE
   ============================================================ */
.woocommerce div.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
  padding: var(--space-xl) 0;
}
.woocommerce div.product .woocommerce-product-gallery { border-radius: var(--radius-md); overflow: hidden; }
.woocommerce div.product .product_title { font-family: var(--font-display); color: var(--green-deep); }
.woocommerce div.product p.price, .woocommerce div.product span.price {
  color: var(--green-deep);
  font-size: 1.5rem;
  font-weight: 700;
}
.woocommerce div.product .single_add_to_cart_button {
  background: var(--green-deep);
  color: var(--white);
  border-radius: var(--radius-full);
  padding: 0.875rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  border: none;
  transition: all var(--duration) var(--ease);
}
.woocommerce div.product .single_add_to_cart_button:hover { background: var(--green-mid); transform: translateY(-2px); box-shadow: 0 8px 24px var(--shadow); }

/* ============================================================
   WOOCOMMERCE — CART & CHECKOUT
   ============================================================ */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce #payment #place_order {
  background: var(--green-deep) !important;
  color: var(--white) !important;
  border-radius: var(--radius-full) !important;
  font-weight: 600 !important;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce #payment #place_order:hover { background: var(--green-mid) !important; }

/* ============================================================
   MOBILE NAV PANEL
   ============================================================ */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
}
.mobile-nav__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
  backdrop-filter: blur(4px);
}
.mobile-nav__panel {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: min(320px, 85vw);
  background: var(--white);
  transform: translateX(-100%);
  transition: transform var(--duration) var(--ease);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.mobile-nav.open { pointer-events: all; }
.mobile-nav.open .mobile-nav__overlay { opacity: 1; }
.mobile-nav.open .mobile-nav__panel { transform: translateX(0); }

.mobile-nav__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md);
  border-bottom: 1px solid var(--border);
}
.mobile-nav__close {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-pale);
  color: var(--green-deep);
  font-size: 1.1rem;
  cursor: pointer;
}
.mobile-nav__links { padding: var(--space-sm); flex: 1; }
.mobile-nav__links a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--text-dark);
  transition: all var(--duration) var(--ease);
  margin-bottom: 0.25rem;
}
.mobile-nav__links a:hover { background: var(--green-pale); color: var(--green-deep); }
.mobile-nav__footer {
  padding: var(--space-md);
  border-top: 1px solid var(--border);
}

/* ============================================================
   RESPONSIVE — TABLET (max 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__desc { margin-left: auto; margin-right: auto; }
  .hero__ctas { justify-content: center; }
  .hero__pills { justify-content: center; }
  .hero__visual { display: none; }
  .brew-steps { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .story-visual { min-height: 300px; }
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   RESPONSIVE — MOBILE (max 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --space-xl: 2.5rem;
    --space-2xl: 3.5rem;
  }

  .main-nav { display: none; }
  .menu-toggle { display: flex; }

  .hero { min-height: 80vh; padding: var(--space-xl) 0; }
  .hero__title { font-size: 2.2rem; }

  .category-grid { grid-template-columns: 1fr 1fr; }
  .category-grid .category-card:last-child { grid-column: span 2; }

  .product-grid { grid-template-columns: 1fr 1fr; gap: var(--space-sm); }

  .usp-bar__list { gap: var(--space-md); }

  .health-tabs { gap: 0.375rem; }
  .health-tab { padding: 0.5rem 0.875rem; font-size: 0.8rem; }

  .testimonial-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: var(--space-lg); }

  .footer-bottom { flex-direction: column; text-align: center; }

  .newsletter__form { flex-direction: column; border-radius: var(--radius-md); overflow: visible; }
  .newsletter__input { border-radius: var(--radius-md); }
  .newsletter__btn { border-radius: var(--radius-md); padding: 0.875rem; }

  .story-features { grid-template-columns: 1fr; }

  .woocommerce div.product { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (max 480px)
   ============================================================ */
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr; }
  .category-grid .category-card:last-child { grid-column: auto; }
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { text-align: center; justify-content: center; }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
