/*
Theme Name: Divi Child Theme
Description: Custom tweaks for Divi child theme.
Author:   Brad Dalton http://wpsites.net
Template: Divi
*/
@import url("../Divi/style.css");

/* =========================
   FEATURES (Room features)
   ========================= */
.features {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}

img#logo {
    width: 200px;
}
.et-fixed-header img#logo {

}
.et-social-myspace a.icon:before {
    content: "\e010";
    font-size: 20px !important;
}

/* FOOTER */
a.btn-footer {
    color: white;
}
a.et_pb_button.et_pb_button_0_tb_footer.float.whatsapp-mobile.et_pb_bg_layout_light {
    background-color:green !important;
    padding: 7px 11px;
}
a.et_pb_button.et_pb_button_0_tb_footer.float.whatsapp-mobile.et_pb_bg_layout_light:before {
    content: attr(data-icon);
    font-family: FontAwesome !important;
    font-weight: 400 !important;
    line-height: inherit;
    font-size: inherit !important;
    opacity: 1;
    margin-left: -1.3em;
    right: auto;
    display: inline-block;
    font-family: FontAwesome !important;
    font-weight: 400 !important;
}

.section-footer-links .et_pb_text_inner {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
}
/****/

.whatsapp-mobile.float {
    position: fixed;
    width: 140px;
    bottom: 20px;
    right: 10px;
    background-color: #25d366;
    color: #fff;
    border-radius: 18px;
    text-align: center;
    font-size: 16px;
    padding: 7px 11px;
    z-index: 100
}

span.whatsapp-text {
    font-size: 15px;
    display: block;
    margin-top: -1px
}

i.fa.fa-whatsapp.my-float {
    width: 18px;
    background-image: url(/wp-content/themes/Divi_child/wsp.png);
    height: 18px;
    display: block;
    margin-left: 4px;
    margin-top: 2px;
    margin-right: 2px;
    float: left;
    background-repeat: no-repeat;
    background-size: contain
}


.features .icon {
  font-family: FontAwesome !important;
  font-weight: 900;
  /* sólido */
  font-size: 16px;
  line-height: 1;
  color: #6FCBD0;
}

.features .text {
  display: inline-block;
  font-size: 15px;
  padding-left: 5px;
  padding-right: 0px;
  line-height: 13px;
}

/* Scope específico para el bloque de habitaciones */
.room-features .features {
  display: grid;
  grid-template-columns: auto auto; /* ancho dinámico según el contenido */
  grid-template-rows: auto auto;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.room-features .features li {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 15px;
  white-space: nowrap; /* opcional, evita que se corte el texto */
}

/* El tercer <li> ocupa toda la fila de abajo */
.room-features .features li:nth-child(3) {
  grid-column: 1 / -1; /* ocupa las dos columnas */
}
.pastillas-home .et_pb_blurb_content {
    max-width: 100%;
    padding-left: 25px;
    padding-right: 25px;
}

.pastillas-home.et_pb_module .et_pb_main_blurb_image .et_pb_only_image_mode_wrap {
  /* padding-left: 10px; */
  margin-left:  unset !important;
}
/* ===============
   BUSCADOR (bm-*)
   =============== */

/* ====== Estilos base (tu estilo) ====== */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.bm-box-wrapper {
  padding: 16px;
  background: #fff;
  font-family: inherit;
}

.bm-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bm-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

/* Fila secundaria: 2 filtros + botón alineado derecha */
.bm-row--secondary {
  display: grid;
  grid-template-columns: 0.6fr 0.6fr 1fr;
  /* selects más anchos, botón ocupa el espacio sobrante */
  gap: 12px;
  align-items: end;
}

.bm-row--secondary .bm-guests {
  min-width: 220px;
  /* nunca menos de este ancho */
  max-width: 280px;
  /* no crecer demasiado */
}

.bm-submit-row {
  display: flex;
  justify-content: flex-end;
  align-items: end;
}

.bm-date-card {
  border: 1px solid #e5e7eb;
  border-radius: 3px;
  padding: 10px 12px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 48px;
}

.bm-date-card:hover {
  border-color: #111;
}

.bm-date-card-title {
  font-size: 15px;
  opacity: .75;
}

.bm-date-card-day-month {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.bm-day {
  font-size: 20px;
  line-height: 1;
  font-weight: 700;
}

.bm-month {
  text-transform: lowercase;
  font-size: 14px;
  opacity: .65;
}

.bm-guests {
  border: 1px solid #e5e7eb;
  border-radius: 5px;
  padding: 8px 10px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.bm-label {
  font-size: 14px;
  opacity: .85;
  margin: 0;
}

.bm-select {
  width: auto;
  flex-shrink: 0;
  border-radius: 3px;
}

.bm-btn {
  height: 44px;
  padding: 0 18px;
  border: none;
  border-radius: 5px;
  background: #0099A9;
  color: #fff;
  cursor: pointer;
}

.bm-btn:hover {
  opacity: .92;
}

/* Asterisco verde como en el sitio */
.bm-required {
  color: #6FCBD0;
  margin-left: 4px;
  font-weight: 700;
}

/* Utilidad accesible para lectores de pantalla */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================
   Capa negra del video de la home
   ========================= */
.video-home .et_pb_row.ubicacion-col-cont .et_pb_column {
  /* base desktop */
  width: auto;
  margin: auto;
}


.video-home .et_pb_section_video_bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  /* ajustá el nivel de opacidad aquí */
  pointer-events: none;
  /* evita que bloquee interacciones */
  z-index: 2;
  /* asegúrate que esté por encima del video */
}

.video-home .et_pb_row_0 {
  position: relative;
  z-index: 3;
  /* texto por encima del overlay */
}

/* Botón junto al menú hamburguesa */
.custom-hamburger-btn {
  display: inline-block;
  background-color: #ff5722;
  /* color del botón */
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
  margin-left: 10px;
  text-decoration: none;
}

.custom-hamburger-btn:hover {
  background-color: #e64a19;
}

.et_mobile_menu li a {
    padding: 6px 5px;
}
.et_mobile_menu li.lang-item a {
    padding: 2px 5px;
}

.et_mobile_menu li.current-lang {
  display: none;
}


.et_pb_bg_layout_light .et-pb-arrow-next, .et_pb_bg_layout_light .et-pb-arrow-prev {
    color: white !important;
}

.et-pb-controllers .et-pb-active-control {
	background-color: white !important;
}

/* Ajustar para móviles */
@media (max-width: 980px) {
  .custom-hamburger-btn {
    position: absolute;
    right: 60px;
    /* lo coloca a la izquierda del ícono hamburguesa */
    top: 20px;
  }
}

/* =========================
   BREAKPOINTS ÚNICOS
   ========================= */
@media only screen and (min-width:980px) {
  #et_mobile_nav_menu {
    display: block !important;
    margin-bottom: 20px;
    margin-top: 6px
  }

  #top-menu-nav {
    display: none;
  }

  .et-fixed-header #et_mobile_nav_menu {
    margin-bottom: 0;
  }

  /* set the width, and right align */
  #mobile_menu {
    max-width: 400px;
    right: 0;
    left: auto;
  }
  
}


