/* ==========================================================================
   PHARMACY FINDER - MODERN STYLES
   Color Palette: Teal/Emerald primary, Coral accent, Slate neutrals
   ========================================================================== */

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(13, 148, 136, 0); }
}

/* ==========================================================================
   CONTAINER
   ========================================================================== */
#pharmacy-finder-container {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    color: #1e293b;
}

#pharmacy-finder-container * {
    box-sizing: border-box;
}

#pharmacy-finder-container > * {
    margin-bottom: 10px;
}

#pharmacy-finder-container > *:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */
.pharmacy-breadcrumbs {
    margin: clamp(12px, 2vw, 20px) 0;
    padding: 0;
}

.breadcrumb-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: clamp(4px, 0.8vw, 8px);
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
    font-size: clamp(13px, 1.4vw, 15px);
    color: #64748b;
}

.breadcrumb-item:not(:last-child)::after {
    content: '›';
    margin: 0 clamp(6px, 1vw, 10px);
    color: #cbd5e1;
    font-weight: 600;
    font-size: clamp(14px, 1.6vw, 18px);
}

.breadcrumb-item a {
    color: #0d9488;
    text-decoration: none;
    padding: clamp(4px, 0.8vw, 8px) clamp(8px, 1.2vw, 12px);
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.breadcrumb-item a:hover {
    color: #0f766e;
    background-color: rgba(13, 148, 136, 0.08);
}

.breadcrumb-item.active span {
    color: #0f172a;
    font-weight: 700;
    padding: clamp(4px, 0.8vw, 8px) clamp(8px, 1.2vw, 12px);
    background-color: rgba(13, 148, 136, 0.12);
    border-radius: 8px;
}

/* ==========================================================================
   CITY HEADER
   ========================================================================== */
.pharmacy-city-header {
    background: linear-gradient(135deg, #ecfeff 0%, #f0fdfa 50%, #fef3f2 100%);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    margin-bottom: 0rem 1.5rem;
    box-shadow: 0 10px 30px rgba(13, 148, 136, 0.08), 0 2px 6px rgba(13, 148, 136, 0.04);
    border: 1px solid rgba(13, 148, 136, 0.12);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pharmacy-city-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(251, 113, 133, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.pharmacy-city-header::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.city-title-section {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.pharmacy-city-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #0f172a 0%, #0d9488 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pharmacy-count-subtitle {
    display: inline-block;
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
    color: #fff;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 8px 0;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
}

.pharmacy-page-date {
    display: block;
    font-size: 0.95rem;
    color: #64748b;
    font-weight: 500;
    margin: 8px 0;
}

.pharmacy-city-subtitle {
    font-size: 1.1rem;
    color: #475569;
    margin: 0;
    font-weight: 500;
}

.city-image-wrapper {
    margin-bottom: 1.5rem;
    text-align: center;
    animation: fadeInScale 0.6s ease-out;
}

.city-image-wrapper .city-image {
    max-width: 100%;
    max-height: 380px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(13, 148, 136, 0.15);
    background: #fff;
    padding: 6px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.city-image-wrapper .city-image:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 40px rgba(13, 148, 136, 0.2);
}

.city-status-info {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px dashed rgba(13, 148, 136, 0.2);
}

.update-time {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.7);
    padding: 6px 14px;
    border-radius: 999px;
    backdrop-filter: blur(8px);
}

.update-time i {
    color: #0d9488;
}

/* ==========================================================================
   SMART CITY NAVIGATION
   ========================================================================== */
.smart-city-navigation {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.city-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 15px;
    color: #475569;
    gap: 4px;
}

.breadcrumb-home a {
    color: #0d9488;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.25s ease;
}

.breadcrumb-home a:hover {
    color: #0f766e;
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: #cbd5e1;
}

.current-city-name {
    font-weight: 700;
    color: #0f172a;
}

/* ==========================================================================
   QUARTIER QUICK LINKS (CHIPS)
   ========================================================================== */
.quartier-quick-links {
    margin: 16px 0;
    padding: 18px;
    background: linear-gradient(135deg, #f0fdfa 0%, #ecfeff 100%);
    border: 1px solid #ccfbf1;
    border-radius: 14px;
}

.quartier-quick-links__title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
}

.quartier-quick-links__title i {
    color: #0d9488;
    font-size: 16px;
}

.quartier-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
}

.quartier-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #ffffff;
    color: #0f766e;
    border: 1.5px solid #99f6e4;
    border-radius: 999px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(13, 148, 136, 0.05);
}

.quartier-chip:hover,
.quartier-chip:focus {
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
    color: #ffffff;
    border-color: #0d9488;
    outline: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(13, 148, 136, 0.3);
}

.quartier-chip:focus-visible {
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.35);
}

