:root {
  --background: 40 60% 97%;
  --foreground: 25 45% 14%;
  --card: 38 70% 99%;
  --primary: 24 88% 45%;
  --primary-foreground: 40 80% 98%;
  --secondary: 145 40% 26%;
  --secondary-foreground: 40 80% 98%;
  --muted: 40 40% 92%;
  --muted-foreground: 28 20% 38%;
  --accent: 45 95% 55%;
  --accent-foreground: 25 45% 14%;
  --destructive: 0 72% 45%;
  --border: 33 35% 86%;
  --radius: 1rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Mukta", sans-serif;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, .brand-name, .footer-brand, .hero-portrait p, .highlight {
  font-family: "Fraunces", Georgia, serif;
}
button, input { font: inherit; }
.muted { color: hsl(var(--muted-foreground)); }
.money {
  font-family: system-ui, "Segoe UI", Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid hsl(var(--border));
  background: hsl(var(--background) / 0.9);
  backdrop-filter: blur(12px);
}
.header-inner, .footer-grid, .story, .shop-block, .page-intro, .vision, .product-page, .success-page {
  width: min(90rem, calc(100% - 2.5rem));
  margin-inline: auto;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}
.brand-name { display: block; font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 900; color: hsl(var(--primary)); letter-spacing: -0.03em; }
.brand-tag { display: block; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: hsl(var(--muted-foreground)); }
.header-nav { display: flex; align-items: center; gap: 0.75rem; }
.nav-link { display: none; font-weight: 600; }
.nav-link:hover { color: hsl(var(--primary)); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 0 1.25rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-primary { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.btn-whatsapp { background: #128c7e; color: #fff; }
.btn-whatsapp:hover { background: #0e6f64; }
.btn-primary:hover { background: hsl(var(--primary) / 0.9); }
.btn-secondary { background: hsl(var(--secondary)); color: hsl(var(--secondary-foreground)); }
.btn-cta { min-height: 52px; padding: 0 2rem; background: hsl(24 88% 50%); color: #fff; box-shadow: 0 12px 24px hsl(24 88% 40% / 0.25); }
.btn-cta:hover { background: hsl(24 88% 44%); }
.btn-ghost { min-height: 52px; padding: 0 1.75rem; border: 1px solid hsl(40 60% 90% / 0.5); color: hsl(40 80% 97%); background: transparent; }
.btn-accent { min-height: 52px; padding: 0 2rem; background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); font-weight: 700; }
.btn-outline { border: 1px solid hsl(var(--border)); background: transparent; }
.btn-block { width: 100%; }
.btn-cart { position: relative; min-width: 44px; }
.btn-phone span { display: none; }
@media (min-width: 640px) {
  .btn-phone span, .nav-link { display: inline; }
}
.cart-badge {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.hero { position: relative; overflow: hidden; min-height: 100dvh; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, hsl(25 45% 12% / 0.92), hsl(25 45% 14% / 0.72), hsl(24 88% 35% / 0.35)); }
.hero-inner {
  position: relative;
  width: min(90rem, calc(100% - 2.5rem));
  margin: 0 auto;
  min-height: 100dvh;
  display: grid;
  align-items: center;
  gap: 2.5rem;
  padding: 5rem 0;
}
@media (min-width: 1024px) { .hero-inner { grid-template-columns: 1.1fr 0.9fr; } }
.hero-copy { color: hsl(40 80% 97%); }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.4rem 1rem;
  border: 1px solid hsl(45 95% 70% / 0.5);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: hsl(45 95% 75%);
}
.hero h1 { font-size: clamp(2.8rem, 8vw, 4.5rem); font-weight: 900; line-height: 0.95; margin: 0; }
.highlight { position: relative; display: inline-block; margin-left: 0.4rem; color: hsl(45 95% 60%); }
.highlight svg { position: absolute; left: 0; bottom: -0.5rem; width: 100%; }
.hero-text { max-width: 36rem; margin-top: 1.75rem; font-size: 1.125rem; color: hsl(40 40% 88%); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.25rem; }
.hero-portrait { position: relative; max-width: 24rem; margin: 0 auto; }
.portrait-glow { position: absolute; inset: -1rem; border-radius: 2rem; background: hsl(45 95% 60% / 0.25); filter: blur(32px); }
.portrait-frame { position: relative; overflow: hidden; border-radius: 2rem; border: 4px solid hsl(45 95% 60%); box-shadow: 0 25px 50px rgba(0,0,0,0.25); transform: rotate(-2deg); transition: transform 0.5s; }
.hero-portrait:hover .portrait-frame { transform: none; }
.hero-portrait p { position: relative; margin: 1.25rem 0 0; text-align: center; font-size: 1.125rem; color: hsl(45 95% 75%); }

.marquee { overflow: hidden; border-block: 1px solid hsl(var(--border)); background: hsl(var(--secondary)); padding: 0.75rem 0; }
.marquee-track { display: flex; width: max-content; gap: 2.5rem; white-space: nowrap; animation: marquee 26s linear infinite; }
.marquee-track span { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: hsl(var(--secondary-foreground)); }
.marquee-track i { margin-left: 2rem; color: hsl(var(--accent)); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

.story {
  display: grid;
  gap: 3rem;
  padding: 5rem 0;
}
@media (min-width: 1024px) { .story { grid-template-columns: 0.95fr 1.05fr; align-items: center; } }
.story-media { overflow: hidden; border-radius: 2rem; box-shadow: 0 18px 40px -20px hsl(25 45% 20% / 0.35); }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.eyebrow { margin: 0; font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: hsl(var(--primary)); }
.story h2, .shop-block h2, .page-intro h1, .vision h2, .success-page h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; line-height: 1.1; margin: 0.75rem 0 0; }
.lede { margin-top: 1.25rem; font-size: 1.125rem; color: hsl(var(--muted-foreground)); max-width: 40rem; }
.story-points { display: grid; gap: 1.25rem; margin-top: 2rem; }
@media (min-width: 640px) { .story-points { grid-template-columns: 1fr 1fr; } }
.story-points div { border-top: 1px solid hsl(var(--border)); padding-top: 1rem; }
.story-points dt { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; }
.story-points dt svg { color: hsl(var(--primary)); }
.story-points dd { margin: 0.35rem 0 0; font-size: 0.9rem; color: hsl(var(--muted-foreground)); }

.shop-block { padding-bottom: 3rem; }
.shop-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: end; margin-bottom: 2.5rem; }
.shop-note { max-width: 20rem; }
.shop-note strong { color: hsl(var(--foreground)); }
.page-intro { padding: 4rem 0; }
.page-intro .product-grid { margin-top: 3rem; }

.product-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .product-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }
.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid hsl(var(--border));
  border-radius: 1.75rem;
  background: hsl(var(--card));
  box-shadow: 0 18px 40px -28px hsl(25 45% 20% / 0.45);
}
.product-card-link { display: flex; flex-direction: column; flex: 1; color: inherit; }
.product-media { position: relative; overflow: hidden; }
.product-media img { width: 100%; height: 15rem; object-fit: cover; transition: transform 0.5s; }
.product-card:hover .product-media img { transform: scale(1.04); }
.ribbon { position: absolute; left: 1rem; top: 1rem; border-radius: 999px; background: hsl(var(--secondary)); color: hsl(var(--secondary-foreground)); padding: 0.25rem 0.75rem; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.price-pill { position: absolute; right: 1rem; top: 1rem; display: flex; align-items: baseline; gap: 0.4rem; border-radius: 999px; background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); padding: 0.25rem 0.75rem; font-weight: 700; }
.price-pill s { font-size: 12px; opacity: 0.7; }
.product-body { padding: 1.5rem 1.5rem 0; flex: 1; }
.product-body h3 { margin: 0; font-size: 1.25rem; }
.product-body p { margin: 0.5rem 0 0; font-size: 0.9rem; color: hsl(var(--muted-foreground)); }
.product-card form, .product-card > .btn { margin: 1.25rem; }

