/**

 * Mart-io — fiche hôtel (catégorie Qlo).

 * RÈGLE : layout chambres = 100 % category.css natif (comme UAT / QloApps).

 * Ce fichier ne touche PAS .room_cont (grille, image, titre, prix, boutons).

 * Uniquement : cadres Apple-like, tri, sidebar, footer panneau occupation.

 */



body.qmp-martio-ui.category #center_column {

  overflow: visible !important;

}



body.qmp-martio-ui.category .cat_cont {
  margin: 0;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  /* Qlo natif : padding vertical seulement (category.css) */
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 0;
  padding-right: 0;
}

/* Sidebar + contenu : pleine largeur des colonnes Bootstrap 3/9 */
body.qmp-martio-ui.category #left_column .header-rmsearch-wrapper,
body.qmp-martio-ui.category #left_column .layered_filter_cont {
  width: 100%;
  box-sizing: border-box;
}

/* Cadre recherche (localisation, dates, Rechercher) — coins arrondis */
body.qmp-martio-ui.category #left_column .header-rmsearch-wrapper {
  border-radius: 14px;
  border: 1px solid #d2d2d7;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
  /* visible : le dateRangePicker inline déborde à droite (7e colonne + flèche mois) */
  overflow: visible;
  padding: 14px 16px;
  box-sizing: border-box;
}

/* Titre natif « Search Rooms » (texte blanc invisible) : masquer pour équilibrer le haut/bas */
body.qmp-martio-ui.category #left_column .header-rmsearch-wrapper .filter_header {
  display: none !important;
}

/* Évite l’espace bas du dernier .form-group (bouton Rechercher) */
body.qmp-martio-ui.category #left_column .header-rmsearch-wrapper #search_hotel_block_form .form-group {
  margin-bottom: 12px;
}

body.qmp-martio-ui.category #left_column .header-rmsearch-wrapper #search_hotel_block_form .form-group:last-child,
body.qmp-martio-ui.category #left_column .header-rmsearch-wrapper #search_hotel_block_form .search_room_submit_block {
  margin-bottom: 0 !important;
}



body.qmp-martio-ui.category #category_data_cont .qmp-hotel-partner-banner {

  display: none !important;

}



body.qmp-martio-ui.category .qmp-trust-banner {

  display: none !important;

}



/* ——— Barre tri + badge partenaire ——— */

body.qmp-martio-ui.category .catSortBlock {

  margin-bottom: 15px;

  padding: 0 0 12px;

  border-bottom: 1px solid #e6e6e6;

  display: flex;

  align-items: center;

  flex-wrap: wrap;

  gap: 12px;

}

/* Bootstrap .row ::before/::after deviennent des flex-items et décalent le badge */
body.qmp-martio-ui.category .catSortBlock::before,
body.qmp-martio-ui.category .catSortBlock::after {

  display: none !important;

  content: none !important;

}



body.qmp-martio-ui.category .catSortBlock > .col-sm-2 {

  width: auto;

  max-width: none;

  flex: 0 0 auto;

  float: none;

  padding-left: 0;

  padding-right: 0;

  align-self: center;

}

/* Colonne tri : assez large pour « Prix : du plus bas… » */
body.qmp-martio-ui.category .catSortBlock > .col-sm-3 {

  width: auto;

  max-width: none;

  flex: 0 1 360px;

  min-width: 280px;

  float: none;

  padding-left: 0;

  padding-right: 0;

  align-self: center;

}

body.qmp-martio-ui.category .catSortBlock .filter_dw_cont {

  width: 100%;

  min-width: 0;

}

body.qmp-martio-ui.category .sortBlockHeading {

  margin: 0;

  font-size: 16px;

  font-weight: 500;

  color: #6e6e73;

}

body.qmp-martio-ui.category .sortBlockHeading p {

  margin: 0;

  line-height: 1.2;

  white-space: nowrap;

}



body.qmp-martio-ui.category .catSortBlock .filter_dw_cont .btn {

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 10px;

  width: 100%;

  min-width: 0;

  border-radius: 10px;

  border-color: #d2d2d7;

  background: #fff;

  font-size: 16px;

  font-weight: 500;

  color: #1d1d1f;

  box-shadow: none;

  min-height: 38px;

  padding: 8px 12px;

  text-align: left;

}

