.elementor-12 .elementor-element.elementor-element-a8f64c{--display:flex;}.elementor-12 .elementor-element.elementor-element-3ff0d48d{margin:30px 30px calc(var(--kit-widget-spacing, 0px) + 30px) 30px;}/* Start custom CSS for shortcode, class: .elementor-element-3ff0d48d *//* ============================================================
   HOTEL SANTOSÍ — Resultados de búsqueda (MotoPress Hotel Booking)
   Reemplaza por completo el CSS anterior.

   IMPORTANTE sobre @import:
   En "Apariencia > Personalizar > CSS adicional" el CSS se inyecta
   DESPUÉS de otras hojas, y un @import que no sea la primera regla
   del archivo es ignorado por el navegador. Lo mejor es cargar las
   fuentes desde el functions.php del child theme:

     add_action('wp_enqueue_scripts', function () {
       wp_enqueue_style('santosi-fonts',
         'https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Jost:wght@300;400;500;600&display=swap',
         [], null);
     });

   Si prefieres dejarlo aquí, esta línea debe ser la PRIMERA del bloque.
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Jost:wght@300;400;500;600&display=swap');

/* ============================================================
   1. TOKENS
   ============================================================ */
:root{
  --st-wine:#6d2438;
  --st-wine-dark:#4d1826;
  --st-gold:#b6893f;
  --st-cream:#f7f3ec;
  --st-rail:#faf7f1;          /* fondo de la columna de precio */
  --st-ink:#2b2320;
  --st-ink-soft:#6b5f56;
  --st-line:#e4dccb;

  --st-radius:8px;
  --st-gap:24px;
  --st-media:340px;           /* ancho de la imagen */
  --st-rail-w:268px;          /* ancho de la columna precio/botones */
  --st-font-display:'Cormorant Garamond', Georgia, serif;
  --st-font-ui:'Jost', system-ui, -apple-system, sans-serif;
}

/* ============================================================
   2. CONTENEDOR DE RESULTADOS
   ============================================================ */
.mphb_sc_search_results-wrapper{
  max-width:1240px;
  margin-inline:auto;
  padding:28px 40px 80px;
  background:var(--st-cream);
  font-family:var(--st-font-ui);
  color:var(--st-ink);
}

/* La lista puede venir como <ul>, <div> o directamente los artículos.
   Cubrimos las variantes conocidas del plugin. */
.mphb_sc_search_results-wrapper .mphb-room-types,
.mphb_sc_search_results-wrapper .mphb_sc_rooms-wrapper,
.mphb_sc_search_results-wrapper .mphb-rooms-list{
  display:flex;
  flex-direction:column;
  gap:var(--st-gap);
  list-style:none;
  padding:0;
  margin:0;
}

/* Red de seguridad: si el `gap` no aplica porque el contenedor real
   tiene otra clase, las cards igual se separan. */
.mphb-room-type + .mphb-room-type{
  margin-top:var(--st-gap) !important;
}
.mphb_sc_search_results-wrapper .mphb-room-types > .mphb-room-type + .mphb-room-type,
.mphb_sc_search_results-wrapper .mphb_sc_rooms-wrapper > .mphb-room-type + .mphb-room-type{
  margin-top:0 !important; /* aquí sí manda el gap del flex */
}

.mphb_sc_search_results-wrapper .mphb_sc_search_results-info{
  font-size:13px;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--st-ink-soft);
  margin:0 0 20px;
}

/* ============================================================
   3. BLOQUE "SE RECOMIENDA PARA X ADULTOS"
   Markup real (MotoPress):
     h2.mphb-recommendation-title          <- hermano, NO hijo
     form#mphb-recommendation.mphb-recommendation
       ul.mphb-recommendation-details-list
         li > div.mphb-recommendation-item
              span.mphb-recommedation-item-subtotal  (sic: typo del plugin)
              span.mphb-recommendation-item-count
              a.mphb-recommendation-item-link
              small.mphb-recommendation-item-guests
       p.mphb-recommendation-total
       button.mphb-recommendation-reserve-button
       div.mphb-clear
   ============================================================ */

/* 3.1 — Título (va suelto, sobre la tarjeta) */
.mphb_sc_search_results-wrapper .mphb-recommendation-title{
  font-family:var(--st-font-display);
  font-size:clamp(24px, 2.4vw, 32px);
  font-weight:500;
  line-height:1.15;
  letter-spacing:0;
  color:var(--st-wine-dark);
  text-transform:none;
  margin:0 0 16px;
  padding:0;
  border:0;
  background:none;
}

