/**
 * Frontend CSS for Ole Locations Map
 * Typography en kleuren erven over van het actieve template/thema.
 * Ondersteunt: Kadence (--global-palette1), WordPress Block Theme (--wp--preset--color--primary).
 */

/* Modal Animation */
@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Theme primary: Kadence (--global-palette1), WP Block Theme, of donkergroen fallback */
.ole-locations-container {
    --ole-primary: var(--global-palette1, var(--global-palette-1, var(--wp--preset--color--primary, #1a5f4a)));
    --ole-primary-foreground: var(--global-palette9, var(--global-palette-9, var(--wp--preset--color--background, #fff)));
    max-width: 100%;
    margin: 20px 0;
    font-family: inherit;
    color: inherit;
}

.ole-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.ole-message.ole-success {
    background-color: rgba(70, 180, 80, 0.15);
    color: inherit;
    border: 1px solid rgba(70, 180, 80, 0.3);
}

.ole-filters {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--wp--preset--color--neutral, rgba(0,0,0,0.04));
    border-radius: 4px;
    flex-wrap: wrap;
    color: inherit;
    font-family: inherit;
}

.ole-filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ole-filter-group label {
    font-weight: 600;
    font-family: inherit;
    color: inherit;
}

.ole-filter-group select {
    padding: 8px 12px;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 4px;
    font-size: inherit;
    font-family: inherit;
    color: inherit;
    background-color: var(--wp--preset--color--background, #fff);
}

.ole-filter-group select option:disabled {
    color: #999;
    background-color: #f5f5f5;
    font-style: italic;
}

#ole-map {
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 20px;
    /* Touch-friendly on mobile */
    touch-action: pan-x pan-y;
    position: relative;
    background: rgba(0,0,0,0.03);
}

/* Lazy-load placeholder */
.ole-map-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 500;
    pointer-events: none;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(2px);
}
.ole-map-loading-inner {
    padding: 10px 14px;
    border-radius: 8px;
    background: rgba(0,0,0,0.65);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

.ole-verification-section {
    padding: 20px;
    background: var(--wp--preset--color--neutral, rgba(0,0,0,0.02));
    border-radius: 4px;
    text-align: center;
    margin-top: 20px;
    font-family: inherit;
    color: inherit;
}

.ole-verification-section h3 {
    margin-top: 0;
    font-family: inherit;
    color: inherit;
}

.ole-verification-section form {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
    flex-wrap: wrap;
}

.ole-verification-section input[type="email"] {
    padding: 10px 15px;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 4px;
    font-size: inherit;
    font-family: inherit;
    color: inherit;
    background-color: var(--wp--preset--color--background, #fff);
    min-width: 320px;
}

.ole-verification-section .button {
    padding: 10px 20px;
    font-size: inherit;
    font-family: inherit;
}

#ole-verification-message {
    margin-top: 15px;
    min-height: 30px;
}

.ole-verified-notice {
    padding: 15px;
    background: var(--wp--preset--color--success, rgba(70, 180, 80, 0.2));
    color: inherit;
    border-radius: 4px;
    text-align: center;
    margin-top: 20px;
    font-family: inherit;
}

.ole-admin-warning {
    margin: 10px 0;
    padding: 10px 12px;
    border-left: 4px solid #b45309;
    background: #fff7ed;
    color: #9a3412;
    border-radius: 6px;
    font-size: 0.92em;
    line-height: 1.45;
}

.ole-inactive-marker-wrapper {
    background: transparent;
    border: none;
}

.ole-inactive-marker-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f97316;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    line-height: 28px;
    text-align: center;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}

/* Modern Leaflet Popup Styling */
.leaflet-popup-content-wrapper {
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    padding: 0;
    overflow: hidden;
}

.leaflet-popup-content {
    margin: 0;
    padding: 0;
    min-width: 360px;
    max-width: 420px;
    max-height: none; /* desktop: no limit */
}

.ole-popup {
    padding: 26px 28px;
    background: var(--wp--preset--color--background, #fff);
    font-family: inherit;
    color: inherit;
}

.ole-popup-header {
    margin-bottom: 16px;
    border-bottom: 2px solid rgba(0,0,0,0.08);
    padding-bottom: 14px;
}

.ole-popup-header h3 {
    margin: 0;
    font-size: 2.0em; /* van te groot (H1-achtig) naar H2-achtig */
    font-weight: 700;
    font-family: inherit;
    color: inherit;
    line-height: 1.25;
}

.ole-popup-footer {
    margin-top: 16px;
    text-align: right;
}

.ole-popup .ole-view-detail {
    width: auto;
    margin: 0;
    padding: 12px 18px;
    font-size: 1.59em; /* +50% t.o.v. 1.06em */
    font-weight: 700;
    border-radius: 10px;
}


.ole-popup p {
    margin: 12px 0;
    font-size: 1.77em; /* +50% t.o.v. 1.18em */
    line-height: 1.7;
    font-family: inherit;
    color: inherit;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.ole-popup p strong {
    color: inherit;
    font-weight: 700;
    min-width: 122px;
    display: inline-block;
}

/* Badge styling voor type – gebruikt thema-kleuren */
.ole-popup-type-badge {
    display: inline-block;
    padding: 4px 10px;
    background: var(--ole-primary, #1a5f4a);
    color: var(--ole-primary-foreground, white);
    border-radius: 12px;
    font-size: 1.125em; /* +50% t.o.v. 0.75em */
    font-weight: 600;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 8px;
}

/* Badge styling voor aantal personen */
.ole-popup-persons-badge {
    display: inline-block;
    padding: 4px 10px;
    background: var(--ole-primary, #1a5f4a);
    color: white;
    border-radius: 12px;
    font-size: 1.125em; /* +50% t.o.v. 0.75em */
    font-weight: 600;
    font-family: inherit;
    margin-left: 8px;
}

/* Aanbiedingen styling */
.ole-popup-offers {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.ole-popup-offer-badge {
    display: inline-block;
    padding: 4px 10px;
    background: var(--ole-primary, #1a5f4a);
    color: white;
    border-radius: 8px;
    font-size: 1.05em; /* +50% t.o.v. 0.70em */
    font-weight: 600;
    font-family: inherit;
}

.ole-view-detail {
    margin-top: 0;
    padding: 8px 14px;
    background: var(--ole-primary, #1a5f4a);
    color: var(--ole-primary-foreground, white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 600;
    font-family: inherit;
    width: auto;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    letter-spacing: 0.3px;
    flex-shrink: 0;
}

.ole-view-detail:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    opacity: 0.9;
}

.ole-view-detail:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

/* Leaflet popup tip styling */
.leaflet-popup-tip {
    background: white;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.15);
}

/* Close button in popup */
.leaflet-popup-close-button {
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    color: #666;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.2s ease;
    margin: 8px 8px 0 0;
}

.leaflet-popup-close-button:hover {
    background: rgba(220, 50, 50, 0.9);
    color: white;
    transform: rotate(90deg);
}

.ole-summary-marker,
.ole-total-marker {
    background: transparent !important;
    border: none !important;
}

.ole-summary-badge,
.ole-total-badge {
    background: var(--ole-primary, #1a5f4a);
    color: white;
    padding: 10px 15px;
    border-radius: 6px;
    font-weight: 600;
    font-family: inherit;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    white-space: nowrap;
}

.ole-total-badge {
    background: var(--wp--preset--color--success, #46b450);
}

/* Modal overlay */
.ole-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ole-modal-overlay.active {
    display: block;
    opacity: 1;
}

.ole-location-detail {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    animation: modalSlideIn 0.3s ease forwards;
    background: var(--wp--preset--color--background, #fff);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    z-index: 10001;
    overflow-y: auto;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-family: inherit;
    color: inherit;
}

.ole-location-detail.active {
    display: block;
    opacity: 1;
}

.ole-close-detail {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #dc3232;
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.ole-close-detail:hover {
    background: #a00;
}

#ole-detail-content {
    padding: 0;
    position: relative;
    overflow-y: auto;
    max-height: 90vh;
}

.ole-detail-header {
    margin: 0;
    padding: 40px 40px 30px 40px;
    background: var(--ole-primary, #1a5f4a);
    color: white;
    border-bottom: none;
    position: relative;
}

.ole-detail-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(to bottom, rgba(102, 126, 234, 0.1), transparent);
}

.ole-detail-header h2 {
    margin: 0 0 12px 0;
    font-size: 32px;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.5px;
}

.ole-detail-type {
    color: rgba(255, 255, 255, 0.95);
    margin: 8px 0 0 0;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ole-detail-type::before {
    content: '📍';
    font-size: 18px;
}

.ole-detail-address {
    color: rgba(255, 255, 255, 0.9);
    margin: 12px 0 0 0;
    font-size: 15px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.ole-detail-address strong {
    color: rgba(255, 255, 255, 1);
    font-weight: 600;
}

.ole-detail-phone {
    margin: 16px 0 0 0;
}

.ole-call-button {
    display: inline-block;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--ole-primary, #1a5f4a);
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.2s, transform 0.2s;
}

.ole-call-button:hover {
    background: #fff;
    transform: translateY(-1px);
}

.ole-detail-activity-links-box {
    margin: 16px 0 0 0;
    padding: 16px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.ole-detail-activity-links-title {
    margin: 0 0 12px 0;
    font-size: 1.1em;
    font-weight: 600;
    color: rgba(255, 255, 255, 1);
}

.ole-detail-activity-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ole-activity-link-button {
    display: inline-block;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--ole-primary, #1a5f4a);
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: background 0.2s, transform 0.2s;
}

.ole-activity-link-button::before {
    content: '➜';
    display: inline-block;
    margin-right: 6px;
    font-size: 0.9em;
}

.ole-activity-link-button:hover {
    background: #fff;
    transform: translateY(-1px);
}

.ole-detail-persons {
    margin: 12px 0 0 0;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: white;
    backdrop-filter: blur(10px);
}

.ole-detail-photos {
    margin: 0;
    padding: 30px 40px;
    background: var(--wp--preset--color--background, #fff);
}

.ole-detail-photos h3 {
    margin: 0 0 20px 0;
    font-size: 1.4em;
    font-weight: 700;
    font-family: inherit;
    color: inherit;
}

/* Photo Carousel */
.ole-photo-carousel {
    position: relative;
    width: 100%;
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    background: #000;
}

.ole-carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    min-height: 400px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ole-carousel-slide {
    display: none !important;
    width: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    visibility: hidden;
}

.ole-carousel-slide.active {
    display: block !important;
    opacity: 1;
    visibility: visible;
}

.ole-carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 400px;
    max-height: 500px;
}

.ole-carousel-prev,
.ole-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: #2d3748;
    border: none;
    padding: 12px 16px;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    z-index: 10;
    transition: all 0.3s ease;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.ole-carousel-prev:hover,
.ole-carousel-next:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.ole-carousel-prev {
    left: 20px;
}

.ole-carousel-next {
    right: 20px;
}

.ole-carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.ole-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.ole-carousel-dot.active {
    background: white;
    width: 30px;
    border-radius: 5px;
    border-color: rgba(255, 255, 255, 0.8);
}

.ole-carousel-dot:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.ole-detail-description {
    margin: 0;
    padding: 30px 40px;
    background: var(--wp--preset--color--neutral, rgba(0,0,0,0.02));
    line-height: 1.7;
    font-family: inherit;
    color: inherit;
}

.ole-detail-description h3 {
    margin: 0 0 15px 0;
    font-size: 1.4em;
    font-weight: 700;
    font-family: inherit;
    color: inherit;
}

.ole-detail-description div {
    color: inherit;
    font-size: 1em;
    line-height: 1.7;
}

.ole-detail-offers {
    margin: 0;
    padding: 30px 40px;
    background: var(--wp--preset--color--background, #fff);
    border-radius: 0;
}

.ole-detail-offers h3 {
    margin: 0 0 20px 0;
    font-size: 1.4em;
    font-weight: 700;
    font-family: inherit;
    color: inherit;
}

.ole-detail-offers ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.ole-detail-offers li {
    padding: 12px 0;
    font-size: 1em;
    font-family: inherit;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ole-detail-offers li::before {
    content: '✓';
    color: #48bb78;
    font-weight: bold;
    font-size: 18px;
}

.ole-booking-notice {
    margin-top: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #fff5e6 0%, #ffe8cc 100%);
    border-left: 5px solid #f6ad55;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(246, 173, 85, 0.15);
}

.ole-booking-notice p {
    margin: 8px 0;
    color: #744210;
    font-size: 15px;
    line-height: 1.6;
}

.ole-booking-notice strong {
    color: #744210;
    font-weight: 700;
}

/* Close Button */
.ole-close-detail {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    line-height: 1;
    padding: 0;
}

.ole-close-detail:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.ole-booking-notice p {
    margin: 5px 0;
}

.ole-detail-menu-offers {
    margin: 0;
    padding: 30px 40px;
    background: var(--wp--preset--color--neutral, rgba(0,0,0,0.02));
}

.ole-detail-menu-offers h3 {
    margin: 0 0 20px 0;
    font-size: 1.4em;
    font-weight: 700;
    font-family: inherit;
    color: inherit;
}

.ole-offer-item {
    padding: 20px;
    margin-bottom: 15px;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ole-offer-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.ole-offer-item h4 {
    margin: 0 0 12px 0;
    font-size: 1.25em;
    font-weight: 700;
    font-family: inherit;
    color: inherit;
}

.ole-offer-item p {
    margin: 8px 0;
    font-family: inherit;
    color: inherit;
    font-size: 1em;
    line-height: 1.6;
}

.ole-price {
    font-size: 1.1em !important;
    font-weight: 700 !important;
    color: var(--ole-primary, inherit) !important;
    margin-top: 12px !important;
}

.ole-contact {
    margin-top: 12px !important;
    padding-top: 12px;
    border-top: 1px solid rgba(0,0,0,0.08);
    color: inherit !important;
    font-size: 0.9em !important;
}

.ole-error {
    color: #dc3232;
    padding: 10px;
    background: #ffeaea;
    border-radius: 4px;
}

.ole-success {
    color: #46b450;
    padding: 10px;
    background: #eafaea;
    border-radius: 4px;
}

.ole-loading {
    color: #0073aa;
    padding: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .ole-locations-container {
        margin: 10px 0;
    }
    
    #ole-map {
        height: 400px !important; /* Betere hoogte voor mobiel */
        margin-bottom: 15px;
    }
    
    .ole-filters {
        flex-direction: column;
        gap: 15px;
        padding: 12px;
    }
    
    .ole-filter-group {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 8px;
    }
    
    .ole-filter-group select {
        width: 100%;
        font-size: 16px; /* Voorkomt zoom op iOS */
    }
    
    .ole-filter-group select option:disabled {
        color: #999;
        background-color: #f5f5f5;
        font-style: italic;
    }
    
    .ole-verification-section {
        padding: 15px;
        margin-top: 15px;
    }
    
    .ole-verification-section h3 {
        font-size: 18px;
    }
    
    .ole-verification-section form {
        flex-direction: column;
        gap: 12px;
    }
    
    .ole-verification-section input[type="email"] {
        width: 100%;
        min-width: auto;
        font-size: 16px; /* Voorkomt zoom op iOS */
        box-sizing: border-box;
    }
    
    .ole-verification-section .button {
        width: 100%;
        font-size: 16px;
    }
    
    .ole-location-detail {
        width: 95%;
        max-width: 95%;
        max-height: 95vh;
    }
    
    #ole-detail-content {
        padding: 20px;
    }
    
    .ole-carousel-container {
        min-height: 200px;
    }
    
    .ole-carousel-prev,
    .ole-carousel-next {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .ole-carousel-prev {
        left: 10px;
    }
    
    .ole-carousel-next {
        right: 10px;
    }
    
    /* Popup: hoger + compacte regels zodat hele inhoud (tot en met Meer info) zichtbaar is */
    .leaflet-popup-content-wrapper {
        max-height: min(85vh, 480px);
    }
    .leaflet-popup-content {
        max-height: min(85vh, 480px);
        overflow: hidden;
        min-width: 0;
        padding-right: 40px; /* ruimte voor Leaflet close-button (×) */
    }
    .ole-popup {
        min-width: 0;
        max-width: 100%;
        padding: 8px 10px 8px 10px;
        display: flex;
        flex-direction: column;
        min-height: 0;
        max-height: min(85vh, 480px);
    }
    .ole-popup-header {
        flex-shrink: 0;
        margin-bottom: 6px;
        padding-bottom: 6px;
    }
    .ole-popup-body {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .ole-popup-footer {
        flex-shrink: 0;
        margin-top: 8px;
        text-align: right;
    }
    
    /* Titel: compact + ellipsis bij lange namen */
    .ole-popup-header h3 {
        font-size: 1.2rem; /* H2-achtig op mobiel/tablet */
        margin: 0;
        padding-bottom: 0;
        line-height: 1.2;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    /* Compacte regels: minder afstand tussen regels zodat alles past */
    .ole-popup-body p {
        font-size: 16.5px; /* +50% t.o.v. 11px */
        margin: 2px 0;
        line-height: 1.25;
        gap: 4px;
    }
    
    .ole-popup-body p strong {
        min-width: 68px;
        font-size: 15px; /* +50% t.o.v. 10px */
    }
    
    .ole-popup-type-badge,
    .ole-popup-persons-badge {
        font-size: 13.5px; /* +50% t.o.v. 9px */
        padding: 2px 5px;
    }
    
    .ole-popup-offers {
        gap: 3px;
        margin-top: 1px;
    }
    
    .ole-popup-offer-badge {
        font-size: 12px; /* +50% t.o.v. 8px */
        padding: 2px 5px;
    }
    
    .ole-popup .ole-view-detail {
        font-size: 16.5px; /* +50% t.o.v. 11px */
        padding: 6px 10px;
    }
    
    #ole-detail-content {
        padding: 15px;
    }
    
    .ole-detail-header h2 {
        font-size: 20px;
    }
    
    .ole-detail-offers,
    .ole-detail-menu-offers {
        margin: 15px 0;
        padding: 12px;
    }
    
    .ole-booking-notice {
        padding: 12px;
        font-size: 14px;
    }
}

/* Extra kleine schermen */
@media (max-width: 480px) {
    .ole-filters {
        padding: 10px;
    }
    
    .ole-verification-section {
        padding: 12px;
    }
    
    .ole-verification-section h3 {
        font-size: 16px;
    }
    
    .ole-popup {
        min-width: 0;
        padding: 8px 10px;
    }
    .ole-popup-header h3 {
        font-size: 1.1rem; /* H2-achtig op extra klein */
    }
    .ole-popup-body p {
        font-size: 15px; /* +50% t.o.v. 10px */
        margin: 1px 0;
        line-height: 1.2;
    }
    
    .ole-summary-badge,
    .ole-total-badge {
        padding: 8px 12px;
        font-size: 14px;
    }
}
