/* ==========================================================================
   Vajra Laddoos — Traditional Andhra Festive Theme
   ========================================================================== */

:root {
  /* Brand palette — matched to the Vajra Laddoos logo (olive green + gold) */
  --green: #4a6a1e;          /* logo green */
  --green-dark: #33480f;     /* deep green */
  --green-mid: #5c7d28;      /* lighter accent green */
  /* legacy names kept so all rules stay green-themed */
  --maroon: #4a6a1e;
  --maroon-dark: #33480f;
  --gold: #c9971f;           /* logo gold */
  --gold-light: #e2b53d;
  --turmeric: #f4b400;
  --cream: #fbf5e4;          /* logo cream */
  --cream-2: #f2e8cd;
  --ink: #2c2a1c;
  --leaf: #3b6b35;
  --white: #fffdf5;
  --shadow: 0 10px 30px rgba(51, 72, 15, 0.15);
  --shadow-lg: 0 20px 50px rgba(51, 72, 15, 0.28);
  --radius: 18px;
  --maxw: 1200px;
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', 'Segoe UI', sans-serif;
  --font-deco: 'Yatra One', cursive;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
}

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

.container { width: min(92%, var(--maxw)); margin-inline: auto; }

/* ---------- Decorative kolam background pattern ---------- */
.pattern-bg {
  background-color: var(--cream);
  background-image: url("../images/kolam.svg");
  background-size: 90px 90px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: 0.85rem 1.8rem; border: none; border-radius: 50px;
  cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  letter-spacing: 0.3px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  color: var(--cream); box-shadow: var(--shadow);
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: var(--shadow-lg); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--maroon-dark); box-shadow: var(--shadow); font-weight: 700;
}
.btn-gold:hover { transform: translateY(-3px) scale(1.02); box-shadow: var(--shadow-lg); }
.btn-outline {
  background: transparent; color: var(--maroon); border: 2px solid var(--maroon);
}
.btn-outline:hover { background: var(--maroon); color: var(--cream); }
.btn-lg { padding: 1.05rem 2.4rem; font-size: 1.1rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(74, 106, 30, 0.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  border-bottom: 3px solid var(--gold);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 0; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; color: var(--cream); }
.brand-logo { height: 56px; width: auto; display: block; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3)); }
.brand-fallback { display: flex; align-items: center; gap: 0.7rem; }
.brand-mark {
  width: 46px; height: 46px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gold-light), var(--gold) 60%, var(--maroon-dark));
  display: grid; place-items: center; font-family: var(--font-deco);
  color: var(--maroon-dark); font-size: 1.4rem; box-shadow: 0 0 0 3px rgba(253,246,227,0.25);
  animation: spinSlow 18s linear infinite;
}
@keyframes spinSlow { to { transform: rotate(360deg); } }
.brand-name { font-family: var(--font-deco); font-size: 1.5rem; line-height: 1; color: var(--gold-light); }
.brand-sub { font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; color: var(--cream); opacity: .85; }

