/* =========================================================
   Résultats réservation — style Figma Gîte de l'Aunaie
   Titres : Abhaya Libre SemiBold
   Texte  : Figtree
   (sans bloc Paiement sécurisé / frais / réservation)
   ========================================================= */

.mphb_sc_search_results-wrapper,
.gite-result-card {
  font-family: "Figtree", system-ui, sans-serif;
  font-weight: 400;
}

.mphb_sc_search_results-wrapper {
  max-width: 1200px; /* plus large (avant 980px) */
  width: 100%;
  margin: 0 auto;
  padding: 24px 20px 48px;
}

/* Infos + titre centrés */
.mphb_sc_search_results-wrapper .mphb-search-results-info,
.mphb_sc_search_results-wrapper > p {
  text-align: center;
  color: #000000;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 14px;
  font-family: "Figtree", system-ui, sans-serif;
}

.mphb_sc_search_results-wrapper h2,
.mphb_sc_search_results-wrapper .mphb-recommendation-title {
  text-align: center;
  font-family: "Abhaya Libre", Georgia, serif;
  font-size: 40px;
  font-weight: 600;
  margin: 8px 0 28px;
  color: #000000;
}

/* Masquer le résumé Motopress du haut */
.mphb-recommendation,
.mphb-recommendation-wrapper,
.mphb-reservation-details,
.mphb-reservation-cart,
.mphb_sc_search_results-wrapper .mphb-rooms-quantity,
.mphb_sc_search_results-wrapper .mphb-rooms-total,
.mphb_sc_search_results-wrapper .mphb-total-price,
.mphb_sc_search_results-wrapper > .mphb-reserve-room-section {
  display: none !important;
}

/* ---------- Carte Figma ---------- */
.gite-result-card {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  overflow: hidden;
  margin: 0 auto 32px;
  width: 100%;
  max-width: 100%;
}

.gite-result-card__inner {
  display: grid;
  grid-template-columns: 1.35fr auto 0.9fr;
  min-height: 280px;
  align-items: stretch;
}
.gite-result-card__divider-v {
  width: 1px;
  background: #e0e0e0;
  margin: 28px 0; /* limité par le padding haut/bas */
  align-self: stretch;
}

.gite-result-card__left {
  padding: 28px 32px;
}

.gite-result-card__right {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.gite-result-card__title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.gite-result-card__title,
.gite-result-card__title-row .mphb-room-type-title,
.gite-result-card__title-row h2,
.gite-result-card__title-row h3,
.gite-result-card__title-row a {
  font-family: "Abhaya Libre", Georgia, serif;
  font-size: 24px !important;
  font-weight: 600;
  margin: 0;
  color: #111;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Badges */
.gite-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 14px;
  font-weight: 400;
  font-family: "Figtree", system-ui, sans-serif;
}

.gite-badge--ok {
  background: #F2FAEB;
  color: #558B2F;
}

.gite-badge--ok::before {
  content: "✓";
  margin-right: 6px;
  font-size: 0.75rem;
}

.gite-badge--season {
  background: #FFF1EB;
  border: 1px solid #D53E0F;
  color: #D53E0F;
  margin-bottom: 0;
}

.gite-result-card__period {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.gite-result-card__period-label {
  font-family: "Figtree", system-ui, sans-serif;
  font-size: 14px;
  color: #000;
}

.gite-result-card__avail {
    margin: 10px 0px 19px !important;
    color: #000000;
    font-size: 14px !important;
    font-family: "Figtree", system-ui, sans-serif;
}

.gite-result-card__divider {
  border: 0;
  border-top: 1px solid #ececec;
  margin: 18px 0;
}

.gite-result-card__subtitle {
  font-family: "Abhaya Libre", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin: 19px 0 12px;
  color: #111;
}

.gite-result-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 18px;
  color: #000000;
  font-size: 14px;
  font-family: "Figtree", system-ui, sans-serif;
}
.gite-meta--dates,
.gite-meta--nights{
	display: flex;
	align-items: center;
	gap:8px;
}
.gite-meta--dates::before,
.gite-meta--nights::before {
  content: "" !important;
  display: inline-block;
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  flex-shrink: 0;
}
.gite-meta--dates::before {
  background-image: url("https://dev.gite.sofis-info.com/wp-content/themes/oxton-child-theme/reservation/calendar.svg") !important;
}
.gite-meta--nights::before {
  background-image: url("https://dev.gite.sofis-info.com/wp-content/themes/oxton-child-theme/reservation/time.svg") !important;
}

.gite-result-card__price-from {
  color: #000;
  font-size: 14px;
  margin-bottom: 18px;
  font-family: "Figtree", system-ui, sans-serif;
  text-decoration: none !important;
}

.gite-result-card__price-from .mphb-price,
.gite-result-card__price-from .mphb-price-period,
.gite-result-card__price-from .mphb-regular-price {
  font-size: inherit !important;
  font-weight: 400 !important;
  border: 0 !important;
  text-decoration: none !important;
  font-family: "Figtree", system-ui, sans-serif !important;
}

.gite-result-card__total-label {
  margin: 0 0 6px;
  color: #000;
  font-size: 14px;
  font-family: "Figtree", system-ui, sans-serif;
}

.gite-result-card__price-main {
  font-family: "Abhaya Libre", Georgia, serif;
  font-size: 48px;
  font-weight: 600;
  color: #111;
  line-height: 1.1;
  margin-bottom: 5px !important ;
  margin: 0;
}

.gite-result-card__price-main .mphb-price,
.gite-result-card__price-main .mphb-regular-price,
.gite-result-card__price-main .mphb-price-period {
  font-family: "Figtree", system-ui, sans-serif !important;
  font-size: 2.6rem !important;
  font-weight: 700 !important;
  color: #111 !important;
  line-height: 1.1;
  border: 0 !important;
  text-decoration: none !important;
}

.gite-result-card__price-main .mphb-price-period-title,
.gite-result-card__price-main small {
  display: none;
}

.gite-result-card__price-note {
  margin: 8px 0 22px;
  color: #666666;
  font-size: 14px;
  font-family: "Figtree", system-ui, sans-serif;
}

/* Bouton secondaire */
.gite-result-card__view .button,
.gite-result-card__view a {
font-family: Figtree;
    font-weight: 400;
    font-size: 14px;
    color: #000000;
    padding-block-start: 12px;
    padding-block-end: 12px;
    padding-inline-start: 40px;
    text-decoration: none !important;
    padding-inline-end: 40px;
    border-radius: 6px;
    border-width: 1px;
    border-color: #CCCCCC;
    border-style: solid;
    background-color: #ffffff;
    align-self: center;
}

/* Bouton Réserver */
.gite-result-card__book {
  width: 100%;
}

.gite-result-card__book .button,
.gite-result-card__book a,
.gite-result-card__book .mphb-book-button {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
   border-radius: 6px;
    background: #D53E0F;
    color: #fff;
    font-family: "Figtree", sans-serif;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
}

/* Mobile */
@media (max-width: 768px) {
  .gite-result-card__inner {
    grid-template-columns: 1fr;
  }

  .gite-result-card__right {
    border-top: 1px solid #e8e8e8;
  }

  .mphb_sc_search_results-wrapper h2,
  .mphb_sc_search_results-wrapper .mphb-recommendation-title {
    font-size: 1.6rem;
  }

  .gite-result-card__price-main,
  .gite-result-card__price-main .mphb-price,
  .gite-result-card__price-main .mphb-regular-price,
  .gite-result-card__price-main .mphb-price-period {
    font-size: 2.1rem !important;
  }
}