/* ═══════════════════════════════════════════════════════════════
   ShifaaExpress — style.css
   Mobile-first · Green health palette · Cairo + Plus Jakarta Sans
   ═══════════════════════════════════════════════════════════════ */

/* ── Variables ──────────────────────────────────────────────── */
:root {
  --green-900: #064e30;
  --green-800: #065f3c;
  --green-700: #047a4d;
  --green-600: #059660;
  --green-500: #0d9e5f;
  --green-400: #10b981;
  --green-300: #34d399;
  --green-100: #d1fae5;
  --green-50:  #ecfdf5;

  --wa-green:  #25D366;
  --wa-dark:   #128C7E;

  --gray-900: #0f172a;
  --gray-800: #1e293b;
  --gray-700: #334155;
  --gray-500: #64748b;
  --gray-300: #cbd5e1;
  --gray-100: #f1f5f9;
  --gray-50:  #f8fafc;
  --white:    #ffffff;

  --radius-sm:  8px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow:    0 4px 16px rgba(0,0,0,.1);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.14);
  --shadow-green: 0 8px 30px rgba(13,158,95,.35);

  --font-ar: 'Cairo', sans-serif;
  --font-en: 'Plus Jakarta Sans', sans-serif;
  --transition: .22s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-ar);
  background: var(--gray-50);
  color: var(--gray-900);
  direction: rtl;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ── Shared utilities ────────────────────────────────────────── */
.fr { font-family: var(--font-en); direction: ltr; unicode-bidi: embed; }
.section-label {
  display: inline-block;
  background: var(--green-50);
  color: var(--green-600);
  border: 1.5px solid var(--green-300);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 4px 14px;
  border-radius: 99px;
  margin-bottom: 12px;
}

/* ═══════════════════════════════════════════
   HEADER
═══════════════════════════════════════════ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,.07);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  max-width: 640px;
  margin: 0 auto;
  gap: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo {
  width: 70px; height: 70px;
  
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  overflow: hidden;
}
.brand-logo img { width: 100%; height: 100%; object-fit: cover; }
.brand-name {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--green-700);
  line-height: 1.2;
}
.brand-tagline {
  font-size: .7rem;
  color: var(--gray-500);
  font-family: var(--font-en);
  display: block;
}
.header-cta {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--wa-green);
  color: var(--white);
  font-size: .82rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 99px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(37,211,102,.4);
  transition: background var(--transition), transform var(--transition);
}
.header-cta:active { transform: scale(.96); background: var(--wa-dark); }

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  position: relative;
  background:
    linear-gradient(160deg,
      rgba(6, 30, 18, 0.78) 0%,
      rgba(6, 78, 48, 0.68) 50%,
      rgba(13, 158, 95, 0.55) 100%),
    url('/static/hero-bg.png') center center / cover no-repeat;
  color: var(--white);
  padding: 48px 20px 32px;
  overflow: hidden;
  text-align: center;
}
.hero-blob { display: none !important; }
.hero-content { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 99px;
  padding: 6px 16px;
  font-size: .78rem;
  font-weight: 700;
  margin-bottom: 18px;
  animation: fade-in .6s ease both;
}
.pulse-dot {
  width: 8px; height: 8px;
  background: #7dffb3;
  border-radius: 50%;
  display: inline-block;
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(125,255,179,.5); }
  50%      { box-shadow: 0 0 0 6px rgba(125,255,179,0); }
}
.hero-title {
  font-size: clamp(1.7rem, 7vw, 2.6rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 14px;
  animation: slide-up .6s .1s ease both;
}
.hero-title-ar { display: block; }
.hero-title-accent {
  display: inline-block;
  background: rgba(255,255,255,.2);
  border-radius: var(--radius-sm);
  padding: 0 10px;
  color: #b8ffd6;
  font-family: var(--font-en);
}
.hero-title-fr {
  display: block;
  font-size: .55em;
  font-family: var(--font-en);
  font-weight: 500;
  opacity: .85;
  margin-top: 4px;
}
.hero-subtitle {
  font-size: .95rem;
  opacity: .9;
  margin-bottom: 28px;
  animation: slide-up .6s .2s ease both;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  animation: slide-up .6s .3s ease both;
}
.hero-chips {
  position: relative; z-index: 1;
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
  animation: fade-in .6s .5s ease both;
}
.chip {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 99px;
  padding: 5px 14px;
  font-size: .78rem;
  font-weight: 600;
  display: flex; align-items: center; gap: 5px;
}

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 99px;
  font-weight: 700;
  font-size: .95rem;
  padding: 13px 28px;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  border: none;
  width: 100%;
  max-width: 340px;
}
.btn:active { transform: scale(.97); }

.btn-whatsapp {
  background: var(--wa-green);
  color: var(--white);
  box-shadow: 0 6px 24px rgba(37,211,102,.5);
}
.btn-whatsapp:hover { background: #22c55e; box-shadow: 0 8px 28px rgba(37,211,102,.55); }

.btn-call {
  background: rgba(255,255,255,.15);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.35);
  backdrop-filter: blur(4px);
}
.btn-call:hover { background: rgba(255,255,255,.25); }

.btn-lg { font-size: 1.05rem; padding: 15px 32px; }

/* ═══════════════════════════════════════════
   STEPS — Dégradé vert + grandes icônes
═══════════════════════════════════════════ */
.steps-section {
  padding: 48px 20px;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
  position: relative;
}

