/* ====================================================
   Mango Maharaja — Master Stylesheet
   Luxury, warm, hand-crafted Indian heritage aesthetic
   ==================================================== */

:root {
  --mango: #E87A1E;
  --mango-deep: #C84B16;
  --saffron: #FFB627;
  --gold: #C9A24A;
  --leaf: #5A8233;
  --cream: #FFF8E7;
  --cream-2: #FCEFD0;
  --ink: #2A1B0E;
  --ink-2: #4A2E0F;
  --line: #E8D7B8;
  --muted: #8A7253;
  --rose: #B83A3A;
  --bg: #FFFCF5;
  --shadow-1: 0 4px 24px rgba(74,46,15,.08);
  --shadow-2: 0 18px 60px rgba(74,46,15,.18);
  --radius: 14px;
  --radius-lg: 22px;
  --serif: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --sans:  "Inter", "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ---------- reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }

/* ---------- typography ---------- */
h1, h2, h3, h4, h5 { font-family: var(--serif); color: var(--ink); font-weight: 600; line-height: 1.18; letter-spacing: -.012em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.55rem); }
.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .78rem;
  color: var(--mango-deep);
  font-weight: 600;
}
.lead { color: var(--ink-2); font-size: 1.07rem; }
.muted { color: var(--muted); }

/* ---------- layout ---------- */
.container { width: 92%; max-width: 1280px; margin: 0 auto; }
section { padding: 80px 0; position: relative; }
@media (max-width: 720px){ section { padding: 50px 0; } }
@media (max-width: 480px){ section { padding: 40px 0; } .container { width: 94%; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--mango) 0%, var(--mango-deep) 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(232,122,30,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(232,122,30,.45); }
.btn-ghost {
  background: transparent; color: var(--ink); border: 1.5px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-gold {
  background: linear-gradient(135deg, var(--saffron) 0%, var(--gold) 100%);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(201,162,74,.35);
}
.btn-gold:hover { transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-lg { padding: 17px 34px; font-size: 1rem; }

/* ---------- announcement bar ---------- */
.announce {
  background: linear-gradient(90deg, #b73411, var(--mango-deep), var(--mango), var(--saffron));
  color: #fff;
  font-size: .82rem;
  padding: 10px 16px;
  letter-spacing: .04em;
  font-weight: 600;
  overflow: hidden;
}
.announce-track {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  flex-wrap: wrap;
  text-transform: uppercase;
}
.announce-track > span { white-space: nowrap; }
.announce-pill {
  background: #fff; color: var(--mango-deep);
  padding: 3px 10px; border-radius: 999px;
  font-weight: 800; font-size: .76rem;
  letter-spacing: .08em;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
  animation: pop 1.6s ease-in-out infinite;
}
.announce .dot-sep { opacity: .55; }
@keyframes pop {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.06); }
}
@media (max-width: 720px){
  .announce { font-size: .72rem; padding: 8px 12px; }
  .announce-track { gap: 8px; }
  .announce-track .dot-sep,
  .announce-track > span:nth-child(4),
  .announce-track > span:nth-child(5),
  .announce-track > span:nth-child(6) { display: none; }
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 252, 245, 0.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--ink);
}
.brand .crown {
  width: 38px; height: 38px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--saffron) 0%, var(--mango) 70%);
  display: grid; place-items: center;
  color: #fff; font-size: 18px;
  box-shadow: inset 0 -2px 6px rgba(0,0,0,.18);
}
.brand small {
  display: block; font: 500 .68rem/1.1 var(--sans);
  letter-spacing: .25em; color: var(--muted); text-transform: uppercase; margin-top: 2px;
}
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  font-size: .95rem; font-weight: 500; color: var(--ink-2);
  position: relative; padding: 6px 0;
}
.nav-links a:hover { color: var(--mango-deep); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--mango); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--cream-2); display: grid; place-items: center;
  position: relative; transition: background .2s;
}
.icon-btn:hover { background: var(--saffron); }
.icon-btn svg { width: 19px; height: 19px; stroke: var(--ink); }
.cart-count {
  position: absolute; top: -4px; right: -4px;
  background: var(--mango-deep); color: #fff;
  width: 19px; height: 19px; border-radius: 50%;
  font-size: .7rem; font-weight: 700;
  display: grid; place-items: center;
  border: 2px solid #fff;
}
.menu-toggle { display: none; }
.nav-mobile { display: none; }
@media (max-width: 980px){
  .nav-links { display: none; }
  .menu-toggle { display: grid; }
  .nav-mobile {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 14px 24px;
    box-shadow: 0 8px 24px rgba(74,46,15,.08);
  }
  .nav-mobile.open { display: block; }
  .nav-mobile a {
    display: block; padding: 12px 0; border-bottom: 1px solid var(--line);
    font-size: .95rem; font-weight: 500; color: var(--ink);
  }
  .nav-mobile a:last-child { border-bottom: none; }
  .brand small { display: none; }
  .nav { padding: 14px 0; }
}
@media (max-width: 480px){
  .brand { font-size: 1.25rem; }
  .brand .crown { width: 32px; height: 32px; font-size: 15px; }
  .icon-btn { width: 38px; height: 38px; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 70px 0 90px;
  background:
    radial-gradient(ellipse at top right, rgba(255,182,39,.20), transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(232,122,30,.15), transparent 55%),
    var(--bg);
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center;
}
@media (max-width: 980px){
  .hero { padding: 50px 0 70px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-text { text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
}
.hero h1 { margin: 16px 0 20px; max-width: 620px; }
.hero h1 em { font-style: italic; color: var(--mango-deep); }
.hero p.lead { max-width: 520px; margin-bottom: 30px; font-size: 1.08rem; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
  margin-top: 48px; display: flex; gap: 32px;
  border-top: 1px solid var(--line); padding-top: 24px; flex-wrap: wrap;
}
.hero-stat strong { display: block; font-family: var(--serif); font-size: 1.85rem; color: var(--mango-deep); line-height: 1.1; }
.hero-stat span { font-size: .76rem; color: var(--muted); letter-spacing: .12em; font-weight: 600; }
@media (max-width: 480px){
  .hero { padding: 30px 0 50px; }
  .hero h1 { font-size: 2rem; line-height: 1.2; }
  .hero p.lead { font-size: .98rem; }
  .hero-stats { gap: 18px; margin-top: 32px; padding-top: 20px; }
  .hero-stat strong { font-size: 1.5rem; }
  .hero-cta .btn { padding: 13px 22px; font-size: .9rem; }
  .hero-cta .btn-lg { padding: 14px 24px; font-size: .92rem; }
}

/* hero visual */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  aspect-ratio: 1 / 1.02;
  min-height: 380px;             /* fallback if aspect-ratio doesn't apply */
  border-radius: 50% 50% 50% 50% / 48% 48% 52% 52%;
  background: linear-gradient(135deg, var(--saffron), var(--mango));
  box-shadow: var(--shadow-2);
  overflow: visible;
}
@media (max-width: 480px){
  .hero-visual { max-width: 320px; }
  .hero-badge { width: 100px; height: 100px; padding: 14px; font-size: .8rem; }
  .hero-badge strong { font-size: 1rem; }
  .hero-pill { padding: 10px 16px; font-size: .8rem; left: -10px; bottom: 20px; }
}
.hero-visual::before {
  content: ""; position: absolute; inset: 18px;
  border: 1.5px dashed rgba(255,255,255,.55);
  border-radius: inherit;
  pointer-events: none;
}
.hero-visual img {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 96%; height: 96%; object-fit: cover;
  border-radius: inherit;
  filter: saturate(1.1) contrast(1.05);
}
.hero-badge {
  position: absolute; top: -10px; right: -10px;
  background: #fff; color: var(--ink);
  padding: 18px; border-radius: 50%;
  width: 130px; height: 130px;
  display: grid; place-items: center; text-align: center;
  font-family: var(--serif); font-size: .95rem; line-height: 1.15;
  box-shadow: var(--shadow-2);
  transform: rotate(-12deg);
}
.hero-badge strong { display: block; color: var(--mango-deep); font-size: 1.1rem; }
.hero-pill {
  position: absolute; bottom: 30px; left: -20px;
  background: #fff; padding: 14px 22px;
  border-radius: 999px; box-shadow: var(--shadow-1);
  display: flex; align-items: center; gap: 10px;
  font-size: .9rem; font-weight: 500;
  z-index: 3;
}
.hero-pill .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--leaf); }

