/* =========================================================
   PharmaGo Ã¢â‚¬â€ Bootstrap v5 stylesheet (version allÃƒÂ©gÃƒÂ©e)
   Seules les rÃƒÂ¨gles de thÃƒÂ¨me, couleurs, polices et composants
   complexes (mockup tÃƒÂ©lÃƒÂ©phone, carte, etc.) sont conservÃƒÂ©es.
   Tout le layout (flex, grid, padding, margin) est gÃƒÂ©rÃƒÂ© par
   Bootstrap directement dans le HTML.
   ========================================================= */

:root {
  --pg-primary: #2ECC71;
  --pg-primary-dark: #1a9b55;
  --pg-secondary: #FF6B35;
  --pg-secondary-dark: #e55a25;
  --pg-bg: #F8F9FA;
  --pg-dark: #2C3E50;
  --pg-text: #34495E;
  --pg-text-muted: #7F8C8D;
  --pg-border: #E2E8F0;
  --pg-card: #FFFFFF;
  --pg-radius-sm: 8px;
  --pg-radius-lg: 16px;
  --pg-shadow-sm: 0 2px 12px -2px rgba(0,0,0,0.06);
  --pg-shadow-md: 0 4px 20px -4px rgba(0,0,0,0.08);
  --pg-font-title: 'Poppins', sans-serif;
  --pg-font-body: 'Inter', sans-serif;
  --pg-bottomnav-h: 64px;
}

/* Bootstrap variable overrides */
:root {
  --bs-primary: #FF6B35;
  --bs-secondary: #2ECC71;
  --bs-body-color: #34495E;
  --bs-body-bg: #F8F9FA;
  --bs-link-color: #FF6B35;
  --bs-body-font-family: var(--pg-font-body);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--pg-font-body);
  color: var(--pg-text);
  background-color: var(--pg-bg);
  padding-bottom: 0;
}

body.has-bottom-nav {
 /* padding-bottom: calc(var(--pg-bottomnav-h) + env(safe-area-inset-bottom));
 width: fit-content; */
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--pg-font-title);
  color: var(--pg-text);
}

a { text-decoration: none; }

.text-muted-pg { color: var(--pg-text-muted) !important; }
.bg-pg-dark { background-color: var(--pg-dark) !important; }
.text-primary-pg { color: var(--pg-primary) !important; }
.text-secondary-pg { color: var(--pg-secondary) !important; }

/* ============ BUTTONS (thÃƒÂ¨me) ============ */
.btn-pg-primary {
  background-color: var(--pg-primary);
  border-color: var(--pg-primary);
  color: #fff;
  font-weight: 600;
  border-radius: var(--pg-radius-sm);
  transition: all .25s ease;
}
.btn-pg-primary:hover, .btn-pg-primary:focus {
  background-color: var(--pg-primary-dark);
  border-color: var(--pg-primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -4px rgba(255,107,53,.45);
}
.btn-pg-outline {
  background-color: transparent;
  border: 2px solid var(--pg-primary);
  color: var(--pg-primary);
  font-weight: 700;
  border-radius: var(--pg-radius-sm);
  transition: all .25s ease;
}
.btn-pg-outline:hover {
  background-color: var(--pg-primary);
  color: #fff;
}
.btn-pg-secondary {
  background-color: var(--pg-secondary);
  border-color: var(--pg-secondary);
  color: #fff;
  font-weight: 600;
  border-radius: var(--pg-radius-sm);
  transition: all .25s ease;
}
.btn-pg-secondary:hover {
  background-color: var(--pg-secondary-dark);
  border-color: var(--pg-secondary-dark);
  color: #fff;
}
.btn-pg-outline-secondary {
  background: transparent;
  border: 2px solid var(--pg-secondary);
  color: var(--pg-secondary-dark);
  font-weight: 700;
  border-radius: var(--pg-radius-sm);
}
.btn-pg-outline-secondary:hover {
  background: var(--pg-secondary);
  color: #fff;
}
.btn-pill { border-radius: 50px; }

/* ============ HEADER ============ */
.pg-navbar {
  background: rgba(248,249,250,0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all .3s ease;
  z-index: 1050;
}
.pg-navbar.scrolled {
  border-bottom: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}
.pg-navbar .nav-link {
  color: var(--pg-text);
  font-weight: 600;
  font-size: .875rem;
  border-radius: 50px;
  padding: .5rem 1rem !important;
  transition: all .2s ease;
}
.pg-navbar .nav-link:hover, .pg-navbar .nav-link.active {
  color: var(--pg-primary);
  background: rgba(255,107,53,.08);
}
.pg-navbar .btn-login {
  font-size: .8rem;
  font-weight: 700;
  border-radius: 50px;
  padding: .45rem 1rem;
  white-space: nowrap;
}
.pg-navbar .dropdown-menu {
  border: 1px solid var(--pg-border);
  border-radius: var(--pg-radius-sm);
  box-shadow: var(--pg-shadow-md);
  padding: .5rem;
  margin-top: .4rem;
  background: var(--pg-card);
}
.pg-navbar .dropdown-menu .dropdown-item {
  border-radius: 8px;
  padding: .55rem .75rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--pg-text);
  display: flex;
  align-items: center;
  gap: .6rem;
}
.pg-navbar .dropdown-menu .dropdown-item i { color: var(--pg-primary); font-size: .95rem; width: 18px; text-align: center; }
.pg-navbar .dropdown-menu .dropdown-item:hover,
.pg-navbar .dropdown-menu .dropdown-item:focus {
  background: rgba(255,107,53,.08);
  color: var(--pg-primary);
}
.pg-navbar .dropdown-menu .dropdown-item small { display: block; font-size: .68rem; font-weight: 500; color: var(--pg-text-muted); }

/* ============ HERO ============ */
.pg-hero {
  background: linear-gradient(135deg, #2C3E50 0%, #34495E 55%, #1f2d3a 100%);
}
.pg-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.08) 1px, transparent 0);
  background-size: 28px 28px;
  opacity: .5;
  pointer-events: none;
}
.pg-hero .hero-badge {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(46,204,113,.35);
  color: #fff;
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 50px;
  padding: .5rem 1rem;
}
.pg-hero .pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--pg-secondary);
  display: inline-block;
  position: relative;
}
.pg-hero .pulse-dot::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--pg-secondary);
  animation: pg-ping 1.6s cubic-bezier(0,0,.2,1) infinite;
}
@keyframes pg-ping { 75%,100% { transform: scale(2.4); opacity: 0; } }