/* 3.2 — La tarjeta.
   `display:flow-root` contiene los floats que mete el plugin, sin
   depender del div.mphb-clear. */
.mphb_sc_search_results-wrapper .mphb-recommendation{
  display:flow-root;
  background:#fff;
  border:1px solid var(--st-line);
  border-left:3px solid var(--st-gold);
  border-radius:var(--st-radius);
  padding:20px 28px 24px;
  margin:0 0 36px;
}

/* 3.2b — Reset de floats.
   MotoPress flotea el item, el subtotal, el total y el botón.
   Con flexbox esos floats sobran y rompen el layout. */
.mphb-recommendation .mphb-recommendation-details-list > li,
.mphb-recommendation .mphb-recommendation-item,
.mphb-recommendation .mphb-recommendation-item > *,
.mphb-recommendation .mphb-recommendation-total,
.mphb-recommendation .mphb-recommendation-total > *,
.mphb-recommendation .mphb-recommendation-reserve-button{
  float:none !important;
}

/* 3.3 — Lista de habitaciones recomendadas */
.mphb-recommendation .mphb-recommendation-details-list{
  list-style:none;
  margin:0;
  padding:0;
}

.mphb-recommendation .mphb-recommendation-details-list > li + li{
  border-top:1px solid var(--st-line);
}

/* Fila: nombre a la izquierda, subtotal a la derecha, ocupación debajo.
   El subtotal viene primero en el DOM; lo reordenamos con flex. */
.mphb-recommendation .mphb-recommendation-item{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  width:100%;
  gap:0 6px;
  padding:14px 0;
  font-size:15px;
}

.mphb-recommendation .mphb-recommendation-item-count{
  order:1;
  color:var(--st-ink-soft);
}

.mphb-recommendation .mphb-recommendation-item-link{
  order:2;
  color:var(--st-wine) !important;
  font-weight:500;
  text-decoration:none;
  border-bottom:1px solid var(--st-line);
  padding-bottom:1px;
  transition:border-color .2s ease;
}
.mphb-recommendation .mphb-recommendation-item-link:hover{
  border-bottom-color:var(--st-wine);
}

/* El plugin escribe "recommedation" (sin la n). Cubro las dos grafías
   por si lo corrigen en una versión futura. */
.mphb-recommendation .mphb-recommedation-item-subtotal,
.mphb-recommendation .mphb-recommendation-item-subtotal{
  order:3;
  margin-left:auto;
  float:none;
  font-weight:500;
  white-space:nowrap;
}

.mphb-recommendation .mphb-recommendation-item-guests{
  order:4;
  flex-basis:100%;
  margin-top:4px;
  font-size:13px;
  color:var(--st-ink-soft);
}

/* 3.4 — Total */
.mphb-recommendation .mphb-recommendation-total{
  display:flex;
  justify-content:flex-end;
  align-items:baseline;
  gap:8px;
  margin:0;
  padding:14px 0 0;
  border-top:1px solid var(--st-line);
  font-size:15px;
}

.mphb-recommendation .mphb-recommendation-total-title{
  color:var(--st-ink-soft);
  letter-spacing:.02em;
}

.mphb-recommendation .mphb-recommendation-total-value .mphb-price{
  font-family:var(--st-font-display);
  font-size:24px;
  font-weight:600;
  color:var(--st-wine);
  font-variant-numeric:lining-nums tabular-nums;
}

.mphb-recommendation .mphb-clear{ display:none; }

/* ============================================================
   4. CARD DE HABITACIÓN
   Filas: 1 = título/precio · 2 = descripción/ver detalles (crece)
          3 = (vacío)/reservar
   ============================================================ */
.mphb-room-type{
  background:#fff;
  border:1px solid var(--st-line);
  border-radius:var(--st-radius);
  display:grid;
  grid-template-columns:var(--st-media) minmax(0,1fr) var(--st-rail-w);
  grid-template-rows:auto 1fr auto;
  min-height:300px;
  overflow:hidden;
  position:relative;
  transition:box-shadow .25s ease, transform .25s ease;

  /* Anula floats/paddings del plugin y del tema */
  float:none !important;
  width:100% !important;
  padding:0 !important;
}

.mphb-room-type:hover{
  box-shadow:0 18px 40px -16px rgba(77,24,38,.22);
  transform:translateY(-2px);
}

/* El tema mete separadores; los quitamos dentro de la card */
.mphb-room-type hr{ display:none; }