.vision { max-width: 72rem; margin-top: 4rem; }
.vision-card { border-radius: 2rem; background: hsl(var(--secondary)); color: hsl(var(--secondary-foreground)); padding: 3.5rem 2rem; text-align: center; }
.vision-card p { max-width: 36rem; margin: 1rem auto 0; color: hsl(40 40% 88%); }
.vision-card .btn { margin-top: 2rem; }

.site-footer { margin-top: 6rem; border-top: 1px solid hsl(var(--border)); background: hsl(var(--muted) / 0.6); }
.footer-grid { display: grid; gap: 2rem; padding: 3rem 0; max-width: 72rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
.footer-brand { margin: 0; font-size: 1.125rem; font-weight: 700; color: hsl(var(--primary)); }
.footer-heading { margin: 0 0 0.5rem; font-weight: 600; }
.footer-grid a, .footer-grid .muted { display: block; color: hsl(var(--muted-foreground)); }
.footer-grid a:hover { color: hsl(var(--primary)); }
.copyright { margin: 0; padding-bottom: 2rem; text-align: center; font-size: 12px; color: hsl(var(--muted-foreground)); }

.product-page { padding: 2rem 0 4rem; max-width: 64rem; }
.back-link { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1.5rem; font-weight: 600; }
.back-link:hover { color: hsl(var(--primary)); }
.glass-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  box-shadow: 0 18px 40px -24px hsl(25 45% 20% / 0.35);
  border-radius: 1.25rem;
  padding: 1.5rem;
}
@media (min-width: 768px) {
  .product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; padding: 2rem; }
}
.gallery-main { position: relative; overflow: hidden; border-radius: 0.75rem; height: 24rem; }
@media (min-width: 768px) { .gallery-main { height: 31rem; } }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(0,0,0,0.5);
  color: #fff;
}
.gallery-nav.prev { left: 0.5rem; }
.gallery-nav.next { right: 0.5rem; }
.thumbs { display: flex; gap: 0.5rem; margin-top: 1rem; overflow-x: auto; }
.thumbs a { flex: 0 0 4rem; height: 4rem; border-radius: 0.5rem; overflow: hidden; border: 2px solid hsl(var(--border)); }
.thumbs a.is-active { border-color: hsl(var(--primary)); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-info h1 { margin: 0 0 0.5rem; font-size: 2rem; }
.price-row { display: flex; align-items: baseline; gap: 0.75rem; margin: 1.25rem 0; }
.price-lg { font-size: 2.25rem; font-weight: 800; color: hsl(var(--primary)); }
.price-row s { font-size: 1.25rem; color: hsl(var(--muted-foreground)); }
.prose { color: hsl(var(--muted-foreground)); }
.prose p { margin: 0 0 0.75rem; }
.extra-info { margin: 1.25rem 0; display: grid; gap: 1rem; }
.extra-info > div { border-left: 2px solid hsl(var(--primary) / 0.5); padding-left: 1rem; }
.variants h3, .extra-info h3 { margin: 0 0 0.5rem; font-size: 0.95rem; }
.variant-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.add-form { display: grid; gap: 1rem; margin-top: 1.25rem; }
.qty-box {
  display: inline-flex;
  align-items: center;
  border: 1px solid hsl(var(--border));
  border-radius: 999px;
  padding: 0.25rem;
  width: max-content;
}
.qty-box button, .qty-form button {
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
}
.qty-box input { width: 2.5rem; border: 0; text-align: center; background: transparent; }
.stock { display: flex; align-items: center; justify-content: center; gap: 0.4rem; font-size: 0.9rem; }
.stock.ok { color: hsl(var(--secondary)); }
.stock.warn { color: #ca8a04; }
.stock.err { color: hsl(var(--destructive)); }

.success-page { max-width: 36rem; padding: 7rem 0; text-align: center; }
.success-page svg { color: hsl(var(--secondary)); margin: 0 auto; }
.success-page .hero-actions { justify-content: center; }

.notice { border: 1px solid hsl(var(--border)); background: hsl(var(--muted) / 0.5); border-radius: 1.75rem; padding: 2.5rem; text-align: center; color: hsl(var(--muted-foreground)); }
.notice-error { border-color: hsl(var(--destructive) / 0.3); background: hsl(var(--destructive) / 0.05); color: hsl(var(--destructive)); }

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: hsl(var(--foreground) / 0.6);
}
.cart-overlay[hidden] { display: none; }
.cart-drawer {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: min(28rem, 100%);
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  box-shadow: -12px 0 40px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  border-radius: 1rem 0 0 1rem;
}
.cart-head, .cart-foot { padding: 1.5rem; border-color: hsl(var(--border)); }
.cart-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid hsl(var(--border)); }
.cart-head h2 { margin: 0; font-size: 1.5rem; }
.icon-btn { border: 0; background: transparent; cursor: pointer; }
.cart-body { flex: 1; overflow: auto; padding: 1.5rem; display: grid; gap: 1rem; align-content: start; }
.cart-empty { height: 100%; display: grid; place-content: center; justify-items: center; color: hsl(var(--muted-foreground)); gap: 0.75rem; }
.cart-item { display: grid; grid-template-columns: 5rem 1fr auto; gap: 1rem; align-items: center; border: 1px solid hsl(var(--border)); border-radius: 0.75rem; padding: 0.75rem; }
.cart-item img { width: 5rem; height: 5rem; object-fit: cover; border-radius: 0.5rem; }
.cart-item h3 { margin: 0; font-size: 1rem; }
.price { color: hsl(var(--primary)); font-weight: 700; }
.qty-form { display: flex; align-items: center; border: 1px solid hsl(var(--border)); border-radius: 0.5rem; }
.qty-form span { padding: 0 0.5rem; }
.link-danger { border: 0; background: none; color: hsl(var(--destructive)); font-size: 12px; cursor: pointer; }
.cart-foot { border-top: 1px solid hsl(var(--border)); }
.cart-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.cart-total strong { font-size: 1.5rem; }

