@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.pre-formulario-presup {
  text-align: center;
  padding: 40px 20px;
  font-family: "Poppins", sans-serif;
}

.pre-form-title {
  font-size: 49px;
  font-weight: 600;
  margin-bottom: 1rem;
}

.pre-form-text {
  font-size: 1rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto 1rem;
  line-height: 1.6;
}

.form-steps {
  display: flex;
  justify-content: space-evenly;
  margin: 40px auto 30px;
  gap: 20px;
  flex-wrap: wrap;
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
  counter-reset: step-counter;
  max-width: 1300px;
}

.step {
  display: flex;
  align-items: center;
  position: relative;
  padding: 10px 16px;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  color: rgba(207, 34, 35, 0.5);
  background-color: #fff;
  transition: color 0.3s;
  text-transform: uppercase;
}

.step::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  background-color: rgba(207, 34, 35, 0.3);
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 600;
  margin-right: 10px;
  transition: background-color 0.3s;
}

.step.active {
  color: #cf2223;
}

.step.active::before {
  background-color: #cf2223;
}

.step-content {
  display: none;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
  background: #ffffff;
  border: 1px solid #d0d6de;
  box-shadow: 0px 24px 20px 0px #00000014;
  border-radius: 16px;
  padding: 40px;
  margin-top: 40px;
}

.step-content.active-step {
  display: block;
}

.step-title {
  font-weight: 600;
  font-size: 25px;
  color: #000912;
  line-height: 120%;
  margin-bottom: 15px;
}

.step-info-text,
.warning-text,
.text-whatsapp-form {
  font-weight: 400;
  font-size: 16px;
  color: #000912;
}

.warning-box {
  display: flex;
  align-items: center;
  background-color: #ecf3fa;
  border: 1px solid #007aff;
  padding: 15px;
  border-radius: 8px;
  margin: 15px 0;
}

.warning-icon {
  width: 32px;
  height: 32px;
  margin-right: 15px;
}

.form-row {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.form-field {
  flex: 1 1 33%;
}

.form-row-full {
  flex: 1 1 100%;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 400;
  font-size: 16px;
  color: #000912;
}

input,
select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: "Poppins", sans-serif;
}

input[type="date"] {
  margin-bottom: 20px;
}

select {
  background-color: #fff;
  color: #555;
}

.btn-next-form,
.btn-next,
.btn-back {
  padding: 12px 24px;
  cursor: pointer;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.btn-next-form,
.btn-next {
  background-color: #cf2223;
  color: #fff;
  border: none;
}

.btn-next-form {
  margin: 20px auto 0;
  width: 100%;
}

.btn-back {
  background-color: #fff;
  color: #cf2223;
  border: 1px solid #cf2223;
}

.btn-container {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  gap: 12px;
}

.btn-next,
.btn-back {
  width: 48%;
}

@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
  }

  .form-field {
    flex: 1 1 100%;
  }

  .btn-next,
  .btn-back {
    width: 100%;
  }

  .pre-form-title {
    font-size: 32px;
  }

  .form-steps {
    gap: 8px;
  }
}

.hotels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 20px 0;
}

.hotel-item {
  background-color: #fff;
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  cursor: pointer;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}

.hotel-item img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 16px;
}

.hotel-item p {
  font-family: Poppins;
  font-weight: 600;
  font-size: 20px;
  line-height: 120%;
  letter-spacing: 1%;
  text-align: center;
  color: #000912;
  margin-top: 15px;
}

.hotel-item.selected {
  position: relative;
}

.hotel-item.selected::before {
  content: "✓";
  position: absolute;
  top: 0px;
  right: 0px;
  background-color: #28a745;
  color: white;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  font-weight: bold;
  z-index: 99999;
}

/* Responsividad */
@media (max-width: 1024px) {
  .hotels-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hotels-grid {
    grid-template-columns: 1fr;
  }
}

.travelers-rooms {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 20px;
  gap: 20px;
}

.travelers-rooms label {
  margin-bottom: 0;
}

.travelers-rooms select {
  width: auto;
  min-width: 150px;
}

.travelers-container {
  margin: 20px 0;
}

