/* ============================================================
   MAVERICK PHARMACY — Main Stylesheet
   Colours drawn from the Maverick Healthcare logo:
     Navy  #162840  |  Teal  #2ab5a5
   ============================================================ */

/* --- GLOBAL MOBILE RESET --- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { overflow-x: hidden; }

/* --- TOKENS --- */
:root {
  --navy:         #162840;
  --navy-mid:     #1e3a55;
  --teal:         #2ab5a5;
  --teal-light:   #33cfc0;
  --teal-pale:    #e4f7f5;
  --teal-mid:     #b2e8e3;
  --gold:         #c9973a;
  --green:        #1a8a56;
  --green-pale:   #e6f4ed;
  --red:          #c0392b;
  --red-pale:     #fde8e6;
  --amber:        #d97706;
  --amber-pale:   #fef3e2;
  --blue:         #3b6fd4;
  --blue-pale:    #e8f0fc;
  --purple:       #7c4dba;
  --purple-pale:  #f0e8fa;

  --white:        #ffffff;
  --off-white:    #f7fafa;
  --border:       #d8e7e6;
  --border-light: #edf3f2;
  --slate:        #3d5260;
  --muted:        #7a9098;

  --font: 'DM Sans', system-ui, -apple-system, sans-serif;

  --radius-sm:  6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --radius-pill: 50px;

  --shadow-xs: 0 1px 4px rgba(22,40,64,0.06);
  --shadow-sm: 0 2px 10px rgba(22,40,64,0.08);
  --shadow-md: 0 6px 28px rgba(22,40,64,0.11);
  --shadow-lg: 0 16px 56px rgba(22,40,64,0.15);

  --transition: 0.18s ease;
  --max-w: 1260px;
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--off-white); color: var(--navy); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { font-family: var(--font); line-height: 1.2; }
button { font-family: var(--font); cursor: pointer; }
input, select, textarea { font-family: var(--font); }
ul { list-style: none; }

/* --- UTILITIES --- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 22px;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}
.btn-primary { background: var(--teal); color: var(--white); border-color: var(--teal); }
.btn-primary:hover { background: var(--teal-light); border-color: var(--teal-light); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(42,181,165,0.35); }
.btn-outline { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-outline:hover { background: var(--teal-pale); }
.btn-ghost { background: transparent; color: var(--slate); border-color: transparent; }
.btn-ghost:hover { background: var(--teal-pale); color: var(--teal); }
.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-mid); }
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-full { width: 100%; justify-content: center; }

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  font-size: 12px;
  padding: 8px 24px;
}
.top-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.top-bar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 20px;
  padding: 3px 11px;
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.03em;
}
.top-bar-badge:hover { background: rgba(255,255,255,0.15); }
.top-bar-sep { width: 1px; height: 12px; background: rgba(255,255,255,0.18); flex-shrink: 0; }
.top-bar-link { color: rgba(255,255,255,0.8); transition: color var(--transition); }
.top-bar-link:hover { color: white; }
.live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 2px rgba(74,222,128,0.3);
  flex-shrink: 0;
  display: inline-block;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: var(--shadow-sm);
}

/* ── Patient status bar ──────────────────────────────────────── */
.patient-status-bar {
  width: 100%;
  font-size: 13px;
  font-family: var(--font);
  transition: background 0.25s;
  border-bottom: 1px solid transparent;
}
.psb-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
}
/* Signed-in state */
.psb-in {
  background: #f0fdf4;
  border-color: #bbf7d0;
}
.psb-avatar {
  width: 26px;
  height: 26px;
  background: var(--teal);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}
