/* ================================================================
   Pickle Patch — Cottagecore Apothecary Design System
   ================================================================ */

/* ------ Google Fonts loaded in HTML ------ */
/* Playfair Display (serif headings) + DM Sans (body) + Caveat (handwritten accents) */

/* ------ Design Tokens ------ */
:root {
  /* Earth-tone palette */
  --forest: #4A6741;
  --forest-light: #6B8F61;
  --forest-dark: #3A5233;
  --olive: #8B9E6B;
  --sage: #B8C9A3;
  --sage-light: #D4DFC8;
  --cream: #FDF8F0;
  --cream-dark: #F0E6D4;
  --warm: #E8DCC8;
  --amber: #C4944A;
  --amber-light: #DDB56E;
  --amber-dark: #A67A35;
  --terracotta: #C4704A;
  --terracotta-light: #D9916E;
  --brown: #5C4332;
  --brown-light: #7A5E4B;
  --brown-dark: #3E2C20;
  --parchment: #FAF5EB;
  --pickle: #6B8F3C;
  --pickle-light: #8CB04F;

  /* Semantic */
  --danger: #C45B5B;
  --warning: #C4944A;
  --success: #5B9E6B;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(62, 44, 32, 0.06);
  --shadow-md: 0 4px 12px rgba(62, 44, 32, 0.08);
  --shadow-lg: 0 8px 30px rgba(62, 44, 32, 0.12);
  --shadow-xl: 0 15px 50px rgba(62, 44, 32, 0.15);
  --shadow-warm: 0 4px 20px rgba(196, 148, 74, 0.15);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;

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

/* ------ Reset & Base ------ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--brown-dark);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  font-weight: 700;
  color: var(--brown-dark);
}

a {
  color: var(--forest);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--amber);
}

img {
  max-width: 100%;
  display: block;
}

/* ------ Utility ------ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.text-handwritten {
  font-family: 'Caveat', cursive;
}

.text-muted {
  color: var(--brown-light);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ------ Buttons ------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-md);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary {
  background: linear-gradient(135deg, var(--forest), var(--forest-dark));
  color: white;
  box-shadow: 0 4px 15px rgba(74, 103, 65, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(74, 103, 65, 0.4);
  color: white;
}

.btn-amber {
  background: linear-gradient(135deg, var(--amber), var(--amber-dark));
  color: white;
  box-shadow: 0 4px 15px rgba(196, 148, 74, 0.3);
}

.btn-amber:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(196, 148, 74, 0.4);
  color: white;
}

.btn-secondary {
  background: white;
  color: var(--forest);
  border: 2px solid var(--sage);
}

.btn-secondary:hover {
  background: var(--sage-light);
  border-color: var(--forest-light);
  color: var(--forest-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--forest);
  padding: 0.5rem 1rem;
}

.btn-ghost:hover {
  background: var(--sage-light);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1.1rem 2.75rem;
  font-size: 1.1rem;
  border-radius: var(--radius-lg);
}

.btn-xl {
  padding: 1.25rem 3.5rem;
  font-size: 1.2rem;
  border-radius: var(--radius-lg);
  letter-spacing: 0.02em;
}

/* ------ Forms ------ */
.form-input {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-md);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--brown-dark);
  background: white;
  transition: all 0.2s var(--ease);
  outline: none;
}

.form-input:focus {
  border-color: var(--forest-light);
  box-shadow: 0 0 0 4px rgba(74, 103, 65, 0.1);
}

.form-input::placeholder {
  color: #B5A898;
}

/* ================================================================
   STOREFRONT LANDING PAGE
   ================================================================ */

.storefront {
  min-height: 100vh;
  background: var(--cream);
  overflow-x: hidden;
}

/* ------ Navigation ------ */
.store-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.store-nav .nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.store-nav .nav-logo {
  width: 44px;
  height: 44px;
  background: var(--forest);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  box-shadow: 0 2px 8px rgba(74, 103, 65, 0.2);
}

.store-nav .nav-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--brown-dark);
}

.store-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.store-nav .nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--brown-light);
  transition: color 0.2s;
}

.store-nav .nav-links a:hover {
  color: var(--forest);
}

/* ------ Botanical Divider ------ */
.botanical-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0;
  padding: 1rem 0;
  color: var(--olive);
  font-size: 1.25rem;
}

.botanical-divider::before,
.botanical-divider::after {
  content: '';
  height: 1px;
  width: 80px;
  background: linear-gradient(90deg, transparent, var(--sage), transparent);
}