.nav-links { display: flex; align-items: center; gap: 0.4rem; list-style: none; }
.nav-links a {
  color: var(--cream); font-weight: 500; padding: 0.5rem 0.9rem; border-radius: 30px;
  position: relative; transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active { background: rgba(232,185,35,0.18); color: var(--gold-light); }
.nav-cta { display: flex; align-items: center; gap: 0.6rem; }

.cart-btn {
  position: relative; background: var(--gold); color: var(--maroon-dark);
  border: none; border-radius: 50px; padding: 0.6rem 1.1rem; font-weight: 700;
  cursor: pointer; display: inline-flex; align-items: center; gap: 0.4rem;
  transition: transform .2s;
}
.cart-btn:hover { transform: scale(1.05); }
.cart-count {
  background: var(--maroon); color: var(--cream); border-radius: 50%;
  min-width: 22px; height: 22px; display: grid; place-items: center;
  font-size: 0.75rem; padding: 0 5px;
}
.hamburger { display: none; background: none; border: none; color: var(--cream); font-size: 1.8rem; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 88vh; display: grid; place-items: center;
  text-align: center; overflow: hidden;
  background:
    radial-gradient(ellipse at top, rgba(244,180,0,0.25), transparent 60%),
    linear-gradient(160deg, var(--green-dark), var(--green) 55%, var(--green-mid));
  color: var(--cream);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("../images/kolam.svg"); background-size: 96px 96px; opacity: 0.16;
}
.hero-inner { position: relative; z-index: 3; padding: 4rem 1rem; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  align-items: center; gap: 3rem; text-align: left; width: min(92%, var(--maxw));
}
.hero-text { text-align: left; }
.hero-text .hero-cta { justify-content: flex-start; }
.hero-logo {
  max-width: 300px; width: 70%; margin: 0 auto 1.4rem;
  filter: drop-shadow(0 12px 30px rgba(0,0,0,0.35));
  animation: fadeDown 1s ease both;
}
.hero-text .hero-logo { margin: 0 0 1.2rem; width: min(210px, 58%); }

/* hero video card */
.hero-video {
  position: relative; justify-self: center; z-index: 3;
  width: min(330px, 86%); border-radius: 26px; overflow: hidden;
  border: 4px solid var(--gold);
  box-shadow: 0 26px 55px rgba(0,0,0,0.45), 0 0 0 10px rgba(232,185,35,0.12);
  animation: heroVideoIn 1.2s cubic-bezier(.18,.9,.25,1) .4s both;
  background: var(--green-dark);
}
.hero-video video { width: 100%; display: block; }
@keyframes heroVideoIn {
  0%   { transform: translateX(60px) scale(.94); opacity: 0; }
  100% { transform: translateX(0) scale(1); opacity: 1; }
}
.hero-telugu {
  display: block; font-family: 'Yatra One', cursive; color: var(--gold-light);
  font-size: clamp(1.4rem, 4vw, 2.2rem); margin-bottom: .6rem; letter-spacing: 1px;
  text-shadow: 0 3px 12px rgba(0,0,0,0.3); animation: fadeDown 1s ease .1s both;
}
.hero .eyebrow {
  display: inline-block; font-weight: 600; letter-spacing: 4px; text-transform: uppercase;
  font-size: 0.8rem; color: var(--gold-light); border: 1px solid rgba(232,185,35,0.5);
  padding: 0.4rem 1.2rem; border-radius: 30px; margin-bottom: 1.5rem;
  animation: fadeDown 1s ease both;
}
.hero h1 {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(2.6rem, 7vw, 5.5rem); line-height: 1.05; margin-bottom: 1rem;
  text-shadow: 0 4px 24px rgba(0,0,0,0.3);
  animation: fadeUp 1s ease .15s both;
}
.hero h1 .accent { color: var(--gold-light); font-family: var(--font-deco); }
.hero p.lead {
  font-size: clamp(1.05rem, 2.2vw, 1.4rem); max-width: 620px; margin: 0 auto 2.2rem;
  opacity: .95; animation: fadeUp 1s ease .3s both;
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; animation: fadeUp 1s ease .45s both; }

/* floating laddoos */
.floaty { position: absolute; border-radius: 50%; opacity: .9; z-index: 1;
  background: radial-gradient(circle at 35% 30%, #f7d774, var(--gold) 55%, #9a6b00);
  box-shadow: inset -6px -6px 12px rgba(0,0,0,0.25), 0 8px 20px rgba(0,0,0,0.3);
}
.floaty::after {
  content:""; position:absolute; inset:0; border-radius:50%;
  background-image: radial-gradient(circle at 3px 3px, rgba(255,255,255,0.35) 1px, transparent 2px);
  background-size: 9px 9px;
}
.f1 { width: 90px; height: 90px; top: 15%; left: 8%; animation: float 7s ease-in-out infinite; }
.f2 { width: 55px; height: 55px; top: 65%; left: 14%; animation: float 6s ease-in-out infinite reverse; }
.f3 { width: 70px; height: 70px; top: 22%; right: 10%; animation: float 8s ease-in-out infinite; }
.f4 { width: 45px; height: 45px; top: 70%; right: 16%; animation: float 5.5s ease-in-out infinite reverse; }
.f5 { width: 34px; height: 34px; top: 42%; left: 48%; animation: float 6.5s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-26px) rotate(12deg); } }