.psb-text {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.psb-text strong {
  color: #166534;
  font-weight: 700;
  white-space: nowrap;
}
.psb-email {
  color: #4ade80;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.psb-pill {
  background: #dcfce7;
  color: #166534;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}
/* Signed-out state */
.psb-out { background: #f8f9fb; border-color: var(--border-light); }
.psb-out .psb-text { color: var(--muted); }
.psb-icon { font-size: 14px; flex-shrink: 0; }
.psb-link-cta {
  background: var(--teal);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.psb-link-cta:hover { opacity: 0.88; }

@media (max-width: 640px) {
  .psb-email { display: none; }
  .psb-pill  { display: none; }
  .psb-inner { padding: 0 16px; gap: 8px; }
}

/* ── Account dropdown ────────────────────────────────────────── */
#account-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 240px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 500;
  overflow: hidden;
}
#account-dropdown.acd-ready { display: none; } /* ready but closed */
#account-dropdown.acd-open  { display: block; }
.acd-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--off-white);
}
.acd-avatar {
  width: 38px;
  height: 38px;
  background: var(--teal);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}
.acd-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.acd-info strong {
  font-size: 14px;
  color: var(--navy);
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.acd-info span {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.acd-divider {
  height: 1px;
  background: var(--border-light);
}
.acd-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  font-size: 14px;
  color: var(--slate);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.12s;
  font-family: var(--font);
  font-weight: 500;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
}
.acd-item:hover { background: var(--teal-pale); color: var(--teal); }
.acd-signout { color: #dc2626; }
.acd-signout:hover { background: #fff5f5; color: #dc2626; }

/* Row 1: Logo | Search | Actions */
.header-main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 80px;
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Logo */
.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.logo img {
  height: 56px;
  width: auto;
  display: block;
}

/* Search */
.header-search-wrap { flex: 1; max-width: 580px; }
.header-search {
  display: flex;
  align-items: center;
  border: 2px solid var(--border);
  border-radius: var(--radius-pill);
  overflow: hidden;
  background: var(--off-white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.header-search:focus-within {
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(42,181,165,0.12);
}
.search-icon { padding: 0 14px; color: var(--muted); font-size: 16px; flex-shrink: 0; }
.header-search input {
  flex: 1;
  height: 46px;
  border: none;
  background: transparent;
  font-size: 14px;
  color: var(--navy);
  outline: none;
}
.header-search input::placeholder { color: var(--muted); }
.search-btn {
  height: 46px;
  padding: 0 22px;
  background: var(--teal);
  color: var(--white);
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
  flex-shrink: 0;
}
.search-btn:hover { background: var(--teal-light); }

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}
.icon-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 10px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  font-size: 18px;
  color: var(--slate);
  cursor: pointer;
  position: relative;
  transition: all var(--transition);
  line-height: 1;
}
.icon-btn:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-pale); }
.icon-label { font-size: 10px; font-weight: 600; color: var(--slate); }
.icon-btn:hover .icon-label { color: var(--teal); }

/* Signed-in state — header account button */
.header-avatar {
  width: 22px;
  height: 22px;
  background: var(--teal);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  flex-shrink: 0;
}
.header-btn-authed {
  border-color: var(--teal);
  background: var(--teal-pale);
}
.header-btn-authed .icon-label {
  color: var(--teal);
  font-weight: 700;
}
.icon-btn .badge {
  position: absolute;
  top: -6px; right: -6px;
  background: var(--teal);
  color: white;
  font-size: 9px;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
}
.btn-rx {
  padding: 10px 18px;
  font-size: 13.5px;
}

/* Row 2: Nav bar */
.header-nav {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.header-nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 44px;
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-link {
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-link:hover { background: rgba(255,255,255,0.1); color: white; }
.nav-delivery-badge {
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--teal-light);
  background: rgba(42,181,165,0.15);
  border: 1px solid rgba(42,181,165,0.3);
  padding: 4px 12px;
  border-radius: 20px;
}

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 72px 24px;
}
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; margin-bottom: 10px; }
.section-header p { font-size: 16px; color: var(--muted); max-width: 540px; margin: 0 auto; }
.section-tag {
  display: inline-block;
  background: var(--teal-pale);
  color: var(--teal);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a52 50%, #0d4040 100%);
  position: relative;
  overflow: hidden;
  padding: 72px 24px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 500px at 80% 50%, rgba(42,181,165,0.18), transparent),
    radial-gradient(ellipse 400px 400px at 5% 80%, rgba(201,151,58,0.09), transparent);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(42,181,165,0.2);
  border: 1px solid rgba(42,181,165,0.4);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  color: #6ee7e7;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-content h1 {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 18px;
}
.hero-highlight {
  color: #6ee7e7;
  position: relative;
}
.hero-highlight::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #6ee7e7, transparent);
  border-radius: 2px;
}
.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  max-width: 460px;
  margin-bottom: 32px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.btn-hero-primary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-md);
}
.btn-hero-primary:hover { background: #e4f7f5; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.btn-hero-ghost {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.25);
  padding: 14px 24px;
  font-size: 15px;
  border-radius: var(--radius-md);
}
.btn-hero-ghost:hover { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.5); transform: translateY(-2px); }
.hero-trust-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-trust-item {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Hero right — card stack */
.hero-card-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-info-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: background var(--transition);
  position: relative;
}
.hero-info-card:hover { background: rgba(255,255,255,0.14); }
.hero-info-card.featured { border-color: rgba(42,181,165,0.45); background: rgba(42,181,165,0.12); }
.hero-card-icon {
  width: 46px; height: 46px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.hero-card-title { font-size: 14.5px; font-weight: 700; color: var(--white); margin-bottom: 2px; }
.hero-card-sub { font-size: 12.5px; color: rgba(255,255,255,0.5); }
.hero-card-badge {
  margin-left: auto;
  background: var(--teal);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.trust-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 16px;
  border-right: 1px solid var(--border-light);
  transition: background var(--transition);
}
.trust-stat:last-child { border-right: none; }
.trust-stat:hover { background: var(--teal-pale); }
.trust-stat-icon { font-size: 28px; flex-shrink: 0; }
.trust-stat-num { font-size: 18px; font-weight: 800; color: var(--navy); line-height: 1; }
.trust-stat-label { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ============================================================
   CATEGORIES
   ============================================================ */
.categories-section { background: var(--off-white); }
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cat-tile {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  transition: all 0.22s;
  text-decoration: none;
  position: relative;
}
.cat-tile:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.cat-tile-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.cat-tile-name { font-size: 15px; font-weight: 700; color: var(--navy); }
.cat-tile-sub { font-size: 12.5px; color: var(--muted); }
.cat-tile-rx { border-color: var(--navy); }
.cat-tile-rx .cat-tile-name { color: var(--navy); }
.cat-tile-rx:hover { border-color: var(--teal); background: var(--teal-pale); }
.cat-tile-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--teal);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-section { background: var(--white); }
.how-grid {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 48px;
}
.how-step {
  flex: 1;
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: all 0.22s;
}
.how-step:hover { border-color: var(--teal); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.how-step-num {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  width: 28px; height: 28px;
  background: var(--teal);
  color: white;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.how-step-icon { font-size: 40px; margin-bottom: 16px; }
.how-step h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.how-step p { font-size: 13.5px; color: var(--muted); line-height: 1.65; }
.how-connector {
  font-size: 28px;
  color: var(--teal-mid);
  padding: 0 12px;
  flex-shrink: 0;
  margin-bottom: 20px;
}
.how-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-section { background: var(--off-white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.22s;
}
.service-card:hover { border-color: var(--teal); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.service-card-featured { border-color: var(--teal); background: var(--teal-pale); }
.service-card-featured:hover { box-shadow: var(--shadow-lg); }
.service-card-icon {
  width: 54px; height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}
.service-card h3 { font-size: 17px; font-weight: 700; }
.service-card p { font-size: 13.5px; color: var(--muted); line-height: 1.65; flex: 1; }
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.stag {
  background: var(--teal-pale);
  color: var(--teal);
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}
.service-card-featured .stag { background: rgba(42,181,165,0.2); }
.service-link { color: var(--teal); font-size: 14px; font-weight: 700; transition: gap 0.2s; }
.service-link:hover { text-decoration: underline; }

/* ============================================================
   REGISTER
   ============================================================ */
.register-section { background: var(--white); }
.register-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.register-benefits h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 700; margin-bottom: 12px; }
.register-sub { font-size: 16px; color: var(--muted); margin-bottom: 32px; }
.benefit-list { display: flex; flex-direction: column; gap: 18px; }
.benefit-item { display: flex; align-items: flex-start; gap: 14px; }
.benefit-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.benefit-item strong { font-size: 14.5px; font-weight: 700; display: block; margin-bottom: 2px; }
.benefit-item p { font-size: 13px; color: var(--muted); margin: 0; }

/* Form card */
.form-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.form-card-header {
  background: linear-gradient(135deg, var(--navy), #1e3a5c);
  padding: 24px 28px;
  color: white;
}
.form-card-header h3 { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.form-card-header p { font-size: 13px; color: rgba(255,255,255,0.6); }
.form-card-body { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fgroup { display: flex; flex-direction: column; gap: 6px; }
.fgroup label { font-size: 13px; font-weight: 600; color: var(--navy); }
.req { color: var(--red); }
.fgroup input, .fgroup select, .fgroup textarea {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 13px;
  font-size: 14px;
  color: var(--navy);
  background: var(--off-white);
  outline: none;
  transition: border-color 0.18s, background 0.18s;
  width: 100%;
}
.fgroup input:focus, .fgroup select:focus, .fgroup textarea:focus {
  border-color: var(--teal);
  background: var(--white);
}
.consent-row { display: flex; gap: 10px; align-items: flex-start; }
.consent-row input[type=checkbox] { width: auto; margin-top: 3px; flex-shrink: 0; }
.consent-label { font-size: 13px; color: var(--muted); }
.form-small { font-size: 12px; color: var(--muted); text-align: center; }
.form-small a { color: var(--teal); text-decoration: underline; }

/* ============================================================
   PRODUCTS
   ============================================================ */
.products-section { background: var(--off-white); }
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.cat-btn {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 8px 20px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s;
  color: var(--slate);
}
.cat-btn:hover { border-color: var(--teal); color: var(--teal); }
.cat-btn.cat-active { background: var(--teal); border-color: var(--teal); color: white; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 40px;
}
.prod-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.22s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.prod-card:hover { border-color: var(--teal); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.prod-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--navy);
  color: white;
  font-size: 10px; font-weight: 700;
  padding: 3px 9px; border-radius: 20px;
}
.prod-badge.badge-teal { background: var(--teal); }
.prod-badge.badge-green { background: var(--green); }
.prod-img {
  background: var(--off-white);
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.prod-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.prod-card:hover .prod-img img { transform: scale(1.05); }
.prod-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.prod-cat { font-size: 11px; color: var(--teal); font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 4px; }
.prod-body h4 { font-size: 14.5px; font-weight: 700; margin-bottom: 5px; line-height: 1.3; }
.prod-desc { font-size: 12.5px; color: var(--muted); line-height: 1.5; margin-bottom: 14px; flex: 1; }
.prod-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.prod-price { font-size: 19px; font-weight: 800; color: var(--navy); }
.btn-add {
  background: var(--teal);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}
.btn-add:hover { background: var(--teal-light); }
.products-cta { text-align: center; }

/* ============================================================
   BOOKING
   ============================================================ */
.booking-section { background: var(--white); }
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.booking-info h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 700; margin-bottom: 12px; }
.booking-info > p { font-size: 16px; color: var(--muted); margin-bottom: 28px; }
.booking-types { display: flex; flex-direction: column; gap: 12px; }
.booking-type {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.18s;
}
.booking-type:hover { border-color: var(--teal); background: var(--teal-pale); }
.bt-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.booking-type strong { font-size: 14px; font-weight: 700; display: block; margin-bottom: 2px; }
.booking-type p { font-size: 13px; color: var(--muted); margin: 0; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-section { background: var(--off-white); }
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}
.about-text h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 700; margin-bottom: 16px; }
.about-text > p { font-size: 15px; color: var(--muted); line-height: 1.75; margin-bottom: 12px; }
.about-accreditations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}
.accred-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.18s;
}
.accred-badge:hover { border-color: var(--teal); }
.accred-icon { font-size: 22px; flex-shrink: 0; }
.accred-badge strong { font-size: 13.5px; font-weight: 700; display: block; }
.accred-badge span { font-size: 12px; color: var(--muted); }
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about-stat-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  transition: all 0.22s;
}
.about-stat-card:hover { border-color: var(--teal); box-shadow: var(--shadow-sm); }
.about-stat-num { font-size: 34px; font-weight: 800; color: var(--teal); line-height: 1; margin-bottom: 6px; }
.about-stat-label { font-size: 13px; color: var(--muted); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.72);
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; padding: 60px 24px 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Footer logo — same crop trick as header */
.footer-logo-wrap {
  width: 200px;
  height: 62px;
  overflow: hidden;
  position: relative;
  margin-bottom: 16px;
}
.footer-logo {
  position: absolute;
  width: 260px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.footer-brand p { font-size: 13.5px; line-height: 1.7; max-width: 280px; margin-bottom: 18px; }
.footer-contact { display: flex; flex-direction: column; gap: 7px; }
.footer-contact a, .footer-contact span { font-size: 13.5px; color: rgba(255,255,255,0.7); transition: color var(--transition); }
.footer-contact a:hover { color: var(--teal-light); }
.footer-col h4 { font-size: 14px; font-weight: 700; color: white; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 13.5px; color: rgba(255,255,255,0.65); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--teal-light); }

.footer-bottom {
  padding: 24px 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; font-size: 12px; color: rgba(255,255,255,0.45); }
.footer-reg-links { display: flex; gap: 16px; }
.footer-reg-links a { font-size: 12px; color: rgba(255,255,255,0.45); transition: color var(--transition); text-decoration: underline; }
.footer-reg-links a:hover { color: var(--teal-light); }

/* ============================================================
   BASKET PANEL
   ============================================================ */
.basket-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 400;
  backdrop-filter: blur(2px);
}
.basket-panel {
  position: fixed;
  top: 0; right: -440px;
  width: 420px;
  height: 100vh;
  background: var(--white);
  z-index: 401;
  box-shadow: var(--shadow-lg);
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}
.basket-panel.open { right: 0; }
.basket-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.basket-header h3 { font-size: 18px; font-weight: 700; }
.basket-close {
  width: 32px; height: 32px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.basket-close:hover { border-color: var(--red); color: var(--red); }
.basket-items { flex: 1; overflow-y: auto; padding: 20px 24px; display: flex; flex-direction: column; gap: 12px; }
.basket-empty { font-size: 14px; color: var(--muted); text-align: center; margin-top: 40px; }
.basket-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.basket-item-name { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.basket-item-price { font-size: 13px; color: var(--teal); font-weight: 700; }
.basket-remove { border: none; background: none; cursor: pointer; color: var(--muted); font-size: 18px; padding: 4px; transition: color var(--transition); }
.basket-remove:hover { color: var(--red); }
.basket-footer { padding: 20px 24px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; }
.basket-total-row { display: flex; justify-content: space-between; font-size: 16px; margin-bottom: 4px; }
.basket-total-row span:first-child { color: var(--slate); }
.basket-total { font-weight: 800; font-size: 22px; color: var(--navy); }

/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: var(--navy);
  color: white;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  z-index: 600;
  transition: transform 0.3s ease;
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
  pointer-events: none;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ============================================================
   CLINICAL CHECKOUT MODAL
   ============================================================ */
.clinical-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,20,35,0.65);
  backdrop-filter: blur(4px);
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.clinical-overlay.open { display: flex; }

.clinical-modal {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.clinical-modal-header {
  background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
  padding: 22px 28px 18px;
  flex-shrink: 0;
}
.clinical-modal-header h2 {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 4px;
}
.clinical-modal-header p {
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  margin: 0;
}

.clinical-modal-body {
  overflow-y: auto;
  padding: 24px 28px;
  flex: 1;
}

.clinical-section {
  margin-bottom: 22px;
}
.clinical-section:last-child { margin-bottom: 0; }

.clinical-section-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
}

/* Radio groups */
.clinical-question {
  margin-bottom: 14px;
}
.clinical-question label.q-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 8px;
  line-height: 1.4;
}
.clinical-question label.q-label .q-sub {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 2px;
}
.q-hint {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
  line-height: 1.5;
}
.radio-row {
  display: flex;
  gap: 10px;
}
.radio-opt {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
  transition: var(--transition);
  user-select: none;
}
.radio-opt input[type="radio"] { display: none; }
.radio-opt:has(input:checked) {
  border-color: var(--teal);
  background: var(--teal-pale);
  color: var(--teal);
}
.radio-opt.danger:has(input:checked) {
  border-color: #e74c3c;
  background: #fde8e6;
  color: #c0392b;
}

/* Text inputs inside clinical form */
.clinical-input {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-family: var(--font);
  color: var(--navy);
  background: #fff;
  box-sizing: border-box;
  transition: var(--transition);
  resize: none;
}
.clinical-input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(42,181,165,0.12);
}