/* ---- Imagen ---- */
.mphb-room-type .post-thumbnail.mphb-loop-room-thumbnail{
  grid-column:1;
  grid-row:1 / -1;
  margin:0;
  overflow:hidden;
  background:var(--st-cream);
}

.mphb-room-type .post-thumbnail.mphb-loop-room-thumbnail a{
  display:block;
  height:100%;
}

.mphb-room-type .post-thumbnail.mphb-loop-room-thumbnail img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .6s ease;
}

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

/* ---- Título ---- */
.mphb-room-type .mphb-room-type-title.entry-title{
  grid-column:2;
  grid-row:1;
  font-family:var(--st-font-display);
  font-size:clamp(22px, 2vw, 28px);
  font-weight:500;
  line-height:1.15;
  text-wrap:balance;
  color:var(--st-wine-dark);
  margin:28px 28px 10px;
  padding:0;
  border:0;
}

.mphb-room-type .mphb-room-type-title.entry-title a{
  color:inherit;
  text-decoration:none;
}
.mphb-room-type .mphb-room-type-title.entry-title a:hover{
  color:var(--st-wine);
}

/* ---- Descripción ----
   El excerpt es el único <p> sin clase dentro de la card.
   Mucho más estable que la cadena de :not() anterior. */
.mphb-room-type > p:not([class]),
.mphb-room-type > .entry-summary,
.mphb-room-type > .mphb-room-type-excerpt{
  grid-column:2;
  grid-row:2;
  margin:0 28px 28px;
  font-size:14.5px;
  line-height:1.65;
  color:var(--st-ink-soft);
  max-width:54ch;
}

/* ============================================================
   5. COLUMNA DE PRECIO + BOTONES (rail)
   Los tres bloques comparten fondo y borde: se lee como un
   solo panel continuo, sin el corte crema/blanco actual.
   ============================================================ */
.mphb-room-type .mphb-regular-price,
.mphb-room-type .mphb-special-price,
.mphb-room-type .mphb-view-details-button-wrapper,
.mphb-room-type .mphb-reserve-room-section{
  grid-column:3;
  background:var(--st-rail);
  border-left:1px solid var(--st-line);
  margin:0;
}

.mphb-room-type .mphb-regular-price,
.mphb-room-type .mphb-special-price{
  grid-row:1;
  padding:26px 24px 18px;
  text-align:right;
  border-bottom:0;
}

.mphb-room-type .mphb-view-details-button-wrapper{
  grid-row:2;
  display:flex;
  align-items:flex-end;      /* el botón baja al fondo de su fila */
  padding:0 24px 10px;
}

.mphb-room-type .mphb-reserve-room-section{
  grid-row:3;
  padding:0 24px 24px;
}

/* Micro-label "LOS PRECIOS COMIENZAN EN:" */
.mphb-room-type .mphb-regular-price strong,
.mphb-room-type .mphb-special-price strong{
  display:block;
  font-family:var(--st-font-ui);
  font-weight:400;
  font-size:10.5px;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--st-ink-soft);
  margin-bottom:6px;
}

/* Cifra */
.mphb-room-type .mphb-price{
  display:block;
  font-family:var(--st-font-display);
  font-size:clamp(30px, 3vw, 38px);
  font-weight:600;
  line-height:1;
  color:var(--st-wine);
  font-variant-numeric:lining-nums tabular-nums;
}

/* "por noche" */
.mphb-room-type .mphb-price-period{
  display:block;
  font-family:var(--st-font-ui);
  font-size:11.5px;
  font-style:normal;
  letter-spacing:.05em;
  color:var(--st-ink-soft);
  margin-top:6px;
  border:0;
}

/* ============================================================
   6. BOTONES
   ============================================================ */
.mphb-room-type .mphb-book-button,
.mphb-room-type .mphb-reserve-btn,
.mphb-room-type .mphb-reserve-room-section .button,
.mphb-room-type .mphb-reserve-room-section a,
.mphb-room-type .mphb-reserve-room-section button{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  background:var(--st-wine) !important;
  color:#fff !important;
  font-family:var(--st-font-ui) !important;
  font-size:14px !important;
  font-weight:500 !important;
  letter-spacing:.02em;
  line-height:1.2 !important;
  padding:13px 20px !important;
  border:0 !important;
  border-radius:4px !important;
  height:auto !important;
  cursor:pointer;
  text-decoration:none !important;
  text-transform:none !important;
  transition:background .2s ease;
}

.mphb-room-type .mphb-book-button:hover,
.mphb-room-type .mphb-reserve-btn:hover,
.mphb-room-type .mphb-reserve-room-section .button:hover,
.mphb-room-type .mphb-reserve-room-section a:hover,
.mphb-room-type .mphb-reserve-room-section button:hover{
  background:var(--st-wine-dark) !important;
}