/* Ligne connecteur entre les 3 cartes */
.steps-grid::before {
  content: "";
  position: absolute;
  top: 48px;
  right: calc(16.67% + 10px);
  left:  calc(16.67% + 10px);
  height: 2px;
  background: linear-gradient(90deg, var(--green-700), var(--green-400));
  opacity: .3;
  z-index: 0;
}

/* Carte de base */
.step-card {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  padding: 26px 14px 22px;
  transition: transform .25s ease, box-shadow .25s ease;
  overflow: hidden;
}
.step-card:hover { transform: translateY(-6px); }

/* Carte 1 — vert très foncé */
.step-card:nth-child(1) {
  background: linear-gradient(160deg, var(--green-900), var(--green-700));
  box-shadow: 0 6px 24px rgba(6,78,48,.35);
  border: 1px solid rgba(255,255,255,.08);
}

/* Carte 2 — vert moyen */
.step-card:nth-child(2) {
  background: linear-gradient(160deg, var(--green-700), var(--green-500));
  box-shadow: 0 6px 24px rgba(4,122,77,.35);
  border: 1px solid rgba(255,255,255,.1);
}

/* Carte 3 — vert clair */
.step-card:nth-child(3) {
  background: linear-gradient(160deg, var(--green-500), var(--green-300));
  box-shadow: 0 6px 24px rgba(52,211,153,.3);
  border: 1px solid rgba(255,255,255,.2);
}

/* Cercle icône */
.step-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(4px);
  border: 2px solid rgba(255,255,255,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  transition: transform .25s ease, background .25s ease;
}
.step-card:hover .step-icon-wrap {
  transform: scale(1.1);
  background: rgba(255,255,255,.25);
}
.step-icon { font-size: 1.9rem; line-height: 1; }

/* Texte */
.step-card h3 {
  font-size: .83rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 6px;
}
.step-card h3 .fr {
  display: block;
  font-size: .71rem;
  font-weight: 500;
  opacity: .8;
  margin-top: 2px;
  font-family: var(--font-en);
}
.step-card p {
  font-size: .72rem;
  color: rgba(255,255,255,.75);
  line-height: 1.55;
}
.step-card p .fr {
  font-size: .67rem;
  opacity: .7;
}

/* ═══════════════════════════════════════════
   MAP SECTION
═══════════════════════════════════════════ */
.map-section {
  padding: 0 0 40px;
  max-width: 640px;
  margin: 0 auto;
}
.section-header {
  padding: 32px 20px 16px;
  text-align: center;
}
.section-title {
  font-size: clamp(1.15rem, 5vw, 1.5rem);
  font-weight: 900;
  color: var(--gray-900);
  line-height: 1.35;
}
.section-title .fr {
  font-size: .6em;
  font-weight: 500;
  color: var(--gray-500);
  display: block;
  margin-top: 4px;
}
.map-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  font-size: .82rem;
  color: var(--gray-600);
  font-family: var(--font-en);
}
.status-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.status-dot.loading { background: #fbbf24; animation: pulse 1.4s infinite; }
.status-dot.online  { background: var(--green-400); animation: pulse 2s infinite; }
.status-dot.offline { background: #ef4444; }

#map {
  height: 340px;
  width: 100%;
  border-radius: 0;
  z-index: 0;
  border-top: 2px solid var(--green-100);
  border-bottom: 2px solid var(--green-100);
}
@media (min-width: 480px) {
  #map { height: 400px; border-radius: var(--radius); margin: 0 20px; width: calc(100% - 40px); }
}

/* Leaflet popup custom */
.popup-content { font-family: var(--font-ar); direction: rtl; }
.popup-name { font-size: .9rem; font-weight: 800; color: var(--gray-900); margin-bottom: 4px; }
.popup-tel { font-size: .82rem; color: var(--gray-600); margin-bottom: 10px; }
.popup-tel a { color: var(--green-600); font-weight: 600; }
.popup-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.popup-btn {
  display: inline-flex; align-items: center;
  font-size: .78rem; font-weight: 700;
  padding: 6px 12px; border-radius: 99px;
  transition: opacity .2s;
}
.popup-btn:hover { opacity: .85; }
.popup-btn-wa   { background: var(--wa-green); color: var(--white); }
.popup-btn-call { background: var(--green-100); color: var(--green-800); }

/* Leaflet map marker */
.map-marker {
  width: 44px; height: 44px;
  background: var(--green-500);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-green);
  border: 3px solid var(--white);
  font-size: 1.2rem;
  transition: transform .2s;
}
.map-marker span { transform: rotate(45deg); display: block; }

