header .row > * {
  width: auto !important;
}


.custom-marker {
    width: 100%;
    height: 100%;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
}

/* MadridEasy → apagar */
.marker-me {
    /*background-color: #b3f1e9;*/
    /*opacity: 0.5;*/
    transform: rotate(-45deg) scale(0.8);
}

/* Homiii → destacar */
.marker-homiii {
    /*background-color: #feeaa8;*/
    border: 3px solid #feeaa8;
    /*box-shadow: 0 0 10px rgba(245, 197, 66, 0.8);*/
    transform: rotate(-45deg) scale(1.2);
}
.marker-homiii {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 5px rgba(245,197,66,0.5); }
    50% { box-shadow: 0 0 20px rgba(245,197,66,1); }
    100% { box-shadow: 0 0 5px rgba(245,197,66,0.5); }
}
/* Loader contenedor */
.loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9); /* Fondo semitransparente */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10; /* Asegura que esté encima del contenido */
}

/* Contenido del loader */
.loader-content {
  text-align: center;
  display: flex;
  flex-direction: column; /* Para apilar los elementos: logo, animación y texto */
  align-items: center; /* Centrar horizontalmente */
  justify-content: center; /* Centrar verticalmente */
}

/* Logo */
.loader-logo {
  width: 80px;
  margin-bottom: 15px;
  animation: pulse 1.5s infinite ease-in-out;
}

/* Animación atractiva */
.loader-animation {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 15px; /* Separar de la animación del texto */
}

/* Texto del loader */
.loader-text {
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #555; /* Gris suave */
  margin-top: 5px;
}

/* Animación de rotación */
@keyframes spin {
  0% {
      transform: rotate(0deg);
  }
  100% {
      transform: rotate(360deg);
  }
}
/* Barra de progreso */
.progress-bar {
  width: 80%;
  height: 8px;
  background-color: #f3f3f3;
  border-radius: 5px;
  overflow: hidden;
  margin-top: 20px;
  position: relative;
}

.progress-bar-fill {
  width: 0%;
  height: 100%;
  background-color: #3498db;
  border-radius: 5px;
  animation: progress 6s infinite;
}

/* Animación de progreso (simulada) */
@keyframes progress {
  0% {
      width: 0%;
  }
  50% {
      width: 80%;
  }
  100% {
      width: 100%;
  }
}

/* Animación de pulso del logo */
@keyframes pulse {
  0% {
      transform: scale(1);
      opacity: 1;
  }
  50% {
      transform: scale(1.1);
      opacity: 0.8;
  }
  100% {
      transform: scale(1);
      opacity: 1;
  }
}

.leaflet-tile {
  /*filter: grayscale(100%);*/
  filter:none;
}
.leaflet-control-layers-base {
  background-color: white !important;
  color: black !important;
  border-radius: 5px;
  font-size: 14px;
  padding: 5px;
}
.leaflet-control-layers-base label span{
  color: black !important;
}
.custom-marker {
  width: 25px;
  height: 25px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background-color: #b3f1e9; /* o #feeaa8 */
  box-shadow: 0 0 0 2px #555; /* borde gris oscuro */
  position: relative;
}

.custom-marker::after {
  content: '';
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: 8px;
  left: 8px;
}


.ok {
  font-family: "sk-modernistbold", sans-serif;
  font-size: 17px !important;
  font-weight: 700 !important;
  background-color: #b3f1e9;
  width: 100%;
  padding: 15px;
  text-align: center;
}
.error {
  font-family: "sk-modernistbold", sans-serif;
  font-size: 17px !important;
  font-weight: 700 !important;
  background-color: #fe8787;
  width: 100%;
  padding: 15px;
  text-align: center;
}
.awesome-marker-icon-red {
  background-color: #00cfb7 !important;
  border-color: #00cfb7 !important;
}