/* ---------- Mascot (delivery boy) ---------- */
.hero-mascot {
  position: absolute; bottom: 0; right: 3%; z-index: 2;
  width: min(300px, 32vw); pointer-events: none;
  animation: mascotIn 1.3s cubic-bezier(.18,.9,.25,1) .35s both;
}
.hero-mascot img {
  width: 100%; display: block;
  filter: drop-shadow(0 18px 26px rgba(0,0,0,0.35));
  animation: mascotFloat 4.5s ease-in-out 1.6s infinite;
  transform-origin: bottom center;
}
@keyframes mascotIn {
  0%   { transform: translateY(110%) rotate(-6deg); opacity: 0; }
  60%  { transform: translateY(-4%) rotate(2deg);  opacity: 1; }
  100% { transform: translateY(0) rotate(0); opacity: 1; }
}
@keyframes mascotFloat {
  0%,100% { transform: translateY(0) rotate(0); }
  50%     { transform: translateY(-14px) rotate(-1.5deg); }
}
/* little speech bubble that pops after he arrives */
.mascot-bubble {
  position: absolute; bottom: 62%; right: calc(3% + min(300px,32vw) - 40px); z-index: 3;
  background: var(--cream); color: var(--green-dark); font-weight: 700; font-size: .9rem;
  padding: .6rem 1rem; border-radius: 16px 16px 4px 16px; box-shadow: var(--shadow);
  border: 2px solid var(--gold); white-space: nowrap;
  opacity: 0; animation: bubblePop .5s ease 1.7s forwards;
}
.mascot-bubble::after {
  content: ""; position: absolute; bottom: -10px; right: 18px;
  border: 8px solid transparent; border-top-color: var(--gold);
}
@keyframes bubblePop { 0% { opacity:0; transform: scale(.6) translateY(8px);} 100% { opacity:1; transform: scale(1) translateY(0);} }

/* mascot used inside a section (e.g. how-to-order, empty cart) */
.mascot-inline { width: min(200px, 44vw); filter: drop-shadow(0 12px 20px rgba(0,0,0,0.2)); animation: mascotFloat 5s ease-in-out infinite; }

/* floating mascot helper button (all pages) */
.mascot-fab {
  position: fixed; bottom: 18px; left: 18px; z-index: 150; width: 92px; cursor: pointer;
  animation: mascotFloat 4s ease-in-out infinite; transition: transform .2s;
  filter: drop-shadow(0 10px 16px rgba(0,0,0,0.3));
}
.mascot-fab:hover { transform: scale(1.08); }

.wave { position: absolute; bottom: -2px; left: 0; width: 100%; z-index: 2; line-height: 0; }
.wave svg { width: 100%; height: 90px; display: block; }