/* ---------- hero offer (1+1 FREE) ---------- */
.hero-offer {
  display: flex; align-items: center; gap: 16px;
  background: linear-gradient(135deg, #FFFAF0, #FFF1D4);
  border: 1.5px dashed var(--mango);
  padding: 14px 18px;
  border-radius: 14px;
  margin-bottom: 28px;
  max-width: 500px;
  box-shadow: 0 4px 14px rgba(232,122,30,.10);
}
.hero-offer .offer-badge {
  background: linear-gradient(135deg, var(--mango-deep), #b73411);
  color: #fff;
  padding: 8px 14px;
  border-radius: 10px;
  font-family: var(--sans);
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: -.01em;
  white-space: nowrap;
  display: flex; flex-direction: column; align-items: center;
  line-height: 1;
  box-shadow: 0 4px 10px rgba(232,122,30,.35);
}
.hero-offer .offer-badge small {
  font-size: .58rem; letter-spacing: .15em; margin-top: 3px; font-weight: 700;
}
.hero-offer .offer-text strong {
  display: block; color: var(--ink); font-size: 1rem; font-weight: 700;
  font-family: var(--sans);
}
.hero-offer .offer-text span {
  display: block; color: var(--ink-2); font-size: .8rem; margin-top: 3px;
  line-height: 1.4;
}
@media (max-width: 480px){
  .hero-offer { padding: 12px 14px; gap: 12px; margin-left: auto; margin-right: auto; }
  .hero-offer .offer-badge { padding: 7px 11px; font-size: 1rem; }
  .hero-offer .offer-text strong { font-size: .92rem; }
  .hero-offer .offer-text span { font-size: .75rem; }
}

/* ---------- hero sticker (1+1 FREE on visual) ---------- */
.hero-sticker {
  position: absolute;
  top: 18px; left: -18px;
  width: 110px; height: 110px;
  background: radial-gradient(circle at 30% 30%, #ff5252, #b73411);
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  text-align: center;
  box-shadow: 0 14px 26px rgba(184,52,17,.45);
  transform: rotate(-12deg);
  z-index: 4;
  border: 3px dashed rgba(255,255,255,.55);
  animation: stickerPulse 2.6s ease-in-out infinite;
}
.hero-sticker .sticker-inner {
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  font-family: var(--sans);
}
.hero-sticker strong {
  font-size: 1.85rem; font-weight: 900; line-height: 1;
  letter-spacing: -.03em;
}
.hero-sticker small {
  font-size: .68rem; letter-spacing: .22em; font-weight: 800; margin-top: 1px;
}
.hero-sticker span {
  font-size: .55rem; letter-spacing: .08em; font-weight: 600;
  margin-top: 4px; opacity: .92; padding: 0 4px;
}
@keyframes stickerPulse {
  0%, 100% { transform: rotate(-12deg) scale(1); }
  50%      { transform: rotate(-9deg) scale(1.06); }
}
@media (max-width: 480px){
  .hero-sticker {
    width: 86px; height: 86px;
    top: 8px; left: -8px;
  }
  .hero-sticker strong { font-size: 1.4rem; }
  .hero-sticker small  { font-size: .58rem; }
  .hero-sticker span   { font-size: .48rem; }
}

/* ---------- trust strip ---------- */
.trust-strip {
  background: linear-gradient(90deg, #fff 0%, var(--cream) 50%, #fff 100%);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}
@media (max-width:780px){ .trust-grid { grid-template-columns: repeat(2,1fr); } }
.trust-item {
  display: flex; align-items: center; gap: 14px;
  padding: 4px 8px;
}
.trust-item .icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--cream-2); display: grid; place-items: center;
  color: var(--mango-deep);
  flex: 0 0 44px;
}
.trust-item strong { display: block; font-size: .92rem; color: var(--ink); }
.trust-item span { display: block; font-size: .78rem; color: var(--muted); }

/* ---------- section heads ---------- */
.section-head { text-align: center; max-width: 700px; margin: 0 auto 44px; }
.section-head .eyebrow { display: inline-block; margin-bottom: 12px; }
.section-head h2 { margin-bottom: 14px; }
@media (max-width: 480px){ .section-head { margin-bottom: 32px; } }

/* ---------- categories ---------- */
.cat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
@media (max-width:980px){ .cat-grid { grid-template-columns: repeat(2,1fr); gap: 14px; } }
@media (max-width:480px){ .cat-info h3 { font-size: 1.05rem; } .cat-info p { font-size: .78rem; } }
.cat-card {
  position: relative; aspect-ratio: 4/5; border-radius: var(--radius-lg);
  overflow: hidden; cursor: pointer;
  background: #ddd;
  transition: transform .35s ease;
}
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.cat-card:hover img { transform: scale(1.06); }
.cat-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(42,27,14,.78) 0%, rgba(42,27,14,.18) 50%, transparent 100%);
}
.cat-info {
  position: absolute; left: 22px; right: 22px; bottom: 22px;
  z-index: 2; color: #fff;
}
.cat-info h3 { color: #fff; margin-bottom: 4px; }
.cat-info p { font-size: .87rem; opacity: .9; }
.cat-arrow {
  position: absolute; top: 18px; right: 18px;
  background: rgba(255,255,255,.92); border-radius: 50%;
  width: 38px; height: 38px; display: grid; place-items: center;
  z-index: 2; transition: background .2s;
}
.cat-card:hover .cat-arrow { background: var(--saffron); }

/* ---------- product cards ---------- */
.products-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
@media (max-width: 1100px){ .products-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 800px) { .products-grid { grid-template-columns: repeat(2,1fr); gap: 14px;} }
@media (max-width: 480px) {
  .product-card .body { padding: 14px 14px 18px; }
  .product-card h4 { font-size: 1rem; }
  .product-card .price { font-size: 1.15rem; }
  .product-card .meta { font-size: .76rem; }
  .product-card .add-btn { padding: 10px; font-size: .82rem; }
  .product-card .badge { font-size: .62rem; padding: 5px 9px; }
}
.product-card {
  background: #fff; border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
  position: relative;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.product-card .img-wrap {
  position: relative; aspect-ratio: 1/1; background: var(--cream-2);
  overflow: hidden;
}
.product-card .img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .55s ease, opacity .25s;
}
.product-card:hover .img-wrap img { transform: scale(1.05); }
.product-card .img-wrap img.alt { position: absolute; inset: 0; opacity: 0; }
.product-card:hover .img-wrap img.alt { opacity: 1; }
.product-card .badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--ink); color: #fff;
  font-size: .68rem; font-weight: 700; letter-spacing: .12em;
  padding: 6px 11px; border-radius: 999px;
  text-transform: uppercase;
}
.product-card .badge.gold { background: linear-gradient(135deg, var(--gold), var(--saffron)); color: var(--ink); }
.product-card .badge.green { background: var(--leaf); }
.product-card .badge.rose { background: var(--rose); }
.product-card .wishlist {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; background: #fff;
  border-radius: 50%; display: grid; place-items: center;
  box-shadow: var(--shadow-1);
}
.product-card .body { padding: 18px 18px 22px; flex: 1; display: flex; flex-direction: column; }
.product-card .cat-tag {
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 6px;
}
.product-card h4 {
  font-family: var(--serif); font-size: 1.18rem; line-height: 1.25;
  margin-bottom: 6px; color: var(--ink);
}
.product-card .meta { font-size: .82rem; color: var(--muted); margin-bottom: 14px; }
.product-card .stars { color: var(--saffron); font-size: .85rem; margin-bottom: 10px; }
.product-card .stars span { color: var(--muted); margin-left: 6px; font-size: .8rem; }
.product-card .price-row {
  display: flex; align-items: baseline; gap: 10px; margin-top: auto; margin-bottom: 14px;
  flex-wrap: wrap;
}
.product-card .price {
  font-family: var(--sans); font-size: 1.25rem; color: var(--ink); font-weight: 800;
  letter-spacing: -.015em;
  font-feature-settings: "tnum" 1, "lnum" 1;
}
.product-card .mrp {
  color: var(--muted); text-decoration: line-through; font-size: .92rem;
  font-family: var(--sans); font-feature-settings: "tnum" 1, "lnum" 1;
}
.product-card .save { color: var(--leaf); font-size: .78rem; font-weight: 600; }
.product-card .add-btn {
  background: var(--ink); color: #fff;
  display: block; width: 100%; padding: 13px;
  border-radius: 999px; font-weight: 600; font-size: .9rem;
  text-align: center; text-decoration: none;
  transition: background .25s;
}
.product-card .add-btn:hover { background: var(--mango-deep); color: #fff; }

/* ---------- why choose us ---------- */
.why-section { background: var(--cream); }
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
@media (max-width: 900px){ .why-grid { grid-template-columns: 1fr; } }
.why-card {
  background: #fff; border-radius: var(--radius-lg);
  padding: 34px 28px; border: 1px solid var(--line);
  transition: transform .25s;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.why-card .icon-circle {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron), var(--mango));
  color: #fff; display: grid; place-items: center;
  margin-bottom: 22px;
  box-shadow: 0 8px 18px rgba(232,122,30,.25);
}
.why-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.why-card p { color: var(--ink-2); font-size: .96rem; }