button.btn.btn-primary.btn-block {
  border: 2px solid;
  font-size: 18px;
  /*text-decoration: underline !important;*/
  font-family: "sk-modernistbold";
  color: #191919;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 50px;
  background-color: #feeaa8;
}
button.btn.btn-secondary.btn-block {
  /*border: 2px solid;*/
  /*text-decoration: underline !important;*/
  font-family: "Merriweather", serif;
  font-size: 20px !important;
  font-weight: 900 !important;
  color: #191919 !important;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 40px;
  background-color: #e7e7e7;
  opacity: 1 !important;
}
button.btn.btn-info.btn-block {
  /*border: 2px solid;*/
  /*text-decoration: underline !important;*/
  font-family: "sk-modernistbold", serif;
  font-size: 20px !important;
  font-weight: 900 !important;
  color: #191919 !important;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 40px;
  background-color: #b3f1e9;
  opacity: 1 !important;
}
button.btn.btn-primary.btn-block i {
  margin-left: 10px;
  margin-top: 5px;
}
.homiii-bootstrap .card {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  word-wrap: break-word !important;
  background-color: #fff !important;
  background-clip: border-box !important;
  border: 1px solid rgba(0, 0, 0, 0.125) !important;
  border-radius: 0.35rem !important;
}
.homiii-bootstrap .card-form {
  border: 1px solid #000000 !important;
  /*padding: 25px;*/
}
.homiii-bootstrap .shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}
.homiii-bootstrap .shadow {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}
.homiii-bootstrap .shadow-lg {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}
.homiii-bootstrap .shadow-none {
  box-shadow: none !important;
}
.homiii-bootstrap .carousel-inner,
.homiii-bootstrap .carousel-item {
  height: 220px;
}

.homiii-bootstrap .habitacion-carousel .carousel-inner,
.homiii-bootstrap .habitacion-carousel .carousel-item {
  height: auto !important;
}
.availability-badge {
  position: absolute;
  top: 10px; /* Ajusta según sea necesario */
  right: 10px; /* Ajusta según sea necesario */
  background-color: white;
  color: #000000; /* Color de texto verde */
  font-size: 14px; /* Ajusta según sea necesario */
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 15px; /* Bordes redondeados */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Sombra opcional */
  z-index: 10; /* Asegura que esté sobre el contenido */
  border: 1px solid #000000; /* Opcional: borde del mismo color que el texto */
}
.homiii-bootstrap .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Mantiene la relación de aspecto y corta lo que sobre */
  object-position: center; /* Centra la imagen en el contenedor */
}
.homiii-checkout {
  padding: 20px;
  border: 1px solid #cccccc;
  border-radius: 10px;
  margin: 20px;
}
/* Estilo del diálogo */
.ui-dialog {
  border: 1px solid #aaa;
  background-color: #fff;
  padding: 10px;
}

/* Estilo del título del diálogo */
.ui-dialog-titlebar {
  background-color: #feeaa8;
  color: black;
  border: none;
}
/* Estilo de los botones del diálogo */
.ui-dialog-buttonpane .ui-button {
  background-color: #feeaa8;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 5px 10px;
}

/* Cambiar el color al pasar el ratón por encima del botón */
.ui-dialog-buttonpane .ui-button:hover {
  background-color: #feeaa8;
}

.ui-dialog .ui-dialog-titlebar {
  text-align: center;
  padding: 0.4em 1em; /* Ajusta a tu gusto */
}

.ui-dialog .ui-dialog-title {
  float: none;
  width: 100%;
}

/* Ocultar el botón de cierre si aún es necesario */
.ui-dialog-titlebar-close {
  display: none;
}

.map-container {
  width: 100%; /* Ancho completo */
  height: 400px;
}

.ui-datepicker-calendar tbody td.unselectable {
  background-color: #e9e9e9;
  color: #d3d3d3;
  pointer-events: none;
}

/*
CLASES GENERALES
*/
.homiii-card-link {
  text-decoration: none !important;
}
.habitacionh3 {
  font-family: "Merriweather", serif;
  font-size: 24px !important;
  font-weight: 700 !important;
}
.habitacionp,
.homiiidisponible {
  font-family: "sk-modernistbold", sans-serif;
  font-size: 17px !important;
  font-weight: 700 !important;
}
.cargando_habitaciones {
  font-family: "sk-modernistbold", sans-serif;
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #191919;
  text-align: center;
}
.uniform-input {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  height: 48px; /* Altura consistente */
  appearance: none; /* Elimina las flechas del select en navegadores modernos */
}

.uniform-input:focus {
  color: #495057;
  background-color: #fff;
  border-color: #80bdff;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.uniform-textarea {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  height: 150px; /* Altura consistente */
  appearance: none; /* Elimina las flechas del select en navegadores modernos */
}

.uniform-textarea:focus {
  color: #495057;
  background-color: #fff;
  border-color: #80bdff;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.select-container {
  position: relative;
  display: inline-block;
  width: 100%;
}

