/* ============================================================
   Namdev Sweets — "Royal Mithai" theme
   Deep maroon · saffron gold · cream · pistachio
   ============================================================ */

:root {
  --maroon: #6b1d3c;
  --maroon-dark: #4e102a;
  --maroon-deep: #3a0b1f;
  --saffron: #e9a13b;
  --saffron-dark: #c97e1f;
  --gold: #d4a847;
  --cream: #fff8ee;
  --cream-dark: #f6ecd9;
  --rose: #b43a5e;
  --pista: #5b8c5a;
  --wa: #25d366;
  --ink: #32202a;
  --muted: #8d7280;
  --line: #ecd9c3;
  --card: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(78, 16, 42, 0.10);
  --shadow-sm: 0 4px 14px rgba(78, 16, 42, 0.08);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Poppins', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 15px;
}
img { max-width: 100%; display: block; }
a { color: var(--maroon); text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 15px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; color: var(--maroon-dark); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; margin-top: 28px; }
.muted { color: var(--muted); font-size: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; border: none; border-radius: 50px;
  padding: 12px 26px; font-size: 15px; font-weight: 600;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--maroon); color: #fff; }
.btn-primary:hover { background: var(--maroon-dark); }
.btn-gold { background: linear-gradient(135deg, var(--saffron), var(--gold)); color: var(--maroon-deep); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-outline { background: transparent; color: var(--maroon); border: 2px solid var(--maroon); padding: 10px 24px; }
.btn-outline:hover { background: var(--maroon); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #1eb858; }
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 17px; }
.btn-block { display: block; width: 100%; margin-top: 12px; }
.btn-add { background: var(--maroon); color: #fff; padding: 8px 18px; font-size: 14px; border-radius: 50px; border: none; font-weight: 600; transition: background .15s; }
.btn-add:hover { background: var(--saffron-dark); }
.link-btn { background: none; border: none; color: var(--maroon); text-decoration: underline; font-size: inherit; }
.link-btn.danger { color: #c0392b; }

/* ---------- Announcement ticker ---------- */
.ticker { background: var(--maroon-deep); color: var(--cream); overflow: hidden; white-space: nowrap; font-size: 13px; }
.ticker-track { display: inline-flex; gap: 80px; padding: 7px 0; animation: tick 28s linear infinite; }
.ticker-track span { padding-left: 80px; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.site-header { background: var(--card); box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 90; }
.header-inner { display: flex; align-items: center; gap: 22px; padding: 14px 20px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark { height: 52px; width: auto; display: block; }
.brand-text strong { font-family: var(--font-display); font-size: 21px; color: var(--maroon); display: block; line-height: 1.1; }
.brand-text small { color: var(--saffron-dark); font-size: 11.5px; letter-spacing: 1.5px; text-transform: uppercase; }
.search-bar { flex: 1; display: flex; max-width: 460px; margin: 0 auto; border: 2px solid var(--line); border-radius: 50px; overflow: hidden; background: var(--cream); }
.search-bar input { flex: 1; border: none; background: transparent; padding: 10px 18px; outline: none; }
.search-bar button { border: none; background: var(--maroon); color: #fff; padding: 0 18px; font-size: 16px; }
.header-actions { display: flex; gap: 18px; align-items: center; }
.h-action { display: flex; flex-direction: column; align-items: center; gap: 0; font-size: 12px; color: var(--ink); position: relative; }
.h-ico { font-size: 20px; line-height: 1.2; }
.h-label { font-weight: 500; }
.cart-count {
  position: absolute; top: -6px; right: -10px; background: var(--saffron); color: var(--maroon-deep);
  font-size: 11px; font-weight: 700; min-width: 19px; height: 19px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
}
.cart-count.has-items { background: var(--rose); color: #fff; }
.nav-toggle { display: none; background: none; border: none; font-size: 24px; color: var(--maroon); }

.main-nav { background: var(--maroon); }
.nav-inner { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nav-inner::-webkit-scrollbar { display: none; }
.nav-inner a {
  color: rgba(255,255,255,.88); padding: 11px 16px; font-size: 14px; font-weight: 500;
  white-space: nowrap; border-bottom: 3px solid transparent; transition: all .15s;
}
.nav-inner a:hover, .nav-inner a.active { color: #fff; border-bottom-color: var(--saffron); background: rgba(255,255,255,.06); }

/* ---------- Hero ---------- */
.hero { position: relative; }
.hero-slide { display: none; padding: 56px 0 64px; position: relative; overflow: hidden; }
.hero-slide.active { display: block; animation: fadeIn .6s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.theme-maroon { background: radial-gradient(1200px 500px at 80% 20%, #8d2b50 0%, var(--maroon) 45%, var(--maroon-dark) 100%); }
.theme-saffron { background: radial-gradient(1200px 500px at 80% 20%, #f2b65c 0%, var(--saffron-dark) 55%, #9c5d12 100%); }
.theme-rose { background: radial-gradient(1200px 500px at 80% 20%, #d05a80 0%, var(--rose) 50%, #7d2342 100%); }
.hero-slide::before {
  content: ''; position: absolute; inset: 0; opacity: .35;
  background-image: radial-gradient(rgba(255,255,255,.14) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
}
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; position: relative; }
.hero-copy { color: #fff; }
.hero-eyebrow { display: inline-block; font-size: 12.5px; letter-spacing: 3px; text-transform: uppercase; color: var(--saffron); background: rgba(0,0,0,.22); padding: 6px 16px; border-radius: 50px; margin-bottom: 18px; }
.theme-saffron .hero-eyebrow { color: #fff3d6; }
.hero-copy h1 { color: #fff; font-size: clamp(32px, 4.5vw, 54px); margin-bottom: 14px; }
.hero-copy p { font-size: 17px; color: rgba(255,255,255,.85); max-width: 480px; margin-bottom: 26px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art img { filter: drop-shadow(0 18px 30px rgba(0,0,0,.3)); }
.hero-plate { position: relative; height: 320px; }
.hero-plate img { position: absolute; width: 200px; height: 160px; object-fit: cover; border-radius: 24px; background: rgba(255,255,255,.95); padding: 10px; box-shadow: 0 18px 40px rgba(0,0,0,.28); }
.float-1 { top: 0; left: 8%; transform: rotate(-7deg); animation: bob 5s ease-in-out infinite; }
.float-2 { top: 90px; right: 4%; transform: rotate(6deg); animation: bob 6s ease-in-out infinite .8s; }
.float-3 { bottom: 0; left: 26%; transform: rotate(-3deg); animation: bob 5.5s ease-in-out infinite .4s; }
@keyframes bob { 0%,100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.hero-dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 5; }
.hero-dots button { width: 11px; height: 11px; border-radius: 50%; border: none; background: rgba(255,255,255,.45); transition: all .2s; }
.hero-dots button.active { background: var(--saffron); width: 28px; border-radius: 50px; }

/* ---------- USP strip ---------- */
.usp-strip { background: var(--card); border-bottom: 1px solid var(--line); }
.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 18px 20px; }
.usp { display: flex; gap: 12px; align-items: center; }
.usp span { font-size: 28px; }
.usp strong { display: block; font-size: 14px; color: var(--maroon-dark); }
.usp small { color: var(--muted); font-size: 12.5px; }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-cream { background: linear-gradient(180deg, var(--cream-dark), var(--cream)); }
.section-head { text-align: center; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(26px, 3vw, 36px); position: relative; display: inline-block; }
.section-head h2::after {
  content: '✦ ✦ ✦'; display: block; color: var(--saffron); font-size: 13px; letter-spacing: 8px; margin-top: 8px;
}
.section-head p { color: var(--muted); margin-top: 4px; }

/* ---------- Categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.cat-card { text-align: center; transition: transform .2s; }
.cat-card:hover { transform: translateY(-5px); }
.cat-frame {
  display: block; aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin-bottom: 12px;
  background: var(--card); border: 3px solid var(--saffron); padding: 14px; box-shadow: var(--shadow-sm);
  position: relative;
}
.cat-frame::after { content: ''; position: absolute; inset: 5px; border: 1.5px dashed var(--line); border-radius: 50%; }
.cat-frame img { width: 100%; height: 100%; object-fit: contain; }
/* Real category photos fill the whole circle; SVG illustrations stay padded */
.cat-frame.photo { padding: 0; }
.cat-frame.photo img { object-fit: cover; }
.cat-frame.photo::after { display: none; }
.cat-card strong { font-size: 14px; color: var(--ink); font-weight: 600; }

/* ---------- Product cards ---------- */
.p-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.p-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column; border: 1px solid #f3e6d4;
}
.p-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.p-img { position: relative; display: block; background: linear-gradient(160deg, #fdf3e0, #faeacf); padding: 18px; }
.p-img img { width: 100%; aspect-ratio: 6/5; object-fit: contain; transition: transform .25s; }
.p-card:hover .p-img img { transform: scale(1.06); }
/* Real uploaded photos fill the whole box edge-to-edge; SVG placeholders stay padded */
.p-img.photo { padding: 0; }
.p-img.photo img { object-fit: cover; }
.ribbon {
  position: absolute; top: 12px; left: -6px; background: var(--maroon); color: var(--saffron);
  font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 0 50px 50px 0;
  letter-spacing: .5px; box-shadow: var(--shadow-sm);
}
.off-badge {
  position: absolute; bottom: 12px; left: 12px; background: var(--pista); color: #fff;
  font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 50px;
}
.p-img-link { display: block; }
.wish-btn {
  position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255, 255, 255, .92); border: none; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); transition: transform .15s, background .15s; z-index: 3; padding: 0;
}
.wish-btn:hover { transform: scale(1.12); background: #fff; }
.wish-btn svg { width: 18px; height: 18px; fill: none; stroke: var(--rose); stroke-width: 2; transition: fill .15s; }
.wish-btn.active svg { fill: var(--rose); stroke: var(--rose); }
.btn-wish { background: #fff; color: var(--rose); border: 2px solid var(--rose); }
.btn-wish:hover { background: var(--rose); color: #fff; }
.btn-wish.active { background: var(--rose); color: #fff; }
.wish-count.has-items { background: var(--rose); color: #fff; }
.p-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.p-top { display: flex; gap: 8px; align-items: flex-start; }
.veg-dot {
  flex-shrink: 0; width: 15px; height: 15px; border: 1.5px solid var(--pista); border-radius: 3px;
  position: relative; margin-top: 4px;
}
.veg-dot::after { content: ''; position: absolute; inset: 2.5px; background: var(--pista); border-radius: 50%; }
.p-name { font-weight: 600; font-size: 15px; color: var(--ink); line-height: 1.35; }
.p-name:hover { color: var(--maroon); }
.weight-sel {
  width: 100%; padding: 8px 10px; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--cream); color: var(--ink); font-size: 13.5px; outline: none;
}
/* Cylindrical portion pills on product cards */
.weight-pills-sm { display: flex; flex-wrap: wrap; gap: 6px; }
.pill-sm {
  padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--cream); color: var(--ink); font-size: 12.5px; font-weight: 600;
  line-height: 1; transition: background .12s, border-color .12s, color .12s;
}
.pill-sm:hover:not(.oos):not(.active) { border-color: var(--saffron); }
.pill-sm.active { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.pill-sm.oos { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.p-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.p-price { font-weight: 700; font-size: 17px; color: var(--maroon); }
.mrp { color: var(--muted); font-weight: 400; font-size: 13px; margin-left: 5px; }

/* ---------- Other outlets strip ---------- */
.outlets-section {
  padding-bottom: 44px;
  background: radial-gradient(1000px 420px at 50% 0%, #8d2b50 0%, var(--maroon) 52%, var(--maroon-dark) 100%);
  position: relative; overflow: hidden;
}
.outlets-section::before {
  content: ''; position: absolute; inset: 0; opacity: .3; pointer-events: none;
  background-image: radial-gradient(rgba(233, 161, 59, .5) 1.5px, transparent 1.5px);
  background-size: 30px 30px;
}
.outlets-section .container { position: relative; z-index: 1; }
.outlets-section .section-head h2 { color: #fff; }
.outlets-section .section-head p { color: rgba(255, 255, 255, .82); }
.outlets-section .outlet-tile strong { color: #fff; }
.outlets-section .outlet-soon { background: rgba(255, 255, 255, .92); color: var(--saffron-dark); }
.outlet-strip {
  display: flex; gap: 18px 14px; flex-wrap: wrap; justify-content: center; padding: 6px 2px 14px;
}
.outlet-tile {
  flex: 0 0 auto; width: 104px; display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-align: center; transition: transform .15s;
}
.outlet-tile:hover { transform: translateY(-4px); }
.outlet-logo {
  width: 74px; height: 74px; border-radius: 20px; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); border: 1px solid #f0e2cf; overflow: hidden;
}
.outlet-logo img { width: 100%; height: 100%; object-fit: cover; }
.outlet-emoji { font-size: 34px; line-height: 1; }
.outlet-tile strong { font-size: 13px; color: var(--ink); font-weight: 600; line-height: 1.2; }
.outlet-tile.soon { cursor: default; }
.outlet-tile.soon:hover { transform: none; }
.outlet-tile.soon .outlet-logo { opacity: .9; }
.outlet-soon { font-size: 10.5px; color: var(--saffron-dark); font-style: normal; background: var(--cream-dark); padding: 1px 8px; border-radius: 50px; }

/* ---------- Festival band ---------- */
.festival-band {
  background: linear-gradient(120deg, var(--maroon-deep), var(--maroon) 55%, var(--rose));
  color: #fff; padding: 44px 0; position: relative; overflow: hidden;
}
.festival-band::before {
  content: ''; position: absolute; inset: 0; opacity: .3;
  background-image: radial-gradient(rgba(233,161,59,.5) 1.5px, transparent 1.5px);
  background-size: 30px 30px;
}
.festival-inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; position: relative; }
.festival-band h2 { color: #fff; font-size: clamp(22px, 3vw, 32px); margin-bottom: 8px; }
.festival-band p { color: rgba(255,255,255,.85); max-width: 600px; }

/* ---------- Gift grid ---------- */
.gift-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.gift-card {
  background: linear-gradient(160deg, var(--maroon), var(--maroon-dark)); border-radius: var(--radius);
  overflow: hidden; color: #fff; box-shadow: var(--shadow); transition: transform .2s;
  border: 1px solid rgba(233,161,59,.35);
}
.gift-card:hover { transform: translateY(-5px); }
.gift-card img { width: 100%; aspect-ratio: 5/4; object-fit: contain; padding: 22px; background: radial-gradient(circle at 50% 30%, rgba(233,161,59,.18), transparent 70%); }
.gift-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.gift-body strong { font-family: var(--font-display); font-size: 17px; }
.gift-body span { color: var(--saffron); font-weight: 600; font-size: 14px; }
.gift-body em { font-style: normal; font-size: 12.5px; color: rgba(255,255,255,.7); margin-top: 6px; }

/* ---------- Reviews ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card {
  background: var(--card); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--saffron); margin-bottom: 16px;
}
.stars { color: var(--saffron-dark); font-size: 16px; letter-spacing: 2px; }
.stars-off { color: var(--line); }
.review-card blockquote { margin: 10px 0; font-size: 14.5px; color: var(--ink); font-style: italic; }
.review-card figcaption { font-size: 13px; color: var(--muted); }

/* ---------- Delivery band ---------- */
.delivery-band { background: var(--cream-dark); padding: 48px 0; border-top: 1px solid var(--line); }
.delivery-inner { display: flex; justify-content: space-between; gap: 32px; align-items: center; flex-wrap: wrap; }
.delivery-band h2 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 8px; }
.delivery-band p { color: var(--muted); max-width: 620px; }
.pin-check { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-start; }
.pin-check input {
  padding: 12px 18px; border: 2px solid var(--line); border-radius: 50px; outline: none; width: 200px;
  background: var(--card);
}
.pin-check input:focus { border-color: var(--saffron); }
.pin-msg { font-size: 13.5px; margin-top: 8px; width: 100%; }
.pin-msg.ok { color: var(--pista); font-weight: 600; }
.pin-msg.no { color: #c0392b; font-weight: 600; }

/* ---------- Page head ---------- */
.page-head {
  background: linear-gradient(120deg, var(--maroon-dark), var(--maroon));
  color: #fff; padding: 36px 0; position: relative; overflow: hidden;
}
.page-head::before {
  content: ''; position: absolute; inset: 0; opacity: .25;
  background-image: radial-gradient(rgba(255,255,255,.2) 1.5px, transparent 1.5px); background-size: 24px 24px;
}
.page-head h1 { color: #fff; font-size: clamp(26px, 3.5vw, 38px); position: relative; }
.page-head p { color: rgba(255,255,255,.8); position: relative; }
.page-head .link-btn { color: var(--saffron); }

/* ---------- Shop ---------- */
.shop-toolbar {
  display: flex; gap: 18px; align-items: flex-end; flex-wrap: wrap; background: var(--card);
  padding: 16px 20px; border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-bottom: 28px;
}
.filter-group label { display: block; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.filter-group select { padding: 9px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--cream); outline: none; min-width: 160px; }
.result-count { margin-left: auto; color: var(--muted); font-size: 14px; }
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state p { font-size: 18px; margin-bottom: 18px; color: var(--muted); }
.empty-state .btn { margin: 6px; }

/* ---------- Product detail ---------- */
.crumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 24px; }
.pd-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 44px; align-items: start; }
.pd-gallery { position: sticky; top: 110px; align-self: start; }
.pd-main {
  position: relative; background: linear-gradient(160deg, #fdf3e0, #faeacf);
  border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-sm);
}
.pd-main img { width: 100%; aspect-ratio: 1; object-fit: contain; transition: opacity .35s ease; }
.pd-main.photo { padding: 0; }
.pd-main.photo img { object-fit: cover; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pd-thumbs button { width: 70px; border: 2px solid var(--line); border-radius: 10px; background: var(--card); padding: 6px; }
.pd-thumbs button.active { border-color: var(--saffron); }
.pd-cat { display: flex; align-items: center; gap: 8px; font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--saffron-dark); margin-bottom: 8px; }
.pd-info h1 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 8px; }
.pd-rating { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.pd-price { font-size: 30px; font-weight: 700; color: var(--maroon); font-family: var(--font-display); margin-bottom: 20px; }
.pd-price .mrp { font-size: 17px; }
.pd-weights label, .pd-qty label { display: block; font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 8px; }
.weight-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.pill {
  padding: 9px 20px; border-radius: 50px; border: 2px solid var(--line); background: var(--card);
  font-weight: 600; font-size: 14px; color: var(--ink); transition: all .15s;
}
.pill.active { border-color: var(--maroon); background: var(--maroon); color: #fff; }
.pill.oos { opacity: .45; text-decoration: line-through; }
.qty-stepper { display: inline-flex; border: 2px solid var(--line); border-radius: 50px; overflow: hidden; background: var(--card); }
.qty-stepper button { width: 38px; height: 38px; border: none; background: transparent; font-size: 18px; color: var(--maroon); }
.qty-stepper button:hover { background: var(--cream-dark); }
.qty-stepper input { width: 44px; text-align: center; border: none; outline: none; font-weight: 600; -moz-appearance: textfield; }
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.pd-qty { margin-bottom: 22px; }
.pd-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.pd-pin { display: flex; gap: 10px; max-width: 380px; }
.pd-pin input { flex: 1; padding: 10px 16px; border: 2px solid var(--line); border-radius: 50px; outline: none; background: var(--card); }
.pd-share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.pd-share-label { font-size: 13px; font-weight: 600; color: var(--muted); }
.share-btn { font-size: 12.5px; font-weight: 600; padding: 6px 13px; border-radius: 50px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); transition: all .15s; }
.share-btn:hover { transform: translateY(-1px); }
.share-btn.wa:hover { background: var(--wa); color: #fff; border-color: var(--wa); }
.share-btn.fb:hover { background: #1877f2; color: #fff; border-color: #1877f2; }
.share-btn.tw:hover { background: #111; color: #fff; border-color: #111; }
.share-btn.copy:hover { background: var(--maroon); color: #fff; border-color: var(--maroon); }
.pd-desc { margin-top: 26px; border-top: 1px dashed var(--line); padding-top: 20px; }
.pd-desc h3 { margin-bottom: 8px; font-size: 19px; }
.pd-points { margin: 12px 0 0 0; list-style: none; }
.pd-points li { padding-left: 24px; position: relative; margin-bottom: 6px; font-size: 14px; }
.pd-points li::before { content: '✦'; position: absolute; left: 0; color: var(--saffron-dark); }
.pd-reviews { margin-top: 56px; }
.pd-reviews h2, .pd-related h2 { font-size: 26px; margin-bottom: 22px; }
.pd-review-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: start; }
.review-form { background: var(--card); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.review-form h3 { margin-bottom: 14px; }
.review-form input, .review-form textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  margin-bottom: 12px; outline: none; background: var(--cream); resize: vertical;
}
.verified-badge { display: inline-block; background: #e8f3e8; color: var(--pista); font-weight: 600; font-size: 13px; padding: 5px 14px; border-radius: 50px; margin-bottom: 12px; }
.review-gate p { margin-bottom: 14px; }
.review-gate .btn { margin-top: 4px; }
.rate-pick { display: flex; gap: 4px; margin-bottom: 12px; }
.rate-pick button { background: none; border: none; font-size: 26px; color: var(--line); transition: color .1s; }
.rate-pick button.lit { color: var(--saffron-dark); }
.pd-related { margin-top: 56px; }

/* ---------- Cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 30px; align-items: start; }
.cart-row {
  display: grid; grid-template-columns: 76px 1fr auto auto auto; gap: 16px; align-items: center;
  background: var(--card); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}
.cart-row img { width: 76px; height: 76px; object-fit: contain; background: var(--cream-dark); border-radius: 12px; padding: 8px; }
.cart-row-info { display: flex; flex-direction: column; }
.cart-row-name { font-weight: 600; color: var(--ink); }
.cart-row-info small { color: var(--muted); }
.cart-row-price { font-size: 13px; color: var(--muted); }
.cart-row-total { color: var(--maroon); font-size: 16px; }
.cart-remove { background: none; border: none; color: var(--muted); font-size: 16px; padding: 6px; }
.cart-remove:hover { color: #c0392b; }
.cart-summary {
  background: var(--card); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
  position: sticky; top: 130px; border-top: 4px solid var(--saffron);
}
.cart-summary h3 { margin-bottom: 14px; }
.free-nudge { background: var(--cream-dark); border: 1px dashed var(--saffron-dark); padding: 9px 14px; border-radius: 10px; font-size: 13.5px; margin-bottom: 14px; }
.free-nudge.ok { border-color: var(--pista); color: var(--pista); font-weight: 600; }
.sum-row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 14.5px; }
.sum-total { border-top: 2px solid var(--line); margin-top: 8px; padding-top: 12px; font-weight: 700; font-size: 18px; color: var(--maroon); }
.free { color: var(--pista); font-weight: 700; font-style: normal; }

/* ---------- Checkout ---------- */
.checkout-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; align-items: start; }
.co-card { background: var(--card); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); margin-bottom: 20px; }
.co-card h3 { margin-bottom: 16px; font-size: 19px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { margin-bottom: 14px; }
.form-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; color: var(--ink); }
.form-field input, .form-field select {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  outline: none; background: var(--cream); transition: border-color .15s;
}
.form-field input:focus, .form-field select:focus { border-color: var(--saffron); }
.check-line { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.saved-addr { margin-bottom: 14px; }
.saved-addr label { font-size: 13px; font-weight: 600; display: block; margin-bottom: 6px; }
.addr-chip {
  display: block; width: 100%; text-align: left; background: var(--cream); border: 1.5px dashed var(--saffron-dark);
  border-radius: 10px; padding: 10px 14px; margin-bottom: 8px; font-size: 13.5px; color: var(--ink);
}
.addr-chip:hover { background: var(--cream-dark); }
.pay-opt {
  display: flex; gap: 12px; align-items: flex-start; border: 2px solid var(--line); border-radius: 12px;
  padding: 14px 16px; margin-bottom: 12px; cursor: pointer; transition: border-color .15s;
}
.pay-opt:has(input:checked) { border-color: var(--maroon); background: var(--cream); }
.pay-opt input { margin-top: 4px; accent-color: var(--maroon); }
.pay-opt small { display: block; color: var(--muted); font-weight: 400; }
.coupon-box { display: flex; gap: 10px; margin: 14px 0 4px; }
.view-coupons-btn { background: none; border: none; color: var(--maroon); font-weight: 600; font-size: 13.5px; padding: 6px 2px; display: flex; align-items: center; gap: 6px; }
.view-coupons-btn span { transition: transform .15s; display: inline-block; }
.view-coupons-btn.open span { transform: rotate(90deg); }
.coupons-list { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 8px; }
.coupon-card { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1.5px dashed var(--saffron-dark); border-radius: 10px; padding: 9px 12px; background: var(--cream); }
.coupon-card.off { opacity: .65; border-color: var(--line); border-style: solid; }
.coupon-card-l { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.coupon-card-l strong { font-size: 14px; color: var(--maroon); letter-spacing: .5px; }
.coupon-card-l small { font-size: 12px; color: var(--muted); }
.cc-save { font-style: normal; font-size: 12px; color: var(--pista); font-weight: 600; }
.cc-no { font-style: normal; font-size: 11.5px; color: #c0392b; }
.cc-apply { flex-shrink: 0; background: var(--maroon); color: #fff; border: none; border-radius: 50px; font-size: 12px; font-weight: 700; padding: 7px 16px; letter-spacing: .5px; }
.cc-apply:hover { background: var(--saffron-dark); }
.coupon-box input { flex: 1; padding: 10px 14px; border: 1.5px dashed var(--saffron-dark); border-radius: 10px; outline: none; background: var(--cream); }
.co-item { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.co-item img { width: 48px; height: 48px; object-fit: contain; background: var(--cream-dark); border-radius: 8px; padding: 4px; }
.co-item small { display: block; color: var(--muted); font-size: 12.5px; }

/* ---------- Order success ---------- */
.success-wrap { max-width: 640px; }
.success-card { background: var(--card); border-radius: var(--radius); padding: 40px; text-align: center; box-shadow: var(--shadow); border-top: 5px solid var(--pista); }
.success-burst { font-size: 54px; margin-bottom: 8px; }
.success-card h1 { font-size: 30px; margin-bottom: 10px; }
.success-no { font-size: 17px; margin-bottom: 6px; }
.success-no strong { color: var(--maroon); font-family: var(--font-display); letter-spacing: 1px; }
.os-details { margin: 22px 0; text-align: left; }
.os-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 10px; }
.os-table td { padding: 8px 4px; border-bottom: 1px dashed var(--line); }
.os-table td:last-child { text-align: right; font-weight: 600; }
.os-total td { font-weight: 700; color: var(--maroon); border-bottom: none; font-size: 15.5px; }
.success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }

/* ---------- Track ---------- */
.track-wrap { max-width: 720px; }
.timeline { display: flex; align-items: center; margin: 22px 0 26px; flex-wrap: wrap; gap: 4px; }
.tl-step { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 86px; }
.tl-dot {
  width: 34px; height: 34px; border-radius: 50%; background: var(--cream-dark); border: 2px solid var(--line);
  display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff;
}
.tl-step.done .tl-dot { background: var(--pista); border-color: var(--pista); }
.tl-label { font-size: 12px; font-weight: 600; color: var(--muted); text-align: center; }
.tl-step.done .tl-label { color: var(--pista); }
.tl-bar { flex: 1; height: 3px; background: var(--line); min-width: 14px; border-radius: 2px; }

/* ---------- Account ---------- */
.account-wrap { max-width: 460px; }
.tabs { display: flex; gap: 8px; margin-bottom: 22px; background: var(--cream-dark); border-radius: 50px; padding: 5px; }
.tab { flex: 1; padding: 10px; border: none; background: transparent; border-radius: 50px; font-weight: 600; color: var(--muted); }
.tab.active { background: var(--maroon); color: #fff; }
.account-cols { display: grid; grid-template-columns: 1.7fr 1fr; gap: 30px; align-items: start; }
.sub-head { font-size: 22px; margin-bottom: 18px; }
.order-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; gap: 10px; flex-wrap: wrap; }
.order-card-head small { display: block; color: var(--muted); font-size: 12.5px; }
.status-pill { font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 50px; background: var(--cream-dark); color: var(--ink); white-space: nowrap; }
.st-placed { background: #fff3d6; color: var(--saffron-dark); }
.st-confirmed, .st-preparing { background: #e7f0fa; color: #2c6cb0; }
.st-out-for-delivery { background: #fdeee2; color: #c4641d; }
.st-delivered { background: #e8f3e8; color: var(--pista); }
.st-cancelled, .st-payment-pending { background: #fdeaea; color: #c0392b; }
.addr-card p { font-size: 14px; margin-bottom: 8px; }

/* ---------- Policy / About pages ---------- */
.policy-page { max-width: 760px; }
.policy-page h3 { font-size: 20px; color: var(--maroon); margin: 26px 0 10px; }
.policy-page p { font-size: 15px; line-height: 1.7; margin-bottom: 12px; }
.policy-list { list-style: none; margin: 0 0 12px; padding: 0; }
.policy-list li { position: relative; padding-left: 22px; margin-bottom: 9px; font-size: 14.5px; line-height: 1.6; }
.policy-list li::before { content: '✦'; position: absolute; left: 0; color: var(--saffron-dark); }
.policy-page .btn { margin-top: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--maroon-deep); color: rgba(255,255,255,.82); margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; padding: 48px 20px 36px; }
.site-footer h4 { color: var(--saffron); font-family: var(--font-display); font-size: 17px; margin-bottom: 14px; }
.site-footer a { display: block; color: rgba(255,255,255,.78); font-size: 14px; padding: 3px 0; }
.site-footer a:hover { color: var(--saffron); }
.site-footer p { font-size: 14px; margin-bottom: 8px; }
.footer-logo { width: 210px; max-width: 75%; margin-bottom: 16px; }
.footer-about { max-width: 300px; }
.footer-fssai { font-size: 12px !important; color: rgba(255,255,255,.5); }
.footer-social { display: flex; gap: 16px; margin-top: 10px; }
.footer-social a { display: inline; }
.footer-hours { color: var(--saffron); font-size: 13px !important; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0; font-size: 12.5px; color: rgba(255,255,255,.55); }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

/* ---------- Lazy-load image placeholders (shimmer until loaded) ---------- */
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.img-loading { background: linear-gradient(90deg, #f1e4d0 25%, #faf0df 37%, #f1e4d0 63%); background-size: 200% 100%; animation: shimmer 1.3s infinite linear; }

/* ---------- WhatsApp float & toasts ---------- */
.wa-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 95; width: 56px; height: 56px;
  background: var(--wa); border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .45); transition: transform .15s;
}
.wa-float:hover { transform: scale(1.1); }
.toast-wrap { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 99; display: flex; flex-direction: column; gap: 10px; width: min(440px, 92vw); }
.toast {
  background: var(--maroon-deep); color: #fff; padding: 13px 18px; border-radius: 12px;
  display: flex; justify-content: space-between; gap: 14px; align-items: center;
  box-shadow: var(--shadow); opacity: 0; translate: 0 16px; transition: all .35s ease; font-size: 14px;
  border-left: 4px solid var(--saffron);
}
.toast.show { opacity: 1; translate: 0 0; }
.toast a { color: var(--saffron); font-weight: 600; white-space: nowrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .p-grid, .gift-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .pd-grid, .pd-review-grid, .cart-layout, .checkout-layout, .account-cols { grid-template-columns: 1fr; }
  .pd-gallery { position: static; }
  .review-grid { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .search-bar { order: 3; max-width: none; width: 100%; }
  .header-inner { flex-wrap: wrap; gap: 12px; }
  .nav-toggle { display: block; }
  .main-nav { display: none; }
  .main-nav.open { display: block; }
  .nav-inner { flex-direction: column; gap: 0; }
  .nav-inner a { border-bottom: 1px solid rgba(255,255,255,.1); }
  .h-label { display: none; }
}
@media (max-width: 600px) {
  .p-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .gift-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .form-row { grid-template-columns: 1fr; }
  .cart-row { grid-template-columns: 64px 1fr auto; row-gap: 10px; }
  .cart-row-total { grid-column: 2; }
  .cart-remove { grid-column: 3; grid-row: 1; }
  .p-body { padding: 11px 12px 13px; }
  .section { padding: 40px 0; }
  .pd-actions .btn { flex: 1; padding: 12px 10px; font-size: 14px; }
}
