/* =========================================================
   NATURE'S PANTRY — Design Tokens
   Palette:  jaggery brown / turmeric gold / terracotta / forest green / cream
   Type:     Fraunces (display) + Jost (body) + Space Mono (labels/prices)
   Signature: slow-rotating round produce jars + grain-textured banners
   ========================================================= */

:root {
  --jaggery:     #5C3620;
  --jaggery-dk:  #3E2414;
  --gold:        #D4A017;
  --gold-lt:     #F1C94E;
  --terracotta:  #C1652F;
  --forest:      #3F5E3A;
  --cream:       #FBF3E7;
  --cream-dk:    #F1E4CE;
  --ink:         #2B2016;
  --paper:       #FFFDF9;

  --font-display: 'Fraunces', serif;
  --font-body: 'Jost', sans-serif;
  --font-mono: 'Space Mono', monospace;

  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow-soft: 0 18px 40px -18px rgba(60, 33, 12, .35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
}

h1, h2, h3, h4, .display-font {
  font-family: var(--font-display);
  font-weight: 600;
  color: #3F5E3A;
}

.mono { font-family: var(--font-mono); letter-spacing: .02em; }

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

::selection { background: var(--gold-lt); color: #3F5E3A; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* =========================================================
   TOP STRIP + HEADER
   ========================================================= */
.top-strip {
  background: #3F5E3A;
  color: var(--cream-dk);
  font-size: .78rem;
  padding: 6px 0;
  letter-spacing: .03em;
}

.site-header {
  background: var(--paper);
  box-shadow: 0 2px 0 rgba(60,33,12,.06);
  z-index: 1030;
  transition: box-shadow .3s ease;
}

.site-header .navbar { padding: 14px 0; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--gold-lt), #ba7213);
  color: #3F5E3A;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-soft);
  animation: spin-slow 14s linear infinite;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }

.brand-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: #3F5E3A;
}
.brand-text em { font-style: normal; color: #ba7213; }
.brand-light .brand-text, .brand-light .brand-text em { color: var(--cream); }
.brand-light .brand-text em { color: var(--gold-lt); }

.main-links { gap: 6px; }
.main-links .nav-link {
  font-weight: 500;
  color: var(--ink);
  padding: 8px 14px !important;
  border-radius: 999px;
  transition: background .25s ease, color .25s ease;
}
.main-links .nav-link:hover,
.main-links .nav-link.active {
  background: var(--cream-dk);
  color: #ba7213;
}

.nav-icons { display: flex; align-items: center; gap: 14px; margin-left: 18px; }

.search-box {
  display: flex; align-items: center;
  background: var(--cream-dk);
  border-radius: 999px;
  padding: 6px 6px 6px 16px;
}
.search-box input {
  border: none; background: transparent; outline: none;
  font-family: var(--font-body); font-size: .88rem; width: 170px;
}
.search-box button {
  border: none; background: #3F5E3A; color: var(--cream);
  width: 32px; height: 32px; border-radius: 50%; cursor: pointer;
}

.icon-link { position: relative; font-size: 1.15rem; color: #3F5E3A; }
.cart-badge {
  position: absolute; top: -8px; right: -10px;
  background: #ba7213; color: #fff;
  font-family: var(--font-mono); font-size: .65rem;
  min-width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px;
}

.pill-strip {
  background: var(--cream-dk);
  border-top: 1px solid rgba(92,54,32,.08);
}
.pill-strip .pill {
  font-family: var(--font-mono);
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 9px 16px;
  color: var(--jaggery);
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.pill-strip .pill:hover,
.pill-strip .pill.is-active {
  color: #ba7213;
  border-color: #ba7213;
}

/* =========================================================
   HERO BANNER
   ========================================================= */
.hero-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #3F5E3A 0%, var(--jaggery) 55%, #ba7213 130%);
  color: var(--cream);
  padding: 90px 0 70px;
}
.hero-banner::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .5;
}
.hero-banner .grain-overlay {
  position: absolute; inset: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="120"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="2" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23n)" opacity="0.05"/></svg>');
  mix-blend-mode: overlay;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .75rem;
  color: var(--gold-lt);
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-eyebrow::before { content:""; width: 26px; height: 1px; background: var(--gold-lt); display: inline-block; }

.hero-banner h1 {
  color: #fff;
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  line-height: 1.08;
  margin: 18px 0 20px;
}
.hero-banner h1 span { color: var(--gold-lt); font-style: italic; }

.hero-banner p.lead { color: rgba(255,255,255,.82); max-width: 480px; }

.hero-stats { display: flex; gap: 34px; margin-top: 34px; }
.hero-stats div strong { display:block; font-family: var(--font-display); font-size: 1.6rem; color: var(--gold-lt); }
.hero-stats div span { font-size: .78rem; color: rgba(255,255,255,.7); }

/* floating rounded produce images inside hero */
.hero-visual { position: relative; height: 420px; }
.floating-jar {
  position: absolute;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 20px 45px -12px rgba(0,0,0,.5);
  border: 5px solid rgba(255,255,255,.15);
  animation: float-rotate 9s ease-in-out infinite;
}
.floating-jar.jar-1 { width: 240px; height: 240px; top: 10px;  left: 90px;  animation-duration: 10s; }
.floating-jar.jar-2 { width: 150px; height: 150px; top: 240px; left: 10px;  animation-duration: 8s; animation-delay: .6s; }
.floating-jar.jar-3 { width: 130px; height: 130px; top: 20px;  left: 350px; animation-duration: 7s; animation-delay: .3s; }
.floating-jar.jar-4 { width: 175px; height: 175px; top: 250px; left: 260px; animation-duration: 9.5s; animation-delay: .9s; }

/* rotates gently while staying "in place" - subtle bob + spin, no drifting */
@keyframes float-rotate {
  0%   { transform: translateY(0) rotate(0deg); }
  50%  { transform: translateY(-14px) rotate(6deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

/* =========================================================
   SECTION TITLES
   ========================================================= */
.section-pad { padding: 78px 0; }
.section-title { text-align: center; margin-bottom: 46px; }
.section-title .hero-eyebrow { color: #ba7213; justify-content: center; }
.section-title .hero-eyebrow::before { background: #ba7213; }
.section-title h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-top: 10px; }
.section-title p { color: #6a5b4c; max-width: 520px; margin: 12px auto 0; }

/* =========================================================
   CATEGORY CARDS
   ========================================================= */
.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 300px;
  display: flex; align-items: flex-end;
  background-size: cover; background-position: center;
  box-shadow: var(--shadow-soft);
  transition: transform .4s ease;
}
.category-card:hover { transform: translateY(-8px); }
.category-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(40,20,8,.85) 100%);
}
.category-card .cat-body { position: relative; z-index: 2; padding: 26px; color: #fff; width: 100%; }
.category-card .cat-body span { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-lt); }
.category-card .cat-body h3 { color: #fff; margin: 6px 0 12px; }
.category-card .cat-arrow {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.15); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  transition: background .3s ease, transform .3s ease;
}
.category-card:hover .cat-arrow { background: var(--gold); transform: translateX(4px); }

/* =========================================================
   PRODUCT CARDS
   ========================================================= */
.product-card {
  background: var(--paper);
  border-radius: var(--radius-md);
  padding: 20px;
  height: 100%;
  box-shadow: 0 10px 24px -16px rgba(60,33,12,.25);
  transition: transform .35s ease, box-shadow .35s ease;
  position: relative;
  overflow: hidden;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }

.product-thumb {
  position: relative;
  border-radius: 0%;
  aspect-ratio: 1/1;
  overflow: hidden;
  margin: 0 auto 18px;
  width: 100%;
  border: 2px solid var(--cream-dk);
  transition: transform .5s ease, border-color .3s ease;
}
.product-card:hover .product-thumb { transform: rotate(8deg) scale(1.04); border-color: var(--gold); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }

.badge-discount {
  position: absolute; top: 14px; right: 14px;
  background: #ba7213; color: #fff;
  font-family: var(--font-mono); font-size: .68rem;
  padding: 4px 9px; border-radius: 999px; z-index: 2;
}
.badge-featured {
  position: absolute; top: 14px; left: 14px;
  background: var(--forest); color: #fff;
  font-family: var(--font-mono); font-size: .62rem;
  padding: 4px 9px; border-radius: 999px; z-index: 2;
  text-transform: uppercase; letter-spacing: .04em;
}

.product-card .cat-label { font-family: var(--font-mono); font-size: .68rem; text-transform: uppercase; color: #ba7213; letter-spacing: .06em; }
.product-card h3 { font-size: 1.08rem; margin: 6px 0 6px; }
.product-card .weight-tag { font-family: var(--font-mono); font-size: .74rem; color: #9c8a76; }

.price-row { display: flex; align-items: baseline; gap: 8px; margin: 10px 0 14px; }
.price-now { font-family: var(--font-mono); font-weight: 700; font-size: 1.15rem; color: #3F5E3A; }
.price-old { font-family: var(--font-mono); font-size: .85rem; color: #b3a28f; text-decoration: line-through; }

.btn-jaggery {
  background: #3F5E3A; color: var(--cream);
  border: none; border-radius: 999px; padding: 10px 20px;
  font-weight: 500; font-size: .88rem;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .25s ease, transform .2s ease;
}
.btn-jaggery:hover { background: #ba7213; color: #fff; transform: translateY(-2px); }

.btn-outline-jaggery {
  border: 1.5px solid #3F5E3A; color: #3F5E3A;
  border-radius: 999px; padding: 9px 20px; background: transparent;
  font-weight: 500; font-size: .88rem;
  transition: all .25s ease;
}
.btn-outline-jaggery:hover { background: #3F5E3A; color: var(--cream); }

.btn-gold {
  background: linear-gradient(120deg, var(--gold-lt), var(--gold));
  color: #3F5E3A; border: none; border-radius: 999px;
  padding: 11px 26px; font-weight: 600; letter-spacing: .02em;
  box-shadow: 0 10px 24px -10px rgba(212,160,23,.6);
  transition: transform .2s ease;
}
.btn-gold:hover { transform: translateY(-2px); }

.add-cart-btn {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--cream-dk); border: none; color: #3F5E3A;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s ease, color .25s ease, transform .3s ease;
}
.add-cart-btn:hover { background: var(--forest); color: #fff; transform: rotate(90deg); }

/* =========================================================
   STORY / ABOUT STRIP
   ========================================================= */
.story-strip {
  background: var(--cream-dk);
  border-radius: var(--radius-lg);
  padding: 60px;
  position: relative;
  overflow: hidden;
}
.story-strip .story-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.story-strip .story-img img { width: 100%; height: 100%; object-fit: cover; }
.stat-chip {
  background: var(--paper); border-radius: 16px; padding: 16px 20px;
  box-shadow: var(--shadow-soft);
  display: inline-flex; flex-direction: column; gap: 2px;
}
.stat-chip strong { font-family: var(--font-display); font-size: 1.5rem; color: #ba7213; }
.stat-chip span { font-size: .74rem; color: #7a6a58; font-family: var(--font-mono); }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonial-card {
  background: var(--paper);
  border-radius: var(--radius-md);
  padding: 28px;
  height: 100%;
  box-shadow: 0 10px 24px -16px rgba(60,33,12,.2);
}
.testimonial-card .stars { color: var(--gold); margin-bottom: 12px; }
.testimonial-card .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.testimonial-card .who img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }

/* =========================================================
   NEWSLETTER BAND
   ========================================================= */
.newsletter-band {
  background: linear-gradient(120deg, var(--forest), #2c4428);
  color: #fff; border-radius: var(--radius-lg);
  padding: 50px; text-align: center;
}
.newsletter-band h2 { color: #fff; }
.newsletter-band .newsletter-form { max-width: 420px; margin: 24px auto 0; }

/* =========================================================
   GENERIC FORMS
   ========================================================= */
.newsletter-form { display: flex; gap: 0; }
.newsletter-form input {
  flex: 1; border: none; border-radius: 999px 0 0 999px;
  padding: 12px 18px; font-family: var(--font-body); outline: none;
}
.newsletter-form button {
  border: none; border-radius: 0 999px 999px 0;
  background: var(--gold); color: #3F5E3A;
  padding: 0 24px; font-weight: 600;
}

.auth-card {
  background: var(--paper); border-radius: var(--radius-lg);
  padding: 46px; box-shadow: var(--shadow-soft); max-width: 460px; margin: 60px auto;
}
.auth-card h2 { text-align: center; }
.form-control, .form-select {
  border-radius: 12px; padding: 11px 16px; border: 1px solid #e6dac4;
  font-family: var(--font-body);
}
.form-control:focus, .form-select:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,160,23,.2);
}
label { font-size: .85rem; font-weight: 500; color: #3F5E3A; margin-bottom: 4px; }

/* =========================================================
   CART / CHECKOUT
   ========================================================= */
.cart-row {
  background: var(--paper); border-radius: 16px; padding: 18px;
  display: flex; align-items: center; gap: 18px; margin-bottom: 14px;
  box-shadow: 0 8px 18px -14px rgba(60,33,12,.3);
}
.cart-row img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 3px solid var(--cream-dk); }
.qty-box { display: flex; align-items: center; border: 1px solid #e6dac4; border-radius: 999px; overflow: hidden; }
.qty-box button { border: none; background: var(--cream-dk); width: 32px; height: 32px; }
.qty-box input { width: 42px; border: none; text-align: center; font-family: var(--font-mono); }

.summary-card {
  background: #3F5E3A; color: var(--cream);
  border-radius: var(--radius-lg); padding: 30px;
}
.summary-card h4 { color: #fff; }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: .92rem; border-bottom: 1px dashed rgba(255,255,255,.15); }
.summary-total { font-family: var(--font-mono); font-size: 1.3rem; font-weight: 700; color: var(--gold-lt); }

/* =========================================================
   BREADCRUMB / FILTER SIDEBAR
   ========================================================= */
.filter-box { background: var(--paper); border-radius: var(--radius-md); padding: 24px; box-shadow: 0 8px 18px -14px rgba(60,33,12,.25); }
.filter-box h6 { font-family: var(--font-mono); text-transform: uppercase; font-size: .74rem; letter-spacing: .08em; color: #ba7213; margin-bottom: 12px; }
.filter-box .form-check { margin-bottom: 8px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: #3F5E3A; color: var(--cream-dk);
  padding: 70px 0 24px; position: relative; overflow: hidden; margin-top: 0px;
}
.footer-about { font-size: .9rem; color: rgba(251,243,231,.7); margin: 14px 0; }
.footer-heading { font-family: var(--font-mono); text-transform: uppercase; font-size: .78rem; letter-spacing: .08em; color: var(--gold-lt); margin-bottom: 14px; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(251,243,231,.75); font-size: .9rem; transition: color .2s ease; }
.footer-links a:hover { color: var(--gold-lt); }
.social-row { display: flex; gap: 10px; margin-top: 16px; }
.social-row a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center;
  transition: background .25s ease;
}
.social-row a:hover { background: var(--gold); color: #3F5E3A; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: .8rem; color: rgba(251,243,231,.55);
}

.back-to-top {
  position: fixed; bottom: 26px; right: 26px;
  width: 46px; height: 46px; border-radius: 50%;
  background: #ba7213; color: #fff;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .3s ease; z-index: 999; box-shadow: var(--shadow-soft);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* Toast for "added to cart" */
.mini-toast {
  position: fixed; top: 100px; right: 24px; z-index: 2000;
  background: var(--forest); color: #fff; padding: 14px 20px; border-radius: 12px;
  box-shadow: var(--shadow-soft); display: flex; align-items: center; gap: 10px;
  transform: translateX(140%); transition: transform .4s ease;
}
.mini-toast.show { transform: translateX(0); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 991px) {
  .hero-visual { height: 260px; margin-top: 30px; }
  .floating-jar.jar-1 { width: 150px; height: 150px; left: 30px; top: 0; }
  .floating-jar.jar-2 { width: 100px; height: 100px; left: 0; top: 150px; }
  .floating-jar.jar-3 { width: 90px; height: 90px; left: 190px; top: 10px; }
  .floating-jar.jar-4 { width: 110px; height: 110px; left: 150px; top: 140px; }
  .story-strip { padding: 34px; }
  .nav-icons { margin-left: 0; margin-top: 14px; }
  .search-box input { width: 140px; }
}

/* ========== Banner Slider ========== */
.banner-slider {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 650px;
  overflow: hidden;
  background: #1a1a1a;
}

.slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.7s ease;
}

.slide {
  min-width: 100%;
  height: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Dots */
.slider-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s;
}

.dot.active {
  background: #3F5E3A; /* gold */
  border-color: #3F5E3A;
}

/* Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  color: #fff;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s;
}

.slider-arrow:hover {
  background: rgba(201, 162, 39, 0.85);
}

.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

/* ========== Content Section ========== */
.hero-content-section {
  padding: 80px 0;
  background: #faf8f5;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #3F5E3A;
  margin-bottom: 12px;
  font-weight: 600;
}

.hero-content-section h1 {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.25;
  color: #2c1810;
  margin-bottom: 20px;
}

.hero-content-section h1 span {
  color: #3F5E3A;
}

.hero-content-section .lead {
  font-size: 1.1rem;
  color: #5a4a3f;
  line-height: 1.7;
  max-width: 520px;
}

.btn-gold {
  background: #3F5E3A;
  color: #fff;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: background 0.3s;
}

.btn-gold:hover {
  background: #a8841c;
  color: #fff;
}

.btn-outline-jaggery {
  border: 2px solid #3F5E3A;
  color: #3F5E3A;
  padding: 10px 26px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-outline-jaggery:hover {
  background: #3F5E3A;
  color: #fff;
}

.hero-stats {
  display: flex;
  gap: 35px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-stats div {
  text-align: center;
}

.hero-stats strong {
  display: block;
  font-size: 1.8rem;
  color: #2c1810;
  font-weight: 700;
}

.hero-stats span {
  font-size: 0.9rem;
  color: #7a6a5f;
}

/* Floating images */
.hero-visual {
  position: relative;
  height: 480px;
}

.floating-jar {
  position: absolute;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  object-fit: cover;
  transition: transform 0.4s ease;
}

.floating-jar:hover {
  transform: scale(1.05);
}

.jar-1 {
  width: 220px;
  top: 20px;
  left: 40px;
  z-index: 2;
}

.jar-2 {
  width: 160px;
  top: 60px;
  right: 50px;
  z-index: 3;
}

.jar-3 {
  width: 140px;
  bottom: 80px;
  left: 80px;
  z-index: 1;
}

.jar-4 {
  width: 190px;
  bottom: 30px;
  right: 30px;
  z-index: 4;
}

/* Responsive */
@media (max-width: 991px) {
  .banner-slider {
    height: 20vh;
    min-height: 180px;
  }
  .hero-content-section h1 {
    font-size: 2rem;
  }
  .hero-visual {
    height: 380px;
    margin-top: 40px;
  }
  .jar-1 { width: 160px; }
  .jar-2 { width: 120px; }
  .jar-3 { width: 110px; }
  .jar-4 { width: 140px; }
}

@media (max-width: 576px) {
  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
  .hero-stats {
    gap: 20px;
  }
}

.pb-5 {
    padding-bottom: 3rem !important;
    padding-top: 3rem !important;
}
/* =========================================================
   MOBILE BOTTOM NAVIGATION (App-style)
   ========================================================= */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  background: var(--paper);
  border-top: 1px solid rgba(92,54,32,.1);
  box-shadow: 0 -6px 24px -8px rgba(60,33,12,.18);
  padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
  justify-content: space-around;
  align-items: center;
}

.mobile-bottom-nav .mbn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px 10px;
  min-width: 64px;
  color: #8a7a68;
  font-size: .68rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 12px;
  transition: color .2s ease, background .2s ease;
  -webkit-tap-highlight-color: transparent;
}

.mobile-bottom-nav .mbn-item i {
  font-size: 1.25rem;
  line-height: 1;
}

.mobile-bottom-nav .mbn-item.active {
  color: var(--jaggery);
  background: var(--cream-dk);
}

.mobile-bottom-nav .mbn-item .mbn-badge {
  position: absolute;
  top: 2px;
  right: 8px;
  background: #ba7213;
  color: #fff;
  font-size: .6rem;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
}

.mobile-bottom-nav .mbn-item {
  position: relative;
}

/* Body padding so content never sits under bottom nav */
@media (max-width: 991.98px) {
  .mobile-bottom-nav {
    display: flex;
  }
  body {
    padding-bottom: 72px;
  }
  .back-to-top {
    bottom: 80px !important;
  }
  /* Hide top search on very small screens if needed – keep icons */
  .search-box {
    display: none;
  }
  .nav-icons {
    gap: 12px;
    margin-left: 0;
  }
  .site-header .navbar {
    padding: 10px 0;
  }
  .brand-text {
    font-size: 1.15rem;
  }
  .brand-mark, .site-header img {
    width: 36px !important;
    height: 36px !important;
  }
}

@media (max-width: 575.98px) {
  .admin-card, .checkout-card, .product-card {
    border-radius: 14px;
  }
  .btn-jaggery, .btn-outline-jaggery {
    min-height: 44px; /* touch friendly */
  }
  input.form-control, select.form-control, textarea.form-control {
    font-size: 16px; /* prevent iOS zoom */
  }
  .row.g-4 {
    --bs-gutter-y: 1rem;
  }
}

/* Ensure forms & cards never overflow */
img, video, iframe {
  max-width: 100%;
  height: auto;
}
.table-responsive {
  -webkit-overflow-scrolling: touch;
}