/* ---------- the journey strip ---------- */
.journey-section {
  background:
    radial-gradient(ellipse at center, rgba(255,182,39,.12), transparent 55%),
    var(--bg);
}
.journey-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; counter-reset: step;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line);
}
@media (max-width: 900px){ .journey-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px){ .journey-grid { grid-template-columns: 1fr; } }
.journey-step {
  padding: 36px 28px;
  background: #fff;
  border-right: 1px solid var(--line);
  position: relative;
  counter-increment: step;
}
.journey-step:last-child { border-right: none; }
.journey-step::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--serif);
  font-size: 2.4rem; color: var(--mango); line-height: 1; margin-bottom: 18px;
}
.journey-step h3 { font-size: 1.18rem; margin-bottom: 6px; }
.journey-step p { color: var(--ink-2); font-size: .92rem; }

/* ---------- reviews ---------- */
.reviews-section { background: var(--ink); color: #fff; }
.reviews-section .eyebrow { color: var(--saffron); }
.reviews-section h2 { color: #fff; }
.reviews-section .lead { color: rgba(255,255,255,.78); }
.reviews-track {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
@media (max-width: 900px){ .reviews-track { grid-template-columns: 1fr; } }
.review-card {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  position: relative;
}
.review-card .quote {
  position: absolute; top: 18px; right: 22px;
  font-family: var(--serif); font-size: 4rem;
  color: var(--saffron); opacity: .25; line-height: 1;
}
.review-card .stars { color: var(--saffron); margin-bottom: 14px; font-size: .95rem; }
.review-card p { color: rgba(255,255,255,.85); font-style: italic; line-height: 1.65; margin-bottom: 22px; }
.review-card .who { display: flex; align-items: center; gap: 12px; }
.review-card .avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron), var(--mango));
  color: var(--ink); display: grid; place-items: center;
  font-family: var(--serif); font-weight: 700;
}
.review-card .who div { line-height: 1.25; }
.review-card .who strong { display: block; color: #fff; font-size: .95rem; }
.review-card .who span { font-size: .8rem; color: rgba(255,255,255,.55); }

/* ---------- features section ---------- */
.feature-section { background: var(--bg); }
.feature-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
@media (max-width: 980px){ .feature-split { grid-template-columns: 1fr; gap: 40px; } }
.feature-img {
  border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5;
  box-shadow: var(--shadow-2);
}
.feature-img img { width: 100%; height: 100%; object-fit: cover; }
.feature-list { list-style: none; margin-top: 30px; }
.feature-list li {
  display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list .check {
  flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--leaf); color: #fff; display: grid; place-items: center;
}
.feature-list h4 { font-family: var(--sans); font-size: 1.05rem; margin-bottom: 4px; font-weight: 600; }
.feature-list p { color: var(--ink-2); font-size: .92rem; }

/* ---------- newsletter ---------- */
.newsletter {
  background: linear-gradient(135deg, var(--mango) 0%, var(--mango-deep) 100%);
  color: #fff; text-align: center;
  padding: 70px 0;
  position: relative; overflow: hidden;
}
.newsletter::before, .newsletter::after {
  content: ""; position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.newsletter::before { width: 280px; height: 280px; top: -120px; left: -80px; }
.newsletter::after { width: 220px; height: 220px; bottom: -100px; right: -60px; }
.newsletter h2 { color: #fff; margin-bottom: 12px; position: relative; z-index: 2; }
.newsletter p { max-width: 520px; margin: 0 auto 28px; opacity: .92; position: relative; z-index: 2; }
.newsletter form {
  display: flex; max-width: 460px; margin: 0 auto;
  background: #fff; border-radius: 999px; padding: 6px;
  position: relative; z-index: 2;
}
.newsletter input {
  flex: 1; padding: 12px 20px; border: none; outline: none;
  background: transparent; font-size: .95rem; color: var(--ink);
}

/* ---------- footer ---------- */
.site-footer {
  background: #1A0F08; color: rgba(255,255,255,.7);
  padding: 70px 0 30px;
}
.foot-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 50px;
}
@media (max-width: 900px){ .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .foot-grid { grid-template-columns: 1fr; } }
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: rgba(255,255,255,.5); }
.site-footer p { font-size: .92rem; color: rgba(255,255,255,.6); margin-top: 14px; max-width: 320px; }
.foot-col h5 {
  color: #fff; font-family: var(--sans); font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase; font-size: .82rem;
  margin-bottom: 18px;
}
.foot-col a { display: block; padding: 6px 0; color: rgba(255,255,255,.65); font-size: .92rem; transition: color .2s; }
.foot-col a:hover { color: var(--saffron); }
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 22px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .82rem; color: rgba(255,255,255,.5);
  flex-wrap: wrap; gap: 14px;
}
.socials { display: flex; gap: 12px; }
.socials a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08); display: grid; place-items: center;
  color: rgba(255,255,255,.7); transition: background .2s, color .2s;
}
.socials a:hover { background: var(--saffron); color: var(--ink); }

