:root {
  --herb-green: #1f4d2c;
  --herb-green-light: #2f6b3f;
  --herb-cream: #faf6ee;
  --herb-gold: #c9a24b;
  --herb-white: #ffffff;
  --herb-text: #2a2a24;
  --herb-shadow: 0 8px 24px rgba(31,77,44,0.08);
  --radius: 14px;
  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: 'Segoe UI', Tahoma, sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--herb-text);
  background: var(--herb-cream);
  line-height: 1.6;
}
h1, h2, h3 { font-family: var(--font-heading); color: var(--herb-green); }
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
a { color: var(--herb-green); text-decoration: none; }

/* Header */
.site-header { background: var(--herb-white); box-shadow: var(--herb-shadow); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; gap: 16px; }
.logo-img { height: 48px; }
.main-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.main-nav a { font-weight: 600; font-size: 0.95rem; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch a { color: var(--herb-green-light); font-size: 0.85rem; }
.lang-switch a.active { color: var(--herb-gold); font-weight: 700; }
.cart-link { font-size: 1.2rem; position: relative; }
.cart-count { background: var(--herb-gold); color: #fff; border-radius: 50%; padding: 0 6px; font-size: 0.7rem; }
.mobile-menu-toggle { display: none; background: none; border: none; font-size: 1.4rem; cursor: pointer; }

/* Language modal */
.lang-modal-overlay { position: fixed; inset: 0; background: rgba(31,77,44,0.85); display: flex; align-items: center; justify-content: center; z-index: 999; }
.lang-modal { background: var(--herb-white); padding: 40px; border-radius: var(--radius); text-align: center; max-width: 400px; }
.lang-options { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.lang-option { background: var(--herb-green); color: #fff !important; padding: 14px; border-radius: 10px; font-weight: 600; }
.lang-option:hover { background: var(--herb-green-light); }

/* Hero */
.hero { background: linear-gradient(135deg, #eef6ee, var(--herb-cream)); padding: 60px 0; }
.hero-inner { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.hero-text { flex: 1; min-width: 280px; }
.hero-logo { height: 60px; margin-bottom: 16px; }
.hero-image { flex: 1; min-width: 260px; text-align: center; }
.hero-image img { max-width: 100%; border-radius: var(--radius); box-shadow: var(--herb-shadow); }
.price-row { display: flex; align-items: center; gap: 12px; margin: 16px 0; }
.selling-price { font-size: 1.8rem; font-weight: 700; color: var(--herb-green); }
.mrp-strike { text-decoration: line-through; color: #999; }
.hero-actions { display: flex; gap: 14px; margin-top: 16px; flex-wrap: wrap; }

/* Buttons */
.btn { display: inline-block; padding: 14px 28px; border-radius: 30px; font-weight: 700; cursor: pointer; border: 2px solid var(--herb-green); font-size: 1rem; transition: 0.2s; }
.btn-primary { background: var(--herb-green); color: #fff !important; }
.btn-primary:hover { background: var(--herb-green-light); }
.btn-outline { background: transparent; color: var(--herb-green) !important; }
.btn-outline:hover { background: var(--herb-green); color: #fff !important; }
.btn-block { width: 100%; }
.link-btn { background: none; border: none; color: #b23; cursor: pointer; text-decoration: underline; }
.badge-out { background: #b23; color: #fff; padding: 8px 16px; border-radius: 20px; }

/* Sections */
.section { padding: 60px 0; }
.section-heading { text-align: center; margin-bottom: 32px; position: relative; }
.section-heading::after { content: ''; display: block; width: 60px; height: 3px; background: var(--herb-gold); margin: 12px auto 0; }

.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.benefit-card { background: #fff; padding: 28px; border-radius: var(--radius); box-shadow: var(--herb-shadow); text-align: center; }
.leaf-icon { font-size: 2rem; display: block; margin-bottom: 10px; }

.ingredients-table-wrap { overflow-x: auto; }
.ingredients-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--herb-shadow); }
.ingredients-table td { padding: 12px 18px; border-bottom: 1px solid #eee; }
.ingredients-table .composition { text-align: right; font-weight: 700; color: var(--herb-green); white-space: nowrap; }
.ingredients-table.small td { padding: 8px 12px; font-size: 0.9rem; }

.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; text-align: center; }
.step-card { background: #fff; padding: 28px; border-radius: var(--radius); box-shadow: var(--herb-shadow); }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--herb-gold); color: #fff; font-weight: 700; margin-bottom: 10px; }
.serving-instruction { text-align: center; font-weight: 600; font-size: 1.1rem; margin-bottom: 24px; }

.disclaimer-list { background: #fff8ec; border: 1px solid var(--herb-gold); border-radius: var(--radius); padding: 20px 30px; }
.label-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 10px; margin-top: 20px; }

.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: #fff; margin-bottom: 12px; padding: 16px 20px; border-radius: 10px; box-shadow: var(--herb-shadow); }
.faq-item summary { font-weight: 700; cursor: pointer; }

/* Product page */
.product-page-inner { display: flex; gap: 40px; flex-wrap: wrap; }
.product-gallery { flex: 1; min-width: 280px; }
.main-image img { width: 100%; border-radius: var(--radius); box-shadow: var(--herb-shadow); }
.thumbnails { display: flex; gap: 10px; margin-top: 10px; }
.thumb { width: 70px; height: 70px; object-fit: cover; border-radius: 8px; cursor: pointer; border: 2px solid transparent; }
.thumb:hover { border-color: var(--herb-gold); }
.product-info { flex: 1; min-width: 280px; }
.stock-status.in-stock { color: var(--herb-green); font-weight: 700; }
.stock-status.out-stock { color: #b23; font-weight: 700; }
.qty-cart-form label { display: block; margin: 16px 0; }
.qty-cart-form input[type=number] { width: 80px; padding: 8px; margin-left: 8px; border-radius: 6px; border: 1px solid #ccc; }

/* Cart / checkout */
.cart-table { width: 100%; border-collapse: collapse; background: #fff; box-shadow: var(--herb-shadow); border-radius: var(--radius); overflow: hidden; }
.cart-table th, .cart-table td { padding: 14px; border-bottom: 1px solid #eee; text-align: left; }
.qty-inline-form input { width: 60px; padding: 6px; }
.cart-summary { background: #fff; padding: 20px; border-radius: var(--radius); box-shadow: var(--herb-shadow); margin-top: 20px; max-width: 320px; margin-left: auto; }
.cart-total { font-weight: 700; font-size: 1.2rem; color: var(--herb-green); }
.cart-actions { display: flex; justify-content: space-between; margin-top: 20px; }

.checkout-inner { display: flex; gap: 40px; flex-wrap: wrap; }
.checkout-form { flex: 2; min-width: 300px; background: #fff; padding: 30px; border-radius: var(--radius); box-shadow: var(--herb-shadow); }
.checkout-form label { display: block; margin-bottom: 16px; font-weight: 600; }
.checkout-form input, .checkout-form textarea { width: 100%; padding: 12px; margin-top: 6px; border: 1px solid #ccc; border-radius: 8px; font-size: 1rem; }
.form-row { display: flex; gap: 12px; flex-wrap: wrap; }
.form-row label { flex: 1; min-width: 140px; }
.form-errors { background: #fdecea; color: #b23; padding: 14px 18px; border-radius: 8px; margin-bottom: 16px; }
.order-summary-box { flex: 1; min-width: 260px; background: #fff; padding: 24px; border-radius: var(--radius); box-shadow: var(--herb-shadow); align-self: flex-start; }
.summary-line { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #eee; }
.summary-line.total { font-weight: 700; font-size: 1.15rem; color: var(--herb-green); }

/* Order success */
.status-heading.paid { color: var(--herb-green); }
.status-heading.pending { color: var(--herb-gold); }
.status-heading.failed { color: #b23; }
.upi-payment-box { background: #fff; padding: 24px; border-radius: var(--radius); box-shadow: var(--herb-shadow); text-align: center; max-width: 400px; margin: 24px auto; }
.upi-qr { max-width: 220px; margin: 16px auto; display: block; }
.upi-confirm-form input { width: 100%; padding: 10px; margin: 10px 0; border-radius: 8px; border: 1px solid #ccc; }
.note-box { background: #eef6ee; padding: 14px; border-radius: 8px; }

/* Track order */
.track-form { display: flex; gap: 14px; flex-wrap: wrap; background: #fff; padding: 24px; border-radius: var(--radius); box-shadow: var(--herb-shadow); margin-bottom: 24px; }
.track-form label { flex: 1; min-width: 200px; }
.track-form input { width: 100%; padding: 10px; margin-top: 6px; border-radius: 8px; border: 1px solid #ccc; }
.status-tracker { display: flex; justify-content: space-between; margin-top: 30px; flex-wrap: wrap; gap: 10px; }
.tracker-step { flex: 1; text-align: center; opacity: 0.4; }
.tracker-step.done { opacity: 1; }
.tracker-step .dot { display: block; width: 20px; height: 20px; border-radius: 50%; background: var(--herb-green); margin: 0 auto 8px; }

/* Footer */
.site-footer { background: var(--herb-green); color: #eaf3ea; padding: 50px 0 20px; margin-top: 40px; }
.footer-inner { display: flex; gap: 30px; flex-wrap: wrap; justify-content: space-between; }
.footer-col { flex: 1; min-width: 180px; }
.footer-col a { display: block; color: #d7e8d7; margin-bottom: 6px; }
.footer-logo { height: 40px; background: #fff; padding: 6px; border-radius: 8px; margin-bottom: 10px; }
.footer-bottom { text-align: center; margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.2); font-size: 0.85rem; color: #cfe3cf; }
.dev-credit { color: var(--herb-gold) !important; font-weight: 600; }

/* Responsive */
@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .main-nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 16px; box-shadow: var(--herb-shadow); }
  .hero-inner { flex-direction: column; text-align: center; }
}

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.announcement-bar { background: var(--herb-gold); color: #fff; overflow: hidden; white-space: nowrap; padding: 8px 0; font-size: 0.85rem; font-weight: 600; }
.announcement-track { display: inline-flex; gap: 60px; animation: scroll-ticker 22s linear infinite; padding-left: 100%; }
.announcement-track span { padding-right: 60px; }
@keyframes scroll-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}
@media (prefers-reduced-motion: reduce) {
  .announcement-track { animation: none; padding-left: 20px; }
}

/* ============================================================
   PLAN / OFFER CARDS ("Choose Your Plan")
   ============================================================ */
.plans-section { background: linear-gradient(180deg, var(--herb-cream), #fff); }
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 26px; max-width: 1000px; margin: 0 auto; align-items: stretch; }
.plan-card { position: relative; background: #fff; border: 2px solid #e6e2d6; border-radius: var(--radius); padding: 32px 24px 26px; text-align: center; box-shadow: var(--herb-shadow); display: flex; flex-direction: column; transition: transform 0.15s, box-shadow 0.15s; }
.plan-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(31,77,44,0.14); }
.plan-card.plan-featured { border-color: var(--herb-gold); box-shadow: 0 10px 26px rgba(201,162,75,0.25); }
.plan-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--herb-gold); color: #fff; padding: 6px 18px; border-radius: 20px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em; white-space: nowrap; box-shadow: 0 4px 10px rgba(0,0,0,0.15); }
.plan-name { margin: 8px 0 4px; font-size: 1.3rem; }
.plan-tagline { color: #666; font-size: 0.88rem; margin-bottom: 14px; min-height: 2.4em; }
.plan-price { margin: 6px 0 2px; }
.plan-price-current { font-size: 1.7rem; font-weight: 800; color: var(--herb-green); }
.plan-price-compare { text-decoration: line-through; color: #999; margin-left: 10px; font-size: 1rem; }
.plan-savings { display: inline-block; background: #eef6ee; color: var(--herb-green); font-weight: 700; font-size: 0.78rem; padding: 4px 12px; border-radius: 14px; margin: 8px auto 16px; }
.plan-features { list-style: none; padding: 0; margin: 0 0 22px; text-align: left; flex-grow: 1; }
.plan-features li { padding: 6px 0 6px 26px; position: relative; font-size: 0.92rem; color: #444; }
.plan-features li::before { content: "✓"; position: absolute; left: 0; color: var(--herb-green); font-weight: 800; }
.plan-card form { margin-top: auto; }
.or-divider { text-align: center; color: #888; margin: 18px 0 10px; font-size: 0.9rem; }

/* ============================================================
   COUPON BOX (Cart page)
   ============================================================ */
.coupon-box { background: #fff; padding: 18px 22px; border-radius: var(--radius); box-shadow: var(--herb-shadow); margin: 20px 0; }
.coupon-form { display: flex; gap: 10px; flex-wrap: wrap; }
.coupon-form input { flex: 1; min-width: 160px; padding: 10px 14px; border: 1px solid #ccc; border-radius: 8px; }
.coupon-applied { color: var(--herb-green); font-weight: 600; margin: 0; }
.discount-line { color: #b23; font-weight: 600; }

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.whatsapp-float { position: fixed; bottom: 22px; right: 22px; width: 56px; height: 56px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(0,0,0,0.25); z-index: 90; transition: transform 0.15s; }
.whatsapp-float:hover { transform: scale(1.08); }

/* ============================================================
   RESPONSIVE — plan cards & new elements on small screens
   ============================================================ */
@media (max-width: 768px) {
  .plans-grid { grid-template-columns: 1fr; max-width: 380px; }
  .plan-card.plan-featured { order: -1; }
  .whatsapp-float { bottom: 16px; right: 16px; width: 50px; height: 50px; }
  .announcement-bar { font-size: 0.78rem; }
}
