/* ═══ IndiaOffers.in v2 — public styles. Palette lives in :root, swap freely. ═══ */
:root {
  --primary: #4f46e5; --primary-dark: #3730a3; --primary-soft: #eef2ff;
  --accent: #f59e0b; --accent-soft: #fffbeb;
  --ink: #0f172a; --body: #334155; --muted: #64748b;
  --bg: #f8fafc; --card: #ffffff; --line: #e2e8f0;
  --good: #059669; --good-soft: #ecfdf5; --danger: #e11d48;
  --r: 14px; --shadow: 0 6px 24px rgba(15,23,42,.06);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, 'Segoe UI', Roboto, 'Noto Sans', sans-serif; background: var(--bg); color: var(--body); line-height: 1.55; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }

/* top strip + header */
.topbar { background: var(--ink); color: #cbd5e1; text-align: center; font-size: 12.5px; padding: 7px 14px; }
.topbar b { color: #fff; }
.header { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-in { max-width: 1240px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 9px; font-size: 19px; font-weight: 800; letter-spacing: -.2px; color: #0c2b55; white-space: nowrap; }
.brand em { font-style: normal; color: inherit; }
.search { flex: 1; max-width: 520px; display: flex; background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; }
.search input { flex: 1; border: 0; background: transparent; padding: 10px 14px; font-size: 14px; outline: none; }
.search:focus-within { border-color: var(--primary); background: #fff; }
.search button { border: 0; background: transparent; padding: 0 14px; cursor: pointer; font-size: 15px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 14px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--body); }
.nav a:hover { background: var(--bg); color: var(--primary); }
.nav a.on { background: var(--primary-soft); color: var(--primary); }

/* hamburger — hidden on desktop, shown on mobile only when JS is active */
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); cursor: pointer; padding: 0 11px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

main { min-height: 60vh; padding-bottom: 50px; }

/* hero banners */
.banner-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 22px 0 6px; }
.banner { position: relative; border-radius: var(--r); overflow: hidden; min-height: 190px; display: flex; align-items: flex-end; background-size: cover; background-position: center; color: #fff; box-shadow: var(--shadow); transition: transform .18s; }
.banner:hover { transform: translateY(-3px); }
.banner-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2,6,23,.15), rgba(2,6,23,.78)); }
.banner-txt { position: relative; padding: 20px; }
.banner-txt h2 { font-size: 21px; font-weight: 800; line-height: 1.2; }
.banner-txt p { font-size: 13px; opacity: .9; margin: 6px 0 10px; }
.banner-cta { font-size: 12.5px; font-weight: 700; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); padding: 5px 12px; border-radius: 50px; }

/* the stack explainer line */
.stackline { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; background: var(--card); border: 1px dashed var(--line); border-radius: var(--r); padding: 14px 18px; margin: 16px 0; font-size: 13.5px; }
.sl-item { background: var(--bg); padding: 6px 13px; border-radius: 50px; font-weight: 600; }
.sl-final { background: var(--good-soft); color: var(--good); }
.sl-plus, .sl-eq { font-weight: 800; color: var(--muted); }

/* categories */
.cat-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 8px 0 22px; }
.cat { display: flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); padding: 9px 16px; border-radius: 50px; font-size: 13.5px; font-weight: 600; transition: all .15s; }
.cat:hover { border-color: var(--primary); color: var(--primary); }
.cat span { font-size: 16px; }

/* section heads */
.sec-head { display: flex; justify-content: space-between; align-items: baseline; margin: 26px 0 14px; }
.sec-head h2 { font-size: 21px; font-weight: 800; color: var(--ink); }
.sec-head a { font-size: 13.5px; font-weight: 700; color: var(--primary); }
.page-head { margin: 26px 0 16px; }
.page-head h1 { font-size: 27px; font-weight: 800; color: var(--ink); }
.page-head p { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* offer strip cards */
.offer-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.offer-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; transition: all .15s; }
.offer-card:not(.static):hover { border-color: var(--primary); box-shadow: var(--shadow); }
.oc-bank { font-size: 12px; font-weight: 800; color: var(--primary); display: flex; justify-content: space-between; }
.oc-bank span { color: var(--muted); font-weight: 700; font-size: 10.5px; background: var(--bg); padding: 2px 7px; border-radius: 5px; }
.oc-title { font-size: 13.5px; font-weight: 700; color: var(--ink); margin: 6px 0 4px; }
.oc-meta { font-size: 12px; color: var(--muted); }

