/* *******************************************
 ****** PAGE FRONT CALENDAR (/reserver) ***** 
 ******************************************** */

.wpb_wrapper {
    max-width: 960px;
    margin: auto;
}

/* *******************************************
 ****** BLOC RECAP PRESTATION (.step-1) DESKTOP ***** 
 ******************************************** */
.wpb_wrapper .step-1 {
    margin-bottom: 2rem;
}

.wpb_wrapper .step-1 .title-page,
.wpb_wrapper .step-2 .title-page {
    /* Titres des éléments */
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.wpb_wrapper .step-1 .wrapper-summary {
    font: 500 14px/24px Inter, Helvetica, sans-serif;
    padding: 20px 32px;
    margin-bottom: 12px;
    box-shadow: 0 4px 8px -2px rgba(26, 27, 31, 0.08);
    background-color: #f3eddc;
    border-radius: 12px;
    border: 1px solid #f3eddc;
}

.wpb_wrapper .wrapper-summary .category-service {
    font-weight: 600;
    margin-bottom: 0.2rem;
    font-size: 1rem;
    color: #000000;
}

.wpb_wrapper .wrapper-summary .name-service {
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    color: #686868;
}

.wpb_wrapper .wrapper-summary .booking-elements {
    white-space: nowrap;
    font: 500 14px/24px Inter, Helvetica, sans-serif;
    color: #202020;
    display: inline-flex;
    align-items: center;
}

.wpb_wrapper .booking-elements .uppercase-element {
    text-transform: uppercase;
}

.wpb_wrapper .wrapper-summary .booking-elements::before {
    content: "";
    flex-shrink: 0;
    width: 4px;
    height: 4px;
    background-color: #c7cfd7;
    border-radius: 100%;
    margin-left: 8px;
    margin-right: 8px;
}

.wpb_wrapper .wrapper-summary .booking-elements:first-child::before {
    background-color: transparent;
    width: 0;
    margin-left: 0;
    margin-right: 0;
}

@media (max-width: 1041px) {
    .container-recap-service {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .wpb_wrapper .wrapper-summary .booking-elements:first-child::before {
        background-color: #c7cfd7;
        width: 4px;
        margin-left: 8px;
        margin-right: 8px;
    }
}
/* ***********************************************
 ****** FIN BLOC RECAP PRESTATION (.step-1) ***** 
 ************************************************* */

/* *******************************************
 ****** BLOC CALENDRIER (.step-2) ***** 
 ******************************************** */
.wpb_wrapper .blr-creneaux-wrapper {
    margin: auto;
}

.wpb_wrapper .blr-creneaux-wrapper .blr-creneaux-nav {
    /* wrapper boutons semaines */
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.wpb_wrapper .blr-creneaux-nav button.btn.btn-nav-calendar {
    /* Boutons semaines */
    background-color: #f3eddc;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-size: 1rem;
    transition: 0.3s ease;
}

.wpb_wrapper .blr-creneaux-nav button.btn.btn-nav-calendar:hover {
    background-color: rgb(223, 217, 200);
}

.wpb_wrapper .blr-creneaux-wrapper .blr-creneaux-grid {
    display: flex;
    flex-wrap: wrap;
    margin-left: 0px;
    margin-right: 0px;
    flex: 1;
    justify-content: space-between;
}

.wpb_wrapper .blr-creneaux-grid .blr-creneaux-day {
    /* Colonnes */
    min-width: 118px;
}

.wpb_wrapper .blr-creneaux-day .title-day {
    /* Jours colonnes */
    font-size: 1rem;
    color: #000000;
    text-align: center;
}

.wpb_wrapper .blr-creneaux-day .subtitle-day {
    /* Jours colonnes sous-titres */
    font-size: 0.8rem;
    color: rgb(110, 108, 108);
    text-align: center;
}

.wpb_wrapper .blr-creneaux-day .btn.btn-time,
.wpb_wrapper .blr-creneaux-mobile .btn.btn-time{
    /* Boutons heures calendrier */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000000;
    color: #ffffff !important;
    border-radius: 4px;
    font: 500 14px/24px Inter, Helvetica, sans-serif;
    padding: 4px;
    margin: 4px 0;
    white-space: nowrap;
    max-width: 118.29px;
    width: 100%;
    transition: 0.3s ease;
}

.wpb_wrapper .blr-creneaux-day .btn.btn-time.disabled,
.wpb_wrapper .blr-creneaux-mobile .btn.btn-time.disabled {
    /* Boutons heures bloqués */
    color: #ffffff;
    text-decoration: line-through;
}

.wpb_wrapper .blr-creneaux-day .btn.btn-time:hover,
.wpb_wrapper .blr-creneaux-mobile .btn.btn-time:hover {
    background-color: #363636;
}

.no-touch a,
.no-touch a:hover {
    color: #ffffff;
}
/* *******************************************
 ****** FIN BLOC CALENDRIER (.step-2) ***** 
 ******************************************** */

/* Par défaut desktop */
.wpb_wrapper .blr-creneaux-mobile,
.wpb_wrapper .blr-mobile-load-more {
    display: none;
}

/* Mobile */
@media (max-width: 1041px) {

    .wpb_wrapper .blr-creneaux-wrapper .blr-creneaux-nav {
        display: none;
    } /* on cache prev/next en mobile */

    .wpb_wrapper .blr-creneaux-grid {
        display: none;
    }

    .wpb_wrapper .blr-creneaux-mobile {
        display: block;
    }

    .wpb_wrapper .blr-mobile-load-more {
        display: block;
        width: 100%;
        margin-top: 14px;
        padding: 14px 16px;
        border-radius: 10px;
        border: 1px solid rgba(0, 0, 0, 0.12);
        background: #fff;
        font-weight: 600;
    }

    .wpb_wrapper .blr-creneaux-mobile .blr-day-dropdown {
        border: 1px solid rgba(0, 0, 0, 0.1);
        border-radius: 12px;
        background: #fff;
        margin-bottom: 12px;
        overflow: hidden;
    }

    .wpb_wrapper .blr-creneaux-mobile .blr-day-summary {
        list-style: none;
        padding: 16px;
        font-weight: 700;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .wpb_wrapper .blr-creneaux-mobile .blr-day-summary::-webkit-details-marker {
        display: none;
    }

    .wpb_wrapper .blr-creneaux-mobile .blr-day-summary::after {
        content: "▾";
        font-size: 16px;
        opacity: 0.7;
    }

    .wpb_wrapper .blr-creneaux-mobile .blr-day-dropdown[open] .blr-day-summary::after {
        content: "▴";
    }

    .wpb_wrapper .blr-creneaux-mobile .blr-day-body {
        padding: 0 16px 16px 16px;
    }

    .wpb_wrapper .blr-creneaux-mobile .blr-day-slots {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    .wpb_wrapper .blr-creneaux-mobile .blr-day-empty {
        padding: 10px 0;
        opacity: 0.7;
    }

    /* Tes boutons horaires en mobile: un peu plus "tap friendly" */
    .wpb_wrapper .blr-creneaux-mobile .btn.btn-time {
        padding: 12px 14px;
        border-radius: 10px;
    }
}
