/* ============================================================
   Shree Purveda — storefront design system
   ============================================================ */
:root{
  --cream:#FDF7ED; --cream-2:#F6EBD9; --sand:#EFE0C8;
  --maroon:#5A1A1C; --maroon-dp:#3F1112;
  --saffron:#C9741B; --amber:#E0A03C; --gold:#B4894B; --gold-lt:#D9BC85;
  --ink:#2B211B; --ink-soft:#5E4F44; --muted:#8A7768;
  --line:rgba(90,26,28,.14); --line-soft:rgba(90,26,28,.08);
  --white:#fff; --green:#3E7A3F; --red:#B3261E;

  --shadow-sm:0 1px 2px rgba(63,17,18,.06), 0 2px 8px rgba(63,17,18,.05);
  --shadow-md:0 4px 12px rgba(63,17,18,.07), 0 12px 32px rgba(63,17,18,.08);
  --shadow-lg:0 12px 28px rgba(63,17,18,.10), 0 32px 64px rgba(63,17,18,.12);

  --r-sm:8px; --r-md:14px; --r-lg:22px; --r-xl:32px;
  --maxw:1240px; --ease:cubic-bezier(.22,.7,.28,1);

  /* Two roles, one system. Every font-family in the project points here,
     so the storefront and the admin panel can never drift apart.
     Fallbacks are metric-neighbours to keep the swap from shifting layout. */
  --font-display:'Marcellus', Georgia, 'Times New Roman', serif;
  --font-body:'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body{
  margin:0; background:var(--cream); color:var(--ink);
  font-family:var(--font-body);
  font-size:16px; line-height:1.65; -webkit-font-smoothing:antialiased; overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font:inherit; color:inherit; background:none; border:0; cursor:pointer; }
h1,h2,h3,h4{ font-family:var(--font-display); font-weight:400; line-height:1.14; margin:0; letter-spacing:-.01em; }
p{ margin:0; }
:focus-visible{ outline:2px solid var(--saffron); outline-offset:3px; border-radius:4px; }
[hidden]{ display:none !important; }

.wrap{ width:100%; max-width:var(--maxw); margin-inline:auto; padding-inline:28px; }
@media (max-width:640px){ .wrap{ padding-inline:18px; } }
.pad{ padding-block:clamp(56px,7vw,104px); }
section{ scroll-margin-top:130px; }

.eyebrow{
  display:inline-flex; align-items:center; gap:9px;
  font-size:11px; font-weight:600; letter-spacing:.20em; text-transform:uppercase; color:var(--saffron);
}
.eyebrow::before{ content:""; width:26px; height:1px; background:currentColor; opacity:.55; }
.eyebrow.center::after{ content:""; width:26px; height:1px; background:currentColor; opacity:.55; }
.sec-head{ max-width:660px; }
.sec-head.center{ margin-inline:auto; text-align:center; }
.sec-title{ font-size:clamp(29px,4vw,46px); margin-top:16px; }
.sec-sub{ color:var(--ink-soft); margin-top:16px; font-size:17px; }

/* ---------------- buttons ---------------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:15px 30px; border-radius:100px; font-size:14px; font-weight:600; letter-spacing:.02em;
  transition:transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease), opacity .2s;
  white-space:nowrap; text-align:center;
}
.btn svg{ width:16px; height:16px; transition:transform .3s var(--ease); }
.btn:hover svg{ transform:translateX(4px); }
.btn[disabled]{ opacity:.55; pointer-events:none; }
.btn-primary{ background:var(--maroon); color:var(--cream); box-shadow:var(--shadow-sm); }
.btn-primary:hover{ background:var(--maroon-dp); transform:translateY(-2px); box-shadow:var(--shadow-md); }
.btn-gold{ background:linear-gradient(135deg,var(--amber),var(--saffron)); color:#fff; box-shadow:0 6px 18px rgba(201,116,27,.28); }
.btn-gold:hover{ transform:translateY(-2px); box-shadow:0 10px 26px rgba(201,116,27,.36); }
.btn-ghost{ border:1px solid var(--line); color:var(--maroon); background:rgba(255,255,255,.55); }
.btn-ghost:hover{ background:var(--white); border-color:var(--gold); transform:translateY(-2px); }
.btn-sm{ padding:11px 22px; font-size:13px; }
.btn-block{ width:100%; }

/* ---------------- reveal ---------------- */
.rv{ opacity:0; transform:translateY(24px); transition:opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce){
  .rv{ opacity:1; transform:none; transition:none; }
  html{ scroll-behavior:auto; }
}

