/*
 * Alleen voor de nieuwe zwevende hero-locatienavigatie.
 * Het oorspronkelijke hero_afbeelding_content.css blijft geladen.
 */

.hero_locaties_bottom_banner.hero-pills-floating {
    position: fixed;
    left: 50%;
    bottom: 24px;
    top: auto;
    right: auto;
    width: max-content;
    max-width: calc(100vw - 32px);
    margin: 0;
    padding: 0;
    transform: translate(-50%, 16px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 9999;
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}

.hero_locaties_bottom_banner.hero-pills-floating.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.hero-pills-floating .hero_locaties_bottom_inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 10px;
    width: auto;
    max-width: 100%;
    margin: 0;
    padding: 9px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 999px;
    background: rgba(255,255,255,.95);
    box-shadow: 0 12px 35px rgba(0,0,0,.15);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.hero-pills-floating .hero-pill-current,
.hero-pills-floating .hero-pill-link {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    min-height: 44px;
    border-radius: 999px;
    line-height: 1.35;
    font-size: 13px;
}

.hero-pills-floating .hero-pill-current {
    flex: 0 0 auto;
    gap: 9px;
    padding: 10px 16px;
    background: #e2eae6;
    color: #244b39;
}

.hero-pills-floating .hero-pill-current-icon {
    display: inline-flex;
    flex: 0 0 21px;
    align-items: center;
    justify-content: center;
    width: 21px;
    height: 21px;
    color: #fff;
    background: #244b39;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
}

.hero-pills-floating .hero-pill-current-text {
    display: inline;
    color: inherit;
    font-size: inherit;
}

.hero-pills-floating .hero-pill-current-text strong {
    font-weight: 700;
}

.hero-pills-floating .hero-pill-alternatives {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.hero-pills-floating .hero-pill-alternatives-label {
    flex: 0 0 auto;
    color: #505e55;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.hero-pills-floating .hero-pill-links {
    display: flex;
    flex: 0 1 auto;
    align-items: center;
    gap: 8px;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.hero-pills-floating .hero-pill-links::-webkit-scrollbar { display: none; }

.hero-pills-floating .hero-pill-link {
    flex: 0 0 auto;
    gap: 12px;
    padding: 10px 16px;
    border: 0;
    background: #f1f3f2;
    color: #2b3830;
    text-decoration: none;
    white-space: nowrap;
    font-weight: 600;
    transition: background .2s ease, color .2s ease;
}

.hero-pills-floating .hero-pill-link:hover,
.hero-pills-floating .hero-pill-link:focus-visible {
    background: #244b39;
    color: #fff;
    text-decoration: none;
}

.hero-pills-floating .hero-pill-arrow { font-size: 17px; line-height: 1; }

/* Mobiel: onderdeel van de hero-content, direct na de knoppen. */
@media (max-width: 767px) {
    .hero_locaties_bottom_banner.hero-pills-floating,
    .hero_locaties_bottom_banner.hero-pills-floating.is-visible {
        position: static !important;
        display: block;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        width: 100%;
        max-width: 100%;
        margin: 20px 0 0;
        padding: 0;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        z-index: auto;
    }

    .hero-pills-floating .hero_locaties_bottom_inner {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 7px;
        width: 100%;
        max-width: 100%;
        padding: 8px;
        border-radius: 20px;
        box-sizing: border-box;
    }
    .hero-pills-floating .hero-pill-current {
        width: 100%;
        min-width: 0;
        min-height: 40px;
        justify-content: center;
        padding: 9px 12px;
        text-align: center;
        white-space: normal;
    }
    .hero-pills-floating .hero-pill-current-text {
        min-width: 0;
        font-size: 12px;
        overflow-wrap: anywhere;
    }
    .hero-pills-floating .hero-pill-alternatives {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        width: 100%;
        min-width: 0;
    }
    .hero-pills-floating .hero-pill-alternatives-label {
        display: block;
        width: 100%;
        padding: 2px 6px 0;
        font-size: 12px;
        white-space: normal;
    }
    .hero-pills-floating .hero-pill-links {
        display: flex;
        width: 100%;
        min-width: 0;
        justify-content: flex-start;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .hero-pills-floating .hero-pill-link {
        flex: 0 0 auto;
        min-height: 40px;
        padding: 9px 14px;
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero_locaties_bottom_banner.hero-pills-floating,
    .hero-pills-floating .hero-pill-link { transition: none; }
}
