/*
Theme Name:  Hotel Booking WDA Child
Description: Thème enfant de Hotel Booking WDA — personnalisations Manoir de Foncher
Template:    hotel-booking-wda
Version:     1.0.0
Text Domain: hotel-booking-wda-child
*/

/* ------------------------------------------Footer texte (adaptation fond clair)------------------------------------------ */
.wpdevart-footer-one p,
.wpdevart-footer-one li {
  color: #2d2420;
}
.wpdevart-footer-one a:not(.wp-block-button__link, .comment-reply-link) {
  color: #2d2420;
  background: linear-gradient(90deg, #ca9d75, #ca9d75);
}
.wpdevart-footer-one a:hover:not(.wp-block-button__link, .comment-reply-link) {
  color: #ca9d75;
}
.wpdevart-footer-one p a:not(.wp-block-button__link, .tag-cloud-link) {
  color: #2d2420;
  background: linear-gradient(90deg, #ca9d75, #ca9d75);
}
.wpdevart-footer-one p a:hover:not(.wp-block-button__link) {
  color: #ca9d75;
}

/* ------------------------------------------Footer bottom bar (menu, partenaires, copyright)------------------------------------------ */
.wpdevart-footer-bottom-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 10px 15px;
}
.footer-menu-nav ul.footer-menu-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 8px 22px;
}
.footer-menu-nav ul.footer-menu-list li {
  display: inline;
}
.footer-menu-nav ul.footer-menu-list li a {
  font-size: 13px;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.footer-menu-nav ul.footer-menu-list li a:hover {
  opacity: 1;
  text-decoration: underline;
}
.footer-partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 24px;
}
.footer-partner-logo {
  max-height: 45px;
  width: auto;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}
.footer-partner-link:hover .footer-partner-logo {
  opacity: 1;
}

/* ------------------------------------------Page détail chambre : titre------------------------------------------ */
.hb_single_room .room-single-top {
  margin-bottom: 10px;
}
.hb_single_room .room-single-top h1,
.hb_single_room .room-single-top .entry-title {
  font-size: 34px;
  letter-spacing: 0.3px;
}

/* ------------------------------------------Page détail chambre : galerie photo agrandie------------------------------------------ */
.hb_single_room #hb_room_images#hb_room_images {
  margin-bottom: 10px;
}
.hb_single_room .hb_room_gallery.flexslider#slider {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}
.hb_single_room .hb_room_gallery.flexslider#slider .slides li img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}
@media (max-width: 767px) {
  .hb_single_room .hb_room_gallery.flexslider#slider .slides li img {
    height: 320px;
  }
}
.hb_single_room .hb_room_gallery.flexslider#carousel {
  margin-top: 12px;
}
.hb_single_room .hb_room_gallery.flexslider#carousel .slides li {
  margin-right: 12px;
}
.hb_single_room .hb_room_gallery.flexslider#carousel .slides li img {
  height: 90px;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s ease;
  opacity: 0.75;
}
.hb_single_room .hb_room_gallery.flexslider#carousel .slides li.flex-active-slide img {
  opacity: 1;
  border: 2px solid #ca9d75 !important;
}

/* ------------------------------------------Page détail chambre : prestations rapides------------------------------------------ */
.hbwda-room-quick-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 4px 0 25px;
  padding: 14px 0;
  border-top: 1px solid #e7e7e7;
  border-bottom: 1px solid #e7e7e7;
}
.hbwda-room-quick-features__item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  color: #2d2420;
}
.hbwda-room-quick-features__item i {
  color: #ca9d75;
  font-size: 17px;
  width: 20px;
  text-align: center;
}

/* ------------------------------------------Page détail chambre : mise en page pleine largeur (pas de colonne latérale)------------------------------------------ */
body.single-hb_room.wp-hotel-booking-page:not(.tp-themes-premium) .wphb-single-room-content {
  display: block;
}
body.single-hb_room.wp-hotel-booking-page:not(.tp-themes-premium) .wphb-single-room-content .hb_single_room_details,
body.single-hb_room.wp-hotel-booking-page:not(.tp-themes-premium) .wphb-single-room-content .wphb-single-room-booking-container {
  width: 100%;
  min-width: 0;
}
body.single-hb_room.wp-hotel-booking-page:not(.tp-themes-premium) .wphb-single-room-content .wphb-single-room-booking-container {
  margin-top: 30px;
}

/* ------------------------------------------Page détail chambre : bloc réservation large------------------------------------------ */
.wphb-single-room-booking-container .wphb-room-tmpl-dates-available {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
  padding: 28px 32px;
  border: 1px solid #ece6df;
}
.wphb-single-room-booking-container .hb-booking-room-form-head .description {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #8a8378;
  margin-bottom: 4px;
}
.wphb-single-room-booking-container .hb-total-price-value {
  font-size: 26px;
  font-weight: 700;
  color: #ca9d75;
}
.wphb-single-room-booking-container .hbwda-nights-count {
  font-size: 13px;
  font-weight: 400;
  color: #8a8378;
}
.wphb-single-room-booking-container .hb-search-results-form-container {
  max-width: none;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 20px;
}
.wphb-single-room-booking-container .hb-booking-room-form-group {
  width: auto;
  flex: 1 1 160px;
}
.wphb-single-room-booking-container .hb-booking-room-form-field {
  width: auto;
}
.wphb-single-room-booking-container .hb-booking-room-form-group.hb-room-price,
.wphb-single-room-booking-container .hb-booking-room-form-group:last-child {
  flex-basis: 100%;
}
.wphb-single-room-booking-container .hb_button {
  width: 100%;
  max-width: 320px;
  background: #2d2420;
  border-radius: 8px;
  padding: 14px 0;
  font-size: 16px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  transition: background 0.2s ease, transform 0.15s ease;
}
.wphb-single-room-booking-container .hb_button:hover {
  background: #ca9d75;
  transform: translateY(-1px);
}
/* ------------------------------------------Page détail chambre : masquer le sélecteur de nombre de chambres------------------------------------------ */
/* L'input hb-num-of-rooms reste dans le DOM (valeur 1) pour que le JS et la soumission
   fonctionnent normalement — on masque uniquement l'affichage. */
.hb-booking-room-form-group:has(input[name="hb-num-of-rooms"]) {
  display: none;
}

.hbwda-room-trust-badges {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #ece6df;
  display: flex;
  flex-wrap: wrap;
  gap: 9px 28px;
}
.hbwda-room-trust-badges__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #5d5650;
}
.hbwda-room-trust-badges__item i {
  color: #ca9d75;
  width: 16px;
  text-align: center;
}