/* ---------- breadcrumb ---------- */
.breadcrumb {
  padding: 24px 0; font-size: .85rem; color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.breadcrumb a:hover { color: var(--mango-deep); }
.breadcrumb span { color: var(--ink); }

/* ---------- shop / filter ---------- */
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; padding: 50px 0; }
@media (max-width: 900px){ .shop-layout { grid-template-columns: 1fr; } }
.shop-side h5 {
  font-family: var(--sans); font-size: .8rem; letter-spacing: .18em;
  text-transform: uppercase; margin-bottom: 14px; color: var(--muted);
}
.shop-side .filter-group { margin-bottom: 30px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.shop-side .filter-group:last-child { border-bottom: none; }
.filter-list { list-style: none; }
.filter-list li {
  display: flex; justify-content: space-between; padding: 7px 0;
  cursor: pointer; font-size: .94rem; color: var(--ink-2);
  transition: color .2s;
}
.filter-list li:hover { color: var(--mango-deep); }
.filter-list li.active { color: var(--mango-deep); font-weight: 600; }
.filter-list li .count { color: var(--muted); font-size: .82rem; }
.shop-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 26px; flex-wrap: wrap; gap: 12px;
}
.shop-toolbar .count { color: var(--muted); font-size: .9rem; }
.shop-toolbar select {
  padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; font-size: .88rem; cursor: pointer;
}