.quartier-chip__name {
    font-weight: 600;
}

.quartier-chip__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: #ccfbf1;
    color: #0f766e;
    border-radius: 11px;
    font-size: 11px;
    font-weight: 800;
    transition: all 0.25s ease;
}

.quartier-chip:hover .quartier-chip__count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* ==========================================================================
   QUARTIER SECTIONS
   ========================================================================== */
.quartier-section {
    margin: 32px 0;
    scroll-margin-top: 100px;
    display: flex;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06), 0 2px 4px rgba(15, 23, 42, 0.03);
    background: #fff;
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.quartier-section:hover {
    box-shadow: 0 12px 28px rgba(13, 148, 136, 0.1), 0 4px 8px rgba(13, 148, 136, 0.05);
    transform: translateY(-2px);
}

.quartier-section--highlight {
    outline: 3px solid #fb7185;
    box-shadow: 0 0 20px rgba(251, 113, 133, 0.4);
    transition: box-shadow 0.6s ease, outline 0.6s ease;
}

.quartier-heading {
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    color: #fff;
    padding: 24px 25px;
    margin: 0;
    font-size: 1.35em;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 30%;
    min-width: 200px;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.quartier-heading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.quartier-heading i {
    color: #ccfbf1;
    font-size: 1.4em;
    background: rgba(255, 255, 255, 0.15);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quartier-pharmacies {
    background: #fff;
    padding: 24px;
    margin: 0;
    width: 70%;
    flex: 1;
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 20px;
}

/* ==========================================================================
   PHARMACY CARDS
   ========================================================================== */
.pharmacy-card {
    background: #fff;
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
}

.quartier-pharmacies .pharmacy-card {
    padding: 22px 22px 22px 28px;
    gap: 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.quartier-pharmacies .pharmacy-card:hover {
    border-color: #14b8a6;
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.1);
    transform: translateY(-2px);
}

.quartier-pharmacies .pharmacy-card::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 0;
    width: 5px;
    height: calc(100% - 24px);
    background: linear-gradient(180deg, #0d9488 0%, #14b8a6 100%);
    border-radius: 0 4px 4px 0;
}

.pharmacy-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
}

.pharmacy-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
    margin: 0;
    letter-spacing: -0.01em;
}

.pharmacy-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: #cffafe;
    color: #155e75;
    align-self: flex-start;
}

.pharmacy-status.is-garde {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #166534;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 0.82rem;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 600;
    position: relative;
}

.pharmacy-status.is-garde::before {
    content: '●';
    color: #22c55e;
    animation: pulse 2s infinite;
}

.pharmacy-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.pharmacy-info p {
    margin: 0;
    line-height: 1.6;
    color: #475569;
    font-size: 0.95rem;
}

.pharmacy-info p strong {
    color: #0f172a;
    font-weight: 600;
    display: inline-block;
    min-width: 90px;
}

.pharmacy-phone a {
    color: #0d9488;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.pharmacy-phone a:hover {
    color: #0f766e;
    text-decoration: underline;
}

/* ==========================================================================
   PHARMACY ACTIONS / BUTTONS
   ========================================================================== */
.pharmacy-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px dashed #e2e8f0;
}

.pharmacy-actions .btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1.5px solid transparent;
    cursor: pointer;
}

.pharmacy-actions .btn-primary {
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
}