/* Warning banner that appears on dangerous answers */
.clinical-warning {
  background: #fef3e2;
  border: 1.5px solid #d97706;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 13px;
  color: #92400e;
  display: none;
  margin-top: 8px;
  line-height: 1.5;
}
.clinical-warning.show { display: block; }

/* Confirmation checkboxes */
.confirm-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--slate);
  line-height: 1.5;
  cursor: pointer;
}
.confirm-check input[type="checkbox"] {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: var(--teal);
  flex-shrink: 0;
  cursor: pointer;
}

/* Footer */
.clinical-modal-footer {
  padding: 18px 28px;
  border-top: 1px solid var(--border-light);
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  background: var(--off-white);
}
.clinical-modal-footer .btn { flex: 1; }

/* ── Payment method selector ───────────────────────────────── */
.payment-method-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}
.payment-method-opt {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  background: #fff;
}
.payment-method-opt input[type="radio"] { display: none; }
.payment-method-opt:hover:not(.pm-disabled) {
  border-color: var(--teal);
  background: var(--teal-pale);
}
.payment-method-opt.selected {
  border-color: var(--teal);
  background: var(--teal-pale);
}
.payment-method-opt.pm-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.pm-icon { font-size: 22px; flex-shrink: 0; }
.pm-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pm-info strong { font-size: 14px; color: var(--navy); }
.pm-info span   { font-size: 12px; color: var(--muted); }
.pm-check {
  font-size: 16px;
  color: var(--teal);
  font-weight: 700;
}
.pm-soon {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: var(--border-light);
  border-radius: 4px;
  padding: 2px 6px;
}
.pm-note {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* Blocked state — shown when a blocking answer is given */
.clinical-blocked {
  display: none;
  background: #fde8e6;
  border: 2px solid #c0392b;
  border-radius: var(--radius-md);
  padding: 16px 18px;
  font-size: 14px;
  color: #7b1d1d;
  line-height: 1.6;
  margin-top: 16px;
}
.clinical-blocked.show { display: block; }
.clinical-blocked strong { display: block; margin-bottom: 4px; font-size: 15px; }

@media (max-width: 600px) {
  .clinical-modal-header,
  .clinical-modal-body,
  .clinical-modal-footer { padding-left: 20px; padding-right: 20px; }
  .radio-row { flex-direction: column; }
}

/* ============================================================
   ACTIVE NAV LINK
   ============================================================ */
.nav-link.active {
  background: rgba(255,255,255,0.15);
  color: white;
  font-weight: 600;
}

/* ============================================================
   PAGE BANNER (sub-pages)
   ============================================================ */
.page-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a52 100%);
  padding: 52px 24px;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 800px 400px at 100% 50%, rgba(42,181,165,0.12), transparent);
  pointer-events: none;
}
.page-banner-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.page-banner-crumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 14px;
}
.page-banner-crumb a { color: var(--teal-light); transition: color var(--transition); }
.page-banner-crumb a:hover { color: white; }
.page-banner-crumb .sep { color: rgba(255,255,255,0.25); }
.page-banner h1 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}
.page-banner p {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  line-height: 1.7;
}
.page-banner-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(42,181,165,0.2);
  border: 1px solid rgba(42,181,165,0.4);
  border-radius: 20px;
  padding: 5px 13px;
  font-size: 11.5px;
  font-weight: 700;
  color: #6ee7e7;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section { background: var(--off-white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.contact-info-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all 0.22s;
}
.contact-card:hover { border-color: var(--teal); box-shadow: var(--shadow-sm); }
.contact-card-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.contact-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.contact-card p, .contact-card a { font-size: 13.5px; color: var(--muted); }
.contact-card a:hover { color: var(--teal); }
.contact-map {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.contact-map-placeholder {
  background: linear-gradient(135deg, var(--teal-pale), var(--blue-pale));
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}
.contact-map-body { padding: 20px 24px; }
.contact-map-body h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.contact-map-body p { font-size: 13.5px; color: var(--muted); line-height: 1.65; }
.contact-form-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* ============================================================
   HAMBURGER TOGGLE BUTTON
   ============================================================ */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--transition);
}
.nav-toggle:hover { border-color: var(--teal); }
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.22s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   SLOT PICKER (Consultation Booking)
   ============================================================ */
