/* Medi Corner Pharmacy: white, leaf green and sunny yellow. Nunito for headings, Nunito Sans for text.
   Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --soft: #E6F7EF;
  --ink: #0B3B2E;
  --muted: #4A6A5F;
  --line: #D8EEE3;
  --line-strong: #A9D8C2;
  --brand: #0E9F6E;
  --brand-hover: #0B7F58;
  --brand-ink: #FFFFFF;
  --brand-text: #0A7A55;
  --sun: #F6B93B;
  --eyebrow: #0A7A55;
  --badge-bg: #F6B93B;
  --badge-ink: #3A2A00;
  --out-bg: #0B3B2E;
  --out-ink: #FFFFFF;
  --out-accent: #F6B93B;
  --out-btn: #F6B93B;
  --out-btn-ink: #3A2A00;
  --head: "Nunito", system-ui, sans-serif;
  --body: "Nunito Sans", system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --btn-radius: 999px;
  --wrap: 1180px;
  --gap: 22px;
}
h1, h2, h3 { font-weight: 800; letter-spacing: -.01em; line-height: 1.12; }
.btn { font-family: var(--head); font-weight: 800; }
.ic { color: var(--brand); }

/* header: green strip, white bar, pill nav */
.topbar { background: var(--brand); color: #fff; font-size: .88rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 12px; }
.topbar span { display: inline-flex; align-items: center; gap: 6px; }
.topbar .ic { color: #fff; width: 16px; height: 16px; }
.topbar a { color: #fff; font-weight: 800; text-decoration: none; }
@media (max-width: 600px) { .topbar span { display: none; } .topbar .wrap { justify-content: center; } }
.header { background: #fff; border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 44px; height: 44px; }
.logo span { display: grid; line-height: 1.05; }
.logo b { font: 800 1.3rem var(--head); color: var(--ink); }
.logo small { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-text); font-weight: 700; }
.nav a { font-weight: 700; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--soft); color: var(--brand-text); }

/* hero: big headline with the shop drawing on a green blob */
.hero { padding-block: clamp(32px, 6vw, 84px); background: radial-gradient(circle at 85% 20%, #E6F7EF, transparent 55%), #fff; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.7rem); margin: 12px 0 16px; }
.hero .t-actions { margin-top: 24px; }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 26px; color: var(--muted); }
.hero-facts li { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.hero-card { border-radius: 40% 60% 55% 45% / 45% 45% 55% 55%; overflow: hidden; background: var(--soft); box-shadow: 0 30px 60px -34px rgba(14, 159, 110, .6); }
.hero-card svg { display: block; width: 100%; height: auto; }
.steps-band { padding-block: clamp(36px, 5vw, 56px); background: var(--soft); }
.how { list-style: none; counter-reset: h; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 20px; }
.how li { counter-increment: h; display: grid; gap: 6px; padding: 18px 20px; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.how li::before { content: counter(h); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sun); color: #3A2A00; font: 800 1rem var(--head); }
.how h3 { font-size: 1.1rem; }
.how p { color: var(--muted); font-size: .94rem; }
.c-filters button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.team-band { background: #F6FCF9; }

.page-head { background: var(--soft); border-bottom: 1px solid var(--line); margin-bottom: clamp(24px, 4vw, 44px); }
.page-head h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); }
.numbers-band { background: var(--brand); color: #fff; }
.numbers b { color: #fff; }
.numbers span { color: #D4F2E4; }

/* order tool */
.o-list { list-style: none; display: grid; gap: 10px; }
.o-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 14px; align-items: center; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.o-row.has-qty { border-color: var(--brand); background: #F3FBF7; }
.o-row b { display: block; }
.o-row small { color: var(--muted); }
.o-rx { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #FDE8C8; color: #7A4A00; font-size: .72rem; font-weight: 800; }
.o-qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-strong); border-radius: 999px; overflow: hidden; }
.o-qty button { width: 42px; height: 42px; border: 0; background: transparent; font-size: 1.25rem; font-weight: 800; cursor: pointer; }
.o-qty button:disabled { opacity: .3; cursor: not-allowed; }
.o-qty output { min-width: 28px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.rx-note { padding: 12px 14px; border-radius: var(--radius); background: #FFF3D6; color: #5C3E00; font-weight: 600; }
.inline-check { display: flex; align-items: center; gap: 10px; min-height: 40px; font-weight: 700; }
.inline-check input { width: 20px; height: 20px; accent-color: var(--brand); }
.rem-box { padding: 14px; border-radius: var(--radius-lg); background: var(--soft); display: grid; gap: 10px; }
.rem-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.rem-list { list-style: none; display: grid; gap: 8px; }
.rem-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); }
.rem-list button { min-height: 36px; padding: 4px 12px; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; cursor: pointer; font-weight: 700; }

.cta-band { padding-block: clamp(44px, 6vw, 76px); background: var(--ink); color: #fff; }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.cta-band p { margin-top: 6px; color: #BFE3D3; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-primary { background: var(--sun); color: #3A2A00; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.footer { background: #072A21; color: #B7D8CA; --footer-line: rgba(255,255,255,.14); }
.footer .logo b { color: #fff; }
.footer .logo small { color: #8FD4B6; }
.footer h2 { color: #fff; }
.f-about { margin-top: 12px; max-width: 34ch; }
.footer .credit a { color: var(--sun); }