body.qmp-martio-ui.category .catSortBlock .filter_dw_cont .sort_btn_span {

  float: none !important;

  flex: 1 1 auto;

  min-width: 0;

  white-space: nowrap;

}

body.qmp-martio-ui.category .catSortBlock .filter_dw_cont .caret {

  float: none !important;

  flex: 0 0 auto;

  margin-top: 0 !important;

}



body.qmp-martio-ui.category .catSortBlock .dropdown-menu {

  min-width: 100%;

  border-radius: 12px;

  border-color: #d2d2d7;

  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);

}

body.qmp-martio-ui.category .catSortBlock .dropdown-menu > li > a {

  white-space: nowrap;

}



body.qmp-martio-ui.category .catSortBlock .qmp-hotel-partner-banner--inline {

  display: inline-flex !important;

  align-items: center;

  align-self: center;

  flex-wrap: wrap;

  gap: 6px 10px;

  margin: 0 0 0 auto !important;

  padding: 6px 12px !important;

  background: #e8f8ec;

  border-radius: 12px;

  max-width: 100%;

  flex: 1 1 260px;

  min-width: 0;

  min-height: 0;

  box-sizing: border-box;

}



body.qmp-martio-ui.category .catSortBlock .qmp-hotel-partner-banner--inline .qmp-type-badge,
body.qmp-martio-ui.category .catSortBlock .qmp-hotel-partner-banner--inline .qmp-partner-badge {

  flex-shrink: 0;

  white-space: nowrap;

}



body.qmp-martio-ui.category .catSortBlock .qmp-hotel-partner-banner--inline .qmp-partner-badge {

  font-size: 10px;

  padding: 3px 8px;

}



body.qmp-martio-ui.category .catSortBlock .qmp-partner-banner-text {

  flex: 1 1 100%;

  min-width: 0;

  font-size: 11px;

  line-height: 1.35;

  color: #6e6e73;

  font-weight: 500;

  white-space: normal;

  overflow-wrap: anywhere;

}



/* Image carrée Qlo (250×250) — boîte carrée forcée (img-responsive ne peut pas l'étirer) */
body.qmp-martio-ui.category .room_cont .col-sm-4 > a {
  display: block;
  position: relative;
  width: 100%;
  max-width: 250px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom: 15px;
}

body.qmp-martio-ui.category .room_cont .room-type-image,
body.qmp-martio-ui.category .room_cont img.img-responsive.room-type-image {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin-bottom: 0 !important;
  object-fit: cover !important;
  object-position: center center;
}

/* Titres des chambres : moins imposants que le 32px natif */
body.qmp-martio-ui.category .room_cont .rm_heading {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 500;
  color: #1d1d1f;
}

@media (max-width: 767px) {
  body.qmp-martio-ui.category .room_cont .rm_heading {
    font-size: 20px;
  }

  body.qmp-martio-ui.category .room_cont .col-sm-4 > a {
    max-width: none;
  }
}

/*
 * Ligne titre + urgence : titre large, message rouge sur 2 lignes (comme UAT).
 */
