/* ==========================================================================
   1. IMPORTS & CONFIGURATION GLOBALE
   ========================================================================== */

@import "./custom-styles-desktop.css" (min-width: 992px);

.search-results-header *,
.search-results-header *::before,
.search-results-header *::after {
    box-sizing: border-box;
}

.tp-global-container {
    color: #444;
    line-height: 1.6;
}

/* ==========================================================================
   2. ENTÊTE DE RECHERCHE & FILTRES (.search-results-header)
   ========================================================================== */

   .search-results-header:has(.filters-actions-box[style*="display: none"]) {
    display: none;
}
.search-results-header {
    background-color: transparent;
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
    width: 100%;
    box-sizing: border-box;
    font-family: var(--font);
    color: var(--text-color);
    margin-bottom: 20px;
}

.header-controls-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.search-summary-box {
    width: 100%;
}

.search-summary-box .title-head {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-color);
    margin: 0;
}

.filters-actions-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}

.filter-label {
    font-size: 12px;
    font-weight: 500;
    color: #666666;
}

.select-wrapper {
    position: relative;
    width: 100%;
}

.native-custom-select .btn.dropdown-toggle.btn-default {
    width: 100%;
    height: 38px;
    padding: 0 30px 0 12px;
    font-family: var(--font);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-color);
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.native-custom-select:focus {
    outline: none;
    border-color: var(--color-site-2);
    box-shadow: 0 0 0 3px rgba(40, 125, 250, 0.15);
}

.search-results-header .bootstrap-select .btn.btn-default {
    border: none;
    background-color: transparent;
    text-transform: none;
    color: var(--color-site-2);
    height: auto;
    padding-top: 0;
    padding-bottom: 0;
}

/* ==========================================================================
   3. COMPOSANTS GÉNÉRIQUES (BADGES, BOUTONS, FORMULAIRES)
   ========================================================================== */
   .col-info-room {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.badge {
  padding: 8px 12px; /* Espacement interne */
  border-radius: 4px; /* Coins arrondis */
  font-weight: 600;
  font-size: 14px; /* Taille de police fixe */
  transition: transform 0.2s ease;
  display: inline-block;
}

/* Couleurs */
.bg-danger {
  background-color: #dc3545;
  color: #ffffff;
}

.bg-warning {
  background-color: #ffc107;
  color: #212529;
}

/* Effet au survol */
.badge:hover {
  transform: translateY(-2px);
  cursor: pointer;
}
.hotel-prices .badge,
.widget-info .badge,
.payment-side-block .badge,
.card .badge {
    color: #fff !important;
    text-align: inherit;
}

.checkbox+.checkbox,
.radio+.radio {
    margin-top: auto;
}

.label-wrap .label {
    font-size: 12px;
}

.btn-light-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    background-color: #e1f0ff;
    color: var(--color-site-3);
}

.btn-light-primary i {
    margin-right: 8px;
    font-size: 16px;
}

.btn-light-primary:hover {
    background-color: var(--color-site-3);
    color: #ffffff;
}

.btn-light-primary:active {
    transform: scale(0.98);
}

.input-phone::before {
    content: "\f879";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

.btn.btn-link.addLigne.text-orange,
.deleteLigne {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
}

.addLigne:hover {
    text-decoration: none;
    opacity: 0.8;
}

.addLigne:hover svg {
    transform: rotate(90deg);
    transition: 0.3s;
}

.form-control:-webkit-autofill,
.form-control:-webkit-autofill:hover,
.form-control:-webkit-autofill:focus {
    -webkit-text-fill-color: #333;
    -webkit-box-shadow: 0 0 0 1000px #fff inset, 0 0 0 1px #10b981 inset;
    transition: background-color 5000s ease-in-out 0s;
}

.icon-v2::before {
    position: absolute;
    top: 65%;
    transform: translateY(-50%);
}

/* ==========================================================================
   4. SECTIONS SPÉCIFIQUES (FAQ, CARDS, GABARITS)
   ========================================================================== */
.tp-main-title {
    color: var(--color-site-2);
    font-weight: 800;
    text-align: center;
    border-bottom: 4px solid var(--color-site-1);
    padding-bottom: 14px;
    margin-bottom: 30px;
    font-size: 24px;
}

.tp-accordion {
    margin-bottom: 40px;
}

.tp-acc-item {
    background: #fff;
    margin-bottom: 10px;
    border-radius: 8px;
    border: 1px solid #e1e8ed;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.tp-acc-header {
    width: 100%;
    padding: 18px 25px;
    background: #fff;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: #000;
    font-size: 16px;
    transition: background 0.3s;
}

.tp-acc-header:hover {
    background: #fdf2eb;
}

.tp-acc-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: #fff;
}