/* Barra de navegación fija en dispositivos móviles */
@media screen and (max-width: 980px) {
  #main-header.et-fixed-header {
    position: fixed;
    top: 0 !important;
  }

  .logged-in #main-header.et-fixed-header {
    top: 0 !important;
    transition: all .3s 0s;
  }
}

/* ≤ 980px: tablet & abajo */
@media (max-width:980px) {
  .pastillas-home .et_pb_blurb_content {
      max-width: 100% !important;
      padding-left: 25px;
      padding-right: 25px;
  }

  /* Buscador */
  .bm-row {
    grid-template-columns: 1fr 1fr;
  }

  .bm-submit-row {
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  /* Ubicación: invertir columnas y full width */
  .et_pb_row.ubicacion-col-cont {
    display: flex !important;
    flex-direction: column;
    gap: 0;
  }

  .et_pb_row.ubicacion-col-cont .et_pb_column {
    width: 100% !important;
    margin: 0 !important;
  }

  .et_pb_row.ubicacion-col-cont .ubicacion-col1 {
    order: 2;
  }

  .et_pb_row.ubicacion-col-cont .ubicacion-col2 {
    order: 1;
  }
}

/* ===== Mobile: apilar filtros nuevos + botón ===== */
@media (max-width: 768px) {

  .bm-row--secondary,
  .bm-row {
    grid-template-columns: 1fr;
    /* un solo columna */
    gap: 10px;
  }

  /* Los selects ocupan todo el ancho disponible */
  .bm-row--secondary .bm-guests {
    min-width: 0;
    max-width: none;
    width: 100%;
  }

  /* Botón full-width y alineado al ancho del contenedor */
  .bm-submit-row {
    justify-content: stretch;
  }

  .bm-row--secondary .bm-btn {
    width: 100%;
  }

  .room-features .features li {
    height: 14px;
  }

  .room-features .features .icon {
    font-size: 14px;
  }
}
/* ===== Mobile ===== */
@media (max-width: 640px) {
  .room-features .features {
    display: block; /* lista vertical */
  }

  .room-features .features li {
    margin-bottom: 8px;
    justify-content: flex-start; /* alineación a la izquierda */
  }
}
/* ≤ 560px: una columna en buscador */
@media (max-width:560px) {
  .bm-row {
    grid-template-columns: 1fr;
  }
}