@media (min-width: 992px) {
  body.qmp-martio-ui.category .room_cont .room_info_cont > .row:first-child {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    /* Grille Bootstrap : annule le padding du col-sm-8 pour aligner titre = description */
    margin-left: -15px;
    margin-right: -15px;
  }

  body.qmp-martio-ui.category .room_cont .room_info_cont > .row:first-child::before,
  body.qmp-martio-ui.category .room_cont .room_info_cont > .row:first-child::after {
    display: none !important;
    content: none !important;
  }

  body.qmp-martio-ui.category .room_cont .room_info_cont > .row:first-child > .rm_heading,
  body.qmp-martio-ui.category .room_cont .room_info_cont > .row:first-child > .rm_left {
    float: none;
    width: auto;
    max-width: none;
  }

  body.qmp-martio-ui.category .room_cont .rm_heading {
    flex: 1 1 0;
    min-width: 0;
    margin-bottom: 10px;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body.qmp-martio-ui.category .room_cont .rm_left {
    flex: 0 0 22ch;
    width: 22ch;
    max-width: 22ch;
    margin-bottom: 10px;
    margin-left: auto;
    text-align: right;
    white-space: normal;
    line-height: 1.25;
    overflow-wrap: normal;
    word-break: normal;
  }
}

/* Prix : « 20 000 CFA /Par nuit » sur une ligne, aligné comme la référence */
body.qmp-martio-ui.category .room_cont .rm_price_cont {
  text-align: right;
  margin-bottom: 15px;
}

body.qmp-martio-ui.category .room_cont .rm_price_val.room_type_old_price {
  display: block;
  clear: both;
  font-size: 16px;
  line-height: 1.2;
  margin-bottom: 2px;
}

body.qmp-martio-ui.category .room_cont .rm_price_val:not(.room_type_old_price) {
  display: inline;
  clear: none;
  vertical-align: baseline;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 600;
}

body.qmp-martio-ui.category .room_cont .rm_price_txt {
  display: inline;
  white-space: nowrap;
  vertical-align: baseline;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  padding-top: 4px;
  color: #333;
}

@media (max-width: 767px) {
  body.qmp-martio-ui.category .room_cont .rm_price_val:not(.room_type_old_price) {
    font-size: 20px;
  }

  body.qmp-martio-ui.category .room_cont .rm_price_txt {
    font-size: 12px;
  }

  body.qmp-martio-ui.category .room_cont .rm_price_val.room_type_old_price {
    font-size: 13px;
  }
}

@media (min-width: 992px) {
  body.qmp-martio-ui.category .room_cont .rm_price_cont {
    white-space: nowrap;
  }
}

/* Sidebar : champ dates sur une seule ligne */
body.qmp-martio-ui.category #left_column #search_hotel_block_form .header-rmsearch-input.input-date,
body.qmp-martio-ui.category #left_column #search_hotel_block_form #daterange_value.input-date {
  display: flex !important;
  align-items: center;
  min-height: 46px;
  height: auto;
  padding-top: 8px;
  padding-bottom: 8px;
  line-height: 1.25;
  overflow: hidden;
}

body.qmp-martio-ui.category #left_column #search_hotel_block_form .input-date span {
  display: block;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 13px;
  line-height: 1.25;
}

body.qmp-martio-ui.category #left_column #search_hotel_block_form #daterange_value.multi-date {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 8px;
}

body.qmp-martio-ui.category #left_column #search_hotel_block_form #daterange_value.multi-date .input-date {
  width: 100%;
}

/* Calendrier sidebar : largeur native (~7 cols), déborde au-dessus du contenu */
body.qmp-martio-ui.category #left_column {
  overflow: visible;
}

body.qmp-martio-ui.category #left_column #search_hotel_block_form .form-group:has(#daterange_value),
body.qmp-martio-ui.category #left_column #search_hotel_block_form .form-group:has(#daterange_value_from) {
  overflow: visible;
  position: relative;
  z-index: 20;
}

body.qmp-martio-ui.category #left_column .date-picker-wrapper {
  z-index: 1200;
  width: auto !important;
  min-width: 266px;
  max-width: none;
  box-sizing: content-box;
}

/* Espace entre le champ dates et le calendrier */
body.qmp-martio-ui.category #left_column .date-picker-wrapper.bottom {
  margin-top: 10px;
}

body.qmp-martio-ui.category #left_column .date-picker-wrapper.top {
  margin-bottom: 10px;
}

/* Espace entre le champ occupation et le panneau adultes/enfants
   (margin est écrasé par .header-rmsearch-wrapper .dropdown-menu { margin: 0 }) */
body.qmp-martio-ui.category #left_column .dropdown {
  overflow: visible;
}

body.qmp-martio-ui.category #left_column #search_occupancy_wrapper.bottom,
body.qmp-martio-ui.category #left_column #search_occupancy_wrapper.dropdown-menu {
  top: calc(100% + 10px) !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