.room-section {
  margin-bottom: 20px;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.room-section h6 {
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #000912;
  margin-bottom: 15px;
}

.room-adults-kids {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
}

.room-adults-kids .form-field {
  flex: 1 1 50%;
}

.kids-ages {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.kids-ages .form-field {
  flex: 1 1 calc(33.33% - 8px);
}

.kids-ages .form-field:nth-child(n + 4) {
  flex: 1 1 calc(50% - 6px);
}

@media (max-width: 768px) {
  .travelers-rooms {
    flex-direction: column;
    align-items: flex-start;
  }

  .travelers-rooms select {
    width: 100%;
    margin-top: 8px;
  }

  .room-adults-kids {
    flex-direction: column;
  }

  .room-adults-kids .form-field {
    flex: 1 1 100%;
  }

  .kids-ages .form-field {
    flex: 1 1 100%;
  }
}

textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: "Poppins", sans-serif;
  resize: vertical;
}

.checkbox-label {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  font-size: 16px;
  color: #000912;
  margin-top: 15px;
  gap: 5px;
}

@media (max-width: 600px) {
  .checkbox-label input[type="checkbox"] {
    margin-bottom: 8px;
  }
}

.checkbox-label input[type="checkbox"] {
  margin-right: 10px;
  width: 20px;
  height: 20px;
}

label[for="observacion"] {
  font-family: Poppins;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0%;
}

/* Estilo para el popup */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-content {
  width: 90%;
  max-width: 650px;
  height: auto;
  padding: 40px 60px;
  gap: 20px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid #f3f5f7;
  box-shadow: 0px 8px 8px 0px #0000001a;
  box-shadow: 0px 24px 20px 0px #00000014;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.popup-content h3 {
  font-family: Poppins;
  font-weight: 600;
  font-size: 39px;
  line-height: 120%;
  letter-spacing: 0%;
  text-align: center;
  color: #000912;
}

.popup-content h6 {
  font-family: Poppins;
  font-weight: 600;
  font-size: 20px;
  line-height: 120%;
  letter-spacing: 1%;
  text-align: center;
}

.popup-content p {
  font-family: Poppins;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0px;
  text-align: center;
  padding: 0 20px;
}

.popup-content img {
  display: block;
  margin: 0 auto;
  max-width: 80px;
}

.popup-content button {
  display: block;
  margin: 20px auto 0;
  padding: 10px 20px;
  background-color: #cf2223;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  text-transform: uppercase;
  width: 100%;
}

.popup-content button:hover {
  background-color: #f35656;
}

@media (max-width: 768px) {
  .popup-content {
    width: 90%;
    padding: 20px 40px;
  }

  .popup-content h3 {
    font-size: 30px;
  }

  .popup-content h6 {
    font-size: 18px;
  }

  .popup-content p {
    font-size: 14px;
  }

  .popup-content img {
    max-width: 60px;
  }

  .popup-content button {
    padding: 12px 24px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .popup-content {
    width: 90%;
    padding: 20px;
  }

  .popup-content h3 {
    font-size: 24px;
  }

  .popup-content h6 {
    font-size: 16px;
  }

  .popup-content p {
    font-size: 14px;
  }

  .popup-content img {
    max-width: 50px;
  }

  .popup-content button {
    width: 100%;
    font-size: 16px;
  }
}

/* =====================================================================
   MEJORAS DE INTERFAZ · PASO 1
   Se añaden AL FINAL para no modificar ninguna regla anterior.
   Mismos colores y fuentes: solo espaciados, alineaciones, sombras y estados.
   ===================================================================== */

/* ---- 1 · Los botones de opción heredaban "input { width:100%; padding:12px }",
          por eso cada círculo ocupaba su propia fila encima del texto ---- */
.step-content input[type="radio"] {
  width: auto;
  padding: 0;
}

/* ---- 2 · Estados de foco y hover con los colores de la marca ---- */
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #cf2223;
  box-shadow: 0 0 0 3px rgba(207, 34, 35, 0.15);
}

.btn-next:hover,
.btn-next-form:hover {
  box-shadow: 0 8px 16px -8px rgba(207, 34, 35, 0.6);
  transform: translateY(-1px);
}

.btn-back:hover {
  background-color: rgba(207, 34, 35, 0.06);
}

.warning-icon {
  flex: 0 0 32px;
}

.step-info-text {
  line-height: 1.5;
}

textarea {
  min-height: 110px;
}

/* ---- 3 · Tarjeta de cada paso: relleno y sombra ajustados a cada pantalla ---- */
@media (max-width: 768px) {
  .step-content {
    padding: 28px 22px;
    margin-top: 28px;
    box-shadow: 0px 12px 16px 0px #00000014;
  }

  .step-title {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .step-content {
    padding: 22px 16px;
    border-radius: 14px;
  }

  /* El botón principal arriba y "Regresar" debajo, los dos a todo el ancho */
  .btn-container {
    flex-direction: column-reverse;
  }
}

/* ---- 4 · Barra de pasos en móvil: círculos numerados + nombre del paso activo ---- */
@media (max-width: 600px) {
  .form-steps {
    gap: 4px;
    margin: 28px auto 16px;
    padding-bottom: 12px;
    justify-content: center;
  }

  .step {
    padding: 6px;
    font-size: 0;
  }

  .step::before {
    margin-right: 0;
    font-size: 14px;
  }

  .step.active {
    padding: 6px 10px;
    font-size: 13px;
  }

  .step.active::before {
    margin-right: 8px;
  }
}

/* ---- 5 · Paso "Fechas": centrado y equilibrado ---- */
#fecha-viaje > .step-title,
#fecha-viaje > .step-info-text {
  text-align: center;
}

#fecha-viaje > .step-info-text {
  max-width: 560px;
  margin: 0 auto 26px;
}

