/* Force le conteneur principal à s'aligner horizontalement */
.carrousel-chambres {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    padding-bottom: 25px !important;
    -webkit-overflow-scrolling: touch; /* Défilement fluide sur iPhone */
}

/* Nettoyage radical de tous les fonds et cadres de la lightbox */
.ea-filterable-gallery-lightbox-content, 
.ea-filterable-gallery-popup-view,
.ea-filterable-gallery-item-wrap,
.content-wrapper,
.eael-filterable-gallery-item-wrap {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* Force le grand fond de la page noire à rester propre */
.mg-show, .mfp-bg, .mfp-wrap {
    background: rgba(0, 0, 0, 0.85) !important; /* Un noir semi-transparent très élégant */
}
/* Supprime la barre blanche du thème sur ABSOLUMENT toutes les pages du site */
header#masthead, 
.site-header, 
.ast-primary-header-bar, 
#site-navigation,
.main-header-bar,
.site-header-focus-item,
navbar {
    display: none !important;
    height: 0 !important;
    visibility: hidden !important;
}


/* ==========================================================================
   STYLE SUR MESURE - WIDGET BOOKING CALENDAR (CHALET BACARO - CEGA ALPINE)
   ========================================================================== */

/* 1. CONTENEUR GLOBAL ET FOND BEIGE LUXE */
.bacaro-booking-section {
    background-color: #F5EFE6 !important; /* Beige/Sable chaud */
    padding: 60px 20px;
    font-family: 'Jost', 'Montserrat', sans-serif;
    color: #1A1A1A;
}

/* 2. EN-TÊTE ET TYPOGRAPHIES */
.bacaro-booking-header {
    text-align: center;
    margin-bottom: 35px;
}

.bacaro-booking-header .mountain-icon {
    width: 45px;
    height: auto;
    margin-bottom: 15px;
}

.bacaro-booking-header h2 {
    font-family: 'Cormorant Garamond', 'Cinzel', 'Playfair Display', serif !important;
    font-size: 32px !important;
    font-weight: 500 !important;
    letter-spacing: 3px !important;
    text-transform: uppercase !important;
    color: #1A1A1A !important;
    margin-bottom: 10px !important;
}

.bacaro-booking-header p {
    font-size: 14px;
    color: #666666;
    letter-spacing: 0.5px;
}

/* 3. BARRE DE FILTRES SUPÉRIEURE (ARRIVÉE / DÉPART / VOYAGEURS / BOUTON) */
.bacaro-booking-section .booking_form {
    max-width: 1100px;
    margin: 0 auto;
}

/* Alignement horizontal des champs */
.bacaro-booking-section .form-table,
.bacaro-booking-section .booking_form_div {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 15px !important;
}

/* Style des champs Saisie (Arrivée, Départ, Voyageurs) */
.bacaro-booking-section input[type="text"],
.bacaro-booking-section select {
    background-color: #FFFFFF !important;
    border: 1px solid #E2DCD5 !important;
    border-radius: 2px !important;
    height: 54px !important;
    padding: 10px 18px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #1A1A1A !important;
    box-shadow: none !important;
    transition: border-color 0.3s ease;
}

.bacaro-booking-section input[type="text"]:focus,
.bacaro-booking-section select:focus {
    border-color: #A68259 !important; /* Accent bronze/doré */
    outline: none !important;
}

/* Bouton principal "VÉRIFIER LES DISPONIBILITÉS" */
.bacaro-booking-section input[type="submit"],
.bacaro-booking-section .bk_btn_submit,
.bacaro-booking-section button.btn-reserver {
    background-color: #111111 !important;
    color: #FFFFFF !important;
    font-family: 'Jost', 'Montserrat', sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    border: none !important;
    border-radius: 2px !important;
    height: 54px !important;
    padding: 0 30px !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
}

.bacaro-booking-section input[type="submit"]:hover,
.bacaro-booking-section .bk_btn_submit:hover {
    background-color: #A68259 !important; /* Effet survol doré/bronze */
}

/* 4. CALENDRIER DE RÉSERVATION */
.bacaro-booking-section .booking_calendar_container {
    margin-top: 40px !important;
    background: transparent !important;
}

/* En-têtes des mois (DÉCEMBRE 2026 / JANVIER 2027) */
.bacaro-booking-section .bk_month_name {
    font-family: 'Jost', 'Montserrat', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    color: #1A1A1A !important;
    padding-bottom: 15px !important;
}

/* Grille du calendrier */
.bacaro-booking-section table.bk_calendar_frame {
    border-collapse: separate !important;
    border-spacing: 2px !important;
    background-color: transparent !important;
}

/* Jours de la semaine (L M M J V S D) */
.bacaro-booking-section th.bk_weekday {
    font-size: 12px !important;
    color: #888888 !important;
    font-weight: 400 !important;
    padding: 10px 0 !important;
}

/* Cellules des jours */
.bacaro-booking-section td.bk_day {
    background-color: #FFFFFF !important;
    border: none !important;
    color: #1A1A1A !important;
    font-size: 13px !important;
    height: 40px !important;
    width: 40px !important;
    text-align: center !important;
    transition: all 0.2s ease;
}

/* Jour Indisponible / Réservé */
.bacaro-booking-section td.bk_day.date_approved,
.bacaro-booking-section td.bk_day.bk_unavailable {
    background-color: #EAE5DE !important;
    color: #A09A93 !important;
    text-decoration: none !important;
}

/* Jour Sélectionné */
.bacaro-booking-section td.bk_day.date_selected,
.bacaro-booking-section td.bk_day.bk_selected {
    background-color: #A68259 !important; /* Bronze */
    color: #FFFFFF !important;
}

/* Fleches de navigation (< >) */
.bacaro-booking-section .bk_nav_btn {
    color: #A68259 !important;
    font-size: 20px !important;
    text-decoration: none !important;
}

/* 5. LÉGENDE DU CALENDRIER EN BAS */
.bacaro-booking-legend {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
    font-size: 13px;
    color: #444444;
}

.bacaro-booking-legend .legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bacaro-booking-legend .legend-box {
    width: 20px;
    height: 20px;
    border-radius: 2px;
}

.bacaro-booking-legend .legend-available {
    background-color: #FFFFFF;
    border: 1px solid #E2DCD5;
}

.bacaro-booking-legend .legend-reserved {
    background-color: #EAE5DE;
}

.bacaro-booking-legend .legend-selected {
    background-color: #A68259;
}