/* ---------------- announce + header ---------------- */
.announce{
  background:linear-gradient(90deg,var(--maroon-dp),var(--maroon) 45%,#7A2426 100%);
  color:var(--gold-lt); font-size:12.5px; letter-spacing:.06em;
  height:38px; display:flex; align-items:center; overflow:hidden;
}
.marquee{ display:flex; gap:56px; white-space:nowrap; animation:slide 34s linear infinite; }
.marquee span{ display:inline-flex; align-items:center; gap:10px; }
.marquee i{ font-style:normal; color:var(--amber); }
@keyframes slide{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }
@media (prefers-reduced-motion:reduce){ .marquee{ animation:none; } }

.hdr{
  position:sticky; top:0; z-index:100; background:rgba(253,247,237,.88);
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid transparent;
  transition:border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.hdr.stuck{ border-bottom-color:var(--line-soft); box-shadow:0 4px 22px rgba(63,17,18,.06); }
.nav{ display:flex; align-items:center; gap:30px; height:74px; }
.logo{ display:flex; align-items:center; gap:11px; flex-shrink:0; }
.logo-mk{
  width:40px; height:40px; border-radius:50%;
  background:linear-gradient(140deg,var(--amber),var(--saffron) 55%,var(--maroon));
  display:grid; place-items:center; color:#fff; box-shadow:0 3px 10px rgba(201,116,27,.32);
}
.logo-mk svg{ width:22px; height:22px; }
.logo-tx{ line-height:1.05; }
.logo-tx b{ font-family:var(--font-display); font-weight:400; font-size:20px; letter-spacing:.03em; color:var(--maroon); display:block; }
.logo-tx small{ font-size:10px; letter-spacing:.24em; text-transform:uppercase; color:var(--muted); }

.menu{ display:flex; align-items:center; gap:28px; margin-inline:auto; }
.menu a{ position:relative; font-size:14.5px; font-weight:500; color:var(--ink-soft); padding-block:6px; transition:color .25s var(--ease); }
.menu a::after{ content:""; position:absolute; left:0; bottom:0; height:1.5px; width:0; background:var(--saffron); transition:width .3s var(--ease); }
.menu a:hover, .menu a.active{ color:var(--maroon); }
.menu a:hover::after, .menu a.active::after{ width:100%; }

.acts{ display:flex; align-items:center; gap:6px; flex-shrink:0; }
.icon-btn{ width:42px; height:42px; border-radius:50%; display:grid; place-items:center; color:var(--maroon); transition:background .25s var(--ease), transform .25s var(--ease); position:relative; }
.icon-btn:hover{ background:var(--cream-2); transform:translateY(-1px); }
.icon-btn svg{ width:19px; height:19px; }
.bag-count{
  position:absolute; top:4px; right:3px; min-width:18px; height:18px; padding:0 4px; border-radius:9px;
  background:var(--saffron); color:#fff; font-size:10px; font-weight:700;
  display:grid; place-items:center; border:2px solid var(--cream);
}
.burger{ display:none; }
@media (max-width:1040px){ .menu{ display:none; } .burger{ display:grid; } }

/* ---------------- drawers (menu + cart) ---------------- */
.drawer{ position:fixed; inset:0; z-index:200; visibility:hidden; }
.drawer.open{ visibility:visible; }
.drawer-bg{ position:absolute; inset:0; background:rgba(43,33,27,.45); opacity:0; transition:opacity .35s var(--ease); }
.drawer.open .drawer-bg{ opacity:1; }
.drawer-panel{
  position:absolute; top:0; right:0; height:100%; width:min(400px,90vw);
  background:var(--cream); transform:translateX(100%); transition:transform .4s var(--ease);
  display:flex; flex-direction:column; box-shadow:var(--shadow-lg);
}
.drawer.open .drawer-panel{ transform:none; }
.drawer-head{ display:flex; align-items:center; justify-content:space-between; padding:20px 24px; border-bottom:1px solid var(--line-soft); flex-shrink:0; }
.drawer-head h3{ font-size:20px; color:var(--maroon); }
.drawer-body{ flex:1; overflow-y:auto; padding:20px 24px; }
.drawer-foot{ border-top:1px solid var(--line-soft); padding:20px 24px; flex-shrink:0; background:var(--cream-2); }
#menuDrawer .drawer-panel{ padding:22px 26px; }
#menuDrawer a{ font-family:var(--font-display); font-size:21px; color:var(--maroon); padding:14px 0; border-bottom:1px solid var(--line-soft); }

/* cart lines */
.cart-line{ display:grid; grid-template-columns:64px 1fr auto; gap:14px; padding:14px 0; border-bottom:1px solid var(--line-soft); align-items:center; }
.cart-thumb{ width:64px; height:64px; border-radius:12px; background:var(--sand); display:grid; place-items:center; overflow:hidden; }
.cart-thumb img{ width:100%; height:100%; object-fit:cover; }
.cart-thumb svg{ width:60%; height:60%; }
.cart-line h4{ font-size:14.5px; color:var(--maroon-dp); font-family:var(--font-body); font-weight:600; }
.cart-line small{ font-size:12px; color:var(--muted); display:block; }
.qty{ display:inline-flex; align-items:center; gap:2px; border:1px solid var(--line); border-radius:100px; margin-top:6px; }
.qty button{ width:26px; height:26px; display:grid; place-items:center; color:var(--maroon); border-radius:50%; }
.qty button:hover{ background:var(--cream-2); }
.qty span{ min-width:22px; text-align:center; font-size:13px; font-weight:600; }
.cart-price{ font-family:var(--font-display); font-size:16px; color:var(--maroon); white-space:nowrap; }
.link-x{ font-size:11.5px; color:var(--muted); text-decoration:underline; margin-top:5px; display:inline-block; }
.link-x:hover{ color:var(--red); }
.cart-empty{ text-align:center; padding:50px 0; color:var(--muted); }
.cart-empty svg{ width:46px; height:46px; margin:0 auto 16px; color:var(--gold-lt); }
.sum-row{ display:flex; justify-content:space-between; font-size:14px; color:var(--ink-soft); margin-bottom:8px; }
.sum-row.total{ font-family:var(--font-display); font-size:20px; color:var(--maroon); border-top:1px solid var(--line); padding-top:12px; margin-top:12px; }
.ship-hint{ font-size:12px; color:var(--green); margin-bottom:12px; }

/* ---------------- whatsapp fab ---------------- */
.fab{
  position:fixed; right:22px; bottom:22px; z-index:150;
  width:56px; height:56px; border-radius:50%;
  background:#25D366; color:#fff; display:grid; place-items:center;
  box-shadow:0 6px 20px rgba(37,211,102,.42);
  transition:transform .3s var(--ease), box-shadow .3s var(--ease);
}
.fab:hover{ transform:scale(1.08) translateY(-2px); box-shadow:0 10px 28px rgba(37,211,102,.5); }
.fab svg{ width:30px; height:30px; }
.fab::after{
  content:""; position:absolute; inset:0; border-radius:50%;
  border:2px solid #25D366; animation:pulse 2.4s ease-out infinite;
}
@keyframes pulse{ 0%{ transform:scale(1); opacity:.7; } 100%{ transform:scale(1.5); opacity:0; } }
@media (prefers-reduced-motion:reduce){ .fab::after{ animation:none; } }
@media (max-width:640px){ .fab{ right:16px; bottom:16px; width:52px; height:52px; } }

/* ---------------- product cards ---------------- */
.prod-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(244px,1fr)); gap:24px; }
.card{
  background:var(--white); border:1px solid var(--line-soft); border-radius:var(--r-lg);
  overflow:hidden; display:flex; flex-direction:column;
  transition:transform .4s var(--ease), box-shadow .4s var(--ease);
}
.card:hover{ transform:translateY(-7px); box-shadow:var(--shadow-md); }
.card-art{
  position:relative; aspect-ratio:4/3.4; display:grid; place-items:center;
  background:radial-gradient(circle at 50% 45%,#FFFDF9,var(--sand)); overflow:hidden;
}
.card-art img{ width:100%; height:100%; object-fit:cover; transition:transform .5s var(--ease); }
.card-art > svg{ width:52%; height:52%; transition:transform .5s var(--ease); filter:drop-shadow(0 12px 22px rgba(63,17,18,.16)); }
.card:hover .card-art img, .card:hover .card-art > svg{ transform:scale(1.06); }
.badge{
  position:absolute; top:13px; left:13px; z-index:2;
  font-size:10.5px; font-weight:700; letter-spacing:.12em; text-transform:uppercase;
  padding:6px 12px; border-radius:100px; background:var(--maroon); color:var(--gold-lt);
}
.badge.new{ background:var(--green); color:#fff; }
.badge.low{ background:var(--saffron); color:#fff; }
.badge.out{ background:var(--muted); color:#fff; }
.card-body{ padding:18px 18px 20px; display:flex; flex-direction:column; flex:1; }
.card-body h4{ font-size:17.5px; color:var(--maroon-dp); margin-top:8px; }
.card-note{ font-size:13px; color:var(--muted); margin-top:6px; flex:1; }
.card-price-row{ display:flex; align-items:baseline; justify-content:space-between; gap:10px; margin-top:14px; margin-bottom:12px; }
.card-opts{ font-size:11.5px; color:var(--muted); white-space:nowrap; }
.card-add{ padding-block:12px; }
.card-foot{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:16px; }
.card-price{ font-family:var(--font-display); font-size:19px; color:var(--maroon); }
.card-price s{ font-size:13px; color:var(--muted); margin-left:6px; font-family:var(--font-body); }
.stars{ display:flex; align-items:center; gap:6px; color:var(--amber); }
.stars svg{ width:14px; height:14px; }
.stars small{ color:var(--muted); font-size:12.5px; }

/* ---------------- page hero ---------------- */
.page-hero{
  background:
    radial-gradient(800px 400px at 80% 10%, rgba(224,160,60,.24), transparent 62%),
    linear-gradient(168deg,#FBF2E2,var(--cream-2));
  padding-block:clamp(40px,6vw,72px); border-bottom:1px solid var(--line-soft);
}
.crumbs{ font-size:12.5px; color:var(--muted); display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.crumbs a:hover{ color:var(--saffron); }
.crumbs span{ opacity:.5; }
.page-hero h1{ font-size:clamp(32px,5vw,52px); color:var(--maroon-dp); margin-top:14px; }
.page-hero p{ color:var(--ink-soft); margin-top:14px; max-width:600px; }

/* ---------------- shop layout ---------------- */
.shop-grid{ display:grid; grid-template-columns:240px 1fr; gap:44px; align-items:start; }
@media (max-width:900px){ .shop-grid{ grid-template-columns:1fr; gap:24px; } }
.rail{ position:sticky; top:100px; }
@media (max-width:900px){ .rail{ position:static; } }
.rail h4{ font-size:12px; letter-spacing:.16em; text-transform:uppercase; color:var(--muted); font-family:var(--font-body); font-weight:700; margin-bottom:14px; }
.rail-group{ margin-bottom:28px; padding-bottom:24px; border-bottom:1px solid var(--line-soft); }
.rail-group:last-child{ border-bottom:0; }
.filt{ display:flex; align-items:center; gap:10px; padding:7px 0; font-size:14px; color:var(--ink-soft); cursor:pointer; }
.filt input{ accent-color:var(--saffron); width:16px; height:16px; cursor:pointer; }
.filt:hover{ color:var(--maroon); }
.filt em{ font-style:normal; color:var(--muted); font-size:12.5px; margin-left:auto; }
.toolbar{
  display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap;
  padding-bottom:20px; margin-bottom:26px; border-bottom:1px solid var(--line-soft);
}
.toolbar-count{ font-size:14px; color:var(--muted); }
.select{
  border:1px solid var(--line); border-radius:100px; padding:10px 18px; font-size:13.5px;
  background:var(--white); color:var(--ink); cursor:pointer;
}
.filter-toggle{ display:none; }
@media (max-width:900px){ .filter-toggle{ display:inline-flex; } }

/* ---------------- product detail ---------------- */
.pdp{ display:grid; grid-template-columns:1.08fr .92fr; gap:clamp(28px,4.5vw,64px); align-items:start; }
@media (max-width:920px){ .pdp{ grid-template-columns:1fr; } }
.gallery{ position:sticky; top:100px; }
@media (max-width:920px){ .gallery{ position:static; } }
.gal-main{
  position:relative; border-radius:var(--r-xl); overflow:hidden; aspect-ratio:1;
  background:radial-gradient(circle at 50% 42%,#fff,var(--sand)); display:grid; place-items:center;
  border:1px solid var(--line-soft);
}
.gal-main img{ width:100%; height:100%; object-fit:cover; }
.gal-main > svg{ width:62%; height:62%; filter:drop-shadow(0 18px 34px rgba(63,17,18,.18)); }
.gal-thumbs{ display:flex; gap:12px; margin-top:14px; flex-wrap:wrap; }
.gal-thumb{
  width:76px; height:76px; border-radius:14px; overflow:hidden; border:2px solid transparent;
  background:var(--sand); display:grid; place-items:center; transition:border-color .25s var(--ease);
}
.gal-thumb.on{ border-color:var(--saffron); }
.gal-thumb img{ width:100%; height:100%; object-fit:cover; }
.gal-thumb svg{ width:60%; height:60%; }

.pdp-info h1{ font-size:clamp(28px,3.8vw,42px); color:var(--maroon-dp); margin-top:12px; }
.pdp-sub{ color:var(--ink-soft); margin-top:14px; font-size:16.5px; }
.pdp-price{ display:flex; align-items:baseline; gap:12px; margin-top:24px; flex-wrap:wrap; }
.pdp-price b{ font-family:var(--font-display); font-weight:400; font-size:34px; color:var(--maroon); }
.pdp-price s{ font-size:17px; color:var(--muted); }
.save{ font-size:11.5px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--green); background:rgba(62,122,63,.10); padding:5px 11px; border-radius:100px; }
.tax-note{ font-size:12.5px; color:var(--muted); margin-top:5px; }

.opt-label{ font-size:12px; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); font-weight:700; margin-top:28px; margin-bottom:12px; }
.opts{ display:flex; flex-wrap:wrap; gap:10px; }
.opt{
  border:1px solid var(--line); border-radius:14px; padding:12px 18px; background:var(--white);
  transition:all .25s var(--ease); text-align:left; min-width:112px;
}
.opt b{ display:block; font-family:var(--font-body); font-size:14px; font-weight:600; color:var(--ink); }
.opt small{ font-size:12.5px; color:var(--muted); }
.opt:hover{ border-color:var(--gold); }
.opt.on{ border-color:var(--maroon); background:var(--cream-2); box-shadow:inset 0 0 0 1px var(--maroon); }
.opt[disabled]{ opacity:.42; pointer-events:none; text-decoration:line-through; }

.buy-row{ display:flex; gap:12px; margin-top:28px; flex-wrap:wrap; }
.qty-lg{ display:inline-flex; align-items:center; border:1px solid var(--line); border-radius:100px; background:var(--white); }
.qty-lg button{ width:44px; height:50px; display:grid; place-items:center; color:var(--maroon); }
.qty-lg span{ min-width:34px; text-align:center; font-weight:600; }
.stock-line{ font-size:13.5px; margin-top:14px; display:flex; align-items:center; gap:8px; }
.stock-line.in{ color:var(--green); } .stock-line.low{ color:var(--saffron); } .stock-line.out{ color:var(--red); }
.dot-s{ width:7px; height:7px; border-radius:50%; background:currentColor; }

.usp{ display:grid; grid-template-columns:repeat(auto-fit,minmax(140px,1fr)); gap:14px; margin-top:30px; padding-top:26px; border-top:1px solid var(--line-soft); }
.usp div{ display:flex; gap:10px; align-items:flex-start; font-size:13px; color:var(--ink-soft); }
.usp svg{ width:18px; height:18px; color:var(--saffron); flex-shrink:0; margin-top:2px; }

.acc{ margin-top:32px; border-top:1px solid var(--line-soft); }
.acc-item{ border-bottom:1px solid var(--line-soft); }
.acc-btn{ width:100%; display:flex; align-items:center; justify-content:space-between; gap:16px; padding:18px 0; font-family:var(--font-display); font-size:17px; color:var(--maroon-dp); text-align:left; }
.acc-btn:hover{ color:var(--saffron); }
.acc-ico{ width:26px; height:26px; border-radius:50%; border:1px solid var(--line); display:grid; place-items:center; flex-shrink:0; transition:all .3s var(--ease); }
.acc-ico svg{ width:12px; height:12px; }
.acc-item.open .acc-ico{ transform:rotate(45deg); background:var(--maroon); color:var(--cream); border-color:var(--maroon); }
.acc-body{ max-height:0; overflow:hidden; transition:max-height .4s var(--ease); }
.acc-body div{ padding-bottom:20px; color:var(--ink-soft); font-size:14.5px; white-space:pre-line; }

/* sticky mobile buy bar */
.buybar{
  position:fixed; left:0; right:0; bottom:0; z-index:120; display:none;
  background:rgba(253,247,237,.96); backdrop-filter:blur(12px);
  border-top:1px solid var(--line); padding:12px 18px calc(12px + env(safe-area-inset-bottom));
  box-shadow:0 -4px 20px rgba(63,17,18,.08);
}
.buybar.show{ display:flex; align-items:center; gap:14px; }
.buybar b{ font-family:var(--font-display); font-weight:400; font-size:20px; color:var(--maroon); }
.buybar .btn{ margin-left:auto; }
@media (min-width:921px){ .buybar{ display:none !important; } }

/* ---------------- combos: the chain layout ---------------- */
.combo-list{ display:grid; gap:26px; }

.cmb{
  position:relative; overflow:hidden;
  background:linear-gradient(158deg,#FFFDF8 0%,var(--cream-2) 62%,#F1E1C6 100%);
  border:1px solid var(--line-soft); border-radius:var(--r-xl);
  padding:clamp(22px,3vw,34px);
  transition:transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.cmb::before{
  content:""; position:absolute; right:-70px; top:-70px; width:240px; height:240px; border-radius:50%;
  background:radial-gradient(circle,rgba(224,160,60,.20),transparent 68%); pointer-events:none;
}
.cmb:hover{ transform:translateY(-5px); box-shadow:var(--shadow-md); border-color:var(--gold-lt); }

.cmb-top{ display:flex; align-items:flex-start; gap:16px; flex-wrap:wrap; position:relative; z-index:2; }
.cmb-top h3{ font-size:clamp(21px,2.6vw,27px); color:var(--maroon-dp); }
.cmb-sub{ font-size:13.5px; color:var(--saffron); margin-top:3px; }
.cmb-desc{ font-size:14.5px; color:var(--ink-soft); margin-top:12px; max-width:660px; position:relative; z-index:2; }
.cmb-badge{
  margin-left:auto; flex-shrink:0;
  background:linear-gradient(135deg,var(--amber),var(--saffron)); color:#fff;
  font-size:10.5px; font-weight:700; letter-spacing:.12em; text-transform:uppercase;
  padding:7px 14px; border-radius:100px; box-shadow:0 4px 12px rgba(201,116,27,.3);
}

/* the chain scrolls; the price never does */
.chain-wrap{ display:flex; align-items:center; gap:10px; margin-top:22px; position:relative; z-index:2; }
.chain{
  display:flex; align-items:stretch; gap:6px; flex:1; min-width:0;
  overflow-x:auto; overflow-y:visible; padding:6px 2px 12px;
  scroll-snap-type:x proximity; -webkit-overflow-scrolling:touch;
}
.chain-result{ flex:0 0 auto; display:flex; align-items:center; gap:10px; }
.chain-label{ display:none; }
.chain::-webkit-scrollbar{ height:5px; }
.chain::-webkit-scrollbar-thumb{ background:var(--gold-lt); border-radius:3px; }
.chain::-webkit-scrollbar-track{ background:transparent; }

.chain-item{
  flex:0 0 auto; width:122px; scroll-snap-align:center;
  display:flex; flex-direction:column; align-items:center; text-align:center;
  padding:12px 8px 10px; border-radius:18px; border:1px solid transparent;
  background:rgba(255,255,255,.55); cursor:pointer;
  transition:transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.chain-item:hover, .chain-item:focus-visible, .chain-item.active{
  transform:translateY(-4px); border-color:var(--gold); background:var(--white); box-shadow:var(--shadow-sm);
}
.chain-thumb{
  width:82px; height:82px; border-radius:16px; overflow:hidden;
  background:radial-gradient(circle at 50% 42%,#fff,var(--sand));
  display:grid; place-items:center; box-shadow:inset 0 0 0 1px rgba(90,26,28,.06);
}
.chain-thumb img{ width:100%; height:100%; object-fit:cover; }
.chain-thumb svg{ width:62%; height:62%; }
.chain-qty{
  position:absolute; transform:translate(30px,-8px);
  background:var(--maroon); color:var(--cream); font-size:10.5px; font-weight:700;
  min-width:20px; height:20px; padding:0 5px; border-radius:10px;
  display:grid; place-items:center; border:2px solid var(--cream-2);
}
.chain-name{
  font-size:11.5px; font-weight:600; color:var(--maroon-dp); margin-top:9px; line-height:1.3;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.chain-opt{ font-size:10.5px; color:var(--muted); margin-top:2px; }
.chain-price{ font-size:12px; color:var(--saffron); font-weight:600; margin-top:4px; }

.chain-op{
  flex:0 0 auto; align-self:center; width:28px; height:28px; border-radius:50%;
  display:grid; place-items:center; color:var(--maroon); background:rgba(180,137,75,.18);
  font-size:15px; font-weight:700; line-height:1;
}
.chain-op.eq{ background:var(--maroon); color:var(--gold-lt); }

.chain-total{ flex:0 0 auto; min-width:112px; }
.chain-total b{ font-family:var(--font-display); font-weight:400; font-size:28px; color:var(--maroon); display:block; line-height:1.1; }
.chain-total s{ font-size:13.5px; color:var(--muted); }
.chain-total .save{ margin-top:6px; display:inline-block; }

.cmb-foot{
  display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap;
  margin-top:18px; padding-top:18px; border-top:1px solid var(--line-soft); position:relative; z-index:2;
}
.cmb-hint{ font-size:12.5px; color:var(--muted); display:flex; align-items:center; gap:7px; }
.cmb-hint svg{ width:15px; height:15px; color:var(--gold); }

/* one shared hover card, positioned by JS so scroll containers cannot clip it */
.hovercard{
  position:fixed; z-index:260; width:280px; pointer-events:none;
  background:var(--white); border:1px solid var(--line-soft); border-radius:18px;
  box-shadow:var(--shadow-lg); padding:16px; opacity:0; transform:translateY(6px) scale(.97);
  transition:opacity .22s var(--ease), transform .22s var(--ease); visibility:hidden;
}
.hovercard.show{ opacity:1; transform:none; visibility:visible; }
.hovercard-top{ display:flex; gap:12px; align-items:center; }
.hovercard-img{
  width:62px; height:62px; border-radius:13px; overflow:hidden; flex-shrink:0;
  background:radial-gradient(circle at 50% 42%,#fff,var(--sand)); display:grid; place-items:center;
}
.hovercard-img img{ width:100%; height:100%; object-fit:cover; }
.hovercard-img svg{ width:64%; height:64%; }
.hovercard h5{ font-family:var(--font-display); font-weight:400; font-size:15.5px; color:var(--maroon-dp); margin:0; line-height:1.25; }
.hovercard .hc-opt{ font-size:11.5px; color:var(--saffron); margin-top:3px; font-weight:600; }
.hovercard p{ font-size:12.5px; color:var(--ink-soft); margin-top:11px; line-height:1.55; }
.hc-rows{ margin-top:11px; padding-top:11px; border-top:1px solid var(--line-soft); display:grid; gap:5px; }
.hc-row{ display:flex; justify-content:space-between; gap:10px; font-size:12px; }
.hc-row span{ color:var(--muted); }
.hc-row b{ color:var(--ink); font-weight:600; }
.hc-foot{ margin-top:11px; display:flex; align-items:center; justify-content:space-between; gap:8px; }
.hc-price{ font-family:var(--font-display); font-size:18px; color:var(--maroon); }
.hc-stock{ font-size:11px; font-weight:600; }
.hc-stock.in{ color:var(--green); } .hc-stock.low{ color:var(--saffron); } .hc-stock.out{ color:var(--red); }

/* phones: the row of products scrolls, the price gets its own line */
@media (max-width:760px){
  .chain-wrap{ display:block; }
  .chain{ margin-inline:-2px; padding-bottom:10px; }
  .chain-result{
    display:flex; align-items:center; justify-content:space-between; gap:12px;
    margin-top:10px; padding-top:14px; border-top:1px dashed var(--line);
  }
  .chain-result .chain-op.eq{ display:none; }
  .chain-label{
    display:block; font-size:11px; letter-spacing:.12em; text-transform:uppercase;
    color:var(--muted); font-weight:700;
  }
  .chain-total{ text-align:right; min-width:0; }
  .cmb-foot{ flex-direction:column; align-items:stretch; gap:12px; }
  .cmb-foot .btn{ width:100%; }
  .cmb-hint{ order:2; justify-content:center; }
}

@media (max-width:560px){
  .chain-item{ width:100px; padding:10px 6px 8px; }
  .chain-thumb{ width:68px; height:68px; }
  .chain-total b{ font-size:24px; }
  .cmb-top h3{ font-size:20px; }
  .hovercard{ width:min(280px,calc(100vw - 32px)); }
}

/* ---------------- forms ---------------- */
.field{ margin-bottom:16px; }
.field label{ display:block; font-size:12.5px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); margin-bottom:7px; }
.field input, .field textarea, .field select{
  width:100%; padding:13px 16px; border-radius:12px; border:1px solid var(--line);
  background:var(--white); font:inherit; font-size:15px; color:var(--ink); transition:border-color .25s, box-shadow .25s;
}
.field textarea{ min-height:130px; resize:vertical; }
.field input:focus, .field textarea:focus, .field select:focus{
  outline:none; border-color:var(--saffron); box-shadow:0 0 0 3px rgba(201,116,27,.14);
}
.field.err input, .field.err textarea{ border-color:var(--red); }
.field .msg{ font-size:12px; color:var(--red); margin-top:5px; display:none; }
.field.err .msg{ display:block; }
.row2{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media (max-width:560px){ .row2{ grid-template-columns:1fr; } }

.note{ padding:14px 18px; border-radius:12px; font-size:14px; margin-bottom:18px; }
.note.ok{ background:rgba(62,122,63,.10); color:var(--green); border:1px solid rgba(62,122,63,.25); }
.note.bad{ background:rgba(179,38,30,.08); color:var(--red); border:1px solid rgba(179,38,30,.22); }

/* contact info cards */
.contact-grid{ display:grid; grid-template-columns:1fr 380px; gap:44px; align-items:start; }
@media (max-width:900px){ .contact-grid{ grid-template-columns:1fr; } }
.info-card{ background:var(--white); border:1px solid var(--line-soft); border-radius:var(--r-lg); padding:26px; margin-bottom:16px; }
.info-card h4{ font-size:18px; color:var(--maroon-dp); }
.info-row{ display:flex; gap:13px; align-items:flex-start; margin-top:16px; font-size:14.5px; color:var(--ink-soft); }
.info-row svg{ width:19px; height:19px; color:var(--saffron); flex-shrink:0; margin-top:3px; }
.info-row a:hover{ color:var(--saffron); }

/* ---------------- checkout / receipt ---------------- */
.co-grid{ display:grid; grid-template-columns:1fr 400px; gap:40px; align-items:start; }
@media (max-width:900px){ .co-grid{ grid-template-columns:1fr; } }
.panel{ background:var(--white); border:1px solid var(--line-soft); border-radius:var(--r-lg); padding:28px; }
.panel h3{ font-size:21px; color:var(--maroon-dp); margin-bottom:20px; }
.summary{ position:sticky; top:100px; background:linear-gradient(158deg,#FFFDF8,var(--cream-2)); border:1px solid var(--line-soft); border-radius:var(--r-lg); padding:26px; }
@media (max-width:900px){ .summary{ position:static; } }
.sum-line{ display:flex; gap:12px; padding:12px 0; border-bottom:1px solid var(--line-soft); font-size:14px; }
.sum-line b{ font-weight:600; color:var(--ink); }
.sum-line small{ color:var(--muted); display:block; font-size:12.5px; }
.sum-line .amt{ margin-left:auto; white-space:nowrap; font-family:var(--font-display); color:var(--maroon); }

/* promo code box */
.promo-box{ margin-top:18px; padding-top:18px; border-top:1px dashed var(--line); }
.promo-form{ display:flex; gap:8px; }
.promo-form input{
  flex:1; min-width:0; padding:11px 15px; border-radius:10px; border:1px solid var(--line);
  background:var(--white); font:inherit; font-size:14px; color:var(--ink);
  text-transform:uppercase; letter-spacing:.06em;
}
.promo-form input::placeholder{ text-transform:none; letter-spacing:normal; color:var(--muted); }
.promo-form input:focus{ outline:none; border-color:var(--saffron); box-shadow:0 0 0 3px rgba(201,116,27,.13); }
.promo-form button{
  padding:11px 18px; border-radius:10px; background:var(--maroon); color:var(--cream);
  font-size:13px; font-weight:600; transition:background .25s var(--ease);
}
.promo-form button:hover{ background:var(--maroon-dp); }
.promo-form button:disabled{ opacity:.5; pointer-events:none; }
.promo-msg{ font-size:12.5px; margin-top:9px; }
.promo-msg.bad{ color:var(--red); }
.promo-applied{
  display:flex; align-items:center; gap:10px; padding:11px 14px; border-radius:10px;
  background:rgba(62,122,63,.09); border:1px solid rgba(62,122,63,.24);
}
.promo-applied svg{ width:17px; height:17px; color:var(--green); flex-shrink:0; }
.promo-applied b{ font-size:13.5px; color:var(--green); letter-spacing:.04em; }
.promo-applied small{ display:block; font-size:11.5px; color:var(--ink-soft); }
.promo-applied button{ margin-left:auto; font-size:11.5px; color:var(--muted); text-decoration:underline; }
.promo-applied button:hover{ color:var(--red); }
.sum-row.disc span:last-child{ color:var(--green); }

.receipt{ max-width:760px; margin-inline:auto; }
.rcpt-head{ text-align:center; padding-bottom:28px; border-bottom:2px solid var(--line); }
.rcpt-ok{ width:64px; height:64px; border-radius:50%; background:rgba(62,122,63,.12); color:var(--green); display:grid; place-items:center; margin:0 auto 18px; }
.rcpt-ok svg{ width:32px; height:32px; }
.rcpt-meta{ display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:20px; padding:24px 0; border-bottom:1px solid var(--line-soft); }
.rcpt-meta div small{ font-size:11px; letter-spacing:.12em; text-transform:uppercase; color:var(--muted); display:block; }
.rcpt-meta div b{ font-weight:600; font-size:14.5px; color:var(--ink); }
.rcpt-table{ width:100%; border-collapse:collapse; margin-top:8px; }
.rcpt-table th{ text-align:left; font-size:11px; letter-spacing:.12em; text-transform:uppercase; color:var(--muted); padding:14px 0; border-bottom:1px solid var(--line); font-weight:700; }
.rcpt-table td{ padding:14px 0; border-bottom:1px solid var(--line-soft); font-size:14.5px; vertical-align:top; }
.rcpt-table td:last-child, .rcpt-table th:last-child{ text-align:right; }
.rcpt-tot{ display:flex; justify-content:flex-end; }
.rcpt-tot table{ min-width:280px; margin-top:16px; }
.rcpt-tot td{ padding:7px 0; font-size:14.5px; }
.rcpt-tot td:last-child{ text-align:right; font-weight:600; }
.rcpt-tot tr.grand td{ font-family:var(--font-display); font-size:21px; color:var(--maroon); border-top:1px solid var(--line); padding-top:14px; }
.timeline{ margin-top:12px; }
.tl{ display:flex; gap:14px; padding:12px 0; font-size:13.5px; }
.tl-dot{ width:9px; height:9px; border-radius:50%; background:var(--gold); flex-shrink:0; margin-top:7px; }
.tl b{ display:block; color:var(--ink); font-weight:600; }
.tl small{ color:var(--muted); }
.pill{ display:inline-block; font-size:11px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; padding:5px 12px; border-radius:100px; }
.pill.paid{ background:rgba(62,122,63,.12); color:var(--green); }
.pill.pending{ background:rgba(201,116,27,.12); color:var(--saffron); }
.pill.failed{ background:rgba(179,38,30,.10); color:var(--red); }

@media print{
  .hdr,.announce,.fab,.ftr,.no-print,.buybar{ display:none !important; }
  body{ background:#fff; }
  .panel,.receipt{ border:0; box-shadow:none; }
}

/* ---------------- toast ---------------- */
.toast-host{ position:fixed; left:50%; bottom:28px; transform:translateX(-50%); z-index:400; display:flex; flex-direction:column; gap:10px; align-items:center; pointer-events:none; }
.toast{
  background:var(--maroon-dp); color:var(--cream); padding:13px 24px; border-radius:100px;
  font-size:14px; box-shadow:var(--shadow-lg); display:flex; align-items:center; gap:10px;
  animation:pop .35s var(--ease);
}
.toast svg{ width:17px; height:17px; color:var(--amber); }
.toast.bad{ background:var(--red); }
@keyframes pop{ from{ opacity:0; transform:translateY(14px); } to{ opacity:1; transform:none; } }

/* ---------------- skeleton ---------------- */
.skel{ background:linear-gradient(90deg,var(--cream-2) 25%,var(--sand) 37%,var(--cream-2) 63%); background-size:400% 100%; animation:shimmer 1.3s ease-in-out infinite; border-radius:var(--r-md); }
@keyframes shimmer{ from{ background-position:100% 0; } to{ background-position:-100% 0; } }
.skel-card{ height:340px; border-radius:var(--r-lg); }

/* ---------------- footer ---------------- */
.ftr{ background:var(--maroon-dp); color:rgba(253,247,237,.72); padding-block:60px 0; margin-top:0; }
.ftr-top{ display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr; gap:40px; }
@media (max-width:860px){ .ftr-top{ grid-template-columns:1fr 1fr; gap:32px; } }
@media (max-width:520px){ .ftr-top{ grid-template-columns:1fr; } }
.ftr .logo-tx b{ color:var(--cream); }
.ftr .logo-tx small{ color:var(--gold); }
.ftr-about{ font-size:14px; margin-top:18px; max-width:330px; line-height:1.75; }
.socials{ display:flex; gap:10px; margin-top:22px; }
.social{ width:38px; height:38px; border-radius:50%; display:grid; place-items:center; border:1px solid rgba(217,188,133,.26); color:var(--gold-lt); transition:all .3s var(--ease); }
.social:hover{ background:var(--gold); color:var(--maroon-dp); border-color:var(--gold); transform:translateY(-3px); }
.social svg{ width:17px; height:17px; }
.ftr h5{ font-size:11.5px; font-weight:700; letter-spacing:.18em; text-transform:uppercase; color:var(--gold-lt); margin:0 0 16px; }
.ftr ul{ list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.ftr ul a{ font-size:14px; transition:color .25s var(--ease); }
.ftr ul a:hover{ color:var(--amber); }
.ftr-bot{
  margin-top:48px; padding-block:22px; border-top:1px solid rgba(217,188,133,.16);
  display:flex; flex-wrap:wrap; gap:14px; justify-content:space-between; align-items:center;
  font-size:12.5px; color:rgba(253,247,237,.52);
}
.pay{ display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.pay span{ font-size:10px; font-weight:600; letter-spacing:.06em; padding:5px 10px; border-radius:5px; border:1px solid rgba(217,188,133,.22); color:var(--gold-lt); }

/* ---------------- typographic polish ----------------
   One type system, two roles: var(--font-display) for headings,
   var(--font-body) for everything else. Figures are tabular so
   prices and totals align down a column.
------------------------------------------------------- */
body{ -moz-osx-font-smoothing:grayscale; }
.card-price, .card-price s, .chain-price, .chain-total b, .chain-total s,
.pdp-price b, .pdp-price s, .cart-price, .sum-row, .sum-line .amt,
.hc-price, .price, .price-was, .rcpt-table td, .rcpt-tot td,
.toolbar-count, .bag-count, .chain-qty{
  font-variant-numeric:tabular-nums;
}
/* Display serif is for real headings only. Marcellus ships a single 400
   weight, so small bold uppercase labels (footer column heads, form
   labels) stay on the body face rather than being faux-bolded. */
h1,h2,h3,h4{ font-family:var(--font-display); }
.ftr h5, .f label, .field label, .rail h4, .opt-label{ font-family:var(--font-body); }
.sec-title, .page-hero h1, .cmb-top h3{ letter-spacing:-.015em; }