/* ------ Hero Section ------ */
.hero-section {
  position: relative;
  padding: 5rem 2rem 4rem;
  text-align: center;
  background: linear-gradient(180deg, var(--parchment) 0%, var(--cream) 70%, var(--cream) 100%);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(184, 201, 163, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 30%, rgba(196, 148, 74, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(107, 143, 60, 0.08) 0%, transparent 40%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: white;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--forest);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
  border: 1px solid var(--sage-light);
  font-family: 'Caveat', cursive;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.hero-title {
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  font-weight: 800;
  color: var(--brown-dark);
  margin-bottom: 1rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero-title .accent {
  color: var(--forest);
  font-style: italic;
}

.hero-title .pickle-accent {
  color: var(--pickle);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  color: var(--brown-light);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  font-size: 0.85rem;
  color: var(--brown-light);
  flex-wrap: wrap;
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Decorative herbs */
.herb-left, .herb-right {
  position: absolute;
  font-size: 4rem;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

.herb-left {
  left: 5%;
  top: 30%;
  transform: rotate(-15deg);
}

.herb-right {
  right: 5%;
  top: 25%;
  transform: rotate(15deg);
}

/* ------ Featured Product ------ */
.featured-section {
  padding: 5rem 2rem;
  background: white;
  position: relative;
}

.featured-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, var(--sage) 50%, transparent 90%);
}

.featured-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, var(--sage) 50%, transparent 90%);
}

/* ------ Printable Product Section ------ */
.printable-section {
  padding: 5rem 2rem;
  background: var(--parchment);
  position: relative;
}

.printable-section::before,
.printable-section::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, var(--olive) 50%, transparent 90%);
}

.printable-section::before { top: 0; }
.printable-section::after  { bottom: 0; }

.featured-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.featured-visual {
  position: relative;
}

.product-card-visual {
  background: linear-gradient(145deg, var(--parchment), var(--cream-dark));
  border-radius: var(--radius-2xl);
  padding: 3rem;
  text-align: center;
  position: relative;
  border: 1px solid var(--sage-light);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.product-card-visual::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--forest), var(--olive), var(--amber));
}

.product-icon-large {
  font-size: 5rem;
  margin-bottom: 1.5rem;
  display: block;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 1rem;
  background: var(--forest);
  color: white;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.product-title-visual {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  color: var(--brown-dark);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.8rem;
  color: var(--brown-light);
  margin-bottom: 1rem;
}

.product-meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* Table of contents inside the product card */
.product-toc {
  text-align: left;
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-top: 1rem;
  border: 1px solid var(--sage-light);
}

.product-toc h4 {
  font-family: 'Caveat', cursive;
  font-size: 1.1rem;
  color: var(--forest);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.product-toc ul {
  list-style: none;
  padding: 0;
}

.product-toc ul li {
  padding: 0.4rem 0;
  font-size: 0.85rem;
  color: var(--brown-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px dashed var(--cream-dark);
}

.product-toc ul li:last-child {
  border-bottom: none;
}

.product-toc ul li::before {
  content: '🌿';
  font-size: 0.75rem;
}

.featured-details {
  max-width: 500px;
}

.featured-label {
  font-family: 'Caveat', cursive;
  font-size: 1.15rem;
  color: var(--amber);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.featured-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.featured-description {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--brown-light);
  margin-bottom: 2rem;
}

.featured-highlights {
  list-style: none;
  padding: 0;
  margin-bottom: 2.5rem;
}

.featured-highlights li {
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: var(--brown-dark);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.5;
}

.featured-highlights li .check {
  color: var(--forest);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.featured-price-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.featured-price {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--forest);
}

.featured-price-note {
  font-size: 0.85rem;
  color: var(--brown-light);
  line-height: 1.4;
}

.featured-guarantee {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--brown-light);
  margin-top: 1rem;
}

/* ------ Categories Section ------ */
.categories-section {
  padding: 5rem 2rem;
  background: linear-gradient(180deg, var(--cream) 0%, var(--parchment) 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-label {
  font-family: 'Caveat', cursive;
  font-size: 1.15rem;
  color: var(--amber);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--brown-dark);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--brown-light);
  max-width: 550px;
  margin: 0 auto;
  line-height: 1.6;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.category-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid var(--sage-light);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--forest), var(--olive));
  opacity: 0;
  transition: opacity 0.3s;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.category-card:hover::before {
  opacity: 1;
}

.category-icon {
  font-size: 3rem;
  margin-bottom: 1.25rem;
  display: block;
}

.category-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--brown-dark);
}