.pg-hero h1 .accent {
  font-style: italic;
  background: linear-gradient(135deg, #FF6B35 0%, #ff9a6c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pg-hero .pg-search-bar {
  background: #fff;
  border-radius: var(--pg-radius-sm);
  box-shadow: 0 20px 45px -10px rgba(0,0,0,.35);
  max-width: 620px;
  overflow: hidden;
}
.pg-hero .pg-search-bar .btn-locate { color: var(--pg-secondary-dark); font-weight: 600; font-size: .85rem; background: transparent; }
.pg-hero .pg-search-bar .btn-search {
  background: var(--pg-primary);
  color: #fff;
  font-weight: 700;
  font-size: .875rem;
  transition: background .2s;
}
.pg-hero .pg-search-bar .btn-search:hover { background: var(--pg-primary-dark); }

.trust-pill {
  background: rgba(46,204,113,.15);
  border: 1px solid rgba(46,204,113,.35);
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  border-radius: 50px;
  padding: .45rem .9rem;
}

/* HERO Ã¢â‚¬â€ PHOTO BACKGROUND SLIDER */
#accueil.pg-hero-photo {
  background: var(--pg-dark);
}
#accueil.pg-hero-photo::before { display: none; }
.hero-bg-carousel,
.hero-bg-carousel .carousel-inner,
.hero-bg-carousel .carousel-item { min-height: 100vh; }
.hero-slide-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-slide-overlay {
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(44,62,80,.62) 0%, rgba(44,62,80,.42) 40%, var(--pg-bg) 100%);
}
.hero-carousel-indicators { bottom: 80px; z-index: 20; }
.hero-carousel-indicators [data-bs-target] {
  width: 8px; height: 8px; border-radius: 4px;
  background: var(--pg-primary); border: 0; opacity: .4;
  transition: all .3s ease;
}
.hero-carousel-indicators .active { width: 32px; opacity: 1; }
.hero-carousel-arrow { z-index: 20; width: 60px; }
.hero-arrow-circle {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.15rem;
  transition: background .2s ease;
}
.hero-carousel-arrow:hover .hero-arrow-circle { background: rgba(255,255,255,.28); }
.hero-content-overlay {
  top: 0; left: 0; z-index: 15;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero-content-overlay .container { padding-top: 120px; }

@keyframes hero-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
.hero-bounce { display: inline-block; animation: hero-bounce 1.6s infinite; }

/* ============ SECTIONS ============ */
.section-eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: .7rem;
  letter-spacing: .1em;
  border-radius: 50px;
  padding: .4rem 1rem;
  margin-bottom: .9rem;
}
.eyebrow-primary { background: rgba(255,107,53,.1); color: var(--pg-primary); }
.eyebrow-secondary { background: rgba(46,204,113,.12); color: var(--pg-secondary-dark); }

.section-title { font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.section-sub { color: var(--pg-text-muted); max-width: 480px; }

/* Badges */
.badge-open { background: rgba(46,204,113,.12); color: #1a9b55; }
.badge-closed { background: rgba(127,140,141,.12); color: #7F8C8D; }
.badge-duty { background: rgba(255,107,53,.12); color: #FF6B35; }
.badge-pg { font-weight: 700; font-size: .7rem; border-radius: 50px; padding: .3rem .7rem; }

/* Not-what */
.not-box { border: 1px solid rgba(44,62,80,.1); }

/* Forms */
.pg-form-control {
  border: 1px solid var(--pg-border);
  border-radius: var(--pg-radius-sm);
  min-height: 46px;
  font-size: .875rem;
  background: var(--pg-card);
}
.pg-form-control:focus {
  border-color: var(--pg-primary);
  box-shadow: 0 0 0 3px rgba(255,107,53,.15);
}
.form-label-pg { font-size: .78rem; font-weight: 700; color: var(--pg-text); }

/* Footer */
.pg-footer { background: var(--pg-dark); color: rgba(255,255,255,.7); }
.pg-footer h6 { color: var(--pg-primary); }
.pg-footer a { color: rgba(255,255,255,.55); font-size: .875rem; transition: color .2s; }
.pg-footer a:hover { color: var(--pg-primary); }
.pg-footer .social-btn { transition: all .2s; }
.pg-footer .social-btn:hover { background: rgba(255,107,53,.15); color: var(--pg-primary); transform: scale(1.08); }

/* Bottom navigation (PWA) */
.pg-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--pg-bottomnav-h);
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--pg-border);
  box-shadow: 0 -4px 20px rgba(0,0,0,.06);
  z-index: 1060;
  padding-bottom: env(safe-area-inset-bottom);
}
@media (max-width: 767.98px) {
  .pg-bottom-nav { display: flex; }
}
.pg-bottom-nav .bn-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--pg-text-muted);
  font-size: .65rem;
  font-weight: 600;
}
.pg-bottom-nav .bn-item i { font-size: 1.25rem; }
.pg-bottom-nav .bn-item.active { color: var(--pg-primary); }
.pg-bottom-nav .bn-item.active i { transform: translateY(-1px); }

/* Theme toggle */
.site-theme-toggle {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--pg-border);
  background: var(--pg-card);
  color: var(--pg-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all .2s ease;
}
.site-theme-toggle:hover { border-color: var(--pg-primary); color: var(--pg-primary); }
.site-theme-toggle .bi-moon-stars-fill { display: none; }
[data-theme="dark"] .site-theme-toggle .bi-sun-fill { display: none; }
[data-theme="dark"] .site-theme-toggle .bi-moon-stars-fill { display: inline-block; }