/* ═══════════════════════════════════════════
   PHARMACY LIST
═══════════════════════════════════════════ */
.pharmacy-list {
  padding: 16px 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.list-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 30px 0;
  color: var(--gray-500);
  font-size: .9rem;
}
.spinner {
  width: 32px; height: 32px;
  border: 3px solid var(--green-100);
  border-top-color: var(--green-500);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.pharm-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  animation: fade-in .4s ease both;
}
.pharm-card-info { display: flex; align-items: flex-start; gap: 12px; flex: 1; min-width: 0; }
.pharm-icon {
  width: 40px; height: 40px;
  background: var(--green-50);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.pharm-name { font-size: .88rem; font-weight: 700; color: var(--gray-900); }
.pharm-addr {
  font-size: .73rem;
  color: var(--gray-500);
  margin-top: 3px;
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
  gap: 3px;
}
.pharm-tel  { font-size: .74rem; color: var(--green-600); font-weight: 600; margin-top: 3px; font-family: var(--font-en); }
.pharm-card-actions { display: flex; gap: 6px; flex-shrink: 0; }
.pharm-btn {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .78rem; font-weight: 700;
  padding: 7px 12px; border-radius: 99px;
  white-space: nowrap;
  transition: transform .15s, opacity .15s;
}
.pharm-btn:active { transform: scale(.95); }
.pharm-btn-wa   { background: var(--wa-green); color: var(--white); box-shadow: 0 3px 10px rgba(37,211,102,.3); }
.pharm-btn-call { background: var(--green-50); color: var(--green-700); border: 1px solid var(--green-200); }

/* ═══════════════════════════════════════════
   TRUST SECTION
═══════════════════════════════════════════ */
.trust-section {
  padding: 32px 20px;
  max-width: 640px;
  margin: 0 auto;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.trust-card {
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  color: var(--white);
  border-radius: var(--radius);
  padding: 20px 12px;
  text-align: center;
  box-shadow: var(--shadow-green);
}
.trust-icon { font-size: 1.5rem; margin-bottom: 6px; }
.trust-value { font-size: 1.5rem; font-weight: 900; font-family: var(--font-en); line-height: 1; margin-bottom: 6px; }
.trust-label { font-size: .73rem; opacity: .9; line-height: 1.4; }
.trust-label .fr { font-size: .68rem; font-family: var(--font-en); opacity: .8; }

/* ═══════════════════════════════════════════
   CTA BANNER
═══════════════════════════════════════════ */
.cta-banner {
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  padding: 36px 20px;
  text-align: center;
  margin: 0 0 0;
}
.cta-banner-inner { max-width: 480px; margin: 0 auto; }
.cta-text h2 { color: var(--white); font-size: 1.25rem; font-weight: 900; margin-bottom: 4px; }
.cta-text p  { color: var(--green-300); font-size: .88rem; font-family: var(--font-en); margin-bottom: 20px; }
.cta-banner .btn-whatsapp { max-width: 100%; font-size: .95rem; }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 32px 20px 24px;
  text-align: center;
}
.footer-inner { max-width: 480px; margin: 0 auto; }
.footer-brand {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  color: var(--white); font-size: 1.15rem; margin-bottom: 6px;
}
.footer-tagline { font-size: .8rem; color: var(--gray-500); margin-bottom: 18px; }
.footer-social { display: flex; justify-content: center; gap: 10px; margin-bottom: 18px; }
.social-btn {
  width: 40px; height: 40px;
  background: var(--gray-800);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-300);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.social-btn:hover { background: var(--green-600); color: var(--white); transform: scale(1.1); }
.social-btn-wa:hover { background: var(--wa-green); }
.footer-copy { font-size: .74rem; color: var(--gray-700); font-family: var(--font-en); }

/* ═══════════════════════════════════════════
   FLOATING WHATSAPP BUTTON
═══════════════════════════════════════════ */
.fab-whatsapp {
  position: fixed;
  bottom: 24px;
  left: 20px;   /* left side for RTL */
  z-index: 999;
  background: var(--wa-green);
  color: var(--white);
  border-radius: 99px;
  padding: 12px 18px 12px 14px;
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 6px 28px rgba(37,211,102,.5);
  font-size: .88rem;
  font-weight: 700;
  animation: pop-in .6s .8s cubic-bezier(.34,1.56,.64,1) both;
  transition: transform var(--transition), box-shadow var(--transition);
}
.fab-whatsapp:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 36px rgba(37,211,102,.6);
}
.fab-whatsapp:active { transform: scale(.97); }
.fab-label { white-space: nowrap; }