.category-card p {
  font-size: 0.9rem;
  color: var(--brown-light);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.category-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tag-available {
  background: rgba(74, 103, 65, 0.1);
  color: var(--forest);
}

.tag-coming {
  background: rgba(196, 148, 74, 0.12);
  color: var(--amber-dark);
}

/* ------ About Section ------ */
.about-section {
  padding: 5rem 2rem;
  background: var(--forest-dark);
  color: white;
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(184, 201, 163, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(196, 148, 74, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.about-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.about-section .section-label {
  color: var(--sage);
}

.about-section .section-title {
  color: white;
  margin-bottom: 1.5rem;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
}

.about-values {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.about-value {
  text-align: center;
}

.about-value .value-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: block;
}

.about-value .value-label {
  font-family: 'Caveat', cursive;
  font-size: 1.15rem;
  color: var(--sage);
  font-weight: 700;
}

/* ------ Bundle Section ------ */
.bundle-section {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #FDF5E6 0%, #F5EDD8 100%);
  position: relative;
  overflow: hidden;
}

.bundle-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber-dark), var(--amber), var(--amber-light), var(--amber));
}

.bundle-container {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.bundle-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--amber), var(--amber-dark));
  color: white;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  box-shadow: 0 3px 12px rgba(196, 148, 74, 0.35);
}

.bundle-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--brown-dark);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.bundle-subtitle {
  font-size: 1.05rem;
  color: var(--brown-light);
  margin-bottom: 2.25rem;
  line-height: 1.6;
}

.bundle-products {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 2rem;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 1px solid var(--sage-light);
}

.bundle-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  text-align: left;
}

.bundle-item + .bundle-item {
  border-top: 1px solid var(--sage-light);
}

.bundle-item-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.bundle-item-info {
  flex: 1;
}

.bundle-item-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--brown-dark);
  margin-bottom: 0.2rem;
  font-family: 'Playfair Display', Georgia, serif;
}

.bundle-item-desc {
  font-size: 0.8rem;
  color: var(--brown-light);
}

.bundle-item-price {
  font-size: 1rem;
  font-weight: 600;
  color: var(--brown-light);
  text-decoration: line-through;
  flex-shrink: 0;
}

.bundle-plus {
  text-align: center;
  padding: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--sage);
  background: var(--parchment);
  line-height: 1;
}

.bundle-pricing {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.bundle-original {
  font-size: 1rem;
  color: var(--brown-light);
  text-decoration: line-through;
}

.bundle-arrow {
  font-size: 1.1rem;
  color: var(--sage);
}

.bundle-price {
  font-size: 1.6rem;
  font-weight: 800;
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--brown-dark);
}

.bundle-savings {
  background: rgba(74, 103, 65, 0.1);
  color: var(--forest);
  border: 1px solid rgba(74, 103, 65, 0.2);
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
}

.bundle-cta {
  display: inline-block;
  margin-bottom: 1rem;
}

/* ------ Cross-sell ------ */
.cross-sell {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: var(--parchment);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--sage);
  text-align: left;
}

.cross-sell p {
  font-size: 0.88rem;
  color: var(--brown-light);
  margin: 0;
  line-height: 1.5;
}

.cross-sell a {
  color: var(--forest);
  font-weight: 600;
  text-decoration: none;
}

.cross-sell a:hover {
  text-decoration: underline;
  color: var(--amber-dark);
}

/* ------ Newsletter Section ------ */
.newsletter-section {
  padding: 5rem 2rem;
  background: white;
  position: relative;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, var(--sage) 50%, transparent 90%);
}

.newsletter-container {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-section .section-title {
  margin-bottom: 0.75rem;
}

.newsletter-subtitle {
  font-size: 1rem;
  color: var(--brown-light);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-form .form-input {
  flex: 1;
}

.newsletter-note {
  font-size: 0.8rem;
  color: var(--brown-light);
  margin-top: 1rem;
  opacity: 0.7;
}

.newsletter-success {
  display: none;
  padding: 1rem 1.5rem;
  background: rgba(74, 103, 65, 0.08);
  border: 1px solid rgba(74, 103, 65, 0.2);
  border-radius: var(--radius-md);
  color: var(--forest);
  font-weight: 500;
  margin-top: 1rem;
}

.newsletter-error {
  display: none;
  padding: 1rem 1.5rem;
  background: rgba(196, 91, 91, 0.08);
  border: 1px solid rgba(196, 91, 91, 0.2);
  border-radius: var(--radius-md);
  color: var(--danger);
  font-weight: 500;
  margin-top: 1rem;
}

/* ------ Footer ------ */
.store-footer {
  padding: 3rem 2rem;
  background: var(--parchment);
  border-top: 1px solid var(--sage-light);
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand .footer-logo {
  width: 36px;
  height: 36px;
  background: var(--forest);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: white;
}

.footer-brand .footer-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--brown-dark);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--brown-light);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--forest);
}