body.qmp-martio-ui.category #left_column #search_occupancy_wrapper.top {
  top: auto !important;
  bottom: calc(100% + 10px) !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

body.qmp-martio-ui.category #left_column .date-picker-wrapper .month-wrapper table {
  width: 190px;
  table-layout: auto;
}

body.qmp-martio-ui.category #left_column .date-picker-wrapper .month-wrapper table tr td .day {
  width: 38px;
  padding: 10px 11px;
  line-height: 18px;
  font-size: 14px;
}


/* ——— Équipements + réservation (icônes, occupation, bouton) ——— */
body.qmp-martio-ui.category .room_cont .room_info_cont,
body.qmp-martio-ui.category .room_cont .room_features_cont {
  overflow: visible;
}

body.qmp-martio-ui.category .room_cont .rm_amenities_cont {
  display: block;
  margin-bottom: 15px;
  min-height: 18px;
}

body.qmp-martio-ui.category .room_cont img.rm_amen {
  display: inline-block !important;
  width: 15px !important;
  height: 15px !important;
  max-width: none !important;
  margin-right: 10px;
  margin-bottom: 3px;
  vertical-align: middle;
  object-fit: contain;
  visibility: visible !important;
  opacity: 1 !important;
}

@media (min-width: 992px) {
  body.qmp-martio-ui.category .room_cont .room_features_cont > .row::before,
  body.qmp-martio-ui.category .room_cont .room_features_cont > .row::after {
    display: none !important;
    content: none !important;
  }

  body.qmp-martio-ui.category .room_cont .room_features_cont > .row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 0;
    min-height: 47px;
  }

  body.qmp-martio-ui.category .room_cont .room_features_cont > .row > [class*="col-"] {
    float: none;
  }

  body.qmp-martio-ui.category .room_cont .room_type_list_actions > [class*="col-"]:last-child {
    display: flex;
    justify-content: flex-end;
    flex: 1 1 280px;
    min-width: 0;
  }

  body.qmp-martio-ui.category .room_cont .booking_room_fields {
    display: flex !important;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 15px 10px;
    width: 100%;
    max-width: 100%;
    visibility: visible !important;
  }

  body.qmp-martio-ui.category .room_cont .booking_guest_occupancy_conatiner {
    display: inline-block;
    flex: 0 1 auto;
    max-width: 100%;
  }

  body.qmp-martio-ui.category .room_cont .booking_guest_occupancy_conatiner .form-group {
    margin-bottom: 0;
  }
}

body.qmp-martio-ui.category .room_cont .booking_guest_occupancy.input-occupancy,
body.qmp-martio-ui.category .room_cont button.booking_guest_occupancy {
  display: block !important;
  visibility: visible !important;
  width: 100%;
  min-width: 220px;
  max-width: 280px;
  height: 46px;
  line-height: 1.3;
  background-color: #fff !important;
  background-image:
    url("../../../../themes/hotel-reservation-theme/img/icon/icon-users.svg"),
    url("../../../../themes/hotel-reservation-theme/img/icon/icon-dropdown-arrow.svg") !important;
  background-repeat: no-repeat, no-repeat !important;
  background-position: 8px 50%, calc(100% - 8px) 50% !important;
  border: 1px solid #999 !important;
  box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.13);
  border-radius: 4px;
  color: #333 !important;
  font-size: 16px;
  text-align: left;
  padding: 6px 20px 6px 35px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body.qmp-martio-ui.category .room_cont .booking_room_fields > div:last-child {
  flex: 0 0 auto;
}

/* Boutons « Réservez » : couleur Qlo native (martio-shell impose le bleu Apple) */
body.qmp-martio-ui.category .room_cont .ajax_add_to_cart_button,
body.qmp-martio-ui.category .room_cont .ajax_add_to_cart_button.button-medium {
  display: inline-block !important;
  visibility: visible !important;
  border-radius: 4px !important;
  background: #379aef !important;
  border: 1px solid #2f85ce !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  padding: 0 !important;
}

/* Vitrine holding : bandeau statut + CTA « En cours » grisé (non cliquable) */
body.qmp-martio-ui.category .qmp-holding-banner {
  display: flex;
  align-items: center;
  margin: 0 0 14px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #d2d2d7;
  background: #f5f5f7;
}

