/* Maa Vimla Mega Mart — Amazon-app style: header ka rang banner ke saath badalta hai */
:root {
  --brand: #5e1420;      /* kumkum maroon — header */
  --brand-2: #7a1c2a;    /* menu bar */
  --brand-3: #45101a;    /* top strip */
  --hero: #7a1c2a;       /* header + banner ka rang (JS badalta hai) */
  --accent: #ffd814;     /* peele buttons */
  --accent-h: #f7ca00;
  --gold: #d9a441;
  --orange: #f57c00;
  --orange-d: #b34700;
  --wa: #25d366;
  --wa-d: #128c4a;
  --bg: #f4f4f4;
  --card: #ffffff;
  --text: #0f1111;
  --muted: #565959;
  --line: #e3e3e3;
  --link: #007185;
  --red: #c2181f;
  --ok: #067d62;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(15, 17, 17, .12);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.5 "Noto Sans", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", sans-serif;
}
body.lang-hi { font-family: "Noto Sans Devanagari", "Noto Sans", system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
svg { width: 1.15em; height: 1.15em; vertical-align: -0.2em; flex-shrink: 0; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: 1.5rem; }
h2 { font-size: 1.2rem; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); font-size: .9rem; }
.link { color: var(--link); font-weight: 600; }
.link:hover { color: var(--orange-d); text-decoration: underline; }