/* ---------- toast ---------- */
.toast {
  position: fixed; bottom: 30px; right: 30px;
  background: var(--ink); color: #fff;
  padding: 14px 22px; border-radius: 12px;
  box-shadow: var(--shadow-2);
  display: flex; align-items: center; gap: 12px;
  font-size: .92rem;
  transform: translateY(160%); opacity: 0;
  transition: all .35s cubic-bezier(.5,1.4,.5,1);
  z-index: 999;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast .check {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--leaf); display: grid; place-items: center;
}

/* ---------- product detail page ---------- */
.product-page { padding: 36px 0 70px; }
.pd-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px;
}
@media (max-width: 980px){ .pd-grid { grid-template-columns: 1fr; gap: 32px; } .product-page { padding: 24px 0 60px; } }
@media (max-width: 480px){ .pd-info h1 { font-size: 1.5rem; } .pd-price-row .price { font-size: 1.85rem; } .pd-cta .btn { min-width: 100%; } }
.pd-gallery {
  display: grid; grid-template-columns: 90px 1fr; gap: 16px;
}
@media (max-width: 600px){ .pd-gallery { grid-template-columns: 1fr; } }
.pd-thumbs { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 600px){ .pd-thumbs { flex-direction: row; overflow-x: auto; } }
.pd-thumb {
  width: 90px; height: 90px; border-radius: 12px;
  overflow: hidden; cursor: pointer; flex-shrink: 0;
  border: 2px solid transparent; transition: border .2s;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb.active { border-color: var(--mango-deep); }
.pd-main {
  border-radius: var(--radius-lg);
  overflow: hidden; aspect-ratio: 1/1;
  background: var(--cream-2);
  position: relative;
  box-shadow: var(--shadow-1);
}
.pd-main img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.pd-main:hover img { transform: scale(1.04); }
.pd-zoom {
  position: absolute; top: 18px; right: 18px;
  background: rgba(255,255,255,.95); border-radius: 50%;
  width: 38px; height: 38px; display: grid; place-items: center;
  font-size: .85rem; color: var(--ink);
}
.pd-info .cat-tag {
  font-size: .75rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--mango-deep); font-weight: 600; margin-bottom: 8px;
}
.pd-info h1 {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  margin-bottom: 14px;
}
.pd-rating {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 22px;
}
.pd-rating .stars { color: var(--saffron); font-size: 1.05rem; }
.pd-rating .reviews { color: var(--muted); font-size: .85rem; }
.pd-rating .badge-gi {
  margin-left: auto;
  background: var(--leaf); color: #fff;
  padding: 5px 11px; border-radius: 999px;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
}
.pd-price-row {
  display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px;
}
.pd-price-row .price {
  font-family: var(--sans); font-size: 2.3rem; color: var(--mango-deep); font-weight: 800;
  letter-spacing: -.02em;
  font-feature-settings: "tnum" 1, "lnum" 1;
}
.pd-price-row .mrp {
  color: var(--muted); text-decoration: line-through; font-size: 1.1rem;
  font-family: var(--sans); font-feature-settings: "tnum" 1, "lnum" 1;
}
.pd-price-row .save {
  background: var(--leaf); color: #fff; font-weight: 600;
  padding: 4px 10px; border-radius: 6px; font-size: .8rem;
}
.pd-short { color: var(--ink-2); margin-bottom: 26px; font-size: 1rem; }
.pd-attrs {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  background: var(--cream); border-radius: var(--radius);
  padding: 18px; margin-bottom: 26px;
}
@media (max-width: 480px){ .pd-attrs { grid-template-columns: repeat(2,1fr); } }
.pd-attrs div { font-size: .82rem; }
.pd-attrs strong { display: block; color: var(--ink); margin-bottom: 2px; font-weight: 600; }
.pd-attrs span { color: var(--muted); }

.flavour-bars { margin-bottom: 26px; }
.flavour-bars h5 {
  font-family: var(--sans); font-size: .82rem; letter-spacing: .15em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 12px;
}
.flavour-row {
  display: flex; align-items: center; gap: 12px; margin-bottom: 10px;
}
.flavour-row label { width: 90px; font-size: .9rem; }
.flavour-row .bar { flex: 1; height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; }
.flavour-row .fill {
  height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--saffron), var(--mango));
}