.slots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 14px;
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  min-height: 56px;
}

.slot-btn {
  padding: 9px 4px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  background: var(--white);
  color: var(--navy);
  transition: all 0.15s;
  text-align: center;
  line-height: 1;
}

.slot-btn:hover:not(:disabled) {
  border-color: var(--teal);
  background: var(--teal-pale);
  color: var(--teal);
}

.slot-btn.selected {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.slot-btn:disabled {
  background: #f0f0f0;
  color: #bbb;
  cursor: not-allowed;
  text-decoration: line-through;
  border-color: #e0e0e0;
}

.slots-placeholder {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  grid-column: 1 / -1;
  padding: 6px 0;
  margin: 0;
}

.slots-loading {
  font-size: 13px;
  color: var(--teal);
  text-align: center;
  grid-column: 1 / -1;
  padding: 6px 0;
  margin: 0;
}

@media (max-width: 480px) {
  .slots-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   REGULATORY TRUST SECTION
   ============================================================ */
.reg-trust-section {
  background: var(--navy);
  padding: 52px 24px;
}
.reg-trust-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.reg-trust-header {
  text-align: center;
  margin-bottom: 36px;
}
.reg-trust-header h2 {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.reg-trust-header p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}
.reg-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.reg-trust-card {
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s, background 0.2s;
  text-decoration: none;
}
.reg-trust-card:hover {
  border-color: var(--teal);
  background: rgba(42,181,165,0.08);
}
.reg-trust-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
}
.reg-trust-badge-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.reg-trust-badge-icon.teal  { background: rgba(42,181,165,0.18); }
.reg-trust-badge-icon.blue  { background: rgba(59,111,212,0.2);  }
.reg-trust-badge-icon.green { background: rgba(52,168,83,0.18);  }
.reg-trust-card-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.reg-trust-card-num {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
  font-family: monospace;
  letter-spacing: 0.04em;
}
.reg-trust-card-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}
.reg-trust-card-verify {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
  margin-top: auto;
}
.reg-trust-card-verify::after {
  content: '→';
  font-size: 11px;
}