.footer-copy {
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
  color: var(--brown-light);
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--sage-light);
}

/* ------ Thank You Page ------ */
.thank-you-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--parchment) 0%, var(--cream) 100%);
  padding: 2rem;
  text-align: center;
}

.thank-you-card {
  max-width: 550px;
  background: white;
  border-radius: var(--radius-2xl);
  padding: 3.5rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--sage-light);
}

.thank-you-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.thank-you-card h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.thank-you-card p {
  font-size: 1.05rem;
  color: var(--brown-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.thank-you-note {
  background: var(--parchment);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  font-size: 0.9rem;
  color: var(--brown);
  line-height: 1.6;
  border: 1px dashed var(--sage);
  margin-bottom: 2rem;
}

/* ------ Animations ------ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-in {
  animation: fadeInUp 0.6s var(--ease) both;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* ================================================================
   LOGIN PAGE (kept for admin access)
   ================================================================ */

.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--parchment) 0%, var(--cream) 50%, var(--warm) 100%);
  padding: 2rem;
}

.login-card {
  width: 100%;
  max-width: 420px;
  background: white;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--sage-light);
}

.login-card .login-logo {
  text-align: center;
  margin-bottom: 2rem;
}

.login-card .login-logo .logo-icon {
  width: 56px;
  height: 56px;
  background: var(--forest);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  margin: 0 auto 1rem;
}

.login-card .login-logo h2 {
  font-size: 1.5rem;
  color: var(--brown-dark);
}

.login-card .login-logo p {
  color: var(--brown-light);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.login-error {
  background: rgba(196, 91, 91, 0.1);
  border: 1px solid rgba(196, 91, 91, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--danger);
  margin-bottom: 1rem;
  display: none;
}

.login-card .login-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--brown-light);
}

.login-card .login-footer a {
  color: var(--forest);
  font-weight: 600;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--brown);
  margin-bottom: 0.5rem;
}

/* ================================================================
   DASHBOARD (kept for admin access)
   ================================================================ */

.dashboard-page {
  min-height: 100vh;
  background: var(--cream);
}

.dash-nav {
  background: white;
  border-bottom: 1px solid var(--sage-light);
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.dash-nav .nav-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dash-nav .nav-logo {
  width: 36px;
  height: 36px;
  background: var(--forest);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: white;
}

.dash-nav .nav-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--brown-dark);
}

.dash-nav .nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.dash-nav .nav-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dash-nav .nav-user .user-name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--brown-dark);
}

.dash-nav .nav-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sage), var(--olive));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: white;
}

.dash-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem;
}

.dash-header {
  margin-bottom: 2rem;
}

.dash-header h1 {
  font-size: 1.75rem;
  color: var(--brown-dark);
  margin-bottom: 0.25rem;
}

.dash-header p {
  color: var(--brown-light);
  font-size: 0.95rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.dash-grid .full-width {
  grid-column: 1 / -1;
}

/* Card */
.card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--sage-light);
  transition: all 0.3s var(--ease);
}

.card:hover {
  box-shadow: var(--shadow-md);
}

/* Stat cards */
.stat-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--sage-light);
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--forest), var(--olive));
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card .stat-value {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--brown-dark);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-card .stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--brown-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 1024px) {
  .featured-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .featured-details {
    max-width: 100%;
    text-align: center;
  }

  .featured-highlights li {
    justify-content: center;
  }

  .featured-price-row {
    justify-content: center;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .hero-section {
    padding: 3.5rem 1.5rem 3rem;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .store-nav {
    padding: 1rem 1.5rem;
  }

  .store-nav .nav-links {
    gap: 1rem;
  }

  .store-nav .nav-links a:not(:last-child) {
    display: none;
  }

  .featured-section {
    padding: 3.5rem 1.5rem;
  }

  .product-card-visual {
    padding: 2rem;
  }

  .categories-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .about-values {
    gap: 2rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form .btn {
    width: 100%;
  }

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

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
  }

  .herb-left, .herb-right {
    display: none;
  }

  .dash-container {
    padding: 1.25rem;
  }

  .dash-nav {
    padding: 0 1rem;
  }

  .dash-nav .user-name {
    display: none;
  }

  .landing-nav {
    padding: 1rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem;
  }

  .hero-trust {
    flex-direction: column;
    gap: 0.5rem;
  }

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

  .login-card {
    padding: 1.75rem;
  }

  .card {
    padding: 1.15rem;
  }

  .featured-price {
    font-size: 2rem;
  }
}