.tp-acc-body {
    padding: 20px 25px;
    border-top: 1px solid #eee;
    color: #555;
}

.tp-acc-item.active .tp-acc-content {
    max-height: 600px;
}

.tp-acc-item.active .tp-acc-header {
    color: var(--color-site-1);
    background: #fff;
}

.tp-icon-toggle {
    font-size: 20px;
    color: var(--color-site-3);
    transition: transform 0.3s;
}

.tp-acc-item.active .tp-icon-toggle {
    transform: rotate(45deg);
    color: var(--color-site-1);
}

.tp-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
}

.tp-feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.tp-feature-box {
    border-top: 4px solid var(--color-site-3);
    background: #f9fcff;
    padding: 20px;
    border-radius: 0 0 8px 8px;
}

.tp-feature-box strong {
    color: var(--color-site-2);
    display: block;
    margin-bottom: 8px;
}

.tp-logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 14px;
    margin-top: 25px;
}

.tp-logo-card {
    background: white;
    border: 1px solid #eee;
    padding: 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.tp-logo-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-site-3);
}

.tp-logo-card img {
    max-width: 100%;
    height: auto;
}

.tp-footer-cta {
    background: var(--color-site-2);
    color: white;
    text-align: center;
    padding: 30px;
    border-radius: 12px;
    margin-top: 40px;
}

.tp-footer-cta strong {
    color: var(--color-site-1);
}

.tp-footer-cta p {
    color: #fff;
}

.testimonial-slide-three-wrapper {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-slide-three-wrapper.ready {
    opacity: 1;
}

/* ==========================================================================
   5. ÉTIQUETTES HÔTEL (#etiquette-hotel-list)
   ========================================================================== */
/* Conteneur principal */
#etiquette-hotel-list.label-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: Arial, Helvetica, sans-serif;
  width: 100%;
}

/* La structure du bandeau (.label-status) */
#etiquette-hotel-list .label-status.promotion-badge {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding:6px 12px;
  border-radius: 6px;
  color: #ffffff !important;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

/* --- Gestion des couleurs de fond --- */
#etiquette-hotel-list .etiquette-gratuite-enfant {
  background-color: #6fb000 !important;
}

#etiquette-hotel-list .etiquette-promotion {
  background-color: #ea3838 !important;
}

/* --- Zone de texte à gauche (.promotion-main) --- */
#etiquette-hotel-list .promotion-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

/* Style des textes (Libellés et dates) */
#etiquette-hotel-list .promotion-label {
  font-weight: bold;
  font-size: 17px;
  line-height: 22px;
}

/* Style de l'encadré de réduction (-35%) */
#etiquette-hotel-list .promotion-discount {
  display: inline-block;
  font-weight: 900;
  font-size: 20px;
  line-height: 20px;
  background-color: rgba(255, 255, 255, 0.25);
  padding-top: 4px;
  padding-bottom: 4px;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 4px;
  margin-bottom: 6px;
  width: fit-content;
}

