/*
Theme Name: Nisarg Child - L'Échappée Cévenole
Theme URI: https://echapee.obicorp.fr/
Description: Thème enfant de Nisarg pour L'Échappée Cévenole.
Author: L'Échappée Cévenole
Template: nisarg
Version: 1.2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nisarg-child
*/

/* ============================================
   ÉCHAPPÉE CÉVENOLE - Surcharges du thème
   ============================================ */

.site-title, .entry-header, .nav-links, #secondary, .edit-link, .post-edit-link {
    display: none;
}

/* Logo "banderole" en remplacement du titre dans la barre de navigation */
.navbar-brand {
    display: inline-block;
    padding: 8px 15px;
    background-image: url('/wp-content/uploads/2026/05/banderole.png');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
    width: 240px;
    height: 50px;
    text-indent: -9999px;
    overflow: hidden;
    white-space: nowrap;
}

#primary {
    width: 100%;
}

.e-paragraph-base, .e-con-inner > h2 {
    text-align: center;
}

.entry-content, .post-content, .entry-footer, .featured-image {
    background-color: #E9F5E3;
}

/* ============================================
   ÉCHAPPÉE CÉVENOLE - Cartes chambres MPHB
   ============================================ */

/* ===== GRILLE ===== */
.entry-content .mphb_sc_rooms-wrapper.mphb-room-types {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 2.5rem;
    padding: 2rem 1rem;
    max-width: 1280px;
    margin: 0 auto;
    align-items: stretch;
}

/* ===== CARTE ===== */
.mphb-room-type {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(45, 60, 50, 0.10);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    display: flex !important;
    flex-direction: column;
    border: 1px solid #e0e8db;
    height: 100%;
    position: relative;
}

.mphb-room-type::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, #4a6b3e 0%, #6b8e6f 50%, #d4e3d0 100%);
    z-index: 2;
}

.mphb-room-type:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(45, 60, 50, 0.18);
}

/* ===== IMAGE ===== */
.mphb-room-type .post-thumbnail.mphb-loop-room-thumbnail {
    width: 100% !important;
    height: 320px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    flex-shrink: 0;
    background: #ece8de;
    display: block !important;
    line-height: 0;
    position: relative;
}

.mphb-room-type .post-thumbnail.mphb-loop-room-thumbnail a {
    display: block !important;
    width: 100% !important;
    height: 320px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
}

.mphb-room-type .post-thumbnail.mphb-loop-room-thumbnail img {
    width: 100% !important;
    height: 320px !important;
    max-width: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    transition: transform 0.7s ease;
}

.mphb-room-type:hover .post-thumbnail.mphb-loop-room-thumbnail img {
    transform: scale(1.07);
}

.mphb_sc_rooms-wrapper .mphb-room-type:not(:first-of-type),
.mphb_sc_search_results-wrapper .mphb-room-type:not(:first-of-type),
.mphb_sc_services-wrapper .mphb-service:not(:first-of-type) {
    margin-top: 0 !important;
}

/* ===== TITRE ===== */
.mphb-room-type-title.entry-title {
    margin: 1.6rem 1.8rem 0.6rem !important;
    font-size: 4rem !important;
    line-height: 1.2 !important;
    padding: 0 !important;
    font-family: Georgia, "Times New Roman", serif;
}

.mphb-room-type-title.entry-title a {
    color: #4a6b3e;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.25s ease;
    letter-spacing: 0.3px;
}

.mphb-room-type-title.entry-title a:hover {
    color: #6b4423;
}