.paso-centrado {
  max-width: 640px;
  margin: 0 auto;
}

.paso-centrado .warning-box {
  text-align: left;
  margin-top: 0;
}

/* "¿Tienes ya las fechas?": dos tarjetas seleccionables */
.tipo-fecha-selector {
  margin: 0 0 26px;
  text-align: center;
}

.tipo-fecha-titulo {
  margin: 0 0 12px;
  font-weight: 600;
  font-size: 18px;
  color: #000912;
}

.tipo-fecha-opciones {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 600px) {
  .tipo-fecha-opciones {
    grid-template-columns: 1fr 1fr;
  }
}

.opcion-fecha {
  position: relative;
  display: block;
  margin: 0;
  cursor: pointer;
}

/* El radio sigue existiendo (teclado y lectores de pantalla), solo se oculta a la vista */
.opcion-fecha input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
}

.opcion-fecha-caja {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
  padding: 16px 18px;
  text-align: left;
  background-color: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    background-color 0.2s;
}

.opcion-fecha:hover .opcion-fecha-caja {
  border-color: rgba(207, 34, 35, 0.45);
}

.opcion-fecha input[type="radio"]:focus-visible + .opcion-fecha-caja {
  outline: 3px solid rgba(207, 34, 35, 0.35);
  outline-offset: 2px;
}

.opcion-fecha input[type="radio"]:checked + .opcion-fecha-caja {
  border-color: #cf2223;
  background-color: rgba(207, 34, 35, 0.05);
  box-shadow: 0 8px 20px -12px rgba(207, 34, 35, 0.55);
}

/* La marca de "elegido" va dibujada con un SVG, sin depender de ninguna tipografía */
.opcion-fecha input[type="radio"]:checked + .opcion-fecha-caja::after {
  content: "";
  position: absolute;
  top: -9px;
  right: -9px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #cf2223
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E")
    no-repeat center / 14px 14px;
}

.opcion-fecha-icono {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 50%;
  background-color: rgba(207, 34, 35, 0.1);
  color: #cf2223;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition:
    background-color 0.2s,
    color 0.2s;
}

.opcion-fecha
  input[type="radio"]:checked
  + .opcion-fecha-caja
  .opcion-fecha-icono {
  background-color: #cf2223;
  color: #fff;
}

.opcion-fecha-texto strong {
  display: block;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.25;
  color: #000912;
}

.opcion-fecha-texto small {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  line-height: 1.35;
  color: #555;
}

/* Las dos fechas (o mes y noches) lado a lado en pantallas anchas */
.fechas-par {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 18px 0 4px;
}