.qty-row { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.qty {
  display: flex; align-items: center; border: 1px solid var(--line);
  border-radius: 999px; overflow: hidden;
}
.qty button {
  width: 44px; height: 44px; font-size: 1.2rem; color: var(--ink);
  transition: background .2s;
}
.qty button:hover { background: var(--cream); }
.qty input {
  width: 44px; text-align: center; border: none; outline: none;
  background: transparent; font-weight: 600; font-size: 1rem;
}

.pd-cta { display: flex; gap: 14px; margin-bottom: 28px; flex-wrap: wrap; }
.pd-cta .btn { flex: 1; min-width: 200px; }

.pd-promise {
  background: var(--cream); border-radius: var(--radius);
  padding: 18px; margin-bottom: 26px;
}
.pd-promise-row {
  display: flex; align-items: center; gap: 12px; padding: 8px 0;
  font-size: .9rem; color: var(--ink-2);
}
.pd-promise-row .ico {
  width: 30px; height: 30px; border-radius: 50%;
  background: #fff; display: grid; place-items: center;
  color: var(--mango-deep); flex: 0 0 30px;
}

.pd-tabs { margin-top: 50px; }
@media (max-width: 600px){ .pd-tabs { margin-top: 36px; } .pd-tab-headers { gap: 18px; } .pd-tab-headers button { font-size: .88rem; padding: 12px 2px; } }
.pd-tab-headers {
  display: flex; gap: 30px; border-bottom: 1px solid var(--line);
  overflow-x: auto;
}
.pd-tab-headers button {
  padding: 14px 4px; font-weight: 600; color: var(--muted);
  border-bottom: 2px solid transparent;
  white-space: nowrap; font-size: .95rem;
  transition: all .2s;
}
.pd-tab-headers button.active { color: var(--ink); border-bottom-color: var(--mango-deep); }
.pd-tab-content { padding: 30px 0; max-width: 880px; }
.pd-tab-content h4 { margin: 14px 0 8px; font-family: var(--sans); font-size: 1rem; font-weight: 600; }
.pd-tab-content p { margin-bottom: 12px; color: var(--ink-2); }
.pd-tab-content ul { padding-left: 20px; margin-bottom: 16px; }
.pd-tab-content li { margin-bottom: 6px; color: var(--ink-2); }

/* sticky buy bar (mobile-friendly) */
.sticky-buy {
  position: sticky; bottom: 0; z-index: 30;
  background: #fff; border-top: 1px solid var(--line);
  padding: 12px 0; display: none;
  box-shadow: 0 -8px 24px rgba(74,46,15,.08);
}
.sticky-buy .container {
  display: flex; align-items: center; gap: 14px; justify-content: space-between;
}
.sticky-buy .price-mini {
  font-family: var(--sans); font-size: 1.3rem; color: var(--mango-deep); font-weight: 800;
  letter-spacing: -.015em;
  font-feature-settings: "tnum" 1, "lnum" 1;
}
@media (max-width: 700px){ .sticky-buy { display: block; } }

/* ---------- cart page ---------- */
.cart-page { padding: 50px 0 80px; }
.cart-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
@media (max-width: 900px){ .cart-grid { grid-template-columns: 1fr; } }
.cart-list {
  background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line);
  overflow: hidden;
}
.cart-row {
  display: grid; grid-template-columns: 100px 1fr auto;
  gap: 18px; padding: 22px;
  border-bottom: 1px solid var(--line); align-items: center;
}
.cart-row:last-child { border-bottom: none; }
.cart-row img {
  width: 100px; height: 100px; border-radius: 12px; object-fit: cover;
}
.cart-row h4 { font-family: var(--serif); font-size: 1.1rem; }
.cart-row .meta { font-size: .82rem; color: var(--muted); margin-bottom: 8px; }
.cart-row .price {
  font-family: var(--sans); font-size: 1.15rem; color: var(--mango-deep); font-weight: 800;
  letter-spacing: -.015em;
  font-feature-settings: "tnum" 1, "lnum" 1;
}
.cart-row .remove { color: var(--muted); font-size: .85rem; margin-top: 8px; }
.cart-row .remove:hover { color: var(--rose); }
.cart-row .qty button { width: 36px; height: 36px; }
.cart-row .qty input { width: 36px; }
.cart-row .right {
  display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
}
@media (max-width: 600px){
  .cart-row { grid-template-columns: 80px 1fr; }
  .cart-row img { width: 80px; height: 80px; }
  .cart-row .right { grid-column: 2 / 3; align-items: flex-start; }
}
.summary {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; position: sticky; top: 100px; height: fit-content;
}
.summary h3 { margin-bottom: 22px; font-family: var(--serif); }
.summary .row {
  display: flex; justify-content: space-between; padding: 10px 0; font-size: .95rem;
  font-variant-numeric: tabular-nums;
}
.summary .total { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 18px; font-size: 1.2rem; font-weight: 600; }
.summary .total strong {
  color: var(--mango-deep); font-family: var(--sans); font-size: 1.55rem; font-weight: 800;
  letter-spacing: -.015em;
  font-feature-settings: "tnum" 1, "lnum" 1;
}
.summary .promo { display: flex; gap: 8px; margin: 18px 0; }
.summary .promo input {
  flex: 1; padding: 11px 14px; border: 1px solid var(--line);
  border-radius: 999px; outline: none; font-size: .9rem;
}
.summary .promo button { padding: 11px 18px; }
.summary .badge-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.summary .badge-row span {
  background: var(--cream); color: var(--ink);
  padding: 6px 11px; border-radius: 999px; font-size: .75rem;
  display: flex; align-items: center; gap: 6px;
}

.empty-cart {
  text-align: center; padding: 80px 24px;
  background: var(--cream); border-radius: var(--radius-lg);
}
.empty-cart svg { width: 64px; height: 64px; margin-bottom: 18px; color: var(--muted); }
.empty-cart h3 { margin-bottom: 8px; }
.empty-cart p { color: var(--muted); margin-bottom: 22px; }

/* ---------- forms ---------- */
.field { margin-bottom: 18px; }
.field label {
  display: block; font-size: .82rem; letter-spacing: .04em;
  color: var(--ink); font-weight: 600; margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 16px;
  border: 1px solid var(--line); border-radius: 12px;
  background: #fff; font-size: .95rem; color: var(--ink);
  outline: none; transition: border .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--mango-deep); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px){ .field-row { grid-template-columns: 1fr; } }

.checkout-page { padding: 50px 0 80px; }
.checkout-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
@media (max-width: 900px){ .checkout-grid { grid-template-columns: 1fr; } }
.checkout-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px;
  margin-bottom: 22px;
}
.checkout-card h3 { font-family: var(--serif); margin-bottom: 18px; }
.step-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--cream-2); color: var(--mango-deep);
  padding: 5px 11px; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 14px;
}

