:root {
  --moss:   #102c06;
  --cream:  #ceeac4;
  --bark:   #6b9e54;
  --bark2:  #9acc84;
  --sand:   #f5f0e8;
  --text:   #1a2710;
  --muted:  #5a6e4e;
  --white:  #ffffff;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(16,44,6,.10);
  --font-script: 'Dancing Script', cursive;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4 { font-family: var(--font-serif); line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }

.script { font-family: var(--font-script); }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: .6rem 1.4rem;
  background: var(--moss);
  color: var(--white);
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 500;
  border: 2px solid var(--moss);
  cursor: pointer;
  transition: background .2s, color .2s, transform .1s;
  white-space: nowrap;
}
.btn:hover { background: var(--bark); border-color: var(--bark); }
.btn-outline { background: transparent; color: var(--moss); }
.btn-outline:hover { background: var(--moss); color: var(--white); }
.btn-cream { background: var(--cream); color: var(--moss); border-color: var(--cream); }
.btn-cream:hover { background: var(--bark2); border-color: var(--bark2); }
.btn-sm { padding: .4rem 1rem; font-size: .82rem; }
.btn-full { width: 100%; text-align: center; }

/* ── HEADER ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--moss);
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  padding: .75rem 1.5rem;
  display: flex; align-items: center; gap: 1.5rem;
}
.logo-img { height: 52px; width: 52px; border-radius: 50%; object-fit: cover; }
.main-nav { display: flex; gap: 1.25rem; margin-left: auto; }
.main-nav a { color: var(--cream); font-size: .9rem; font-weight: 500; opacity: .85; transition: opacity .2s; }
.main-nav a:hover { opacity: 1; }
.header-actions { display: flex; align-items: center; gap: .6rem; }
.cart-toggle {
  background: none; border: none; cursor: pointer;
  color: var(--cream); font-size: 1.1rem; position: relative;
  padding: .3rem .5rem;
}
.cart-count {
  background: var(--bark2); color: var(--moss);
  border-radius: 999px; font-size: .7rem; font-weight: 700;
  padding: .1rem .35rem; min-width: 18px; text-align: center;
}
.btn-admin { background: var(--bark2); border-color: var(--bark2); color: var(--moss); }
.mobile-menu-toggle { display: none; background: none; border: none; color: var(--cream); font-size: 1.4rem; cursor: pointer; }
.mobile-nav { display: none; flex-direction: column; background: var(--moss); padding: 1rem 1.5rem; gap: .75rem; }
.mobile-nav.open { display: flex; }
.mobile-nav a { color: var(--cream); font-size: 1rem; }

/* ── HERO ── */
.hero {
  min-height: 85vh;
  background: linear-gradient(160deg, var(--moss) 0%, #1e4a0e 50%, #2d6b1a 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 4rem 1.5rem; position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('/assets/img/hero-bg.jpg') center/cover no-repeat;
  opacity: .18;
}
.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero-script { font-family: var(--font-script); font-size: clamp(1.4rem,3vw,2rem); color: var(--bark2); margin-bottom: .5rem; }
.hero h1 { color: var(--white); margin-bottom: 1rem; }
.hero p { color: var(--cream); font-size: 1.15rem; max-width: 520px; margin: 0 auto 2rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── MARQUEE ── */
.marquee-bar { background: var(--bark); overflow: hidden; padding: .55rem 0; }
.marquee-track { display: flex; animation: marquee 28s linear infinite; white-space: nowrap; }
.marquee-track span { color: var(--white); font-size: .85rem; letter-spacing: .06em; padding: 0 2rem; opacity: .9; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── SECTIONS ── */
.section { padding: 5rem 1.5rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-alt { background: var(--sand); }
.section-dark { background: var(--moss); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--cream); }
.section-dark p { color: var(--cream); opacity: .85; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header .eyebrow { font-family: var(--font-script); color: var(--bark); font-size: 1.2rem; }
.section-header h2 { margin: .25rem 0 .75rem; }
.section-header p { color: var(--muted); max-width: 540px; margin: 0 auto; }

/* ── ABOUT ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-images { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.about-images img { border-radius: var(--radius); object-fit: cover; width: 100%; }
.about-images img:first-child { grid-column: span 2; height: 280px; }
.about-images img:last-child { height: 160px; }
.about-content .eyebrow { font-family: var(--font-script); color: var(--bark); font-size: 1.2rem; }
.about-content h2 { margin: .25rem 0 1rem; }
.about-content p { color: var(--muted); margin-bottom: 1rem; }
/* About: Carla & Willow, aligned side by side */
.about-media { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.about-person { margin: 0; text-align: center; }
.about-person img { width: 100%; height: 240px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }
.about-person figcaption { margin-top: .6rem; }
.about-person-name { display: block; font-family: var(--font-script); font-size: 1.7rem; line-height: 1.1; color: var(--bark); }
.about-person-role { display: block; font-size: .85rem; color: var(--muted); margin-top: .2rem; }

/* ── PILLARS ── */
.pillars-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 1.5rem; }
.pillar-card { text-align: center; padding: 2rem 1.5rem; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.pillar-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.pillar-card h3 { margin-bottom: .5rem; }
.pillar-card p { font-size: .9rem; color: var(--muted); }

/* ── CARDS ── */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 1.5rem; }
.card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(16,44,6,.14); }
.card-img { height: 200px; background: var(--cream); display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 1.25rem; }
.card-body h3 { margin-bottom: .4rem; }
.card-body p { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.card-meta { font-size: .82rem; color: var(--bark); margin-bottom: .75rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.card-price { font-size: 1.2rem; font-weight: 700; color: var(--moss); }

/* ── SHOP ── */
.shop-filters { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filter-btn {
  padding: .4rem 1rem; border-radius: 999px; font-size: .85rem;
  border: 2px solid var(--cream); background: transparent; cursor: pointer; transition: .2s;
}
.filter-btn.active, .filter-btn:hover { background: var(--moss); color: var(--white); border-color: var(--moss); }
.product-card .card-body { display: flex; flex-direction: column; }
.product-card .card-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: .75rem; border-top: 1px solid var(--cream); }
.badge-out { background: #eee; color: #888; font-size: .75rem; padding: .2rem .6rem; border-radius: 999px; }

/* ── RECIPES ── */
.recipe-lock { position: relative; }
.recipe-lock::after {
  content: '🔒 ' attr(data-plan);
  position: absolute; inset: 0;
  background: rgba(16,44,6,.65); color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; border-radius: var(--radius);
  backdrop-filter: blur(2px);
}

/* ── SUBSCRIPTIONS ── */
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 1.5rem; }
.plan-card { background: var(--white); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); border: 2px solid transparent; }
.plan-card.featured { border-color: var(--bark); }
.plan-badge { background: var(--bark); color: var(--white); font-size: .75rem; padding: .2rem .6rem; border-radius: 999px; margin-bottom: .75rem; display: inline-block; }
.plan-price { font-size: 2rem; font-weight: 700; color: var(--moss); margin: .5rem 0 1rem; }
.plan-price small { font-size: .9rem; font-weight: 400; color: var(--muted); }
.plan-features { list-style: none; margin-bottom: 1.5rem; }
.plan-features li { padding: .3rem 0; font-size: .9rem; color: var(--muted); }
.plan-features li::before { content: '✓ '; color: var(--bark); font-weight: 700; }

/* ── TESTIMONIALS ── */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 1.5rem; }
.testimonial { background: rgba(255,255,255,.08); border-radius: var(--radius); padding: 1.5rem; }
.testimonial blockquote { font-family: var(--font-serif); font-size: 1.05rem; font-style: italic; margin-bottom: 1rem; }
.testimonial cite { font-size: .85rem; opacity: .7; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-info h3 { margin-bottom: 1rem; }
.contact-info p { margin-bottom: .5rem; opacity: .85; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-field { display: flex; flex-direction: column; gap: .3rem; }
.form-field label { font-size: .85rem; font-weight: 500; }
.form-field input, .form-field textarea, .form-field select {
  padding: .65rem 1rem; border: 2px solid var(--cream); border-radius: 8px;
  font-family: var(--font-sans); font-size: .95rem; background: var(--white);
  transition: border-color .2s; color: var(--text);
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--bark); }
.form-field textarea { resize: vertical; min-height: 120px; }

/* ── MODAL ── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 200;
}
.modal {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%,-50%);
  background: var(--white); border-radius: var(--radius); padding: 2.5rem;
  z-index: 201; max-width: 420px; width: 90%; text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.modal-close { position: absolute; top: 1rem; right: 1rem; background: none; border: none; font-size: 1.2rem; cursor: pointer; color: var(--muted); }
.modal-icon { font-size: 3rem; margin-bottom: 1rem; }
.modal h3 { margin-bottom: .5rem; }
.modal p { color: var(--muted); font-size: .95rem; margin-bottom: 1.5rem; }
.modal-actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }

/* ── CART DRAWER ── */
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 150; opacity: 0; pointer-events: none; transition: opacity .3s; }
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-drawer {
  position: fixed; right: 0; top: 0; bottom: 0; width: min(400px,100vw);
  background: var(--white); z-index: 151; transform: translateX(100%);
  transition: transform .3s; display: flex; flex-direction: column;
  box-shadow: -8px 0 32px rgba(0,0,0,.15);
}
.cart-drawer.open { transform: translateX(0); }
.cart-header { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--cream); }
.cart-header h3 { font-family: var(--font-serif); }
.cart-close { background: none; border: none; font-size: 1.2rem; cursor: pointer; color: var(--muted); }
.cart-items { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; display: flex; flex-direction: column; gap: .75rem; }
.cart-item { display: flex; gap: .75rem; align-items: center; padding: .75rem; border: 1px solid var(--cream); border-radius: 8px; }
.cart-item-img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.cart-item-placeholder { background: var(--cream); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 600; font-size: .9rem; margin-bottom: .2rem; }
.cart-item-price { color: var(--bark); font-weight: 600; font-size: .85rem; }
.cart-item-qty { display: flex; align-items: center; gap: .5rem; margin-top: .3rem; }
.cart-item-qty button { background: var(--cream); border: none; width: 24px; height: 24px; border-radius: 50%; cursor: pointer; font-size: .9rem; }
.cart-item-qty span { font-size: .9rem; min-width: 20px; text-align: center; }
.cart-item-remove { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 1rem; flex-shrink: 0; }
.cart-footer { padding: 1.25rem 1.5rem; border-top: 1px solid var(--cream); }
.cart-total { display: flex; justify-content: space-between; margin-bottom: 1rem; font-size: 1rem; }
.cart-empty { text-align: center; padding: 3rem 1.5rem; }
.cart-empty p { color: var(--muted); margin-bottom: 1rem; }

/* ── FOOTER ── */
.site-footer { background: var(--moss); color: var(--cream); padding: 4rem 1.5rem 2rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 3rem; }
.footer-logo { height: 52px; width: 52px; border-radius: 50%; object-fit: cover; margin-bottom: 1rem; }
.footer-brand p { opacity: .7; font-size: .9rem; }
.footer-links h4, .footer-contact h4 { font-family: var(--font-serif); color: var(--bark2); margin-bottom: .75rem; font-size: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: .4rem; }
.footer-links a { opacity: .7; font-size: .9rem; transition: opacity .2s; }
.footer-links a:hover { opacity: 1; }
.footer-contact p, .footer-contact a { font-size: .9rem; opacity: .7; margin-bottom: .25rem; display: block; }
.footer-contact a:hover { opacity: 1; }
.social-link { display: inline-block; margin-top: .5rem; background: var(--bark); padding: .3rem .8rem; border-radius: 999px; font-size: .8rem; opacity: 1 !important; }
.footer-bottom { max-width: 1200px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; text-align: center; }
.footer-bottom p { font-size: .85rem; opacity: .5; }

/* ── FLASH MESSAGES ── */
.flash { padding: .8rem 1.5rem; border-radius: 8px; margin-bottom: 1rem; font-size: .9rem; }
.flash-success { background: #d4edda; color: #155724; }
.flash-error { background: #f8d7da; color: #721c24; }
.flash-info { background: #d1ecf1; color: #0c5460; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .header-actions .btn-sm:not(.cart-toggle) { display: none; }
}

/* ── PRODUCT DETAIL MODAL ── */
.product-modal { max-width: 600px; text-align: left; padding: 2rem; }
.product-modal-img { width: 100%; height: 240px; object-fit: cover; border-radius: 8px; margin-bottom: 1.25rem; background: var(--cream); display: flex; align-items: center; justify-content: center; font-size: 4rem; }
.product-modal-price { font-size: 1.5rem; font-weight: 700; color: var(--moss); margin: .5rem 0 1rem; }
.product-modal-desc { color: var(--muted); margin-bottom: 1.5rem; }