@media (min-width: 600px) {
  .fechas-par {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

.fechas-par .form-field {
  flex: none;
  min-width: 0;
}

.fechas-par label {
  margin-bottom: 6px;
  font-weight: 600;
}

#bloque-fechas-exactas .season-legend {
  gap: 8px 12px;
  margin: 14px 0 6px;
  padding: 0;
}

#bloque-fechas-exactas .season-item {
  gap: 5px;
  font-size: 13px;
  white-space: nowrap;
}

#bloque-fechas-exactas .season-color {
  width: 20px;
  height: 20px;
}

/* Los campos de fecha se reconocen como selectores de calendario */
#fechaIda,
#fechaVuelta {
  cursor: pointer;
  padding-right: 46px;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cf2223' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E")
    no-repeat right 14px center / 20px 20px;
}

#fechaIda:not(:placeholder-shown),
#fechaVuelta:not(:placeholder-shown) {
  font-weight: 600;
  color: #000912;
}

/* Botón de continuar: centrado y con un ancho cómodo */
.paso-centrado .btn-container {
  justify-content: center;
  margin-top: 28px;
}

.paso-centrado .btn-container .btn-next {
  width: 100%;
  max-width: 360px;
}

/* ---- 6 · Paso "Viajeros": cada fecha de nacimiento agrupada con su aviso de edad ---- */
.nino-fila {
  margin-bottom: 14px;
}

.nino-fila input[type="date"] {
  min-height: 48px;
  margin-bottom: 6px;
  text-align: left;
}

.nino-fila .edad-nino-texto {
  display: block;
  font-size: 13px;
  line-height: 1.4;
}

/* ---- 7 · Blindaje frente a reglas globales de otras hojas de estilo ----
   Algunas hojas generales rellenan todos los SVG (svg path { fill: ... }) o dan estilo a
   todos los <button> e <input>. Estos componentes llevan sus valores clave con !important
   para que nadie se los pise: sin esto, los iconos de calendario se veían como
   rectángulos macizos. */
.opcion-fecha-icono,
.opcion-fecha-icono * {
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.opcion-fecha-icono {
  width: 40px !important;
  height: 40px !important;
}

.opcion-fecha input[type="radio"] {
  position: absolute !important;
  opacity: 0 !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  -webkit-appearance: none;
  appearance: none;
}

/* Identificador de versión de esta hoja: la página lo lee para detectar ficheros mezclados */
:root {
  --pdh-build: "20261007";
}

.desplegables-fecha-nac {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 8px;
}

.desplegables-fecha-nac select {
  width: 100%;
  padding: 10px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: "Poppins", sans-serif;
  font-size: 0.9rem;
  background-color: #fff;
  color: #1e293b;
}

.desplegables-fecha-nac select:focus {
  border-color: #cf2223;
  outline: none;
}

/* ---- 8 · Hoteles agrupados por categoría y pregunta de preferencia ---- */

/* Cabecera de cada categoría: ocupa toda la fila de la rejilla */
.hoteles-grupo-cabecera {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 12px;
  margin-top: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e7eb;
}

.hoteles-grupo-titulo {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  color: #000912;
}

.hoteles-grupo-precio {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: #cf2223;
}

.hoteles-grupo-texto {
  flex-basis: 100%;
  margin: 0;
  font-size: 0.92rem;
  color: #555;
}

/* Pregunta opcional "¿Qué es lo más importante para ti?" (aparece al marcar "No lo sé") */
.pref-hotel {
  grid-column: 1 / -1;
  min-width: 0;
  margin: 0;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fafafa;
}

.pref-hotel[hidden] {
  display: none !important;
}

.pref-hotel-titulo {
  float: left; /* con float el título deja de quedar cortado por el borde del recuadro */
  width: 100%;
  margin: 0 0 2px;
  padding: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: #000912;
}

.pref-hotel-ayuda {
  clear: both;
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: #555;
}

.pref-opcion {
  position: relative;
  display: block;
  margin: 0 0 8px;
  cursor: pointer;
}

.pref-opcion input[type="radio"] {
  position: absolute !important;
  opacity: 0 !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.pref-opcion > span {
  position: relative;
  display: block;
  padding: 12px 14px 12px 44px;
  border: 1px solid #ccc;
  border-radius: 10px;
  background: #fff;
  transition:
    border-color 0.2s,
    background-color 0.2s;
}

.pref-opcion > span::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  box-sizing: border-box;
  border: 2px solid #9ca3af;
  border-radius: 50%;
  background: #fff;
}

.pref-opcion strong {
  display: block;
  font-weight: 600;
  color: #000912;
}

.pref-opcion small {
  display: block;
  font-size: 0.85rem;
  color: #555;
}

.pref-opcion:hover > span {
  border-color: #cf2223;
}

.pref-opcion input:checked + span {
  border-color: #cf2223;
  background: #fff5f5;
}

.pref-opcion input:checked + span::before {
  border-color: #cf2223;
  background: #cf2223;
  box-shadow: inset 0 0 0 3px #fff;
}

.pref-opcion input:focus-visible + span {
  outline: 3px solid rgba(207, 34, 35, 0.35);
  outline-offset: 2px;
}

/* ---- 9 · Con "No lo sé" marcado se esconde la lista de hoteles ----
   Así la pregunta de preferencia y el botón "Continuar" quedan a la vista, sin tanto scroll. */
#hoteles-viaje.modo-recomendar .hoteles-categorias {
  display: none !important;
}