/* deal cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: all .18s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cbd5e1; }
.card-img { height: 160px; background: var(--bg) center/cover; position: relative; }
.chip { font-size: 11px; font-weight: 800; padding: 4px 9px; border-radius: 7px; letter-spacing: .3px; }
.chip-off { background: var(--danger); color: #fff; }
.card-img .chip-off { position: absolute; top: 10px; left: 10px; }
.card-img .chip-badge { position: absolute; top: 10px; right: 10px; }
.chip-badge { background: var(--ink); color: #fff; }
.card-body { padding: 13px 15px 15px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-store { font-size: 11.5px; font-weight: 700; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.card-store i, .dd-store i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
.card-title { font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 38px; }
.card-prices { display: flex; align-items: baseline; gap: 8px; }
.card-prices b { font-size: 17px; color: var(--ink); }
.card-prices s { font-size: 12.5px; color: var(--muted); }
.card-true { margin-top: auto; background: var(--good-soft); border-radius: 9px; padding: 7px 10px; font-size: 12px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.card-true b { color: var(--good); font-size: 14px; }
.tp-label { text-transform: uppercase; font-size: 9.5px; font-weight: 800; color: var(--good); letter-spacing: .6px; }
.tp-with { color: var(--muted); font-size: 11px; }
.card-true.muted { background: var(--bg); color: var(--muted); font-size: 11.5px; }

/* filters */
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.f { background: var(--card); border: 1px solid var(--line); padding: 7px 14px; border-radius: 50px; font-size: 13px; font-weight: 600; }
.f.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.f-spacer { flex: 1; }
.empty { text-align: center; padding: 50px 20px; color: var(--muted); background: var(--card); border-radius: var(--r); }