.pharmacy-actions .btn-primary:hover {
    background: linear-gradient(135deg, #0f766e 0%, #0d9488 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(13, 148, 136, 0.35);
}

.pharmacy-actions .btn-outline {
    background-color: #fff;
    color: #0d9488;
    border-color: #0d9488;
}

.pharmacy-actions .btn-outline:hover {
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
    color: #fff;
    border-color: #0d9488;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
}

/* ==========================================================================
   INTRO & INFO BANNERS
   ========================================================================== */
.pharmacy-intro {
    background: linear-gradient(135deg, #ffffff 0%, #f0fdfa 100%);
    border: 1px solid #ccfbf1;
    border-left: 4px solid #0d9488;
    border-radius: 12px;
    padding: 20px 24px;
    margin: 18px 0;
    font-size: 16px;
    line-height: 1.6;
    animation: fadeInUp 0.6s ease-out;
    box-shadow: 0 2px 8px rgba(13, 148, 136, 0.05);
}

.pharmacy-intro__title {
    color: #0f172a;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pharmacy-intro__title i {
    color: #0d9488;
}

.pharmacy-intro__lead,
.pharmacy-intro__stats {
    margin: 8px 0;
    color: #475569;
}

.pharmacy-intro strong {
    color: #0f766e;
    font-weight: 700;
}

.pharmacy-availability-highlight {
    background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
    border: 1px solid #99f6e4;
    border-left: 5px solid #0d9488;
    padding: 22px 26px;
    margin: 18px 0;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.08);
    animation: fadeInUp 0.6s ease-out;
}

.pharmacy-availability-highlight h2 {
    color: #0f172a;
    margin: 0 0 10px;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pharmacy-availability-highlight i {
    color: #0d9488;
}

.pharmacy-availability-highlight p {
    color: #334155;
    margin: 6px 0;
}

.pharmacy-availability-highlight strong {
    color: #0f766e;
    font-weight: 700;
}

/* ==========================================================================
   INTERNAL LINKS / SERVICES
   ========================================================================== */
.internal-links-section {
    margin: clamp(30px, 4vw, 50px) 0;
    display: flex;
    flex-direction: column;
    gap: clamp(24px, 3vw, 36px);
}

.pharmacy-services-section,
.all-cities-section {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: clamp(22px, 3vw, 32px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.pharmacy-services-section::before,
.all-cities-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #0d9488 0%, #fb7185 100%);
}

.pharmacy-services-section:hover,
.all-cities-section:hover {
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    transform: translateY(-3px);
    border-color: #99f6e4;
}

.internal-links-section h3 {
    color: #0f172a;
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 700;
    margin: 0 0 clamp(14px, 1.5vw, 20px);
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.internal-links-section p {
    color: #64748b;
    margin: 0 0 clamp(16px, 2vw, 22px);
    line-height: 1.7;
    font-size: clamp(14px, 1.5vw, 16px);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: clamp(12px, 1.5vw, 16px);
}

.service-link,
.resource-link {
    display: flex;
    align-items: center;
    padding: clamp(14px, 1.5vw, 18px) clamp(16px, 2vw, 22px);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none;
    color: #0f172a;
    font-weight: 600;
    font-size: clamp(13px, 1.4vw, 15px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    position: relative;
    overflow: hidden;
}

.service-link::after,
.resource-link::after {
    content: '→';
    margin-left: auto;
    color: #0d9488;
    font-weight: 700;
    transition: transform 0.25s ease;
}

.service-link:hover,
.resource-link:hover {
    background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(13, 148, 136, 0.12);
    border-color: #0d9488;
    color: #0f766e;
}

.service-link:hover::after,
.resource-link:hover::after {
    transform: translateX(4px);
}

.service-link:focus,
.resource-link:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.3);
}

/* ==========================================================================
   QUICK LINKS PILLS
   ========================================================================== */
.pharmacy-quick-links {
    padding: 16px 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
    border: 1px solid #fecdd3;
    margin: 16px 0;
}

.pharmacy-quick-links__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pharmacy-quick-links__link {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 999px;
    background: #ffffff;
    color: #be123c;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border: 1.5px solid #fecdd3;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(190, 18, 60, 0.05);
}

.pharmacy-quick-links__link:hover,
.pharmacy-quick-links__link:focus {
    background: linear-gradient(135deg, #fb7185 0%, #e11d48 100%);
    color: #fff;
    border-color: #e11d48;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(225, 29, 72, 0.3);
}

.pharmacy-quick-links__item:first-child .pharmacy-quick-links__link::before {
    content: "⚡";
    margin-right: 6px;
}

/* ==========================================================================
   GOOGLE SITELINKS NAVIGATION
   ========================================================================== */
.google-sitelinks-navigation {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.sitelink-section h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 16px;
    color: #0f172a;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0fdfa;
}

.sitelink-section h2 a {
    color: #0d9488;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sitelink-section h2 a:hover {
    color: #0f766e;
}

.pharmacy-names-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pharmacy-names-list li a {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    background: #f8fafc;
    color: #0f172a;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.pharmacy-names-list li a:hover {
    background: #f0fdfa;
    border-left-color: #0d9488;
    color: #0f766e;
    transform: translateX(2px);
}

/* ==========================================================================
   HOSPITAL TABLE (Desktop)
   ========================================================================== */
.rw-hosp-section {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
    padding: 2rem;
    margin: 1.5rem 0;
    border: 1px solid #e2e8f0;
}

.rw-hosp-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.rw-hosp-table thead {
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%) !important;
}

.rw-hosp-row {
    transition: background 0.2s ease;
}

.rw-hosp-row:hover {
    background: #f0fdfa;
}

/* ==========================================================================
   PROMO BANNER
   ========================================================================== */
.pharmacy-promo-banner {
    background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%) !important;
    border: 1px solid #99f6e4 !important;
    color: #0f766e !important;
}

.pharmacy-promo-banner a {
    color: #0f766e !important;
}

/* ==========================================================================
   RESPONSIVE - TABLET (≤768px)
   ========================================================================== */
@media (max-width: 768px) {
    .pharmacy-city-header {
        padding: 0.2rem 1.25rem;
        border-radius: 16px;
    }

    .pharmacy-city-title {
        font-size: 1.7rem;
    }

    .pharmacy-city-subtitle {
        font-size: 1rem;
    }

    .city-image-wrapper .city-image {
        max-height: 280px;
    }

    .quartier-section {
        flex-direction: column;
        scroll-margin-top: 80px;
    }

    .quartier-heading {
        width: 100%;
        padding: 16px 20px;
        font-size: 1.2em;
        flex-direction: row;
        justify-content: flex-start;
    }

    .quartier-heading i {
        margin-right: 4px;
        width: 38px;
        height: 38px;
        font-size: 1.1em;
    }

    .quartier-pharmacies {
        width: 100%;
        padding: 18px 14px;
        gap: 16px;
    }

    .pharmacy-name {
        font-size: 1.25rem;
    }

    /* Hospital table → Card view */
    .rw-hosp-table thead {
        display: none;
    }

    .rw-hosp-table,
    .rw-hosp-table tbody,
    .rw-hosp-table tr {
        display: block;
        width: 100%;
    }

    .rw-hosp-row {
        margin-bottom: 1.25rem;
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
        overflow: hidden;
    }

    .desktop-only {
        display: none !important;
    }

    .pharmacy-names-list {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   RESPONSIVE - MOBILE (≤480px)
   ========================================================================== */
@media (max-width: 480px) {
    .pharmacy-city-header {
        padding: 1.25rem 1rem;
    }

    .pharmacy-city-title {
        font-size: 1.4rem;
    }

    .pharmacy-city-subtitle {
        font-size: 0.9rem;
    }

    .city-image-wrapper .city-image {
        max-height: 230px;
    }

    .quartier-section {
        margin: 20px 0;
        scroll-margin-top: 60px;
        border-radius: 12px;
    }

    .quartier-heading {
        padding: 14px 16px;
        font-size: 1.05em;
    }

    .quartier-pharmacies {
        padding: 14px 12px;
    }

    .quartier-pharmacies .pharmacy-card {
        padding: 18px 16px 18px 22px;
        gap: 12px;
    }

    .pharmacy-name {
        font-size: 1.15rem;
    }

    .pharmacy-info p strong {
        min-width: 75px;
    }

    .quartier-chips {
        gap: 6px;
    }

    .quartier-chip {
        font-size: 12px;
        padding: 7px 12px;
        min-height: 36px;
    }

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

    .pharmacy-actions {
        flex-direction: column;
        gap: 8px;
    }

    h1.entry-title.main_title {
        display: none;
    }

    #main-content .container {
        padding: 0 !important;
    }
}

/* ==========================================================================
   RESPONSIVE - EXTRA SMALL (≤360px)
   ========================================================================== */
@media (max-width: 360px) {
    .city-image-wrapper .city-image {
        max-height: 200px;
    }

    .pharmacy-city-header {
        padding: 1rem 0.875rem;
    }

    .pharmacy-city-title {
        font-size: 1.2rem;
    }

    .pharmacy-city-subtitle {
        font-size: 0.85rem;
    }
}

/* ==========================================================================
   DARK MODE
   ========================================================================== */
@media (prefers-color-scheme: dark) {
    #pharmacy-finder-container {
        color: #e2e8f0;
    }

    .breadcrumb-item {
        color: #94a3b8;
    }

    .breadcrumb-item a {
        color: #5eead4;
    }

    .breadcrumb-item a:hover {
        color: #99f6e4;
        background-color: rgba(94, 234, 212, 0.1);
    }

    .breadcrumb-item.active span {
        color: #f1f5f9;
        background-color: rgba(94, 234, 212, 0.15);
    }

    .pharmacy-services-section,
    .all-cities-section,
    .smart-city-navigation {
        background: #1e293b;
        border-color: #334155;
    }

    .internal-links-section h3 {
        color: #f1f5f9;
    }

    .internal-links-section p {
        color: #94a3b8;
    }

    .service-link,
    .resource-link {
        background: #0f172a;
        border-color: #334155;
        color: #e2e8f0;
    }

    .service-link:hover,
    .resource-link:hover {
        background: #134e4a;
        border-color: #14b8a6;
        color: #5eead4;
    }
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */
@media print {
    .pharmacy-actions,
    .quartier-chips,
    .pharmacy-quick-links,
    .pharmacy-promo-banner {
        display: none !important;
    }

    .pharmacy-card,
    .quartier-section {
        break-inside: avoid;
        page-break-inside: avoid;
        border: 1px solid #ddd;
        box-shadow: none;
    }

    .breadcrumb-item,
    .breadcrumb-item a {
        color: #000 !important;
        background: none !important;
    }
}

/* ==========================================================================
   RTL SUPPORT
   ========================================================================== */
[dir="rtl"] .breadcrumb-list {
    flex-direction: row-reverse;
}

[dir="rtl"] .service-link,
[dir="rtl"] .resource-link {
    text-align: right;
}

[dir="rtl"] .service-link::after,
[dir="rtl"] .resource-link::after {
    content: '←';
    margin-left: 0;
    margin-right: auto;
}

[dir="rtl"] .pharmacy-availability-highlight,
[dir="rtl"] .pharmacy-intro {
    border-left: none;
    border-right: 4px solid #0d9488;
}

[dir="rtl"] .quartier-pharmacies .pharmacy-card::before {
    left: auto;
    right: 0;
    border-radius: 4px 0 0 4px;
}

[dir="rtl"] .quartier-pharmacies .pharmacy-card {
    padding: 22px 28px 22px 22px;
}

/* ==========================================================================
   PHARMACY SNAKE ICON (Custom)
   ========================================================================== */
.pharmacy-snake-icon {
    display: inline-block;
    width: 1.2em;
    height: 1.2em;
    vertical-align: -0.2em;
    color: currentColor;
    transition: transform 0.3s ease;
}

.pharmacy-snake-icon:hover,
*:hover > .pharmacy-snake-icon {
    transform: rotate(-5deg) scale(1.1);
}

/* Optional: Animated snake (subtle slither) */
@keyframes snakeSlither {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-3deg); }
    75% { transform: rotate(3deg); }
}

.pharmacy-snake-icon--animated {
    animation: snakeSlither 4s ease-in-out infinite;
    transform-origin: bottom center;
}

/* Sizes */
.pharmacy-snake-icon--sm { width: 16px; height: 16px; }
.pharmacy-snake-icon--md { width: 24px; height: 24px; }
.pharmacy-snake-icon--lg { width: 36px; height: 36px; }
.pharmacy-snake-icon--xl { width: 48px; height: 48px; }

/* =========================================================
   Pharmacy City Header - Restyled
   ========================================================= */

/* Announcement banner */
.pharmacy-promo-banner--annonce {
  order: -1;
  background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%);
  border: 1px solid #fb923c;
  color: #9a3412;
  font-weight: 500;
  padding: 16px 20px;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(251, 146, 60, 0.18);
  line-height: 1.6;
  text-align: center;
  animation: annonceSlideIn 0.5s ease-out;
}

.pharmacy-promo-banner--annonce::before {
  content: "📢";
  font-size: 1.2rem;
  margin-right: 8px;
  display: inline-block;
  animation: annoncePulse 2.2s infinite ease-in-out;
}

.pharmacy-promo-banner--annonce .promo-title {
  margin: 0 0 6px;
  font-weight: 700;
  font-size: 1.05rem;
}

.pharmacy-promo-banner--annonce .promo-text {
  margin: 0 0 6px;
  font-size: 0.95rem;
}

.pharmacy-promo-banner--annonce .promo-features {
  font-weight: 600;
  display: inline-block;
}

.pharmacy-promo-banner--annonce .promo-contact {
  margin: 0;
  font-weight: 700;
  font-size: 0.95rem;
}

.pharmacy-promo-banner--annonce a {
  color: #9a3412;
  font-weight: 800;
  text-decoration: underline;
  transition: color 0.2s ease;
}

/* Animations for announcement banner */
@keyframes annonceSlideIn {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes annoncePulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}