/* La tarjeta "No lo sé" pasa a ser una franja compacta a todo el ancho */
#hoteles-viaje.modo-recomendar .hotel-item-ayuda {
  grid-column: 1 / -1;
  flex-direction: row;
  justify-content: flex-start;
  gap: 14px;
  min-height: 0;
  padding: 12px 16px;
  text-align: left;
}

#hoteles-viaje.modo-recomendar .hotel-item-ayuda .hotel-item-icono {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  margin-bottom: 0;
  font-size: 1.2rem;
}

#hoteles-viaje.modo-recomendar .hotel-item-ayuda p {
  text-align: left;
}

#hoteles-viaje.modo-recomendar .hotel-item-ayuda p br {
  display: none;
}

/* Enlace para volver a la lista de hoteles */
.pref-ver-hoteles {
  display: inline-block !important;
  width: auto !important;
  margin: 6px 0 0 !important;
  padding: 6px 0 !important;
  font: inherit;
  font-size: 0.92rem;
  color: #cf2223 !important;
  background: none !important;
  border: 0 !important;
  text-decoration: underline;
  cursor: pointer;
}

/* ---- 10 · ¿Combinar con París? (paso 1) ---- */
/* Paso 1 en cascada: lo oculto no ocupa sitio, y lo que aparece entra con un fundido corto */
#fecha-viaje [hidden] {
  display: none !important;
}

.pregunta-paso:not([hidden]) {
  animation: pregunta-aparece 0.35s ease-out;
}

@keyframes pregunta-aparece {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pregunta-paso:not([hidden]) {
    animation: none;
  }
}

.paris-detalle {
  margin-top: 4px;
}

.paris-noches-disney {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #f3f5f7;
  font-weight: 600;
  color: #000912;
}

.paris-resumen {
  margin: 10px 0 14px;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #000912;
  text-align: left;
}

.paris-resumen:empty {
  display: none;
}

.paris-resumen strong {
  color: #cf2223;
}

.paris-orden {
  margin: 10px 0 0;
  padding: 0;
  border: 0;
  text-align: left;
}

.paris-orden legend {
  margin: 0 0 8px;
  padding: 0;
  font-weight: 600;
  font-size: 1rem;
  color: #000912;
}

/* ---- 10 · Hoteles por categorías desplegables (acordeón) ----
   Arriba "No lo sé, aconsejadme"; debajo, una tarjeta por categoría SIN fotos.
   Las fotos de los hoteles solo existen dentro del panel abierto (atributo hidden = no se cargan). */
#hoteles-viaje .hotels-grid > .hotel-item-ayuda {
  grid-column: 1 / -1;
  flex-direction: row;
  justify-content: flex-start;
  gap: 16px;
  min-height: 0;
  padding: 16px 20px;
  text-align: left;
}

#hoteles-viaje .hotels-grid > .hotel-item-ayuda .hotel-item-icono {
  flex: 0 0 auto;
  margin-bottom: 0;
}

#hoteles-viaje .hotels-grid > .hotel-item-ayuda p {
  text-align: left;
  margin: 0;
}