.select-container::after {
  content: "\25BC"; /* Carácter de flecha hacia abajo */
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  pointer-events: none;
  color: #495057;
}
.leyenda {
  font-family: "sk-modernistregular", sans-serif;
  font-size: 14px !important;
  color: #666;
  margin-top: 5px;
  float: right;
  list-style: none; /* quitar puntos */
  padding: 0;
}

.leyenda li {
  display: flex;
  align-items: center;
  gap: 6px; /* espacio entre círculo y texto */
  margin-bottom: 4px;
}

.leyenda li span {
  display: inline-block;
  width: 12px; /* tamaño del círculo */
  height: 12px;
  border-radius: 50%;
}

.leyenda .disponible {
  background-color: #feeaa8; /* verde */
}

.leyenda .ocupado {
  background-color: #fe8787; /* amarillo */
}

.leyenda .no-disponible {
  background-color: #e7e7e7; /* rojo */
}
.precio_habitacion_mes_cuadro{
  padding:5px 10px;
  margin: 5px 5px;
}
.precio_habitacion_mes_cuadro_actual{
  /* background-color: #00cfb7; */
  background-color: #feeaa8;
  cursor: pointer;
}
.precio_habitacion_mes_cuadro_no_disponible{
  background-color: #fe8787;
}
.precio_habitacion_mes_cuadro_pasado{
  background-color: #e7e7e7;
}
/* Centrando el formulario */
.homiii-bootstrap .form-buscador {
  max-width: 1500px;
  margin: 0 auto; /* Centra horizontalmente el formulario */
}

.habitacionsimpleh2 {
  font-family: "Merriweather", serif;
  font-size: 50px !important;
  font-weight: 400 !important;
}
.descripcioncabecerahabitacion {
  font-family: "sk-modernistregular", sans-serif;
  font-size: 24px !important;
  line-height: 29px !important;
}
.linkmaps {
  font-family: "sk-modernistregular", sans-serif;
  font-size: 15px !important;
  color: #191919;
}
.reservatitle {
  font-family: "Merriweather", serif;
  font-size: 30px !important;
  font-weight: 400 !important;
  padding-bottom: 30px;
}
.reservatitle2 {
  font-family: "Merriweather", serif;
  font-size: 24px !important;
  font-weight: 700 !important;
  padding-bottom: 30px;
}
.reservatitle span {
  float: right;
  font-size: 38px !important;
  font-weight: 900 !important;
}
.hdisponible {
  font-family: "sk-modernistbold", sans-serif;
  font-size: 21px !important;
  font-weight: 700 !important;
  background-color: #b3f1e9;
  width: 100%;
  padding: 20px;
  text-align: center;
  margin-bottom: 40px;
}
.hnodisponible {
  font-family: "sk-modernistbold", sans-serif;
  font-size: 21px !important;
  font-weight: 700 !important;
  background-color: #fe8787;
  width: 100%;
  padding: 20px;
  text-align: center;
  margin-bottom: 40px;
}

.aviso-prereserva {
  background: #cff9f3;
  font-size: 0.9rem;
  padding: 20px;
  border: 1px solid #000000;
  border-radius: 5px;
  margin: 0px 20px 0px 20px;
}
.aviso_reserva_texto_panel{
  margin-bottom: 20px;
  padding-bottom: 20px;
}
.aviso_reserva_texto_panel p{
  margin: 0px;
  padding: 5px;
  font-size: 16px;
}
/* Estilo para el contenedor del elemento de la tarjeta */
#card-element {
  background-color: white;
  padding: 8px 12px;
  border: 1px solid #ced4da;
  /* Bootstrap's default border color */
  border-radius: 0.25rem;
  /* Bootstrap's default border radius */
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  /* Bootstrap's default input shadow */
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  /* Bootstrap's default transition */
}

#card-element:focus {
  border-color: #80bdff;
  /* Bootstrap's default focus border color */
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
  /* Bootstrap's default focus shadow */
}

#card-number-element,
#card-expiry-element,
#card-cvc-element {
  background-color: white;
  height: 38px;
  padding: 6px 12px;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

#card-number-element:focus,
#card-expiry-element:focus,
#card-cvc-element:focus {
  border-color: #80bdff;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Estilo para mensajes de error */