/* ---------- Marquee strip ---------- */
.strip {
  background: var(--gold); color: var(--maroon-dark); font-weight: 700;
  overflow: hidden; white-space: nowrap; padding: 0.7rem 0; letter-spacing: 1px;
}
.strip .track { display: inline-block; animation: marquee 22s linear infinite; }
.strip .track span { margin: 0 2.5rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Section headings ---------- */
.section { padding: 5rem 0; }
.section-head { text-align: center; margin-bottom: 3rem; }
.section-head .kicker {
  color: var(--gold); font-weight: 700; letter-spacing: 3px; text-transform: uppercase; font-size: 0.85rem;
}
.section-head h2 {
  font-family: var(--font-head); font-size: clamp(2rem, 4.5vw, 3.2rem);
  color: var(--maroon); margin: 0.4rem 0 0.6rem;
}
.section-head .divider {
  width: 90px; height: 4px; margin: 0.8rem auto 0; border-radius: 4px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.section-head p { max-width: 640px; margin: 1rem auto 0; opacity: .8; }

/* ---------- About / feature cards ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 1.8rem; }
.feature {
  background: var(--white); border-radius: var(--radius); padding: 2.2rem 1.6rem; text-align: center;
  box-shadow: var(--shadow); border: 1px solid rgba(201,151,0,0.15);
  transition: transform .3s, box-shadow .3s;
}
.feature:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.feature .ficon {
  width: 70px; height: 70px; margin: 0 auto 1.2rem; border-radius: 50%;
  display: grid; place-items: center; font-size: 2rem;
  background: linear-gradient(135deg, var(--cream-2), var(--gold-light));
}
.feature h3 { font-family: var(--font-head); color: var(--maroon); font-size: 1.3rem; margin-bottom: .5rem; }

/* ---------- Featured products ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 1.8rem; }
.prod-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid rgba(201,151,0,0.15);
  transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column;
}
.prod-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.prod-thumb {
  height: 170px; display: grid; place-items: center; font-size: 4rem;
  background: linear-gradient(135deg, var(--cream-2), #f0dca8);
  position: relative;
}
.prod-thumb .badge {
  position: absolute; top: 12px; left: 12px; background: var(--maroon); color: var(--cream);
  font-size: .7rem; font-weight: 700; padding: .25rem .7rem; border-radius: 20px; letter-spacing: .5px;
}
.prod-body { padding: 1.2rem 1.3rem 1.4rem; flex: 1; display: flex; flex-direction: column; }
.prod-body h3 { font-family: var(--font-head); color: var(--maroon); font-size: 1.25rem; }
.prod-body .desc { font-size: .9rem; opacity: .75; margin: .4rem 0 1rem; flex: 1; }
.prod-foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.price { font-weight: 800; color: var(--maroon-dark); font-size: 1.15rem; }
.price small { font-weight: 500; opacity: .6; font-size: .75rem; }

/* ---------- Menu page ---------- */
.menu-hero {
  background: linear-gradient(160deg, var(--maroon-dark), var(--maroon));
  color: var(--cream); text-align: center; padding: 3.5rem 0 3rem;
  position: relative; overflow: hidden;
}
.menu-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("../images/kolam.svg"); background-size: 96px 96px; opacity: 0.14;
}
.menu-hero .container { position: relative; z-index: 1; }
.menu-hero h1 { font-family: var(--font-head); font-size: clamp(2.2rem,5vw,3.5rem); }
.menu-hero p { opacity: .9; margin-top: .5rem; }

.cat-nav { position: sticky; top: 70px; z-index: 40; background: var(--cream); padding: 1rem 0; box-shadow: 0 6px 14px rgba(0,0,0,0.05); }
.cat-nav .container { display: flex; gap: .6rem; overflow-x: auto; padding-bottom: .3rem; }
.cat-pill {
  white-space: nowrap; background: var(--white); border: 1.5px solid rgba(201,151,0,0.4);
  color: var(--maroon); padding: .5rem 1.1rem; border-radius: 30px; font-weight: 600;
  cursor: pointer; transition: all .2s; font-size: .9rem;
}
.cat-pill.active, .cat-pill:hover { background: var(--maroon); color: var(--cream); border-color: var(--maroon); }

.menu-cat { margin-bottom: 3rem; scroll-margin-top: 140px; }
.menu-cat h2 {
  font-family: var(--font-head); color: var(--maroon); font-size: 1.9rem;
  display: flex; align-items: center; gap: .8rem; margin-bottom: 1.4rem;
}
.menu-cat h2::after { content:""; flex:1; height:2px; background: linear-gradient(90deg, var(--gold), transparent); }

.item-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 1.3rem; }
.item {
  background: var(--white); border-radius: 14px; padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow); border: 1px solid rgba(201,151,0,0.15);
  display: flex; gap: 1rem; align-items: center; transition: transform .25s;
}
.item:hover { transform: translateY(-4px); }
.item-emoji {
  width: 62px; height: 62px; flex: none; border-radius: 12px; display: grid; place-items: center;
  font-size: 2rem; background: linear-gradient(135deg, var(--cream-2), #f0dca8);
}
.item-info { flex: 1; min-width: 0; }
.item-info h3 { font-size: 1.05rem; color: var(--ink); font-family: var(--font-body); font-weight: 700; }
.item-info .tag { font-size: .75rem; color: var(--leaf); font-weight: 600; }
.item-info .veg { display:inline-block; width:14px;height:14px;border:1.5px solid var(--leaf); border-radius:3px; position:relative; vertical-align:middle; margin-right:5px;}
.item-info .veg::after { content:""; position:absolute; inset:3px; background:var(--leaf); border-radius:50%; }
.item-price { font-weight: 800; color: var(--maroon-dark); white-space: nowrap; }
.item-price small { font-weight: 500; opacity: .6; font-size: .7rem; display:block; }
.item-buy { display: flex; align-items: center; gap: .5rem; margin-top: .55rem; flex-wrap: wrap; }
.variant-sel {
  appearance: none; -webkit-appearance: none;
  background: var(--white) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M2 4l4 4 4-4' fill='none' stroke='%234a6a1e' stroke-width='1.6'/></svg>") no-repeat right .6rem center;
  border: 1.5px solid rgba(74,106,30,0.35); border-radius: 30px;
  padding: .4rem 1.7rem .4rem .9rem; font-family: var(--font-body); font-weight: 600;
  font-size: .82rem; color: var(--green-dark); cursor: pointer;
}
.variant-sel:focus { outline: none; border-color: var(--gold); }
.variant-single {
  font-size: .78rem; font-weight: 600; color: var(--green-dark);
  background: var(--cream-2); border-radius: 20px; padding: .35rem .8rem;
}
.add-btn {
  background: var(--gold); color: var(--green-dark); border: none;
  border-radius: 30px; padding: .45rem 1rem; font-weight: 700; cursor: pointer; font-size: .85rem;
  transition: transform .15s, background .2s;
}
.add-btn:hover { transform: scale(1.05); background: var(--gold-light); }
.qty-ctrl { display: inline-flex; align-items: center; gap: .6rem; margin-top:.5rem; }
.qty-ctrl button {
  width: 30px; height: 30px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--maroon); color: var(--cream); font-size: 1.1rem; font-weight: 700;
  display:grid; place-items:center;
}
.qty-ctrl span { font-weight: 700; min-width: 20px; text-align: center; }