/* ---------- header (rang banner ke saath badalta hai) ---------- */
.hdr {
  background: linear-gradient(180deg, color-mix(in srgb, var(--hero) 92%, #000) 0%, var(--hero) 100%);
  color: #fff; transition: background .6s ease; padding-top: 10px;
}
.hdr-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo { display: flex; align-items: center; gap: 8px; padding: 2px; }
/* Logo: cream gole mein maroon chitra (rangeen header par bhi saaf dikhe) */
.logo-mark { width: 48px; height: 48px; border-radius: 50%; background: #fff8ec; display: grid; place-items: center; flex-shrink: 0; box-shadow: 0 0 0 2px rgba(255,255,255,.35); overflow: hidden; }
.logo-mark img { width: 88%; height: 88%; object-fit: contain; display: block; }
.ftr-brand { display: flex; align-items: center; gap: 10px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text b { font-size: 1.1rem; }
.logo-text small { opacity: .85; font-size: .72rem; }

.hdr-actions { display: flex; gap: 6px; align-items: center; }
.hdr-btn { display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,.14); border: 0; color: #fff; padding: 7px 12px; border-radius: 20px; cursor: pointer; font-weight: 600; font-size: .85rem; white-space: nowrap; }
.hdr-btn:hover { background: rgba(255,255,255,.26); }
.hdr-btn svg { width: 1.3em; height: 1.3em; }
.hdr-call { background: #fff; color: var(--hero); }
.hdr-call:hover { background: #fff7e0; }
.badge { background: var(--accent); color: var(--text); border-radius: 10px; min-width: 20px; padding: 0 6px; font-size: .75rem; text-align: center; font-weight: 700; }

/* pill search — Amazon app jaisa */
.search { display: flex; align-items: center; background: #fff; border-radius: 26px; margin: 12px 0 10px; padding: 0 6px 0 16px; box-shadow: 0 2px 6px rgba(0,0,0,.18); }
.search-ic { color: #333; display: flex; }
.search-ic svg { width: 22px; height: 22px; }
.search input { flex: 1; border: 0; padding: 13px 12px; min-width: 0; color: var(--text); background: transparent; font-size: 1rem; }
.search input:focus { outline: none; }
.search-wa { color: var(--wa-d); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; }
.search-wa:hover { background: #eafaf0; }
.search-wa svg { width: 26px; height: 26px; }
.search:focus-within { box-shadow: 0 0 0 3px var(--accent); }

/* location / trust pill */
.loc-pill { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.18); border-radius: 22px; padding: 8px 14px; font-size: .88rem; }
.loc-pill span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.loc-pill svg { flex-shrink: 0; }

/* icon category row */
.icon-row { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 10px 0 8px; }
.icon-row::-webkit-scrollbar { display: none; }
.icon-row a { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 70px; padding: 4px 6px 6px; font-size: .82rem; border-bottom: 3px solid transparent; opacity: .92; }
.icon-row a span svg { width: 30px; height: 30px; }
.icon-row a:hover { opacity: 1; }
.icon-row a.on { border-bottom-color: #fff; font-weight: 700; opacity: 1; }

/* ---------- hero zone: banner slider ---------- */
.hero-zone { background: linear-gradient(180deg, var(--hero) 0%, color-mix(in srgb, var(--hero) 45%, var(--bg)) 55%, var(--bg) 100%); transition: background .6s ease; padding: 8px 0 4px; }
.slider { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px max(16px, calc((100% - 1000px) / 2)) 10px; }
.slider::-webkit-scrollbar { display: none; }
.slide {
  flex: 0 0 min(86%, 1000px); scroll-snap-align: center; position: relative; overflow: hidden;
  border-radius: 18px; color: #fff; min-height: 300px; display: flex; align-items: center; padding: 28px 28px 52px;
  background:
    radial-gradient(circle at 80% 30%, rgba(255,255,255,.22), transparent 45%),
    radial-gradient(rgba(255,255,255,.18) 1px, transparent 1.5px) 0 0 / 14px 14px,
    linear-gradient(160deg, color-mix(in srgb, var(--tone) 80%, #fff) 0%, var(--tone) 55%, color-mix(in srgb, var(--tone) 75%, #000) 100%);
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
}
/* jhalar — chamakti bindiyon wali border */
.slide::before { content: ""; position: absolute; inset: 8px; border-radius: 12px; border: 3px dotted rgba(255, 236, 160, .95); pointer-events: none; }
.slide-text { position: relative; z-index: 1; max-width: 62%; }
.slide-kicker { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .3px; background: rgba(0,0,0,.22); padding: 3px 10px; border-radius: 12px; margin-bottom: 10px; }
.slide h2 { font-size: clamp(1.7rem, 4.6vw, 3rem); line-height: 1.08; margin: 0 0 8px; font-weight: 800; }
.slide p { margin: 0 0 16px; font-size: clamp(.95rem, 2vw, 1.15rem); opacity: .95; }
.slide-cta { display: inline-block; background: var(--accent); color: var(--text); font-weight: 700; padding: 9px 20px; border-radius: 22px; box-shadow: 0 2px 0 rgba(0,0,0,.2); }
.slide-art { position: absolute; right: 4%; top: 50%; transform: translateY(-55%); opacity: .9; }
.slide-art svg { width: clamp(110px, 24vw, 230px); height: clamp(110px, 24vw, 230px); color: #fff; filter: drop-shadow(0 6px 10px rgba(0,0,0,.25)); }
.slide-badge { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); background: #fff; color: var(--tone); border: 2px solid var(--accent); border-radius: 16px; padding: 3px 14px; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.dots { display: flex; justify-content: center; gap: 6px; margin: 2px 0 10px; }
.dots button { width: 8px; height: 8px; border-radius: 4px; border: 0; background: rgba(0,0,0,.25); padding: 0; cursor: pointer; transition: width .3s, background .3s; }
.dots button.on { width: 22px; background: var(--text); }

/* quick tiles (Amazon ke Pay / Now / Bazaar jaise) */
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 14px; }
.tile { background: #fff; border-radius: 14px; padding: 10px 6px; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: .8rem; font-weight: 600; text-align: center; box-shadow: var(--shadow); }
.tile span { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fff4d6; color: var(--orange-d); }
.tile span svg { width: 24px; height: 24px; }
.tile:hover { box-shadow: 0 3px 10px rgba(0,0,0,.15); }

/* "Aaj ka bhav" — orange deals section */
.deals { background: linear-gradient(180deg, #ff9f1c 0%, #fb6b00 100%); border-radius: 18px; padding: 16px; margin-bottom: 16px; color: #fff; }
.deals-head { display: flex; justify-content: space-between; align-items: center; }
.deals-head h2 { margin: 0; font-size: 1.35rem; }
.deals-head a { font-size: 1.8rem; line-height: 1; padding: 0 6px; }
.deals-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 10px; overflow-x: auto; margin-top: 12px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.deals-row::-webkit-scrollbar { display: none; }
.deal { background: #fff; border-radius: 14px; padding: 8px; color: var(--text); display: flex; flex-direction: column; gap: 6px; scroll-snap-align: start; }
.deal .ph { border-radius: 10px; aspect-ratio: 1; }
.deal .ph-label { display: none; }
.deal-badge { background: var(--red); color: #fff; font-weight: 700; font-size: .85rem; border-radius: 6px; padding: 3px 8px; width: fit-content; }
.deal-name { font-weight: 600; font-size: .88rem; line-height: 1.25; }
.countdown { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-weight: 600; flex-wrap: wrap; }
.countdown b { background: #111; color: #fff; padding: 4px 8px; border-radius: 6px; font-size: 1.2rem; }

/* mobile bottom tab bar */
.tabbar { display: none; }

/* ---------- panels ---------- */
.panel { background: var(--card); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; box-shadow: var(--shadow); }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.page { padding-top: 16px; padding-bottom: 24px; }
.empty { text-align: center; padding: 40px 20px; }

/* trust strip */
.trust { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; box-shadow: var(--shadow); }
.trust-item { background: #fff; display: flex; gap: 10px; align-items: center; padding: 14px; }
.trust-item b { display: block; font-size: .92rem; }
.trust-item small { color: var(--muted); font-size: .78rem; line-height: 1.3; display: block; }
.trust-ic { width: 40px; height: 40px; border-radius: 50%; background: #fff4e0; color: var(--orange-d); display: grid; place-items: center; flex-shrink: 0; }
.trust-ic svg { width: 22px; height: 22px; }

/* categories */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.cat-tile { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 10px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; transition: box-shadow .15s, border-color .15s; }
a.cat-tile:hover { border-color: var(--orange); box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.cat-ic { width: 64px; height: 64px; border-radius: 50%; background: color-mix(in srgb, var(--tone) 12%, #fff); color: var(--tone); display: grid; place-items: center; margin-bottom: 4px; }
.cat-ic svg { width: 40px; height: 40px; }
.cat-tile small { color: var(--muted); font-size: .75rem; line-height: 1.3; }
.cat-tile.is-soon { opacity: .6; }

/* ---------- product grid + cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; position: relative; }
.card:hover { box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.card-link { display: block; position: relative; }
.card-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.card-body .btn { margin-top: auto; }
.card-title { font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-title:hover { color: var(--orange-d); }
.card-meta { color: var(--muted); font-size: .8rem; }
.tag-new { position: absolute; top: 8px; left: 8px; background: var(--red); color: #fff; font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 3px; }
.tag-new.static { position: static; display: inline-block; margin-bottom: 6px; }

.price { font-size: 1.25rem; font-weight: 700; }
.price-from { font-size: .78rem; font-weight: 400; color: var(--muted); }
.price-unit { font-size: .8rem; font-weight: 400; color: var(--muted); }

/* photo placeholder */
.ph { aspect-ratio: 4 / 5; background:
    repeating-linear-gradient(135deg, color-mix(in srgb, var(--tone) 85%, #000) 0 12px, var(--tone) 12px 24px);
  color: rgba(255,255,255,.9); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.ph-icon svg { width: 64px; height: 64px; }
.ph-big .ph-icon svg { width: 120px; height: 120px; }
.ph-label { font-size: .72rem; background: rgba(0,0,0,.35); padding: 2px 8px; border-radius: 10px; }

/* horizontal scroll rows on mobile */
.scroll-row { grid-auto-flow: row; }

/* ---------- list page ---------- */
.list-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.list-head h1 { margin: 0; }
.list-head small { color: var(--muted); }
.sort { font-size: .85rem; display: flex; align-items: center; gap: 6px; }
.sort select { border: 1px solid var(--line); border-radius: 6px; padding: 6px 8px; background: #f0f2f2; }
.chips { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 14px; padding-bottom: 2px; scrollbar-width: none; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 18px; padding: 6px 14px; white-space: nowrap; font-size: .88rem; }
.chip:hover { border-color: var(--brand-3); }
.chip.on { background: var(--brand-2); color: #fff; border-color: var(--brand-2); }

/* ---------- product detail ---------- */
.crumbs { font-size: .82rem; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--link); }
.pd { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 280px; gap: 24px; background: #fff; padding: 20px; border-radius: var(--radius); margin-bottom: 16px; box-shadow: var(--shadow); align-items: start; }
.pd-gallery .ph { border-radius: var(--radius); }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.thumb { aspect-ratio: 1; border-radius: 6px; border: 2px solid transparent; padding: 0; overflow: hidden; cursor: pointer; background: #eee; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb.on { border-color: var(--orange); }
.ph-img { background: #f0f0f0; }
.ph-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-big.ph-img img { object-fit: contain; }
.pd-code { color: var(--muted); font-size: .82rem; margin-bottom: 10px; }
.pd-price .price { font-size: 1.8rem; }
.pd-price.small .price { font-size: 1.5rem; }
.specs { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: .92rem; }
.specs th, .specs td { text-align: left; padding: 8px 6px; border-bottom: 1px solid #eee; vertical-align: top; }
.specs th { color: var(--muted); font-weight: 600; width: 42%; }
.note-ok { color: var(--ok); font-weight: 600; font-size: .9rem; }
.pd-buy { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 10px; position: sticky; top: 16px; }
.qty { font-weight: 600; font-size: .9rem; display: flex; flex-direction: column; gap: 4px; }
.qty-ctl { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #f0f2f2; width: fit-content; }
.qty-ctl button { border: 0; background: transparent; width: 40px; height: 38px; font-size: 1.2rem; cursor: pointer; }
.qty-ctl button:hover { background: #e3e6e6; }
.qty-ctl input { width: 60px; border: 0; text-align: center; height: 38px; background: #fff; -moz-appearance: textfield; }
.qty-ctl input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-ctl.small span { padding: 0 10px; font-size: .88rem; background: #fff; height: 32px; line-height: 32px; }
.qty-ctl.small button { height: 32px; width: 34px; }
.pd-trust { display: flex; gap: 8px; align-items: center; font-size: .8rem; color: var(--ok); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 20px; padding: 9px 18px; font-weight: 600; cursor: pointer; text-align: center; line-height: 1.2; }
.btn-sm { padding: 7px 12px; font-size: .85rem; }
.btn-lg { padding: 12px 26px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-yellow { background: var(--accent); border-color: var(--accent-h); color: var(--brand); }
.btn-yellow:hover { background: var(--accent-h); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-d); }
.btn-outline { background: #fff; border-color: var(--line); color: var(--text); }
.btn-outline:hover { background: #f7fafa; }
.link-btn { background: none; border: 0; color: var(--link); padding: 0; cursor: pointer; font-size: .85rem; width: fit-content; }
.link-btn:hover { text-decoration: underline; }

/* ---------- how to order + warning ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; counter-reset: s; }
.steps li { background: #f7fafa; border: 1px solid #e7eaea; border-radius: var(--radius); padding: 14px; font-size: .9rem; display: flex; flex-direction: column; gap: 8px; }
.step-n { width: 30px; height: 30px; border-radius: 50%; background: var(--brand-2); color: #fff; display: grid; place-items: center; font-weight: 700; }
.warn { display: flex; gap: 14px; background: #fff8e6; border: 1px solid #f5c26b; border-left: 5px solid var(--orange); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 16px; }
.warn p { margin: 4px 0 6px; font-size: .92rem; }
.warn-ic { color: var(--orange-d); }
.warn-ic svg { width: 28px; height: 28px; }

/* ---------- quote ---------- */
.q-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.q-row { display: grid; grid-template-columns: 90px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid #eee; }
.q-row:first-child { padding-top: 0; }
.q-ph .ph { border-radius: 6px; }
.q-ph .ph-icon svg { width: 32px; height: 32px; }
.q-ph .ph-label { display: none; }
.q-info { display: flex; flex-direction: column; gap: 6px; }
.q-form { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 16px; }
.q-form label { display: flex; flex-direction: column; gap: 4px; font-size: .88rem; font-weight: 600; }
.q-form input, .q-form textarea, .modal input, .modal select {
  border: 1px solid #888c8c; border-radius: 6px; padding: 9px 10px; font-weight: 400; box-shadow: inset 0 1px 2px rgba(15,17,17,.15); background: #fff; }
.q-form input:focus, .q-form textarea:focus, .modal input:focus, .modal select:focus { outline: none; border-color: #e77600; box-shadow: 0 0 0 3px #c8f3fa; }
fieldset { border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; margin: 0; }
/* heading dibbe ke andar — border par nahi */
legend { float: left; width: 100%; font-size: .88rem; font-weight: 600; padding: 0 0 6px; margin: 0; }
legend + * { clear: both; }
.q-form .radio { flex-direction: row; align-items: flex-start; gap: 8px; font-weight: 400; padding: 4px 0; line-height: 1.35; }
.q-form .radio input { margin: 2px 0 0; flex-shrink: 0; width: 18px; height: 18px; accent-color: var(--hero); box-shadow: none; padding: 0; border: 0; }
.form-err { color: var(--red); margin: 0; font-size: .88rem; }

/* ---------- about / policies ---------- */
.prose p { max-width: 70ch; }
.prose h3 { margin-top: 1.2em; font-size: 1rem; }
.shop-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.shop-photos .ph { aspect-ratio: 4 / 3; border-radius: 6px; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 300px; border: 0; display: block; }
.pay-box { border-top: 4px solid var(--ok); }
.note-pending { background: #fff8e6; border-left: 4px solid var(--orange); border-radius: 6px; padding: 10px 14px; margin: 0; }
.pay-box h1 { display: flex; gap: 10px; align-items: center; font-size: 1.3rem; }

/* ---------- footer ---------- */
.ftr { background: var(--brand-2); color: #ddd; margin-top: 24px; font-size: .88rem; }
.ftr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 32px; padding-bottom: 24px; }
.ftr h3 { color: #fff; font-size: 1rem; }
.ftr a:hover { text-decoration: underline; }
.ftr-bottom { background: var(--brand); text-align: center; padding: 14px 16px; font-size: .78rem; color: #aaa; }

.wa-float { position: fixed; right: 16px; bottom: 16px; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 4px 12px rgba(0,0,0,.25); z-index: 30; }
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { background: var(--wa-d); }
body.no-wa-float .wa-float { display: none; }

/* ---------- modal + toast ---------- */
.modal-bg { position: fixed; inset: 0; background: rgba(0,0,0,.5); display: grid; place-items: center; z-index: 50; padding: 16px; }
.modal { background: #fff; border-radius: 10px; padding: 22px; width: 100%; max-width: 400px; }
.modal h2 { display: flex; gap: 8px; align-items: center; }
.modal form { display: flex; flex-direction: column; gap: 12px; }
.modal label { display: flex; flex-direction: column; gap: 4px; font-size: .88rem; font-weight: 600; }
#toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 120px); background: var(--brand); color: #fff; padding: 10px 18px; border-radius: 8px; z-index: 60; transition: transform .25s; max-width: calc(100% - 32px); font-size: .9rem; box-shadow: 0 4px 12px rgba(0,0,0,.3); }
#toast.show { transform: translate(-50%, 0); }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .pd { grid-template-columns: 1fr 1fr; }
  .pd-buy { grid-column: 1 / -1; position: static; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .trust { grid-template-columns: repeat(3, 1fr); }
  .trust-item:last-child { grid-column: span 2; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .q-layout { grid-template-columns: 1fr; }
  .q-form { position: static; }
}
@media (max-width: 720px) {
  body { font-size: 14px; padding-bottom: 64px; }
  .desk-only, .hdr-btn.hdr-call span, .logo-text small { display: none; }
  .hdr-btn { padding: 7px 10px; }
  .logo-mark { width: 42px; height: 42px; }
  .loc-pill { font-size: .8rem; padding: 7px 12px; }
  .icon-row a { min-width: 62px; font-size: .76rem; }
  .icon-row a span svg { width: 26px; height: 26px; }
  .slider { gap: 10px; }
  .slide { flex-basis: 88%; min-height: 360px; flex-direction: column; align-items: flex-start; justify-content: flex-start; padding: 24px 20px 56px; }
  .slide-text { max-width: 100%; }
  .slide-art { position: static; transform: none; align-self: center; margin-top: 8px; }
  .tiles { grid-template-columns: repeat(5, minmax(72px, 1fr)); overflow-x: auto; gap: 8px; scrollbar-width: none; }
  .tiles::-webkit-scrollbar { display: none; }
  .tile { font-size: .72rem; padding: 8px 4px; }
  .deals { border-radius: 14px; padding: 14px 12px; }
  .deals-row { grid-auto-columns: 42%; }
  .panel { padding: 14px; }
  .trust { grid-template-columns: 1fr 1fr; }
  .trust-item:last-child { grid-column: 1 / -1; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .cat-tile { padding: 10px 4px; }
  .cat-ic { width: 48px; height: 48px; }
  .cat-ic svg { width: 30px; height: 30px; }
  .cat-tile small { display: none; }
  .grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .scroll-row { display: grid; grid-auto-flow: column; grid-auto-columns: 44%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
  .scroll-row .card { scroll-snap-align: start; }
  .price { font-size: 1.1rem; }
  .steps { grid-template-columns: 1fr; }
  .steps li { flex-direction: row; align-items: center; }
  .pd { grid-template-columns: 1fr; padding: 14px; }
  .pd-gallery .ph-big { aspect-ratio: 1; }
  .q-layout { grid-template-columns: 1fr; }
  .q-form { position: static; }
  .shop-photos { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .ftr-grid { grid-template-columns: 1fr; gap: 8px; }
  .wa-float { display: none; }
  #toast { bottom: 80px; }

  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -2px 8px rgba(0,0,0,.08); padding: 6px 0 calc(6px + env(safe-area-inset-bottom)); }
  .tabbar a, .tabbar button { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .7rem; font-weight: 600; color: #333; background: none; border: 0; border-top: 3px solid transparent; margin-top: -6px; padding-top: 6px; cursor: pointer; }
  .tabbar svg { width: 24px; height: 24px; }
  .tabbar .on { color: var(--hero); border-top-color: var(--hero); }
  .tabbar .tab-wa { color: var(--wa-d); }
  .tab-cart { position: relative; display: flex; }
  .tab-cart b { position: absolute; top: -6px; right: -10px; background: var(--accent); color: var(--text); border-radius: 9px; font-size: .65rem; min-width: 17px; padding: 0 4px; text-align: center; }
}
