/* Medrack — clear, restrained referral-first design. */

:root {
  --bg: #ffffff;
  --bg-alt: #f0f6f7;          /* light teal-blue section fill */
  --ink: #1b4b5b;
  --muted: #5a6a75;
  --line: #c9d6e0;
  --blue: #0b3977;            /* Medrack wordmark blue */
  --blue-mid: #1b4b5b;        /* Medrack deep teal */
  --link: #0b3977;
  --green: #2e836c;           /* Medrack symbol green */
  --green-dark: #216653;
  --tint-green: #e4f3ed;
  --focus: rgba(83, 199, 160, 0.44);
  --r: 10px;
  --maxw: 1160px;
  --font: Arial, Helvetica, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 16px;
}
main { min-height: 60vh; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

h1 { font-size: clamp(2rem, 4vw, 3.45rem); line-height: 1.08; letter-spacing: -0.035em; font-weight: 700; margin: 0 0 1rem; color: var(--ink); }
h2 {
  font-size: clamp(1.45rem, 2.5vw, 2rem); line-height: 1.2; letter-spacing: -0.02em; font-weight: 700; color: var(--blue);
  margin: 1.9rem 0 0.9rem; padding-bottom: 0;
  border-bottom: 0;
}
h3 { font-size: 1rem; font-weight: 700; margin: 1rem 0 0.35rem; }
p { margin: 0.5rem 0; }
.muted { color: var(--muted); }
.small { font-size: 0.86rem; }
.lead { font-size: 1.13rem; color: var(--muted); max-width: 64ch; line-height: 1.65; }

/* ---------- header: contact utility bar + navigation ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-contact-bar { background: linear-gradient(90deg, #082f68, #0b3977 52%, #0f4a72); color: #dceff0; }
.header-contact-bar-inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); min-height: 51px; }
.header-contact-item { align-items: center; color: #fff; display: flex; gap: 9px; justify-content: center; min-width: 0; padding: 8px 18px; text-decoration: none; }
.header-contact-item + .header-contact-item { border-left: 1px solid rgba(220, 239, 240, .2); }
.header-contact-item svg { fill: none; flex: 0 0 19px; height: 19px; stroke: #8fe0c6; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; width: 19px; }
.header-contact-item span { display: grid; min-width: 0; }
/* The other two contact icons are line art, so the rule above sets fill:none and strokes
   them. The WhatsApp mark is a solid glyph: stroking it draws the outline of the fill and
   renders as a hollow, doubled shape. Solid brand glyphs opt out here. */
.header-contact-item svg.brand-glyph { fill: #8fe0c6; stroke: none; }

.header-contact-item b { color: #8fe0c6; font-size: .63rem; font-weight: 800; letter-spacing: .08em; line-height: 1.15; text-transform: uppercase; }
.header-contact-item em { color: #fff; font-size: .8rem; font-style: normal; font-weight: 700; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.header-contact-item:hover, a.header-contact-item:focus-visible { background: rgba(255, 255, 255, .08); color: #fff; text-decoration: none; }
.header-main { min-height: 76px; display: flex; justify-content: space-between; align-items: center; gap: 22px; }
.brand-lockup { display: inline-flex; align-items: center; color: var(--blue); line-height: 1.08; }
.brand-lockup:hover { text-decoration: none; }
.brand-header-logo { display: block; height: auto; width: 232px; }
.header-whatsapp { align-items: center; background: var(--green); border: 1px solid var(--green-dark); border-radius: 7px; color: #fff; display: inline-flex; font-size: .8rem; font-weight: 800; gap: 7px; padding: 8px 12px; white-space: nowrap; }
.header-whatsapp:hover { background: var(--green-dark); color: #fff; text-decoration: none; }
.header-whatsapp svg { fill: currentColor; flex: 0 0 16px; height: 16px; width: 16px; }
.header-actions { align-items: center; display: flex; gap: 10px; }
.enquiry-cart-link { align-items: center; border: 1px solid #9dbbc0; border-radius: 7px; color: var(--blue); display: inline-flex; font-size: .8rem; font-weight: 800; gap: 7px; padding: 7px 9px; position: relative; white-space: nowrap; }
.enquiry-cart-link:hover { background: #f4f8f8; text-decoration: none; }
.enquiry-cart-link svg { height: 19px; width: 19px; }
.enquiry-cart-link b { align-items: center; background: var(--blue); border-radius: 100px; color: #fff; display: inline-flex; font-size: .68rem; height: 18px; justify-content: center; min-width: 18px; padding: 0 5px; }
.mobile-navigation { display: none; }
.header-navigation { border-top: 1px solid #e4ecef; border-bottom: 1px solid #e0e9ec; }
.header-navigation .wrap { min-height: 52px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.header-links { display: flex; align-items: stretch; overflow-x: auto; scrollbar-width: none; }
.header-links::-webkit-scrollbar { display: none; }
.header-links a { display: inline-flex; align-items: center; color: #35525f; font-size: .88rem; font-weight: 700; padding: 15px 14px; white-space: nowrap; }
.header-links a:first-child { padding-left: 0; }
.header-links a:hover { color: var(--blue); text-decoration: none; }
.header-cta { border: 1px solid #2e7664; border-radius: 7px; color: #135949; padding: 7px 11px; font-size: .81rem; font-weight: 800; white-space: nowrap; }
.header-cta:hover { background: #f1f9f6; text-decoration: none; }
.top-bar { background: #ffffff; border-bottom: 1px solid var(--line); padding: 15px 0; }
.top-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 1.28rem; letter-spacing: -0.03em; color: var(--blue); flex-shrink: 0; }
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 30px; height: 30px; border-radius: var(--r);
  display: inline-block; flex: 0 0 auto;
}
.phone-compact { font-weight: 700; color: var(--blue); font-size: 0.9rem; margin-left: auto; white-space: nowrap; }
.phone-compact::before { content: "●"; color: var(--green); font-size: 0.72rem; margin-right: 6px; }
@media (max-width: 460px) { .phone-compact { font-size: 0.85rem; } }
.geo-wrap { display: flex; align-items: center; gap: 6px; margin-left: 16px; flex-shrink: 0; }
.geo-flag { display: block; border: 1px solid var(--line); border-radius: 2px; }
.geo-context {
  display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center;
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--r);
  padding: 9px 14px; margin: 12px 0 4px; font-size: 0.86rem;
}
.geo-context img { border: 1px solid var(--line); border-radius: 2px; }
.geo-context strong { color: var(--blue); }
.geo-label { font-size: 0.8rem; color: var(--muted); font-weight: 700; white-space: nowrap; }
.geo-select {
  width: auto; padding: 6px 8px; font-size: 0.85rem; font-weight: 600;
  border: 1px solid var(--line); border-radius: var(--r); background: #fff; color: var(--ink);
  max-width: 150px;
}
@media (max-width: 640px) { .geo-label { display: none; } .geo-select { max-width: 118px; } }

/* Entry modal: enforced (no skip) - user must set delivery country before browsing.
   NOTE: `.geo-modal[hidden]` is REQUIRED - author `display:flex` beats the UA stylesheet's
   `[hidden]{display:none}`, so without this the modal never visually closes. */
/* Honeypot: off-screen (not display:none - some bots skip hidden fields). */
.hp-field {
  position: absolute !important; left: -9999px !important;
  width: 1px; height: 1px; overflow: hidden;
}

.geo-modal {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(9, 32, 54, 0.72);
  display: flex; align-items: center; justify-content: center; padding: 16px;
  overflow-y: auto;
}
.geo-modal[hidden] { display: none; }
.geo-modal-box {
  background: #fff; border-radius: 6px; width: 100%; max-width: 460px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  overflow: hidden; animation: gm-in 0.22s ease-out;
}
@keyframes gm-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .geo-modal-box { animation: none; } }

.geo-modal-head {
  background: var(--blue); color: #fff; padding: 16px 22px;
  display: flex; align-items: center; gap: 10px;
}
.geo-modal-head .logo-mark { width: 26px; height: 26px; }
.geo-modal-head strong { font-size: 1.05rem; display: block; line-height: 1.3; }
.geo-modal-head span { font-size: 0.82rem; color: #b9d0e4; }

.geo-modal-body { padding: 20px 22px 22px; }
.gm-step { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 18px; }
.gm-step:last-of-type { margin-bottom: 6px; }
.gm-num {
  flex-shrink: 0; width: 25px; height: 25px; border-radius: 50%;
  background: var(--blue); color: #fff; font-size: 0.82rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.gm-field { flex: 1; min-width: 0; }
.gm-field label { display: block; font-weight: 700; font-size: 0.92rem; margin: 0 0 5px; }
.gm-field .gm-hint { display: block; font-weight: 400; color: var(--muted); font-size: 0.79rem; margin-top: 2px; }
.gm-field select { width: 100%; padding: 10px 11px; font-size: 0.95rem; }
.gm-field select:focus { border-color: var(--link); box-shadow: 0 0 0 3px var(--focus); outline: none; }
.gm-error { color: #b91c1c; font-size: 0.8rem; font-weight: 600; margin: 6px 0 0; }
.geo-modal-foot {
  background: var(--bg-alt); border-top: 1px solid var(--line);
  padding: 11px 22px; font-size: 0.78rem; color: var(--muted);
  display: flex; flex-wrap: wrap; gap: 4px 14px; justify-content: center;
}

.lang-select { display: flex; gap: 7px; align-items: center; margin-left: 14px; flex-shrink: 0; }
.lang-select .flag { display: block; line-height: 0; padding: 2px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.lang-select .flag img { display: block; }
.lang-select .flag.active { border-color: var(--blue); box-shadow: 0 0 0 2px var(--focus); }
.lang-select .flag:hover { border-color: var(--link); }

.main-nav { background: #fff; border-bottom: 1px solid var(--line); }
.main-nav .wrap { display: flex; overflow-x: auto; scrollbar-width: none; }
.main-nav .wrap::-webkit-scrollbar { display: none; }
.main-nav a {
  color: var(--blue); font-weight: 600; font-size: 0.9rem;
  padding: 13px 16px; white-space: nowrap; display: inline-block;
}
.main-nav a:hover { background: var(--bg-alt); text-decoration: none; }

/* guarantee strip under nav */
.assure-bar { background: #f4f8fa; border-bottom: 1px solid var(--line); font-size: 0.8rem; padding: 8px 0; color: #28566d; }
.assure-bar .wrap { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; font-weight: 600; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  background: var(--green); color: #ffffff;
  padding: 11px 22px; border-radius: var(--r);
  font-weight: 700; font-size: 0.98rem; font-family: var(--font);
  border: 1px solid var(--green-dark); cursor: pointer;
}
.btn:hover { background: var(--green-dark); color: #fff; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
.btn.secondary { background: #ffffff; color: var(--link); border: 1px solid var(--link); }
.btn.secondary:hover { background: var(--bg-alt); color: var(--link); }
.btn.light { background: #ffffff; color: var(--blue); border-color: #ffffff; }
.btn.light:hover { background: var(--bg-alt); }
.btn.block { display: block; width: 100%; text-align: center; }

/* ---------- layout ---------- */
.hero { padding: 44px 0 30px; }
.grid-2 { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; align-items: start; }
.section { padding: 14px 0; }
.band { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; }
.band-dark { background: var(--blue); color: #dce8f2; padding: 42px 0; }
.band-dark h2 { color: #ffffff; border-bottom-color: rgba(255, 255, 255, 0.25); margin-top: 0; }
.band-dark .muted { color: #b9cddd; }
.band-dark a:not(.btn) { color: #ffffff; text-decoration: underline; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(225px, 1fr)); gap: 12px; }
.card {
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 16px 18px; background: #ffffff;
}
a.card:hover { border-color: var(--link); text-decoration: none; }
a.card:hover strong { text-decoration: underline; }
.card strong { font-size: 0.98rem; color: var(--link); }

/* category grid: plain 3-up, like a classic store */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cat-card { display: block; padding: 16px 18px; border-radius: var(--r); border: 1px solid var(--line); background: #ffffff; }
.cat-card:hover { border-color: var(--link); text-decoration: none; }
.cat-card:hover h3 { text-decoration: underline; }
.cat-card.tinted { background: var(--bg-alt); }
.cat-card h3 { margin: 0 0 3px; font-size: 1.02rem; color: var(--link); }
.cat-card p { color: var(--muted); font-size: 0.86rem; margin: 0 0 8px; }
.cat-meta { color: var(--green); font-weight: 700; font-size: 0.86rem; }
@media (max-width: 900px) { .cat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cat-grid { grid-template-columns: 1fr; } }

/* horizontal product row */
.snap-row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 12px; }
.snap-row > * { flex: 0 0 225px; scroll-snap-align: start; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step-num {
  width: 30px; height: 30px; border-radius: var(--r);
  background: var(--blue); color: #ffffff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; margin-bottom: 8px;
}
.steps h3 { margin: 0 0 3px; font-size: 0.98rem; }
.steps p { color: var(--muted); font-size: 0.88rem; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* trust seals: bordered boxes, classic badge row */
.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.trust-strip > div {
  display: flex; gap: 10px; align-items: flex-start;
  background: #ffffff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 12px 14px;
}
.tick {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: var(--r);
  background: var(--green); color: #fff;
  font-size: 0.8rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
.trust-strip strong { display: block; font-size: 0.9rem; }
.trust-strip span { color: var(--muted); font-size: 0.8rem; line-height: 1.4; }
@media (max-width: 900px) { .trust-strip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .trust-strip { grid-template-columns: 1fr; } }

/* pills & chips */
.pill {
  display: inline-block; background: var(--bg-alt); color: var(--blue);
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 2px 9px; font-size: 0.78rem; font-weight: 600; margin: 0 5px 4px 0;
}
.pill.good { background: var(--tint-green); color: var(--green-dark); border-color: #b7dcc2; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  display: inline-block; padding: 6px 12px; border-radius: var(--r);
  border: 1px solid var(--line); background: #ffffff;
  font-size: 0.86rem; font-weight: 600; color: var(--ink);
}
a.chip:hover { border-color: var(--link); color: var(--link); text-decoration: none; }

.savings { color: var(--green); font-weight: 700; }
.callout { background: var(--bg-alt); border: 1px solid var(--line); border-left: 4px solid var(--blue); padding: 13px 16px; border-radius: var(--r); }

/* ---------- price tables: bordered + striped ---------- */
table.price { width: 100%; border-collapse: collapse; margin: 12px 0; }
table.price th, table.price td { text-align: left; padding: 9px 12px; border: 1px solid var(--line); }
table.price th { background: var(--bg-alt); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--blue); }
table.price tbody tr:nth-child(odd) { background: #f8fafc; }
table.price tbody tr:last-child { background: var(--tint-green); }
.strike { text-decoration: line-through; color: var(--muted); }

/* legacy price proof box (not used in the public experience) */
.price-proof { background: #ffffff; border: 1px solid var(--line); border-radius: var(--r); padding: 0; overflow: hidden; }
.price-proof .pp-label {
  font-size: 0.82rem; color: var(--blue); font-weight: 700;
  background: var(--bg-alt); border-bottom: 1px solid var(--line);
  padding: 9px 16px; margin: 0;
}
.price-proof .pp-row { display: flex; justify-content: space-between; align-items: baseline; padding: 11px 16px; border-bottom: 1px solid var(--line); }
.price-proof .pp-big { font-size: 1.55rem; font-weight: 700; color: var(--green); }
.price-proof > a { display: block; padding: 10px 16px; font-weight: 600; }

/* ---------- forms & panels ---------- */
.panel { border: 1px solid var(--line); border-radius: var(--r); padding: 18px; background: #ffffff; }
.panel h3 { color: var(--blue); }
/* product page: order/enquiry column sticks alongside the long SEO article */
.order-col { position: sticky; top: 14px; align-self: start; }
.molecule-body h2 { scroll-margin-top: 80px; }
.molecule-body ul { padding-left: 20px; }
.molecule-body li { margin: 4px 0; }
label { display: block; font-weight: 700; margin: 11px 0 4px; font-size: 0.87rem; }
input, select, textarea {
  width: 100%; padding: 9px 11px; border: 1px solid #9fb2c0;
  border-radius: var(--r); font: inherit; font-size: 0.93rem;
  background: #ffffff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--link); box-shadow: 0 0 0 3px var(--focus); }
input::placeholder { color: #7e8f9b; }
.form-note { font-size: 0.79rem; color: var(--muted); margin-top: 9px; line-height: 1.45; }

/* ---------- storefront catalogue ---------- */
.storefront-hero { align-items: flex-end; background: #173f55; border-bottom: 1px solid #d5e3e6; display: flex; isolation: isolate; min-height: clamp(570px, 47vw, 700px); overflow: hidden; padding: clamp(52px, 7vw, 98px) 0 clamp(30px, 4vw, 56px); position: relative; }
.storefront-hero > .wrap { width: 100%; }
.storefront-hero-backdrop { height: 960px; inset: 0; object-fit: cover; object-position: 52% 42%; position: absolute; width: 100%; z-index: -2; }
.storefront-hero-scrim { background: linear-gradient(90deg, rgba(6, 34, 55, .92) 0%, rgba(8, 45, 65, .82) 38%, rgba(8, 45, 65, .3) 68%, rgba(8, 45, 65, .08) 100%); inset: 0; position: absolute; z-index: -1; }
.storefront-hero-grid { align-items: center; display: grid; grid-template-columns: minmax(0, 670px); }
.storefront-hero-copy { color: #edf7f6; max-width: 670px; }
.storefront-hero .eyebrow { color: #8fe0c6; }
.storefront-hero h1 { color: #fff; max-width: none; text-shadow: 0 2px 12px rgba(0, 0, 0, .18); }
.storefront-hero .lead { color: #e1eff0; max-width: 59ch; }
.storefront-hero .hero-medicine-search label { color: #fff; }
.storefront-hero .hero-browse-link { color: #e0eff0; }
.storefront-hero .hero-browse-link .text-link { color: #a9ebd2; }
.storefront-hero .small.muted { color: #d7e9ea; }
.storefront-hero .hero-medicine-search { position: relative; }
.hero-search-suggestions.hero-search-overlay { margin: 0; max-height: min(300px, calc(100dvh - 24px)); overflow-y: auto; position: fixed; z-index: 60; }
.hero-referral-note { color: #d7e9ea; font-size: .86rem; line-height: 1.45; margin: 8px 0 0; max-width: 58ch; }
.hero-search-row.storefront-search-row { grid-template-columns: minmax(0, 1fr) max-content; }
.hero-search-row.storefront-search-row .btn { min-width: max-content; padding-left: 16px; padding-right: 16px; width: auto; }
.catalogue-hero { background: #f2f7f8; border-bottom: 1px solid #d7e4e6; padding: 0 0 clamp(34px, 5vw, 57px); }
.catalogue-hero h1 { color: #193f51; max-width: 17ch; }
.homepage-featured-section { padding-top: clamp(28px, 3.5vw, 44px); }
.homepage-featured-section .section-heading p { max-width: 70ch; }
.catalogue-search-label { color: #294d59; font-size: .86rem; margin: 25px 0 7px; }
.catalogue-search-wrap { max-width: 710px; position: relative; }
.catalogue-search-wrap > .hero-search-field > input { border-color: #a9c2c8; box-shadow: 0 4px 12px rgba(29, 69, 84, .06); padding: 13px 15px; }
.catalogue-search-wrap .hero-search-suggestions { max-width: 710px; }
.catalogue-grid .product-card.is-search-highlight { animation: catalogue-card-highlight 1.8s ease-out; outline: 3px solid #54a58e; outline-offset: 3px; }
@keyframes catalogue-card-highlight { 0%, 65% { box-shadow: 0 0 0 8px rgba(84, 165, 142, .2); } 100% { box-shadow: none; } }
.catalogue-grid { display: grid; gap: 17px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-card { background: #fff; border: 1px solid #d5e1e5; border-radius: 13px; color: var(--ink); display: flex; flex-direction: column; min-width: 0; overflow: hidden; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.product-card:hover { border-color: #6da69d; box-shadow: 0 10px 22px rgba(17, 67, 83, .1); text-decoration: none; transform: translateY(-2px); }
.product-pack-image { aspect-ratio: 1.42 / .83; background: #f5f8f7; border-bottom: 1px solid #e1e9e9; overflow: hidden; position: relative; }
.product-pack-image img { display: block; height: 100%; object-fit: cover; object-position: 50% 47%; width: 100%; }
.product-pack-image span { background: rgba(255,255,255,.92); border: 1px solid #d5e0e0; border-radius: 99px; bottom: 9px; color: #476069; font-size: .65rem; font-weight: 800; left: 10px; letter-spacing: .035em; padding: 3px 7px; position: absolute; text-transform: uppercase; }
/* Real pack photographs. The illustrative render is square and art-directed, so `cover` crops it
   safely. These are supplier photographs running from 820x347 to 693x1200, and `cover` turns a
   tall carton into a sliver of one face, so they are contained on white and never cropped. */
.product-pack-photo { background: #fff; }
.product-pack-photo img { object-fit: contain; padding: 10px; }
.product-card-body { display: flex; flex: 1; flex-direction: column; padding: 16px 17px 17px; }
.product-card-main { color: inherit; display: flex; flex: 1; flex-direction: column; }
.product-card-main:hover { text-decoration: none; }
.product-card-add { background: #fff; border: 0; border-top: 1px solid #dce7e8; color: #176352; cursor: pointer; font: inherit; font-size: .82rem; font-weight: 800; padding: 12px 16px; text-align: left; }
.product-card-add:hover, .product-card-add.is-added { background: #edf8f4; color: #125a48; }
.product-card h3 { color: var(--blue); font-size: 1.12rem; line-height: 1.2; margin: 4px 0 7px; }
.product-type { color: #357768; font-size: .7rem; font-weight: 800; letter-spacing: .055em; line-height: 1.3; margin: 0; text-transform: uppercase; }
.product-brand { color: var(--muted); font-size: .83rem; line-height: 1.45; margin: 0 0 18px; }
.about-proof { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); max-width: 1080px; }
.about-proof article { background: #eef7f5; border: 1px solid #cce3de; border-radius: 12px; display: grid; gap: 7px; padding: 20px; }
.about-proof strong { color: #17566a; font-size: 1.55rem; letter-spacing: -.03em; }
.about-proof span { color: #4e6970; font-size: .88rem; line-height: 1.5; }
.about-steps { display: grid; gap: 13px; line-height: 1.65; padding-left: 22px; }
.about-steps strong { color: var(--blue); }
.about-strengths { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 16px; }
.about-strengths article { border: 1px solid var(--line); border-radius: 11px; padding: 17px; }
.about-strengths h3 { color: #1f586a; margin: 0 0 6px; }
.about-strengths p { color: var(--muted); font-size: .92rem; line-height: 1.55; margin: 0; }
.business-identity { border: 1px solid #d8e4e6; border-radius: 10px; margin: 14px 0 0; overflow: hidden; }
.business-identity div { display: grid; grid-template-columns: minmax(150px, .34fr) 1fr; }
.business-identity div + div { border-top: 1px solid #d8e4e6; }
.business-identity dt { background: #f4f8f8; color: #315766; font-size: .82rem; font-weight: 800; padding: 11px 13px; }
.business-identity dd { color: #405860; font-size: .88rem; margin: 0; padding: 11px 13px; }
.business-identity dd span { display: block; margin-top: 3px; }
.product-card-compact .product-pack-image { aspect-ratio: 1.7 / .72; }
.product-card-compact .product-card-body { padding: 13px 14px 15px; }
.product-card-compact h3 { font-size: 1rem; }
.empty-catalogue { background: #fff7eb; border-left: 3px solid #b77620; color: #695324; margin: 20px 0 0; padding: 13px 15px; }
.compact-callout { align-items: center; display: flex; gap: 32px; justify-content: space-between; }
.compact-callout h2 { margin: 0 0 8px; }
.compact-callout p { color: var(--muted); max-width: 65ch; }
.compact-callout .btn { flex: 0 0 auto; }
.product-hero { background: linear-gradient(126deg, #f4f9f8, #f9fbfc); border-bottom: 1px solid #d6e5e6; padding: clamp(28px, 5vw, 55px) 0; }
.product-hero-grid { align-items: center; display: grid; gap: clamp(28px, 6vw, 84px); grid-template-columns: minmax(270px, .72fr) minmax(0, 1.08fr); }
.product-hero-image { background: #fff; border: 1px solid #d5e1e4; border-radius: 16px; margin: 0; overflow: hidden; padding: 9px; }
.product-hero-image img { display: block; height: auto; max-height: 362px; object-fit: cover; width: 100%; }
/* Pack photographs vary from wide to tall, so they get a fixed box and are contained inside it.
   With `cover` and the shared max-height, a 693x1200 carton was cropped to its middle third. */
.product-hero-image img.pack-photo { height: 362px; max-height: 362px; object-fit: contain; }
.product-hero-image p { color: #5c717a; font-size: .71rem; line-height: 1.4; margin: 8px 5px 2px; }
.product-hero h1 { color: #173c50; margin-bottom: 9px; }
.product-brand-heading { color: #315662; margin: 0 0 14px; }
.product-facts { display: flex; flex-wrap: wrap; gap: 9px; margin: 21px 0; }
.product-facts span { background: #fff; border: 1px solid #cedee1; border-radius: 8px; color: #465f67; font-size: .8rem; padding: 7px 10px; }
.product-facts strong { color: var(--blue); display: block; font-size: .69rem; letter-spacing: .04em; margin-bottom: 1px; text-transform: uppercase; }
.product-content-grid { align-items: start; display: grid; gap: clamp(30px, 6vw, 78px); grid-template-columns: minmax(0, 1.16fr) minmax(315px, .68fr); }
.medicine-reading { max-width: 760px; }
.medicine-reading section { border-bottom: 1px solid #deeaeb; padding: 0 0 23px; }
.medicine-reading section + section { padding-top: 22px; }
.medicine-reading h2 { color: #1c475d; margin: 0 0 10px; }
.medicine-reading li { margin: 5px 0; }
.medicine-details { border: 1px solid #d8e4e6; border-radius: 10px; margin: 13px 0; overflow: hidden; }
.medicine-details div { display: grid; grid-template-columns: minmax(130px, .36fr) 1fr; }
.medicine-details div + div { border-top: 1px solid #d8e4e6; }
.medicine-details dt { background: #f4f8f8; color: #315766; font-size: .81rem; font-weight: 800; padding: 10px 12px; }
.medicine-details dd { color: #405860; font-size: .87rem; margin: 0; padding: 10px 12px; }
.medicine-faq-item + .medicine-faq-item { border-top: 1px solid #e6eff0; margin-top: 14px; padding-top: 14px; }
.medicine-faq-item h3 { color: #1c475d; font-size: .97rem; margin: 0 0 6px; }
.medicine-faq-item p { margin: 0; }
.medicine-guides ul { list-style: none; margin: 12px 0 0; padding: 0; }
.medicine-guides li + li { margin-top: 10px; }
.medicine-guides li a { font-weight: 700; }
.medicine-guides li span { display: block; margin-top: 2px; }
.process-steps { display: grid; gap: 0; list-style: none; margin: 14px 0 12px; padding: 0; }
.process-steps li { display: grid; gap: 13px; grid-template-columns: 42px 1fr; padding: 13px 0; }
.process-steps li + li { border-top: 1px solid #e6eff0; }
.process-step-number { align-items: center; background: #eef7f5; border: 1px solid #cce3de; border-radius: 999px; color: #17566a; display: flex; font-size: .78rem; font-weight: 800; height: 34px; justify-content: center; width: 34px; }
.process-steps h3 { color: #1c475d; font-size: .97rem; margin: 4px 0 5px; }
.process-steps p { color: #4e6970; font-size: .89rem; line-height: 1.55; margin: 0; }
@media (max-width: 520px) { .process-steps li { grid-template-columns: 34px 1fr; gap: 10px; } }
.medicine-question-panel { position: sticky; top: 14px; }
.medicine-question-panel h2 { font-size: 1.33rem; margin: 0 0 8px; }
.medicine-question-panel .eyebrow { margin-bottom: 7px; }
.related-products { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 19px; }
.add-to-enquiry { background: #fff; border: 1px solid #c6dddd; border-radius: 12px; box-shadow: 0 9px 22px rgba(20, 70, 82, .06); padding: 19px; position: sticky; top: 14px; }
.add-to-enquiry h2 { font-size: 1.26rem; margin: 0 0 8px; }
.add-to-enquiry-fields { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr) 92px; }
.add-to-enquiry-fields label { margin-top: 12px; }
.add-to-enquiry-fields input, .add-to-enquiry-fields select { margin-top: 4px; }
.add-to-enquiry .btn { margin-top: 16px; }
.enquiry-page { background: radial-gradient(circle at 9% 14%, #e5f4ef 0, transparent 26%), linear-gradient(135deg, #f8fbfb 0%, #f2f8f6 100%); padding: 0 0 clamp(45px, 7vw, 80px); }
.enquiry-layout { align-items: start; display: grid; gap: clamp(34px, 6vw, 84px); grid-template-columns: minmax(0, 1.05fr) minmax(350px, .76fr); }
.enquiry-page h1 { color: #183f52; max-width: 18ch; }
.enquiry-items { display: grid; gap: 10px; margin: 27px 0 15px; }
.enquiry-item { align-items: center; background: rgba(255, 255, 255, .92); border: 1px solid #d7e6e5; border-radius: 16px; box-shadow: 0 8px 20px rgba(17, 64, 75, .04); display: flex; justify-content: space-between; gap: 16px; padding: 16px 17px; }
.enquiry-item strong, .enquiry-item span { display: block; }
.enquiry-item strong { color: var(--blue); }
.enquiry-item span { color: var(--muted); font-size: .83rem; margin-top: 2px; }
.enquiry-item .enquiry-item-details { color: #315d68; font-size: .78rem; line-height: 1.45; }
.enquiry-item button { background: #fff5f5; border: 1px solid #f2cece; border-radius: 999px; color: #a13131; cursor: pointer; font: inherit; font-size: .76rem; font-weight: 800; padding: 6px 10px; }
.empty-enquiry { background: rgba(255, 255, 255, .82); border: 1px dashed #9fc3bd; border-radius: 16px; color: var(--muted); margin: 27px 0 15px; padding: 22px; }
.enquiry-form-panel { position: sticky; top: 14px; }
.enquiry-form-shell { background: rgba(255, 255, 255, .94); border: 1px solid rgba(198, 218, 217, .95); border-radius: 22px; box-shadow: 0 20px 52px rgba(18, 67, 79, .12); overflow: hidden; padding: 24px; }
.enquiry-form-shell h2 { font-size: 1.42rem; margin: 0 0 5px; }
.enquiry-form { margin: 22px -24px -24px; }
.enquiry-form-section { border-top: 1px solid #e2eceb; padding: 21px 24px; }
.enquiry-form-section-head { align-items: flex-start; display: flex; gap: 10px; margin-bottom: 15px; }
.enquiry-form-section-head > span { align-items: center; background: #e6f4ee; border: 1px solid #cce7dc; border-radius: 50%; color: #176352; display: inline-flex; flex: 0 0 26px; font-size: .76rem; font-weight: 800; height: 26px; justify-content: center; margin-top: 2px; width: 26px; }
.enquiry-form-section h3 { color: #183f52; font-size: .95rem; margin: 0; }
.enquiry-form-section-head p { color: var(--muted); font-size: .78rem; line-height: 1.45; margin: 2px 0 0; }
.enquiry-fields { display: grid; gap: 13px; grid-template-columns: 1fr; }
.enquiry-field { min-width: 0; }
.enquiry-field-wide { grid-column: 1 / -1; }
.enquiry-form label { color: #294d59; font-size: .78rem; letter-spacing: .01em; margin: 0 0 6px; }
.enquiry-form input, .enquiry-form textarea { background: #f8fbfb; border-color: #c7d9dc; border-radius: 11px; min-height: 46px; padding: 11px 12px; transition: background .18s ease, border-color .18s ease, box-shadow .18s ease; }
.enquiry-form textarea { min-height: 82px; resize: vertical; }
.enquiry-form input:focus, .enquiry-form textarea:focus { background: #fff; border-color: #4b9e89; box-shadow: 0 0 0 4px rgba(75, 158, 137, .14); }
.policy-consent { align-items: flex-start; display: flex; gap: 10px; line-height: 1.5; }
.policy-consent input[type="checkbox"] { flex: 0 0 auto; height: 18px; margin: 2px 0 0; min-height: 18px; padding: 0; width: 18px; }
.policy-consent span { color: #405c64; font-size: .78rem; }
.document-upload { background: #f5fbf9; border: 1px dashed #86b9ad; border-radius: 13px; cursor: pointer; display: grid; gap: 3px; padding: 15px; transition: background .18s ease, border-color .18s ease; }
.document-upload:hover { background: #eef8f4; border-color: #4b9e89; }
.document-upload > span { color: #176352; font-size: .86rem; font-weight: 800; }
.document-upload small { color: #55717a; font-size: .75rem; }
.document-upload input { block-size: 1px; clip: rect(0 0 0 0); clip-path: inset(50%); inline-size: 1px; overflow: hidden; position: absolute; white-space: nowrap; }
.document-list { display: grid; gap: 8px; list-style: none; margin: 11px 0 0; padding: 0; }
.document-list:empty { display: none; }
.document-list li { align-items: center; background: #f7fbfa; border: 1px solid #d5e8e2; border-radius: 10px; display: flex; gap: 10px; justify-content: space-between; padding: 9px 10px; }
.document-list span { display: grid; min-width: 0; }
.document-list strong { color: #254e58; font-size: .78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.document-list small { color: #317360; font-size: .69rem; margin-top: 2px; }
.document-list button { background: #fff; border: 1px solid #b9d3cc; border-radius: 7px; color: #246353; cursor: pointer; flex: 0 0 auto; font: inherit; font-size: .71rem; font-weight: 800; padding: 5px 7px; }
.verification-code { background: #eef8f4; border: 1px solid #cae4d8; border-radius: 13px; margin: 0 24px 22px; padding: 14px; }
.verification-status { color: var(--muted); font-size: .75rem; line-height: 1.45; margin: 5px 0 0; }
.verification-status.is-valid { color: #176352; font-weight: 700; }
.verification-status.is-error { color: #a13131; }
.enquiry-submit { border: 0; border-radius: 0 0 21px 21px; box-shadow: none; font-size: 1rem; min-height: 57px; padding: 14px 22px; }
.enquiry-submit:disabled { background: #91aaa8; border: 0; cursor: not-allowed; opacity: 1; }
.enquiry-form .form-note { background: #f8fafb; font-size: .75rem; margin: 0; padding: 13px 24px 17px; text-align: center; }

.breadcrumb { font-size: 0.8rem; color: var(--muted); padding: 12px 0 0; }
.trust-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 12px 0 4px; }

/* ---------- reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.review-card { border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; background: #ffffff; }
.rev-head { display: flex; gap: 10px; align-items: center; }
.avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.rev-name { font-weight: 700; font-size: 0.9rem; line-height: 1.3; }
.rev-loc { color: var(--muted); font-size: 0.78rem; }
.stars { color: #f0a500; letter-spacing: 2px; font-size: 0.98rem; margin: 8px 0 4px; }
.review-card p { font-size: 0.86rem; margin: 0 0 9px; }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { border-top: 4px solid var(--green); margin-top: 3rem; padding: 2.5rem 0 1.7rem; background: #0b3977; color: #dce8ef; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 26px; }
.site-footer ul { list-style: none; padding: 0; margin: 8px 0; }
.site-footer li { margin: 4px 0; }
.site-footer a { color: #dceff0; }
.site-footer strong { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; color: #8fe0c6; }
/* Uses the white silhouette, not the header's colour lockup. The colour lockup's wordmark is
   #0B3977, identical to this footer's background, so it would vanish here without a light plate
   behind it, and that plate was rejected on looks. */
.footer-brand-lockup { display: block; max-width: 250px; }
.footer-brand-lockup img { display: block; height: auto; width: 100%; }
.footer-summary { color: #d4e3e8; font-size: .82rem; line-height: 1.45; margin: 11px 0 0 9px; max-width: 26ch; }
.footer-contact-icons { display: flex; align-items: center; gap: 9px; margin: 12px 0 0 9px; }
.footer-contact-icons a { align-items: center; border: 1px solid rgba(220, 239, 240, .62); border-radius: 50%; color: #fff; display: inline-flex; height: 34px; justify-content: center; transition: background .16s ease, color .16s ease; width: 34px; }
.footer-contact-icons a:hover, .footer-contact-icons a:focus-visible { background: #fff; color: var(--blue); text-decoration: none; }
.footer-contact-icons svg { fill: currentColor; height: 17px; width: 17px; }
.footer-support-details { border-left: 2px solid #49a88a; display: grid; font-size: .79rem; gap: 9px; margin: 19px 0 0 9px; padding-left: 12px; }
.footer-support-details strong { margin-bottom: 2px; }
.footer-support-item { color: #e4eff2; display: grid; gap: 1px; line-height: 1.35; margin: 0; width: fit-content; }
.footer-support-item span { color: #8fe0c6; font-size: .64rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.footer-support-details a:hover { color: #fff; }
.footer-legal { border-top: 1px solid rgba(220, 239, 240, .28); color: #c4d7df; margin-top: 22px; padding-top: 14px; }
.footer-legal a { color: #9fe5cd; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- responsive & a11y ---------- */
@media (max-width: 800px) {
  .grid-2 { grid-template-columns: 1fr; }
  .panel, .order-col { position: static !important; }
  .hero { padding: 20px 0 14px; }
  .storefront-hero-grid, .product-hero-grid, .product-content-grid { grid-template-columns: 1fr; }
  .storefront-hero { min-height: 0; }
  .storefront-hero-backdrop { object-position: 65% center; }
  .storefront-hero-scrim { background: linear-gradient(90deg, rgba(6, 34, 55, .92) 0%, rgba(8, 45, 65, .79) 100%); }
  .catalogue-grid, .related-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .medicine-question-panel { position: static; }
  .add-to-enquiry, .enquiry-form-panel { position: static; }
  .enquiry-layout { grid-template-columns: 1fr; }
  .enquiry-form-shell { border-radius: 18px; }
  .enquiry-fields { grid-template-columns: 1fr; }
  .enquiry-field-wide { grid-column: auto; }
  .enquiry-submit { border-radius: 0 0 17px 17px; }
}

/* ---------- Medrack referral homepage ---------- */
.home-hero { background: linear-gradient(135deg, #f5f9fb 0%, #edf5f2 100%); padding: clamp(42px, 5.5vw, 68px) 0; border-bottom: 1px solid #d7e4e7; }
.home-hero-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr); gap: clamp(30px, 6vw, 76px); align-items: center; }
.eyebrow { display: inline-block; color: #2f7662; font-size: .74rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 13px; }
.eyebrow-light { color: #a9dec5; }
.home-hero h1 { max-width: 15ch; }
.home-lead { max-width: 57ch; }
.hero-medicine-search { margin: 10px 0 0; max-width: 680px; }
.hero-medicine-search label { color: #294d59; display: block; font-size: .83rem; font-weight: 800; margin-bottom: 7px; }
.hero-search-row { display: grid; grid-template-columns: minmax(0, 1fr) 112px auto; gap: 8px; }
.hero-search-field { min-width: 0; position: relative; }
.hero-medicine-search input, .hero-medicine-search select { background: #fff; border-color: #aec9cd; margin: 0; }
.hero-medicine-search input { min-width: 0; }
.hero-medicine-search .btn { margin: 0; white-space: nowrap; }
.hero-search-suggestions { background: #fff; border: 1px solid #b7d1d3; border-radius: 12px; box-shadow: 0 12px 24px rgba(3, 24, 34, .24); margin-top: 9px; padding: 7px; }
.hero-search-status { color: #52717a; font-size: .76rem; font-weight: 800; letter-spacing: .02em; margin: 3px 7px 6px; }
.hero-search-suggestions ul { display: grid; gap: 3px; list-style: none; margin: 0; padding: 0; }
.hero-search-suggestions li { margin: 0; }
.hero-search-suggestions li button { align-items: center; background: transparent; border: 0; border-radius: 8px; color: #183c4b; cursor: pointer; display: grid; font: inherit; gap: 2px; padding: 9px 10px; text-align: left; width: 100%; }
.hero-search-suggestions li button strong { font-size: .9rem; }
.hero-search-suggestions li button span { color: #5a747d; font-size: .76rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-search-suggestions li button:hover, .hero-search-suggestions li[aria-selected="true"] button, .hero-search-suggestions li button:focus-visible { background: #e8f3ee; color: #176e31; outline: none; }
.hero-search-suggestions li button:focus-visible { box-shadow: 0 0 0 3px rgba(75, 158, 137, .36); }
.hero-search-catalogue-link { background: transparent; border: 0; border-top: 1px solid #d9e8e8; color: #176352; cursor: pointer; display: block; font: inherit; font-size: .82rem; font-weight: 800; margin: 6px 2px 0; padding: 10px 8px 4px; text-align: left; text-decoration: none; width: calc(100% - 4px); }
.hero-search-catalogue-link:hover { text-decoration: underline; }
.hero-browse-link { color: #5a717a; font-size: .88rem; margin: 13px 0 0; }
.hero-browse-link .text-link { font-size: inherit; }
.hero-actions { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-top: 27px; }
.text-link { font-weight: 700; color: var(--blue); text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.confidence-card { background: #fff; border: 1px solid #d6e3e5; border-radius: 18px; padding: clamp(22px, 3vw, 32px); box-shadow: 0 16px 42px rgba(20, 70, 82, .08); }
.confidence-card h2 { font-size: 1.45rem; margin: 0 0 18px; color: var(--ink); }
.home-visual-card { padding: 10px; }
.home-visual-card > img { background: #e4f0ed; border-radius: 12px; display: block; height: auto; max-height: 285px; object-fit: cover; object-position: center; width: 100%; }
.home-visual-card > div { padding: 18px 12px 8px; }
.home-visual-card h2 { font-size: 1.23rem; line-height: 1.25; margin-bottom: 9px; }
.card-kicker { margin: 0 0 7px; color: #2f7662; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.check-list { list-style: none; padding: 0; margin: 0 0 18px; }
.check-list li { display: grid; grid-template-columns: 30px 1fr; gap: 11px; padding: 13px 0; border-top: 1px solid #e6eef0; }
.check-list li > span { font-size: .71rem; font-weight: 800; color: #2f7662; padding-top: 3px; }
.check-list strong, .check-list small { display: block; }
.check-list strong { color: var(--blue); font-size: .94rem; }
.check-list small { color: var(--muted); line-height: 1.45; margin-top: 3px; }
.section-spacious { padding: clamp(42px, 6vw, 72px) 0; }
.section-heading { display: flex; justify-content: space-between; gap: 28px; align-items: end; margin-bottom: 24px; }
.section-heading h2 { margin: 0; }
.section-heading p { max-width: 45ch; color: var(--muted); margin: 0; }
.medicine-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 13px; }
.medicine-card { display: flex; min-height: 180px; flex-direction: column; border: 1px solid #d7e2e7; border-radius: 12px; padding: 18px; color: var(--ink); background: #fff; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.medicine-card:hover { text-decoration: none; border-color: #83adbb; box-shadow: 0 10px 20px rgba(19, 70, 93, .08); transform: translateY(-2px); }
.medicine-card-top { color: #2f7662; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.medicine-card strong { color: var(--blue); font-size: 1.06rem; margin-top: 17px; }
.medicine-card p { color: var(--muted); font-size: .84rem; line-height: 1.45; margin: 6px 0 18px; }
.card-action { color: var(--link); font-size: .82rem; font-weight: 700; margin-top: auto; }
.soft-band { background: #f2f7f7; border-top: 1px solid #dce8e8; border-bottom: 1px solid #dce8e8; padding: clamp(40px, 6vw, 70px) 0; }
.process-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 7vw, 90px); align-items: start; }
.process-grid h2 { margin-top: 0; max-width: 15ch; }
.process-list { list-style: none; padding: 0; margin: 0; counter-reset: process; }
.process-list li { counter-increment: process; display: grid; grid-template-columns: 42px 1fr; column-gap: 15px; padding: 0 0 21px; position: relative; }
.process-list li::before { content: "0" counter(process); color: #2f7662; font-size: .78rem; font-weight: 800; padding-top: 2px; }
.process-list li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 25px; height: calc(100% - 19px); border-left: 1px solid #a7c7c4; }
.process-list strong, .process-list span { display: block; }
.process-list strong { color: var(--blue); }
.process-list span { color: var(--muted); font-size: .92rem; margin-top: 3px; }
/* Homepage process: a compact, horizontal decision path rather than an unbalanced split panel. */
.process-grid { display: block; }
.process-heading { display: flex; align-items: end; justify-content: space-between; gap: 34px; }
.process-title h2 { max-width: 21ch; margin: 0; }
.process-heading p { max-width: 44ch; margin: 0; }
.process-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.process-list li { background: #fff; border: 1px solid #d7e5e4; border-radius: 12px; display: block; min-height: 143px; padding: 19px 18px 18px 54px; }
.process-list li::before { font-size: .72rem; left: 18px; position: absolute; top: 21px; }
.process-list li:not(:last-child)::after { display: none; }
.country-panel { display: grid; grid-template-columns: 1fr .8fr; gap: clamp(28px, 6vw, 80px); align-items: center; border: 1px solid #dce6e8; border-radius: 16px; padding: clamp(24px, 4vw, 44px); background: #fff; }
.country-panel h2 { margin: 0 0 10px; }
.country-links { display: grid; gap: 10px; }
.country-links a { display: flex; justify-content: space-between; padding: 14px 15px; border: 1px solid #d8e4e6; border-radius: 9px; color: var(--blue); font-weight: 700; }
.country-links a:hover { text-decoration: none; border-color: #73a8a0; background: #f5faf8; }
.caregiver-band { background: #103f61; color: #d9ebed; padding: clamp(42px, 6vw, 72px) 0; }
.caregiver-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 42px; align-items: center; }
.caregiver-band h2 { color: #fff; margin: 0 0 11px; }
.caregiver-band p { max-width: 62ch; }
.caregiver-band .small { margin-top: 15px; color: #b8d3d7; }
.caregiver-band .small a { color: #fff; }
.human-note { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 7vw, 90px); padding: clamp(27px, 4vw, 46px); border-left: 4px solid #6da69d; background: #fbfdfd; }
.human-note h2 { margin: 0; max-width: 17ch; }
.human-note p { margin-top: 0; max-width: 58ch; color: var(--ink); line-height: 1.7; }
.form-context { margin: 15px 0 3px; padding: 11px 12px; color: #36525d; font-size: .81rem; line-height: 1.5; border-left: 3px solid #73a69d; background: #f4f9f7; }
.country-hero { max-width: 820px; padding-bottom: 12px; }
.country-hero h1 { max-width: 17ch; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding-top: 22px; }
.guide-card { border: 1px solid #dbe6e8; border-radius: 12px; padding: 22px; background: #fff; }
.guide-card-primary { border-color: #9ac6bf; background: #f3faf8; }
.guide-card h2 { margin: 15px 0 8px; font-size: 1.2rem; }
.guide-card p { color: var(--muted); font-size: .9rem; line-height: 1.55; }
.guide-number { color: #2f7662; font-size: .77rem; font-weight: 800; letter-spacing: .08em; }
.resource-section { border-top: 1px solid #e2ebec; }
.resource-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 18px; }
.resource-grid a { display: grid; gap: 5px; border: 1px solid #dbe6e8; border-radius: 10px; padding: 18px; color: var(--blue); }
.resource-grid a:hover { background: #f7fbfb; border-color: #8ab8b1; text-decoration: none; }
.resource-grid span { color: var(--muted); font-size: .87rem; }
.resource-grid em { color: #2f7662; font-size: .8rem; font-style: normal; font-weight: 700; margin-top: 6px; }
.faq-card { border-bottom: 1px solid #dbe6e8; padding: 15px 0; }
.faq-card summary { color: var(--blue); cursor: pointer; font-weight: 700; }
.faq-card p { margin-bottom: 0; }
@media (max-width: 980px) { .medicine-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .home-hero-grid, .process-grid, .country-panel, .caregiver-grid, .human-note, .guide-grid { grid-template-columns: 1fr; } .section-heading { display: block; } .section-heading p { margin-top: 10px; } .home-hero h1 { max-width: 16ch; } }
@media (max-width: 800px) { .process-heading { display: block; } .process-heading p { margin-top: 10px; } .process-list { grid-template-columns: 1fr; } .process-list li { min-height: 0; } }
@media (max-width: 560px) { .resource-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .medicine-grid { grid-template-columns: 1fr; } .home-hero { padding: 42px 0; } .hero-actions { align-items: flex-start; flex-direction: column; gap: 15px; } }
@media (max-width: 560px) { .hero-search-row { grid-template-columns: 1fr 106px; } .hero-search-field { grid-column: 1 / -1; } .hero-medicine-search .btn { width: 100%; } }
@media (max-width: 720px) { .hero-search-row.storefront-search-row { grid-template-columns: 1fr; } .storefront-search-row .hero-search-field { grid-column: auto; } .hero-search-row.storefront-search-row .btn { width: 100%; } }
@media (max-width: 560px) { .storefront-search-row { grid-template-columns: 1fr; } .storefront-search-row .hero-search-field { grid-column: auto; } .storefront-search-row .btn { width: 100%; } .catalogue-grid, .related-products { grid-template-columns: 1fr; } .compact-callout { align-items: flex-start; flex-direction: column; gap: 18px; } .medicine-details div { grid-template-columns: 1fr; } .medicine-details dd { padding-top: 0; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- oral oncology guide ---------- */
.medicine-guide-hero { background: linear-gradient(112deg, #e9f4f2 0%, #f8fbfa 50%, #e9f0f5 100%); border-bottom: 1px solid #d6e4e3; padding: clamp(36px, 6vw, 76px) 0; }
.medicine-guide-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(290px, .72fr); gap: clamp(28px, 7vw, 96px); align-items: center; }
.guide-intro .breadcrumb { padding: 0; margin-bottom: 20px; }
.guide-eyebrow, .section-kicker { display: block; color: #277060; font-size: .72rem; font-weight: 800; letter-spacing: .095em; text-transform: uppercase; margin-bottom: 12px; }
.guide-intro h1 { max-width: 15ch; color: #143c53; }
.guide-lead { max-width: 58ch; color: #3f5964; font-size: 1.1rem; line-height: 1.65; }
.guide-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 19px; margin-top: 25px; }
.text-action { color: var(--blue); font-weight: 800; font-size: .91rem; }
.guide-reassurance { border-left: 3px solid #6da69d; color: #45616b; font-size: .85rem; line-height: 1.55; max-width: 61ch; margin: 24px 0 0; padding-left: 12px; }
.guide-pack-visual { margin: 0; padding: 9px; border: 1px solid #cfe0df; border-radius: 20px; background: rgba(255,255,255,.63); box-shadow: 0 19px 44px rgba(22, 65, 82, .11); }
.guide-pack-visual img { display: block; width: 100%; height: auto; border-radius: 13px; }
.guide-pack-visual figcaption { color: #5c717a; font-size: .71rem; line-height: 1.4; padding: 8px 5px 2px; }
.guide-pathways { background: #fff; border-bottom: 1px solid #e0eaeb; padding: 24px 0 27px; }
.guide-pathways .section-kicker { margin-bottom: 9px; }
.pathway-links { display: flex; gap: 9px; flex-wrap: wrap; }
.pathway-links a { border: 1px solid #bdd4d2; border-radius: 100px; color: #185c51; padding: 8px 13px; font-size: .84rem; font-weight: 800; }
.pathway-links a:hover { background: #eef8f5; text-decoration: none; }
.medicine-directory { padding: clamp(42px, 6vw, 76px) 0; }
.directory-heading { display: flex; justify-content: space-between; gap: 34px; align-items: end; margin-bottom: 23px; }
.directory-heading h2 { color: #143c53; margin: 0 0 8px; }
.directory-heading p { max-width: 65ch; }
.destination-select { width: 180px; margin: 0; flex: 0 0 180px; }
.destination-select span { color: #4c6670; display: block; font-size: .77rem; font-weight: 800; margin-bottom: 5px; }
.destination-select select { border-color: #93b9b3; color: #1e5049; font-weight: 800; }
.medicine-search { max-width: 590px; margin: 0 0 41px; position: relative; }
.medicine-search::before { content: "⌕"; position: absolute; color: #527581; font-size: 1.7rem; left: 14px; top: 4px; z-index: 1; }
.medicine-search input { padding: 13px 15px 13px 43px; border-color: #b2c9cd; border-radius: 9px; box-shadow: 0 3px 9px rgba(34, 77, 90, .04); }
.search-empty { background: #fff6e9; border-left: 3px solid #b47420; color: #6e501d; margin: -20px 0 29px; max-width: 710px; padding: 11px 13px; font-size: .9rem; }
.cancer-group { border-top: 1px solid #dce8e9; padding: 30px 0 33px; scroll-margin-top: 20px; }
.cancer-group:last-of-type { border-bottom: 1px solid #dce8e9; }
.cancer-group-heading { display: flex; justify-content: space-between; gap: 23px; align-items: start; margin-bottom: 17px; }
.cancer-group h3 { color: #19455c; font-size: 1.36rem; letter-spacing: -.02em; margin: 0 0 4px; }
.cancer-group-heading p { color: var(--muted); font-size: .92rem; max-width: 72ch; }
.group-help { color: #21665b; font-weight: 800; font-size: .82rem; white-space: nowrap; padding-top: 4px; }
.medicine-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.medicine-directory .medicine-card { min-height: 163px; display: flex; flex-direction: row; gap: 12px; border-radius: 11px; padding: 16px; }
.medicine-directory .medicine-card-icon { align-items: center; background: #e6f3f0; border-radius: 8px; color: #277060; display: inline-flex; flex: 0 0 29px; font-size: 1.25rem; font-weight: 500; height: 29px; justify-content: center; }
.medicine-directory .medicine-card-content { display: flex; flex-direction: column; min-width: 0; }
.medicine-directory .medicine-card-content small { color: #3d766b; font-size: .68rem; font-weight: 800; letter-spacing: .045em; line-height: 1.25; text-transform: uppercase; }
.medicine-directory .medicine-card-content strong { margin-top: 10px; }
.medicine-directory .medicine-card-content > span { color: #4d6670; font-size: .77rem; line-height: 1.4; margin-top: auto; }
.medicine-directory .medicine-card-content b { color: #197062; }
.guide-disclaimer { background: #f4f8f9; border-left: 3px solid #84aaa5; color: #46606a; margin-top: 34px; max-width: 900px; padding: 17px 19px; }
.guide-disclaimer strong { color: #21495e; }
.guide-disclaimer p { font-size: .86rem; line-height: 1.55; margin-bottom: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
@media (max-width: 900px) { .medicine-cards { grid-template-columns: repeat(2, 1fr); } .medicine-guide-grid { grid-template-columns: 1fr .72fr; gap: 29px; } }
@media (max-width: 720px) {
  .header-contact-bar-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header-contact-item { padding: 9px 11px; }
  .header-contact-item + .header-contact-item { border-left: 1px solid rgba(220, 239, 240, .2); }
  .header-contact-item:last-child { border-left: 0; border-top: 1px solid rgba(220, 239, 240, .2); grid-column: 1 / -1; }
  .header-main { gap: 10px; min-height: 66px; }
  .header-whatsapp { margin-left: auto; padding: 9px 10px; }
  .header-navigation { display: none; }
  .mobile-navigation { display: block; flex: 0 0 auto; position: relative; }
  .mobile-navigation summary { align-items: center; border: 1px solid #a8c2c8; border-radius: 7px; color: var(--blue); cursor: pointer; display: flex; font-size: .78rem; font-weight: 800; gap: 7px; list-style: none; padding: 8px 9px; white-space: nowrap; }
  .mobile-navigation summary::-webkit-details-marker { display: none; }
  .mobile-navigation summary i { border-bottom: 2px solid currentColor; border-right: 2px solid currentColor; display: block; height: 7px; transform: translateY(-2px) rotate(45deg); transition: transform .15s ease; width: 7px; }
  .mobile-navigation[open] summary { background: #edf7f4; border-color: #438a7a; }
  .mobile-navigation[open] summary i { transform: translateY(2px) rotate(225deg); }
  .mobile-navigation nav { background: #fff; border: 1px solid #cbdde0; border-radius: 10px; box-shadow: 0 9px 15px rgba(21, 60, 75, .12); display: grid; min-width: min(304px, calc(100vw - 32px)); padding: 7px 14px 14px; position: absolute; right: 0; top: calc(100% + 8px); width: min(304px, calc(100vw - 32px)); z-index: 30; }
  .mobile-navigation nav a { border-bottom: 1px solid #e5eeee; color: #214d5c; font-size: .95rem; font-weight: 750; padding: 12px 0; }
  .mobile-navigation nav a:hover { background: #f4f9f8; text-decoration: none; }
  .mobile-navigation nav a:last-child { border-bottom: 0; }
  .mobile-navigation .mobile-menu-cta { background: var(--green); border: 1px solid var(--green-dark); border-radius: 8px; color: #fff; margin-top: 10px; padding: 11px 13px; text-align: center; }
  .about-proof, .about-strengths { grid-template-columns: 1fr; }
  .medicine-guide-grid, .directory-heading { grid-template-columns: 1fr; display: grid; }
  .guide-intro h1 { max-width: 17ch; }
  .directory-heading { align-items: start; }
  .destination-select { width: 100%; max-width: 240px; }
  .cancer-group-heading { display: block; }
  .group-help { display: inline-block; margin-top: 9px; }
}
@media (max-width: 430px) {
  .header-contact-bar-inner { grid-template-columns: 1fr; }
  .header-contact-item + .header-contact-item, .header-contact-item:last-child { border-left: 0; border-top: 1px solid rgba(220, 239, 240, .2); grid-column: auto; }
  .header-contact-item { justify-content: center; text-align: center; }
  .header-contact-item span { justify-items: center; text-align: center; }
}
@media (max-width: 520px) { .brand-header-logo { width: 160px; } .guide-actions { align-items: flex-start; flex-direction: column; gap: 13px; } .medicine-cards { grid-template-columns: 1fr; } .medicine-directory .medicine-card { min-height: 133px; } }
@media (max-width: 520px) { .header-actions { gap: 6px; } .enquiry-cart-link { font-size: 0; gap: 0; padding: 8px; } .enquiry-cart-link span { display: none; } .enquiry-cart-link b { font-size: .7rem; margin-left: -5px; margin-top: -17px; } .header-whatsapp { margin-left: 0; padding: 9px; } .header-whatsapp span { display: none; } .header-whatsapp svg { height: 18px; width: 18px; } }
@media (max-width: 520px) { .wrap { padding-left: 20px; padding-right: 20px; } }
/* Below ~360px the cart, WhatsApp and Menu controls leave under 115px for the lockup. */
@media (max-width: 360px) { .brand-header-logo { width: 112px; } }

/* ---------- medicine information pages ---------- */
.medicine-detail-hero { background: linear-gradient(117deg, #eff7f5 0%, #f8fbfb 60%, #edf2f5 100%); border: 1px solid #d5e4e4; border-radius: 18px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(290px, .65fr); gap: clamp(26px, 5vw, 74px); margin: 18px 0 0; padding: clamp(28px, 5vw, 57px); }
.medicine-detail-hero h1 { color: #143c53; margin: 0 0 13px; }
.medicine-purpose { border-left: 3px solid #5f9e94; color: #244e5b; font-size: 1.02rem; line-height: 1.5; margin: 0; max-width: 56ch; padding-left: 12px; }
.medicine-purpose span { color: #47706f; display: block; font-size: .7rem; font-weight: 800; letter-spacing: .07em; margin-bottom: 4px; text-transform: uppercase; }
.medicine-hero-copy { color: #526b74; font-size: .95rem; line-height: 1.62; margin: 17px 0 0; max-width: 64ch; }
.medicine-detail-hero .trust-row { margin: 19px 0 0; }
.medicine-next-step { background: #fff; border: 1px solid #d3e3e3; border-radius: 14px; box-shadow: 0 10px 24px rgba(20, 70, 82, .07); padding: 22px; }
.medicine-next-step h2 { color: #173e53; font-size: 1.26rem; margin: 0 0 14px; }
.medicine-next-step ol { color: #4a636c; font-size: .86rem; line-height: 1.45; margin: 0 0 17px; padding-left: 19px; }
.medicine-next-step li { margin: 6px 0; }
.medicine-next-step .btn { font-size: .9rem; padding: 10px 14px; }
.medicine-next-step > p:last-child { color: #617680; font-size: .75rem; line-height: 1.4; margin: 10px 0 0; }
.medicine-detail-content { padding: 28px 0 0; }
.medicine-detail-content .grid-2 { gap: 42px; }
.medicine-detail-content .molecule-body > h2:first-child { color: #173e53; margin-top: 0; }
.medicine-detail-content .order-col .panel { border-color: #c9dedd; border-radius: 14px; box-shadow: 0 10px 25px rgba(20, 70, 82, .06); }
.medicine-detail-content .order-col h3 { color: #173e53; font-size: 1.18rem; }
@media (max-width: 800px) { .medicine-detail-hero { grid-template-columns: 1fr; } .medicine-detail-content { padding-top: 22px; } }
@media (max-width: 560px) { .medicine-detail-hero { border-left: 0; border-radius: 0; border-right: 0; margin-left: -16px; margin-right: -16px; padding: 30px 16px; } .medicine-detail-hero h1 { font-size: 2.35rem; } }

/* ---------- patient and caregiver guides ---------- */
.guides-hero, .guide-article-head { max-width: 800px; padding: clamp(35px, 6vw, 68px) 0 26px; }
.guides-hero h1, .guide-article-head h1 { color: #143c53; max-width: 18ch; }
.guide-list { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
.guide-list-card { border: 1px solid #d6e4e4; border-radius: 14px; display: flex; flex-direction: column; min-height: 240px; padding: 25px; }
.guide-list-card h2 { font-size: 1.3rem; margin: 0 0 10px; }
.guide-list-card h2 a { color: #173e53; }
.guide-list-card > p { color: var(--muted); font-size: .92rem; line-height: 1.58; }
.guide-list-card .text-link { margin-top: auto; padding-top: 20px; }
.guide-article { max-width: 940px; }
.guide-article-body { max-width: 720px; }
.guide-article-body h2 { color: #173e53; margin-top: 38px; }
.guide-article-body p { color: #354f59; line-height: 1.73; }
.related-guides { border-top: 1px solid #dce8e8; margin-top: 45px; padding: 28px 0 0; }
.feedback-prompt { align-items: start; background: #f5f9f8; border: 1px solid #d4e5e2; border-radius: 12px; display: grid; gap: 13px 24px; grid-template-columns: 1fr auto; margin: 33px 0 0; padding: 17px 18px; }
.feedback-prompt strong { color: #173e53; }
.feedback-prompt p { font-size: .8rem; line-height: 1.45; margin: 3px 0 0; }
.feedback-actions { display: flex; gap: 8px; }
.feedback-actions button, .feedback-prompt form button { background: #fff; border: 1px solid #9fc2bb; border-radius: 7px; color: #225e55; cursor: pointer; font: inherit; font-size: .8rem; font-weight: 800; padding: 7px 10px; }
.feedback-actions button[aria-pressed="true"] { background: #e1f2ed; border-color: #438d7e; }
.feedback-prompt form { grid-column: 1 / -1; }
.feedback-prompt label { color: #42626a; font-size: .8rem; margin-top: 0; }
.feedback-prompt label span { color: var(--muted); font-weight: 400; }
.feedback-prompt textarea { margin: 4px 0 8px; }
.feedback-prompt [data-feedback-status] { grid-column: 1 / -1; margin: 0; }
.shipping-hero { max-width: 850px; padding: clamp(35px, 6vw, 70px) 0 22px; }
.shipping-hero h1 { color: #143c53; max-width: 18ch; }
.shipping-steps { display: grid; gap: 13px; grid-template-columns: repeat(4, 1fr); }
.shipping-steps article { border: 1px solid #d7e5e4; border-radius: 12px; padding: 20px 17px; }
.shipping-steps article > span { color: #277060; font-size: .73rem; font-weight: 800; letter-spacing: .08em; }
.shipping-steps h2 { color: #173e53; font-size: 1.04rem; margin: 12px 0 7px; }
.shipping-steps p, .shipping-copy > p { color: #4a626b; font-size: .91rem; line-height: 1.62; }
.shipping-copy { max-width: 790px; padding-bottom: 35px; }
.shipping-copy h2 { color: #173e53; margin-top: 34px; }
.content-narrow { max-width: 760px; }
.page-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 25px; }
@media (max-width: 800px) { .guide-list { grid-template-columns: 1fr; } .shipping-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feedback-prompt { grid-template-columns: 1fr; } .feedback-actions { grid-row: 2; } .shipping-steps { grid-template-columns: 1fr; } }