body.qmp-martio-ui.category .qmp-holding-banner__label {
  font-size: 14px;
  font-weight: 600;
  color: #6e6e73;
}

body.qmp-martio-ui.category .qmp-holding-banner__capacity {
  margin-left: 10px;
  font-size: 13px;
  font-weight: 500;
  color: #86868b;
}

body.qmp-martio-ui.category .qmp-room-cover-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  height: 100%;
  padding: 20px 18px;
  border-radius: 10px;
  background: linear-gradient(160deg, #eef1f4 0%, #e4e8ed 100%);
  box-sizing: border-box;
}

body.qmp-martio-ui.category .qmp-room-cover-notice__text {
  margin: 0;
  max-width: 32em;
  font-size: 13.5px;
  line-height: 1.5;
  font-weight: 500;
  color: #3a3a3c;
  text-align: center;
}

body.qmp-martio-ui.category .qmp-room-cover-notice__text .qmp-cover-notice-cta {
  color: #007aff;
  font-weight: 600;
  text-decoration: none;
}

body.qmp-martio-ui.category .qmp-room-cover-notice__text a.qmp-cover-notice-cta:hover {
  text-decoration: underline;
}

body.qmp-martio-ui.category .room_cont .qmp-holding-cta.is-disabled,
body.qmp-martio-ui.product .qmp-holding-cta.is-disabled,
body.qmp-martio-ui.category .qmp-category-sticky-bar__cta.is-disabled {
  display: inline-block !important;
  pointer-events: none !important;
  cursor: not-allowed !important;
  opacity: 0.55 !important;
  background: #c7c7cc !important;
  border-color: #aeaeb2 !important;
  color: #3a3a3c !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

body.qmp-martio-ui.category .room_cont .qmp-holding-cta.is-disabled span,
body.qmp-martio-ui.product .qmp-holding-cta.is-disabled span {
  display: block !important;
  padding: 10px 14px !important;
  background: transparent !important;
  border: none !important;
  color: inherit !important;
  white-space: normal !important;
  line-height: 1.25 !important;
  text-align: center !important;
}

body.qmp-martio-ui.category .qmp-category-sticky-bar__cta.is-disabled {
  white-space: normal !important;
  line-height: 1.2 !important;
  font-size: 12px !important;
  max-width: 58%;
}

body.qmp-martio-ui.category .room_cont .ajax_add_to_cart_button:hover {
  background: #2f85ce !important;
  color: #fff !important;
}

body.qmp-martio-ui.category .room_cont .ajax_add_to_cart_button span {
  display: block !important;
  padding: 10px 14px !important;
  background: #379aef !important;
  background-image: none !important;
  border: 1px solid #06b2e6 !important;
  color: #fff !important;
  text-shadow: none !important;
  filter: none !important;
}

@media (max-width: 991px) {
  body.qmp-martio-ui.category .room_cont .booking_room_fields {
    margin-top: 12px;
  }

  body.qmp-martio-ui.category .room_cont .booking_guest_occupancy.input-occupancy,
  body.qmp-martio-ui.category .room_cont button.booking_guest_occupancy {
    max-width: 100%;
  }
}



/* Panneau occupation (popup) — finition Apple */

body.qmp-martio-ui.category .booking_occupancy_wrapper {

  border-radius: 16px;

  border: 1px solid #d2d2d7;

  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14);

  padding: 16px 18px;

  z-index: 1000;

  top: calc(100% + 10px) !important;

  margin-top: 0 !important;

}



body.qmp-martio-ui.category .booking_occupancy_wrapper .btn-primary {

  background: #007aff !important;

  border-color: #007aff !important;

  border-radius: 10px;

}



/* État vide */

body.qmp-martio-ui.category .noRoomsAvailAlert {

  margin: 12px 0 20px;

  padding: 16px 20px;

  border-radius: 10px;

  background: #f5f5f7;

  border: 1px solid #d2d2d7;

  color: #6e6e73;

  font-size: 15px;

  font-weight: 500;

}



/* Sidebar filtres */