#hoteles-viaje .hotels-grid > .hotel-item-ayuda p br {
  display: none;
}

.hoteles-categorias {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hotel-cat {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  scroll-margin-top: 80px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.hotel-cat.abierta,
.hotel-cat.tiene-seleccion {
  border-color: #cf2223;
}

.hotel-cat.abierta {
  box-shadow: 0 4px 14px rgba(0, 9, 18, 0.08);
}

.hotel-cat-cabecera {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  margin: 0;
  padding: 16px 18px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #000912;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.hotel-cat-cabecera:hover {
  background: #fafafa;
}

.hotel-cat-cabecera:focus-visible {
  outline: 3px solid rgba(207, 34, 35, 0.35);
  outline-offset: 2px;
}

.hotel-cat-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.hotel-cat-linea {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 12px;
}

.hotel-cat-titulo {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.25;
}

.hotel-cat-precio {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: #cf2223;
}

.hotel-cat-texto {
  font-size: 0.92rem;
  line-height: 1.4;
  color: #555;
}

.hotel-cat-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  font-size: 0.82rem;
  color: #6b7280;
}

.hotel-cat-elegido {
  padding: 2px 10px;
  border-radius: 999px;
  background: #e8f6ec;
  color: #1e7a38;
  font-weight: 600;
}

.hotel-cat-elegido[hidden] {
  display: none !important;
}

.hotel-cat-flecha {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin: 0 6px 4px 0;
  border-right: 2px solid #cf2223;
  border-bottom: 2px solid #cf2223;
  transform: rotate(45deg);
  transition: transform 0.25s;
}

.hotel-cat.abierta .hotel-cat-flecha {
  margin-bottom: 0;
  transform: rotate(225deg);
}

.hotel-cat-panel {
  padding: 4px 14px 16px;
}

.hotel-cat-panel[hidden] {
  display: none !important;
}

.hotel-cat-panel:not([hidden]) {
  animation: hotel-cat-aparece 0.3s ease-out;
}

@keyframes hotel-cat-aparece {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hotel-cat-panel:not([hidden]) {
    animation: none;
  }
  .hotel-cat-flecha {
    transition: none;
  }
}

.hotel-cat-nota {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff8e6;
  font-size: 0.88rem;
  color: #6b4e00;
}

.hotel-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.hotel-cat-grid .hotel-item {
  border: 1px solid #e5e7eb;
}

.hotel-cat-grid .hotel-item:hover {
  border-color: #cf2223;
}

.hotel-cat-grid .hotel-item.selected {
  border-color: #28a745;
  box-shadow: 0 0 0 2px #28a745;
}

.hotel-cat-grid .hotel-item p {
  font-size: 18px;
  margin-top: 10px;
}

.hotel-item-nota {
  display: block;
  margin-top: 6px;
  font-size: 0.82rem;
  line-height: 1.35;
  color: #555;
}

@media (max-width: 1024px) {
  .hotel-cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .hotel-cat-cabecera {
    padding: 14px;
  }
  .hotel-cat-panel {
    padding: 2px 8px 12px;
  }
  .hotel-cat-grid {
    gap: 10px;
  }
  .hotel-cat-grid .hotel-item {
    padding: 6px;
  }
  .hotel-cat-grid .hotel-item img {
    height: 110px;
    border-radius: 12px;
  }
  .hotel-cat-grid .hotel-item p {
    font-size: 15px;
    margin-top: 8px;
  }
  .hotel-item-nota {
    font-size: 0.75rem;
  }
}

.propuesta-toggle {
  display: inline-block !important;
  width: auto !important;
  margin: 6px 0 0 !important;
  padding: 6px 0 !important;
  font: inherit;
  font-size: 0.9rem;
  color: #cf2223 !important;
  background: none !important;
  border: 0 !important;
  text-decoration: underline;
  cursor: pointer;
}
.propuesta-toggle[hidden],
.propuesta-avanzado[hidden] {
  display: none !important;
}
.propuesta-avanzado {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px dashed #cfe6d4;
}
.propuesta-avanzado:not([hidden]) {
  animation: pregunta-aparece 0.3s ease-out;
}
@media (prefers-reduced-motion: reduce) {
  .propuesta-avanzado:not([hidden]) {
    animation: none;
  }
}

/* ---- 12 · Paso "Últimos detalles": planes de comida con más estructura ---- */
.comidas-inline-container {
  padding: 0 !important;
  overflow: hidden;
  background: #f4f6fb !important;
  border: 1px solid #dbe2f0 !important;
  border-radius: 16px !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}
.comidas-inline-container .comidas-header-flex {
  margin: 0;
  padding: 16px 18px;
  background: linear-gradient(135deg, #1b2a5c 0%, #2b3f86 100%);
}
.comidas-titulos {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.comidas-inline-container .comidas-inline-title {
  color: #fff;
  font-size: 1.05rem;
}
.comidas-subtitulo {
  font-size: 0.85rem;
  color: #c7d2ee;
}

.comidas-inline-container .btn-calc-help {
  padding: 10px 18px;
  color: #1b2a5c;
  font-size: 0.88rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fbe7a1 0%, #f0c24f 100%);
  border: 1px solid #e3b53e;
  border-radius: 999px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.comidas-inline-container .btn-calc-help:hover {
  color: #1b2a5c;
  background: linear-gradient(135deg, #fff0b8 0%, #f6cd62 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}
.comidas-inline-container .btn-calc-help:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

.comidas-cuerpo {
  padding: 16px 18px 6px;
}
.comidas-inline-container .pref-comidas {
  margin-bottom: 18px;
}
.comidas-inline-container .pref-comidas:not([hidden]) {
  animation: pregunta-aparece 0.3s ease-out;
}
.comidas-inline-container .pref-hotel-titulo {
  margin-bottom: 8px;
  font-size: 0.98rem;
  font-weight: 700;
  color: #1b2a5c;
}

/* Tarjetas: borde fino, fondo blanco, sombra suave en hover */
.comidas-inline-container .pref-opcion > span {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    background-color 0.2s;
}
.comidas-inline-container .pref-opcion:hover > span {
  border-color: #8fa0cf;
  box-shadow: 0 4px 12px rgba(27, 42, 92, 0.1);
}
/* Elegida: azul Disney */
.comidas-inline-container .pref-opcion input:checked + span {
  background: #eef2ff;
  border-color: #2b3f86;
  box-shadow:
    0 0 0 1px #2b3f86,
    0 6px 16px rgba(43, 63, 134, 0.15);
}
.comidas-inline-container .pref-opcion input:checked + span::before {
  border-color: #2b3f86;
  background: #2b3f86;
  box-shadow: inset 0 0 0 3px #fff;
}
.comidas-inline-container .pref-opcion input:focus-visible + span {
  outline: 3px solid rgba(43, 63, 134, 0.35);
}
.comidas-inline-container .pref-opcion strong {
  color: #1b2a5c;
}

/* Niveles con micro-badge */
.comidas-inline-container .comidas-niveles {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.opcion-linea {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
}
.plan-badge {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.plan-economico {
  background: #e6f4ea;
  color: #1e6b36;
}
.plan-vendido {
  background: #fdf1c7;
  color: #7a5600;
  border: 1px solid #ecc96a;
}
.plan-premium {
  background: #efe8fb;
  color: #5b3a9e;
}
.plan-lujo {
  background: #1b2a5c;
  color: #f6d776;
}

/* No disponible: gris, sin sombra, y el motivo siempre legible */
.comidas-inline-container .pref-opcion.no-disponible > span {
  filter: grayscale(1);
  background: #f1f5f9;
  border: 1px dashed #cbd5e1;
  box-shadow: none;
}
.comidas-inline-container
  .pref-opcion.no-disponible
  > span
  > :not(.motivo-no-disponible) {
  opacity: 0.5;
}
.comidas-inline-container .pref-opcion.no-disponible:hover > span {
  border-color: #cbd5e1;
  box-shadow: none;
}
.comidas-inline-container .motivo-no-disponible {
  margin-top: 2px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
}
.comidas-inline-container .motivo-no-disponible::before {
  content: "🔒 ";
}

@media (prefers-reduced-motion: reduce) {
  .comidas-inline-container .pref-comidas:not([hidden]) {
    animation: none;
  }
  .comidas-inline-container .btn-calc-help {
    transition: none;
  }
}