/* ============ DARK THEME OVERRIDES ============ */
[data-theme="dark"] {
  --pg-bg: #10161d;
  --pg-text: #E7ECF1;
  --pg-text-muted: #93A1B0;
  --pg-border: #26313d;
  --pg-card: #19222c;
  --bs-body-bg: #10161d;
  --bs-body-color: #E7ECF1;
}
[data-theme="dark"] body { background-color: var(--pg-bg); color: var(--pg-text); }
[data-theme="dark"] .pg-navbar { background: rgba(16,22,29,.92); }
[data-theme="dark"] .pg-navbar.scrolled { border-bottom-color: rgba(255,255,255,.08); box-shadow: 0 2px 20px rgba(0,0,0,.45); }
[data-theme="dark"] .pg-navbar .nav-link:hover,
[data-theme="dark"] .pg-navbar .nav-link.active { background: rgba(255,107,53,.14); }
[data-theme="dark"] .section-eyebrow.eyebrow-primary { background: rgba(255,107,53,.16); }
[data-theme="dark"] .section-eyebrow.eyebrow-secondary { background: rgba(46,204,113,.16); }
[data-theme="dark"] .not-box { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
[data-theme="dark"] .not-box > .mt-3 { border-top-color: rgba(255,255,255,.1) !important; }
[data-theme="dark"] .pg-download { background: linear-gradient(160deg, #142219 0%, #12211d 55%, #121c26 100%); }
[data-theme="dark"] .map-mock { background: linear-gradient(135deg,#152a1d 0%,#132720 45%,#101f2c 100%); border-color: var(--pg-border); }
[data-theme="dark"] .map-header-chip,
[data-theme="dark"] .mini-chip-float { background: rgba(25,34,44,.92); color: #fff; }
[data-theme="dark"] .theme-switch-pill { background: rgba(25,34,44,.9); border-color: rgba(255,255,255,.1); color: #fff; }
[data-theme="dark"] .qr-box { background: #1B2430; }
[data-theme="dark"] .pg-auth-card { background: var(--pg-card); }
[data-theme="dark"] .pg-form-control::placeholder { color: rgba(255,255,255,.35); }
[data-theme="dark"] .pg-bottom-nav { background: rgba(16,22,29,.96); border-top-color: var(--pg-border); }
[data-theme="dark"] .avatar-initials,
[data-theme="dark"] .badge-open,
[data-theme="dark"] .badge-closed,
[data-theme="dark"] .badge-duty { filter: brightness(1.05); }

/* =========================================================
   CORRECTIONS : dark mode complet, bottom nav, responsive
   ========================================================= */
[data-theme="dark"] #comment-ca-marche { background: #0f1720 !important; }
[data-theme="dark"] .pg-download { background: linear-gradient(160deg, #0f1a20 0%, #0d1f1a 55%, #101c2a 100%) !important; }
[data-theme="dark"] #apropos { background: #0f1720; }
[data-theme="dark"] #contact { background: #0f1720; }
[data-theme="dark"] .stat-box,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .pharmacy-row,
[data-theme="dark"] .pg-feature-card {
  background: var(--pg-card);
  border-color: var(--pg-border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
[data-theme="dark"] .pg-search-bar {
  background: var(--pg-card);
  border: 1px solid var(--pg-border);
}
[data-theme="dark"] .pg-search-bar input { color: var(--pg-text); }
[data-theme="dark"] .pg-search-bar input::placeholder { color: var(--pg-text-muted); }
[data-theme="dark"] .pg-form-control {
  background: var(--pg-card);
  color: var(--pg-text);
  border-color: var(--pg-border);
}
[data-theme="dark"] .pg-form-control:focus {
  border-color: var(--pg-primary);
  box-shadow: 0 0 0 3px rgba(255,107,53,.25);
}
[data-theme="dark"] .pg-auth-card { background: var(--pg-card); }
[data-theme="dark"] .pg-footer { background: #0b1117; }

/* Correction bottom nav (ÃƒÂ©vite chevauchement avec footer) */
@media (max-width: 767.98px) {
  .pg-footer {
    margin-bottom: calc(var(--pg-bottomnav-h) + env(safe-area-inset-bottom));
  }
}

/* Optimisations responsive supplÃƒÂ©mentaires (mockup) */
@media (max-width: 575.98px) {
  .phone-device { width: 220px !important; height: 480px !important; border-radius: 36px !important; padding: 12px !important; }
  .phone-screen { border-radius: 26px !important; }
}

/* Dropdown mobile */
@media (max-width: 991.98px) {
  .pg-navbar .dropdown-menu {
    border: 0;
    background: transparent;
    box-shadow: none;
    padding-left: 1rem;
  }
  .pg-navbar .dropdown-menu .dropdown-item {
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
    color: var(--pg-text);
  }
  .pg-navbar .dropdown-menu .dropdown-item small { font-size: 0.7rem; }
  .pg-navbar .dropdown-menu .dropdown-item i { width: 24px; }
}

/* Utilitaires complÃƒÂ©mentaires */
.rounded-pg { border-radius: var(--pg-radius-sm) !important; }
.rounded-pg-lg { border-radius: var(--pg-radius-lg) !important; }
.shadow-pg { box-shadow: var(--pg-shadow-sm) !important; }
.fw-800 { font-weight: 800; }
.fs-14 { font-size: .875rem; }
.fs-13 { font-size: .8125rem; }
.fs-12 { font-size: .75rem; }
.animate-on-scroll { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.animate-on-scroll.is-visible { opacity: 1; transform: translateY(0); }

.skip-link {
  position: absolute; left: -999px; top: 0; background: #fff; color: var(--pg-text);
  padding: .6rem 1rem; z-index: 2000; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Phone mockup spÃƒÂ©cifique */
.phone-screen.theme-dark { background: #182430; color: rgba(255,255,255,.92); }
.phone-screen.theme-dark .mini-search-bar { background: rgba(255,255,255,.08); color: rgba(255,255,255,.55); }
.phone-screen.theme-dark .mini-chip { background: rgba(46,204,113,.18); color: #6be3a0; }
.phone-screen.theme-dark .mini-feature { background: rgba(255,255,255,.06); }
.phone-screen.theme-dark .mini-feature .txt span { color: rgba(255,255,255,.5); }
.phone-screen.theme-dark .mini-row { background: rgba(255,255,255,.06); }
.phone-screen.theme-dark .mini-row .txt span { color: rgba(255,255,255,.5); }
.phone-screen.theme-dark .mini-profile-head span { color: rgba(255,255,255,.55); }
.phone-screen.theme-dark .phone-bottomnav { border-top-color: rgba(255,255,255,.1); }
.phone-screen.theme-dark .phone-bottomnav i { color: rgba(255,255,255,.45); }
.phone-screen.theme-dark .phone-appbar .brand { color: #fff; }
.phone-bottomnav i.active-nav { color: var(--pg-primary); }
.pg-theme-toggle[aria-pressed="true"] { background: var(--pg-primary); }
.pg-theme-toggle[aria-pressed="true"]::after { transform: translateX(20px); }
.pg-theme-toggle::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}

/* =========================================================
   BOTTOM NAVIGATION Ã¢â‚¬â€ STYLE MOBILE MODERN
   ========================================================= */

.pg-bottom-nav {
  display: none;
  position: fixed;
  bottom: 12px;
  left: 12px;
  right: 12px;
  height: 72px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 28px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.3);
  z-index: 1060;
  padding: 4px 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 767.98px) {
  .pg-bottom-nav {
    display: flex;
    align-items: center;
    justify-content: space-around;
  }
}

/* --- Ãƒâ€°lÃƒÂ©ments de la navigation --- */
.pg-bottom-nav .bn-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 6px 8px;
  border-radius: 20px;
  text-decoration: none;
  color: var(--pg-text-muted);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  min-height: 52px;
}

.pg-bottom-nav .bn-item .bn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  font-size: 1.2rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--pg-text-muted);
}

.pg-bottom-nav .bn-item .bn-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
  opacity: 0.7;
  color: var(--pg-text-muted);
}

/* --- Ãƒâ€°tat actif --- */
.pg-bottom-nav .bn-item.active .bn-icon {
  color: #fff;
  background: linear-gradient(135deg, var(--pg-primary) 0%, var(--pg-primary-dark) 100%);
  box-shadow: 0 6px 16px rgba(255, 107, 53, 0.4);
  transform: translateY(-2px);
}

.pg-bottom-nav .bn-item.active .bn-label {
  color: var(--pg-primary);
  opacity: 1;
  font-weight: 700;
}

.pg-bottom-nav .bn-item.active {
  color: var(--pg-primary);
}

/* --- Effet au survol / tap --- */
.pg-bottom-nav .bn-item:hover .bn-icon:not(.active) {
  background: rgba(255, 107, 53, 0.08);
  transform: translateY(-1px);
}

.pg-bottom-nav .bn-item:active {
  transform: scale(0.92);
}

.pg-bottom-nav .bn-item:active .bn-icon {
  transform: scale(0.9);
}

/* --- Petit indicateur sous l'icÃƒÂ´ne active (optionnel) --- */
.pg-bottom-nav .bn-item.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 3px;
  border-radius: 4px;
  background: var(--pg-primary);
  opacity: 0.8;
}

/* --- Mode sombre --- */
[data-theme="dark"] .pg-bottom-nav {
  background: rgba(25, 34, 44, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 2px 8px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .pg-bottom-nav .bn-item {
  color: rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] .pg-bottom-nav .bn-item .bn-icon {
  color: rgba(255, 255, 255, 0.4);
}

[data-theme="dark"] .pg-bottom-nav .bn-item .bn-label {
  color: rgba(255, 255, 255, 0.4);
}

[data-theme="dark"] .pg-bottom-nav .bn-item.active .bn-label {
  color: var(--pg-primary);
}

[data-theme="dark"] .pg-bottom-nav .bn-item.active::after {
  background: var(--pg-primary);
}

[data-theme="dark"] .pg-bottom-nav .bn-item:hover .bn-icon:not(.active) {
  background: rgba(255, 107, 53, 0.15);
}

/* =========================================================
   CORRECTION : Supprimer le dÃƒÂ©filement horizontal
   ========================================================= */
html, body {
    overflow-x: hidden;
    width: 100%;
}


/* ============================================================
   Styles extraits des attributs style="" inline du HTML
   (aucune valeur modifiÃƒÂ©e Ã¢â‚¬â€ simple dÃƒÂ©placement vers ce fichier)
   ============================================================ */
.is-cae9be { max-width:1200px; }
.is-215f04 { max-width:1000px; }
.is-4fd26a { width:64px;height:64px;background:rgba(255,255,255,.12);color:#fff; }
.is-802521 { color:var(--pg-primary);background:rgba(255,107,53,.08); }
.is-47ccc0 { color:var(--pg-text); }
.is-9ec3d5 { background:rgba(46,204,113,.1); }
.is-4b0d4a { background:rgba(46,204,113,.12);color:#1a9b55; }
.is-6517ca { background:rgba(255,107,53,.1); }
.is-034d72 { color:var(--pg-text);border:1px solid var(--pg-border); }
.is-e242f6 { border-bottom:1px solid var(--pg-border); }
.is-cb45ff { height:100px;width:auto;object-fit:contain; }
.is-693d78 { line-height:1.7; }
.is-fa4bec { border-top:1px solid rgba(255,255,255,.08); }
.is-fc8cb5 { color:rgba(255,255,255,.35); }
.is-3a4c4a { width:8px;height:8px;background:#2ECC71; }
.is-48f961 { color:rgba(255,255,255,.45); }
.is-5536de { color:rgba(255,255,255,.9); }
.is-0d7348 { color:var(--pg-primary); }
.is-300a27 { background:rgba(46,204,113,.08);border:1px solid rgba(46,204,113,.2); }
.is-25f63d { color:var(--pg-primary);font-weight:700; }
.is-e0bc72 { color:var(--pg-secondary-dark);font-weight:700; }
.is-fb03b8 { color:rgba(255,255,255,.95); }
.is-5dd795 { color:var(--pg-secondary-dark); }
.is-79e6b1 { background:rgba(255,107,53,.08);border:1px solid rgba(255,107,53,.2); }
.is-53f3c6 { height:44px;width:auto;object-fit:contain; }
.is-f9f69a { background-image:url(assets/images/hero/hero-slide-1.png); }
.is-bafd8d { background-image:url(assets/images/hero/hero-slide-2.png); }
.is-9bec70 { background-image:url(assets/images/hero/hero-slide-3.png); }
.is-a8e688 { font-size:clamp(2rem,4.5vw,3.5rem);line-height:1.12; }
.is-a2a815 { max-width:520px;font-size:1rem; }
.is-f13274 { font-size:.9rem;color:var(--pg-text); }
.is-c1d22e { font-size:1.9rem; }
.is-287c38 { font-size:.68rem;letter-spacing:.08em;color:rgba(255,255,255,.65); }
.is-00bd16 { background:rgba(255,255,255,.94);backdrop-filter:blur(14px); }
.is-f91f99 { font-size:.68rem;letter-spacing:.08em;color:var(--pg-text-muted); }
.is-5a0311 { background:rgba(255,255,255,.92);backdrop-filter:blur(16px);border:1px solid rgba(255,255,255,.3); }
.is-8370a1 { width:48px;height:48px;border-radius:var(--pg-radius-sm);background:rgba(46,204,113,.1);color:var(--pg-secondary-dark);font-size:1.3rem; }
.is-4f4159 { width:52px;height:52px;border-radius:var(--pg-radius-sm);background:var(--pg-primary);color:#fff;font-size:1.4rem; }
.is-9d902c { transition-delay:.1s; }
.is-27db5c { width:52px;height:52px;border-radius:var(--pg-radius-sm);background:var(--pg-secondary);color:#fff;font-size:1.4rem; }
.is-63dada { transition-delay:.2s; }
.is-c29636 { width:52px;height:52px;border-radius:var(--pg-radius-sm);background:var(--pg-dark);color:#fff;font-size:1.4rem; }
.is-e97448 { color:var(--pg-dark); }
.is-8b7fb7 { background:#ECF0F1; }
.is-7ab5e9 { top:28px;left:12.5%;right:12.5%;height:2px;background:linear-gradient(90deg,#FF6B35 0%,#2ECC71 50%,#FF6B35 100%);opacity:.3; }
.is-292e35 { width:56px;height:56px;border-radius:50%;background:linear-gradient(135deg,#FF6B35 0%,#ff9a6c 100%);color:#fff;font-size:1.3rem;box-shadow:0 8px 20px -4px rgba(255,107,53,.45); }
.is-0d6bec { font-size:.7rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--pg-primary); }
.is-1d5fdd { width:56px;height:56px;border-radius:50%;background:linear-gradient(135deg,#2ECC71 0%,#27ae60 100%);color:#fff;font-size:1.3rem;box-shadow:0 8px 20px -4px rgba(46,204,113,.45); }
.is-2cb3b5 { font-size:.7rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--pg-secondary-dark); }
.is-c1bcca { transition-delay:.3s; }
.is-5d3a7f { font-size:1.8rem; }
.is-65e525 { font-size:.7rem;letter-spacing:.06em;color:var(--pg-text-muted); }
.is-eb4fea { min-height:460px;background:linear-gradient(135deg,#e8f5e9 0%,#f1f8e9 45%,#e3f2fd 100%); }
.is-b98bcf { top:0;left:0;object-fit:cover; }
.is-d9077e { top:12px;left:12px;right:12px;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);border-radius:var(--pg-radius-sm);padding:.55rem .9rem;box-shadow:var(--pg-shadow-sm); }
.is-7ba85e { top:42%;left:32%;transform:translate(-50%,-100%);display:flex;flex-direction:column;align-items:center;cursor:pointer; }
.is-b18e43 { width:30px;height:30px;border-radius:50%;background:#2ECC71;color:#fff;box-shadow:0 4px 10px rgba(0,0,0,.25); }
.is-48cdec { background:rgba(44,62,80,.85);color:#fff;font-size:.68rem;font-weight:700;border-radius:6px;padding:2px 7px;margin-top:4px;white-space:nowrap; }
.is-66c360 { top:58%;left:52%;transform:translate(-50%,-100%);display:flex;flex-direction:column;align-items:center;cursor:pointer; }
.is-c785bb { width:30px;height:30px;border-radius:50%;background:#FF6B35;color:#fff;box-shadow:0 4px 10px rgba(0,0,0,.25); }
.is-a0187a { top:32%;left:64%;transform:translate(-50%,-100%);display:flex;flex-direction:column;align-items:center;cursor:pointer; }
.is-10c388 { top:70%;left:40%;transform:translate(-50%,-100%);display:flex;flex-direction:column;align-items:center;cursor:pointer; }
.is-fb973a { width:30px;height:30px;border-radius:50%;background:#7F8C8D;color:#fff;box-shadow:0 4px 10px rgba(0,0,0,.25); }
.is-7d2c29 { top:48%;left:76%;transform:translate(-50%,-100%);display:flex;flex-direction:column;align-items:center;cursor:pointer; }
.is-cda03c { width:42px;height:42px;border-radius:var(--pg-radius-sm);background:rgba(46,204,113,.1);color:var(--pg-secondary-dark); }
.is-9fa1f9 { width:42px;height:42px;border-radius:var(--pg-radius-sm);background:rgba(255,107,53,.1);color:var(--pg-primary); }
.is-5fc73a { width:42px;height:42px;border-radius:var(--pg-radius-sm);background:rgba(127,140,141,.1);color:#7F8C8D; }
.is-bdb55d { width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,#FF6B35 0%,#ff9a6c 100%);color:#fff;font-weight:700;font-size:.85rem; }
.is-ec3d62 { background:var(--pg-dark);border-radius:var(--pg-radius-sm);padding:.6rem 1.1rem;transition:all .2s ease; }
.is-1ef81b { font-family:var(--pg-font-title); }
.is-00a7e4 { z-index:1; }
.is-8dd3e6 { background:rgba(255,255,255,.85);backdrop-filter:blur(8px);font-size:.78rem;font-weight:700;color:var(--pg-text); }
.is-6550a3 { position:relative;width:46px;height:26px;border-radius:50px;background:var(--pg-dark);border:none;cursor:pointer;padding:0;flex-shrink:0;transition:background .3s ease; }
.is-9bff51 { width:340px;height:340px;border-radius:50%;background:radial-gradient(circle,rgba(255,107,53,.16) 0%,rgba(255,107,53,0) 70%);top:60px;filter:blur(4px);z-index:0; }
.is-ac45ef { width:300px;max-width:82vw;height:620px;background:linear-gradient(160deg,#1f2933 0%,#10161c 100%);border-radius:48px;padding:16px;box-shadow:0 45px 90px -22px rgba(15,23,32,.5),0 10px 30px -10px rgba(15,23,32,.35),0 0 0 2px rgba(255,255,255,.05) inset;z-index:1; }
.is-4386d6 { top:16px;left:50%;transform:translateX(-50%);width:118px;height:24px;background:#10161c;border-radius:0 0 16px 16px;z-index:6;display:flex;align-items:center;justify-content:center; }
.is-34a79b { width:46px;height:5px;border-radius:3px;background:#2b3742; }
.is-feb37c { position:relative;width:100%;height:100%;border-radius:34px;overflow:hidden;background:#fff;color:var(--pg-text);box-shadow:0 0 0 1px rgba(255,255,255,.08) inset;transition:background .4s ease,color .4s ease;display:flex;flex-direction:column; }
.is-f68743 { font-size:.68rem;font-weight:700;font-family:var(--pg-font-title); }
.is-d07a8a { font-family:var(--pg-font-title);font-weight:800;font-size:.82rem; }
.is-564d44 { height:20px;width:auto; }
.is-d46863 { background:rgba(127,140,141,.1);font-size:.7rem;color:var(--pg-text-muted); }
.is-de341a { font-size:.62rem;font-weight:700;background:rgba(46,204,113,.12);color:var(--pg-secondary-dark); }
.is-7e8fdc { background:rgba(44,62,80,.03); }
.is-5e5cc2 { width:30px;height:30px;background:var(--pg-primary);color:#fff;font-size:.8rem; }
.is-4804a4 { color:var(--pg-text-muted); }
.is-6f8ccc { width:30px;height:30px;background:var(--pg-secondary);color:#fff;font-size:.8rem; }
.is-b9f1a7 { width:30px;height:30px;background:var(--pg-dark);color:#fff;font-size:.8rem; }
.is-833499 { background:linear-gradient(135deg,#e8f5e9 0%,#f1f8e9 45%,#e3f2fd 100%);min-height:220px; }
.is-de9d3d { inset:0;object-fit:cover; }
.is-c6ac17 { top:10px;left:10px;right:10px;background:rgba(255,255,255,.92);font-size:.62rem;font-weight:700;color:var(--pg-text); }
.is-4afc2a { top:42%;left:30%;transform:translate(-50%,-100%);width:20px;height:20px;border-radius:50%;background:#2ECC71;color:#fff;font-size:.55rem;box-shadow:0 3px 8px rgba(0,0,0,.25); }
.is-0095cb { top:58%;left:55%;transform:translate(-50%,-100%);width:20px;height:20px;border-radius:50%;background:#FF6B35;color:#fff;font-size:.55rem;box-shadow:0 3px 8px rgba(0,0,0,.25); }
.is-3720eb { top:30%;left:66%;transform:translate(-50%,-100%);width:20px;height:20px;border-radius:50%;background:#2ECC71;color:#fff;font-size:.55rem;box-shadow:0 3px 8px rgba(0,0,0,.25); }
.is-a751d3 { top:72%;left:42%;transform:translate(-50%,-100%);width:20px;height:20px;border-radius:50%;background:#7F8C8D;color:#fff;font-size:.55rem;box-shadow:0 3px 8px rgba(0,0,0,.25); }
.is-e92226 { width:28px;height:28px;background:rgba(46,204,113,.15);color:#1a9b55;font-size:.75rem; }
.is-3bd809 { font-size:.55rem;font-weight:800;background:rgba(46,204,113,.15);color:#1a9b55; }
.is-06ca13 { width:28px;height:28px;background:rgba(255,107,53,.15);color:var(--pg-primary);font-size:.75rem; }
.is-4004b5 { font-size:.55rem;font-weight:800;background:rgba(255,107,53,.15);color:var(--pg-primary); }
.is-919ca6 { width:28px;height:28px;background:rgba(127,140,141,.15);color:#7F8C8D;font-size:.75rem; }
.is-187d7c { font-size:.55rem;font-weight:800;background:rgba(127,140,141,.15);color:#7F8C8D; }
.is-8d9546 { width:56px;height:56px;background:linear-gradient(135deg,#FF6B35 0%,#ff9a6c 100%);color:#fff;font-size:1.3rem; }
.is-2eaf73 { font-size:.62rem;font-weight:700;background:var(--pg-primary);color:#fff; }
.is-5a02d3 { font-size:.62rem;font-weight:700;background:var(--pg-secondary);color:#fff; }
.is-a0d1df { margin:0;padding-bottom:4px; }
.is-e3eb19 { width:6px;height:6px;border-radius:50%;background-color:var(--pg-text-muted);opacity:.35;border:0; }
.is-58cd6f { border-top:1px solid rgba(44,62,80,.08); }
.is-d45efd { font-size:.95rem;color:var(--pg-primary); }
.is-47cb03 { font-size:.95rem;color:var(--pg-text-muted); }
.is-c324a7 { line-height:1.8; }
.is-2aed43 { background:rgba(44,62,80,.04);border-color:rgba(44,62,80,.1); }
.is-4f7a10 { border-top:1px solid rgba(44,62,80,.1); }
.is-06d51c { font-size:1.5rem; }
.is-f2787c { width:56px;height:56px;background:#2ECC71; }
.is-8d7788 { width:36px;height:36px;background:rgba(255,255,255,.08);color:rgba(255,255,255,.6);transition:all .2s; }
.is-a86fbd { color:var(--pg-primary);font-size:.7rem;letter-spacing:.12em;font-weight:800;text-transform:uppercase; }
.is-cdf3e7 { color:rgba(255,255,255,.55);font-size:.875rem; }
.is-90f5f6 { width:64px;height:64px;background:rgba(255,255,255,.1); }
.is-22884f { min-height:340px; }
.is-f49c92 { top:45%;left:48%; }
.is-6ae02c { background:#2ECC71; }
.is-6bb8b4 { max-width:900px; }
.is-38fff7 { max-width:1100px; }
.is-2740be { top:40%;left:30%; }
.is-d4fb0d { top:55%;left:50%; }
.is-fa17b5 { background:#FF6B35; }
.is-e20e60 { top:30%;left:66%; }
.is-3a46e5 { top:68%;left:38%; }
.is-5385a5 { background:#7F8C8D; }
.is-41ef0d { top:46%;left:78%; }
.is-cfd994 { background:rgba(127,140,141,.1); }
.is-d72008 { max-width:100%; }
.is-0f59c4 { letter-spacing:.06em;font-size:.75rem; }
.is-46bb35 { background:var(--pg-dark); }
.is-d3b60f { width:auto; }


/* =========================================================
   NOUVEAUX COMPOSANTS — extraits des landing-html templates
   ========================================================= */

/* ============ CONTAINER ELARGI ============ */
.container-lg { max-width: 1200px; }

/* ============ PAGE HEADER AVEC FOND ============ */
.pg-page-header-bg {
  background-image: url('https://images.unsplash.com/photo-1585435557343-3b092031a831?w=1200&q=80');
  background-size: cover; background-position: center 30%;
  position: relative; border-radius: 0 0 3rem 3rem;
  margin-bottom: 3rem; min-height: 300px; display: flex; align-items: center;
}
.pg-page-header-bg::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,107,53,.88) 0%, rgba(30,30,42,.75) 100%);
  border-radius: 0 0 3rem 3rem; z-index: 1;
}
.pg-page-header-bg .container { position: relative; z-index: 2; }
.pg-page-header-bg h1 { text-shadow: 0 4px 20px rgba(0,0,0,.25); color: #fff; }
.pg-page-header-bg p { color: rgba(255,255,255,.8) !important; }
.pg-page-header-bg .btn-light { background: #fff; color: var(--pg-primary); border: none; transition: all .25s ease; }
.pg-page-header-bg .btn-light:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,.15); background: #fff; }
.pg-page-header-bg .btn-outline-light { border: 1.5px solid rgba(255,255,255,.5); color: #fff; }
.pg-page-header-bg .btn-outline-light:hover { background: rgba(255,255,255,.15); border-color: #fff; color: #fff; }

.pg-page-header-bg-search {
  background-image: url('https://images.unsplash.com/photo-1585435557343-3b092031a831?w=1200&q=80');
  background-size: cover; background-position: center 40%;
  position: relative; border-radius: 0 0 3rem 3rem;
  margin-bottom: 3rem; min-height: 280px; display: flex; align-items: center;
}
.pg-page-header-bg-search::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,107,53,.88) 0%, rgba(30,30,42,.80) 100%);
  border-radius: 0 0 3rem 3rem; z-index: 1;
}
.pg-page-header-bg-search .container { position: relative; z-index: 2; }
.pg-page-header-bg-search h1 { text-shadow: 0 4px 20px rgba(0,0,0,.25); color: #fff; }
.pg-page-header-bg-search p { color: rgba(255,255,255,.8) !important; }

.pg-page-header-bg-garde {
  background-image: url('https://images.unsplash.com/photo-1585435557343-3b092031a831?w=1200&q=80');
  background-size: cover; background-position: center 40%;
  position: relative; border-radius: 0 0 3rem 3rem;
  margin-bottom: 3rem; min-height: 300px; display: flex; align-items: center;
}
.pg-page-header-bg-garde::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,107,53,.88) 0%, rgba(30,30,42,.75) 100%);
  border-radius: 0 0 3rem 3rem; z-index: 1;
}
.pg-page-header-bg-garde .container { position: relative; z-index: 2; }
.pg-page-header-bg-garde h1 { text-shadow: 0 4px 20px rgba(0,0,0,.3); color: #fff; }
.pg-page-header-bg-garde p { color: rgba(255,255,255,.8) !important; }
.pg-page-header-bg-garde .btn-light { background: #fff; color: #2c3e50; border: none; transition: all .25s ease; }
.pg-page-header-bg-garde .btn-light:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,.2); background: #fff; }
.pg-page-header-bg-garde .btn-outline-light { border: 1.5px solid rgba(255,255,255,.4); color: #fff; }
.pg-page-header-bg-garde .btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }

/* ============ EYEBROW SUR FOND ============ */
.section-eyebrow-bg, .section-eyebrow-bg-search, .section-eyebrow-bg-garde {
  display: inline-block; background: rgba(255,255,255,.12); backdrop-filter: blur(4px);
  color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: .4rem 1.2rem; border-radius: 2rem;
  margin-bottom: .75rem; border: 1px solid rgba(255,255,255,.08);
}

/* ============ MAP MOCK ============ */
.map-mock {
  background: #e9ecef; border-radius: 1.5rem; overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.06); position: relative; min-height: 200px;
}
.map-mock img { opacity: .85; }
.map-header-chip {
  position: relative; z-index: 2; background: rgba(255,255,255,.85);
  backdrop-filter: blur(6px); padding: .6rem 1.2rem; border-radius: 2rem;
  margin: 1rem 1rem 0; box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.map-pin {
  position: absolute; z-index: 3; display: flex; flex-direction: column;
  align-items: center; transform: translate(-50%,-50%); pointer-events: none;
}
.pin-dot {
  width: 36px; height: 36px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; color: #fff; font-size: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,.15); border: 2px solid #fff;
}
.pin-tag {
  background: rgba(0,0,0,.7); backdrop-filter: blur(4px);
  color: #fff; font-size: .65rem; font-weight: 600;
  padding: .2rem .6rem; border-radius: 1rem; margin-top: 4px; white-space: nowrap;
}

/* ============ PHARMACY CARDS ============ */
.pharmacy-card {
  background: var(--pg-card); border-radius: 1.25rem; padding: .75rem 1rem;
  transition: all .25s ease; box-shadow: 0 2px 8px rgba(0,0,0,.04);
  border: 1px solid rgba(0,0,0,.03); height: 100%; text-decoration: none;
  color: inherit; display: flex; align-items: center; gap: 1rem;
}
.pharmacy-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.08); border-color: var(--pg-primary); }
.pharmacy-icon {
  width: 48px; height: 48px; border-radius: 1rem; display: flex;
  align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0;
}
.pharmacy-icon.bg-success-light { background: rgba(46,204,113,.12); color: #1a9b55; }
.pharmacy-icon.bg-primary-light { background: rgba(255,107,53,.12); color: #e05a2a; }
.pharmacy-icon.bg-muted-light { background: rgba(108,117,125,.12); color: #6c757d; }
.pharmacy-name { font-weight: 700; font-size: 1rem; color: var(--pg-text); margin-bottom: .1rem; }
.pharmacy-address { font-size: .85rem; color: var(--pg-text-muted); }
.pharmacy-badge { font-size: .7rem; font-weight: 600; padding: .2rem .7rem; border-radius: 2rem; white-space: nowrap; }
.pharmacy-verified { background: rgba(46,204,113,.10); color: #1a9b55; font-size: .6rem; padding: .2rem .6rem; border-radius: 2rem; margin-left: .5rem; font-weight: 600; }
.pharmacy-chevron { color: #ccc; font-size: 1.2rem; margin-left: auto; flex-shrink: 0; }

/* ============ FILTER GROUP ============ */
.filter-group .btn { border-radius: 2rem; padding: .4rem 1.2rem; font-weight: 500; transition: all .2s; }
.filter-group .btn-primary { background: var(--pg-primary); border-color: var(--pg-primary); color: #fff; }
.filter-group .btn-outline-secondary { border-color: #dee2e6; color: #495057; }
.filter-group .btn-outline-secondary:hover, .filter-group .btn-outline-secondary.active { background: var(--pg-primary); border-color: var(--pg-primary); color: #fff; }

/* ============ GARDE COUNTER ============ */
.garde-counter {
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%); border-radius: 1.5rem;
  padding: 1.2rem 1.5rem; box-shadow: 0 4px 20px rgba(0,0,0,.04); border: 1px solid rgba(0,0,0,.03);
}
.garde-counter .icon-wrap { width: 56px; height: 56px; border-radius: 1rem; background: rgba(255,107,53,.10); display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--pg-primary); }

/* ============ SEARCH BAR MODERN ============ */
.search-bar-modern {
  background: #fff; border-radius: 3rem; box-shadow: 0 8px 30px rgba(0,0,0,.08);
  transition: box-shadow .2s; border: 1px solid rgba(255,255,255,.2); overflow: hidden;
  max-width: 800px; margin: 0 auto;
}
.search-bar-modern:focus-within { box-shadow: 0 8px 40px rgba(255,107,53,.15); border-color: var(--pg-primary); }
.search-bar-modern .search-input { border: none; padding: .8rem .5rem .8rem 0; font-size: 1rem; outline: none; background: transparent; width: 100%; }
.search-bar-modern .search-input::placeholder { color: #adb5bd; }
.search-bar-modern .search-icon { color: var(--pg-text-muted); font-size: 1.2rem; padding-left: 1.2rem; }
.search-bar-modern .btn-locate { background: transparent; color: var(--pg-text-muted); border: none; border-left: 1px solid #e9ecef; padding: .8rem 1.2rem; transition: color .2s; white-space: nowrap; }
.search-bar-modern .btn-locate:hover { color: var(--pg-primary); }
.search-bar-modern .btn-search { background: var(--pg-primary); color: #fff; border: none; padding: .8rem 1.8rem; font-weight: 600; transition: background .2s; white-space: nowrap; border-radius: 0 3rem 3rem 0; }
.search-bar-modern .btn-search:hover { background: var(--pg-primary-dark); }

/* ============ SUGGESTIONS ============ */
.suggestions-title { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--pg-text-muted); }
.suggestions-list .btn-outline-secondary { border-color: #dee2e6; color: #495057; transition: all .2s; padding: .3rem 1.2rem; font-size: .9rem; }
.suggestions-list .btn-outline-secondary:hover { background: var(--pg-primary); border-color: var(--pg-primary); color: #fff; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(255,107,53,.2); }

/* ============ ORIENTATION CARDS ============ */
.orientation-card {
  background: var(--pg-card); border-radius: 1.25rem; padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.04); border: 1px solid rgba(0,0,0,.03);
  transition: all .25s ease; text-decoration: none; color: inherit; height: 100%; display: block;
}
.orientation-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.08); border-color: var(--pg-primary); }
.orientation-card .card-icon { width: 52px; height: 52px; border-radius: 1rem; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 1rem; }
.orientation-card .card-icon.bg-primary-light { background: rgba(255,107,53,.10); color: var(--pg-primary); }
.orientation-card .card-icon.bg-success-light { background: rgba(46,204,113,.10); color: var(--pg-secondary); }
.orientation-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--pg-text); margin-bottom: .3rem; }
.orientation-card p { font-size: .9rem; color: var(--pg-text-muted); margin: 0; }

/* ============ BACKGROUNDS LEGERS ============ */
.bg-success-light { background: rgba(46,204,113,.12) !important; }
.bg-primary-light { background: rgba(255,107,53,.12) !important; }
.bg-muted-light { background: rgba(108,117,125,.12) !important; }

/* ============ PHARMACY DETAIL ============ */
.pg-page-header-bg-detail {
  background-image: url('https://images.unsplash.com/photo-1585435557343-3b092031a831?w=1200&q=80');
  background-size: cover; background-position: center 35%;
  position: relative; border-radius: 0 0 3rem 3rem;
  margin-bottom: 3rem; min-height: 280px; display: flex; align-items: center;
}
.pg-page-header-bg-detail::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,107,53,.85) 0%, rgba(30,30,42,.80) 100%);
  border-radius: 0 0 3rem 3rem; z-index: 1;
}
.pg-page-header-bg-detail .container { position: relative; z-index: 2; }
.pg-page-header-bg-detail .back-link { color: rgba(255,255,255,.7); text-decoration: none; font-size: .9rem; transition: color .2s; }
.pg-page-header-bg-detail .back-link:hover { color: #fff; }
.pg-page-header-bg-detail .pharmacy-icon-large {
  width: 64px; height: 64px; border-radius: 1.25rem;
  background: rgba(255,255,255,.15); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: #fff; border: 1px solid rgba(255,255,255,.15);
}
.pg-page-header-bg-detail h1 { text-shadow: 0 4px 20px rgba(0,0,0,.25); color: #fff; }
.pg-page-header-bg-detail .pharmacy-address-detail { color: rgba(255,255,255,.8); }
.pg-page-header-bg-detail .badge-open-lg {
  background: rgba(46,204,113,.20); color: #fff;
  padding: .4rem 1.2rem; border-radius: 2rem; font-weight: 600; font-size: .85rem;
  border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(4px);
}
.map-mock-detail {
  background: #e9ecef; border-radius: 1.5rem; overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.06); position: relative; min-height: 240px;
}
.map-mock-detail img { opacity: .85; object-fit: cover; }
.map-mock-detail .map-pin-detail {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center;
}
.map-mock-detail .pin-dot-detail {
  width: 48px; height: 48px; border-radius: 50%; background: var(--pg-primary);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.4rem; box-shadow: 0 4px 16px rgba(255,107,53,.4); border: 3px solid #fff;
}
.map-mock-detail .pin-tag-detail {
  background: rgba(0,0,0,.7); backdrop-filter: blur(4px);
  color: #fff; font-size: .7rem; font-weight: 600;
  padding: .3rem .8rem; border-radius: 1rem; margin-top: 6px; white-space: nowrap;
}
.stock-card {
  background: #fff; border-radius: 1.25rem; padding: 1rem 1.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.04); border: 1px solid rgba(0,0,0,.03); transition: all .2s;
}
.stock-card .icon-wrap {
  width: 44px; height: 44px; border-radius: 1rem;
  background: rgba(46,204,113,.10); display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--pg-secondary);
}
.medicine-item {
  background: #fff; border-radius: 1rem; padding: .75rem 1rem;
  border: 1px solid rgba(0,0,0,.04); display: flex; align-items: center;
  justify-content: space-between; transition: all .2s;
}
.medicine-item:hover { border-color: var(--pg-primary); box-shadow: 0 2px 12px rgba(0,0,0,.04); }
.medicine-item .med-name { font-weight: 500; font-size: .95rem; }
.medicine-item .badge-stock { font-size: .7rem; font-weight: 600; padding: .2rem .8rem; border-radius: 2rem; }
.badge-stock.in-stock { background: rgba(46,204,113,.12); color: #1a9b55; }
.badge-stock.out-of-stock { background: rgba(108,117,125,.12); color: #6c757d; }
.info-card {
  background: #fff; border-radius: 1.25rem; padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.04); border: 1px solid rgba(0,0,0,.03);
}
.info-card .info-item {
  display: flex; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid rgba(0,0,0,.04);
}
.info-card .info-item:last-child { border-bottom: none; }
.info-card .info-icon { color: var(--pg-primary); font-size: 1.2rem; width: 24px; text-align: center; flex-shrink: 0; margin-top: 2px; }
.info-card .info-text { font-size: .95rem; color: #1e1e2a; }
.info-card .info-text .sub { display: block; font-size: .8rem; color: var(--pg-text-muted); }

/* ============ PAGINATION ============ */
.pagination { gap: .35rem; }
.pagination .page-item .page-link {
  border-radius: .5rem; border: 1px solid var(--pg-border);
  color: var(--pg-text); font-size: .875rem; padding: .4rem .75rem;
  transition: all .2s;
}
.pagination .page-item .page-link:hover {
  background: var(--pg-primary); border-color: var(--pg-primary); color: #fff;
}
.pagination .page-item.active .page-link {
  background: var(--pg-primary); border-color: var(--pg-primary); color: #fff;
  box-shadow: 0 2px 8px rgba(255,107,53,.25);
}
.pagination .page-item.disabled .page-link {
  color: var(--pg-border); background: transparent;
}
.pagination .page-item .page-link:focus { box-shadow: none; }

/* ============ SEARCH INPUT ============ */
.input-group { border-radius: .75rem; overflow: hidden; box-shadow: var(--pg-shadow-sm); }
.input-group .input-group-text { border-color: var(--pg-border); background: #fff; }
.input-group .form-control { border-color: var(--pg-border); font-size: .9rem; }
.input-group .form-control:focus { box-shadow: none; border-color: var(--pg-primary); }

/* ============ RESPONSIVE ============ */
@media (max-width: 767.98px) {
  .pg-page-header-bg, .pg-page-header-bg-search, .pg-page-header-bg-garde, .pg-page-header-bg-detail { min-height: 200px; border-radius: 0 0 1.5rem 1.5rem; }
  .pg-page-header-bg::before, .pg-page-header-bg-search::before, .pg-page-header-bg-garde::before, .pg-page-header-bg-detail::before { border-radius: 0 0 1.5rem 1.5rem; }
  .pg-page-header-bg h1, .pg-page-header-bg-search h1, .pg-page-header-bg-garde h1, .pg-page-header-bg-detail h1 { font-size: calc(1.3rem + .5vw); }
  .pg-page-header-bg-detail .pharmacy-icon-large { width: 48px; height: 48px; font-size: 1.4rem; }
  .map-mock-detail { min-height: 180px; }
  .info-card { padding: 1rem; }
  .search-bar-modern { border-radius: 2rem; }
  .search-bar-modern .btn-search { border-radius: 0 2rem 2rem 0; padding: .6rem 1.2rem; }
  .search-bar-modern .btn-locate { padding: .6rem .8rem; font-size: .85rem; }
  .search-bar-modern .search-input { font-size: .9rem; padding: .6rem 0; }
  .search-bar-modern .search-icon { padding-left: .8rem; }
  .orientation-card { padding: 1.2rem; }
  .pharmacy-card { padding: .6rem .8rem; }
}