body.qmp-martio-ui.category #left_column .layered_filter_cont {

  border-radius: 12px;

  border-color: #d2d2d7;

  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);

}



body.qmp-martio-ui.category #left_column .form-control,

body.qmp-martio-ui.category #left_column .btn {

  border-radius: 10px;

}



@media (max-width: 767px) {
  body.qmp-martio-ui.category .cat_cont {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  /* Même écart Prix → tri que Équipements → Prix (margin-top 20px des filtres) */
  body.qmp-martio-ui.category #left_column {
    margin-bottom: 20px;
  }

  body.qmp-martio-ui.category #left_column .layered_filter_cont:last-child {
    margin-bottom: 0;
  }

  body.qmp-martio-ui.category .catSortBlock {
    flex-wrap: wrap;
    align-items: center;
    margin-top: 0;
  }

  body.qmp-martio-ui.category .catSortBlock .qmp-hotel-partner-banner--inline {

    margin-left: 0 !important;

    max-width: 100%;

  }

}

/* ——— Phase C : whole-unit (appartement / villa) ——— */

body.qmp-whole-unit-category .rm_left,
body.qmp-whole-unit-category .remain_rm_qty {
  display: none !important;
}

body.qmp-whole-unit-category .qmp-unit-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 10px;
  border-radius: 999px;
  background: #e8f4fd;
  border: 1px solid #b8d9f0;
  color: #0a2540;
  font-size: 12px;
  font-weight: 600;
  vertical-align: middle;
}

body.qmp-whole-unit-category .qmp-whole-unit-occupancy .add_occupancy_block,
body.qmp-whole-unit-category .qmp-whole-unit-occupancy .add_new_occupancy_btn {
  display: none !important;
}

body.qmp-whole-unit-category .booking_room_fields > div > label {
  display: none;
}

body.qmp-martio-ui.category .catSortBlock .qmp-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  margin-right: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  vertical-align: middle;
}

body.qmp-martio-ui.category .catSortBlock .qmp-listing-card-stars {
  letter-spacing: 0.04em;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  color: #f5c542;
}

body.qmp-martio-ui.category .catSortBlock .qmp-type-badge.qmp-badge-apartment {
  background: #e8f4fd;
  border: 1px solid #b8d9f0;
  color: #0a2540;
}

body.qmp-martio-ui.category .catSortBlock .qmp-type-badge.qmp-badge-villa {
  background: #eef8ee;
  border: 1px solid #b8dfb8;
  color: #1a4a1a;
}

/* ——— L2.3 : barre sticky mobile fiche hôtel ——— */
@media (max-width: 767px) {
  body.qmp-martio-ui.category.qmp-has-sticky-cta {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0));
  }

  body.qmp-martio-ui.category .qmp-category-sticky-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0));
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
  }

  body.qmp-martio-ui.category .qmp-category-sticky-bar__price {
    font-size: 15px;
    font-weight: 600;
    color: #0a2540;
    line-height: 1.25;
    flex: 1 1 auto;
    min-width: 0;
  }

  body.qmp-martio-ui.category .qmp-category-sticky-bar__cta {
    flex: 0 0 auto;
    min-height: 44px;
    min-width: 44px;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    background: #007aff;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
  }
}

/* ——— L2.4 : calendrier mobile bottom-sheet ——— */
@media (max-width: 767px) {
  body.qmp-drp-open {
    overflow: hidden;
  }
}

.qmp-drp-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1040;
  background: rgba(0, 0, 0, 0.45);
}

.qmp-drp-backdrop.is-visible {
  display: block;
}

@media (max-width: 767px) {
  body.qmp-drp-open .date-picker-wrapper.qmp-drp-mobile-sheet {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    top: auto !important;
    z-index: 1050 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border-radius: 16px 16px 0 0 !important;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.18) !important;
    padding-bottom: calc(8px + env(safe-area-inset-bottom, 0)) !important;
  }

  body.qmp-drp-open .date-picker-wrapper.qmp-drp-mobile-sheet .month-wrapper {
    max-height: min(60vh, 420px);
    overflow-y: auto;
  }
}

