/* ===========================================================
   Pharmacy — theme
   =========================================================== */
:root {
  --brand: #0f766e;          /* deep teal */
  --brand-dark: #0b4f4a;
  --brand-soft: #e6f4f1;
  --accent: #f97352;         /* warm coral */
  --accent-dark: #e05a3a;
  --ink: #12312e;
  --muted: #5b6f6c;
  --bg: #f7faf9;
  --card: #ffffff;
  --line: #dbe7e4;
  --radius: 18px;
  --shadow: 0 10px 30px -12px rgba(15, 118, 110, .25);
}

* { -webkit-font-smoothing: antialiased; }
body {
  font-family: "Plus Jakarta Sans", "Noto Sans Devanagari", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
.hi { font-family: "Noto Sans Devanagari", sans-serif; }
a { color: var(--brand); }
h1, h2, h3, h4, h5 { font-weight: 800; letter-spacing: -.02em; }

/* ---------- Top strip & nav ---------- */
.compliance-strip {
  background: var(--brand-dark);
  color: #d5efe9;
  font-size: .82rem;
  padding: 6px 0;
}
.compliance-strip a { color: #fff; text-decoration: none; }
.compliance-strip i { color: #7fe0cf; }

.site-nav {
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.navbar-brand { font-weight: 800; color: var(--ink) !important; font-size: 1.15rem; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 12px;
  display: inline-grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), #14b8a6);
  color: #fff; font-size: 1.25rem; box-shadow: var(--shadow);
}
.brand-mark.sm { width: 30px; height: 30px; font-size: 1rem; border-radius: 9px; }
.site-nav .nav-link { font-weight: 600; color: var(--muted); padding: .5rem .85rem !important; border-radius: 10px; }
.site-nav .nav-link:hover { color: var(--brand); }
.site-nav .nav-link.active { color: var(--brand); background: var(--brand-soft); }
.navbar-toggler { border: 0; color: var(--ink); }
.navbar-toggler:focus { box-shadow: none; }

.btn-accent { background: var(--accent); color: #fff; font-weight: 700; border-radius: 12px; border: 0; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-brand { background: var(--brand); color: #fff; font-weight: 700; border-radius: 12px; border: 0; }
.btn-brand:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.6); color: #fff; font-weight: 600; border-radius: 12px; }
.btn-ghost:hover { background: rgba(255,255,255,.15); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(20,184,166,.55), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(249,115,82,.35), transparent 60%),
    linear-gradient(135deg, #0b4f4a 0%, #0f766e 55%, #0e8f84 100%);
  color: #fff;
  padding: 90px 0 110px;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 22px 22px; pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.1; }
.hero .lead { color: #cdeee8; max-width: 560px; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  padding: 6px 14px; border-radius: 999px; font-size: .85rem; font-weight: 600;
}
.hero-card {
  background: rgba(255,255,255,.96); color: var(--ink);
  border-radius: 24px; padding: 26px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.35);
}
.hero-card .row-item { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.hero-card .row-item:last-child { border-bottom: 0; }
.hero-card .ic {
  flex: 0 0 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); font-size: 1.2rem;
}
.hero-card small { color: var(--muted); display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }

/* ---------- Stats ---------- */
.stats { margin-top: -55px; position: relative; z-index: 2; }
.stat {
  background: var(--card); border-radius: var(--radius); padding: 22px;
  box-shadow: var(--shadow); text-align: center; height: 100%;
}
.stat .num { font-size: 2rem; font-weight: 800; color: var(--brand); line-height: 1; }
.stat .lbl { color: var(--muted); font-weight: 600; font-size: .9rem; margin-top: 6px; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { color: var(--accent); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 6px 0 12px; }
.section-sub { color: var(--muted); max-width: 640px; }

.page-head {
  background: linear-gradient(135deg, #0b4f4a, #0f766e);
  color: #fff; padding: 56px 0 46px;
}
.page-head p { color: #cdeee8; margin: 0; }
.page-head .breadcrumb a { color: #a7e6da; text-decoration: none; }
.page-head .breadcrumb-item.active, .page-head .breadcrumb-item+.breadcrumb-item::before { color: #cdeee8; }

/* ---------- Cards ---------- */
.card-soft {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; height: 100%; transition: transform .2s, box-shadow .2s;
}
.card-soft:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.svc-icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  font-size: 1.5rem; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--brand-soft), #d2efe9); color: var(--brand);
}
.svc-icon.coral { background: #fff0eb; color: var(--accent); }
.card-soft h5 { font-size: 1.08rem; margin-bottom: 6px; }
.card-soft p { color: var(--muted); margin: 0; font-size: .93rem; }

.person {
  text-align: center;
}
.avatar {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 14px;
  display: grid; place-items: center; font-weight: 800; font-size: 1.6rem; color: #fff;
  background: linear-gradient(135deg, var(--brand), #14b8a6);
  box-shadow: 0 0 0 6px var(--brand-soft);
}
.avatar.coral { background: linear-gradient(135deg, var(--accent), #fb923c); box-shadow: 0 0 0 6px #fff0eb; }
.tag {
  display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700;
  background: var(--brand-soft); color: var(--brand);
}

/* ---------- Disclosure tables ---------- */
.info-table { width: 100%; }
.info-table th { width: 38%; color: var(--muted); font-weight: 600; padding: 12px 0; vertical-align: top; border-bottom: 1px solid var(--line); }
.info-table td { font-weight: 600; padding: 12px 0; border-bottom: 1px solid var(--line); }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }

.table-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.table-wrap .table { margin: 0; }
.table-wrap thead th {
  background: var(--brand-soft); color: var(--brand-dark); font-size: .78rem; text-transform: uppercase;
  letter-spacing: .05em; border-bottom: 0; padding: 14px 12px; white-space: nowrap;
}
.table-wrap td { padding: 12px; vertical-align: middle; border-color: var(--line); }
.table-wrap tbody tr:hover { background: #fbfdfc; }

.badge-sch { font-size: .72rem; font-weight: 700; padding: 4px 8px; border-radius: 8px; }
.sch-OTC { background: #e6f4f1; color: #0f766e; }
.sch-H   { background: #fff4e0; color: #b45309; }
.sch-H1  { background: #ffe8e1; color: #c2410c; }
.sch-X   { background: #fde2e2; color: #b91c1c; }
.sch-G   { background: #eef2ff; color: #4338ca; }

.stock-in  { color: #15803d; font-weight: 700; }
.stock-low { color: #b45309; font-weight: 700; }
.stock-out { color: #b91c1c; font-weight: 700; }

.update-banner {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--brand);
  border-radius: 14px; padding: 16px 20px;
}
.update-banner.stale { border-left-color: var(--accent); }
.update-banner .dot { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px #dcfce7; }
.update-banner.stale .dot { background: var(--accent); box-shadow: 0 0 0 4px #ffe4dc; }

.search-box { position: relative; }
.search-box i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-box input { padding-left: 44px; height: 52px; border-radius: 14px; border-color: var(--line); }
.form-control, .form-select { border-radius: 12px; border-color: var(--line); }
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 .2rem rgba(15,118,110,.15); }

.notice {
  background: #fffaf2; border: 1px dashed #f5c27a; border-radius: 14px; padding: 16px 18px; font-size: .92rem;
}

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(120deg, var(--accent), #fb923c);
  color: #fff; border-radius: 26px; padding: 44px;
}

/* ---------- Footer ---------- */
.site-footer { background: #0a2f2c; color: #d5efe9; padding: 60px 0 26px; margin-top: 0; }
.site-footer h5, .site-footer h6 { color: #fff; font-weight: 700; }
.site-footer a { color: #a7e6da; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer li { margin-bottom: 6px; }

.fab-call {
  position: fixed; right: 20px; bottom: 20px; z-index: 50;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: #fff; font-size: 1.4rem; text-decoration: none;
  box-shadow: 0 12px 24px -8px rgba(249,115,82,.7);
  animation: pulse 2.4s infinite;
}
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(249,115,82,.5); } 50% { box-shadow: 0 0 0 14px rgba(249,115,82,0); } }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .fab-call { animation: none; } }

@media (max-width: 767px) {
  .hero { padding: 56px 0 90px; }
  .section { padding: 56px 0; }
  .cta { padding: 30px 22px; }
  .table-wrap { overflow-x: auto; }
}

@media print {
  .compliance-strip, .site-nav, .site-footer, .fab-call, .no-print { display: none !important; }
  .page-head { background: none; color: #000; padding: 10px 0; }
  .page-head p { color: #333; }
}

/* ===========================================================
   Pharmacy-only additions
   =========================================================== */
.hero-pharmacy h1 .hl {
  background: linear-gradient(90deg, #7fe0cf, #ffd2c4);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pill-deco {
  position: absolute; z-index: 0; border-radius: 999px; opacity: .14; pointer-events: none;
  background: linear-gradient(90deg, #fff 50%, var(--accent) 50%);
}
.pill-deco.p1 { width: 180px; height: 64px; top: 60px; right: 6%; transform: rotate(-28deg); }
.pill-deco.p2 { width: 120px; height: 42px; bottom: 90px; left: 4%; transform: rotate(18deg); }
.pill-deco.p3 { width: 90px; height: 32px; top: 46%; left: 46%; transform: rotate(-60deg); opacity: .08; }

.hero-search {
  position: relative; display: flex; align-items: center; gap: 8px;
  background: #fff; border-radius: 16px; padding: 6px 6px 6px 48px; max-width: 580px;
  box-shadow: 0 20px 40px -18px rgba(0,0,0,.45);
}
.hero-search i { position: absolute; left: 18px; color: var(--muted); font-size: 1.1rem; }
.hero-search input { flex: 1; border: 0; outline: 0; font-size: 1rem; min-width: 0; color: var(--ink); padding: 10px 0; background: transparent; }
.hero-search .btn { padding: 12px 22px; white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip {
  padding: 5px 12px; border-radius: 999px; font-size: .82rem; font-weight: 600; text-decoration: none;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff;
}
.chip:hover { background: rgba(255,255,255,.22); color: #fff; }

.live-dot { font-size: .75rem; font-weight: 700; color: #15803d; display: inline-flex; align-items: center; gap: 6px; }
.live-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px #dcfce7; }
.live-dot.stale { color: var(--accent-dark); }
.live-dot.stale::before { background: var(--accent); box-shadow: 0 0 0 3px #ffe4dc; }

.btn-outline-brand { border: 1.5px solid var(--brand); color: var(--brand); font-weight: 700; border-radius: 12px; }
.btn-outline-brand:hover { background: var(--brand); color: #fff; }
.btn-wa { background: #25d366; color: #fff; font-weight: 700; border-radius: 12px; border: 0; }
.btn-wa:hover { background: #1ebe5b; color: #fff; }

.step {
  position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; height: 100%; text-align: center;
}
.step .n {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: #fff; font-weight: 800;
}
.step > i { font-size: 2rem; color: var(--brand); display: block; margin: 8px 0 12px; }
.step p { color: var(--muted); margin: 0; font-size: .93rem; }

.fab-wa { background: #25d366; box-shadow: 0 12px 24px -8px rgba(37,211,102,.7); animation: pulse-wa 2.4s infinite; }
@keyframes pulse-wa { 0%,100% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 50% { box-shadow: 0 0 0 14px rgba(37,211,102,0); } }

@media (max-width: 575px) {
  .hero-search { padding-left: 42px; }
  .hero-search .btn { padding: 10px 14px; }
  .pill-deco.p3 { display: none; }
}

/* ===========================================================
   Hindi / English + opening hours + map
   =========================================================== */
.lang-hi { font-family: "Noto Sans Devanagari", "Plus Jakarta Sans", system-ui, sans-serif; }
.lang-hi h1, .lang-hi h2, .lang-hi h3, .lang-hi h4, .lang-hi h5 { letter-spacing: 0; line-height: 1.35; }
.lang-hi .hero h1 { line-height: 1.25; }
.lang-hi .eyebrow { letter-spacing: .04em; font-size: .85rem; }
.lang-hi .table-wrap thead th { letter-spacing: 0; font-size: .82rem; }
.lang-hi .hero-card small, .lang-hi .info-table th { letter-spacing: 0; text-transform: none; }

.lang-switch {
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none;
  padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: .9rem;
  color: var(--brand-dark); background: var(--brand-soft); border: 1px solid #c4e6df;
  font-family: "Noto Sans Devanagari", "Plus Jakarta Sans", sans-serif; white-space: nowrap;
}
.lang-switch:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

/* Open / closed chip */
.open-chip {
  display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap;
  padding: 4px 12px; border-radius: 999px; font-size: .82rem; line-height: 1.4;
  background: #ecfdf3; color: #166534; border: 1px solid #bbf7d0;
}
.open-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.25); flex-shrink: 0; }
.open-chip .sub { font-weight: 500; opacity: .9; }
.open-chip.st-open .dot, .open-chip.st-h24 .dot { animation: blink 1.6s infinite; }
.open-chip.st-closing { background: #fff7ed; color: #9a3412; border-color: #fed7aa; }
.open-chip.st-closing .dot { background: #f97316; box-shadow: 0 0 0 3px rgba(249,115,22,.25); }
.open-chip.st-closed, .open-chip.st-holiday { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
.open-chip.st-closed .dot, .open-chip.st-holiday .dot { background: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,.2); }
.open-chip.lg { font-size: 1rem; padding: 8px 16px; }
.open-chip.on-dark { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); color: #fff; }
.open-chip.hero-open { background: rgba(255,255,255,.95); border-color: transparent; font-size: .85rem; padding: 6px 14px; }
@keyframes blink { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .open-chip .dot { animation: none !important; } }

/* Hours table */
.hours-table { width: 100%; font-size: .93rem; }
.hours-table th, .hours-table td { padding: 7px 10px; border-bottom: 1px dashed var(--line); }
.hours-table th { font-weight: 600; color: var(--muted); white-space: nowrap; }
.hours-table td { text-align: right; font-weight: 600; }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }
.hours-table tr.today { background: var(--brand-soft); }
.hours-table tr.today th, .hours-table tr.today td { color: var(--brand-dark); }
.hours-table tr.today th:first-child { border-radius: 10px 0 0 10px; }
.hours-table tr.today td:last-child { border-radius: 0 10px 10px 0; }
.holiday-note { background: #fef2f2; color: #991b1b; border-radius: 12px; padding: 10px 14px; font-size: .88rem; }

/* Map */
.map-card {
  position: relative; height: 100%; min-height: 380px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  background: repeating-linear-gradient(45deg, #eef6f4, #eef6f4 12px, #e6f1ee 12px, #e6f1ee 24px);
}
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-overlay-btn {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  background: #fff; color: var(--brand-dark); font-weight: 700; text-decoration: none;
  padding: 10px 16px; border-radius: 12px; box-shadow: 0 8px 20px -8px rgba(0,0,0,.35);
}
.map-overlay-btn:hover { background: var(--brand); color: #fff; }
.visit-card p { color: var(--ink); }

/* Reviews */
.review-box { border-top: 1px solid var(--line); padding-top: 16px; }
.rating-num { font-size: 1.8rem; font-weight: 800; color: var(--ink); line-height: 1; }
.stars { color: #f59e0b; font-size: 1.1rem; letter-spacing: 2px; }

@media (max-width: 991px) {
  .lang-switch span { font-size: .85rem; }
  .map-card { min-height: 300px; }
}
@media (max-width: 767px) { .open-chip.hero-open { display: none; } }

/* ===========================================================
   Portal directory
   =========================================================== */
.portal-hero .lead { margin-left: auto; margin-right: auto; }
.portal-hero .hero-search { margin-left: auto; margin-right: auto; }
.portal-tabs { gap: 6px; list-style: none; padding: 0; }
.portal-tabs button {
  border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.1); color: #fff;
  padding: 8px 18px; border-radius: 999px; font-weight: 700;
}
.portal-tabs button.active { background: #fff; color: var(--brand-dark); }
.tag-coral { background: #fff0eb; color: var(--accent-dark); }
.ph-card h5 { font-size: 1.15rem; }

/* ===========================================================
   Portal landing page (Hindi) — animations
   =========================================================== */
.reveal { transition-delay: var(--d, 0s); }

.lp-hero {
  position: relative; overflow: hidden; color: #fff;
  padding: 90px 0 120px;
  background: linear-gradient(125deg, #0a3f3b 0%, #0f766e 45%, #0d9488 75%, #14b8a6 100%);
  background-size: 200% 200%; animation: lpGrad 14s ease-in-out infinite;
}
@keyframes lpGrad { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.lp-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px); background-size: 22px 22px;
}
.lp-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .45; pointer-events: none; }
.lp-blob.b1 { width: 420px; height: 420px; background: #f97352; top: -140px; right: -100px; animation: lpFloat 12s ease-in-out infinite; }
.lp-blob.b2 { width: 360px; height: 360px; background: #5eead4; bottom: -160px; left: -80px; animation: lpFloat 15s ease-in-out infinite reverse; }
.lp-blob.b3 { width: 240px; height: 240px; background: #fbbf24; top: 40%; left: 40%; opacity: .18; animation: lpFloat 18s ease-in-out infinite; }
@keyframes lpFloat { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px,-30px) scale(1.08); } }
.lp-pill-float {
  position: absolute; border-radius: 999px; opacity: .16; pointer-events: none; z-index: 0;
  background: linear-gradient(90deg, #fff 50%, #f97352 50%);
}
.lp-pill-float.f1 { width: 120px; height: 42px; top: 14%; left: 6%; animation: lpSpin 22s linear infinite; }
.lp-pill-float.f2 { width: 80px; height: 28px; bottom: 18%; right: 46%; animation: lpSpin 18s linear infinite reverse; }
.lp-pill-float.f3 { width: 60px; height: 22px; top: 8%; right: 38%; animation: lpSpin 26s linear infinite; }
@keyframes lpSpin { from { transform: rotate(0deg) translateY(0); } 50% { transform: rotate(180deg) translateY(-14px); } to { transform: rotate(360deg) translateY(0); } }

.lp-in { opacity: 0; transform: translateY(22px); animation: lpUp .8s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: var(--d, 0s); }
@keyframes lpUp { to { opacity: 1; transform: none; } }

.lp-title { font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.25; margin: 18px 0 16px; letter-spacing: 0; }
.lp-30 {
  position: relative; display: inline-block; color: #fff;
  background: linear-gradient(90deg, #fde68a, #fb923c, #f97352, #fde68a); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: lpShine 4s linear infinite;
}
.lp-30::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 6px; border-radius: 6px; background: rgba(251,146,60,.45);
  transform: scaleX(0); transform-origin: left; animation: lpLine 1s .9s forwards; }
@keyframes lpShine { to { background-position: 300% 0; } }
@keyframes lpLine { to { transform: scaleX(1); } }
.lp-lead { font-size: 1.15rem; color: #d7f3ee; max-width: 560px; line-height: 1.8; }
.lp-rotate { display: inline-block; font-weight: 800; color: #fff; background: rgba(255,255,255,.14); padding: 0 10px; border-radius: 8px;
  transition: opacity .35s, transform .35s; }
.lp-rotate.out { opacity: 0; transform: translateY(-8px); }
.lp-glow { box-shadow: 0 0 0 0 rgba(249,115,82,.6); animation: lpGlow 2.4s infinite; }
@keyframes lpGlow { 0%,100% { box-shadow: 0 0 0 0 rgba(249,115,82,.55); } 50% { box-shadow: 0 0 0 14px rgba(249,115,82,0); } }
.lp-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 26px; font-size: .92rem; color: #cdeee8; }
.lp-trust i { color: #7fe0cf; }

/* Website mock */
.lp-mock { position: relative; background: #fff; color: var(--ink); border-radius: 22px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.55);
  max-width: 520px; margin-left: auto; animation-name: lpUp, lpBob; animation-duration: .8s, 6s; animation-delay: var(--d,0s), 1.2s;
  animation-iteration-count: 1, infinite; animation-fill-mode: forwards, none; animation-timing-function: cubic-bezier(.2,.7,.2,1), ease-in-out; }
@keyframes lpBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.lp-mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #f6faf9; border-radius: 22px 22px 0 0; }
.lp-mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #fda4af; }
.lp-mock-bar i:nth-child(2) { background: #fcd34d; } .lp-mock-bar i:nth-child(3) { background: #86efac; }
.lp-mock-bar span { margin-left: 10px; font-size: .8rem; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 2px 10px; flex: 1; }
.lp-mock-body { padding: 22px; }
.lp-checks { list-style: none; padding: 0; margin: 0 0 18px; }
.lp-checks li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; margin-bottom: 8px; background: #f6faf9;
  font-weight: 600; font-size: .95rem; opacity: 0; transform: translateX(-12px); animation: lpTick 9s infinite; animation-delay: calc(1s + var(--i) * .55s); }
.lp-checks li i { color: #cbd5e1; font-size: 1.15rem; transition: color .3s; animation: lpTickIc 9s infinite; animation-delay: calc(1s + var(--i) * .55s); }
.lp-checks li em { margin-left: auto; font-style: normal; font-size: .75rem; color: #15803d; background: #dcfce7; padding: 2px 8px; border-radius: 999px; }
@keyframes lpTick { 0% { opacity: 0; transform: translateX(-12px); } 6%, 85% { opacity: 1; transform: none; } 95%,100% { opacity: 0; transform: none; } }
@keyframes lpTickIc { 0%, 5% { color: #cbd5e1; } 9%, 100% { color: #16a34a; } }
.lp-mock-foot { display: flex; align-items: center; gap: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.lp-ring { position: relative; width: 64px; height: 64px; flex-shrink: 0; }
.lp-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.lp-ring circle { fill: none; stroke: #e2efec; stroke-width: 3.2; }
.lp-ring circle.fg { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: lpRing 9s infinite 1s; }
@keyframes lpRing { 0% { stroke-dashoffset: 100; } 40%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 100; } }
.lp-ring span { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font-weight: 800; font-size: 1.15rem; line-height: 1; }
.lp-ring small { display: block; font-size: .6rem; font-weight: 600; color: var(--muted); }
.lp-float-badge { position: absolute; background: #fff; color: var(--brand-dark); font-weight: 700; font-size: .82rem; padding: 8px 14px; border-radius: 999px;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.35); white-space: nowrap; animation: lpBob 5s ease-in-out infinite; }
.lp-float-badge i { color: var(--accent); }
.lp-float-badge.fb1 { top: 18%; left: -38px; animation-delay: .4s; }
.lp-float-badge.fb2 { bottom: 24%; right: -26px; animation-delay: 1.2s; }
.lp-float-badge.fb3 { bottom: -18px; left: 22%; animation-delay: 2s; }

/* Deadline */
.lp-deadline { margin-top: -54px; position: relative; z-index: 3; }
.lp-deadline-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  background: linear-gradient(110deg, #f97352, #fb923c); color: #fff; border-radius: 22px; padding: 22px 28px; box-shadow: 0 24px 50px -24px rgba(249,115,82,.9); }
.lp-bell { width: 52px; height: 52px; border-radius: 16px; background: rgba(255,255,255,.2); display: grid; place-items: center; font-size: 1.4rem; animation: lpRingBell 3s infinite; }
@keyframes lpRingBell { 0%, 80%, 100% { transform: rotate(0); } 84% { transform: rotate(14deg); } 88% { transform: rotate(-12deg); } 92% { transform: rotate(8deg); } 96% { transform: rotate(-4deg); } }
.lp-countdown { display: flex; gap: 10px; }
.lp-countdown div { background: rgba(255,255,255,.18); border-radius: 14px; padding: 8px 12px; text-align: center; min-width: 66px; }
.lp-countdown b { display: block; font-size: 1.6rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.lp-countdown span { font-size: .75rem; opacity: .9; }

/* Who it's for */
.lp-who { position: relative; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px 26px; overflow: hidden;
  transition: transform .3s, box-shadow .3s; }
.lp-who::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--brand); }
.lp-who.coral::before { background: var(--accent); } .lp-who.indigo::before { background: #6366f1; }
.lp-who:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.lp-who-ic { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 16px; background: var(--brand-soft); color: var(--brand); transition: transform .4s; }
.lp-who:hover .lp-who-ic { transform: rotate(-8deg) scale(1.08); }
.lp-who.coral .lp-who-ic { background: #fff0eb; color: var(--accent); } .lp-who.indigo .lp-who-ic { background: #eef2ff; color: #4f46e5; }
.lp-who p { color: var(--muted); margin: 0; line-height: 1.7; }

/* Requirements */
.lp-req-item { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; margin-bottom: 12px;
  transition: transform .25s, box-shadow .25s; }
.lp-req-item:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.lp-req-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-size: 1.25rem; flex-shrink: 0; }
.lp-req-ok { color: #16a34a; font-size: 1.4rem; transform: scale(0); transition: transform .5s cubic-bezier(.3,1.8,.5,1) .3s; }
.lp-req-item.in .lp-req-ok { transform: scale(1); }

/* Timeline */
.lp-timeline { position: relative; max-width: 980px; margin: 0 auto; padding: 10px 0; }
.lp-tl-line { position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; margin-left: -2px; background: #e2efec; border-radius: 4px; }
.lp-tl-line span { display: block; width: 100%; height: 0; border-radius: 4px; background: linear-gradient(var(--brand), var(--accent)); transition: height .15s linear; }
.lp-step { position: relative; width: 50%; padding: 0 44px 34px; }
.lp-step.left { margin-right: 50%; text-align: right; }
.lp-step.right { margin-left: 50%; }
.lp-step-dot { position: absolute; top: 6px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 1.25rem;
  background: #fff; color: var(--muted); border: 4px solid #e2efec; z-index: 1; transition: all .4s; }
.lp-step.left .lp-step-dot { right: -26px; } .lp-step.right .lp-step-dot { left: -26px; }
.lp-step.done .lp-step-dot { background: var(--brand); color: #fff; border-color: #c4e6df; transform: scale(1.08); box-shadow: 0 0 0 8px rgba(15,118,110,.12); }
.lp-step-card { display: inline-block; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; max-width: 420px; transition: box-shadow .3s, border-color .3s; }
.lp-step.done .lp-step-card { border-color: #b7e3da; box-shadow: var(--shadow); }
.lp-step-time { display: inline-block; font-size: .8rem; font-weight: 800; color: var(--accent-dark); background: #fff0eb; padding: 3px 10px; border-radius: 999px; margin-bottom: 8px; }
.lp-step-card h5 { margin-bottom: 6px; }
.lp-step-n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-size: .85rem; margin-right: 4px; }
.lp-step-card p { color: var(--muted); margin: 0; line-height: 1.7; }
.lp-weekly { display: flex; gap: 14px; align-items: center; max-width: 880px; margin: 20px auto 0; background: var(--brand-soft); border: 1px dashed #9fd8cc; border-radius: 16px; padding: 16px 20px; line-height: 1.7; }
.lp-weekly > i { font-size: 1.8rem; color: var(--brand); }

/* Benefits */
.lp-benefit { height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; transition: transform .3s, box-shadow .3s, border-color .3s; }
.lp-benefit:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #b7e3da; }
.lp-benefit-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 14px;
  background: linear-gradient(135deg, var(--brand), #14b8a6); color: #fff; transition: transform .4s; }
.lp-benefit:hover .lp-benefit-ic { transform: scale(1.12) rotate(6deg); }
.col-xl-3:nth-child(even) .lp-benefit-ic { background: linear-gradient(135deg, var(--accent), #fb923c); }
.lp-benefit h6 { font-weight: 800; font-size: 1.02rem; }
.lp-benefit p { color: var(--muted); font-size: .92rem; margin: 0; line-height: 1.65; }

/* Customers */
.lp-cust-step { display: flex; gap: 16px; margin-bottom: 18px; }
.lp-cust-step > span { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; display: grid; place-items: center; }
.lp-cust-step p { color: var(--muted); margin: 2px 0 0; }
.lp-phone { position: relative; width: 290px; margin: 0 auto; background: #0a2f2c; border-radius: 40px; padding: 14px; box-shadow: 0 40px 70px -30px rgba(0,0,0,.5); animation: lpBob 6s ease-in-out infinite; }
.lp-phone-notch { width: 90px; height: 18px; background: #0a2f2c; border-radius: 0 0 14px 14px; position: absolute; top: 14px; left: 50%; transform: translateX(-50%); z-index: 2; }
.lp-phone-screen { background: #f7faf9; border-radius: 28px; padding: 40px 14px 20px; min-height: 420px; }
.lp-phone-search { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-weight: 600; margin-bottom: 14px; color: var(--muted); }
.lp-typing { color: var(--ink); display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom; border-right: 2px solid var(--accent);
  width: 0; animation: lpType 7s steps(11) infinite, lpCaret .8s step-end infinite; }
@keyframes lpType { 0% { width: 0; } 20%, 85% { width: 11ch; } 100% { width: 0; } }
@keyframes lpCaret { 50% { border-color: transparent; } }
.lp-result { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 12px; margin-bottom: 10px; opacity: 0; animation: lpRes 7s infinite; animation-delay: calc(1.6s + var(--i) * .35s); }
.lp-result small { display: block; color: var(--muted); font-size: .75rem; }
.lp-result small .g { color: #22c55e; }
.lp-result b { color: var(--brand); }
@keyframes lpRes { 0% { opacity: 0; transform: translateY(10px); } 8%, 70% { opacity: 1; transform: none; } 80%, 100% { opacity: 0; } }

/* Stats */
.lp-stats { background: linear-gradient(120deg, #0a3f3b, #0f766e); color: #fff; padding: 56px 0; }
.lp-stat b { display: block; font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1; color: #7fe0cf; font-variant-numeric: tabular-nums; }
.lp-stat span { opacity: .85; font-weight: 600; }

/* FAQ */
.lp-faq .accordion-item { border: 1px solid var(--line); border-radius: 14px !important; margin-bottom: 10px; overflow: hidden; }
.lp-faq .accordion-button { font-weight: 700; font-size: 1.02rem; padding: 18px 20px; }
.lp-faq .accordion-button:not(.collapsed) { background: var(--brand-soft); color: var(--brand-dark); box-shadow: none; }
.lp-faq .accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(15,118,110,.15); }
.lp-faq .accordion-body { color: var(--muted); line-height: 1.8; }

/* Register */
.lp-register { position: relative; overflow: hidden; background: linear-gradient(135deg, #0a3f3b, #0f766e 60%, #0d9488); }
.lp-register::before { content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%; background: #f97352; opacity: .25; filter: blur(80px); top: -200px; left: -150px; animation: lpFloat 14s infinite; }
.lp-register .container { position: relative; }
.lp-reg-list { list-style: none; padding: 0; margin: 18px 0; }
.lp-reg-list li { padding: 6px 0; font-weight: 600; }
.lp-reg-list i { color: #7fe0cf; margin-right: 6px; }
.lp-form-card { background: #fff; border-radius: 24px; padding: 30px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); }
.lp-success { text-align: center; padding: 30px 10px; }
.lp-success-ic { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; font-size: 2.6rem; color: #fff;
  background: #22c55e; animation: lpPop .6s cubic-bezier(.3,1.8,.5,1); box-shadow: 0 0 0 10px #dcfce7; }
@keyframes lpPop { from { transform: scale(0); } to { transform: scale(1); } }

@media (max-width: 991px) {
  .lp-mock { margin: 10px auto 0; }
  .lp-float-badge.fb1 { left: -6px; } .lp-float-badge.fb2 { right: -6px; }
}
@media (max-width: 767px) {
  .lp-hero { padding: 54px 0 100px; }
  .lp-tl-line { left: 26px; }
  .lp-step, .lp-step.left, .lp-step.right { width: 100%; margin: 0; text-align: left; padding: 0 0 26px 74px; }
  .lp-step.left .lp-step-dot, .lp-step.right .lp-step-dot { left: 0; right: auto; }
  .lp-countdown div { min-width: 56px; padding: 6px 8px; }
  .lp-countdown b { font-size: 1.3rem; }
  .lp-deadline-card { padding: 18px; }
  .lp-form-card { padding: 22px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-hero, .lp-blob, .lp-pill-float, .lp-mock, .lp-float-badge, .lp-phone, .lp-bell, .lp-glow, .lp-30, .lp-register::before { animation: none !important; }
  .lp-in { opacity: 1; transform: none; animation: none; }
  .lp-checks li, .lp-result { opacity: 1; transform: none; animation: none; }
  .lp-checks li i { color: #16a34a; animation: none; }
  .lp-ring circle.fg { stroke-dashoffset: 0; animation: none; }
  .lp-typing { width: auto; animation: none; border: 0; }
}
@media (max-width: 575px) { .lp-float-badge { display: none; } }

/* ===========================================================
   QR scan page — live stock search
   =========================================================== */
.scan-head { background: linear-gradient(135deg, #0b4f4a, #0f766e); color: #fff; padding: 22px 0 18px; }
.scan-head h1 { letter-spacing: 0; }
.scan-bar { position: sticky; top: 64px; z-index: 20; background: rgba(247,250,249,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding: 12px 0 10px; }
.scan-search { position: relative; max-width: 860px; margin: 0 auto; }
.scan-search > i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); font-size: 1.2rem; color: var(--brand); }
.scan-search input { width: 100%; height: 58px; border-radius: 16px; border: 2px solid var(--brand); padding: 0 48px 0 50px; font-size: 1.1rem; font-weight: 600;
  background: #fff; outline: none; box-shadow: 0 10px 24px -14px rgba(15,118,110,.6); }
.scan-search input:focus { box-shadow: 0 0 0 4px rgba(15,118,110,.18); }
.scan-search input::-webkit-search-cancel-button { display: none; }
.scan-clear { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: #94a3b8; font-size: 1.3rem; visibility: hidden; }
.scan-filters { display: flex; flex-wrap: wrap; gap: 8px; max-width: 860px; margin: 10px auto 0; align-items: center; }
.scan-chip { cursor: pointer; margin: 0; }
.scan-chip input { display: none; }
.scan-chip span { display: inline-block; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: .9rem; }
.scan-chip input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.scan-cat { width: auto; max-width: 220px; border-radius: 999px; }
.scan-item { display: flex; gap: 14px; justify-content: space-between; align-items: center; background: #fff; border: 1px solid var(--line);
  border-left: 5px solid #22c55e; border-radius: 16px; padding: 14px 16px; margin-bottom: 10px; animation: scanIn .25s ease; }
@keyframes scanIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.scan-item.st-low { border-left-color: #f59e0b; }
.scan-item.st-out { border-left-color: #ef4444; opacity: .78; }
.scan-item h3 { font-size: 1.05rem; font-weight: 800; margin: 0 0 2px; letter-spacing: 0; }
.scan-item mark { background: #fef08a; padding: 0 2px; border-radius: 3px; }
.scan-sub { color: var(--muted); font-size: .86rem; }
.scan-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.scan-tags > * { font-size: .76rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.scan-st { background: #dcfce7; color: #166534; }
.st-low .scan-st { background: #fef3c7; color: #92400e; }
.st-out .scan-st { background: #fee2e2; color: #991b1b; }
.scan-rx { background: #fff0eb; color: var(--accent-dark); }
.scan-exp { background: #f1f5f9; color: #475569; }
.scan-alt { border: 1px dashed var(--brand); background: var(--brand-soft); color: var(--brand-dark); cursor: pointer; }
.scan-side { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }
.scan-price b { display: block; font-size: 1.2rem; color: var(--brand); }
.scan-price s { color: var(--muted); font-size: .85rem; margin-right: 4px; }
.scan-empty { text-align: center; padding: 40px 10px; color: var(--muted); }
.scan-empty i { font-size: 2.4rem; }
.scan-skeleton div { height: 86px; border-radius: 16px; margin-bottom: 10px; background: linear-gradient(90deg, #eef4f2 25%, #f7faf9 50%, #eef4f2 75%); background-size: 200% 100%; animation: skel 1.2s infinite; }
@keyframes skel { to { background-position: -200% 0; } }
@media (max-width: 575px) {
  .scan-bar { top: 60px; }
  .scan-item { flex-direction: column; align-items: stretch; }
  .scan-side { flex-direction: row; justify-content: space-between; align-items: center; text-align: left; }
}
.live-link { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff7ed; color: var(--accent-dark);
  font-weight: 700; text-decoration: none; border: 1px solid #fed7aa; }
.live-link:hover { background: var(--accent); color: #fff; }
@media (max-width: 575px) {
  .navbar-brand { font-size: 1rem; min-width: 0; }
  .navbar-brand > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46vw; }
  .site-nav .container { flex-wrap: nowrap; }
  .lang-switch { padding: 5px 10px; }
}

/* ---------- Category grouping ---------- */
.cat-nav { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 12px; scrollbar-width: thin; }
.cat-nav a { flex-shrink: 0; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .88rem; text-decoration: none; }
.cat-nav a:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.cat-nav a span, .scan-cats button span, .cat-row span { display: inline-block; min-width: 22px; padding: 0 6px; margin-left: 4px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-dark); font-size: .75rem; text-align: center; }
.table-wrap tr.cat-row td { background: linear-gradient(90deg, var(--brand-soft), #fff); color: var(--brand-dark); font-weight: 800; font-size: .95rem; padding: 10px 12px; border-top: 2px solid #c4e6df; scroll-margin-top: 90px; }
.table-wrap tr.cat-row:hover { background: none; }
.scan-cats { display: flex; gap: 8px; overflow-x: auto; max-width: 860px; margin: 10px auto 0; padding-bottom: 4px; scrollbar-width: none; }
.scan-cats::-webkit-scrollbar { display: none; }
.scan-cats button { flex-shrink: 0; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: .88rem; color: var(--ink); }
.scan-cats button.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.scan-cats button.active span { background: rgba(255,255,255,.25); color: #fff; }
.scan-cat-head { display: flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 800; color: var(--brand-dark); margin: 18px 0 10px; padding: 8px 12px;
  background: var(--brand-soft); border-radius: 12px; letter-spacing: 0; }
.scan-cat-head:first-child { margin-top: 0; }
@media print { .table-wrap tr.cat-row td { -webkit-print-color-adjust: exact; print-color-adjust: exact; } }

/* ===========================================================
   Mobile: stock & price list as cards, compact header, sticky tools
   =========================================================== */
.m-sub { display: none; }
@media (max-width: 767px) {
  .compliance-strip { font-size: .76rem; padding: 5px 0; }
  .compliance-strip .container { gap: 4px 10px !important; }
  .page-head-sm { padding: 20px 0 18px; }
  .page-head-sm .breadcrumb { font-size: .8rem; margin-bottom: 4px !important; }
  .page-head-sm h1 { font-size: 1.45rem; margin-bottom: 4px; }
  .page-head-sm h1 .hi { display: block; font-size: .95rem !important; }
  .page-head-sm p { font-size: .85rem; line-height: 1.45; }
  .section.pt-4 { padding-top: 14px !important; padding-bottom: 40px; }
  .update-banner { padding: 10px 14px; gap: 6px 10px; font-size: .88rem; }
  .update-banner > .small { width: 100%; padding-left: 20px; margin-top: -4px; }
  .notice { font-size: .82rem; padding: 12px 14px; line-height: 1.55; }
  .live-link { font-size: .85rem; padding: 6px 12px; margin-bottom: 10px !important; }

  /* search + category chips stay visible while scrolling */
  .stock-tools { position: sticky; top: 64px; z-index: 15; background: var(--bg); margin: 0 -12px; padding: 8px 12px 2px; border-bottom: 1px solid var(--line); }
  .stock-tools .row { margin-bottom: 6px !important; }
  .stock-tools .search-box input { height: 46px; font-size: 1rem; }
  .stock-tools .cat-nav { padding-bottom: 8px; scrollbar-width: none; }
  .stock-tools .cat-nav::-webkit-scrollbar { display: none; }
  .cat-nav a { font-size: .82rem; padding: 5px 12px; }

  /* table → cards */
  .table-cards { background: transparent; border: 0; border-radius: 0; overflow: visible !important; margin-top: 10px; }
  .table-cards table, .table-cards tbody { display: block; width: 100%; }
  .table-cards thead { display: none; }
  .table-cards tr.cat-row { display: block; }
  .table-cards tr.cat-row td { display: block; border-radius: 12px; border: 0; margin: 14px 0 8px; background: var(--brand-soft); scroll-margin-top: 150px; }
  .table-cards tr[data-row] { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line);
    border-left: 4px solid #22c55e; border-radius: 14px; padding: 12px 14px; margin-bottom: 8px; }
  .table-cards tr.stock-low-row { border-left-color: #f59e0b; }
  .table-cards tr.stock-out-row { border-left-color: #ef4444; }
  .table-cards td { display: block; padding: 0; border: 0 !important; background: none !important; text-align: left !important; }
  .table-cards td.c-num, .table-cards td.m-hide, .table-cards .m-sub-desk { display: none; }
  .table-cards td.c-name { width: 100%; font-size: 1rem; line-height: 1.3; }
  .table-cards .m-sub { display: block; font-weight: 400; font-size: .82rem; color: var(--muted); margin-top: 2px; }
  .table-cards td.c-chip { font-size: .76rem; font-weight: 600; background: #f1f5f9 !important; color: #334155; border-radius: 999px; padding: 3px 9px; }
  .table-cards td.c-chip::before { content: attr(data-label) " "; font-weight: 500; color: var(--muted); }
  .table-cards td.c-sch { background: none !important; padding: 0; }
  .table-cards td.c-sch::before { content: none; }
  .table-cards td.c-qty { background: var(--brand-soft) !important; color: var(--brand-dark); }
  .table-cards td.c-status { order: -1; width: 100%; font-size: .78rem; margin-bottom: -2px; }
  .table-cards td.c-name { order: -2; }
  .table-cards tr#noRows { display: block; }
  .table-cards tr#noRows[style*="none"] { display: none; }
  .table-cards tr#noRows td { text-align: center !important; }

  /* price list cards: 4 prices in a grid */
  .price-cards tr[data-row] { border-left-color: var(--brand); }
  .price-cards td.c-price { width: calc(50% - 3px); background: #f8fafc !important; border-radius: 10px; padding: 6px 10px; font-size: .95rem; }
  .price-cards td.c-price::before { content: attr(data-label); display: block; font-size: .7rem; font-weight: 600; color: var(--muted); text-transform: none; }
  .price-cards td.c-sale { background: var(--brand-soft) !important; }
  .price-cards td.c-save .tag { font-size: .8rem; }

  .fab-call { width: 50px; height: 50px; right: 14px; bottom: 14px; font-size: 1.25rem; }
  main { padding-bottom: 10px; }
}
@media (max-width: 575px) { .stock-tools { top: 60px; } }


/* ---------- Pharmacy website hero: real pharmacy photo (Unsplash free licence) under a teal overlay ---------- */
.hero.hero-pharmacy {
  background-color: #0b4f4a;
  background-image:
    linear-gradient(100deg, rgba(6,52,49,.95) 0%, rgba(11,79,74,.88) 40%, rgba(15,118,110,.62) 72%, rgba(15,118,110,.45) 100%),
    url("../img/pharmacy-hero.jpg");
  background-size: cover, cover;
  background-position: center, center 30%;
  background-repeat: no-repeat;
}
.hero.hero-pharmacy::after { opacity: .35; }
@media (max-width: 991px) {
  .hero.hero-pharmacy {
    background-image:
      linear-gradient(180deg, rgba(6,52,49,.92) 0%, rgba(11,79,74,.86) 100%),
      url("../img/pharmacy-hero.jpg");
  }
}


/* ===================== Mobile design polish (pharmacy websites) ===================== */
@media (max-width: 767px) {
  /* top info strip: one swipeable line */
  .compliance-strip .container { flex-wrap: nowrap !important; overflow-x: auto; white-space: nowrap; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .compliance-strip .container::-webkit-scrollbar { display: none; }
  .compliance-strip .container > * { flex: 0 0 auto; }
  .compliance-strip { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }

  /* hero */
  .hero.hero-pharmacy { padding: 28px 0 78px; }
  .hero.hero-pharmacy h1 { font-size: 2.05rem; margin-bottom: 10px; }
  .hero.hero-pharmacy .lead { font-size: .95rem; line-height: 1.55; }

  /* page titles */
  .page-head { padding: 26px 0 24px; }
  .page-head h1 { font-size: 1.55rem; line-height: 1.25; }
  .page-head p { font-size: .9rem; line-height: 1.5; }

  /* stock cards */
  .table-cards tr[data-row] { position: relative; padding: 12px 12px 12px 14px; gap: 6px; border-radius: 16px; box-shadow: 0 2px 10px rgba(15,61,62,.06); margin-bottom: 10px; }
  .table-cards td.c-name { padding-right: 92px !important; font-size: 1.02rem; }
  .table-cards td.c-status { position: absolute; top: 12px; right: 12px; width: auto; margin: 0; order: 0; font-size: .7rem; font-weight: 700; padding: 3px 9px !important; border-radius: 999px; background: #dcfce7 !important; color: #15803d; }
  .table-cards td.c-status.stock-low { background: #fef3c7 !important; color: #b45309; }
  .table-cards td.c-status.stock-out { background: #fee2e2 !important; color: #b91c1c; }
  .table-cards td.c-cart { flex: 1 0 100%; margin-top: 4px; }
  .table-cards td.c-cart .btn { width: 100%; border-radius: 12px; padding: 9px 12px; font-size: .9rem; }
}
@media (max-width: 575px) {
  /* hero search: search row + full-width button */
  .hero .hero-search { flex-wrap: wrap; padding: 6px; row-gap: 6px; border-radius: 18px; }
  .hero .hero-search > i { top: 22px; left: 18px; z-index: 6; }
  .hero .hero-search .voice-wrap { flex: 1 1 100%; }
  .hero .hero-search .voice-wrap > input { padding: 10px 52px 10px 38px !important; font-size: .95rem; }
  .hero .hero-search > .btn { flex: 1 1 100%; border-radius: 13px; padding: 12px 16px; font-size: 1rem; }
  .hero .hero-search > .btn::after { content: " \2192"; }
}


/* ===================== Look & feel polish ===================== */
html { -webkit-tap-highlight-color: transparent; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
.site-nav { box-shadow: 0 2px 16px rgba(15,61,62,.07); }
.section-title { letter-spacing: -.01em; }
.card-soft { transition: transform .2s ease, box-shadow .2s ease; }
@media (hover: hover) {
  .card-soft:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -14px rgba(15,61,62,.28); }
  .site-footer a:hover { color: #5eead4; }
}
.btn { transition: transform .12s ease, box-shadow .15s ease, background-color .15s ease; }
.btn:active { transform: scale(.97); }

@media (max-width: 767px) {
  /* section headings */
  .section .text-center.mb-5 { margin-bottom: 22px !important; }
  .eyebrow { font-size: .74rem; letter-spacing: .08em; }
  .section-title { font-size: 1.5rem; line-height: 1.3; }
  .section-sub { font-size: .9rem; line-height: 1.5; }

  /* services: easy-to-read rows (icon left, text right) */
  .row:has(.svc-icon) { --bs-gutter-y: 10px; }
  .row:has(.svc-icon) > [class*="col-"] { flex: 0 0 100% !important; max-width: 100% !important; width: 100% !important; }
  .card-soft:has(> .svc-icon) { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; align-items: center; padding: 14px 16px !important; text-align: left; border-radius: 16px; }
  .card-soft > .svc-icon { grid-row: span 2; margin: 0 !important; width: 48px; height: 48px; font-size: 1.3rem; }
  .card-soft:has(> .svc-icon) h5 { margin: 0 0 2px; font-size: 1rem; }
  .card-soft:has(> .svc-icon) p { margin: 0; font-size: .86rem; line-height: 1.45; }

  /* order steps */
  .step { padding: 16px !important; }

  /* "medicine not found" box: full-width buttons */
  .cta { border-radius: 20px; }
  .cta .d-flex { flex-direction: column; align-items: stretch !important; width: 100%; gap: 10px !important; }
  .cta .btn { width: 100%; justify-content: center; padding: 12px 16px; }

  /* footer clears the bottom bar */
  .site-footer { padding-bottom: 84px; }
}
