:root {
  --brand-green: #09A134;
  --brand-green-dark: #076B24;
  --brand-green-darker: #06451A;
  --brand-gold: #D4A017;
  --brand-gold-light: #F4D374;
  --ink: #1B2B20;
  --muted: #6B7C70;
  --bg-soft: #F5FAF3;
  --card-radius: 14px;
  --shadow-soft: 0 6px 24px rgba(9, 161, 52, 0.10);
  font-family: 'Jost', sans-serif;
}

body {
  font-family: 'Jost', sans-serif;
  color: var(--ink);
  background: #fff;
}

h1, h2, h3, h4, h5, h6, .brand-text strong {
  font-family: 'Poppins', sans-serif;
}

a { text-decoration: none; color: inherit; }

/* ---------- Top strip ---------- */
.top-strip {
  background: var(--brand-green-darker);
  color: #eaf7ec;
  font-size: 0.78rem;
  padding: 6px 0;
}
.marquee-wrap { overflow: hidden; white-space: nowrap; font-weight: 600; letter-spacing: .5px; }

/* ---------- Header ---------- */
.site-header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  z-index: 1030;
}
.brand img { height: 46px; width: 46px; object-fit: contain; border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { color: var(--brand-green-dark); font-size: 1.05rem; }
.brand-text small { color: var(--brand-gold); font-size: .7rem; letter-spacing: 1px; }

.main-nav { gap: 28px; align-items: center; }
.main-nav a {
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}
.main-nav a:hover { color: var(--brand-green); }
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--brand-gold); transition: width .2s ease;
}
.main-nav a:hover::after { width: 100%; }