/* ===== DESCRIPTION ===== */
.mphb-room-type > p:not(.post-thumbnail):not(.mphb-loop-room-thumbnail):not(.mphb-regular-price):not(.mphb-view-details-button-wrapper) {
    margin: 0 1.8rem 1.2rem !important;
    color: #4a5550;
    font-size: 1.4rem;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== DÉTAILS ===== */
.mphb-room-type-details-title {
    margin: 0.6rem 1.8rem 0.7rem !important;
    font-size: 1rem !important;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: #6b4423;
    font-weight: 700;
    border-bottom: 2px solid #d4e3d0;
    padding-bottom: 0.5rem;
}

.mphb-loop-room-type-attributes {
    list-style: none !important;
    margin: 0 1.8rem 1.1rem !important;
    padding: 0 !important;
    display: flex !important;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.mphb-loop-room-type-attributes li {
    display: inline-flex !important;
    align-items: center;
    gap: 0.4rem;
    font-size: 1.7rem;
    color: #2c3e34;
    background: #f0f5ec;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    margin: 0 !important;
    list-style: none !important;
    border: 1px solid #d4e3d0;
}

.mphb-attribute-title {
    font-weight: 600;
    color: #4a6b3e;
}

/* ===== PRIX ===== */
.mphb-regular-price {
    margin: 0.8rem 1.8rem !important;
    padding: 0.55rem 1.1rem !important;
    background: linear-gradient(135deg, #f5f1e6 0%, #e6dcc4 100%);
    border-radius: 10px;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.5rem;
    border-left: 4px solid #6b4423;
}

.mphb-regular-price strong {
    color: #4a5550;
    font-weight: 500;
    font-size: 1.6rem;
}

.mphb-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: #4a6b3e;
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.1;
}

.mphb-currency {
    font-size: 1.3rem;
    margin-right: 2px;
    color: #6b4423;
}

.mphb-price-period {
    font-size: 1.6rem;
    color: #6b8e6f;
    font-style: italic;
}

/* ===== BOUTONS ===== */
.mphb-view-details-button-wrapper {
    margin: auto 1.8rem 0.7rem 1.8rem !important;
    padding: 0 !important;
}

.mphb-to-book-btn-wrapper {
    margin: 0 1.8rem 1.8rem !important;
    padding: 0 !important;
}

.mphb-to-book-btn-wrapper br { display: none !important; }
.mphb-to-book-btn-wrapper form { margin: 0 !important; padding: 0 !important; }

.mphb-room-type .button {
    display: block !important;
    width: 100% !important;
    padding: 0.95rem 1rem !important;
    border-radius: 9px !important;
    font-weight: 600 !important;
    text-align: center !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    border: 2px solid transparent !important;
    box-sizing: border-box !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 1.8rem !important;
}

.mphb-view-details-button {
    background: transparent !important;
    color: #4a6b3e !important;
    border-color: #4a6b3e !important;
}

.mphb-view-details-button:hover {
    background: #4a6b3e !important;
    color: #ffffff !important;
}

.mphb-book-button {
    background: linear-gradient(135deg, #4a6b3e 0%, #6b8e6f 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(74, 107, 62, 0.30);
}

.mphb-book-button:hover {
    background: linear-gradient(135deg, #3a5530 0%, #557159 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(74, 107, 62, 0.42);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .entry-content .mphb_sc_rooms-wrapper.mphb-room-types {
        grid-template-columns: 1fr !important;
        gap: 1.8rem;
        padding: 1rem 0.5rem;
        max-width: 600px;
    }

    .mphb-room-type .post-thumbnail.mphb-loop-room-thumbnail,
    .mphb-room-type .post-thumbnail.mphb-loop-room-thumbnail a,
    .mphb-room-type .post-thumbnail.mphb-loop-room-thumbnail img {
        height: 260px !important;
    }

    .mphb-room-type-title.entry-title { font-size: 1.7rem !important; }
    .mphb-price { font-size: 1.4rem; }
}

@media (max-width: 480px) {
    .mphb-room-type .post-thumbnail.mphb-loop-room-thumbnail,
    .mphb-room-type .post-thumbnail.mphb-loop-room-thumbnail a,
    .mphb-room-type .post-thumbnail.mphb-loop-room-thumbnail img {
        height: 220px !important;
    }
    .mphb-room-type-title.entry-title { font-size: 1.5rem !important; margin: 1.2rem 1.3rem 0.4rem !important; }
    .mphb-room-type > p:not(.post-thumbnail):not(.mphb-loop-room-thumbnail):not(.mphb-regular-price):not(.mphb-view-details-button-wrapper),
    .mphb-room-type-details-title,
    .mphb-loop-room-type-attributes,
    .mphb-regular-price,
    .mphb-view-details-button-wrapper,
    .mphb-to-book-btn-wrapper { margin-left: 1.3rem !important; margin-right: 1.3rem !important; }
}

/* ============================================
   ÉCHAPPÉE CÉVENOLE - Page chambre (single)
   Sélecteurs scopés sur l'article MPHB pour
   garantir l'application sans connaître le body.
   ============================================ */

/* Recentrer le contenu principal sur la page chambre */
article.mphb_room_type.type-mphb_room_type {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem 3rem;
}

/* Réafficher l'en-tête uniquement dans cet article (override le display:none global) */
article.mphb_room_type.type-mphb_room_type > .entry-header {
    display: block !important;
    text-align: center;
    margin: 2rem auto 1.5rem;
    padding: 0;
}

article.mphb_room_type.type-mphb_room_type > .entry-header .entry-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 3.2rem;
    color: #4a6b3e;
    line-height: 1.15;
    margin: 0 auto;
    letter-spacing: 0.5px;
    display: inline-block;
    padding: 0;
    font-weight: 600;
}

article.mphb_room_type.type-mphb_room_type > .entry-header .entry-title::after {
    content: "";
    display: block;
    width: 90px;
    height: 3px;
    background: linear-gradient(90deg, #4a6b3e, #6b8e6f, #d4e3d0);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* ===== IMAGE EN VEDETTE ===== */
article.mphb_room_type.type-mphb_room_type > .featured-image {
    background-color: transparent !important;
    margin: 0 auto 2.2rem;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 10px 32px rgba(45, 60, 50, 0.18);
    max-width: 1100px;
    line-height: 0;
}

article.mphb_room_type.type-mphb_room_type > .featured-image img {
    display: block;
    width: 100%;
    height: 480px;
    max-width: none;
    object-fit: cover;
    object-position: center;
    margin: 0;
    border-radius: 28px;
}

/* ===== CONTENU ===== */
article.mphb_room_type.type-mphb_room_type > .entry-content {
    background-color: transparent !important;
    padding: 0;
    max-width: 880px;
    margin: 0 auto;
}

article.mphb_room_type.type-mphb_room_type > .entry-content > p {
    font-size: 1.6rem;
    line-height: 1.7;
    color: #3a4540;
    margin: 0 0 1.1rem;
}

/* ===== TITRES DE SECTION (Détails / Disponibilité / Formulaire) ===== */
article.mphb_room_type.type-mphb_room_type .mphb-details-title,
article.mphb_room_type.type-mphb_room_type .mphb-calendar-title,
article.mphb_room_type.type-mphb_room_type .mphb-reservation-form-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.1rem;
    color: #4a6b3e;
    margin: 2.5rem 0 1.2rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid #d4e3d0;
    font-weight: 600;
    line-height: 1.2;
}

article.mphb_room_type.type-mphb_room_type .mphb-details-title::before,
article.mphb_room_type.type-mphb_room_type .mphb-calendar-title::before,
article.mphb_room_type.type-mphb_room_type .mphb-reservation-form-title::before {
    content: "❦";
    color: #6b4423;
    margin-right: 0.6rem;
    font-size: 1.3rem;
    vertical-align: middle;
}

/* ===== LISTE DES DÉTAILS (page single) — sans puces ===== */
article.mphb_room_type.type-mphb_room_type .mphb-single-room-type-attributes {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 1.8rem !important;
    display: flex !important;
    flex-wrap: wrap;
    gap: 0.7rem;
}

article.mphb_room_type.type-mphb_room_type .mphb-single-room-type-attributes li {
    list-style: none !important;
    background: #ffffff;
    border: 1.5px solid #d4e3d0;
    color: #2c3e34;
    padding: 0.7rem 1.2rem;
    border-radius: 999px;
    font-size: 1.05rem;
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    margin: 0 !important;
    box-shadow: 0 2px 6px rgba(45, 60, 50, 0.06);
}

article.mphb_room_type.type-mphb_room_type .mphb-single-room-type-attributes li::marker {
    content: "";
}

article.mphb_room_type.type-mphb_room_type .mphb-single-room-type-attributes .mphb-attribute-title {
    font-weight: 600;
    color: #4a6b3e;
}

/* ===== PRIX (page single) ===== */
article.mphb_room_type.type-mphb_room_type .mphb-regular-price {
    margin: 1.2rem 0 2rem !important;
    padding: 0.85rem 1.3rem !important;
    max-width: 100%;
}

/* ===== CALENDRIER ===== */
article.mphb_room_type.type-mphb_room_type .mphb-calendar {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.4rem;
    box-shadow: 0 6px 20px rgba(45, 60, 50, 0.12);
    border: 1px solid #e0e8db;
    max-width: 720px !important;
    width: 100%;
    margin: 0 0 1.5rem;
    display: block;
    overflow: hidden;
    box-sizing: border-box;
}

/* Tuer toutes les bordures internes laissées par le CSS du plugin datepick */
article.mphb_room_type.type-mphb_room_type .mphb-calendar .datepick,
article.mphb_room_type.type-mphb_room_type .mphb-calendar .datepick *,
article.mphb_room_type.type-mphb_room_type .mphb-calendar table,
article.mphb_room_type.type-mphb_room_type .mphb-calendar thead,
article.mphb_room_type.type-mphb_room_type .mphb-calendar tbody,
article.mphb_room_type.type-mphb_room_type .mphb-calendar tr,
article.mphb_room_type.type-mphb_room_type .mphb-calendar th,
article.mphb_room_type.type-mphb_room_type .mphb-calendar td {
    border: 0 !important;
    box-shadow: none;
}

/* override de la largeur inline injectée par le JS */
article.mphb_room_type.type-mphb_room_type .datepick.datepick-multi {
    width: 100% !important;
    max-width: 100%;
    border: 0 !important;
    background: transparent !important;
    box-sizing: border-box;
}

article.mphb_room_type.type-mphb_room_type .datepick-nav {
    background: linear-gradient(135deg, #4a6b3e 0%, #6b8e6f 100%) !important;
    border-radius: 10px;
    padding: 0.6rem 0.8rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 0 !important;
}

article.mphb_room_type.type-mphb_room_type .datepick-nav .datepick-cmd {
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    padding: 0.4rem 0.95rem !important;
    border-radius: 6px !important;
    font-size: 0.95rem !important;
    background: transparent !important;
    transition: background 0.2s ease, transform 0.2s ease;
    border: 0 !important;
    float: none !important;
    font-size: 1.3rem !important;
}

article.mphb_room_type.type-mphb_room_type .datepick-nav .datepick-cmd:hover {
    background: rgba(255, 255, 255, 0.22) !important;
    transform: translateY(-1px);
}

article.mphb_room_type.type-mphb_room_type .datepick-nav .datepick-disabled {
    opacity: 0.4 !important;
    pointer-events: none;
}

/* Disposition des deux mois : grille 2 colonnes, repli en 1 colonne */
article.mphb_room_type.type-mphb_room_type .datepick-month-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    width: 100%;
    align-items: start !important;
}

article.mphb_room_type.type-mphb_room_type .datepick-month {
    float: none !important;
    width: 100% !important;
    padding: 0;
    box-sizing: border-box;
    align-self: start !important;
}

article.mphb_room_type.type-mphb_room_type .datepick-clear-fix {
    display: none !important;
}

article.mphb_room_type.type-mphb_room_type .datepick-month-header {
    background: #f5f1e6;
    color: #4a6b3e;
    font-weight: 700;
    text-align: center;
    padding: 0.55rem;
    border-radius: 8px;
    margin: 0 0 0.6rem;
    font-family: Georgia, serif;
    font-size: 1.4rem;
}

article.mphb_room_type.type-mphb_room_type .datepick-month-header select {
    background: transparent !important;
    border: 0 !important;
    color: #4a6b3e !important;
    font-weight: 700 !important;
    font-family: Georgia, serif !important;
    cursor: pointer;
    padding: 0 0.2rem !important;
    font-size: 1.4rem !important;
    margin: 0 0.1rem;
}

article.mphb_room_type.type-mphb_room_type .datepick-month table {
    border-collapse: separate !important;
    border-spacing: 4px;
    width: 100% !important;
    table-layout: fixed;
    background: transparent !important;
    border: 0 !important;
    margin: 0 !important;
}

article.mphb_room_type.type-mphb_room_type .datepick-month thead th {
    color: #6b4423 !important;
    font-size: 1.3rem !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.35rem 0;
    border: 0 !important;
    background: transparent !important;
    text-align: center;
    width: 14.28%;
}

article.mphb_room_type.type-mphb_room_type .datepick-month tbody tr,
article.mphb_room_type.type-mphb_room_type .datepick-month tbody tr:nth-child(odd),
article.mphb_room_type.type-mphb_room_type .datepick-month tbody tr:nth-child(even) {
    height: 42px !important;
    background: transparent !important;
    background-color: transparent !important;
}

article.mphb_room_type.type-mphb_room_type .datepick-month tbody td {
    padding: 2px 0 !important;
    border: 0 !important;
    background: transparent !important;
    text-align: center;
    vertical-align: middle;
    height: 42px !important;
    min-height: 42px;
}

article.mphb_room_type.type-mphb_room_type .datepick-month tbody td span {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border-radius: 8px;
    font-size: 0.88rem;
    margin: 0 auto;
    transition: transform 0.2s ease, background 0.2s ease;
    box-sizing: border-box;
    padding: 0;
    vertical-align: middle;
}

article.mphb_room_type.type-mphb_room_type .mphb-available-date {
    background: #d4e3d0 !important;
    color: #2c3e34 !important;
    cursor: pointer;
    font-weight: 600;
}

article.mphb_room_type.type-mphb_room_type .mphb-available-date:hover {
    background: #6b8e6f !important;
    color: #ffffff !important;
    transform: scale(1.08);
}

article.mphb_room_type.type-mphb_room_type .mphb-past-date {
    background: transparent !important;
    color: #c0c0b8 !important;
    cursor: not-allowed;
}

article.mphb_room_type.type-mphb_room_type .mphb-extra-date {
    background: transparent !important;
    color: transparent !important;
    cursor: default;
}

article.mphb_room_type.type-mphb_room_type .datepick-today {
    box-shadow: inset 0 0 0 2px #6b4423;
    font-weight: 800;
}

article.mphb_room_type.type-mphb_room_type .datepick-weekend.mphb-available-date {
    background: #c3d8be !important;
}

/* ===== FORMULAIRE DE RÉSERVATION ===== */
article.mphb_room_type.type-mphb_room_type .mphb-booking-form {
    background: #ffffff;
    border-radius: 18px;
    padding: 2.5rem 2.8rem;
    box-shadow: 0 8px 24px rgba(45, 60, 50, 0.12);
    border: 1px solid #e0e8db;
    max-width: 100%;
}

article.mphb_room_type.type-mphb_room_type .mphb-booking-form .mphb-required-fields-tip {
    color: #6b8e6f;
    font-style: italic;
    margin: 0 0 1.8rem;
    font-size: 1.25rem;
}

article.mphb_room_type.type-mphb_room_type .mphb-booking-form .mphb-required-fields-tip small {
    font-size: inherit;
}

article.mphb_room_type.type-mphb_room_type .mphb-booking-form label {
    display: block;
    font-weight: 600;
    color: #4a6b3e;
    margin-bottom: 0.25rem;
    font-size: 1.5rem;
    letter-spacing: 0.2px;
    line-height: 1.2;
}

/* Le plugin insère un <br> entre <label> et <input> : on le supprime
   visuellement puisque le label est déjà en display:block. */
article.mphb_room_type.type-mphb_room_type .mphb-booking-form label + br {
    display: none;
}

article.mphb_room_type.type-mphb_room_type .mphb-booking-form input[type="text"],
article.mphb_room_type.type-mphb_room_type .mphb-booking-form input[type="email"],
article.mphb_room_type.type-mphb_room_type .mphb-booking-form select {
    width: 100%;
    max-width: 480px;
    padding: 1.1rem 1.3rem;
    border: 2px solid #d4e3d0;
    border-radius: 11px;
    background: #f9fbf7;
    color: #2c3e34;
    font-size: 1.35rem;
    line-height: 1.3;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    box-sizing: border-box;
    font-family: inherit;
    height: auto;
}

article.mphb_room_type.type-mphb_room_type .mphb-booking-form input:focus,
article.mphb_room_type.type-mphb_room_type .mphb-booking-form select:focus {
    outline: 0;
    border-color: #4a6b3e;
    box-shadow: 0 0 0 4px rgba(74, 107, 62, 0.18);
    background: #ffffff;
}

article.mphb_room_type.type-mphb_room_type .mphb-booking-form p {
    margin: 0 0 1.6rem;
}

article.mphb_room_type.type-mphb_room_type .mphb-booking-form abbr {
    color: #6b4423;
    text-decoration: none;
    border: 0;
    margin-left: 0.2rem;
    font-size: inherit;
}

article.mphb_room_type.type-mphb_room_type .mphb-booking-form .mphb-reserve-btn,
article.mphb_room_type.type-mphb_room_type .mphb-booking-form input[type="submit"] {
    display: inline-block;
    background: linear-gradient(135deg, #4a6b3e 0%, #6b8e6f 100%) !important;
    color: #ffffff !important;
    border: 0 !important;
    padding: 1.25rem 3rem !important;
    border-radius: 11px !important;
    font-weight: 700 !important;
    font-size: 1.4rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    box-shadow: 0 6px 18px rgba(74, 107, 62, 0.34) !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    line-height: 1.2 !important;
}

article.mphb_room_type.type-mphb_room_type .mphb-booking-form .mphb-reserve-btn:hover,
article.mphb_room_type.type-mphb_room_type .mphb-booking-form input[type="submit"]:hover {
    background: linear-gradient(135deg, #3a5530 0%, #557159 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 24px rgba(74, 107, 62, 0.44) !important;
}

/* ===== Cacher commentaires & navigation post sur les pages chambre ===== */
.single-mphb_room_type .post-comments,
.single-mphb_room_type .post-navigation,
body.single article.mphb_room_type ~ .post-comments,
body.single article.mphb_room_type ~ .post-navigation {
    display: none !important;
}

/* ===== RESPONSIVE PAGE SINGLE ===== */
@media (max-width: 768px) {
    article.mphb_room_type.type-mphb_room_type > .featured-image img { height: 320px; }
    article.mphb_room_type.type-mphb_room_type > .entry-header .entry-title { font-size: 2.3rem; }
    article.mphb_room_type.type-mphb_room_type .mphb-details-title,
    article.mphb_room_type.type-mphb_room_type .mphb-calendar-title,
    article.mphb_room_type.type-mphb_room_type .mphb-reservation-form-title { font-size: 1.6rem; }
    article.mphb_room_type.type-mphb_room_type .mphb-booking-form { padding: 1.3rem; }
    article.mphb_room_type.type-mphb_room_type .mphb-booking-form input[type="text"],
    article.mphb_room_type.type-mphb_room_type .mphb-booking-form input[type="email"],
    article.mphb_room_type.type-mphb_room_type .mphb-booking-form select { max-width: 100%; }
    article.mphb_room_type.type-mphb_room_type .datepick-month-row { grid-template-columns: 1fr !important; }
    article.mphb_room_type.type-mphb_room_type .mphb-calendar { padding: 1rem; }
}

/* ============================================
   ÉCHAPPÉE CÉVENOLE - Page À PROPOS (page-id-85)
   Sélecteurs scopés strictement sur cette page
   ============================================ */

/* Padding aéré sur la zone de contenu (fond #E9F5E3 hérité du thème) */
body.page-id-85 .entry-content {
    padding: 4rem 2rem 5rem !important;
}

/* Espacement vertical généreux entre les sections Elementor v4 */
body.page-id-85 .e-con.e-parent {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

/* Force layout 1/3 - 2/3 en surchargeant la grid template Elementor v4
   Cible les 3 sections de la page À propos par leur ID Elementor.
   Spécificité 0,3,1 (matche celle de post-85.css) + !important = gagne. */
body.page-id-85 .elementor-element.elementor-element-f66e69e,
body.page-id-85 .elementor-element.elementor-element-efbb639,
body.page-id-85 .elementor-element.elementor-element-968c1ed {
    --e-con-grid-template-columns: 1fr 2fr !important;
    --gap: 2rem !important;
    --column-gap: 2rem !important;
    --row-gap: 0 !important;
}

/* Sécurité : si une nouvelle section grid est ajoutée à la page, elle hérite du ratio */
body.page-id-85 .e-con.e-parent.e-grid {
    --e-con-grid-template-columns: 1fr 2fr !important;
}

/* Mobile : 1 seule colonne (titre au-dessus, paragraphe en-dessous) */
@media (max-width: 767px) {
    body.page-id-85 .elementor-element.elementor-element-f66e69e,
    body.page-id-85 .elementor-element.elementor-element-efbb639,
    body.page-id-85 .elementor-element.elementor-element-968c1ed {
        --e-con-grid-template-columns: 1fr !important;
    }
}

/* ===== Séparateur ornemental ❧ entre sections ===== */
body.page-id-85 .e-con.e-parent + .e-con.e-parent::before {
    content: "❧" !important;
    display: block !important;
    text-align: center !important;
    color: #6b4423 !important;
    font-size: 2rem !important;
    line-height: 1 !important;
    margin: 0 auto 2.8rem !important;
    opacity: 0.65 !important;
    width: 100% !important;
}

/* ===== TITRES — Cormorant Garamond, gros, avec ❧ au-dessus + barre verticale ===== */
body.page-id-85 .e-heading-base,
body.page-id-85 h2.e-heading-base,
body.page-id-85 h1.e-heading-base,
body.page-id-85 h3.e-heading-base,
body.page-id-85 .e-con-inner > h2,
body.page-id-85 .e-con-inner > h1,
body.page-id-85 .e-con-inner > h3 {
    font-family: 'Cormorant Garamond', Georgia, "Times New Roman", serif !important;
    color: #2c3e34 !important;
    font-weight: 500 !important;
    font-size: 2.3rem !important;
    line-height: 1.15 !important;
    letter-spacing: -0.3px !important;
    text-align: left !important;
    border-left: 3px solid #4a6b3e !important;
    padding: 0.2rem 0 0.4rem 1.6rem !important;
    margin: 0 !important;
    display: block !important;
    position: relative !important;
}

/* ❧ feuille décorative au-dessus du titre — comble le vide à gauche */
body.page-id-85 .e-heading-base::before,
body.page-id-85 .e-con-inner > h2::before,
body.page-id-85 .e-con-inner > h1::before,
body.page-id-85 .e-con-inner > h3::before {
    content: "❧" !important;
    display: block !important;
    color: #6b4423 !important;
    font-size: 1.8rem !important;
    line-height: 1 !important;
    margin: 0 0 0.9rem 0 !important;
    opacity: 0.7 !important;
    font-weight: normal !important;
    font-style: normal !important;
}

/* Trait fin vert sous le titre */
body.page-id-85 .e-heading-base::after,
body.page-id-85 .e-con-inner > h2::after,
body.page-id-85 .e-con-inner > h1::after,
body.page-id-85 .e-con-inner > h3::after {
    content: "" !important;
    display: block !important;
    width: 64px !important;
    height: 2px !important;
    background: #4a6b3e !important;
    margin: 1.1rem 0 0 0 !important;
    border-radius: 2px !important;
}

/* ===== PARAGRAPHES — texte plus gros, lisible, aéré ===== */
body.page-id-85 .e-paragraph-base {
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: 1.4rem !important;
    line-height: 1.8 !important;
    color: #3a4540 !important;
    font-weight: 400 !important;
    text-align: left !important;
    margin: 0 0 1.4rem !important;
}

body.page-id-85 .e-paragraph-base:last-child {
    margin-bottom: 0 !important;
}

/* ===== LETTRINE — bien marquée, sur le 1er paragraphe de chaque section ===== */
body.page-id-85 .e-con-inner > .e-paragraph-base:first-of-type::first-letter,
body.page-id-85 .e-con > .e-paragraph-base:first-of-type::first-letter {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 4.4rem !important;
    font-weight: 600 !important;
    float: left !important;
    line-height: 0.85 !important;
    margin: 0.35rem 0.7rem -0.15rem 0 !important;
    color: #4a6b3e !important;
}

/* Compat. text-editor classique */
body.page-id-85 .elementor-widget-text-editor p {
    text-align: left !important;
    font-size: 1.4rem !important;
    line-height: 1.8 !important;
    color: #3a4540 !important;
    margin: 0 0 1.4rem !important;
}

body.page-id-85 .elementor-widget-text-editor p:first-of-type::first-letter {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 4.4rem !important;
    font-weight: 600 !important;
    float: left !important;
    line-height: 0.85 !important;
    margin: 0.35rem 0.7rem -0.15rem 0 !important;
    color: #4a6b3e !important;
}

/* Liens dans le contenu */
body.page-id-85 .entry-content a {
    color: #6b4423 !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(107, 68, 35, 0.4) !important;
}

body.page-id-85 .entry-content a:hover {
    color: #4a6b3e !important;
    border-bottom-color: #4a6b3e !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    body.page-id-85 .entry-content {
        padding: 2.5rem 1.25rem 3rem !important;
    }
    body.page-id-85 .elementor-section,
    body.page-id-85 .e-con.e-parent {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}

/* ============================================
   ÉCHAPPÉE CÉVENOLE - Page Résultats de la recherche
   ============================================ */

/* Réafficher le titre "Résultats de la recherche" */
article:has(.mphb_sc_search_results-wrapper) > .entry-header {
    display: block !important;
    text-align: center;
    margin: 2.5rem auto 1.5rem;
    padding: 0 1rem;
}

article:has(.mphb_sc_search_results-wrapper) > .entry-header .entry-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 3rem;
    color: #4a6b3e;
    line-height: 1.15;
    margin: 0 auto;
    letter-spacing: 0.5px;
    font-weight: 600;
}

article:has(.mphb_sc_search_results-wrapper) > .entry-header .entry-title::after {
    content: "";
    display: block;
    width: 90px;
    height: 3px;
    background: linear-gradient(90deg, #4a6b3e, #6b8e6f, #d4e3d0);
    margin: 1rem auto 0;
    border-radius: 2px;
}

article:has(.mphb_sc_search_results-wrapper) > .entry-header .entry-meta {
    display: none;
}

/* ===== WRAPPER ===== */
.mphb_sc_search_results-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1rem 3rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.mphb_sc_search_results-wrapper > .mphb_sc_search_results-info,
.mphb_sc_search_results-wrapper > .mphb-recommendation-title,
.mphb_sc_search_results-wrapper > form {
    flex: 0 0 100%;
    width: 100%;
}

/* ===== BANNIÈRE D'INFO ===== */
.mphb_sc_search_results-info {
    text-align: center;
    font-size: 1.5rem;
    color: #4a5550;
    background: #ffffff;
    border-left: 4px solid #6b4423;
    border-radius: 10px;
    padding: 1rem 1.5rem;
    margin: 0 !important;
    box-shadow: 0 4px 14px rgba(45, 60, 50, 0.08);
    font-style: italic;
}

/* ===== TITRE RECOMMANDATION ===== */
.mphb-recommendation-title {
    text-align: center;
    font-family: Georgia, "Times New Roman", serif;
    color: #4a6b3e;
    font-size: 2.6rem;
    margin: 0 !important;
    padding: 0;
    font-weight: 600;
    letter-spacing: 0.4px;
}

.mphb-recommendation-title::before {
    content: "★";
    color: #6b4423;
    margin-right: 0.6rem;
    font-size: 0.85em;
    vertical-align: middle;
}

/* ===== FORM RECOMMANDATION (MISE EN AVANT) ===== */
form#mphb-recommendation.mphb-recommendation {
    background: linear-gradient(135deg, #ffffff 0%, #f5f9f1 100%);
    border-radius: 20px;
    padding: 2.2rem 2.4rem;
    box-shadow: 0 12px 36px rgba(74, 107, 62, 0.20);
    border: 2px solid #6b8e6f;
    position: relative;
    overflow: hidden;
}

form#mphb-recommendation.mphb-recommendation::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    background: linear-gradient(90deg, #4a6b3e 0%, #6b8e6f 50%, #d4e3d0 100%);
}

.mphb-recommendation-details-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 1.5rem !important;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.mphb-recommendation-details-list li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0;
}

.mphb-recommendation-details-list li::marker { content: ""; }

.mphb-recommendation-item {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.6rem 1rem;
    background: #ffffff;
    border: 1px solid #e0e8db;
    border-radius: 12px;
    padding: 1rem 1.3rem;
    box-shadow: 0 2px 8px rgba(45, 60, 50, 0.06);
}

.mphb-recommendation-item-count {
    font-weight: 700;
    color: #4a6b3e;
    font-size: 1.4rem;
    font-family: Georgia, serif;
}

.mphb-recommendation-item-link {
    color: #4a6b3e !important;
    font-weight: 600;
    font-size: 1.6rem;
    text-decoration: none !important;
    border-bottom: 1px dashed rgba(74, 107, 62, 0.5);
    font-family: Georgia, "Times New Roman", serif;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.mphb-recommendation-item-link:hover {
    color: #6b4423 !important;
    border-bottom-color: #6b4423;
}

.mphb-recommedation-item-subtotal {
    margin-left: auto;
    font-size: 1.5rem;
    font-weight: 700;
    color: #4a6b3e;
}

.mphb-recommendation-item-guests {
    flex: 0 0 100%;
    margin-top: 0.2rem;
    color: #6b8e6f;
    font-size: 1.2rem;
    font-style: italic;
}

.mphb-recommendation-item-guests-label { color: #4a5550; }

.mphb-recommendation-item-total-capacity {
    font-weight: 600;
    color: #4a6b3e;
}

/* Total recommandation */
.mphb-recommendation-total {
    margin: 0 0 1.4rem !important;
    padding: 1rem 1.4rem;
    background: linear-gradient(135deg, #f5f1e6 0%, #e6dcc4 100%);
    border-radius: 12px;
    border-left: 4px solid #6b4423;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.mphb-recommendation-total-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #4a5550;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.mphb-recommendation-total-value .mphb-price {
    font-size: 2rem !important;
}

/* Bouton "Réserver" recommandation */
.mphb-recommendation-reserve-button {
    display: block !important;
    width: 100% !important;
    background: linear-gradient(135deg, #4a6b3e 0%, #6b8e6f 100%) !important;
    color: #ffffff !important;
    border: 0 !important;
    padding: 1.15rem 2rem !important;
    border-radius: 11px !important;
    font-weight: 700 !important;
    font-size: 1.5rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 6px 18px rgba(74, 107, 62, 0.32) !important;
    line-height: 1.2 !important;
}

.mphb-recommendation-reserve-button:hover {
    background: linear-gradient(135deg, #3a5530 0%, #557159 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(74, 107, 62, 0.45) !important;
}

/* ===== FORM RÉSERVATION CART (panier) ===== */
form#mphb-reservation-cart.mphb-reservation-cart {
    background: rgba(255, 255, 255, 0.55);
    border: 1px dashed #b5c8b0;
    border-radius: 14px;
    padding: 1.2rem 1.6rem;
    box-shadow: none;
    text-align: center;
}

.mphb-reservation-cart .mphb-reservation-details {
    margin: 0 0 0.4rem;
}

.mphb-empty-cart-message {
    color: #6b8e6f;
    font-style: italic;
    margin: 0 !important;
    font-size: 1.35rem;
}

.mphb-cart-message:empty { display: none; }

/* Cacher le total et le bouton tant que le panier est vide */
.mphb-reservation-cart.mphb-empty-cart .mphb-cart-total-price,
.mphb-reservation-cart.mphb-empty-cart .mphb-confirm-reservation {
    display: none !important;
}

.mphb-cart-total-price {
    margin: 0.6rem 0 0 !important;
    font-size: 1.4rem;
    color: #4a5550;
}

.mphb-cart-total-price-title {
    font-weight: 600;
    color: #4a6b3e;
    margin-right: 0.4rem;
}

/* ===== GRILLE DES CHAMBRES (résultats) ===== */
.mphb_sc_search_results-wrapper > .mphb-room-type {
    flex: 1 1 calc(50% - 1rem);
    min-width: 320px;
    max-width: 100%;
    margin: 0 !important;
}

/* Section "Réserver / Supprimer" sur la carte chambre dans les résultats */
.mphb-reserve-room-section {
    margin: 0 1.8rem 1.8rem !important;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.mphb-rooms-reservation-message-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
}

.mphb-remove-from-reservation {
    color: #6b4423 !important;
    font-size: 1.2rem;
    text-decoration: none !important;
    border-bottom: 1px dashed rgba(107, 68, 35, 0.5);
    transition: color 0.2s ease;
}

.mphb-remove-from-reservation:hover {
    color: #4a6b3e !important;
}

.mphb-rooms-reservation-message {
    margin: 0 !important;
    font-size: 1.2rem;
    color: #6b8e6f;
    font-style: italic;
}

.mphb-clear { clear: both; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    article:has(.mphb_sc_search_results-wrapper) > .entry-header .entry-title { font-size: 2.2rem; }
    .mphb_sc_search_results-wrapper {
        gap: 1.5rem;
        padding: 1.2rem 0.5rem 2rem;
    }
    .mphb_sc_search_results-wrapper > .mphb-room-type {
        flex: 1 1 100%;
        min-width: 0;
    }
    .mphb-recommendation-title { font-size: 2rem; }
    form#mphb-recommendation.mphb-recommendation { padding: 1.6rem 1.4rem; }
    .mphb-recommendation-item { padding: 0.85rem 1rem; }
    .mphb-recommendation-item-link { font-size: 1.4rem; }
    .mphb-recommendation-total-value .mphb-price { font-size: 1.7rem !important; }
}

@media (max-width: 480px) {
    .mphb_sc_search_results-info { font-size: 1.3rem; padding: 0.85rem 1.1rem; }
    .mphb-recommendation-title { font-size: 1.7rem; }
    article:has(.mphb_sc_search_results-wrapper) > .entry-header .entry-title { font-size: 1.9rem; }
    .mphb-recommendation-reserve-button { font-size: 1.3rem !important; padding: 1rem 1.4rem !important; }
}

/* ============================================
   ÉCHAPPÉE CÉVENOLE - Résultats de recherche : compléments
   (override des floats du plugin + panier non vide + bouton confirm)
   ============================================ */

/* ===== Tuer les floats hérités du plugin MPHB ===== */
form#mphb-recommendation .mphb-recommendation-total,
form#mphb-recommendation .mphb-recommendation-reserve-button,
form#mphb-reservation-cart .mphb-cart-total-price,
form#mphb-reservation-cart .mphb-confirm-reservation,
.mphb-reserve-room-section .mphb-book-button,
.mphb-reserve-room-section .mphb-confirm-reservation,
.mphb-rooms-reservation-message-wrapper .mphb-remove-from-reservation,
.mphb-rooms-reservation-message-wrapper .mphb-rooms-reservation-message {
    float: none !important;
}

/* Forcer le total recommandation en pleine largeur */
form#mphb-recommendation .mphb-recommendation-total {
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: left;
}

/* ===== PANIER NON VIDE (1 logement sélectionné) ===== */
form#mphb-reservation-cart.mphb-reservation-cart:not(.mphb-empty-cart) {
    background: linear-gradient(135deg, #ffffff 0%, #f5f9f1 100%);
    border: 1.5px solid #6b8e6f;
    border-style: solid;
    box-shadow: 0 6px 20px rgba(74, 107, 62, 0.14);
    text-align: left;
    padding: 1.5rem 1.8rem;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-gap: 0.6rem 1.5rem;
    align-items: center;
}

form#mphb-reservation-cart.mphb-reservation-cart:not(.mphb-empty-cart) .mphb-reservation-details {
    grid-column: 1 / 2;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

form#mphb-reservation-cart.mphb-reservation-cart:not(.mphb-empty-cart) .mphb-empty-cart-message {
    display: none !important;
}

form#mphb-reservation-cart.mphb-reservation-cart:not(.mphb-empty-cart) .mphb-cart-message {
    margin: 0 !important;
    font-size: 1.4rem;
    font-weight: 600;
    color: #4a6b3e;
    font-style: normal;
    display: block !important;
}

form#mphb-reservation-cart.mphb-reservation-cart:not(.mphb-empty-cart) .mphb-cart-total-price {
    display: flex !important;
    align-items: baseline;
    gap: 0.5rem;
    margin: 0 !important;
    padding: 0.5rem 0.9rem;
    background: linear-gradient(135deg, #f5f1e6 0%, #e6dcc4 100%);
    border-left: 3px solid #6b4423;
    border-radius: 8px;
    align-self: flex-start;
    width: fit-content;
    font-size: 1.4rem;
}

form#mphb-reservation-cart.mphb-reservation-cart:not(.mphb-empty-cart) .mphb-cart-total-price-title {
    font-weight: 700;
    color: #4a5550;
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 1px;
    margin-right: 0.2rem;
}

form#mphb-reservation-cart.mphb-reservation-cart:not(.mphb-empty-cart) .mphb-confirm-reservation {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    align-self: center;
    width: auto !important;
    margin: 0 !important;
}

/* ===== BOUTON "Confirmer la réservation" (style global cohérent) ===== */
.mphb-confirm-reservation {
    display: inline-block !important;
    background: linear-gradient(135deg, #6b4423 0%, #8a5a30 100%) !important;
    color: #ffffff !important;
    border: 0 !important;
    padding: 1.05rem 2rem !important;
    border-radius: 11px !important;
    font-weight: 700 !important;
    font-size: 1.35rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 6px 18px rgba(107, 68, 35, 0.30) !important;
    line-height: 1.2 !important;
    text-align: center !important;
}

.mphb-confirm-reservation:hover {
    background: linear-gradient(135deg, #5a3a1c 0%, #6f4622 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(107, 68, 35, 0.42) !important;
}

/* ===== Section réservation sur la carte chambre : visibilité conditionnelle ===== */
.mphb-reserve-room-section:not(.mphb-rooms-added) .mphb-rooms-reservation-message-wrapper,
.mphb-reserve-room-section:not(.mphb-rooms-added) .mphb-confirm-reservation {
    display: none !important;
}

/* Quand la chambre est ajoutée : message à gauche, bouton "Confirmer" plein largeur */
.mphb-reserve-room-section.mphb-rooms-added {
    background: #f5f9f1;
    border: 1px solid #d4e3d0;
    border-radius: 12px;
    padding: 1rem 1.1rem !important;
    margin: 0.4rem 1.8rem 1.8rem !important;
}

.mphb-reserve-room-section.mphb-rooms-added .mphb-rooms-reservation-message-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    margin-bottom: 0.7rem;
}

.mphb-reserve-room-section.mphb-rooms-added .mphb-rooms-reservation-message {
    font-size: 1.25rem;
    color: #4a6b3e;
    font-weight: 600;
    font-style: normal;
}

.mphb-reserve-room-section.mphb-rooms-added .mphb-confirm-reservation {
    display: block !important;
    width: 100% !important;
    margin-top: 0.6rem !important;
}

/* ===== Responsive (compléments) ===== */
@media (max-width: 700px) {
    form#mphb-reservation-cart.mphb-reservation-cart:not(.mphb-empty-cart) {
        grid-template-columns: 1fr;
        text-align: left;
    }
    form#mphb-reservation-cart.mphb-reservation-cart:not(.mphb-empty-cart) .mphb-confirm-reservation {
        grid-column: 1 / 2;
        grid-row: auto;
        width: 100% !important;
    }
}

/* ============================================
   ÉCHAPPÉE CÉVENOLE - Page Confirmation de réservation
   ============================================ */

/* Réafficher l'en-tête sur la page checkout */
article:has(.mphb_sc_checkout-wrapper) > .entry-header {
    display: block !important;
    text-align: center;
    margin: 2.5rem auto 1.5rem;
    padding: 0 1rem;
}

article:has(.mphb_sc_checkout-wrapper) > .entry-header .entry-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 3rem;
    color: #4a6b3e;
    line-height: 1.15;
    margin: 0 auto;
    letter-spacing: 0.5px;
    font-weight: 600;
}

article:has(.mphb_sc_checkout-wrapper) > .entry-header .entry-title::after {
    content: "";
    display: block;
    width: 90px;
    height: 3px;
    background: linear-gradient(90deg, #4a6b3e, #6b8e6f, #d4e3d0);
    margin: 1rem auto 0;
    border-radius: 2px;
}

article:has(.mphb_sc_checkout-wrapper) > .entry-header .entry-meta {
    display: none;
}

/* ===== WRAPPER ===== */
.mphb_sc_checkout-wrapper {
    max-width: 980px;
    margin: 1rem auto 3rem;
    padding: 0 1rem;
}

.mphb_sc_checkout-form {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

/* ===== SECTIONS (cartes blanches) ===== */
.mphb-checkout-section {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.8rem 2rem;
    box-shadow: 0 6px 20px rgba(45, 60, 50, 0.10);
    border: 1px solid #e0e8db;
    margin: 0 !important;
}

/* ===== TITRES DE SECTION ===== */
.mphb-booking-details-title,
.mphb-price-breakdown-title,
.mphb-customer-details-title,
.mphb-gateway-chooser-title {
    font-family: Georgia, "Times New Roman", serif;
    color: #4a6b3e;
    font-weight: 600;
    font-size: 2rem;
    margin: 0 0 1.2rem !important;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid #d4e3d0;
    line-height: 1.2;
}

.mphb-booking-details-title::before,
.mphb-price-breakdown-title::before,
.mphb-customer-details-title::before,
.mphb-gateway-chooser-title::before {
    content: "❦";
    color: #6b4423;
    margin-right: 0.5rem;
    font-size: 0.85em;
    vertical-align: middle;
}

.mphb-services-details-title {
    font-family: Georgia, serif;
    font-size: 1.4rem;
    color: #6b4423;
    margin: 1.4rem 0 0.8rem !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
}

/* ===== DATES ARRIVÉE / DÉPART ===== */
.mphb-check-in-date,
.mphb-check-out-date {
    font-size: 1.4rem;
    color: #3a4540;
    margin: 0 0 0.5rem !important;
    line-height: 1.6;
}

.mphb-check-in-date::before { content: "→ "; color: #4a6b3e; font-weight: 700; }
.mphb-check-out-date::before { content: "← "; color: #6b4423; font-weight: 700; }

.mphb-check-in-date strong,
.mphb-check-out-date strong {
    color: #4a6b3e;
    font-weight: 700;
}

/* ===== LOGEMENT ===== */
.mphb-reserve-rooms-details {
    margin-top: 0.8rem;
}

.mphb-room-details {
    background: #f9fbf7;
    border: 1px solid #d4e3d0;
    border-radius: 12px;
    padding: 1.3rem 1.5rem;
    margin-top: 1rem;
}

.mphb-room-number {
    font-family: Georgia, serif;
    color: #6b4423;
    font-size: 1.7rem;
    margin: 0 0 0.6rem !important;
    font-weight: 600;
    line-height: 1.2;
}

.mphb_sc_checkout-form .mphb-room-type-title {
    font-size: 1.4rem;
    color: #3a4540;
    margin: 0 0 1.1rem !important;
    line-height: 1.4;
}

.mphb_sc_checkout-form .mphb-room-type-title a {
    color: #4a6b3e;
    border-bottom: 1px dashed rgba(74, 107, 62, 0.5);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.mphb_sc_checkout-form .mphb-room-type-title a:hover {
    color: #6b4423;
    border-bottom-color: #6b4423;
}

/* ===== CHAMPS DE FORMULAIRE ===== */
.mphb_sc_checkout-form p {
    margin: 0 0 1rem;
}

.mphb_sc_checkout-form p > br {
    display: none;
}

.mphb_sc_checkout-form label {
    display: block;
    font-weight: 600;
    color: #4a6b3e;
    margin-bottom: 0.45rem;
    font-size: 1.4rem;
    line-height: 1.3;
}

.mphb_sc_checkout-form input[type="text"],
.mphb_sc_checkout-form input[type="email"],
.mphb_sc_checkout-form select,
.mphb_sc_checkout-form textarea {
    width: 100%;
    max-width: 480px;
    padding: 1rem 1.2rem;
    border: 2px solid #d4e3d0;
    border-radius: 10px;
    background: #f9fbf7;
    color: #2c3e34;
    font-size: 1.3rem;
    font-family: inherit;
    line-height: 1.3;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    box-sizing: border-box;
    height: auto;
}

.mphb_sc_checkout-form textarea {
    max-width: 100%;
    resize: vertical;
    min-height: 100px;
}

.mphb_sc_checkout-form input:focus,
.mphb_sc_checkout-form select:focus,
.mphb_sc_checkout-form textarea:focus {
    outline: 0;
    border-color: #4a6b3e;
    box-shadow: 0 0 0 4px rgba(74, 107, 62, 0.18);
    background: #ffffff;
}

.mphb-adults-chooser select,
.mphb-children-chooser select,
.mphb_sc_checkout-guests-chooser,
.mphb_checkout-guests-chooser {
    max-width: 220px !important;
}

.mphb_sc_checkout-form abbr {
    color: #6b4423;
    text-decoration: none;
    border: 0;
    margin-left: 0.2rem;
}

.mphb-required-fields-tip {
    color: #6b8e6f;
    font-style: italic;
    font-size: 1.2rem;
    margin: 0 0 1.2rem !important;
}

.mphb-required-fields-tip small {
    font-size: inherit;
}

/* ===== SERVICES SUPPLÉMENTAIRES ===== */
.mphb_sc_checkout-services-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.mphb_sc_checkout-services-list li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0.85rem 1.1rem;
    background: #f5f9f1;
    border: 1px solid #d4e3d0;
    border-radius: 10px;
    transition: background 0.2s, border-color 0.2s;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.8rem;
}

.mphb_sc_checkout-services-list li::marker { content: ""; }

.mphb_sc_checkout-services-list li:hover {
    background: #eaf3e3;
    border-color: #b5c8b0;
}

.mphb_sc_checkout-services-list .mphb-checkbox-label {
    display: inline-flex !important;
    align-items: center;
    gap: 0.6rem;
    color: #2c3e34 !important;
    font-weight: 500 !important;
    cursor: pointer;
    margin: 0 !important;
    font-size: 1.35rem !important;
    line-height: 1.4;
    flex-wrap: wrap;
}

.mphb_sc_checkout-services-list input[type="checkbox"] {
    width: 1.2rem;
    height: 1.2rem;
    accent-color: #4a6b3e;
    cursor: pointer;
    margin: 0;
    flex-shrink: 0;
}

.mphb_sc_checkout-services-list em {
    color: #6b8e6f;
    font-style: italic;
    font-size: 1.2rem;
}

.mphb_sc_checkout-services-list em .mphb-price {
    font-size: 1.2rem;
}

.mphb_sc_checkout-services-list label[for*="-adults"] {
    display: inline-flex !important;
    align-items: center;
    gap: 0.4rem;
    margin: 0 !important;
    font-size: 1.25rem !important;
    color: #4a5550 !important;
    font-weight: 500 !important;
}

.mphb_sc_checkout-service-adults {
    max-width: 75px !important;
    padding: 0.4rem 0.6rem !important;
    margin: 0 !important;
    font-size: 1.2rem !important;
}

/* ===== TABLEAU RÉPARTITION DU PRIX ===== */
.mphb-price-breakdown {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #d4e3d0;
    margin: 0;
}

.mphb-price-breakdown th,
.mphb-price-breakdown td {
    padding: 0.85rem 1.1rem;
    text-align: left;
    font-size: 1.35rem;
    border-bottom: 1px solid #f0f5ec;
    vertical-align: middle;
}

.mphb-price-breakdown tr:last-child th,
.mphb-price-breakdown tr:last-child td {
    border-bottom: 0;
}

.mphb-price-breakdown .mphb-table-price-column {
    text-align: right;
    font-weight: 600;
    white-space: nowrap;
    width: 130px;
}

.mphb-price-breakdown tr.mphb-price-breakdown-booking {
    background: #f9fbf7;
}

.mphb-price-breakdown tr.mphb-price-breakdown-dates th {
    background: #f5f1e6;
    color: #6b4423;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 1.2px;
}

.mphb-price-breakdown tr.mphb-price-breakdown-accommodation-total th,
.mphb-price-breakdown tr.mphb-price-breakdown-subtotal th {
    background: #f0f5ec;
    color: #4a5550;
    font-weight: 700;
}

.mphb-price-breakdown tfoot tr.mphb-price-breakdown-total th {
    background: linear-gradient(135deg, #f5f1e6 0%, #e6dcc4 100%);
    border-top: 2px solid #6b4423;
    font-size: 1.55rem;
    color: #4a5550;
    padding: 1.05rem 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 700;
}

.mphb-price-breakdown tfoot tr.mphb-price-breakdown-total .mphb-price {
    font-size: 1.85rem !important;
}

.mphb-price-breakdown-accommodation {
    color: #4a6b3e !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border-bottom: 1px dashed rgba(74, 107, 62, 0.5);
}

.mphb-price-breakdown-accommodation:hover {
    color: #6b4423 !important;
    border-bottom-color: #6b4423;
}

.mphb-price-breakdown .mphb-inner-icon {
    display: inline-block;
    width: 1.4rem;
    height: 1.4rem;
    line-height: 1.3rem;
    text-align: center;
    background: #6b4423;
    color: #fff;
    border-radius: 4px;
    margin-right: 0.5rem;
    font-size: 0.95rem;
    font-weight: 700;
}

.mphb-price-breakdown-rate {
    margin-top: 0.3rem;
    font-size: 1.15rem;
    color: #6b8e6f;
    font-style: italic;
}

/* ===== MODE DE PAIEMENT ===== */
.mphb-billing-fields-wrapper .mphb-gateway-title {
    display: inline-block;
    background: #f5f9f1;
    border: 2px solid #6b8e6f;
    border-radius: 10px;
    padding: 0.85rem 1.3rem;
    color: #4a6b3e;
    font-size: 1.4rem;
    margin: 0.3rem 0 0.7rem;
    font-weight: 600;
}

.mphb-billing-fields-wrapper .mphb-gateway-title strong {
    color: #4a6b3e;
    font-weight: 700;
}

.mphb-gateway-description {
    color: #4a5550;
    font-size: 1.3rem;
    margin: 0.5rem 0 0 !important;
    font-style: italic;
    line-height: 1.5;
}

/* ===== PRIX TOTAL FINAL ===== */
.mphb-total-price {
    display: flex !important;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, #f5f1e6 0%, #e6dcc4 100%);
    border-radius: 14px;
    border: 2px solid #d4b896;
    padding: 1.3rem 1.6rem;
    margin: 0 !important;
    box-shadow: 0 4px 14px rgba(107, 68, 35, 0.10);
}

.mphb-total-price output {
    display: inline-flex;
    align-items: baseline;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 1.55rem;
    color: #4a5550;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    margin: 0 auto;
    padding: 0;
}

.mphb-total-price-field {
    color: #4a6b3e;
}

.mphb-total-price-field .mphb-price {
    font-size: 2.6rem !important;
}

.mphb-total-price-field .mphb-currency {
    font-size: 1.6rem !important;
}

/* ===== ERREURS ===== */
.mphb-errors-wrapper {
    background: #fbe9e3;
    color: #8a3d20;
    border-left: 4px solid #c05a3a;
    padding: 0.95rem 1.2rem;
    border-radius: 9px;
    font-size: 1.3rem;
    margin: 0 !important;
    font-weight: 500;
}

.mphb-errors-wrapper:empty { display: none; }

/* ===== BOUTON SOUMETTRE ===== */
.mphb_sc_checkout-submit-wrapper {
    text-align: center;
    margin: 0 !important;
}

.mphb_sc_checkout-submit-wrapper input[type="submit"],
.mphb_sc_checkout-submit-wrapper .button {
    display: inline-block !important;
    background: linear-gradient(135deg, #4a6b3e 0%, #6b8e6f 100%) !important;
    color: #ffffff !important;
    border: 0 !important;
    padding: 1.3rem 3.5rem !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: 1.55rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 6px 18px rgba(74, 107, 62, 0.34) !important;
    line-height: 1.2 !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    font-family: inherit !important;
}

.mphb_sc_checkout-submit-wrapper input[type="submit"]:hover,
.mphb_sc_checkout-submit-wrapper .button:hover {
    background: linear-gradient(135deg, #3a5530 0%, #557159 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(74, 107, 62, 0.45) !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    article:has(.mphb_sc_checkout-wrapper) > .entry-header .entry-title { font-size: 2.2rem; }
    .mphb-checkout-section { padding: 1.3rem 1.3rem; }
    .mphb-booking-details-title,
    .mphb-price-breakdown-title,
    .mphb-customer-details-title,
    .mphb-gateway-chooser-title { font-size: 1.6rem; }
    .mphb-room-details { padding: 1rem 1.1rem; }
    .mphb_sc_checkout-form input[type="text"],
    .mphb_sc_checkout-form input[type="email"],
    .mphb_sc_checkout-form select { max-width: 100%; }
    .mphb-price-breakdown th,
    .mphb-price-breakdown td { padding: 0.7rem 0.8rem; font-size: 1.2rem; }
    .mphb-price-breakdown .mphb-table-price-column { width: auto; }
    .mphb-total-price-field .mphb-price { font-size: 2rem !important; }
    .mphb_sc_checkout-submit-wrapper input[type="submit"] { padding: 1.1rem 2.4rem !important; font-size: 1.35rem !important; }
}

/* ============================================
   ÉCHAPPÉE CÉVENOLE - Page Réservation reçue
   ============================================ */

/* Réafficher l'en-tête "Réservation reçue." */
article:has(.mphb_sc_booking_confirmation) > .entry-header {
    display: block !important;
    text-align: center;
    margin: 2.5rem auto 1.5rem;
    padding: 0 1rem;
}

article:has(.mphb_sc_booking_confirmation) > .entry-header .entry-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 3rem;
    color: #4a6b3e;
    line-height: 1.15;
    margin: 0 auto;
    letter-spacing: 0.5px;
    font-weight: 600;
}

article:has(.mphb_sc_booking_confirmation) > .entry-header .entry-title::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.1em;
    height: 1.1em;
    background: linear-gradient(135deg, #4a6b3e 0%, #6b8e6f 100%);
    color: #fff;
    border-radius: 50%;
    margin-right: 0.6rem;
    font-size: 0.7em;
    font-weight: 700;
    vertical-align: middle;
    box-shadow: 0 4px 12px rgba(74, 107, 62, 0.32);
}

article:has(.mphb_sc_booking_confirmation) > .entry-header .entry-title::after {
    content: "";
    display: block;
    width: 90px;
    height: 3px;
    background: linear-gradient(90deg, #4a6b3e, #6b8e6f, #d4e3d0);
    margin: 1rem auto 0;
    border-radius: 2px;
}

article:has(.mphb_sc_booking_confirmation) > .entry-header .entry-meta {
    display: none;
}

/* ===== WRAPPER ===== */
.mphb_sc_booking_confirmation {
    max-width: 1080px;
    margin: 1.5rem auto 3rem;
    padding: 1rem 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

@media (max-width: 600px) {
    .mphb_sc_booking_confirmation {
        padding: 1rem 1.2rem 1.5rem;
    }
}

/* ===== MESSAGE DE CONFIRMATION ===== */
.mphb-payment-messages {
    background: linear-gradient(135deg, #d4e3d0 0%, #eaf3e3 100%);
    border-left: 5px solid #4a6b3e;
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    box-shadow: 0 4px 14px rgba(74, 107, 62, 0.12);
}

.mphb-payment-messages p {
    margin: 0;
    font-size: 1.5rem;
    color: #2c3e34;
    font-weight: 500;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.mphb-payment-messages p::before {
    content: "✓";
    background: #4a6b3e;
    color: #fff;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 3px 9px rgba(74, 107, 62, 0.30);
}

/* ===== SECTIONS ===== */
.mphb_sc_booking_confirmation .mphb-booking-details-section {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.8rem 2rem;
    box-shadow: 0 6px 20px rgba(45, 60, 50, 0.10);
    border: 1px solid #e0e8db;
    margin: 0 !important;
}

/* Titres déjà gérés par le sélecteur global, mais on s'assure que le ❦ s'applique */
.mphb_sc_booking_confirmation .mphb-booking-details-title {
    font-family: Georgia, "Times New Roman", serif;
    color: #4a6b3e;
    font-weight: 600;
    font-size: 2rem;
    margin: 0 0 1.2rem !important;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid #d4e3d0;
    line-height: 1.2;
}

.mphb_sc_booking_confirmation .mphb-booking-details-title::before {
    content: "❦";
    color: #6b4423;
    margin-right: 0.5rem;
    font-size: 0.85em;
    vertical-align: middle;
}

/* ===== LISTE DE DÉTAILS (grille de pastilles label/valeur) ===== */
.mphb_sc_booking_confirmation .mphb-booking-details {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0.9rem;
}

/* Espacement entre plusieurs lignes (ex. plusieurs paiements) */
.mphb_sc_booking_confirmation .mphb-booking-details + .mphb-booking-details {
    margin-top: 1.4rem !important;
    padding-top: 1.4rem !important;
    border-top: 1px dashed #d4e3d0;
}

.mphb_sc_booking_confirmation .mphb-booking-details li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0.85rem 1.05rem;
    background: #f9fbf7;
    border: 1px solid #d4e3d0;
    border-radius: 11px;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
}

.mphb_sc_booking_confirmation .mphb-booking-details li::marker { content: ""; }

.mphb_sc_booking_confirmation .mphb-booking-details .label {
    font-size: 1.05rem;
    font-weight: 700;
    color: #6b4423;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    line-height: 1.2;
}

.mphb_sc_booking_confirmation .mphb-booking-details .value {
    font-size: 1.55rem;
    font-weight: 700;
    color: #4a6b3e;
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.3;
    word-break: break-word;
    padding-left: 20px;
}

.mphb_sc_booking_confirmation .mphb-booking-details .value .mphb-price {
    font-size: 1.55rem;
}

/* ===== STATUT (badge — centré dans la pastille) ===== */
.mphb_sc_booking_confirmation .booking-status,
.mphb_sc_booking_confirmation .mphb-booking-details-section.payment li:last-child {
    align-items: center;
    text-align: center;
}

.mphb_sc_booking_confirmation .booking-status .value,
.mphb_sc_booking_confirmation .mphb-booking-details-section.payment li:last-child .value {
    display: inline-block;
    color: #ffffff !important;
    padding: 0.35rem 0.95rem;
    border-radius: 999px;
    font-size: 1.05rem;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    font-weight: 700;
    align-self: center;
    line-height: 1.4;
}

/* Couleurs du badge selon le statut
   (la classe .mphb-status-XXX est ajoutée par le script wp_footer dans functions.php) */

/* Confirmée → vert */
.mphb_sc_booking_confirmation .value.mphb-status-confirmed {
    background: linear-gradient(135deg, #4a6b3e 0%, #6b8e6f 100%) !important;
    box-shadow: 0 2px 8px rgba(74, 107, 62, 0.30);
}

/* Annulée / Échouée → rouge */
.mphb_sc_booking_confirmation .value.mphb-status-cancelled,
.mphb_sc_booking_confirmation .value.mphb-status-failed {
    background: linear-gradient(135deg, #b54a3a 0%, #d65a4a 100%) !important;
    box-shadow: 0 2px 8px rgba(181, 74, 58, 0.30);
}

/* En attente → ambre */
.mphb_sc_booking_confirmation .value.mphb-status-pending {
    background: linear-gradient(135deg, #c08a3a 0%, #d4a45a 100%) !important;
    box-shadow: 0 2px 8px rgba(192, 138, 58, 0.30);
}

/* Terminé → bleu-vert */
.mphb_sc_booking_confirmation .value.mphb-status-completed {
    background: linear-gradient(135deg, #3a6b8a 0%, #5589a8 100%) !important;
    box-shadow: 0 2px 8px rgba(58, 107, 138, 0.30);
}

/* Abandonné / Inconnu → gris */
.mphb_sc_booking_confirmation .value.mphb-status-abandoned,
.mphb_sc_booking_confirmation .value.mphb-status-unknown {
    background: linear-gradient(135deg, #6b6b6b 0%, #8a8a8a 100%) !important;
    box-shadow: 0 2px 8px rgba(107, 107, 107, 0.30);
}

/* Remboursé → violet doux */
.mphb_sc_booking_confirmation .value.mphb-status-refunded {
    background: linear-gradient(135deg, #6b4a8a 0%, #8a6ba8 100%) !important;
    box-shadow: 0 2px 8px rgba(107, 74, 138, 0.30);
}

/* ===== ACCOMMODATIONS (chambre liée) ===== */
.mphb_sc_booking_confirmation .accommodations {
    margin-top: 1rem;
    padding: 0.9rem 1.2rem;
    background: linear-gradient(135deg, #f5f1e6 0%, #ece4cf 100%);
    border-radius: 11px;
    border-left: 4px solid #6b4423;
    font-size: 1.4rem;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.mphb_sc_booking_confirmation .accommodations-title {
    font-weight: 700;
    color: #6b4423;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.1rem;
}

.mphb_sc_booking_confirmation .accommodations-list a {
    color: #4a6b3e !important;
    text-decoration: none !important;
    font-weight: 600;
    border-bottom: 1px dashed rgba(74, 107, 62, 0.5);
    font-family: Georgia, serif;
    font-size: 1.5rem;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.mphb_sc_booking_confirmation .accommodations-list a:hover {
    color: #6b4423 !important;
    border-bottom-color: #6b4423;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    article:has(.mphb_sc_booking_confirmation) > .entry-header .entry-title { font-size: 2.2rem; }
    .mphb_sc_booking_confirmation .mphb-booking-details-section { padding: 1.3rem 1.3rem; }
    .mphb_sc_booking_confirmation .mphb-booking-details-title { font-size: 1.6rem; }
    .mphb_sc_booking_confirmation .mphb-booking-details {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 0.7rem;
    }
    .mphb_sc_booking_confirmation .mphb-booking-details .value { font-size: 1.35rem; }
    .mphb-payment-messages p { font-size: 1.3rem; }
}

/* ============================================
   ÉCHAPPÉE CÉVENOLE - Footer personnalisé
   ============================================ */

.ec-footer {
    background: linear-gradient(180deg, #3d5a35 0%, #2c4226 100%);
    color: #e9f5e3;
    padding: 0;
    margin-top: 3rem;
    font-size: 15px;
    letter-spacing: normal;
    position: relative;
    min-height: 0;
}

.ec-footer::before {
    content: "";
    display: block;
    height: 5px;
    background: linear-gradient(90deg, #4a6b3e 0%, #6b8e6f 50%, #d4e3d0 100%);
}

.ec-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3.5rem 2rem 1.5rem;
}

.ec-footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
    justify-items: center;
}

.ec-footer-col {
    min-width: 0;
    width: 100%;
    max-width: 280px;
}

/* ===== Titre de colonne ===== */
.ec-footer-title {
    font-size: 1.05rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 1.5rem;
    color: #ffffff;
    position: relative;
    padding-bottom: 0.8rem;
}

.ec-footer-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #d4e3d0 0%, #6b8e6f 100%);
}

/* ===== Contact ===== */
.ec-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ec-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.ec-contact-list li i.fa {
    color: #d4e3d0;
    font-size: 1rem;
    width: 20px;
    text-align: center;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.ec-contact-list a {
    color: #e9f5e3;
    text-decoration: none;
    transition: color 0.25s ease;
}

.ec-contact-list a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ===== Brand (centre) ===== */
.ec-col-brand {
    text-align: center;
    padding: 0 1rem;
    max-width: 380px;
}

.ec-brand-link {
    display: inline-block;
    margin-bottom: 1rem;
    transition: transform 0.35s ease;
}

.ec-brand-link:hover {
    transform: scale(1.05);
}

.ec-footer-logo {
    width: 170px;
    height: auto;
    max-width: 100%;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
}

.ec-brand-name {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0.5rem 0 0.25rem;
    letter-spacing: 0.5px;
}

.ec-brand-tagline {
    font-style: italic;
    color: #d4e3d0;
    font-size: 0.95rem;
    margin: 0 0 0.4rem;
    opacity: 0.9;
}

.ec-brand-slogan {
    font-family: Georgia, "Times New Roman", serif;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 400;
    margin: 0 0 1.5rem;
    line-height: 1.4;
    letter-spacing: 0.3px;
    position: relative;
    padding: 0.6rem 1rem 0;
}

.ec-brand-slogan::before {
    content: "";
    display: block;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #d4e3d0 50%, transparent 100%);
    margin: 0 auto 0.8rem;
}

/* ===== Social ===== */
.ec-social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.ec-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(212, 227, 208, 0.25);
    color: #e9f5e3;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ec-social a:hover {
    background: #d4e3d0;
    color: #2c4226;
    border-color: #d4e3d0;
    transform: translateY(-3px);
}

.ec-social a i.fa {
    font-size: 1.05rem;
}

.ec-social a .ec-social-svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    display: block;
}

/* ===== Navigation ===== */
.ec-footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ec-footer-menu li {
    margin-bottom: 0.6rem;
}

.ec-footer-menu a {
    color: #e9f5e3;
    text-decoration: none;
    display: inline-block;
    position: relative;
    padding-left: 1.1rem;
    transition: color 0.25s ease, padding-left 0.25s ease;
}

.ec-footer-menu a::before {
    content: "›";
    position: absolute;
    left: 0;
    color: #d4e3d0;
    font-weight: bold;
    transition: transform 0.25s ease;
}

.ec-footer-menu a:hover {
    color: #ffffff;
    padding-left: 1.4rem;
    text-decoration: none;
}

.ec-footer-menu a:hover::before {
    transform: translateX(3px);
}

/* ===== Bas de footer ===== */
.ec-footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(212, 227, 208, 0.18);
    text-align: center;
}

.ec-copyright {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(233, 245, 227, 0.7);
    letter-spacing: 0.3px;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .ec-footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    .ec-footer-inner {
        padding: 2.5rem 1.5rem 1.25rem;
    }
    .ec-footer-col {
        order: 2;
    }
    .ec-col-brand {
        order: 1;
    }
    .ec-footer-title {
        display: inline-block;
    }
    .ec-footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .ec-contact-list li {
        justify-content: center;
        text-align: left;
    }
    .ec-footer-menu a {
        padding-left: 0;
    }
    .ec-footer-menu a::before {
        display: none;
    }
    .ec-footer-menu a:hover {
        padding-left: 0;
    }
    .ec-footer-logo {
        width: 140px;
    }
}

@media (max-width: 480px) {
    .ec-footer-inner {
        padding: 2rem 1.25rem 1rem;
    }
    .ec-brand-name {
        font-size: 1.4rem;
    }
    .ec-footer-logo {
        width: 120px;
    }
}

/* Sécurise contre les anciens styles parents */
.site-footer.ec-footer .site-info {
    display: none;
}

/* Sticky footer : pousse le footer en bas quand la page est courte */
html, body {
    min-height: 100vh;
}
#page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
#content {
    flex: 1 0 auto;
}
.ec-footer {
    flex-shrink: 0;
}

/* ============================================
   PAGE CONTACT (page 94) — grille 2×2 centrée
   - Icônes existantes : Facebook, Email, Téléphone
   - Icône Maison + adresse synthétisées via pseudo-éléments
   - Texte « L'Échappée Cévenole » à côté de Facebook (pseudo-élément)
   ============================================ */
.elementor-page-94 .entry-header {
    text-align: center;
    padding: 36px 24px 8px;
    background: #f5f7f3;
}
.elementor-page-94 .entry-header .entry-title {
    display: none;
}
.elementor-page-94 .entry-content {
    background: #f5f7f3;
    margin: 0 auto;
    padding: 24px 24px 0;
    max-width: 1100px;
    display: grid;
    grid-template-columns: auto auto 48px auto auto;
    column-gap: 18px;
    row-gap: 32px;
    align-items: center;
    justify-content: center;
    grid-template-areas:
        "title     title    title title     title"
        "ico-fb    txt-fb   .     ico-mail  txt-mail"
        "ico-phone txt-phone .     ico-home  txt-home"
        "map       map      map   map       map";
}

/* Titre — paragraphe d'intro */
.elementor-page-94 .entry-content > p:first-of-type {
    grid-area: title;
    margin: 0 auto 12px;
    text-align: center;
    font-family: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
    font-style: italic;
    font-weight: 500;
    font-size: 32px;
    line-height: 1.35;
    color: #c47e5a;
    letter-spacing: 0.4px;
    max-width: 820px;
}
.elementor-page-94 .entry-content > p:first-of-type span {
    color: inherit !important;
    font-family: inherit !important;
    font-size: inherit !important;
}

/* Cache le H2 redondant "L'échappée Cévenole" */
.elementor-page-94 .entry-content > h2[data-interaction-id="22492ce"] {
    display: none;
}

/* "Aplatit" les <p> qui contiennent les ancres pour que les ancres et les
   pseudo-éléments deviennent directement des items de la grille .entry-content */
.elementor-page-94 .entry-content > p:nth-of-type(2),
.elementor-page-94 .entry-content > p:nth-of-type(3) {
    display: contents;
}

/* === ICÔNES === */
.elementor-page-94 .entry-content a[target="_blank"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #7a9a6e;
    color: #ffffff;
    text-decoration: none;
    font-size: 0;          /* masque les libellés "Facebook" / "Envelope" / "Phone-alt" */
    line-height: 0;
    box-shadow: 0 4px 14px rgba(122, 154, 110, 0.30);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    overflow: hidden;
}
.elementor-page-94 .entry-content a[target="_blank"]:hover {
    transform: translateY(-2px);
    background: #6a8a5e;
    box-shadow: 0 6px 18px rgba(122, 154, 110, 0.45);
}
.elementor-page-94 .entry-content a[target="_blank"] svg {
    width: 26px;
    height: 26px;
    fill: #ffffff;
}
.elementor-page-94 .entry-content a[target="_blank"] br {
    display: none;
}

/* Placement des icônes existantes */
.elementor-page-94 .entry-content a[href*="facebook"]   { grid-area: ico-fb; }
.elementor-page-94 .entry-content a[href*="@gmail"]     { grid-area: ico-mail; }
.elementor-page-94 .entry-content a[href*="+33"]        { grid-area: ico-phone; }

/* === ICÔNE MAISON SYNTHÉTIQUE (4ᵉ pastille) === */
.elementor-page-94 .entry-content > p:nth-of-type(3)::before {
    content: "";
    grid-area: ico-home;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #7a9a6e;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'><path fill='white' d='M280.37 148.26L96 300.11V464a16 16 0 0 0 16 16l112.06-.29a16 16 0 0 0 15.92-16V368a16 16 0 0 1 16-16h64a16 16 0 0 1 16 16v95.64a16 16 0 0 0 16 16.05L464 480a16 16 0 0 0 16-16V300L295.67 148.26a12.19 12.19 0 0 0-15.3 0zM571.6 251.47L488 182.56V44.05a12 12 0 0 0-12-12h-56a12 12 0 0 0-12 12v72.61L318.47 43a48 48 0 0 0-61 0L4.34 251.47a12 12 0 0 0-1.6 16.9l25.5 31A12 12 0 0 0 45.15 301l235.22-193.74a12.19 12.19 0 0 1 15.3 0L530.9 301a12 12 0 0 0 16.9-1.6l25.5-31a12 12 0 0 0-1.7-16.93z'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 26px 26px;
    box-shadow: 0 4px 14px rgba(122, 154, 110, 0.30);
}

/* === TEXTES === */
.elementor-page-94 .entry-content > h2[data-interaction-id="cb6d9b9"] { grid-area: txt-mail; }
.elementor-page-94 .entry-content > h2[data-interaction-id="a881266"] { grid-area: txt-phone; }

/* Style commun email + téléphone (les deux h2 e-heading-base hors titre) */
.elementor-page-94 .entry-content > h2.e-heading-base:not([data-interaction-id="22492ce"]) {
    margin: 0;
    padding: 0;
    align-self: center;
    text-align: left;
    font-family: "Roboto Flex", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.45;
    color: #5a6478;
    letter-spacing: 0;
}
.elementor-page-94 .entry-content > h2.e-heading-base br { display: none; }

/* Nom de marque à côté de l'icône Facebook */
.elementor-page-94 .entry-content > p:nth-of-type(2)::before {
    content: "L'Échappée Cévenole";
    grid-area: txt-fb;
    align-self: center;
    text-align: left;
    font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    color: #2c4226;
    letter-spacing: 0.3px;
}

/* Adresse synthétique à côté de l'icône maison */
.elementor-page-94 .entry-content > p:nth-of-type(3)::after {
    content: "419 Chem. des Fours\A 30160 Gagnières";
    grid-area: txt-home;
    white-space: pre-line;
    align-self: center;
    text-align: left;
    font-family: "Roboto Flex", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.45;
    color: #5a6478;
}

/* === CARTE GOOGLE === */
.elementor-page-94 .entry-content > p:nth-of-type(4) {
    grid-area: map;
    margin: 24px 0 0;
    padding: 0;
    line-height: 0;
}
.elementor-page-94 .entry-content > p:nth-of-type(4) iframe {
    width: 100%;
    height: 420px;
    border: 0;
    display: block;
    filter: grayscale(0.4) contrast(0.95);
}

/* ===== Mobile ===== */
@media (max-width: 720px) {
    .elementor-page-94 .entry-header {
        padding: 24px 16px 4px;
    }
    .elementor-page-94 .entry-content {
        padding: 16px 16px 0;
        column-gap: 14px;
        row-gap: 18px;
        grid-template-columns: auto 1fr;
        grid-template-areas:
            "title     title"
            "ico-fb    txt-fb"
            "ico-mail  txt-mail"
            "ico-phone txt-phone"
            "ico-home  txt-home"
            "map       map";
    }
    .elementor-page-94 .entry-content > p:first-of-type {
        font-size: 22px;
    }
    .elementor-page-94 .entry-content a[target="_blank"],
    .elementor-page-94 .entry-content > p:nth-of-type(3)::before {
        width: 52px;
        height: 52px;
    }
    .elementor-page-94 .entry-content > p:nth-of-type(3)::before {
        background-size: 22px 22px;
    }
    .elementor-page-94 .entry-content a[target="_blank"] svg {
        width: 22px;
        height: 22px;
    }
    .elementor-page-94 .entry-content > p:nth-of-type(2)::before {
        font-size: 18px;
    }
    .elementor-page-94 .entry-content > h2.e-heading-base:not([data-interaction-id="22492ce"]),
    .elementor-page-94 .entry-content > p:nth-of-type(3)::after {
        font-size: 16px;
    }
    .elementor-page-94 .entry-content > p:nth-of-type(4) iframe {
        height: 320px;
    }
}
