/* ==========================================
   Bookingpress knop begin
   ========================================== */

header.et-l--header .et_pb_section,
.et-l--header .et_pb_section:first-child {
    background-color: #121212 !important;
}

footer.et-l--footer .et_pb_section,
.et-l--footer .et_pb_section {
    background-color: #121212 !important;
}

.et_pb_section.klussi-usp-bar {
    background-color: #121212 !important;
}

/* 2. KLEUR DE KNOPPEN EN LABELS BINNENIN DE POP-UP KLUSSI-ORANJE */
.bookingpress-popup-modal button,
.bookingpress-popup-modal .bpa-front-btn--primary,
.bookingpress-popup-modal .bpa-front-pill,
.bookingpress-popup-modal .bpa-front-si-card__price-tag,
.bookingpress-popup-modal .bpa-front-tabs--vertical-left .bpa-front-tab-menu .bpa-front-tab-menu--item.__bpa-is-active .bpa-front-tm--item-icon {
    background-color: #ff6600 !important;
    border-color: #ff6600 !important;
    color: #ffffff !important;
}

.bookingpress-popup-modal .bpa-front-module--service-item.__is-selected {
    border-color: #ff6600 !important;
}

/* 3. DE KLUSSI BOEKINGSKNOP OP DE PAGINA ZELF (VOLLEDIGE BREEDTE) */
.bookingpress-booking-popup-btn-wrapper {
    width: 100% !important;
    display: block !important;
}

.bookingpress-booking-popup-btn-wrapper button,
.bookingpress-booking-popup-btn-wrapper a,
.bookingpress-booking-popup-btn {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    height: 48px !important;
    background-color: #ff6600 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 17px !important;
    text-transform: uppercase !important;
    letter-spacing: 0px !important;
    border: none !important;
    border-radius: 25px !important;
    padding: 0 28px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease-in-out !important;
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.25) !important;
}

.bookingpress-booking-popup-btn-wrapper button::after,
.bookingpress-booking-popup-btn-wrapper a::after,
.bookingpress-booking-popup-btn::after {
    content: "→" !important;
    font-family: inherit !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    margin-left: 8px !important;
    display: inline-block !important;
    text-transform: none !important;
}

.bookingpress-booking-popup-btn-wrapper button:hover,
.bookingpress-booking-popup-btn-wrapper a:hover,
.bookingpress-booking-popup-btn:hover {
    background-color: #e65c00 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(255, 102, 0, 0.35) !important;
}

.bookingpress-booking-popup-btn-wrapper button:active,
.bookingpress-booking-popup-btn-wrapper a:active,
.bookingpress-booking-popup-btn:active {
    transform: translateY(0px) !important;
}

/* Maak het boekingsformulier op mobiel echt breed zonder dubbele zijmarges */
.bookingpress-popup-form-wrapper .bpa-frontend-main-container {
    max-width: 100% !important;
    padding: 0 10px !important;
}


/* 2. Zorg dat het witte formuliervenster op mobiel netjes het scherm vult */
@media screen and (max-width: 768px) {
    .bookingpress-popup-form-wrapper .bookingpress-popup-content {
        width: 100% !important;
        max-width: 100% !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        border-radius: 0 !important;
        margin: 0 !important;
    }
}

/* Verberg de Divi header volledig zolang de BookingPress pop-up openstaat */
body.bookingpress-popup-active header.et-l--header,
body.bookingpress-popup-active .et-l--header {
    display: none !important;
}

/* Haal automatisch de Divi-sectie, rij en kolom naar voren zodra de BookingPress pop-up openstaat */
body.bookingpress-popup-active .et_pb_section:has(.bookingpress-popup-modal),
body.bookingpress-popup-active .et_pb_row:has(.bookingpress-popup-modal),
body.bookingpress-popup-active .et_pb_column:has(.bookingpress-popup-modal),
body.bookingpress-popup-active .et_pb_code:has(.bookingpress-popup-modal) {
    z-index: 999999 !important;
    position: relative !important;
}

/* Zorg dat het formuliervenster zelf altijd volledig ondoorzichtig wit is */
.bookingpress-popup-form-wrapper .bookingpress-popup-content {
    background-color: #ffffff !important;
    opacity: 1 !important;
}
/* ==========================================
   Bookingpress knop eind
   ========================================== */