/* deal detail */
.crumbs { font-size: 12.5px; color: var(--muted); margin: 18px 0 14px; }
.crumbs a { color: var(--primary); }
.dd { display: grid; grid-template-columns: minmax(300px, 440px) 1fr; gap: 30px; background: var(--card); border-radius: 18px; padding: 26px; box-shadow: var(--shadow); }
.dd-media img { width: 100%; border-radius: 12px; aspect-ratio: 4/3; object-fit: cover; background: var(--bg); }
.dd-store { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--muted); background: var(--bg); padding: 5px 13px; border-radius: 50px; margin-bottom: 10px; }
.dd-main h1 { font-size: 24px; font-weight: 800; color: var(--ink); line-height: 1.25; margin-bottom: 12px; }
.dd-prices { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.dd-price { font-size: 32px; font-weight: 800; color: var(--ink); }
.dd-prices s { color: var(--muted); font-size: 16px; }
.codebox { display: inline-flex; align-items: center; gap: 16px; border: 2px dashed var(--accent); background: var(--accent-soft); border-radius: 12px; padding: 10px 16px; margin-bottom: 14px; }
.codebox small { display: block; font-size: 10px; font-weight: 800; color: #92400e; letter-spacing: .8px; }
.codebox .code { font-size: 17px; font-weight: 800; letter-spacing: 1.5px; color: #92400e; }
.btn-copy { background: var(--accent); color: #fff; border: 0; padding: 8px 16px; border-radius: 9px; font-weight: 700; font-size: 12.5px; cursor: pointer; }
.btn-copy:hover { filter: brightness(.94); }

/* savings stack widget */
.stack { border: 1.5px solid var(--line); border-radius: var(--r); overflow: hidden; margin: 6px 0 16px; }
.stack-head { background: var(--primary-soft); color: var(--primary); font-weight: 800; font-size: 13.5px; padding: 10px 16px; }
.stack-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 16px; border-top: 1px solid var(--line); font-size: 13.5px; }
.stack-row.best { background: var(--good-soft); }
.sr-left b { color: var(--ink); }
.sr-inst { color: var(--muted); font-size: 12px; }
.sr-left small { display: block; color: var(--muted); font-size: 11.5px; }
.sr-right { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.sr-save { color: var(--danger); font-weight: 700; font-size: 12.5px; }
.sr-eff { color: var(--good); font-size: 15px; }
.sr-tag { background: var(--good); color: #fff; font-size: 9.5px; font-weight: 800; padding: 3px 7px; border-radius: 5px; letter-spacing: .5px; }
.stack-total { padding: 9px 16px; border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--muted); }
.stack-total b { color: var(--good); }

.btn-go { display: inline-block; text-align: center; background: var(--primary); color: #fff; font-weight: 700; font-size: 14px; padding: 11px 22px; border-radius: 10px; box-shadow: 0 4px 12px rgba(79,70,229,.25); transition: all .15s; }
.btn-go:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-go.sm { display: inline-block; font-size: 13.5px; padding: 10px 18px; box-shadow: none; }
.dd-meta { font-size: 12.5px; color: var(--muted); margin-top: 10px; }

.panel { background: var(--card); border-radius: var(--r); padding: 22px 24px; margin-top: 18px; box-shadow: var(--shadow); }
.panel h2 { font-size: 17px; font-weight: 800; color: var(--ink); margin-bottom: 12px; }
/* Keep the description exactly as typed/pasted: preserve line breaks and spacing */
.deal-desc { white-space: pre-wrap; word-break: break-word; }
.steps { margin-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.steps li::marker { color: var(--primary); font-weight: 800; }
/* Grab button just below the price, then "How to get this deal" beneath it */
.dd-action { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 16px; }
.dd-grab { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.dd-grab .dd-meta { margin: 0; }
.dd-howto { align-self: stretch; background: var(--primary-soft); border: 1px solid #c7d2fe; border-radius: 12px; padding: 16px 18px; }
.dd-howto-h { font-size: 16px; font-weight: 800; color: var(--ink); margin-bottom: 12px; letter-spacing: -.01em; }
.dd-howto .steps { margin-left: 18px; gap: 7px; font-size: 14px; color: var(--body); }
.dd-howto .steps li::marker { color: var(--primary); font-weight: 800; }
.dd-grab { flex: 0 0 auto; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 8px; }
.dd-grab .dd-meta { margin: 0; }
/* Savings woven into the how-to steps: highlight the effective price */
.dd-howto .steps .hi-price { color: var(--good); }

.coupon-list { display: flex; flex-direction: column; gap: 10px; }
.coupon { display: flex; justify-content: space-between; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 11px; padding: 11px 15px; }
.coupon b { font-size: 13.5px; color: var(--ink); }
.coupon small { display: block; color: var(--muted); font-size: 12px; }
.coupon .btn-copy { border: 1.5px dashed #b45309; background: var(--accent-soft); color: #92400e; letter-spacing: 1px; }

/* bank offers page */
.offer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.offer-big { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; display: flex; flex-direction: column; gap: 9px; }
.ob-top { display: flex; justify-content: space-between; align-items: center; }
.ob-bank { font-weight: 800; color: var(--primary); font-size: 14px; }
.ob-inst { font-size: 10px; font-weight: 800; background: var(--bg); color: var(--muted); padding: 3px 8px; border-radius: 5px; letter-spacing: .5px; }
.offer-big h3 { font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.ob-facts { display: flex; flex-wrap: wrap; gap: 6px; }
.ob-facts span { font-size: 11.5px; background: var(--primary-soft); color: var(--primary-dark); padding: 3px 9px; border-radius: 50px; font-weight: 600; }
.ob-foot { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 9px; }
.ob-link { font-size: 12.5px; font-weight: 700; color: var(--primary); }

/* stores */
.store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.store-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 16px; display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; transition: all .15s; }
.store-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.sc-logo { width: 54px; height: 54px; border-radius: 14px; color: #fff; font-weight: 800; font-size: 23px; display: flex; align-items: center; justify-content: center; }
.sc-logo.lg { width: 72px; height: 72px; font-size: 30px; }
/* When a store has an uploaded logo, show it on a clean white tile (contain, so
   wide wordmarks and square icons both fit without cropping). */
.sc-logo.has-logo { background: #fff; border: 1px solid var(--line); padding: 6px; overflow: hidden; }
.sc-logo.has-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.store-card b { color: var(--ink); font-size: 14.5px; }
.store-card small { color: var(--muted); font-size: 12px; }
.sc-cb { font-size: 11px; font-weight: 700; color: var(--good); background: var(--good-soft); padding: 3px 9px; border-radius: 50px; }
.store-hero { display: flex; align-items: center; gap: 20px; background: var(--card); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); flex-wrap: wrap; }
.store-hero h1 { font-size: 23px; color: var(--ink); }
.store-hero p { color: var(--muted); font-size: 13.5px; margin: 4px 0 8px; }
.store-hero .btn-go { margin-left: auto; }

/* footer */
.footer { background: var(--ink); color: #94a3b8; margin-top: 40px; }
.footer-in { max-width: 1240px; margin: 0 auto; padding: 40px 20px 24px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.footer .brand { color: #fff; font-size: 17px; margin-bottom: 10px; }
.footer p { font-size: 13px; line-height: 1.6; }
.footer h4 { color: #e2e8f0; font-size: 13px; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .6px; }
.footer a:not(.brand) { display: block; font-size: 13px; padding: 3px 0; }
.footer a:hover { color: #fff; }
.footer-note { border-top: 1px solid #1e293b; text-align: center; font-size: 12px; padding: 16px; }
.pwa-install { margin-top: 14px; background: var(--primary); color: #fff; border: 0; font-weight: 700; font-size: 13px; padding: 10px 16px; border-radius: 10px; cursor: pointer; }
.pwa-install:hover { background: var(--primary-dark); }

/* ═══ shared buttons ═══ */
.btn-primary { display: inline-block; text-align: center; background: var(--primary); color: #fff; font-weight: 800; font-size: 14px; padding: 11px 20px; border-radius: 11px; border: 0; cursor: pointer; transition: all .15s; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-primary.btn-lg { font-size: 15.5px; padding: 14px 26px; box-shadow: 0 6px 18px rgba(79,70,229,.28); }
.btn-ghost { display: inline-block; text-align: center; background: transparent; border: 1.5px solid var(--line); color: var(--body); font-weight: 700; font-size: 13.5px; padding: 10px 18px; border-radius: 11px; cursor: pointer; }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.panel-block { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; margin-bottom: 16px; }
.panel-block h2 { font-size: 17px; font-weight: 800; color: var(--ink); margin-bottom: 12px; }
.panel-block h3 { font-size: 14px; font-weight: 800; color: var(--ink); margin-bottom: 10px; }
.ticklist { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.ticklist li { position: relative; padding-left: 26px; font-size: 14px; }
.ticklist li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--good); font-weight: 800; }
.steplist { margin-left: 20px; display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.steplist li::marker { color: var(--primary); font-weight: 800; }
.video-wrap { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; background: #000; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mini-offer { display: block; font-size: 13px; font-weight: 600; color: var(--primary); padding: 7px 0; border-bottom: 1px solid var(--line); }
.mini-offer:last-child { border-bottom: 0; }

/* ═══ home hero: 3 recent deals as banners ═══ */
.hero-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 22px 0 6px; }
.hero-banner { position: relative; border-radius: var(--r); overflow: hidden; min-height: 260px; display: flex; align-items: flex-end; color: #fff; box-shadow: var(--shadow); transition: transform .18s; }
.hero-banner:hover { transform: translateY(-3px); }
.hero-banner .hb-img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .3s; }
.hero-banner:hover .hb-img { transform: scale(1.05); }
.hero-banner .hb-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2,6,23,.05) 30%, rgba(2,6,23,.85)); }
.hb-txt { position: relative; padding: 18px; width: 100%; }
.hb-tag { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .5px; background: var(--sc, var(--primary)); color: #fff; padding: 3px 9px; border-radius: 6px; margin-bottom: 8px; }
.hb-txt h2 { font-size: 18px; font-weight: 800; line-height: 1.25; }
.hb-price { display: flex; align-items: baseline; gap: 8px; margin: 8px 0 4px; flex-wrap: wrap; }
.hb-price b { font-size: 20px; }
.hb-price s { opacity: .7; font-size: 13px; }
.hb-off { background: var(--danger); font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 5px; }
.hb-true { display: block; font-size: 11.5px; background: rgba(16,185,129,.9); padding: 3px 9px; border-radius: 6px; width: fit-content; margin-bottom: 8px; font-weight: 700; }
.hb-cta { font-size: 12.5px; font-weight: 800; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.4); padding: 6px 13px; border-radius: 50px; }

/* ═══ bank cards ═══ */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.bankcard { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: all .18s; }
.bankcard:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.bc-visual { height: 150px; background: linear-gradient(120deg, var(--primary), var(--primary-dark)); background-size: cover; background-position: center; position: relative; display: block; }
.bc-flag { position: absolute; top: 12px; left: 12px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 6px; }
.bc-network { position: absolute; bottom: 12px; right: 14px; color: #fff; font-weight: 800; font-size: 13px; letter-spacing: .5px; text-shadow: 0 1px 4px rgba(0,0,0,.4); }
.bc-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bc-bank { font-size: 11.5px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }
.bc-body h3 { font-size: 16px; font-weight: 800; color: var(--ink); line-height: 1.3; }
.bc-tag { font-size: 13px; color: var(--body); }
.bc-benefits { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.bc-benefits li { position: relative; padding-left: 20px; font-size: 12.5px; color: var(--body); }
.bc-benefits li::before { content: '✓'; position: absolute; left: 0; color: var(--good); font-weight: 800; }
.bc-fees { display: flex; gap: 16px; font-size: 12px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 10px; }
.bc-fees b { color: var(--ink); display: block; font-size: 13px; }
.bc-actions { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-top: 4px; }
.bc-best { font-size: 11.5px; color: var(--muted); }

/* card detail */
.cd-top { display: grid; grid-template-columns: 320px 1fr; gap: 28px; background: var(--card); border-radius: 18px; padding: 26px; box-shadow: var(--shadow); margin-bottom: 8px; }
.cd-visual { border-radius: 14px; min-height: 200px; background: linear-gradient(120deg, var(--primary), var(--primary-dark)); background-size: cover; background-position: center; position: relative; }
.cd-head h1 { font-size: 26px; font-weight: 800; color: var(--ink); line-height: 1.2; margin: 4px 0 8px; }
.cd-tag { color: var(--body); font-size: 14.5px; margin-bottom: 14px; }
.cd-fees { display: flex; gap: 22px; flex-wrap: wrap; margin-bottom: 16px; }
.cd-fees > div span { font-size: 11.5px; color: var(--muted); display: block; }
.cd-fees > div b { font-size: 15px; color: var(--ink); }
.cd-head .btn-primary { margin-right: 10px; }
.cd-grid { display: grid; grid-template-columns: 1fr 320px; gap: 20px; margin-top: 16px; }

/* ═══ buying guides ═══ */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.guide-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: all .18s; }
.guide-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.gc-img { height: 170px; background: var(--bg) center/cover; position: relative; }
.gc-badge { position: absolute; top: 12px; left: 12px; background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 800; padding: 4px 10px; border-radius: 7px; }
.gc-body { padding: 16px 18px; }
.gc-body h3 { font-size: 17px; font-weight: 800; color: var(--ink); line-height: 1.3; }
.gc-body p { font-size: 13px; color: var(--muted); margin: 6px 0 10px; }
.gc-cta { font-size: 13px; font-weight: 800; color: var(--primary); }

.guide-detail .gd-head { margin: 6px 0 18px; }
.gd-head h1 { font-size: 28px; font-weight: 800; color: var(--ink); line-height: 1.2; }
.gd-sub { font-size: 15px; color: var(--body); margin-top: 6px; font-weight: 600; }
.gd-intro { font-size: 14px; color: var(--muted); margin-top: 8px; max-width: 780px; }
.gd-video { max-width: 780px; margin-bottom: 22px; }
.pick-list { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.pick { display: grid; grid-template-columns: 44px 220px 1fr; gap: 20px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; box-shadow: var(--shadow); }
.pk-rank { font-size: 24px; font-weight: 800; color: var(--primary); }
.pk-img { border-radius: 12px; min-height: 170px; background: var(--bg) center/cover; }
.pk-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.pk-award { background: var(--accent-soft); color: #92400e; font-size: 11.5px; font-weight: 800; padding: 4px 10px; border-radius: 50px; }
.pk-top h2 { font-size: 19px; font-weight: 800; color: var(--ink); }
.pk-price { font-size: 18px; font-weight: 800; color: var(--good); margin-left: auto; }
.pk-specs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.spec { font-size: 11.5px; background: var(--bg); color: var(--body); padding: 4px 10px; border-radius: 50px; font-weight: 600; }
.pk-procon { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 12px; }
.pk-procon h4 { font-size: 12.5px; margin-bottom: 6px; }
.pk-procon ul { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.pk-procon li { font-size: 12.5px; padding-left: 4px; }
.pros { background: var(--good-soft); border-radius: 10px; padding: 12px 14px; }
.cons { background: #fef2f2; border-radius: 10px; padding: 12px 14px; }
.pk-why { font-size: 13.5px; background: var(--primary-soft); border-radius: 10px; padding: 12px 14px; margin-bottom: 12px; }
.pk-why b { color: var(--primary-dark); }
.pk-video { max-width: 480px; margin-bottom: 12px; }
.pk-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ═══ auth + account ═══ */
.auth-wrap { display: flex; justify-content: center; padding: 30px 0; }
.auth-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 30px 32px; width: 100%; max-width: 420px; box-shadow: var(--shadow); }
.auth-card.wide { max-width: 720px; }
.auth-card h1 { font-size: 23px; font-weight: 800; color: var(--ink); }
.auth-sub { font-size: 13.5px; color: var(--muted); margin: 6px 0 18px; }
.auth-alt { font-size: 13px; color: var(--muted); margin-top: 14px; text-align: center; }
.auth-alt a, .form-err a { color: var(--primary); font-weight: 700; }
.form-err { background: #fef2f2; color: #b91c1c; padding: 10px 14px; border-radius: 10px; font-size: 13px; margin-bottom: 14px; }
.form-ok { background: var(--good-soft); color: var(--good); padding: 10px 14px; border-radius: 10px; font-size: 13.5px; font-weight: 700; margin-bottom: 16px; }
.acc-form { display: flex; flex-direction: column; gap: 14px; }
.acc-form > label { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.acc-form input:not([type=checkbox]), .acc-form textarea { padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 10px; font-size: 14px; outline: none; font-family: inherit; }
.acc-form input:focus { border-color: var(--primary); }
.acc-form input:disabled { background: var(--bg); color: var(--muted); }
.af-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.af-grid.two { grid-template-columns: 1fr 1fr; }
.af-grid label, .af-grid .ro { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.af-checks { display: flex; flex-direction: column; gap: 10px; }
.chk { flex-direction: row !important; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 500 !important; color: var(--body) !important; }
.chk input { width: 17px; height: 17px; }
.af-fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.af-fieldset legend { font-size: 13px; font-weight: 800; color: var(--ink); padding: 0 8px; }
.af-hint { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.chip-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.pick-chip { position: relative; }
.pick-chip input { position: absolute; opacity: 0; }
.pick-chip span { display: inline-block; font-size: 12.5px; font-weight: 600; border: 1.5px solid var(--line); background: var(--bg); padding: 7px 13px; border-radius: 50px; cursor: pointer; transition: all .12s; }
.pick-chip input:checked + span { background: var(--primary-soft); border-color: var(--primary); color: var(--primary); }
.pick-chip input:focus-visible + span { outline: 2px solid var(--primary); }

.account-page .acc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.acc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.acc-col .acc-form, form.panel-block { display: flex; flex-direction: column; gap: 14px; }
.pb-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.pb-head h2 { margin-bottom: 0; }
.lnk { background: none; border: 0; color: var(--primary); font-weight: 700; font-size: 13px; cursor: pointer; }
.alert-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.alert-item { display: flex; justify-content: space-between; gap: 12px; border: 1px solid var(--line); border-radius: 11px; padding: 12px 14px; }
.alert-item.unread { border-color: var(--primary); background: var(--primary-soft); }
.al-body b { font-size: 13.5px; color: var(--ink); }
.al-body p { font-size: 12.5px; color: var(--body); margin: 3px 0 5px; }
.al-body a { font-size: 12.5px; font-weight: 700; color: var(--primary); }
.al-date { font-size: 11px; color: var(--muted); white-space: nowrap; }

@media (max-width: 900px) {
  .banner-row { grid-template-columns: 1fr; }
  .hero-row { grid-template-columns: 1fr; }
  .dd { grid-template-columns: 1fr; padding: 18px; }
  .cd-top { grid-template-columns: 1fr; }
  .cd-grid { grid-template-columns: 1fr; }
  .acc-grid { grid-template-columns: 1fr; }
  .pick { grid-template-columns: 1fr; }
  .pk-procon { grid-template-columns: 1fr; }
  /* header → hamburger nav */
  .header-in { flex-wrap: wrap; gap: 12px; }
  .brand { order: 1; }
  .nav-toggle { order: 2; margin-left: auto; }
  .js-nav .nav-toggle { display: flex; }
  .search { order: 3; min-width: 100%; }
  .nav { order: 4; width: 100%; flex-direction: column; gap: 2px; margin-left: 0; }
  .nav a { padding: 12px 14px; border-radius: 10px; }
  .nav a.acct { background: var(--bg); }
  .js-nav .nav { display: none; }
  .js-nav .nav.open { display: flex; }
  .footer-in { grid-template-columns: 1fr 1fr; }
  .store-hero .btn-go { margin-left: 0; }
  .af-grid, .af-grid.two { grid-template-columns: 1fr; }
  .cat-tree { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═══ phones (≤600px) — typography, spacing, compact grids ═══ */
@media (max-width: 600px) {
  .wrap { padding: 0 14px; }
  .topbar { font-size: 11.5px; padding: 6px 12px; }
  .header-in { padding: 10px 14px; }
  main { padding-bottom: 34px; }

  /* headings scale down */
  .page-head h1 { font-size: 22px; }
  .page-head p { font-size: 13px; }
  .sec-head { margin: 22px 0 12px; }
  .sec-head h2 { font-size: 18px; }
  .gd-head h1 { font-size: 22px; }
  .cd-head h1 { font-size: 21px; }
  .dd-main h1 { font-size: 20px; }
  .dd-price { font-size: 26px; }

  /* grids → phone layout */
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .store-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .offer-row, .offer-grid, .card-grid, .guide-grid { grid-template-columns: 1fr; }
  .footer-in { grid-template-columns: 1fr 1fr; gap: 22px 18px; padding: 28px 16px 20px; }

  /* deal cards compact */
  .card-img { height: 132px; }
  .card-body { padding: 11px 12px 13px; }
  .card-title { font-size: 13px; min-height: 34px; }
  .card-prices b { font-size: 15px; }

  /* deal detail */
  .dd { padding: 14px; gap: 18px; }
  .dd-media img { aspect-ratio: 16/10; }
  .dd-prices { flex-wrap: wrap; gap: 8px; }
  .codebox { width: 100%; justify-content: space-between; }

  /* misc */
  .store-hero { padding: 18px; }
  .store-hero h1 { font-size: 20px; }
  .pick { padding: 16px; }
  .pk-top h2 { font-size: 17px; }
  .pk-price { margin-left: 0; }
  .cat-tile { padding: 16px 10px; }
  .cat-tile .cat-ico { font-size: 26px; }
  .cat-tile .cat-name { font-size: 13px; }
  .auth-card { padding: 24px 20px; }
}

/* ── Category tree (homepage) ─────────────────────────────────────────────── */
.cat-tree { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 10px 0 22px; }
.ct-dept { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 15px; }
.ct-dept-head { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 800; color: var(--ink); padding-bottom: 9px; margin-bottom: 9px; border-bottom: 1px solid var(--line); }
.ct-dept-head span { font-size: 18px; }
.ct-dept-head:hover { color: var(--primary); }
.ct-grp { margin-bottom: 11px; }
.ct-grp:last-child { margin-bottom: 0; }
.ct-grp-head { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; color: var(--muted); margin-bottom: 5px; }
.ct-grp-head:hover { color: var(--primary); }
.ct-leaves { display: flex; flex-direction: column; gap: 3px; }
.ct-leaf { font-size: 13px; color: var(--body); padding: 3px 0; }
.ct-leaf:hover { color: var(--primary); }

/* ── Category tiles (homepage — parent departments only) ──────────────────── */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 10px 0 22px; }
.cat-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 14px; transition: border-color .15s, transform .15s, box-shadow .15s; }
.cat-tile:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.06); }
.cat-tile .cat-ico { font-size: 30px; line-height: 1; }
.cat-tile .cat-name { font-size: 14px; font-weight: 700; color: var(--ink); }

/* ── Searchable grouped multi-select ──────────────────────────────────────── */
.msearch { position: relative; }
.ms-control { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; border: 1.5px solid var(--line); background: var(--bg); border-radius: 10px; padding: 7px 34px 7px 10px; min-height: 44px; cursor: text; }
.msearch.js:focus-within .ms-control { border-color: var(--primary); }
.ms-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ms-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--primary-soft); color: var(--primary); border: 1px solid var(--primary); font-size: 12.5px; font-weight: 600; padding: 4px 6px 4px 11px; border-radius: 50px; }
.ms-chip button { border: none; background: rgba(0,0,0,.08); color: inherit; width: 17px; height: 17px; line-height: 15px; border-radius: 50%; cursor: pointer; font-size: 13px; }
.ms-chip button:hover { background: var(--danger); color: #fff; }
.ms-search { flex: 1; min-width: 120px; border: none; outline: none; background: transparent; font-size: 13.5px; color: var(--ink); padding: 3px 0; }
.ms-caret { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 12px; pointer-events: auto; cursor: pointer; }
.ms-menu { position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 5px); max-height: 280px; overflow-y: auto; background: var(--card); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); padding: 6px; }
.ms-glabel { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; color: var(--muted); padding: 8px 8px 4px; }
.ms-opt { display: flex; align-items: center; gap: 9px; padding: 7px 8px; border-radius: 7px; font-size: 13.5px; color: var(--body); cursor: pointer; }
.ms-opt:hover { background: var(--primary-soft); }
.ms-opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.ms-tick { flex: 0 0 auto; width: 17px; height: 17px; border: 1.5px solid var(--line); border-radius: 5px; display: inline-block; position: relative; }
.ms-opt input:checked + .ms-tick { background: var(--primary); border-color: var(--primary); }
.ms-opt input:checked + .ms-tick::after { content: '✓'; color: #fff; font-size: 12px; position: absolute; top: -1px; left: 2px; }
.ms-empty { padding: 12px; text-align: center; color: var(--muted); font-size: 13px; }
/* No-JS fallback: show the plain scrollable checkbox list, hide search chrome */
.ms-control, .ms-caret { }
.msearch:not(.js) .ms-control { display: none; }
.msearch:not(.js) .ms-menu { position: static; box-shadow: none; max-height: 220px; margin-top: 0; border-color: var(--line); }
.msearch:not(.js) .ms-glabel:first-child { padding-top: 2px; }
.msearch.js .ms-opt input:checked + .ms-tick + .ms-otext { color: var(--ink); font-weight: 600; }

/* ═══ SEO landing pages (loot deals, ₹1 deals, coupons …) ═══════════════════ */
.page-head .lead { color: var(--body); font-size: 14.5px; margin-top: 8px; max-width: 760px; }
.page-head .lead strong { color: var(--ink); }

.zone-chips { display: flex; flex-wrap: wrap; gap: 9px; margin: 4px 0 22px; }
.zc { background: var(--card); border: 1px solid var(--line); padding: 8px 15px; border-radius: 50px; font-size: 13px; font-weight: 700; color: var(--body); transition: all .15s; }
.zc:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
.zc.on { background: var(--ink); border-color: var(--ink); color: #fff; }

.coupon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.coupon-grid .coupon { background: var(--card); }
.coupon small a { color: var(--primary); font-weight: 700; }

.faq { margin: 34px 0 10px; }
.faq > h2 { font-size: 21px; font-weight: 800; color: var(--ink); margin-bottom: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
.faq-item summary { font-weight: 700; color: var(--ink); cursor: pointer; font-size: 14.5px; list-style: none; position: relative; padding-right: 26px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 2px; top: -2px; font-size: 20px; color: var(--muted); font-weight: 400; }
.faq-item[open] summary::after { content: '–'; }
.faq-item p { color: var(--body); font-size: 14px; margin-top: 10px; }