/* ---------- payment page ---------- */
.payment-page {
  min-height: 100vh; padding: 0;
  background: var(--bg);
}
.pay-header {
  background: #fff; border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.pay-header .container {
  display: flex; align-items: center; justify-content: space-between;
}
.pay-back { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 500; }
.pay-back svg { width: 20px; height: 20px; }
.pay-amount {
  text-align: right; font-family: var(--sans);
  font-size: 1.35rem; font-weight: 800; color: var(--mango-deep);
  letter-spacing: -.015em;
  font-feature-settings: "tnum" 1, "lnum" 1;
}
.pay-amount span { display: block; font-family: var(--sans); font-size: .7rem; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-bottom: 2px; }

.pay-shell {
  max-width: 540px; margin: 30px auto; padding: 0 16px;
}
.pay-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-1);
}
.pay-progress {
  background: linear-gradient(90deg, var(--mango), var(--saffron));
  height: 4px;
}
.pay-banner {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 24px; background: var(--cream);
  border-bottom: 1px solid var(--line);
  font-size: .92rem;
}
.pay-banner .timer {
  margin-left: auto;
  font-weight: 700; color: var(--mango-deep);
  font-family: ui-monospace, "SFMono-Regular", monospace;
}
.pay-tabs {
  display: flex; gap: 0; border-bottom: 1px solid var(--line);
  overflow-x: auto; padding: 4px 6px 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.pay-tab {
  flex: 1; min-width: 78px; padding: 14px 6px 12px;
  text-align: center; font-size: .76rem; font-weight: 600;
  color: var(--muted); border-bottom: 2px solid transparent;
  cursor: pointer; transition: all .2s; white-space: nowrap;
}
.pay-tab .label { display: block; margin-top: 8px; letter-spacing: .02em; }
.pay-tab.active { color: var(--mango-deep); border-bottom-color: var(--mango-deep); }
.brand-tile {
  width: 44px; height: 44px; border-radius: 10px;
  margin: 0 auto; overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
  display: grid; place-items: center;
  background: #fff;
  transition: transform .2s, box-shadow .2s;
}
.brand-tile svg,
.brand-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pay-tab.active .brand-tile { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0,0,0,.15); }

.pay-body { padding: 26px 22px 28px; }
.pay-method-card {
  text-align: center; padding: 8px 0;
}
.pay-method-card h3 { font-family: var(--serif); font-size: 1.4rem; margin-bottom: 8px; color: var(--ink); }
.pay-method-card p { color: var(--muted); font-size: .92rem; margin-bottom: 22px; max-width: 360px; margin-left:auto; margin-right:auto; }

.brand-hero {
  width: 92px; height: 92px;
  border-radius: 22px;
  margin: 0 auto 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 28px rgba(0,0,0,.16);
}
.brand-hero svg,
.brand-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 480px){
  .pay-tab { min-width: 70px; padding: 12px 4px 10px; font-size: .72rem; }
  .brand-tile { width: 38px; height: 38px; border-radius: 9px; }
  .brand-hero { width: 80px; height: 80px; }
  .pay-body { padding: 20px 16px 22px; }
  .pay-method-card h3 { font-size: 1.2rem; }
}

.qr-wrap {
  text-align: center;
  padding: 12px;
}
.qr-wrap canvas, .qr-wrap img {
  width: 220px; height: 220px; margin: 0 auto;
  border: 12px solid #fff; border-radius: 16px;
  box-shadow: var(--shadow-1);
}
.qr-amount {
  margin-top: 18px;
  font-family: var(--sans); font-size: 1.4rem; color: var(--ink); font-weight: 800;
  letter-spacing: -.015em;
  font-feature-settings: "tnum" 1, "lnum" 1;
}
.qr-vpa {
  margin-top: 4px; color: var(--muted); font-size: .85rem;
}

.collect-form .field input { padding: 14px 16px; border-radius: 12px; }
.vpa-status { font-size: .9rem; margin-top: 8px; }
.vpa-status.ok { color: var(--leaf); }
.vpa-status.err { color: var(--rose); }