/* ---------- Stock status ---------- */
.item.soldout { opacity: .72; }
.item.soldout .item-emoji { filter: grayscale(0.85); position: relative; }
.stock-badge {
  display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .3px;
  padding: .12rem .5rem; border-radius: 20px; margin-left: .4rem; vertical-align: middle;
}
.stock-badge.in { background: #e7f2d8; color: #3b6d11; }
.stock-badge.out { background: #fbe3e3; color: #a32d2d; }
.soldout-btn {
  margin-top: .5rem; background: #eee; color: #a32d2d; border: 1.5px solid #f0c4c4;
  border-radius: 30px; padding: .45rem 1rem; font-weight: 700; font-size: .85rem;
  cursor: not-allowed;
}

/* ---------- Cart drawer ---------- */
.overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 200;
  opacity: 0; visibility: hidden; transition: opacity .3s;
}
.overlay.open { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%);
  background: var(--cream); z-index: 210; box-shadow: -10px 0 40px rgba(0,0,0,0.3);
  transform: translateX(100%); transition: transform .35s ease; display: flex; flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-header {
  background: var(--maroon); color: var(--cream); padding: 1.2rem 1.4rem;
  display: flex; align-items: center; justify-content: space-between;
}
.cart-header h3 { font-family: var(--font-head); font-size: 1.4rem; }
.cart-close { background: none; border: none; color: var(--cream); font-size: 1.6rem; cursor: pointer; }
.cart-items { flex: 1; overflow-y: auto; padding: 1rem 1.2rem; }
.cart-empty { text-align: center; opacity: .6; margin-top: 3rem; }
.cart-line { display: flex; gap: .8rem; align-items: center; padding: .8rem 0; border-bottom: 1px dashed rgba(74,106,30,0.2); }
.cart-line .cl-emoji { font-size: 1.8rem; }
.cart-line .cl-info { flex: 1; }
.cart-line .cl-info h4 { font-size: .95rem; }
.cart-line .cl-info small { opacity: .7; }
.cart-line .cl-qty { display: flex; align-items: center; gap: .5rem; }
.cart-line .cl-qty button { width: 26px; height: 26px; border-radius: 50%; border: none; background: var(--maroon); color: var(--cream); cursor: pointer; font-weight: 700; }
.cart-foot { padding: 1.2rem 1.4rem; border-top: 2px solid var(--gold); background: var(--cream-2); }
#cartBreakdown { margin-bottom: .5rem; }
.cart-bd-line { display: flex; justify-content: space-between; font-size: .9rem; color: var(--ink); opacity: .85; padding: 2px 0; }
.cart-total { display: flex; justify-content: space-between; font-size: 1.25rem; font-weight: 800; color: var(--maroon-dark); margin-bottom: 1rem; border-top: 1px dashed rgba(74,106,30,0.3); padding-top: .5rem; }
.cart-foot .btn { width: 100%; justify-content: center; }

/* ---------- Checkout modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 300; display: none; place-items: center; padding: 1rem;
  background: rgba(0,0,0,0.6);
}
.modal.open { display: grid; }
.modal-card {
  background: var(--cream); border-radius: var(--radius); width: min(560px, 100%);
  max-height: 92vh; overflow-y: auto; box-shadow: var(--shadow-lg);
  animation: popIn .3s ease;
}
@keyframes popIn { from { transform: scale(.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-head { background: var(--maroon); color: var(--cream); padding: 1.3rem 1.6rem; border-radius: var(--radius) var(--radius) 0 0; display:flex; justify-content:space-between; align-items:center; }
.modal-head h3 { font-family: var(--font-head); font-size: 1.5rem; }
.modal-body { padding: 1.6rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; font-size: .9rem; }
.field label .req { color: #c0392b; }
.field input, .field textarea {
  width: 100%; padding: .8rem 1rem; border: 1.5px solid rgba(74,106,30,0.25);
  border-radius: 10px; font-family: var(--font-body); font-size: 1rem; background: var(--white);
  transition: border .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field .err { color: #c0392b; font-size: .8rem; margin-top: .25rem; display: none; }
.field.invalid input, .field.invalid textarea { border-color: #c0392b; }
.field.invalid .err { display: block; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.order-summary { background: var(--cream-2); border-radius: 12px; padding: 1rem 1.2rem; margin-bottom: 1.3rem; }
.order-summary .os-line { display:flex; justify-content:space-between; font-size:.9rem; padding: .2rem 0; }
.order-summary .os-total { font-weight: 800; color: var(--maroon-dark); border-top: 1px dashed rgba(74,106,30,0.3); margin-top:.4rem; padding-top:.5rem; font-size:1.1rem; }

/* ---------- Payment step ---------- */
.pay-step { text-align: center; }
.pay-step .qr-box {
  background: var(--white); border: 2px solid var(--gold); border-radius: 16px;
  padding: 1.2rem; display: inline-block; margin: 1rem 0; box-shadow: var(--shadow);
}
.pay-step .qr-box canvas, .pay-step .qr-box img { border-radius: 8px; }
.pay-amount { font-size: 1.6rem; font-weight: 800; color: var(--maroon); margin: .5rem 0; }
.pay-note { font-size: .9rem; opacity: .8; max-width: 380px; margin: .5rem auto 1rem; }
.pay-vpa { font-weight: 700; color: var(--maroon-dark); background: var(--cream-2); padding:.4rem .9rem; border-radius: 8px; display:inline-block; }
.step-tabs { display:flex; gap:.5rem; margin-bottom: 1.4rem; }
.step-tabs .st { flex:1; text-align:center; padding:.5rem; border-radius: 10px; background: var(--cream-2); font-weight:700; font-size:.85rem; color: var(--maroon); opacity:.5; }
.step-tabs .st.active { opacity:1; background: var(--maroon); color: var(--cream); }

/* ---------- Footer ---------- */
.site-footer { background: var(--maroon-dark); color: var(--cream); padding: 3.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-col h4 { font-family: var(--font-head); color: var(--gold-light); margin-bottom: 1rem; font-size: 1.2rem; }
.footer-col p, .footer-col a { opacity: .85; font-size: .92rem; display: block; margin-bottom: .5rem; }
.footer-col a:hover { color: var(--gold-light); opacity: 1; }
.social { display: flex; gap: .8rem; margin-top: .5rem; }
.social a {
  width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,0.1);
  display: grid; place-items: center; transition: background .2s, transform .2s; font-size:1.1rem;
}
.social a:hover { background: var(--gold); color: var(--maroon-dark); transform: translateY(-3px); }
.compliance {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 1rem 2rem; padding: 1.3rem 0 .3rem; border-top: 1px solid rgba(255,255,255,0.15);
}
.compliance .lic {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .9rem; color: var(--cream); opacity: .92;
}
.compliance .lic b { color: var(--gold-light); font-weight: 700; letter-spacing: .3px; }
.fssai-logo { height: 40px; width: auto; background: #fff; border-radius: 6px; padding: 2px; }
.footer-bottom { text-align: center; padding-top: 1rem; opacity: .75; font-size: .85rem; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(120px);
  background: var(--maroon); color: var(--cream); padding: .9rem 1.6rem; border-radius: 50px;
  box-shadow: var(--shadow-lg); z-index: 400; font-weight: 600; transition: transform .35s ease;
  border: 2px solid var(--gold);
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Animations ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hamburger { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column;
    background: var(--maroon-dark); padding: 1rem; gap: .2rem; align-items: stretch;
    max-height: 0; overflow: hidden; transition: max-height .35s ease; border-bottom: 3px solid var(--gold);
  }
  .nav-links.open { max-height: 400px; }
  .nav-links a { padding: .8rem 1rem; }
  .brand-sub { display: none; }
  .grid-2 { grid-template-columns: 1fr; }
  .cat-nav { top: 62px; }
  .mascot-bubble { display: none; }
  .hero-mascot { width: 40vw; right: 0; opacity: .95; }
  .mascot-fab { width: 64px; bottom: 12px; left: 12px; }
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .hero-text { text-align: center; }
  .hero-text .hero-logo { margin: 0 auto 1.2rem; width: min(200px, 55%); }
  .hero-text .hero-cta { justify-content: center; }
  .hero-video { width: min(300px, 78%); order: 3; }
}
@media (max-width: 520px) {
  .hero-mascot { display: none; }
}