.toast {
  position: fixed;
  right: 1rem;
  top: 5.5rem;
  z-index: 60;
  max-width: 20rem;
  padding: 0.9rem 1rem;
  border-radius: 0.85rem;
  background: #fff;
  border: 1px solid hsl(var(--border));
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  display: grid;
  gap: 0.2rem;
}
.toast-error { border-color: hsl(var(--destructive) / 0.4); }
.toast-success { border-color: hsl(var(--secondary) / 0.35); }

.checkout-page { max-width: 72rem; }
.checkout-grid { display: grid; gap: 1.5rem; margin-top: 2rem; }
@media (min-width: 900px) { .checkout-grid { grid-template-columns: 1.3fr 0.9fr; align-items: start; } }
.checkout-form, .checkout-summary { padding: 1.5rem; display: grid; gap: 1rem; }
.checkout-form label, .admin-page label { display: grid; gap: 0.35rem; font-weight: 600; font-size: 0.95rem; }
.checkout-form input, .checkout-form textarea, .checkout-form select,
.admin-page input, .admin-page textarea, .admin-page select {
  width: 100%;
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  padding: 0.7rem 0.85rem;
  background: #fff;
}
.form-row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.payment-note, .order-no { font-weight: 600; }
.order-no { color: hsl(var(--primary)); font-size: 1.15rem; }
.summary-line, .summary-total { display: flex; justify-content: space-between; gap: 1rem; }
.summary-total { border-top: 1px solid hsl(var(--border)); padding-top: 0.75rem; font-size: 1.15rem; }
.admin-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: end;
  margin: 1.25rem 0;
  padding: 1rem 1.15rem;
}
.admin-filters label { margin: 0; min-width: 12rem; flex: 1; }
.pagination {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: center;
  margin: 1.25rem 0 0;
}
.pagination a, .pagination span {
  min-width: 2.4rem;
  height: 2.4rem;
  padding: 0 0.7rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid hsl(var(--border));
  font-weight: 600;
}
.pagination a:hover { border-color: hsl(var(--primary)); color: hsl(var(--primary)); }
.pagination .is-current { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); border-color: transparent; }
.admin-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.admin-login .checkout-form { max-width: 24rem; }
.table-wrap { overflow-x: auto; padding: 0.5rem; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { text-align: left; padding: 0.85rem 0.75rem; border-bottom: 1px solid hsl(var(--border)); }
.status { text-transform: capitalize; font-weight: 600; }
.status-pending { color: #b45309; }
.status-confirmed, .status-packed { color: hsl(var(--secondary)); }
.status-delivered { color: hsl(var(--primary)); }
.status-cancelled, .status-expired, .status-used-up, .status-off { color: hsl(var(--destructive)); }
.status-active { color: hsl(var(--secondary)); }
.offers-grid { display: grid; gap: 1rem; margin: 0 0 2rem; }
@media (min-width: 700px) { .offers-grid { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); } }
.shop-block .offers-grid, .page-intro .offers-grid { margin-top: 1.5rem; }
.offer-card { padding: 1.2rem 1.35rem; }
.offer-card h3 { margin: 0.35rem 0 0.4rem; font-size: 1.15rem; }
.offer-code { margin: 0.35rem 0 0; font-family: "Fraunces", Georgia, serif; font-size: 1.5rem; letter-spacing: 0.06em; color: hsl(var(--primary)); }
.coupon-apply { display: flex; gap: 0.5rem; align-items: center; }
.coupon-apply input { flex: 1; min-width: 0; }
.coupon-apply .btn { min-height: 44px; padding: 0 1rem; }
.summary-discount { color: hsl(var(--secondary)); }
.notice { border-radius: 0.85rem; padding: 0.85rem 1rem; }
.notice-error { background: hsl(0 70% 96%); border: 1px solid hsl(var(--destructive) / 0.25); }
.inline-form { display: inline; }
.check { display: flex !important; align-items: center; gap: 0.5rem; font-weight: 600; }
.check input { width: auto; }
.whatsapp-preview {
  white-space: pre-wrap;
  font-family: system-ui, "Segoe UI", Arial, sans-serif;
  font-size: inherit;
  background: hsl(145 30% 96%);
  border: 1px solid hsl(var(--border));
  border-radius: 0.85rem;
  padding: 0.9rem 1rem;
  color: hsl(var(--foreground));
}
.admin-preview { width: 10rem; height: 10rem; object-fit: cover; border-radius: 1rem; border: 1px solid hsl(var(--border)); }
.fssai-band { width: min(72rem, calc(100% - 2.5rem)); margin: 4rem auto 0; }
.fssai-card { border-radius: 2rem; border: 1px solid hsl(var(--border)); background: hsl(var(--card)); padding: 2.5rem; text-align: center; box-shadow: 0 18px 40px -28px hsl(25 45% 20% / 0.45); }
.fssai-page { max-width: 52rem; }
.fssai-frame { width: 100%; min-height: 70vh; border: 1px solid hsl(var(--border)); border-radius: 1rem; background: #fff; }
.fssai-image { width: 100%; border-radius: 1rem; border: 1px solid hsl(var(--border)); }