/* --- Zone Sombre du Chrono à droite (.promotion-countdown) --- */
#etiquette-hotel-list .promotion-countdown {
  display: flex;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.15);
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 14px;
  padding-right: 14px;
  border-radius: 10px;
  margin-left: 15px;
  flex-shrink: 0; /* Empêche le chrono de se déformer */
}

/* L'icône de l'horloge FontAwesome */
#etiquette-hotel-list .promotion-countdown i.fa-clock {
  font-size: 18px;
  margin-right: 12px;
  opacity: 0.9;
}

/* Le conteneur des chiffres (.countdown) */
#etiquette-hotel-list .countdown {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Les petits rectangles individuels */
#etiquette-hotel-list .countdown span {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
  color: #333333;
  font-weight: bold;
  font-size: 13px;
  width: 34px;
  height: 28px;
  border-radius: 4px;
  font-family: Arial, sans-serif;
  box-sizing: border-box;
}

/* Le bloc des secondes */
#etiquette-hotel-list .countdown span:last-child {
  background-color: rgba(0, 0, 0, 0.2);
  color: #ffffff;
  animation: pulseSecondes 1s infinite;
}

@keyframes pulseSecondes {
  0% { opacity: 1; }
  50% { opacity: 0.7; }
  100% { opacity: 1; }
}

/* ==========================================================================
   AJUSTEMENTS ESSENTIELS POUR MOBILE (Écran inférieur à 768px)
   ========================================================================== */
@media (max-width: 768px) {
  #etiquette-hotel-list .label-status.promotion-badge {
   padding:4px;
   align-items: center;
    border-radius: 8px;
    flex-direction: column;
  }

  /* Réduction globale du texte à gauche */
  #etiquette-hotel-list .promotion-label {
    font-size: 13px;
    line-height: 16px;
    text-align: center;
  }

  #etiquette-hotel-list .promotion-discount {
    font-size: 15px;
    line-height: 15px;
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 6px;
    padding-right: 6px;
    margin-bottom: 3px;
    border-radius: 4px;
  }

  /* Réduction de la boîte noire du chrono */
  #etiquette-hotel-list .promotion-countdown {
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 6px;
    padding-right: 6px;
    border-radius: 4px;
    margin-left: 8px;
  }

  #etiquette-hotel-list .promotion-countdown i.fa-clock {
    font-size: 13px;
    margin-right: 6px;
  }

  #etiquette-hotel-list .countdown {
    gap: 2px;
  }

  /* Réduction de la taille des cases blanches du chrono pour tout faire tenir */
  #etiquette-hotel-list .countdown span {
    font-size: 11px;
    width: 27px;
    height: 22px;
    border-radius: 3px;
  }
}

/* ==========================================================================
   6. RESPONSIVE / MEDIA QUERIES (REGROUPÉES)
   ========================================================================== */

/* Mobile & Tablettes verticales (< 768px) */
@media (max-width: 767px) {
    .detail-title .title-left {
        font-size: 18px;
    }

    .fs-pack {
        font-size: 16px;
        margin: 10px 0;
        font-weight: 600;
    }
}

@media (max-width: 768px) {
    .tp-main-title {
        font-size: 16px;
    }

    .tp-card {
        padding: 12px;
    }

    .tp-logo-card {
        width: 100px;
        height: auto;
    }
}

/* Tablettes horizontales & Moyens écrans (< 992px) */
@media (max-width: 991px) {
    #sticky-text-vo-tarifs .description-vo-tarifs {
        height: auto;
        border-radius: 4px;
        background-color: #fff8ca;
        padding: 10px;
        margin: auto;
        text-align: center;
    }

    .stickyvotarifs {
        z-index: 2;
        position: fixed;
        top: 90px;
        left: 10px;
        width: calc(100% - 20px);
        right: 10px;
    }
}

/* Petits écrans et plus (≥ 600px) */
@media (min-width: 600px) {
    .filter-group {
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }

    .filter-label {
        white-space: nowrap;
    }
}