.search-box { position: relative; }
.search-box input { border-radius: 30px; padding-right: 34px; border: 1px solid #ddd; width: 210px; }
.search-box button { position: absolute; right: 6px; top: 4px; border: none; background: none; color: var(--brand-green); }

.icon-link { font-size: 1.3rem; color: var(--ink); position: relative; }
.cart-badge {
  position: absolute; top: -8px; right: -10px; background: var(--brand-gold);
  color: #3a2c00; font-size: .65rem; font-weight: 700; border-radius: 50%;
  width: 18px; height: 18px; display: flex; align-items: center; justify-content: center;
}

/* ---------- Buttons ---------- */
.btn-brand {
  background: var(--brand-green); border-color: var(--brand-green); color: #fff;
  font-weight: 600; border-radius: 30px; padding: 10px 26px;
  transition: all .2s ease;
}
.btn-brand:hover { background: var(--brand-green-dark); color: #fff; transform: translateY(-1px); }
.btn-gold {
  background: var(--brand-gold); border-color: var(--brand-gold); color: #3a2c00;
  font-weight: 700; border-radius: 30px; padding: 10px 26px;
}
.btn-gold:hover { background: #c1910f; color: #241d00; }
.btn-outline-brand {
  border: 1.5px solid var(--brand-green); color: var(--brand-green); border-radius: 30px; font-weight: 600;
}
.btn-outline-brand:hover { background: var(--brand-green); color: #fff; }

/* ---------- Hero / banner ---------- */
.hero-banner {
  position: relative;
  border-radius: 0 0 30px 30px;
  overflow: hidden;
}
.hero-banner img { width: 100%; height: 420px; object-fit: cover; }
.hero-caption {
  position: absolute; left: 8%; top: 50%; transform: translateY(-50%);
  color: #fff; max-width: 460px; text-shadow: 0 2px 10px rgba(0,0,0,.4);
}
.hero-caption h1 { font-weight: 800; font-size: 2.4rem; }
.hero-caption .badge-gold {
  background: var(--brand-gold); color: #3a2c00; padding: 4px 14px; border-radius: 20px; font-weight: 700; font-size: .8rem;
}

/* ---------- Section titles ---------- */
.section-title { text-align: center; margin-bottom: 34px; }
.section-title h2 { font-weight: 800; color: var(--brand-green-dark); position: relative; display: inline-block; }
.section-title h2::after {
  content: ''; display: block; width: 60px; height: 3px; background: var(--brand-gold);
  margin: 10px auto 0;
}
.section-title p { color: var(--muted); }

/* ---------- Product cards ---------- */
.product-card {
  border: none; border-radius: var(--card-radius); overflow: hidden;
  box-shadow: var(--shadow-soft); transition: transform .2s ease, box-shadow .2s ease;
  height: 100%; background: #fff;
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(9,161,52,.18); }
.product-card .img-wrap { background: var(--bg-soft); position: relative; overflow: hidden; aspect-ratio: 1/1; }
.product-card .img-wrap img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform .3s ease; }
.product-card:hover .img-wrap img { transform: scale(1.06); }
.product-card .badge-sale {
  position: absolute; top: 10px; left: 10px; background: var(--brand-gold); color: #3a2c00;
  font-size: .68rem; font-weight: 700; padding: 3px 10px; border-radius: 20px;
}
.product-card .body { padding: 14px 16px 18px; }
.product-card .cat-label { font-size: .72rem; color: var(--brand-green); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.product-card .p-name { font-weight: 600; font-size: .95rem; min-height: 44px; color: var(--ink); }
.product-card .price-row { display: flex; align-items: baseline; gap: 8px; }
.product-card .price { font-weight: 800; color: var(--brand-green-dark); font-size: 1.05rem; }
.product-card .mrp { text-decoration: line-through; color: #aaa; font-size: .85rem; }
.product-card .add-cart-btn { width: 100%; margin-top: 10px; }
.product-card .rating { color: var(--brand-gold); font-size: .8rem; }

/* ---------- Category pills ---------- */
.cat-pill {
  display: block; text-align: center; padding: 22px 10px; border-radius: var(--card-radius);
  background: var(--bg-soft); transition: all .2s ease; height: 100%;
}
.cat-pill:hover { background: var(--brand-green); color: #fff; transform: translateY(-4px); }
.cat-pill img { width: 100%; height: 90px; object-fit: contain; margin-bottom: 10px; }
.cat-pill span { font-weight: 600; font-size: .9rem; }

/* ---------- Filters (products page) ---------- */
.filter-card { background: var(--bg-soft); border-radius: var(--card-radius); padding: 20px; }
.filter-card h6 { font-weight: 700; color: var(--brand-green-dark); margin-bottom: 12px; }
.filter-card .form-check { margin-bottom: 6px; }

/* ---------- Product detail ---------- */
.pd-gallery-main {
  border-radius: var(--card-radius); overflow: hidden; background: var(--bg-soft);
  aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center;
}
.pd-gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 20px; }
.pd-thumb { width: 74px; height: 74px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; cursor: pointer; background: var(--bg-soft); }
.pd-thumb.active { border-color: var(--brand-green); }
.pd-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.pd-price { font-size: 1.8rem; font-weight: 800; color: var(--brand-green-dark); }
.pd-mrp { text-decoration: line-through; color: #aaa; font-size: 1.1rem; }
.pd-save { color: #c0392b; font-weight: 600; font-size: .9rem; }
.pd-feature-strip { background: var(--bg-soft); border-radius: var(--card-radius); }
.pd-feature-strip .item { text-align: center; padding: 16px 6px; }
.pd-feature-strip .item i { font-size: 1.6rem; color: var(--brand-green); }
.pd-feature-strip .item small { display: block; margin-top: 6px; font-weight: 600; font-size: .78rem; }
.qty-input { width: 100px; }

.nav-tabs .nav-link { font-weight: 600; color: var(--muted); border: none; border-bottom: 2px solid transparent; }
.nav-tabs .nav-link.active { color: var(--brand-green-dark); border-bottom-color: var(--brand-green); background: none; }

/* ---------- Cart & checkout ---------- */
.cart-item { border-bottom: 1px solid #eee; padding: 16px 0; }
.cart-item img { width: 80px; height: 80px; object-fit: contain; background: var(--bg-soft); border-radius: 10px; padding: 8px; }
.summary-card { background: var(--bg-soft); border-radius: var(--card-radius); padding: 22px; position: sticky; top: 100px; }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; background: #25D366; color: #fff;
  width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 1.7rem; box-shadow: 0 6px 18px rgba(0,0,0,.25); z-index: 1050;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-green-darker); color: #d9ecdb; }
.site-footer h5, .site-footer h6 { color: #fff; font-weight: 700; }
.footer-muted { color: #b7d3ba; font-size: .9rem; }
.footer-link { color: #cfe8d1; font-size: .9rem; padding: 3px 0; }
.footer-link:hover { color: var(--brand-gold); }
.footer-note { color: #8fb094; font-size: .78rem; }
.footer-links-bottom a { color: #cfe8d1; }

/* ---------- Misc ---------- */
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.badge-instock { background: #e7f8ea; color: var(--brand-green-dark); }
.badge-outofstock { background: #fdeceb; color: #c0392b; }

@media (max-width: 991px) {
  .hero-caption h1 { font-size: 1.6rem; }
  .hero-banner img { height: 280px; }
  .summary-card { position: static; }
}
