/* Health and Care Pharmacies - site styles. Brand green taken from the business cards. */
:root {
  --g900: #0a3d1c;
  --g800: #0d5226;
  --g700: #116b31;
  --g600: #178a3f;
  --g500: #22a04d;
  --g100: #e3f4e8;
  --g50: #f2faf4;
  --ink: #142019;
  --ink2: #44534a;
  --ink3: #6f7d74;
  --line: #dfe8e2;
  --bg: #fbfdfb;
  --card: #ffffff;
  --warn: #b45309;
  --warn-bg: #fff6e6;
  --red: #b42318;
  --red-bg: #fdecea;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(10, 61, 28, .06), 0 8px 24px rgba(10, 61, 28, .07);
  --shadow-soft: 0 20px 50px -24px rgba(10, 61, 28, .22);
  --font: "Manrope", "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --display: "Fraunces", Georgia, serif;
  --urdu: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: var(--g700); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, .font-display { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; font-family: var(--display); }
h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.18rem; font-weight: 700; }
p { margin: 0 0 1em; }
.ur { font-family: var(--urdu); direction: rtl; line-height: 2.1; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section.alt { background: var(--g50); border-block: 1px solid var(--line); }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--g600); margin-bottom: 10px; }
.lead { font-size: 1.12rem; color: var(--ink2); max-width: 62ch; }
.muted { color: var(--ink3); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

/* Buttons and forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 700; font-size: .95rem; cursor: pointer; text-decoration: none !important; transition: transform .15s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--g700); color: #fff; box-shadow: 0 6px 16px rgba(17, 107, 49, .25); }
.btn-primary:hover { background: var(--g800); }
.btn-ghost { background: #fff; color: var(--g800); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--g500); }
.btn-wa { background: #1fa855; color: #fff; }
.btn-wa:hover { background: #178c46; }
.btn-sm { padding: 8px 14px; font-size: .85rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn svg { width: 18px; height: 18px; }
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
input, select, textarea { width: 100%; font: inherit; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--g500); outline-offset: 0; border-color: var(--g500); }
textarea { min-height: 110px; resize: vertical; }
.field { margin-bottom: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.note { padding: 12px 16px; border-radius: 12px; background: var(--g50); border: 1px solid var(--g100); font-size: .92rem; }
.note.warn { background: var(--warn-bg); border-color: #f5d9a8; color: #7a4206; }
.note.err { background: var(--red-bg); border-color: #f5c2bd; color: var(--red); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }

/* Header */
.topbar { background: var(--g900); color: #d6efdd; font-size: .82rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; flex-wrap: wrap; }
.topbar a { color: #fff; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 18px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--g900); text-decoration: none !important; }
.brand svg { width: 44px; height: 44px; flex: none; }
.brand b { display: block; font-size: 1.02rem; font-weight: 800; line-height: 1.1; letter-spacing: .01em; }
.brand small { display: block; font-size: .7rem; color: var(--g600); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { color: var(--ink2); font-weight: 600; font-size: .93rem; padding: 8px 12px; border-radius: 999px; text-decoration: none; }
.nav a:hover, .nav a.on { color: var(--g800); background: var(--g50); }
.cart-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--g50); color: var(--g800); border: 1px solid var(--g100); }
.cart-btn svg { width: 22px; height: 22px; }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--g700); color: #fff; font-size: .72rem; font-weight: 800; display: grid; place-items: center; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.menu-btn svg { width: 26px; height: 26px; }
@media (max-width: 1000px) {
  .menu-btn { display: inline-flex; margin-left: auto; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; padding: 12px 16px 20px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform .2s, opacity .2s, visibility .2s; margin: 0; }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 12px 14px; }
  .brand b { font-size: .9rem; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(60% 80% at 85% 10%, color-mix(in srgb, var(--g500) 18%, transparent), transparent 70%), linear-gradient(180deg, #f4fbf6, var(--bg)); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding: clamp(40px, 7vw, 90px) 0; }
@media (max-width: 880px) { .hero .wrap { grid-template-columns: 1fr; } }
.hero h1 span, .hero h1 em { color: var(--g700); font-style: italic; }
.hero .tag { display: inline-flex; gap: 8px; align-items: center; background: #fff; border: 1px solid var(--g100); color: var(--g800); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: .85rem; margin-bottom: 18px; }
.search { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 8px 6px 16px; box-shadow: var(--shadow-soft); max-width: 580px; margin: 24px 0 18px; }
.search input { border: 0; border-radius: 999px; padding: 10px 8px; flex: 1; min-width: 0; }
.search input:focus { outline: none; }
.voice-ctrl { display: flex; align-items: center; gap: 6px; flex: none; }
.voice-lang-btn { background: var(--g50); border: 1px solid var(--g100); color: var(--g800); border-radius: 999px; padding: 4px 8px; font-size: .72rem; font-weight: 700; cursor: pointer; }
.voice-mic-btn { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--g700); color: #fff; display: grid; place-items: center; cursor: pointer; transition: transform .15s, background .15s; }
.voice-mic-btn.listening { background: #dc2626; animation: mic-pulse 1.2s infinite; }
@keyframes mic-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(220, 38, 38, .2); } }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-art { position: relative; }

/* Prescription Concierge (Lovable Card) */
.rx-card { background: #fff; border-radius: 28px; padding: 28px; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.rx-card .eyebrow { font-size: .75rem; letter-spacing: .2em; color: var(--g600); font-weight: 800; }
.rx-drop { border: 2px dashed rgba(34, 160, 77, .35); background: var(--g50); border-radius: 20px; padding: 24px 16px; text-align: center; cursor: pointer; transition: background .15s, border-color .15s; margin: 18px 0; }
.rx-drop:hover { background: #e7f7ec; border-color: var(--g500); }
.rx-steps { padding-left: 20px; margin: 14px 0; font-size: .88rem; color: var(--ink2); }
.rx-steps li { margin-bottom: 6px; }

/* Live Branch Stock in Cards */
.stock-rows { display: flex; flex-direction: column; gap: 4px; margin: 10px 0 8px; }
.stock-row { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; color: var(--ink3); background: var(--g50); padding: 3px 8px; border-radius: 6px; }
.stock-pill { font-size: .72rem; font-weight: 700; padding: 2px 7px; border-radius: 999px; }
.stock-pill.in { background: #d7f0de; color: #0d5226; display: inline-flex; align-items: center; gap: 5px; }
.stock-pill.in::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--g500); }
.stock-pill.low { background: var(--warn-bg); color: var(--warn); }
.stock-pill.out { background: #ecefed; color: var(--ink3); text-decoration: line-through; }

/* Sections / Categories tabs (Lovable style) */
.sec-tabs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 12px; margin: 20px 0; scrollbar-width: none; }
.sec-tab { flex: none; display: flex; flex-direction: column; gap: 2px; padding: 14px 20px; border-radius: 18px; border: 1px solid var(--line); background: #fff; cursor: pointer; text-decoration: none !important; transition: all .15s; min-width: 140px; }
.sec-tab b { font-family: var(--display); font-size: 1.1rem; color: var(--ink); }
.sec-tab small { font-size: .78rem; color: var(--ink3); }
.sec-tab:hover { border-color: var(--g500); transform: translateY(-2px); }
.sec-tab.on { border-color: var(--g700); background: var(--g700); }
.sec-tab.on b, .sec-tab.on small { color: #fff; }

.hero-card { background: #fff; border-radius: 24px; padding: 22px; border: 1px solid var(--line); box-shadow: 0 30px 60px rgba(10, 61, 28, .12); }
.hero-card .elva-line { display: flex; gap: 10px; margin-bottom: 12px; }
.bubble { padding: 10px 14px; border-radius: 16px; font-size: .92rem; max-width: 88%; }
.bubble.me { background: var(--g700); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.bubble.her { background: var(--g50); border: 1px solid var(--g100); border-bottom-left-radius: 4px; }
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
@media (max-width: 880px) { .trust { grid-template-columns: repeat(2, 1fr); } }
.trust div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-size: .86rem; color: var(--ink2); }
.trust b { display: block; color: var(--g800); font-size: 1rem; }

/* Sections and categories */
.sec-tile { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none !important; transition: transform .15s, box-shadow .15s, border-color .15s; }
.sec-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--g500); }
.sec-tile .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--g50); color: var(--g700); display: grid; place-items: center; }
.sec-tile .ic svg { width: 26px; height: 26px; }
.sec-tile small { color: var(--ink3); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .86rem; font-weight: 600; color: var(--ink2); cursor: pointer; text-decoration: none !important; }
.chip.on, .chip:hover { background: var(--g700); border-color: var(--g700); color: #fff; }

/* Product cards */
.products { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 6px; transition: box-shadow .15s, border-color .15s; }
.pcard:hover { box-shadow: var(--shadow); border-color: #c8dccf; }
.pimg { aspect-ratio: 4 / 3; border-radius: 12px; background: linear-gradient(135deg, var(--g50), #fff); border: 1px solid var(--g100); display: grid; place-items: center; color: var(--g600); margin-bottom: 6px; position: relative; }
.pimg svg { width: 44%; height: 44%; opacity: .85; }
.pimg .brandmark { position: absolute; bottom: 8px; left: 10px; font-size: .7rem; font-weight: 800; color: var(--g800); letter-spacing: .06em; text-transform: uppercase; }
.pcard h3 { font-size: .98rem; margin: 0; }
.pcard h3 a { color: var(--ink); }
.pcard .gen { font-size: .8rem; color: var(--ink3); }
.price { font-weight: 800; color: var(--g800); font-size: 1.05rem; }
.price s { color: var(--ink3); font-weight: 500; font-size: .85rem; margin-left: 6px; }
.badges { display: flex; gap: 6px; flex-wrap: wrap; }
.badge { font-size: .7rem; font-weight: 800; padding: 3px 8px; border-radius: 6px; letter-spacing: .02em; }
.b-ok { background: var(--g100); color: var(--g800); }
.b-low { background: var(--warn-bg); color: var(--warn); }
.b-out { background: #eef0ef; color: var(--ink3); }
.b-rx { background: #e8efff; color: #1d4ed8; }
.b-store { background: var(--red-bg); color: var(--red); }
.pcard .btn { margin-top: auto; }

/* Shop layout */
.shop { display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: start; }
@media (max-width: 900px) { .shop { grid-template-columns: 1fr; } .shop aside { position: static !important; } }
.shop aside { position: sticky; top: 90px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; max-height: calc(100vh - 110px); overflow: auto; }
.shop aside h4 { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--g600); margin: 14px 8px 6px; }
.shop aside a { display: flex; justify-content: space-between; padding: 7px 10px; border-radius: 10px; color: var(--ink2); font-size: .92rem; text-decoration: none; }
.shop aside a:hover, .shop aside a.on { background: var(--g50); color: var(--g800); font-weight: 700; }
.shop aside a small { color: var(--ink3); }
@media (max-width: 900px) { .shop aside { max-height: none; } .shop aside .cats { display: flex; flex-wrap: wrap; gap: 6px; } .shop aside h4 { width: 100%; } .shop aside a { border: 1px solid var(--line); } }

/* Cart */
.cart-line { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { width: 34px; height: 34px; border: 0; background: #fff; font-size: 1.1rem; cursor: pointer; color: var(--g800); }
.qty span { min-width: 28px; text-align: center; font-weight: 700; }
.sum-row { display: flex; justify-content: space-between; padding: 6px 0; }
.sum-row.total { font-weight: 800; font-size: 1.15rem; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; }
.sum-row.adv { color: var(--g800); font-weight: 800; background: var(--g50); border-radius: 10px; padding: 10px 12px; margin-top: 8px; }
.steps { counter-reset: s; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.step { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; }
.step::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--g700); color: #fff; font-weight: 800; margin-bottom: 12px; }
.pay-opt { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; cursor: pointer; }
.pay-opt input { width: auto; margin-top: 5px; }
.pay-opt:has(input:checked) { border-color: var(--g600); background: var(--g50); }
.status-track { display: flex; gap: 0; margin: 20px 0; }
.status-track div { flex: 1; text-align: center; font-size: .78rem; color: var(--ink3); position: relative; padding-top: 30px; }
.status-track div::before { content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 18px; height: 18px; border-radius: 50%; background: #e6ece8; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); z-index: 1; }
.status-track div::after { content: ""; position: absolute; top: 14px; left: -50%; width: 100%; height: 3px; background: #e6ece8; }
.status-track div:first-child::after { display: none; }
.status-track div.done { color: var(--g800); font-weight: 700; }
.status-track div.done::before { background: var(--g600); }
.status-track div.done::after { background: var(--g600); }

/* Founder / team */
.founder { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
@media (max-width: 820px) { .founder { grid-template-columns: 1fr; } }
.founder-photo { border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px rgba(10, 61, 28, .18); position: relative; aspect-ratio: 4 / 5; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.founder-photo .cap { position: absolute; left: 14px; right: 14px; bottom: 14px; background: rgba(255, 255, 255, .94); border-radius: 14px; padding: 12px 16px; }
.founder-photo .cap b { display: block; font-size: 1.1rem; color: var(--g900); }
.quote { font-size: 1.25rem; line-height: 1.6; color: var(--g900); border-left: 4px solid var(--g500); padding: 4px 0 4px 20px; margin: 22px 0; font-weight: 600; }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.value { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.value b { display: block; color: var(--g800); margin-bottom: 4px; }
.member { text-align: center; }
.avatar { width: 112px; height: 112px; border-radius: 50%; margin: 0 auto 14px; overflow: hidden; background: var(--g100); color: var(--g800); display: grid; place-items: center; font-size: 2rem; font-weight: 800; border: 4px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.member .role { color: var(--g700); font-weight: 700; font-size: .9rem; }

/* Branches */
.branch { display: grid; gap: 0; overflow: hidden; padding: 0; }
.branch iframe { width: 100%; height: 260px; border: 0; display: block; background: var(--g50); }
.branch .body { padding: 22px; }
.open-pill { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--g100); color: var(--g800); }
.open-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--g500); }

/* Reviews */
.stars { color: #e3a008; letter-spacing: 2px; }
.rev { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.rev p { color: var(--ink2); }
.star-pick { display: flex; gap: 4px; flex-direction: row-reverse; justify-content: flex-end; }
.star-pick input { display: none; }
.star-pick label { font-size: 1.8rem; color: #d6dcd8; cursor: pointer; margin: 0; }
.star-pick input:checked ~ label, .star-pick label:hover, .star-pick label:hover ~ label { color: #e3a008; }

/* FAQ */
details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-bottom: 10px; }
summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::after { content: "+"; color: var(--g700); font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 12px 0 0; color: var(--ink2); }

/* CTA band */
.band { background: linear-gradient(120deg, var(--g800), var(--g600)); color: #fff; border-radius: 24px; padding: clamp(28px, 5vw, 52px); display: grid; grid-template-columns: 1.3fr auto; gap: 24px; align-items: center; }
.band p { color: #d8f1df; }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; } }
.band .btn-ghost { border-color: transparent; }

/* Footer */
.site-footer { background: var(--g900); color: #c9e6d2; margin-top: 60px; }
.site-footer .wrap { padding: 56px 0 24px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .95rem; }
.site-footer a { color: #c9e6d2; display: block; padding: 3px 0; font-size: .92rem; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: #9fd8b0; }
.site-footer .legal { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 36px; padding-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .82rem; color: #9fc4ab; }
.motto { background: var(--g700); color: #fff; text-align: center; font-weight: 800; padding: 12px 16px; letter-spacing: .02em; }

/* Elva chat */
.elva-fab { position: fixed; right: 18px; bottom: 18px; z-index: 80; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 999px; border: 0;
  background: var(--g700); color: #fff; font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 12px 30px rgba(10, 61, 28, .35); }
.elva-fab .dot { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: #fff; display: block; box-shadow: 0 0 0 2px #fff; }
.elva-panel { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: min(400px, calc(100vw - 24px)); height: min(620px, calc(100dvh - 36px)); background: #fff; border-radius: 22px;
  border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(10, 61, 28, .3); display: none; flex-direction: column; overflow: hidden; }
.elva-panel.open { display: flex; }
@media (max-width: 520px) { .elva-panel { right: 0; bottom: 0; width: 100vw; height: 100dvh; border-radius: 0; } }
.elva-head { background: linear-gradient(120deg, var(--g800), var(--g600)); color: #fff; padding: 14px 16px; display: flex; align-items: center; gap: 12px; }
.elva-head .dot { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; display: block; box-shadow: 0 0 0 2px rgba(255,255,255,.7); flex: none; }
.elva-head small { display: block; color: #d1efd9; font-size: .78rem; }
.elva-head button { margin-left: auto; background: rgba(255, 255, 255, .15); border: 0; color: #fff; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; }
.elva-msgs { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: #f7faf8; }
.elva-msgs .bubble { white-space: pre-wrap; word-wrap: break-word; }
.elva-msgs .bubble.ur-text { font-family: var(--urdu); direction: rtl; text-align: right; line-height: 2.1; }
.elva-adds { display: flex; flex-direction: column; gap: 6px; max-width: 88%; }
.elva-add { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; font-size: .85rem; }
.elva-quick { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 16px 10px; background: #f7faf8; }
.elva-quick button { border: 1px solid var(--g100); background: #fff; color: var(--g800); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: .8rem; font-weight: 600; cursor: pointer; }
.elva-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.elva-form input { border-radius: 999px; }
.elva-form button { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--g700); color: #fff; cursor: pointer; display: grid; place-items: center; }
.elva-form button svg { width: 20px; height: 20px; }
.typing span { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--g500); margin: 0 2px; animation: blink 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }

.toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%) translateY(20px); background: var(--g900); color: #fff; padding: 12px 18px; border-radius: 12px;
  font-weight: 600; font-size: .92rem; opacity: 0; pointer-events: none; transition: .25s; z-index: 100; }
.toast.show { opacity: 1; transform: translateX(-50%); }
.page-head { background: linear-gradient(180deg, #f1faf3, var(--bg)); border-bottom: 1px solid var(--line); padding: clamp(36px, 6vw, 64px) 0 clamp(26px, 4vw, 40px); }
.crumbs { font-size: .85rem; color: var(--ink3); margin-bottom: 10px; }
.skeleton { background: linear-gradient(90deg, #eef3ef 25%, #f6f9f7 50%, #eef3ef 75%); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: var(--radius); min-height: 260px; }
@keyframes sk { to { background-position: -200% 0; } }
.hide { display: none !important; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Product pack art, offers and savings */
.pimg svg.art { width: 100%; height: 100%; opacity: 1; }
.b-off { background: #fde7ef; color: #b0124d; }
.elva-av { width: 100%; height: 100%; display: block; }
.offer-strip { background: #fff8e6; border-bottom: 1px solid #f3dfae; color: #7a4a00; font-size: .9rem; font-weight: 600; text-align: center; padding: 9px 16px; }
.offer-strip a { color: #7a4a00; text-decoration: underline; }
.offer-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.offer-card .amt { font-size: 2rem; font-weight: 800; color: var(--g700); line-height: 1; margin-bottom: 8px; }
.offer-card .code { display: inline-block; border: 2px dashed var(--g500); border-radius: 10px; padding: 4px 12px; font-weight: 800; letter-spacing: .08em; color: var(--g800); background: var(--g50); }
.save-bar { height: 8px; border-radius: 99px; background: #e6ece8; overflow: hidden; margin: 8px 0 4px; }
.save-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--g500), var(--g700)); }
.thumb svg.art, .thumb img { width: 100%; height: 100%; display: block; }

/* Elva avatar animation: gentle bob and head tilt, pulsing chat button, greeting bubble */
.elva-av { width: 100%; height: 100%; display: block; object-fit: cover; animation: elva-bob 3.6s ease-in-out infinite; transform-origin: 50% 80%; }
@keyframes elva-bob { 0%, 100% { transform: translateY(0) rotate(0); } 25% { transform: translateY(-2px) rotate(-4deg); } 50% { transform: translateY(0) rotate(0); } 75% { transform: translateY(-1px) rotate(4deg); } }
.elva-fab .dot { animation: elva-ping 2.4s ease-out infinite; }
@keyframes elva-ping { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .8); } 70% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
.elva-hello { position: fixed; right: 18px; bottom: 82px; z-index: 79; background: #fff; border: 1px solid var(--g100); color: var(--ink); border-radius: 16px 16px 4px 16px; padding: 10px 14px; font-size: .9rem; font-weight: 600;
  box-shadow: var(--shadow); max-width: 240px; cursor: pointer; animation: elva-pop .45s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes elva-pop { from { opacity: 0; transform: translateY(10px) scale(.9); } to { opacity: 1; transform: none; } }
.elva-hello .wave { display: inline-block; animation: elva-wave 1.4s ease-in-out 3; transform-origin: 70% 70%; }
@keyframes elva-wave { 0%, 100% { transform: rotate(0); } 20%, 60% { transform: rotate(16deg); } 40%, 80% { transform: rotate(-8deg); } }
@media (max-width: 640px) { .topbar { display: none; } .offer-strip { font-size: .8rem; padding: 7px 12px; } }