/* ============================================================
   RESPONSIVE — TABLET  (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner    { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual   { display: none; }
  .categories-grid { grid-template-columns: repeat(4, 1fr); }
  .services-grid   { grid-template-columns: repeat(2, 1fr); }
  .products-grid   { grid-template-columns: repeat(3, 1fr); }
  .footer-grid     { grid-template-columns: 1fr 1fr; gap: 32px; }
  .reg-trust-grid  { grid-template-columns: 1fr; gap: 12px; }
}

/* ============================================================
   RESPONSIVE — MOBILE  (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {

  /* ---- Touch targets — all interactive elements min 44px ---- */
  .btn, .btn-add, .icon-btn, .nav-link, .cat-btn,
  .slot-btn, .social-btn, .account-tab, .radio-opt,
  .confirm-check, .basket-close, .nav-toggle { min-height: 44px; }

  /* ---- Top compliance bar ---- */
  .top-bar { padding: 6px 16px; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
  .top-bar-inner { justify-content: flex-start; flex-wrap: nowrap; gap: 10px; font-size: 11px; }
  .top-bar-sep { display: none; }
  /* Hide middle info items, keep GPhC badge + phone */
  .top-bar-inner > span:not([class]) { display: none; }

  /* ---- Header ---- */
  .header-main { height: auto; padding: 10px 16px; flex-wrap: wrap; gap: 10px; }
  .logo img { height: 52px; }
  .header-search-wrap { order: 3; flex: 1 1 100%; max-width: 100%; }
  .header-actions { gap: 6px; margin-left: auto; }
  .btn-rx { display: none; }
  .icon-label { display: none; }
  .icon-btn { padding: 8px 10px; font-size: 20px; }
  .nav-toggle { display: flex; }

  /* ---- Mobile nav dropdown ---- */
  .header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    z-index: 199;
    border-top: 2px solid var(--teal);
    box-shadow: var(--shadow-md);
  }
  .header-nav.mobile-open { display: block; }
  .header-nav-inner {
    flex-direction: column;
    height: auto;
    padding: 6px 8px 14px;
    gap: 2px;
    overflow-x: unset;
  }
  .nav-link {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    color: rgba(255,255,255,0.9);
  }
  .nav-delivery-badge { display: none; }

  /* ---- Sections ---- */
  .section-inner  { padding: 44px 16px; }
  .section-header { margin-bottom: 28px; }

  /* ---- Hero ---- */
  .hero { padding: 44px 16px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { text-align: center; justify-content: center; }
  .hero-trust-row { gap: 10px; }
  .hero-sub { font-size: 15px; }

  /* ---- Trust bar ---- */
  .trust-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .trust-stat { padding: 14px 10px; }
  .trust-stat-num { font-size: 15px; }

  /* ---- Categories ---- */
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cat-tile { padding: 16px 12px; gap: 8px; }

  /* ---- How It Works ---- */
  .how-grid { flex-direction: column; gap: 20px; }
  .how-connector { transform: rotate(90deg); align-self: center; padding: 0; }
  .how-cta { flex-direction: column; align-items: stretch; }
  .how-cta .btn { text-align: center; justify-content: center; }

  /* ---- Services ---- */
  .services-grid { grid-template-columns: 1fr; }

  /* ---- Register / Booking / About ---- */
  .register-grid, .booking-grid, .about-grid { grid-template-columns: 1fr; gap: 28px; }

  /* ---- Forms: stack 2-col rows ---- */
  .frow { grid-template-columns: 1fr; }

  /* ---- Products ---- */
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .filter-bar { gap: 8px; padding-bottom: 16px; }
  .cat-btn { padding: 7px 14px; font-size: 12.5px; }

  /* ---- About ---- */
  .about-stats, .about-accreditations { grid-template-columns: 1fr 1fr; gap: 10px; }
  .about-stat-num { font-size: 26px; }

  /* ---- Regulatory trust ---- */
  .reg-trust-grid { grid-template-columns: 1fr; gap: 12px; }
  .reg-trust-section { padding: 40px 16px; }

  /* ---- Contact ---- */
  .contact-grid { grid-template-columns: 1fr; }

  /* ---- Footer ---- */
  .footer-grid   { grid-template-columns: 1fr; gap: 28px; }
  .footer-inner  { padding: 40px 16px 0; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .footer-legal  { flex-wrap: wrap; gap: 8px; }

  /* ---- Basket panel — full width ---- */
  .basket-panel { width: 100%; right: -100%; }
  .basket-panel.open { right: 0; }

  /* ---- Page banner ---- */
  .page-banner { padding: 32px 16px; }
  .page-banner h1 { font-size: clamp(22px, 6vw, 32px); }
  .page-banner p  { font-size: 14px; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE  (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  .section-inner { padding: 36px 14px; }

  .hero-trust-row { flex-direction: column; gap: 6px; }

  .categories-grid { gap: 8px; }
  .cat-tile-name { font-size: 13px; }
  .cat-tile-sub  { font-size: 11.5px; }

  .products-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .prod-img { height: 88px; font-size: 36px; }
  .prod-body { padding: 12px; }
  .prod-body h4  { font-size: 13px; }
  .prod-price    { font-size: 16px; }
  .btn-add       { padding: 7px 10px; font-size: 12px; }

  .trust-bar-inner { grid-template-columns: 1fr 1fr; }

  .about-stats, .about-accreditations { grid-template-columns: 1fr; }

  .form-card-body { padding: 20px 16px; }

  .footer-legal  { flex-direction: column; gap: 4px; }
  .footer-reg-links { flex-direction: column; gap: 6px; }
}

/* ============================================================
   RESPONSIVE — CLINICAL MODAL
   ============================================================ */
@media (max-width: 768px) {
  .clinical-overlay { padding: 0; align-items: flex-end; }
  .clinical-modal {
    max-height: 92vh;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  }
  .clinical-modal-header,
  .clinical-modal-body,
  .clinical-modal-footer { padding-left: 18px; padding-right: 18px; }
  .radio-row { flex-direction: column; gap: 8px; }
  .clinical-modal-footer { flex-direction: column; }
  .clinical-modal-footer .btn { width: 100%; }
}

/* ============================================================
   RESPONSIVE — ACCOUNT PAGE
   ============================================================ */
@media (max-width: 768px) {
  .account-page { padding: 20px 0 0; align-items: flex-end; }
  .account-card {
    max-width: 100%;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    min-height: 80vh;
  }
}

/* ============================================================
   RESPONSIVE — BOOKING SLOTS
   ============================================================ */
@media (max-width: 768px) {
  .slots-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .slot-btn { padding: 9px 6px; font-size: 13px; }
}

/* ============================================================
   RESPONSIVE — ORDER CONFIRMED / CANCELLED
   ============================================================ */
@media (max-width: 768px) {
  .confirm-card,
  .cancel-card { padding: 32px 20px; border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
  .confirm-page,
  .cancel-page { padding: 0; align-items: flex-end; min-height: 90vh; }
}

/* ============================================================
   RESPONSIVE — HERO FONT SIZES
   ============================================================ */
@media (max-width: 480px) {
  .hero h1 { font-size: clamp(24px, 8vw, 38px); }
  .hero-sub { font-size: 14px; }
  .hero-trust-item { font-size: 12px; }
  .section-tag { font-size: 11px; }
  .booking-type { gap: 10px; }
  .bt-icon { width: 38px; height: 38px; font-size: 18px; flex-shrink: 0; }
  .social-btn { font-size: 13px; padding: 11px 12px; }
}