/* Ordinateurs & Grands écrans (≥ 992px) */
@media (min-width: 992px) {
    .header-controls-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .search-summary-box {
        width: auto;
    }

    .search-summary-box .title-head {
        font-size: 18px;
    }

    .filters-actions-box {
        display: flex;
        justify-content: flex-end;
        width: auto;
        gap: 15px;
    }

    .filter-group {
        width: auto;
    }

    .native-custom-select {
        min-width: 170px;
    }
}

/***/


/* 1. Forcer le conteneur div à contenir les éléments flottants (Clearfix) */
.membership-content-area .membership-content .pkg-total-list li > div {
  width: 100%;
}
.membership-content-area .membership-content .pkg-total-list li > div::after {
  content: "";
  display: table;
  clear: both;
}

/* 2. Assurer le comportement correct des classes pull */
.membership-content-area .membership-content .pull-left {
  float: left !important;
}

.membership-content-area .membership-content .pull-right {
  float: right !important;
  text-align: right;
}

/* 3. Neutraliser les balises <br> parasites qui cassent l'alignement des floats */
.membership-content-area .membership-content .pkg-total-list br {
  display: none; 
}

/* 4. Optionnel : ajouter un espacement propre entre chaque ligne au lieu des <br> */
.membership-content-area .membership-content .pkg-total-list li > div {
  margin-bottom: 12px;
}
.membership-content .pkg-total-list li > div:last-child {
  margin-bottom: 0;
}
/* 1. Transformer le <li> lui-même en conteneur global */
.membership-content-area .membership-content .pkg-total-list li {
  position: relative;
  list-style: none;
}

/* 2. Forcer le clearfix directement sur le <li> pour englober les floats */
.membership-content-area .membership-content .pkg-total-list li::after {
  content: "";
  display: table;
  clear: both;
}

/* 3. Neutraliser les sauts de ligne <br> qui cassent les floats */
.membership-content-area .membership-content .pkg-total-list li br {
  display: none;
}

/* 4. Forcer chaque ligne (span) à se comporter correctement en bloc flottant */
.membership-content-area .membership-content .pkg-total-list li .pull-left {
  float: left !important;
  clear: both; /* Force chaque nouveau libellé à passer à la ligne proprement */
  margin-bottom: 8px; /* Remplace l'espace des <br> */
}

.membership-content-area .membership-content .pkg-total-list li .pull-right {
  float: right !important;
  text-align: right;
  margin-bottom: 8px;
}

/* Style global de la pagination */
.simple-pagination.light-theme {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 20px 0;
  font-family: inherit;
}

.simple-pagination.light-theme ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 6px; /* Espace régulier entre les boutons comme sur la maquette */
}

/* Style de base commun pour tous les éléments (liens et spans) */
.simple-pagination.light-theme li a,
.simple-pagination.light-theme li span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  background-color: #ffffff;
  border: 1px solid #d1d5db; /* Bordure grise fine et propre */
  border-radius: 6px;       /* Coins arrondis carrés/adoucis de la maquette */
  color: #374151;           /* Couleur du texte sombre */
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

/* Effet au survol des liens cliquables */
.simple-pagination.light-theme li a:hover {
  background-color: #f3f4f6;
  border-color: #9ca3af;
}

/* État actif / Page sélectionnée (style bleu plein de la maquette) */
.simple-pagination.light-theme li.active span.current,
.simple-pagination.light-theme li.active a {
  background-color: #2563eb; /* Bleu vif de la maquette */
  border-color: #2563eb;
  color: #ffffff;
  box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2); /* Ombre douce sous le bouton actif */
}

/* État désactivé (ex: flèches ou points de suspension si inactifs) */
.simple-pagination.light-theme li.disabled span,
.simple-pagination.light-theme li.disabled a {
  background-color: #ffffff;
  border-color: #e5e7eb;
  color: #9ca3af;
  cursor: not-allowed;
}


label {
font-size:14px;
font-weight:500 ;
    margin-bottom: 0;
}