.mphb-room-type .mphb-view-details-button-wrapper a,
.mphb-room-type .mphb-view-details-button-wrapper .button{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  background:#fff !important;
  color:var(--st-wine) !important;
  border:1px solid var(--st-line) !important;
  border-radius:4px !important;
  font-family:var(--st-font-ui) !important;
  font-size:13px !important;
  font-weight:500 !important;
  padding:11px 20px !important;
  text-decoration:none !important;
  transition:border-color .2s ease, color .2s ease;
}

.mphb-room-type .mphb-view-details-button-wrapper a:hover{
  border-color:var(--st-wine) !important;
  color:var(--st-wine-dark) !important;
}

/* Botón "Reservar" del bloque de recomendación */
.mphb_sc_search_results-wrapper .mphb-recommendation-reserve-button{
  display:block;
  margin:20px 0 0 auto;          /* separación del total + alineado a la derecha */
  background:var(--st-wine) !important;
  color:#fff !important;
  border:0 !important;
  border-radius:4px !important;
  font-family:var(--st-font-ui) !important;
  font-size:14px !important;
  font-weight:500 !important;
  line-height:1.2 !important;
  padding:13px 32px !important;
  text-transform:none !important;
  cursor:pointer;
  transition:background .2s ease;
}
.mphb_sc_search_results-wrapper .mphb-recommendation-reserve-button:hover{
  background:var(--st-wine-dark) !important;
}

/* ============================================================
   7. FOCO Y MOTION (piso de calidad)
   ============================================================ */
.mphb_sc_search_results-wrapper a:focus-visible,
.mphb_sc_search_results-wrapper button:focus-visible,
.mphb_sc_search_results-wrapper input:focus-visible{
  outline:2px solid var(--st-gold);
  outline-offset:2px;
  border-radius:4px;
}

@media (prefers-reduced-motion: reduce){
  .mphb-room-type,
  .mphb-room-type .post-thumbnail.mphb-loop-room-thumbnail img{
    transition:none !important;
  }
  .mphb-room-type:hover{ transform:none; }
  .mphb-room-type:hover .post-thumbnail.mphb-loop-room-thumbnail img{ transform:none; }
}

/* ============================================================
   8. RESPONSIVE
   ============================================================ */
/* Tablet: la imagen se angosta antes de romper el layout */
@media (max-width:1180px){
  :root{ --st-media:280px; --st-rail-w:240px; }
}

/* Móvil / tablet vertical: una sola columna.
   El rail se convierte en pie de card. */
@media (max-width:980px){
  .mphb_sc_search_results-wrapper{ padding:20px 16px 60px; }

  .mphb-room-type{
    grid-template-columns:1fr;
    grid-template-rows:auto auto auto auto auto;
    min-height:0;
  }

  .mphb-room-type .post-thumbnail.mphb-loop-room-thumbnail{
    grid-column:1;
    grid-row:1;
    aspect-ratio:16/9;
  }

  .mphb-room-type .mphb-room-type-title.entry-title{
    grid-column:1;
    grid-row:2;
    margin:20px 20px 8px;
  }

  .mphb-room-type > p:not([class]),
  .mphb-room-type > .entry-summary,
  .mphb-room-type > .mphb-room-type-excerpt{
    grid-column:1;
    grid-row:3;
    margin:0 20px 20px;
    max-width:none;
  }

  .mphb-room-type .mphb-regular-price,
  .mphb-room-type .mphb-special-price{
    grid-column:1;
    grid-row:4;
    border-left:0;
    border-top:1px solid var(--st-line);
    text-align:left;
    padding:18px 20px 12px;
    display:flex;
    align-items:baseline;
    flex-wrap:wrap;
    gap:8px;
  }
  .mphb-room-type .mphb-regular-price strong,
  .mphb-room-type .mphb-special-price strong{
    width:100%;
    margin-bottom:2px;
  }

  .mphb-room-type .mphb-view-details-button-wrapper{
    grid-column:1;
    grid-row:5;
    border-left:0;
    padding:0 20px 10px;
  }

  .mphb-room-type .mphb-reserve-room-section{
    grid-column:1;
    grid-row:6;
    border-left:0;
    padding:0 20px 20px;
  }
}

@media (max-width:560px){
  .mphb-room-type .mphb-price{ font-size:30px; }
  .mphb-room-type .mphb-room-type-title.entry-title{ font-size:22px; }
}/* End custom CSS */