    /* BEM Styles for products/products.html.twig */

    /* Variables (Keep as defined previously) */
    :root {
        /* QuickCare Primary Purple Palette */
        --qc-color-brand-purple: #7e22ce;
        /* Main Purple */
        --qc-color-brand-purple-light: #a855f7;
        /* Lighter Purple */
        --qc-color-brand-purple-dark: #6b21a8;
        /* Darker Purple */
        --qc-color-brand-purple-xtra-light: #f3e8ff;
        /* Very Light Purple for backgrounds */

        /* Supporting Colors (using existing base variables where possible) */
        --qc-color-primary: var(--qc-color-brand-purple);
        --qc-color-primary-light: var(--qc-color-brand-purple-light);
        --qc-color-primary-dark: var(--qc-color-brand-purple-dark);
        --qc-color-secondary: #00b8d4;
        /* Existing Secondary */
        --qc-color-accent: #2eca8b;
        /* Existing Accent */
        --qc-color-warning: #f97316;
        /* Orange-500 for limited status */
        --qc-color-warning-light: #fdba74;
        /* Orange-300 for limited status */
        --qc-color-success: #16a34a;
        /* Green-600 for active status */

        --qc-color-white: #ffffff;
        --qc-color-gray-50: #f9fafb;
        --qc-color-gray-100: #f3f4f6;
        --qc-color-gray-200: #e5e7eb;
        --qc-color-gray-300: #d1d5db;
        --qc-color-gray-500: #6b7280;
        --qc-color-gray-700: #374151;
        --qc-color-gray-900: #111827;

        /* Shadows (using existing base variables) */
        --qc-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
        --qc-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        --qc-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        --qc-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

        /* Spacing */
        --qc-spacing-1: 0.25rem;
        --qc-spacing-2: 0.5rem;
        --qc-spacing-3: 0.75rem;
        --qc-spacing-4: 1rem;
        --qc-spacing-5: 1.25rem;
        --qc-spacing-6: 1.5rem;
        --qc-spacing-8: 2rem;
        --qc-spacing-10: 2.5rem;
        --qc-spacing-12: 3rem;
        --qc-spacing-16: 4rem;
        --qc-spacing-20: 5rem;
        --qc-spacing-24: 6rem;

        /* Border Radius */
        --qc-radius-sm: 0.25rem;
        --qc-radius-md: 0.375rem;
        --qc-radius-lg: 0.5rem;
        --qc-radius-xl: 0.75rem;
        --qc-radius-full: 9999px;

        /* Transitions */
        --qc-transition-standard: all 0.3s ease-in-out;
        --qc-transition-fast: all 0.15s ease-in-out;

        /* Fonts */
        --qc-font-primary: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif;
        --qc-font-secondary: 'Inter', sans-serif;
        /* Use Inter for map components */
    }

    /* General Section Styling */
    .qc-section {
        padding: var(--qc-spacing-16) 0;
        position: relative;
    }

    .qc-section--bg-gray {
        background-color: var(--qc-color-gray-50);
    }

    .qc-section--bg-light-purple {
        background-color: var(--qc-color-brand-purple-xtra-light);
    }

    .qc-section--gradient-purple {
        background: linear-gradient(135deg, var(--qc-color-brand-purple-dark), var(--qc-color-brand-purple));
        color: var(--qc-color-white);
    }

    /* Section Header */
    .qc-section-header {
        text-align: center;
        margin-bottom: var(--qc-spacing-12);
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

    .qc-section-header__tagline {
        display: inline-block;
        color: var(--qc-color-primary);
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        font-size: 0.875rem;
        margin-bottom: var(--qc-spacing-3);
        background: linear-gradient(to right, var(--qc-color-primary), var(--qc-color-primary-light));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .qc-section-header__tagline--on-dark {
        background: linear-gradient(to right, var(--qc-color-primary-light), var(--qc-color-white));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        color: transparent;
    }

    .qc-section-header__title {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
        font-weight: 700;
        color: var(--qc-color-gray-900);
        margin-bottom: var(--qc-spacing-4);
        line-height: 1.3;
    }

    .qc-section-header__title--on-dark {
        color: var(--qc-color-white);
    }

    .qc-section-header__description {
        font-size: 1.1rem;
        color: var(--qc-color-gray-700);
        line-height: 1.6;
        margin-bottom: var(--qc-spacing-6);
    }

    .qc-section-header__description--on-dark {
        color: rgba(255, 255, 255, 0.9);
    }

    .qc-section-header__divider {
        display: block;
        width: 80px;
        height: 4px;
        background: linear-gradient(to right, var(--qc-color-primary), var(--qc-color-primary-light));
        border-radius: 2px;
        margin: 0 auto;
    }

    .qc-section-header__divider--on-dark {
        background: linear-gradient(to right, var(--qc-color-primary-light), var(--qc-color-white));
    }

    /* Hero Section */
    .qc-hero--products {
        position: relative;
        background: linear-gradient(135deg, var(--qc-color-brand-purple-dark) 0%, var(--qc-color-brand-purple) 50%, var(--qc-color-brand-purple-light) 100%);
        background-size: 200% 200%;
        animation: qcGradientBG 12s ease infinite;
        color: var(--qc-color-white);
        padding: var(--qc-spacing-16) 0 var(--qc-spacing-20) 0;
        overflow: hidden;
        min-height: 60vh;
        display: flex;
        align-items: center;
    }

    @keyframes qcGradientBG {
        0% {
            background-position: 0% 50%;
        }

        50% {
            background-position: 100% 50%;
        }

        100% {
            background-position: 0% 50%;
        }
    }

    .qc-hero__overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9zm-1 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3Cpath d='M6 5V0H5v5H0v1h5v94h1V6h94V5H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        opacity: 0.6;
        z-index: 1;
    }

    .qc-hero__content {
        position: relative;
        z-index: 2;
        animation: qcFadeInLeft 1s ease-out;
    }

    .qc-hero__title {
        font-size: clamp(2.2rem, 6vw, 3.2rem);
        font-weight: 800;
        margin-bottom: var(--qc-spacing-4);
        line-height: 1.2;
        text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

    .qc-hero__title .glossary-term {
        color: rgb(228, 125, 65) !important;
    }

    .qc-hero__subtitle {
        font-size: clamp(1rem, 2.5vw, 1.25rem);
        margin-bottom: var(--qc-spacing-8);
        line-height: 1.6;
        opacity: 0.9;
        max-width: 600px;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }

    .qc-hero__button {
        padding: var(--qc-spacing-3) var(--qc-spacing-6);
        text-decoration: none;
        font-size: 1.1rem;
        animation: qcFadeInUp 1s ease-out 0.3s;
        animation-fill-mode: both;
        background-color: var(--qc-color-white) !important;
        color: var(--qc-color-primary) !important;
        border: none;
        display: inline-flex;
        /* Added for flex container */
        align-items: center;
        /* Added to vertically center content */
        justify-content: center;
        /* Added to horizontally center content, though not strictly needed for this specific issue */
    }

    /* Ensure the icon itself has appropriate margin */
    .qc-btn__icon-right {
        margin-left: var(--qc-spacing-2);
        /* Keep existing margin */
        /* No other changes needed here as flexbox on parent handles vertical alignment */
    }

    .qc-hero__button:hover {
        background-color: var(--qc-color-gray-100) !important;
        color: var(--qc-color-primary-dark) !important;
        transform: translateY(-3px);
        box-shadow: var(--qc-shadow-lg);
    }

    .qc-hero__visual {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 2;
        animation: qcZoomIn 1s ease-out;
    }

    .qc-hero__visual-img {
        max-width: 100%;
        height: auto;
        max-height: 400px;
        filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
        border-radius: 3rem;
        /* Added for rounded corners */
    }

    @keyframes qcFadeInLeft {
        0% {
            opacity: 0;
            transform: translateX(-30px);
        }

        100% {
            opacity: 1;
            transform: translateX(0);
        }
    }

    @keyframes qcFadeInUp {
        0% {
            opacity: 0;
            transform: translateY(30px);
        }

        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes qcZoomIn {
        0% {
            opacity: 0;
            transform: scale(0.8);
        }

        100% {
            opacity: 1;
            transform: scale(1);
        }
    }

    /* Service Card */
    .qc-service-card {
        background-color: var(--qc-color-white);
        border-radius: var(--qc-radius-lg);
        overflow: hidden;
        box-shadow: var(--qc-shadow-md);
        transition: var(--qc-transition-standard);
        height: 100%;
        display: flex;
        flex-direction: column;
        border: 1px solid var(--qc-color-gray-200);
    }

    .qc-service-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--qc-shadow-xl);
        border-color: var(--qc-color-primary-light);
    }

    .qc-service-card__image-wrapper {
        position: relative;
        height: 200px;
        overflow: hidden;
    }

    .qc-service-card__image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .qc-service-card:hover .qc-service-card__image {
        transform: scale(1.08);
    }

    .qc-service-card__icon-badge {
        position: absolute;
        bottom: var(--qc-spacing-3);
        right: var(--qc-spacing-3);
        width: 48px;
        height: 48px;
        background: linear-gradient(135deg, var(--qc-color-primary), var(--qc-color-primary-light));
        color: var(--qc-color-white);
        border-radius: var(--qc-radius-full);
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 10px rgba(126, 34, 206, 0.4);
        font-size: 24px;
        border: 2px solid var(--qc-color-white);
    }

    .qc-service-card__content {
        padding: var(--qc-spacing-5);
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }

    .qc-service-card__title {
        font-size: 1.2rem;
        font-weight: 700;
        color: var(--qc-color-gray-900);
        margin-bottom: var(--qc-spacing-3);
        line-height: 1.3;
    }

    .qc-service-card__description {
        color: var(--qc-color-gray-700);
        margin-bottom: var(--qc-spacing-5);
        flex-grow: 1;
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .qc-service-card__link {
        display: inline-flex;
        align-items: center;
        color: var(--qc-color-primary);
        font-weight: 600;
        text-decoration: none;
        transition: var(--qc-transition-standard);
        margin-top: auto;
        font-size: 0.9rem;
    }

    .qc-service-card__link i {
        margin-left: var(--qc-spacing-2);
        transition: transform 0.3s ease;
        font-size: 1.1rem;
    }

    .qc-service-card__link:hover {
        color: var(--qc-color-primary-dark);
        text-decoration: underline;
    }

    .qc-service-card__link:hover i {
        transform: translateX(4px);
    }

    /* Metrics Section */
    .qc-metric-card {
        text-align: center;
        padding: var(--qc-spacing-6) var(--qc-spacing-5);
        background: var(--qc-color-white);
        border-radius: var(--qc-radius-lg);
        box-shadow: var(--qc-shadow-lg);
        transition: var(--qc-transition-standard);
        height: 100%;
        border-top: 5px solid var(--qc-color-primary);
        position: relative;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .qc-metric-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 150px;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
        opacity: 0.5;
        pointer-events: none;
        z-index: 0;
    }

    .qc-metric-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--qc-shadow-xl);
        border-top-color: var(--qc-color-primary-light);
    }

    .qc-metric-card__icon-wrapper {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 70px;
        height: 70px;
        background: linear-gradient(135deg, var(--qc-color-primary), var(--qc-color-primary-light));
        color: var(--qc-color-white);
        border-radius: var(--qc-radius-full);
        margin-bottom: var(--qc-spacing-5);
        box-shadow: 0 5px 15px rgba(126, 34, 206, 0.3);
        z-index: 1;
    }

    .qc-metric-card__icon {
        font-size: 32px;
    }

    .qc-metric-card__number {
        font-size: clamp(2.5rem, 7vw, 3.5rem);
        font-weight: 700;
        color: var(--qc-color-gray-900);
        margin-bottom: var(--qc-spacing-2);
        line-height: 1;
        background: linear-gradient(to right, var(--qc-color-primary-dark), var(--qc-color-primary));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        z-index: 1;
    }

    .qc-metric-card__number--static {
        background: none;
        -webkit-background-clip: unset;
        -webkit-text-fill-color: unset;
        color: var(--qc-color-primary);
    }

    .qc-metric-card__label {
        color: var(--qc-color-gray-900);
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: var(--qc-spacing-3);
        z-index: 1;
    }

    .qc-metric-card__detail {
        color: var(--qc-color-gray-700);
        font-size: 0.9rem;
        line-height: 1.4;
        max-width: 250px;
        margin: 0 auto;
        z-index: 1;
    }

    .qc-section--gradient-purple .qc-metric-card__footnote {
        color: rgba(255, 255, 255, 0.85);
        font-size: 0.8rem;
        display: block;
        text-align: left;
    }

    .service-region__coverage-content {
        /* Wrapper for map and list row */
        margin-top: var(--qc-spacing-8);
        /* Spacing below header */
    }

    /* Map Container Wrapper (Theme Styles) */
    /* Styles for the container *around* the map div */
    .service-region__map-container {
        border-radius: var(--qc-radius-lg);
        /* Match card radius */
        box-shadow: var(--qc-shadow-lg);
        border: 1px solid var(--qc-color-gray-200);
        position: relative;
        /* For spinner positioning */
        overflow: hidden;
        /* Ensure map corners adhere to border-radius */
        /* Height is crucial for Google Maps */
        min-height: 400px;
        height: 550px;
        /* Adjust as needed for desired aspect ratio */
        background-color: var(--qc-color-gray-100);
        /* Background shown before map tiles load */
    }

    /* County List Sidebar (Theme Styles) */
    .service-region__counties {
        background-color: var(--qc-color-white);
        border-radius: var(--qc-radius-lg);
        box-shadow: var(--qc-shadow-lg);
        padding: var(--qc-spacing-6);
        height: 100%;
        /* Fill column height */
        border: 1px solid var(--qc-color-gray-200);
        display: flex;
        flex-direction: column;
        font-family: var(--qc-font-secondary);
        /* Use Inter font */
    }

    .service-region__counties-header {
        margin-bottom: var(--qc-spacing-4);
        padding-bottom: var(--qc-spacing-3);
        border-bottom: 1px solid var(--qc-color-gray-200);
    }

    .service-region__counties-title {
        font-size: 1.3rem;
        font-weight: 700;
        color: var(--qc-color-gray-900);
        margin: 0 0 var(--qc-spacing-1) 0;
    }

    .service-region__counties-subtitle {
        font-size: 0.9rem;
        color: var(--qc-color-gray-500);
        margin: 0;
    }


    .service-region__counties-list {
        list-style: none;
        padding: 0;
        margin: 0 0 var(--qc-spacing-4) 0;
        flex-grow: 1;
        overflow-y: auto;
        /* Enable scrolling if list is long */
        /* Use a max-height relative to the map container height or a fixed value */
        max-height: 420px;
        /* Adjust to fit content well */
        /* Custom scrollbar (optional but nice) */
        scrollbar-width: thin;
        scrollbar-color: var(--qc-color-gray-300) var(--qc-color-gray-100);
    }

    .service-region__counties-list::-webkit-scrollbar {
        width: 8px;
    }

    .service-region__counties-list::-webkit-scrollbar-track {
        background: var(--qc-color-gray-100);
        border-radius: 4px;
    }

    .service-region__counties-list::-webkit-scrollbar-thumb {
        background-color: var(--qc-color-gray-300);
        border-radius: 4px;
        border: 2px solid var(--qc-color-gray-100);
    }


    .service-region__county-item {
        padding: var(--qc-spacing-3) var(--qc-spacing-4);
        border-bottom: 1px solid var(--qc-color-gray-100);
        color: var(--qc-color-gray-800);
        transition: all 0.2s ease-in-out;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-radius: var(--qc-radius-sm);
        margin-bottom: var(--qc-spacing-1);
        /* Small gap between items */
    }

    .service-region__county-item:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

    .service-region__county-name {
        font-weight: 500;
    }

    .service-region__county-info {
        font-size: 0.8rem;
        font-weight: 600;
        padding: 3px 10px;
        border-radius: var(--qc-radius-full);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        cursor: help;
        /* Indicate tooltip present */
        flex-shrink: 0;
        /* Prevent shrinking on smaller screens */
        margin-left: var(--qc-spacing-2);
    }

    .service-region__county-info--active {
        background-color: var(--qc-color-brand-purple-xtra-light);
        color: var(--qc-color-brand-purple-dark);
        border: 1px solid var(--qc-color-brand-purple-light);
    }

    .service-region__county-info--limited {
        background-color: #fffbeb;
        /* yellow-50 */
        color: #b45309;
        /* yellow-700 */
        border: 1px solid #fcd34d;
        /* yellow-300 */
        /* Use warning colors */
        /* background-color: var(--qc-color-warning-light); */
        /* color: var(--qc-color-warning); */
        /* border: 1px solid var(--qc-color-warning); */
    }

    .service-region__county-item:hover,
    .service-region__county-item.service-region__county-item--active {
        /* JS adds this class */
        background-color: var(--qc-color-brand-purple-xtra-light);
        color: var(--qc-color-primary-dark);
        transform: translateX(4px);
    }

    .service-region__counties-legend {
        margin-top: auto;
        /* Push legend to bottom */
        padding-top: var(--qc-spacing-3);
        border-top: 1px solid var(--qc-color-gray-200);
        font-size: 0.85rem;
        display: flex;
        gap: var(--qc-spacing-4);
        justify-content: center;
        flex-wrap: wrap;
        color: var(--qc-color-gray-600);
        font-family: var(--qc-font-secondary);
    }

    .service-region__legend-item {
        display: flex;
        align-items: center;
    }

    .service-region__legend-color {
        width: 14px;
        height: 14px;
        border-radius: 3px;
        margin-right: var(--qc-spacing-2);
        border: 1px solid rgba(0, 0, 0, 0.1);
    }

    .service-region__legend-color--active {
        /* Colors should ideally match map polygon fills set in JS */
        background-color: #a78bfa;
        /* Example: google maps violet-400 */
        border-color: #7c3aed;
        /* Example: google maps violet-600 */
    }

    .service-region__legend-color--limited {
        /* Colors should ideally match map polygon fills set in JS */
        background-color: #fdba74;
        /* Example: google maps orange-300 */
        border-color: #f97316;
        /* Example: google maps orange-500 */
    }

    /* --- Styles from quickcare-service-map.js --- */
    /* Map Container & Loader */
    .service-region__map-container {
        position: relative;
        /* Heights are set in the main stylesheet, min-height for safety */
        min-height: 350px;
        overflow: hidden;
        width: 100%;
        background-color: var(--qc-color-gray-100);
        /* Placeholder background */
        border-radius: inherit;
        /* Inherit border-radius from parent layout */
    }

    .service-region__map {
        /* Target the actual map div */
        height: 100%;
        width: 100%;
    }

    /* Ensure loader covers container */
    .service-region__map-loader {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-color: rgba(255, 255, 255, 0.9);
        z-index: 10;
        transition: opacity 0.3s ease-out;
        opacity: 1;
        pointer-events: auto;
        /* Block interaction while loading */
    }

    .service-region__map-loader[style*="display: none"] {
        opacity: 0;
        /* Ensure hidden loader is transparent */
        pointer-events: none;
    }

    .service-region__spinner {
        width: 50px;
        height: 50px;
        border: 4px solid rgba(157, 78, 221, 0.2);
        /* Using a softer purple rgba */
        border-top-color: var(--qc-color-brand-purple-dark);
        /* Darker purple for spinner */
        border-radius: 50%;
        animation: qc-map-spin 1s linear infinite;
    }

    @keyframes qc-map-spin {
        to {
            transform: rotate(360deg);
        }
    }

    .service-region__loader-text {
        margin-top: 1rem;
        font-weight: 500;
        color: var(--qc-color-gray-700);
        /* Darker gray for text */
        font-family: var(--qc-font-secondary);
    }

    .service-region__map-error {
        padding: 2rem;
        text-align: center;
        color: #dc3545;
        /* Red for errors */
        font-weight: 500;
        font-family: var(--qc-font-secondary);
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* Google Maps Custom Marker Label (ensure it overrides default marker appearance) */
    /* Targets the content element inside the AdvancedMarkerElement */
    .gm-style .gm-style-cc+div>[aria-label]>div:has(.county-map-label) {
        /* Reset some potential default marker styles if needed */
        background: none !important;
        border: none !important;
        box-shadow: none !important;
        /* Ensure our label is centered - adjust transform if needed */
        transform: translate(-50%, -50%) !important;
    }

    .county-map-label {
        background-color: rgba(106, 61, 232, 0.9);
        /* purple-600 semi-transparent */
        color: white;
        padding: 4px 8px;
        border-radius: 12px;
        /* Rounded pill shape */
        font-size: 11px;
        font-weight: 600;
        white-space: nowrap;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.4);
        cursor: pointer;
        transition: background-color 0.2s ease, transform 0.15s ease;
        text-align: center;
        font-family: var(--qc-font-secondary);
    }

    .county-map-label:hover {
        background-color: rgba(88, 49, 194, 1);
        /* Darker purple */
        transform: scale(1.05);
    }

    .county-map-label--limited {
        background-color: rgba(253, 126, 20, 0.9);
        /* orange-500 semi-transparent */
    }

    .county-map-label--limited:hover {
        background-color: rgba(230, 114, 18, 1);
        /* Darker orange */
    }

    /* Google Maps InfoWindow Customization */
    .gm-style .gm-style-iw-c {
        /* Outer container */
        padding: 0 !important;
        /* Remove default padding */
        border-radius: 6px !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
        max-height: none !important;
        /* Allow custom content height */
    }

    .gm-style .gm-style-iw-d {
        /* Inner content area */
        overflow: hidden !important;
        /* Hide scrollbars initially */
        padding: 10px 12px !important;
        /* Custom padding */
        max-height: none !important;
        /* Allow custom content height */
    }

    .gm-style .gm-style-iw-d>div {
        /* Direct child div holding content */
        overflow: visible !important;
        /* Ensure content isn't clipped */
    }

    /* Optional: Close button styling */
    .gm-style .gm-ui-hover-effect {
        top: 6px !important;
        right: 6px !important;
        background-color: rgba(255, 255, 255, 0.8) !important;
        border-radius: 50% !important;
        width: 24px !important;
        height: 24px !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .gm-style .gm-ui-hover-effect span {
        /* Style the 'X' icon if needed */
        transform: scale(0.8);
    }

    /* Custom InfoWindow Content Styling */
    .quickcare-infowindow {
        font-family: var(--qc-font-secondary);
        font-size: 14px;
        line-height: 1.5;
        max-width: 260px;
        /* Control max width */
        color: var(--qc-color-gray-700);
        /* Default text color */
    }

    .quickcare-infowindow__title {
        margin: 0 0 8px 0;
        font-size: 1.1em;
        /* Relative size */
        font-weight: 600;
        color: var(--qc-color-brand-purple-dark);
        /* purple-600 */
    }

    .quickcare-infowindow__item {
        margin-bottom: 4px;
        font-size: 0.95em;
        /* Relative size */
    }

    .quickcare-infowindow__item:last-child {
        margin-bottom: 0;
    }

    .quickcare-infowindow__label {
        font-weight: 600;
        color: var(--qc-color-gray-600);
        /* gray-600 */
        margin-right: 4px;
    }


    .quickcare-infowindow__value--active {
        color: var(--qc-color-success);
        /* green-600 */
        font-weight: 500;
        text-transform: capitalize;
    }

    .quickcare-infowindow__value--limited {
        color: var(--qc-color-warning);
        /* orange-500 */
        font-weight: 500;
        text-transform: capitalize;
    }

    /* Tippy Tooltip Customization (using .tippy-box base class) */
    .tippy-box[data-theme~='light'] {
        background-color: var(--qc-color-white);
        color: var(--qc-color-gray-700);
        /* gray-700 */
        border: 1px solid var(--qc-color-gray-200);
        /* gray-200 */
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        border-radius: 4px;
        font-family: var(--qc-font-secondary);
        font-size: 0.85rem;
        /* 13.6px */
        line-height: 1.4;
    }

    .tippy-box[data-theme~='light'][data-placement^='top']>.tippy-arrow::before {
        border-top-color: var(--qc-color-white);
    }

    .tippy-box[data-theme~='light'][data-placement^='bottom']>.tippy-arrow::before {
        border-bottom-color: var(--qc-color-white);
    }

    .tippy-box[data-theme~='light'][data-placement^='left']>.tippy-arrow::before {
        border-left-color: var(--qc-color-white);
    }

    .tippy-box[data-theme~='light'][data-placement^='right']>.tippy-arrow::before {
        border-right-color: var(--qc-color-white);
    }

    .tippy-box[data-theme~='light']>.tippy-content {
        padding: 6px 10px;
        /* Adjust padding */
    }

    /* Tippy scale-subtle animation */
    .tippy-box[data-animation='scale-subtle'][data-state='hidden'] {
        transform: scale(0.95);
        opacity: 0;
    }

    /* --- NEW: Interactive Footnote Styles --- */
    .qc-metric-card__footnote-link {
        text-decoration: none;
        color: inherit;
        cursor: pointer;
        font-weight: bold;
        /* Make symbol more prominent */
        display: inline-block;
        vertical-align: super;
        font-size: 1em !important;
        /* Smaller size for footnote links */
        margin-left: 2px;
    }

    /* Specific styling for links within the bottom footnote text */
    .qc-metric-card__footnote .qc-metric-card__footnote-link {
        vertical-align: initial;
        font-size: inherit;
        margin-right: var(--qc-spacing-2);
    }

    .qc-metric-card__footnotes-container {
        display: flex;
        flex-direction: column;
        gap: var(--qc-spacing-3);
        /* Space between footnotes */
        text-align: left;
        max-width: 800px;
        margin: 0 auto;
    }

    .qc-metric-card__footnote {
        color: rgba(255, 255, 255, 0.85);
        font-size: 0.8rem;
        line-height: 1.6;
        margin: 0;
    }

    .qc-metric-card__footnote-text {
        /* Style for the targetable text span */
        display: inline;
        transition: all 0.3s ease-in-out;
        border-radius: var(--qc-radius-sm);
        padding: var(--qc-spacing-1) 0;
    }

    .qc-metric-card__footnote-text--highlight {
        background-color: rgba(255, 255, 255, 0.15);
        padding: var(--qc-spacing-1) var(--qc-spacing-2);
    }

    /* Partners Section */
    .qc-partners-carousel {
        margin: var(--qc-spacing-8) auto 0 auto;
        max-width: 1100px;
    }

    .qc-partners-carousel__slide {
        display: flex !important;
        justify-content: center;
        align-items: center;
        padding: 0 var(--qc-spacing-4);
        height: 100px;
        outline: none;
    }

    .qc-partners-carousel__logo {
        max-width: 160px;
        max-height: 70px;
        object-fit: contain;
        filter: grayscale(100%) opacity(0.7);
        transition: var(--qc-transition-standard);
    }

    .qc-partners-carousel__slide:hover .qc-partners-carousel__logo {
        filter: grayscale(0%) opacity(1);
        transform: scale(1.05);
    }

    .qc-partners-carousel .slick-dots li button:before {
        font-size: 10px;
        color: var(--qc-color-primary-light);
        opacity: 0.4;
        transition: var(--qc-transition-fast);
    }

    .qc-partners-carousel .slick-dots li.slick-active button:before {
        color: var(--qc-color-primary);
        opacity: 1;
    }

    .qc-partners-carousel .slick-dots {
        bottom: -40px;
    }

    .qc-partners-carousel .slick-arrow {
        width: 40px;
        height: 40px;
        background-color: var(--qc-color-white);
        border-radius: 50%;
        box-shadow: var(--qc-shadow-md);
        z-index: 10;
        transition: var(--qc-transition-standard);
    }

    .qc-partners-carousel .slick-arrow:hover {
        background-color: var(--qc-color-primary);
    }

    .qc-partners-carousel .slick-arrow:before {
        font-family: "Material Icons";
        font-size: 24px;
        color: var(--qc-color-primary);
        line-height: 1;
        transition: var(--qc-transition-standard);
        -webkit-font-smoothing: antialiased;
    }

    .qc-partners-carousel .slick-arrow:hover:before {
        color: var(--qc-color-white);
    }

    .qc-partners-carousel .slick-prev {
        left: -50px;
    }

    .qc-partners-carousel .slick-next {
        right: -50px;
    }

    .qc-partners-carousel .slick-prev:before {
        content: "chevron_left";
    }

    .qc-partners-carousel .slick-next:before {
        content: "chevron_right";
    }

    /* CTA Section */
    .qc-cta {
        text-align: center;
        position: relative;
        z-index: 1;
        padding: var(--qc-spacing-12) 0;
    }

    .qc-cta__title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
        font-weight: 700;
        margin-bottom: var(--qc-spacing-5);
        color: inherit;
    }

    .qc-cta__title .glossary-term {
        color: rgb(228, 125, 65) !important;
    }

    .qc-cta__description {
        font-size: 1.15rem;
        margin-bottom: var(--qc-spacing-8);
        max-width: 750px;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.6;
        opacity: 0.95;
        color: inherit;
    }

    .qc-cta__buttons {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--qc-spacing-4);
    }

    .qc-cta__button {
        padding: var(--qc-spacing-3) var(--qc-spacing-6);
        text-decoration: none;
        font-size: 1.05rem;
    }

    .qc-btn--white {
        background-color: var(--qc-color-white) !important;
        text-decoration: none;
        border-color: var(--qc-color-white) !important;
        color: var(--qc-color-primary) !important;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    }

    .qc-btn--white:hover,
    .qc-btn--white:focus {
        background-color: var(--qc-color-gray-100) !important;
        border-color: var(--qc-color-gray-100) !important;
        color: var(--qc-color-primary-dark) !important;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }

    .qc-btn--outline-white {
        background-color: transparent !important;
        text-decoration: none;
        border: 2px solid var(--qc-color-white) !important;
        color: var(--qc-color-white) !important;
    }

    .qc-btn--outline-white:hover,
    .qc-btn--outline-white:focus {
        background-color: var(--qc-color-white) !important;
        color: var(--qc-color-primary) !important;
        transform: translateY(-2px);
    }

    /* Mobile FAB (Keep As Is, map link uses existing style) */
    .qc-mobile-fab {
        position: fixed;
        bottom: 25px;
        right: 25px;
        z-index: 1000;
        display: none;
    }

    .qc-mobile-fab__button {
        width: 60px;
        height: 60px;
        background: linear-gradient(135deg, var(--qc-color-primary), var(--qc-color-primary-light));
        color: white;
        border: none;
        border-radius: 50%;
        box-shadow: 0 5px 15px rgba(126, 34, 206, 0.4);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: var(--qc-transition-standard);
        position: relative;
        overflow: hidden;
    }

    .qc-mobile-fab__button:hover {
        transform: scale(1.05) rotate(15deg);
        box-shadow: 0 8px 20px rgba(126, 34, 206, 0.5);
    }

    .qc-mobile-fab__icon {
        font-size: 28px;
        position: absolute;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .qc-mobile-fab__icon--open {
        transform: rotate(0deg) scale(1);
        opacity: 1;
    }

    .qc-mobile-fab__icon--close {
        transform: rotate(-45deg) scale(0);
        opacity: 0;
    }

    .qc-mobile-fab--active .qc-mobile-fab__button {
        transform: rotate(360deg);
    }

    .qc-mobile-fab--active .qc-mobile-fab__icon--open {
        transform: rotate(45deg) scale(0);
        opacity: 0;
    }

    .qc-mobile-fab--active .qc-mobile-fab__icon--close {
        transform: rotate(0deg) scale(1);
        opacity: 1;
    }

    .qc-mobile-fab__menu {
        position: absolute;
        bottom: 75px;
        right: 5px;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 15px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(15px) scale(0.95);
        transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        transform-origin: bottom right;
    }

    .qc-mobile-fab--active .qc-mobile-fab__menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }

    .qc-mobile-fab__item {
        display: flex;
        align-items: center;
        padding: 10px 16px;
        border-radius: var(--qc-radius-full);
        box-shadow: var(--qc-shadow-md);
        text-decoration: none;
        color: white;
        font-weight: 500;
        font-size: 0.9rem;
        transition: var(--qc-transition-standard);
        background: var(--qc-color-primary);
        white-space: nowrap;
    }

    .qc-mobile-fab__item:hover {
        transform: translateX(-8px) scale(1.02);
        box-shadow: var(--qc-shadow-lg);
    }

    .qc-mobile-fab__item--contact {
        background: linear-gradient(to right, #5a67d8, #7f9cf5);
    }

    .qc-mobile-fab__item--call {
        background: linear-gradient(to right, #38a169, #68d391);
    }

    .qc-mobile-fab__item--services {
        background: linear-gradient(to right, var(--qc-color-primary-dark), var(--qc-color-primary-light));
    }

    .qc-mobile-fab__item--map {
        background: linear-gradient(to right, var(--qc-color-secondary), #00a3b8);
    }

    /* Existing teal gradient for map link */
    .qc-mobile-fab__item-icon {
        margin-right: 8px;
        font-size: 20px;
    }

    /* Responsive Adjustments (Check map/list heights) */
    @media (max-width: 991px) {
        .qc-section {
            padding: var(--qc-spacing-12) 0;
        }

        .qc-hero--products {
            padding: var(--qc-spacing-12) 0;
            min-height: auto;
        }

        .qc-section-header {
            margin-bottom: var(--qc-spacing-10);
        }

        .service-region__map-container {
            height: 450px;
            min-height: 350px;
        }

        /* Adjust map height */
        .service-region__counties-list {
            max-height: 350px;
        }

        /* Adjust list height */
        .qc-mobile-fab {
            display: block;
        }

        .qc-partners-carousel .slick-prev {
            left: -20px;
        }

        .qc-partners-carousel .slick-next {
            right: -20px;
        }
    }

    @media (max-width: 767px) {
        .qc-hero--products {
            text-align: center;
        }

        .qc-hero__subtitle {
            margin-left: auto;
            margin-right: auto;
        }

        .qc-metric-card {
            margin-bottom: var(--qc-spacing-6);
        }

        .service-region__map-container {
            height: 400px;
            min-height: 300px;
        }

        /* Adjust map height */
        .service-region__counties-list {
            max-height: 300px;
        }

        .qc-partners-carousel .slick-arrow {
            display: none !important;
        }

        .qc-cta__buttons {
            flex-direction: column;
            align-items: center;
        }

        .qc-cta__button {
            width: 100%;
            max-width: 320px;
        }
    }

    @media (max-width: 576px) {
        .qc-hero--products {
            padding: var(--qc-spacing-10) 0;
        }

        .qc-hero__button {
            width: 100%;
            max-width: 300px;
            margin: 0 auto;
        }

        .qc-service-card__image-wrapper {
            height: 180px;
        }

        .service-region__map-container {
            height: 350px;
            min-height: 280px;
        }

        /* Adjust map height */
        .service-region__counties {
            padding: var(--qc-spacing-4);
        }

        .service-region__counties-list {
            max-height: none;
        }

        /* Let list take needed height */
        .service-region__county-item {
            padding: var(--qc-spacing-2) var(--qc-spacing-3);
        }

        .service-region__county-name {
            font-size: 0.9rem;
        }

        .service-region__county-info {
            font-size: 0.7rem;
            padding: 2px 8px;
        }

        .service-region__counties-legend {
            font-size: 0.75rem;
            gap: var(--qc-spacing-3);
        }

        /* Mobile FAB - Icon only */
        .qc-mobile-fab__item-label {
            display: none;
        }

        .qc-mobile-fab__item {
            width: 50px;
            height: 50px;
            padding: 0;
            justify-content: center;
        }

        .qc-mobile-fab__item-icon {
            margin-right: 0;
            font-size: 22px;
        }

        .qc-mobile-fab__menu {
            gap: 12px;
            right: 0;
            bottom: 70px;
        }

        .qc-mobile-fab {
            bottom: 15px;
            right: 15px;
        }
    }

    /* Ensure map div takes full height of its container */
    #googleServiceMap {
        height: 100%;
        width: 100%;
    }

    /* Ensure base html smooth scroll works */
    html {
        scroll-behavior: smooth;
    }

    .text-light {
        color: var(--qc-color-white) !important;
    }