/* polling popup */
.poll-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.55);
  display: none; align-items: center; justify-content: center;
  z-index: 200; padding: 16px;
}
.poll-overlay.show { display: flex; }
.poll-card {
  background: #fff; border-radius: 22px; padding: 36px 32px;
  max-width: 440px; width: 100%; text-align: center;
  box-shadow: var(--shadow-2);
}
.poll-spin {
  width: 70px; height: 70px; margin: 0 auto 20px;
  border-radius: 50%;
  border: 3px solid var(--cream-2);
  border-top-color: var(--mango);
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.poll-card h3 { font-family: var(--serif); margin-bottom: 6px; }
.poll-card .order { font-family: monospace; color: var(--mango-deep); margin-bottom: 14px; font-size: .9rem; }
.poll-msg {
  background: var(--cream); padding: 12px; border-radius: 10px;
  font-size: .9rem; color: var(--ink-2); margin-bottom: 18px;
}
.poll-steps {
  display: flex; justify-content: space-between; margin: 18px 0;
}
.poll-step {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: .72rem; color: var(--muted); flex: 1;
}
.poll-step .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--line); transition: all .3s; }
.poll-step.active .dot { background: var(--mango); transform: scale(1.2); }
.poll-step.done .dot { background: var(--leaf); }
.poll-bar {
  width: 100%; height: 6px; background: var(--line); border-radius: 999px;
  overflow: hidden; margin: 14px 0 18px;
}
.poll-bar div { height: 100%; background: var(--mango); transition: width 1s linear; }
.poll-time { display: flex; justify-content: space-between; font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.poll-time strong { font-family: monospace; color: var(--mango-deep); }
.poll-actions { display: flex; gap: 10px; }
.poll-actions button { flex: 1; padding: 11px; border-radius: 10px; font-weight: 600; font-size: .9rem; }
.poll-refresh { background: var(--mango); color: #fff; }
.poll-refresh:disabled { background: var(--line); color: var(--muted); cursor: not-allowed; }
.poll-cancel { border: 1px solid var(--line); background: #fff; color: var(--ink-2); }

/* status pages */
.status-page {
  min-height: 70vh; display: grid; place-items: center;
  padding: 60px 16px;
}
.status-card {
  background: #fff; border-radius: var(--radius-lg);
  padding: 50px 40px; max-width: 480px; width: 100%;
  text-align: center; box-shadow: var(--shadow-2);
  border: 1px solid var(--line);
}
.status-icon {
  width: 96px; height: 96px; border-radius: 50%;
  margin: 0 auto 22px; display: grid; place-items: center;
}
.status-icon.success { background: rgba(90,130,51,.15); color: var(--leaf); }
.status-icon.fail    { background: rgba(184,58,58,.15); color: var(--rose); }
.status-card h1 { font-family: var(--serif); font-size: 2rem; margin-bottom: 8px; }
.status-card p { color: var(--ink-2); margin-bottom: 22px; }
.status-detail {
  background: var(--cream); border-radius: 12px;
  padding: 18px; text-align: left; margin-bottom: 26px;
}
.status-detail .row { display: flex; justify-content: space-between; padding: 6px 0; font-size: .9rem; }
.status-detail .row span { color: var(--muted); }
.status-detail .row strong { color: var(--ink); font-weight: 600; }

/* misc */
.divider {
  text-align: center; margin: 24px 0; color: var(--muted); font-size: .82rem;
  display: flex; align-items: center; gap: 14px;
}
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.fade-up { opacity: 0; transform: translateY(24px); transition: all .65s ease; }
.fade-up.in { opacity: 1; transform: translateY(0); }

/* mango glyph (decorative) */
.mango-glyph {
  position: absolute; opacity: .12; pointer-events: none;
  font-size: 28rem; color: var(--mango); line-height: 1;
  font-family: var(--serif);
}

/* ============================================================
   VARIANT SELECTOR (product detail page)
   ============================================================ */
.variant-section {
  margin-bottom: 26px;
  background: var(--cream);
  padding: 18px;
  border-radius: var(--radius);
}
.variant-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 14px; flex-wrap: wrap; gap: 8px;
}
.variant-head h5 {
  font-family: var(--sans); font-size: .82rem; letter-spacing: .15em;
  text-transform: uppercase; color: var(--ink); margin: 0;
}
.variant-meta { font-size: .85rem; color: var(--muted); }
.variant-meta strong { color: var(--ink); font-weight: 600; }
.variant-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(115px, 1fr)); gap: 10px;
}
.variant-chip {
  background: #fff; border: 1.5px solid var(--line);
  border-radius: 12px; padding: 12px 10px;
  text-align: center; cursor: pointer;
  display: flex; flex-direction: column; gap: 3px;
  transition: all .2s; position: relative;
}
.variant-chip:hover { border-color: var(--mango); transform: translateY(-2px); }
.variant-chip.active {
  border-color: var(--mango-deep); background: #fff;
  box-shadow: 0 6px 14px rgba(232,122,30,.22);
}
.variant-chip.active::after {
  content: "✓"; position: absolute; top: 5px; right: 8px;
  color: var(--mango-deep); font-weight: 700; font-size: .85rem;
}
.variant-chip .v-label {
  font-weight: 700; color: var(--ink); font-size: 1rem;
  font-family: var(--sans); letter-spacing: -.005em;
  font-feature-settings: "tnum" 1, "lnum" 1;
}
.variant-chip .v-count { font-size: .76rem; color: var(--muted); letter-spacing: .01em; }
.variant-chip .v-price {
  font-weight: 700; color: var(--mango-deep); font-size: 1.05rem; margin-top: 4px;
  font-family: var(--sans);
  font-feature-settings: "tnum" 1, "lnum" 1;
  letter-spacing: -.01em;
}
.variant-chip .v-save {
  font-size: .65rem; color: var(--leaf); font-weight: 600;
  background: rgba(90,130,51,.1); padding: 2px 5px; border-radius: 4px; margin-top: 2px;
}
@media (max-width: 480px){
  .variant-grid { grid-template-columns: repeat(auto-fit, minmax(95px, 1fr)); gap: 8px; }
  .variant-chip { padding: 10px 6px; }
  .variant-chip .v-label { font-size: .9rem; }
  .variant-chip .v-price { font-size: .9rem; }
}

/* size chips on product cards */
.product-card .size-chips {
  display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 10px;
}
.product-card .size-chips span {
  font-size: .68rem; padding: 3px 7px;
  background: var(--cream-2); color: var(--ink-2);
  border-radius: 4px; font-weight: 600; letter-spacing: .02em;
}
.product-card .from-label {
  font-size: .7rem; color: var(--muted); font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; align-self: center;
}

/* variant pill on cart */
.cart-row .meta .variant-pill {
  display: inline-block;
  background: var(--cream-2); color: var(--mango-deep);
  padding: 2px 8px; border-radius: 4px;
  font-size: .72rem; font-weight: 700; margin-right: 6px;
  letter-spacing: .04em;
}

/* offer strip on cart */
.offer-strip {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border-radius: 12px;
  margin-top: 18px;
}
.offer-strip.pending {
  background: linear-gradient(135deg, #FFF5DD, #FCEFD0);
  border: 1.5px dashed var(--mango);
}
.offer-strip.applied {
  background: linear-gradient(135deg, rgba(90,130,51,.12), rgba(90,130,51,.06));
  border: 1.5px solid var(--leaf);
}
.offer-strip-icon {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.3rem; flex-shrink: 0;
  background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.08);
}
.offer-strip.applied .offer-strip-icon { background: var(--leaf); color: #fff; font-weight: 800; }
.offer-strip strong {
  display: block; color: var(--ink); font-size: .98rem; font-weight: 700; margin-bottom: 2px;
}
.offer-strip.applied strong { color: var(--leaf); }
.offer-strip span { display: block; color: var(--ink-2); font-size: .82rem; line-height: 1.45; }
.offer-strip em { font-style: normal; font-weight: 600; color: var(--mango-deep); }