#card-errors {
  color: #dc3545;
  /* Bootstrap's danger color */
  margin-top: 8px;
  font-size: 0.875em;
  font-weight: bold;
}
.reserva_stripe h3 {
  font-family: "Merriweather", serif;
  font-size: 24px !important;
  font-weight: 700 !important;
}
.reserva_stripe h4 {
  font-family: "Merriweather", serif;
  font-size: 22px !important;
  font-weight: 700 !important;
}
.reserva_stripe .resumen2 {
  font-size: 17px !important;
  font-weight: 400;
  color: #a09e9e;
}
.reserva_stripe .resumen {
  font-size: 17px !important;
  font-weight: 400;
  padding-bottom: 50px;
  border-bottom: 1px solid #000000;
}
.reserva_stripe .legal {
  font-size: 13px !important;
  line-height: 15px !important;
  font-weight: 400;
}

/* ==========================================================================
   Selector visual de meses (reserva) + resumen de precio
   ========================================================================== */
.selector-meses-label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}
.selector-meses {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.mes-chip {
  border: 1px solid #cfd4d9;
  background: #ffffff;
  color: #191919;
  border-radius: 10px;
  padding: 10px 4px;
  font-size: 14px;
  line-height: 1.1;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}
.mes-chip .mes-chip-label {
  display: block;
  font-weight: 600;
  text-transform: capitalize;
}
.mes-chip.seleccionable:hover {
  border-color: #16c2a3;
  background: #eafaf6;
}
/* Mes de entrada y de salida seleccionados */
.mes-chip.entrada,
.mes-chip.salida {
  background: #16c2a3;
  border-color: #16c2a3;
  color: #ffffff;
  font-weight: 700;
}
/* Meses intermedios dentro del rango elegido */
.mes-chip.en-rango {
  background: #b3f1e9;
  border-color: #b3f1e9;
  color: #0d5c50;
}
/* Meses no elegibles para la selección actual */
.mes-chip.atenuado {
  opacity: 0.4;
  cursor: not-allowed;
}
/* Meses ocupados / no disponibles */
.mes-chip.ocupado,
.mes-chip:disabled {
  background: #f0f0f0;
  border-color: #e2e2e2;
  color: #b0b0b0;
  cursor: not-allowed;
  text-decoration: line-through;
}
.selector-meses-resumen {
  margin: 10px 0 0;
  font-size: 14px;
  color: #191919;
}

/* Resumen de precio + enlace al desglose */
.resumen-precio-reserva {
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  padding: 12px 14px;
}
.resumen-precio-fila {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 2px 0;
}
.resumen-precio-fila + .resumen-precio-fila {
  border-top: 1px dashed #e2e2e2;
  margin-top: 4px;
  padding-top: 6px;
}
.ver-desglose-precios {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #0d5c50;
  text-decoration: underline;
  cursor: pointer;
}
.ver-desglose-precios:hover {
  color: #16c2a3;
}
.tabla-desglose-reserva td {
  padding: 4px 0;
  vertical-align: top;
}

/* ==========================================================================
   Modal propio (autocontenido) — desglose de precios
   ========================================================================== */
.homiii-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.homiii-modal[hidden] {
  display: none;
}
.homiii-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
.homiii-modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow: auto;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: homiiiModalIn 0.15s ease-out;
}
@keyframes homiiiModalIn {
  from { transform: translateY(12px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.homiii-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid #ececec;
}
.homiii-modal-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}
.homiii-modal-close {
  border: 0;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  color: #888;
  cursor: pointer;
  padding: 0 4px;
}
.homiii-modal-close:hover {
  color: #191919;
}
.homiii-modal-body {
  padding: 16px 18px;
}
body.homiii-modal-abierto {
  overflow: hidden;
}

/* Ayuda, leyenda y resumen del selector de meses */
.selector-meses-ayuda {
  margin: 0 0 10px;
  font-size: 13px;
  color: #555;
}
.selector-meses-leyenda {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
  font-size: 12px;
  color: #555;
}
.selector-meses-leyenda span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.leyenda-punto {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  display: inline-block;
  border: 1px solid #cfd4d9;
}
.leyenda-punto.entrada { background: #16c2a3; border-color: #16c2a3; }
.leyenda-punto.en-rango { background: #b3f1e9; border-color: #b3f1e9; }
.leyenda-punto.ocupado { background: #f0f0f0; border-color: #e2e2e2; }
.selector-meses-resumen .resumen-ok {
  color: #0d5c50;
  font-weight: 600;
}
.selector-meses-resumen .reiniciar-meses {
  font-size: 12px;
  color: #888;
  text-decoration: underline;
  margin-left: 6px;
}