/* ═══════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════ */
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slide-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pop-in {
  from { opacity: 0; transform: scale(.5) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* ═══════════════════════════════════════════
   TABLET  (≥ 480px)
═══════════════════════════════════════════ */
@media (min-width: 480px) {
  .hero { padding: 64px 32px 44px; }
  .hero-actions { flex-direction: row; justify-content: center; }
  .btn { width: auto; }
}

/* ═══════════════════════════════════════════
   DESKTOP  (≥ 900px) — PLEINE LARGEUR
   Le body mobile était limité à 640px.
   Ici on supprime cette contrainte.
═══════════════════════════════════════════ */
@media (min-width: 900px) {

  /* Corps pleine largeur */
  body {
    max-width: 100% !important;
    width: 100% !important;
    background: var(--gray-100);
    box-shadow: none !important;
  }

  /* ── Header ── */
  .header { padding: 0 48px; }
  .header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 0;
  }
  .brand-name { font-size: 1.4rem; }
  .header-cta { font-size: .92rem; padding: 11px 24px; }

  /* ── Hero ── */
  .hero { padding: 0; min-height: 500px; }
  .hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 48px 48px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    column-gap: 80px;
    align-items: center;
    text-align: right;
  }
  .hero-badge, .hero-title, .hero-subtitle, .hero-actions { grid-column: 1; }
  .hero-title   { font-size: 3rem; }
  .hero-actions { flex-direction: row; justify-content: flex-start; gap: 14px; }
  .btn { width: auto; min-width: 200px; }
  .hero-content::after {
    display: none;
  }
  .hero-chips {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px 56px;
    justify-content: flex-start;
  }

  /* ── Steps ── */
  .steps-section {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 60px 48px;
  }
  .steps-grid { gap: 24px; }
  .step-card  { padding: 30px 24px; }
  .step-icon  { font-size: 2.4rem; }
  .step-card h3 { font-size: 1rem; }
  .step-card p  { font-size: .85rem; }

  /* ── Map section ── */
  .map-section {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 48px 60px;
  }
  .section-header { padding: 52px 0 24px; text-align: right; }
  .section-title  { font-size: 1.8rem; }
  .map-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 24px;
    align-items: start;
  }
  #map {
    height: 540px !important;
    border-radius: var(--radius-lg) !important;
    margin: 0 !important;
    width: 100% !important;
    border: none !important;
    box-shadow: var(--shadow-lg);
  }
  .pharmacy-list {
    padding: 0;
    max-height: 540px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--green-300) transparent;
  }
  .pharmacy-list::-webkit-scrollbar { width: 5px; }
  .pharmacy-list::-webkit-scrollbar-thumb { background: var(--green-300); border-radius: 99px; }
  .pharm-card { padding: 16px 20px; }
  .pharm-name { font-size: .95rem; }

  /* ── Trust ── */
  .trust-section {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 48px 60px;
  }
  .trust-grid  { gap: 24px; }
  .trust-card  { padding: 30px 24px; }
  .trust-value { font-size: 2.2rem; }

  /* ── CTA banner ── */
  .cta-banner { padding: 64px 48px; }
  .cta-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    text-align: right;
  }
  .cta-text { flex: 1; }
  .cta-text h2 { font-size: 1.8rem; }
  .cta-text p  { font-size: 1rem; margin-bottom: 0; }
  .cta-banner .btn-whatsapp { max-width: 360px; white-space: nowrap; flex-shrink: 0; }

  /* ── Footer ── */
  .footer { padding: 48px; }
  .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
  }
  .footer-tagline, .footer-social { margin-bottom: 0; }
  .footer-copy { width: 100%; text-align: center; margin-top: 8px; }

  /* ── FAB ── */
  .fab-whatsapp { bottom: 36px; left: 36px; }
}

/* ═══════════════════════════════════════════
   LEAFLET OVERRIDES
═══════════════════════════════════════════ */
.leaflet-popup-content-wrapper {
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-lg) !important;
  padding: 0 !important;
}
.leaflet-popup-content { margin: 14px 16px !important; }
.leaflet-popup-tip-container { margin-top: -1px; }