/* ==========================================================================
   WALDORF HOTEL CARACAS — Portal de Reservas
   Diseño Mobile-First · Sin scroll · Sin emojis · Responsivo
   ========================================================================== */

:root {
  /* Marca — Waldorf Hotel Caracas */
  --hotel-primary: #111111;           /* Negro elegante */
  --hotel-primary-hover: #000000;
  --hotel-primary-rgb: 17, 17, 17;

  --hotel-accent-gold: #c8a261;       /* Dorado Waldorf */
  --hotel-accent-gold-hover: #b48e4d;

  /* Fondos */
  --bg-primary: #fdfbf7;              /* Blanco cálido */
  --bg-secondary: #f4f3ef;            /* Gris perla */

  --card-bg: #fdfbf7;
  --card-border: rgba(17, 17, 17, 0.08);
  --card-border-active: rgba(17, 17, 17, 0.35);

  /* Texto */
  --text-primary: #1c1c1c;
  --text-secondary: #555555;
  --text-muted: #8c8c8c;
  --text-dark: #1c1c1c;
  --text-light: #ffffff;
  --text-on-primary: #ffffff;

  /* Estados */
  --error: #e07a5f;
  --success: #111111;                 /* Uso de negro para confirmación */
  --whatsapp: #25d366;

  /* Tipografía */
  --font-family: 'Inter', -apple-system, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;

  --header-h: 52px;
}

/* ==========================================================================
   Reset
   ========================================================================== */

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

html, body {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
}

body {
  display: flex;
  flex-direction: column;
  background-image: radial-gradient(circle at 80% 20%, rgba(200, 162, 97, 0.04) 0%, transparent 55%),
                    radial-gradient(circle at 15% 85%, rgba(17, 17, 17, 0.02) 0%, transparent 50%);
  /* Bloqueo de selección/copia (disuasión) */
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

/* Los campos de formulario sí permiten escribir/editar */
input, textarea {
  -webkit-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

/* Evitar resaltado azul de imágenes al tocar/arrastrar */
img {
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: auto;
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  line-height: 1;
}

/* ==========================================================================
   Header
   ========================================================================== */

.hotel-header {
  flex-shrink: 0;
  width: 100%;
  height: var(--header-h);
  padding: 0 1rem;
  background-color: rgba(253, 251, 247, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--card-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.header-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-primary);
  min-width: 0;
}

.header-logo-img {
  height: clamp(28px, 6vh, 36px);
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

.header-logo {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--hotel-primary);
  font-weight: 500;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-logo span {
  font-size: 1.1rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.help-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--hotel-primary);
  border: 1px solid rgba(17, 17, 17, 0.15);
  padding: 0.3rem 0.6rem;
  border-radius: 30px;
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition-fast);
  white-space: nowrap;
  background: rgba(17, 17, 17, 0.015);
}

.help-btn:hover {
  background: var(--hotel-primary);
  color: #ffffff;
  border-color: var(--hotel-primary);
  box-shadow: 0 4px 10px rgba(17, 17, 17, 0.15);
}

.help-btn span:first-of-type {
  font-size: 1.05rem;
}

.back-to-home {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.back-to-home span {
  font-size: 1rem;
}

.back-to-home:hover {
  color: var(--hotel-primary);
}

/* ==========================================================================
   Portal — Mobile base layout (single column, flex, no scroll)
   ========================================================================== */

.booking-portal {
  flex: 1;
  min-height: 0;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.6rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow: hidden;
}

/* ==========================================================================
   Step Tracker
   ========================================================================== */

.step-tracker {
  flex-shrink: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-secondary);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 0.55rem 1rem;
  position: relative;
}

.step-tracker-line,
.step-tracker-progress {
  position: absolute;
  bottom: 0;
  left: 6%;
  right: 6%;
  height: 1.5px;
}

.step-tracker-line {
  background: rgba(17, 17, 17, 0.08);
}

.step-tracker-progress {
  right: auto;
  width: 0%;
  background: var(--hotel-primary);
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.tracker-step {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  user-select: none;
}

.step-number {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.step-label {
  display: none;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.tracker-step.active .step-number,
.tracker-step.active .step-label {
  color: var(--hotel-primary);
  font-weight: 700;
}

.tracker-step.completed .step-number,
.tracker-step.completed .step-label {
  color: var(--text-secondary);
}

/* ==========================================================================
   Wizard
   ========================================================================== */

.wizard-column {
  flex: 1;
  min-height: 0;
  display: flex;
}

.wizard-card {
  flex: 1;
  min-height: 0;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: none;
  flex-direction: column;
  animation: cardFadeIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.wizard-card.active {
  display: flex;
}

@keyframes cardFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.wizard-header {
  flex-shrink: 0;
  margin-bottom: 0.6rem;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  padding-bottom: 0.5rem;
}

.wizard-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.wizard-title span {
  font-size: 1.15rem;
  color: var(--hotel-primary);
}

.wizard-subtitle {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 0.15rem;
}

/* El cuerpo ocupa toda la altura disponible y distribuye su contenido.
   En pantallas bajas el contenido se desplaza dentro del cuerpo (scroll
   interno) en lugar de desbordarse y solaparse con el pie (Atrás / Continuar). */
.wizard-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  margin-bottom: 0.7rem;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.wizard-footer {
  flex-shrink: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  padding-top: 0.7rem;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-family);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  outline: none;
  text-decoration: none;
}

.btn span { font-size: 1.05rem; }

.btn-primary {
  background: var(--hotel-primary);
  color: #ffffff;
}

.btn-primary:hover:not(:disabled) {
  background: var(--hotel-primary-hover);
  transform: translateY(-1px);
}

.btn-primary:disabled {
  background: rgba(17, 17, 17, 0.04);
  color: var(--text-muted);
  cursor: not-allowed;
}

.btn-secondary {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid rgba(17, 17, 17, 0.18);
}

.btn-secondary:hover {
  color: var(--text-primary);
  border-color: var(--hotel-primary);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.15);
}

.btn-whatsapp:hover {
  background: #20ba5a;
  box-shadow: 0 8px 20px rgba(32, 186, 90, 0.25);
  transform: translateY(-1px);
  color: #ffffff;
}

.text-whatsapp { color: var(--whatsapp); }
.font-semibold { font-weight: 600; }
.text-primary { color: var(--text-primary); }

/* ==========================================================================
   Paso 1 — Fechas + Calendario
   ========================================================================== */

.date-selection-grid {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.input-label {
  font-size: 0.62rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--hotel-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.input-label span { font-size: 0.85rem; }

.input-field {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1.25px solid rgba(17, 17, 17, 0.2);
  border-radius: 0;
  padding: 0.45rem 0;
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: 0.85rem;
  outline: none;
  transition: var(--transition-fast);
}

.input-field:focus { border-bottom-color: var(--hotel-primary); }

textarea.input-field {
  border: 1px solid rgba(17, 17, 17, 0.2);
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.01);
}
textarea.input-field:focus { border-color: var(--hotel-primary); }

/* El calendario se centra y ocupa el espacio sobrante del cuerpo */
.calendar-wrapper {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255, 255, 255, 0.005);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.85rem;
}

.calendar-header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.calendar-nav-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: var(--transition-fast);
  outline: none;
}

.calendar-nav-btn:hover:not([disabled]) {
  border-color: var(--hotel-primary);
  color: var(--hotel-primary);
}

.calendar-month-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.62rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--hotel-primary);
  margin-bottom: 0.3rem;
  opacity: 0.8;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  justify-items: center;
}

.cal-day {
  width: 100%;
  max-width: 38px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-secondary);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition-fast);
  user-select: none;
}

.cal-day:hover:not(.disabled):not(.selected-start):not(.selected-end):not(.in-range) {
  background: rgba(17, 17, 17, 0.06);
  color: var(--text-primary);
}

.cal-day.disabled {
  opacity: 0.15;
  cursor: not-allowed;
  text-decoration: line-through;
}

.cal-day.empty {
  cursor: default;
  opacity: 0;
}

.cal-day.selected-start,
.cal-day.selected-end {
  background: var(--hotel-primary) !important;
  color: #ffffff !important;
  font-weight: 600;
}

.cal-day.in-range {
  background: rgba(17, 17, 17, 0.08) !important;
  color: var(--hotel-primary) !important;
  border-radius: 0;
}

.cal-day.in-range-start { border-top-left-radius: 50%; border-bottom-left-radius: 50%; }
.cal-day.in-range-end { border-top-right-radius: 50%; border-bottom-right-radius: 50%; }

/* ==========================================================================
   Paso 2 — Huéspedes
   ========================================================================== */

.guests-container {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
}

.guest-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.005);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  transition: var(--transition-fast);
}

.guest-row:hover {
  border-color: rgba(17, 17, 17, 0.25);
}

.guest-info { display: flex; flex-direction: column; gap: 0.15rem; }
.guest-title { font-size: 0.95rem; font-weight: 500; color: var(--text-primary); }
.guest-desc { font-size: 0.72rem; color: var(--text-muted); }

.counter-controls { display: flex; align-items: center; gap: 1.25rem; }

.counter-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(17, 17, 17, 0.2);
  background: transparent;
  color: var(--text-secondary);
  font-size: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: var(--transition-fast);
  outline: none;
}

.counter-btn:hover:not(:disabled) {
  border-color: var(--hotel-primary);
  color: var(--hotel-primary);
}

.counter-btn:disabled { opacity: 0.2; cursor: not-allowed; }

.counter-value {
  font-size: 1.1rem;
  font-weight: 500;
  min-width: 20px;
  text-align: center;
  color: var(--text-primary);
}

/* ==========================================================================
   Paso 3 — Habitaciones (cards que llenan el alto disponible)
   ========================================================================== */

.rooms-grid {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow-y: auto;
  padding-right: 0.2rem;
}

.rooms-grid::-webkit-scrollbar { width: 3px; }
.rooms-grid::-webkit-scrollbar-thumb { background: var(--hotel-primary); border-radius: 1px; }

.room-card {
  flex: 1 1 0;
  min-height: 52px;
  display: flex;
  background: rgba(255, 255, 255, 0.005);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
}

.room-card:hover {
  background: rgba(255, 255, 255, 0.01);
  border-color: rgba(17, 17, 17, 0.3);
}

.room-card.selected {
  background: rgba(17, 17, 17, 0.04);
  border-color: var(--hotel-primary);
}

.room-card.unavailable {
  opacity: 0.4;
  cursor: not-allowed;
  filter: grayscale(0.6);
}

.room-card.unavailable:hover {
  border-color: var(--card-border);
  background: rgba(255, 255, 255, 0.005);
}

.room-card.unavailable .room-price-info { visibility: hidden; }

.room-card.unavailable::after {
  content: attr(data-unavailable-reason);
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  color: var(--text-secondary);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  pointer-events: none;
}

.room-img-container {
  width: 90px;
  flex-shrink: 0;
  position: relative;
  background-color: var(--bg-primary);
  cursor: zoom-in;
  overflow: hidden;
}

.room-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.room-img-container:hover .room-card-img { transform: scale(1.08); }

/* Indicador de "ampliar" sobre la imagen */
.room-img-container::after {
  content: "search";
  font-family: 'Material Symbols Outlined';
  position: absolute;
  bottom: 3px;
  right: 3px;
  font-size: 14px;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.room-img-container:hover::after { opacity: 1; }

.room-details {
  flex: 1;
  padding: 0.35rem 2.6rem 0.35rem 1rem;
  display: flex;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
  min-width: 0;
}

.room-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 0.5rem;
}

.room-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-primary);
}

.room-specs {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.15rem;
}

.room-spec-item {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.62rem;
  color: var(--text-muted);
}

.room-spec-item span { font-size: 0.8rem; color: var(--hotel-primary); }

.room-amenities-list {
  display: flex;
  gap: 0.25rem;
  margin-top: 0.25rem;
  flex-wrap: wrap;
}

.room-amenity-badge {
  font-size: 0.58rem;
  color: var(--text-secondary);
  background: rgba(17, 17, 17, 0.04);
  border: 1px solid rgba(17, 17, 17, 0.08);
  padding: 0.05rem 0.3rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.room-amenity-badge span {
  font-size: 0.7rem;
  color: var(--hotel-primary);
}

.room-price-info { text-align: right; flex-shrink: 0; }

.room-price {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--hotel-primary);
}

.room-price-desc { font-size: 0.6rem; color: var(--text-muted); }

.room-select-badge {
  position: absolute;
  top: 50%;
  right: 0.85rem;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(17, 17, 17, 0.18);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition-fast);
}

.room-card.selected .room-select-badge {
  background: var(--hotel-primary);
  border-color: var(--hotel-primary);
}

.room-card.selected .room-select-badge::after {
  content: "check";
  font-family: 'Material Symbols Outlined';
  font-size: 0.7rem;
  color: #ffffff;
}

.room-card.unavailable .room-select-badge { display: none; }

/* ==========================================================================
   Paso 4 — Formulario
   ========================================================================== */

.form-grid {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1rem;
  align-content: center;
}

.form-grid .input-group.full-width { grid-column: span 2; }

.textarea-field { resize: none; min-height: 44px; }

#extra-options-container {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), padding 0.5s cubic-bezier(0.16, 1, 0.3, 1), margin 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  padding-top: 0;
  margin-top: 0;
  border-top: 1px dashed transparent;
}

#extra-options-container.visible {
  max-height: 1200px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  padding-top: 1.2rem;
  margin-top: 1rem;
  border-top: 1px dashed var(--card-border);
}

/* Bloque de servicios y amenidades en Paso 5 */
.confirm-amenities-box {
  margin-top: 0.85rem;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  background: rgba(17, 17, 17, 0.02);
  transition: border-color var(--transition-fast);
}

.confirm-amenities-box:hover {
  border-color: rgba(17, 17, 17, 0.25);
}

.confirm-amenities-box .confirm-block-title {
  margin-bottom: 0.65rem;
  color: var(--hotel-accent-gold);
}

.confirm-amenities-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.confirm-amenities-list li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.confirm-amenities-list li span.material-symbols-outlined {
  font-size: 1rem;
  color: var(--hotel-accent-gold);
  flex-shrink: 0;
}

.confirm-amenities-list li.full-width-amenity {
  grid-column: span 2;
}

/* ==========================================================================
   Paso 5 — Confirmación (resumen + mapa + WhatsApp)
   ========================================================================== */

.confirm-layout {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.confirm-block-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--hotel-primary);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.confirm-block-title span { font-size: 0.95rem; }

.whatsapp-summary-box {
  background: rgba(255, 255, 255, 0.005);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
}

.whatsapp-summary-details { display: flex; flex-direction: column; gap: 0.3rem; }

.sum-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
}

.sum-row-lbl { color: var(--text-secondary); }
.sum-row-val { color: var(--text-primary); font-weight: 500; text-align: right; }

.sum-row-total {
  border-top: 1px dashed rgba(17, 17, 17, 0.12);
  padding-top: 0.45rem;
  margin-top: 0.2rem;
}

.sum-row-total .sum-row-lbl,
.sum-row-total .sum-row-val { color: var(--hotel-primary); font-weight: 600; }

/* Mapa de ubicación */
.location-map {
  flex: 1;
  min-height: 120px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
}

.location-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.3) invert(0.9) hue-rotate(180deg) brightness(0.9) contrast(0.9);
}

.location-address {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: var(--text-secondary);
  line-height: 1.3;
}

.location-address span { color: var(--hotel-primary); font-size: 0.95rem; flex-shrink: 0; }

.whatsapp-info-block {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(37, 211, 102, 0.04);
  border: 1px solid rgba(37, 211, 102, 0.12);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.9rem;
}

.whatsapp-info-icon { display: flex; align-items: center; flex-shrink: 0; }
.whatsapp-info-icon span { font-size: 1.8rem; }
.whatsapp-info-text { flex: 1; }
.whatsapp-info-text p:first-child { font-size: 0.82rem; margin-bottom: 0.1rem; }
.whatsapp-info-text p:last-child { font-size: 0.7rem; line-height: 1.3; color: var(--text-secondary); }

/* ==========================================================================
   Resumen lateral (Desktop) — oculto en móvil
   ========================================================================== */

.summary-sidebar { display: none; }

.summary-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  padding-bottom: 0.5rem;
  flex-shrink: 0;
}

.summary-title span { font-size: 1.1rem; color: var(--hotel-primary); }

.summary-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.5rem;
  margin: 0 -0.5rem;
  border-radius: var(--radius-xs);
  position: relative;
}

.summary-item-editable {
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.summary-item-editable:hover {
  background-color: rgba(17, 17, 17, 0.04);
  border-color: rgba(17, 17, 17, 0.15);
}

/* Pencil icon on the ROW (not inside the value) so it never overlaps text */
.summary-item-editable::after {
  content: "edit";
  font-family: 'Material Symbols Outlined';
  font-size: 0.82rem;
  color: var(--hotel-primary);
  opacity: 0;
  transition: opacity 0.2s ease;
  position: absolute;
  right: 0.3rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  line-height: 1;
}

.summary-item-editable:hover::after {
  opacity: 0.75;
}

/* Cancel any old ::after on the value element */
.summary-item-editable .summary-item-value::after {
  content: none !important;
  display: none !important;
}

.summary-item-label {
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.summary-item-label span { font-size: 0.85rem; color: var(--hotel-primary); }

.summary-item-value {
  font-size: 0.82rem;
  font-weight: 500;
  text-align: right;
  color: var(--text-primary);
  max-width: 62%;
  position: relative;
  transition: padding-right 0.2s ease;
  padding-right: 0;
  margin-right: 0;
}

/* On hover push text left to make space for the icon */
.summary-item-editable:hover .summary-item-value {
  padding-right: 1.15rem;
}

.summary-price-breakdown {
  border-top: 1px dashed rgba(17, 17, 17, 0.12);
  padding-top: 0.6rem;
  margin-bottom: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.summary-price-row-custom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.74rem;
  color: var(--text-secondary);
}

.price-stack { display: flex; flex-direction: column; }
.usd-price { font-size: 0.82rem; color: var(--text-primary); font-weight: 600; }
.bs-price { font-size: 0.7rem; color: var(--text-muted); }
.included-tag { color: var(--hotel-accent-gold); font-weight: 600; font-size: 0.78rem; }

.summary-total {
  border-top: 1px solid rgba(17, 17, 17, 0.15);
  padding-top: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.summary-total-head { display: flex; justify-content: space-between; align-items: center; }
.summary-total-label { font-family: var(--font-serif); font-size: 1.15rem; color: var(--text-primary); }
.summary-total-price { font-size: 1.3rem; font-weight: 600; color: var(--hotel-primary); }
.bs-total-price { text-align: right; font-size: 0.82rem; color: var(--hotel-primary); font-weight: 500; opacity: 0.85; }
.bcv-rate-note { text-align: right; font-size: 0.62rem; color: var(--text-muted); font-style: italic; }
.included-note {
  font-size: 0.66rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.15rem;
  letter-spacing: 0.03em;
}

/* ==========================================================================
   Resumen móvil — barra inferior + hoja desplegable
   ========================================================================== */

.mobile-summary-toggle {
  flex-shrink: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-secondary);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.9rem;
  cursor: pointer;
}

.mobile-summary-info { display: flex; flex-direction: column; gap: 0.05rem; }

.mobile-summary-label {
  font-size: 0.58rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.mobile-summary-cost { font-size: 1.05rem; font-weight: 600; color: var(--hotel-primary); }

.mobile-view-details-btn {
  font-size: 0.66rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  background: rgba(17, 17, 17, 0.04);
  border: 1px solid rgba(17, 17, 17, 0.08);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.mobile-view-details-btn span { font-size: 0.9rem; }

.mobile-summary-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(8px);
  z-index: 500;
  display: none;
  justify-content: center;
  align-items: flex-end;
}

.mobile-summary-overlay.active { display: flex; }

.mobile-summary-modal {
  width: 100%;
  max-width: 560px;
  background: var(--bg-secondary);
  border-top-left-radius: var(--radius-md);
  border-top-right-radius: var(--radius-md);
  border: 1px solid var(--card-border);
  border-bottom: none;
  padding: 1.25rem 1.25rem 1.75rem;
  box-shadow: 0 -15px 30px rgba(17, 17, 17, 0.08);
  animation: slideUpModal 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUpModal {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.mobile-summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  padding-bottom: 0.5rem;
  margin-bottom: 0.85rem;
}

.mobile-summary-title { font-family: var(--font-serif); font-size: 1.1rem; color: var(--text-primary); }

.mobile-summary-close {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: var(--text-secondary);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

/* ==========================================================================
   Lightbox (ampliar imagen de habitación)
   ========================================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 7, 6, 0.92);
  backdrop-filter: blur(6px);
  z-index: 1100;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
}

.lightbox.active { display: flex; animation: fadeInLb 0.3s ease forwards; }

@keyframes fadeInLb { from { opacity: 0; } to { opacity: 1; } }

.lightbox img {
  max-width: 92vw;
  max-height: 78vh;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  object-fit: contain;
}

.lightbox-caption {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--text-primary);
  letter-spacing: 0.04em;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lightbox-close:hover { background: rgba(255, 255, 255, 0.18); }
.lightbox-close span { font-size: 1.4rem; }

/* ==========================================================================
   Overlay de carga + Pantalla de éxito
   ========================================================================== */

.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 1.5rem;
}

.loading-overlay.active { display: flex; }

/* Overlay de Reservación Exitosa (Check Positivo) */
.success-overlay-card {
  background: var(--bg-primary);
  border: 1px solid var(--hotel-accent-gold);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  max-width: 480px;
  width: 90%;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  text-align: center;
  transform: scale(0.9);
  animation: modalPop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.success-check-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.06);
  border: 2.5px solid var(--hotel-accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.2rem;
}

.success-check-circle span {
  font-size: 3.8rem;
  color: var(--hotel-accent-gold);
}

.success-overlay-title {
  font-size: 1.5rem;
  font-family: var(--font-serif);
  color: var(--hotel-accent-gold);
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.success-overlay-desc {
  font-size: 0.88rem;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.45;
}

.success-overlay-divider {
  width: 100%;
  height: 1px;
  background: var(--card-border);
  margin: 0.3rem 0;
}

.success-overlay-meta {
  width: 100%;
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.success-overlay-meta p {
  margin: 0;
}

.success-redirect-msg {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

#success-countdown {
  font-size: 1.15rem;
  color: var(--hotel-accent-gold);
  font-weight: 700;
}

@keyframes modalPop {
  to { transform: scale(1); }
}

.payment-loader { position: relative; width: 50px; height: 50px; }

.payment-loader::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(17, 17, 17, 0.1);
  border-top-color: var(--hotel-primary);
  animation: spin 1s linear infinite;
}

.loading-status-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}

@keyframes spin { to { transform: rotate(360deg); } }

.success-screen {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.success-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--whatsapp);
  background: rgba(37, 211, 102, 0.12);
}

.success-icon-wrapper span { color: var(--whatsapp); font-size: 2.5rem; }

.success-title { font-family: var(--font-serif); font-size: 1.7rem; font-weight: 400; }
.success-desc { font-size: 0.85rem; line-height: 1.5; color: var(--text-secondary); max-width: 420px; }

.success-badge-card {
  background: rgba(255, 255, 255, 0.005);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 2rem;
}

.success-badge-label {
  font-size: 0.6rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 0.2rem;
}

.success-badge-code {
  font-family: var(--font-serif);
  color: var(--hotel-primary);
  letter-spacing: 0.1em;
  font-size: 1.5rem;
}

/* ==========================================================================
   Widget flotante de WhatsApp (siempre abajo a la DERECHA)
   ========================================================================== */

.whatsapp-float {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  left: auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  z-index: 950;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: whatsappPop 0.5s cubic-bezier(0.16, 1, 0.3, 1) 1s both;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.5);
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--whatsapp);
  z-index: -1;
  animation: whatsappPulse 2.4s ease-out infinite;
}

@keyframes whatsappPulse {
  0% { transform: scale(1); opacity: 0.5; }
  70%, 100% { transform: scale(1.6); opacity: 0; }
}

@keyframes whatsappPop {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* El botón flotante de WhatsApp de ayuda/atención al cliente se muestra en todo momento y en todas las pantallas. */
.whatsapp-float {
  display: flex !important;
}

/* ==========================================================================
   DESKTOP — dos columnas (min-width: 900px)
   ========================================================================== */

@media (min-width: 900px) {
  :root { --header-h: 56px; }

  .hotel-header { padding: 0 2.5rem; }
  .header-logo { font-size: 1.35rem; }
  .back-to-home { font-size: 0.78rem; }

  .booking-portal {
    padding: 1rem 1.5rem;
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    grid-template-rows: auto 1fr;
    gap: 1rem;
  }

  .step-tracker {
    grid-column: span 2;
    padding: 0.85rem clamp(1.5rem, 4vw, 3rem);
  }

  .step-label { display: inline; }

  .wizard-column { grid-column: 1; grid-row: 2; }

  .wizard-card { padding: 1.4rem 1.6rem; }
  .wizard-title { font-size: 1.45rem; }

  .room-img-container { width: 130px; }
  .room-title { font-size: 1.05rem; }

  /* Mostrar resumen lateral, ocultar barra móvil */
  .summary-sidebar {
    grid-column: 2;
    grid-row: 2;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 1.4rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
  }

  .summary-list { flex: 0 0 auto; }

  /* El mapa del sidebar ocupa el espacio sobrante */
  .sidebar-map { flex: 1; min-height: 90px; margin-bottom: 0.75rem; }

  .mobile-summary-toggle,
  .mobile-summary-overlay { display: none !important; }

  /* En el paso 5, el mapa propio se oculta (ya está en el sidebar) */
  .confirm-layout .location-map,
  .confirm-layout .location-address { display: none; }

  .confirm-layout { gap: 0.85rem; }
  .whatsapp-summary-box { padding: 1rem 1.2rem; }
  .sum-row { font-size: 0.82rem; }
}

/* En móvil el sidebar no existe; su mapa tampoco */
@media (max-width: 899px) {
  .sidebar-map { display: none; }
  .room-amenities-list { display: none; } /* Hide detailed badges list on mobile to save vertical space and guarantee zero-scroll */
}

/* ==========================================================================
   Pantallas muy bajas — compactaciones de seguridad (anti-scroll)
   ========================================================================== */

@media (max-height: 680px) {
  .wizard-title { font-size: 1.1rem; }
  .wizard-subtitle { display: none; }
  .wizard-header { margin-bottom: 0.4rem; padding-bottom: 0.35rem; }
  .calendar-month-title { font-size: 0.85rem; }
  .cal-day { font-size: 0.7rem; max-width: 32px; }
  .guest-row { padding: 0.6rem 1rem; }
  .room-card { min-height: 44px; }
  .location-map { min-height: 90px; }
  .btn { padding: 0.5rem 1.1rem; }
}

/* ==========================================================================
   Modal Personalizado para Decisión de Habitación (Añadir o Sustituir)
   ========================================================================== */

.custom-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.custom-modal-overlay.active {
  display: flex;
  opacity: 1;
}

.custom-modal-content {
  background: var(--bg-primary);
  border: 1px solid var(--card-border-active);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.08);
  max-width: 480px;
  width: 100%;
  padding: 2.2rem;
  position: relative;
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.custom-modal-overlay.active .custom-modal-content {
  transform: scale(1);
}

.custom-modal-title {
  color: var(--text-primary);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.custom-modal-text {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 1.8rem;
  text-align: justify;
}

.custom-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.custom-modal-actions .btn {
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
}

@media (min-width: 480px) {
  .custom-modal-actions {
    flex-direction: row;
  }
  .custom-modal-actions button {
    flex: 1;
  }
}

.custom-modal-cancel {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.custom-modal-cancel:hover {
  color: var(--text-secondary);
}

/* ==========================================================================
   Validaciones de Formulario y Mensajes de Error
   ========================================================================== */

.input-field.invalid {
  border-color: var(--error) !important;
  background: rgba(224, 122, 95, 0.03) !important;
}

.input-field.invalid:focus {
  box-shadow: 0 0 0 3px rgba(224, 122, 95, 0.15) !important;
}

.error-msg {
  color: var(--error);
  font-size: 0.7rem;
  margin-top: 0.25rem;
  font-weight: 500;
  display: none;
  align-items: center;
  gap: 0.25rem;
  animation: fadeInMsg 0.2s ease forwards;
}

@keyframes fadeInMsg {
  from { opacity: 0; transform: translateY(-3px); }
  to { opacity: 1; transform: translateY(0); }
}

.error-msg.visible {
  display: flex;
}

/* ==========================================================================
   Selección de Método de Pago
   ========================================================================== */

.payment-method-selector {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.payment-option-card {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.85rem;
  background: rgba(255, 255, 255, 0.005);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}

.payment-option-card:hover {
  border-color: rgba(17, 17, 17, 0.25);
  background: rgba(255, 255, 255, 0.015);
}

.payment-option-card.selected {
  background: rgba(17, 17, 17, 0.04);
  border-color: var(--hotel-primary);
}

.payment-option-card span:first-of-type {
  font-size: 1.3rem;
  color: var(--hotel-primary);
}

.payment-option-card span:last-of-type {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-primary);
}

.modal-payment-selector {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   Optimizaciones para Pantallas Móviles
   ========================================================================== */

@media (max-width: 899px) {
  .booking-portal {
    padding: 0.4rem !important;
    gap: 0.4rem !important;
  }
  
  .wizard-card {
    padding: 0.85rem 1rem !important;
    border-radius: var(--radius-md) !important;
  }
  
  .wizard-title {
    font-size: 1.12rem !important;
    margin-bottom: 0.2rem !important;
  }
  
  .wizard-subtitle {
    font-size: 0.76rem !important;
    margin-bottom: 0.6rem !important;
  }
  
  .input-label {
    font-size: 0.7rem !important;
    margin-bottom: 0.15rem !important;
  }
  
  .input-field {
    padding: 0.45rem 0.6rem !important;
    font-size: 0.78rem !important;
    border-radius: var(--radius-sm) !important;
  }
  
  .form-grid {
    grid-template-columns: 1fr !important;
    gap: 0.55rem !important;
  }
  
  .form-grid .input-group.full-width {
    grid-column: span 1 !important;
  }

  .confirm-amenities-list {
    grid-template-columns: 1fr !important;
    gap: 0.35rem !important;
    font-size: 0.72rem !important;
  }

  .confirm-amenities-list li.full-width-amenity {
    grid-column: span 1 !important;
  }

  .confirm-amenities-list li span.material-symbols-outlined {
    font-size: 0.85rem !important;
  }
  
  .room-card {
    padding: 0.5rem !important;
    gap: 0.5rem !important;
    min-height: 75px !important;
    border-radius: var(--radius-sm) !important;
  }
  
  .room-title {
    font-size: 0.9rem !important;
  }
  
  .room-price-info {
    font-size: 0.8rem !important;
  }
  
  .btn {
    padding: 0.5rem 1rem !important;
    font-size: 0.78rem !important;
    border-radius: var(--radius-sm) !important;
  }
  
  .step-tracker {
    padding: 0.45rem 0.6rem !important;
    border-radius: var(--radius-sm) !important;
    gap: 0.3rem !important;
  }
  
  .track-item span {
    font-size: 0.78rem !important;
  }
  
  .guest-item-card {
    padding: 0.65rem !important;
    gap: 0.5rem !important;
    border-radius: var(--radius-sm) !important;
  }
  
  .payment-method-selector {
    gap: 0.5rem !important;
    margin-bottom: 0.75rem !important;
  }
  
  .payment-option-card {
    padding: 0.5rem !important;
    border-radius: var(--radius-sm) !important;
  }
  
  .payment-option-card span:first-of-type {
    font-size: 1.2rem !important;
  }
  
  .payment-option-card span:last-of-type {
    font-size: 0.72rem !important;
  }

  /* Overlay de éxito en móvil */
  .success-overlay-card {
    padding: 1.35rem !important;
    gap: 0.8rem !important;
    max-width: 330px !important;
    width: 92% !important;
  }
  
  .success-check-circle {
    width: 58px !important;
    height: 58px !important;
    border-width: 2px !important;
    margin-bottom: 0.1rem !important;
  }
  
  .success-check-circle span {
    font-size: 2.8rem !important;
  }
  
  .success-overlay-title {
    font-size: 1.25rem !important;
  }
  
  .success-overlay-desc {
    font-size: 0.76rem !important;
    line-height: 1.35 !important;
  }
  
  .success-overlay-meta {
    font-size: 0.74rem !important;
    gap: 0.3rem !important;
  }
  
  .success-redirect-msg {
    font-size: 0.7rem !important;
  }
  
  #success-countdown {
    font-size: 0.95rem !important;
  }

  .back-to-home-text { display: none !important; }
  .back-to-home::after {
    content: "Inicio";
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }
  .help-btn {
    padding: 0.25rem 0.5rem !important;
  }
  .help-btn-text {
    font-size: 0.65rem !important;
  }
}

/* ==========================================================================
   Nuevas Adiciones: Opciones de Huéspedes y Peticiones Especiales
   ========================================================================== */

.info-icon-btn {
  background: none;
  border: none;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--hotel-primary);
  transition: transform 0.2s ease, opacity 0.2s ease;
  vertical-align: middle;
}

.info-icon-btn:hover {
  transform: scale(1.15);
  opacity: 0.85;
}

.pref-category {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.pref-category h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--hotel-primary);
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(17, 17, 17, 0.15);
  padding-bottom: 0.35rem;
}

.pref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.85rem;
}

.checkbox-pref {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  cursor: pointer;
  color: var(--text-primary);
  user-select: none;
  transition: color 0.2s ease;
}

.checkbox-pref:hover {
  color: var(--hotel-primary);
}

.checkbox-pref input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--hotel-primary);
  cursor: pointer;
}

.modal-scroll-area {
  max-height: 55vh;
  overflow-y: auto;
  padding-right: 0.5rem;
}

/* Custom Scrollbar for premium feeling */
.modal-scroll-area::-webkit-scrollbar {
  width: 6px;
}

.modal-scroll-area::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-xs);
}

.modal-scroll-area::-webkit-scrollbar-thumb {
  background: rgba(17, 17, 17, 0.25);
  border-radius: var(--radius-xs);
}

.modal-scroll-area::-webkit-scrollbar-thumb:hover {
  background: rgba(17, 17, 17, 0.45);
}

#special-requests-summary-box {
  border: 1px dashed var(--hotel-primary);
  background: rgba(17, 17, 17, 0.02);
  transition: all 0.3s ease;
}

/* For mobile screen sizes, make sure the modal fits and layout adjusts */
@media (max-width: 576px) {
  .pref-grid {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }
  .custom-modal-content {
    padding: 1.5rem 1.25rem !important;
  }
  .modal-scroll-area {
    max-height: 50vh;
  }
}

/* Quick Edit Modal layout optimizations */
.qe-modal-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.qe-modal-col-left {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.qe-modal-col-right {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (max-width: 599px) {
  .qe-modal-columns {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
}

/* Wider modal for Peticiones Especiales – gives space to both columns */
.qe-modal-content-wide {
  max-width: 720px !important;
}

/* Step 5 compact overrides – eliminate internal scroll */
#wizard-step-5 .wizard-body {
  overflow-y: visible;
}

#wizard-step-5 .payment-block-container {
  margin-bottom: 0.85rem;
}

#wizard-step-5 .confirm-options-block {
  margin-top: 0.85rem !important;
  gap: 0.6rem !important;
}

#wizard-step-5 .confirm-options-block > div {
  padding: 0.65rem 0.85rem !important;
}

#wizard-step-5 .whatsapp-info-block {
  margin-top: 0.85rem !important;
  padding: 0.5rem 0.75rem !important;
}

#wizard-step-5 .whatsapp-info-icon span {
  font-size: 1.4rem !important;
}

#wizard-step-5 .whatsapp-info-text p:first-child {
  font-size: 0.78rem !important;
}

#wizard-step-5 .whatsapp-info-text p:last-child {
  font-size: 0.67rem !important;
}

#wizard-step-5 .whatsapp-summary-box {
  padding: 0.55rem 0.8rem !important;
}

/* Terms checkbox styling */
.terms-check-block {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.84rem;
  cursor: pointer;
  color: var(--text-primary);
  user-select: none;
  line-height: 1.4;
}

.terms-check-block input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  accent-color: var(--hotel-primary);
  cursor: pointer;
  margin-top: 0.15rem;
}

.terms-check-block a {
  color: var(--hotel-primary);
  text-decoration: underline;
  font-weight: 500;
}

.terms-check-block a:hover {
  opacity: 0.75;
}

/* ==========================================================================
   Modal Redesign — Clean flat sections, date pills, compact counters
   ========================================================================== */

/* Shared section title used across both modals */
.qe-section-title {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--hotel-primary);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(17, 17, 17, 0.14);
  margin: 0 0 0.65rem 0;
}

.qe-section-title .material-symbols-outlined {
  font-size: 0.95rem;
  line-height: 1;
}

/* Flat section block (no border box) — left column of Peticiones */
.qe-flat-section {
  padding-bottom: 0.8rem;
  margin-bottom: 0.8rem;
  border-bottom: 1px solid rgba(17, 17, 17, 0.05);
}

.qe-flat-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Date pill displays (Check-in / Check-out) */
.qe-date-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
}

.qe-date-pill {
  background: rgba(17, 17, 17, 0.03);
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: var(--radius-xs);
  padding: 0.45rem 0.55rem;
  text-align: center;
  transition: border-color 0.2s;
}

.qe-date-pill-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--hotel-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  margin-bottom: 0.2rem;
  font-weight: 600;
}

.qe-date-pill-label .material-symbols-outlined {
  font-size: 0.75rem;
}

.qe-date-pill-value {
  font-size: 0.79rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.3;
}

/* Counter list + rows for Quick Edit right column */
.qe-counter-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 0;
}

.qe-counter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-xs);
  transition: background 0.15s;
}

.qe-counter-row:hover {
  background: rgba(17, 17, 17, 0.03);
}

.qe-counter-row-label {
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.2;
}

/* Thin divider between sections in right column */
.qe-divider {
  border: none;
  border-top: 1px dashed rgba(17, 17, 17, 0.14);
  margin: 0.7rem 0;
}

/* Two-column checkbox grid (Hábitos y Alimentación) */
.qe-checkbox-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 0.5rem;
}

/* Right column preference section — bordered card */
.qe-pref-section {
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
}

/* ---- Quick Edit modal: wider + better column split ---- */
#quick-edit-modal .custom-modal-content {
  max-width: 595px !important;
}

#quick-edit-modal .qe-modal-columns {
  grid-template-columns: 305px 1fr;
  gap: 1.25rem;
}

/* Remove the gap override that was on col-right since we use qe-section-title now */
#quick-edit-modal .qe-modal-col-right {
  gap: 0;
}

/* ---- Peticiones Especiales: left 1fr, right 270px ---- */
#special-requests-modal .qe-modal-columns {
  grid-template-columns: 1fr 270px;
  gap: 1.25rem;
}

#special-requests-modal .qe-modal-col-right {
  gap: 0;
}

/* Calendar inside modal: override to keep rows compact */
#quick-edit-modal .cal-day {
  font-size: 0.76rem;
}

#quick-edit-modal .calendar-weekdays {
  font-size: 0.63rem;
}

/* checkbox-pref within modal: consistent sizing */
.qe-modal-col-left .checkbox-pref,
.qe-flat-section .checkbox-pref {
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  color: var(--text-primary);
  user-select: none;
}

/* ========================================================================== 
   Paso 5 - confirmacion compacta sin barra interna
   ========================================================================== */

#wizard-step-5 { overflow: hidden; }

#wizard-step-5 .wizard-body {
  margin-bottom: 0.45rem;
  overflow-x: hidden;
}

#wizard-step-5 .confirm-layout .location-map,
#wizard-step-5 .confirm-layout .location-address { display: none !important; }

#wizard-step-5 #confirm-details-container,
#wizard-step-5 .confirm-layout { min-height: 0; }

#wizard-step-5 .whatsapp-summary-details { gap: 0.18rem; }
#wizard-step-5 .sum-row { line-height: 1.25; }
#wizard-step-5 .terms-check-block { font-size: 0.76rem; line-height: 1.3; }

@media (max-width: 899px) {
  #wizard-step-5 .wizard-header {
    margin-bottom: 0.3rem;
    padding-bottom: 0.3rem;
  }

  #wizard-step-5 .wizard-subtitle { display: none; }

  #wizard-step-5 .wizard-body {
    overflow-y: auto !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  #wizard-step-5 .wizard-body::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  #wizard-step-5 .confirm-options-block {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem !important;
    margin-top: 0.42rem !important;
  }

  #wizard-step-5 .confirm-option-billing { grid-column: 1 / -1; }

  #wizard-step-5 .confirm-options-block > div {
    min-width: 0;
    padding: 0.42rem 0.5rem !important;
  }

  #wizard-step-5 .confirm-option-billing .checkbox-label,
  #wizard-step-5 .terms-check-block {
    font-size: 0.66rem !important;
    line-height: 1.22;
  }

  #wizard-step-5 .payment-block-container {
    margin-bottom: 0.42rem !important;
  }

  #wizard-step-5 .payment-block-container .confirm-block-title {
    margin-bottom: 0.3rem !important;
  }

  #wizard-step-5 .payment-method-selector { margin-bottom: 0 !important; }

  #wizard-step-5 .confirm-layout .confirm-block-title { margin-bottom: 0.25rem; }

  #wizard-step-5 .whatsapp-summary-box { padding: 0.4rem 0.55rem !important; }

  #wizard-step-5 .whatsapp-summary-details { gap: 0.1rem; }

  #wizard-step-5 .sum-row {
    gap: 0.4rem;
    font-size: 0.68rem;
    line-height: 1.18;
  }

  #wizard-step-5 .sum-row-total {
    padding-top: 0.3rem;
    margin-top: 0.1rem;
  }

  #wizard-step-5 .confirm-services-row { display: none; }

  #wizard-step-5 .whatsapp-info-block {
    margin-top: 0.42rem !important;
    padding: 0.36rem 0.52rem !important;
  }

  #wizard-step-5 .whatsapp-info-icon span { font-size: 1.1rem !important; }
  #wizard-step-5 .whatsapp-info-text p:first-child { font-size: 0.7rem !important; }
  #wizard-step-5 .whatsapp-info-text p:last-child { display: none; }

  #wizard-step-5 .wizard-footer {
    padding-top: 0.42rem;
    gap: 0.5rem;
  }

  #wizard-step-5 .wizard-footer .btn {
    padding: 0.48rem 0.68rem !important;
    font-size: 0.7rem !important;
  }
}

@media (max-width: 359px) {
  #wizard-step-5 .confirm-options-block { grid-template-columns: 1fr; }
  #wizard-step-5 .confirm-option-billing { grid-column: auto; }
}

@media (max-width: 359px) and (max-height: 650px) {
  #wizard-step-5 .confirm-layout > div:first-child,
  #wizard-step-5 .whatsapp-info-block {
    display: none;
  }

  #wizard-step-5 .confirm-options-block {
    margin-top: 0 !important;
  }
}

@media (min-width: 900px) {
  #wizard-step-5 { padding: 0.9rem 1.25rem; }

  #wizard-step-5 .wizard-header {
    margin-bottom: 0.42rem;
    padding-bottom: 0.38rem;
  }

  #wizard-step-5 .wizard-title { font-size: 1.32rem; }
  #wizard-step-5 .wizard-subtitle { font-size: 0.72rem; }

  #wizard-step-5 .wizard-body {
    display: block;
    overflow: hidden !important;
  }

  #wizard-step-5 .payment-block-container { margin-bottom: 0.55rem !important; }

  #wizard-step-5 .payment-block-container .confirm-block-title {
    margin-bottom: 0.38rem !important;
  }

  #wizard-step-5 .payment-method-selector {
    gap: 0.45rem;
    margin-bottom: 0 !important;
  }

  #wizard-step-5 .payment-option-card {
    min-height: 40px;
    padding: 0.48rem 0.68rem;
  }

  #wizard-step-5 .confirm-layout { display: block; }

  #wizard-step-5 .confirm-layout .confirm-block-title { margin-bottom: 0.3rem; }

  #wizard-step-5 .whatsapp-summary-box { padding: 0.48rem 0.72rem !important; }

  #wizard-step-5 .sum-row {
    gap: 0.55rem;
    font-size: 0.72rem;
  }

  #wizard-step-5 .sum-row-total {
    padding-top: 0.32rem;
    margin-top: 0.12rem;
  }

  #wizard-step-5 .confirm-services-row .sum-row-val {
    max-width: 68% !important;
    font-size: 0.67rem !important;
    line-height: 1.2 !important;
  }

  #wizard-step-5 .confirm-options-block {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.42rem !important;
    margin-top: 0.55rem !important;
  }

  #wizard-step-5 .confirm-option-billing { grid-column: 1 / -1; }

  #wizard-step-5 .confirm-options-block > div {
    min-width: 0;
    padding: 0.48rem 0.62rem !important;
  }

  #wizard-step-5 .confirm-option-billing .checkbox-label {
    font-size: 0.75rem !important;
  }

  #wizard-step-5 .terms-check-block {
    font-size: 0.7rem;
    line-height: 1.25;
  }

  #wizard-step-5 .terms-check-block input[type="checkbox"] {
    width: 15px;
    height: 15px;
    min-width: 15px;
    margin-top: 0.05rem;
  }

  #wizard-step-5 #billing-fields-container {
    margin-top: 0.45rem !important;
    padding-top: 0.45rem !important;
  }

  #wizard-step-5 #billing-fields-container .form-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.45rem !important;
  }

  #wizard-step-5 #billing-fields-container .input-group,
  #wizard-step-5 #billing-fields-container .full-width {
    grid-column: auto !important;
    margin: 0 !important;
  }

  #wizard-step-5 #billing-fields-container .input-label { font-size: 0.66rem !important; }

  #wizard-step-5 #billing-fields-container .input-field {
    padding: 0.38rem 0.52rem !important;
    font-size: 0.72rem !important;
  }

  #wizard-step-5 .whatsapp-info-block {
    margin-top: 0.55rem !important;
    padding: 0.4rem 0.62rem !important;
  }

  #wizard-step-5 .whatsapp-info-icon span { font-size: 1.15rem !important; }
  #wizard-step-5 .whatsapp-info-text p:first-child { font-size: 0.72rem !important; }

  #wizard-step-5 .whatsapp-info-text p:last-child {
    font-size: 0.62rem !important;
    line-height: 1.25;
  }

  #wizard-step-5 .wizard-footer {
    padding-top: 0.48rem;
    gap: 0.7rem;
  }

  #wizard-step-5 .wizard-footer .btn {
    padding: 0.56rem 0.9rem;
    font-size: 0.72rem;
  }
}

@media (min-width: 900px) and (max-height: 820px) {
  #wizard-step-5 .wizard-subtitle,
  #wizard-step-5 .confirm-services-row,
  #wizard-step-5 .whatsapp-info-text p:last-child { display: none; }
}

/* ==========================================================================
   Línea de tiempo horizontal (Paso 5)
   ========================================================================== */

.reservation-timeline-container {
  width: 100%;
  margin-top: 0.85rem;
}

.reservation-timeline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  padding: 0.65rem 0.4rem 0.5rem;
  background: rgba(17, 17, 17, 0.015);
  border: 1px dashed rgba(17, 17, 17, 0.12);
  border-radius: var(--radius-sm);
  min-height: 58px;
  overflow: hidden;
}

/* Contenedor de la línea conectora */
.timeline-line-wrapper {
  position: absolute;
  top: 17px; /* Alinear verticalmente con el centro del dot (18px / 2 + padding-top 8px) */
  height: 2px;
  z-index: 1;
  pointer-events: none;
}

.timeline-line-bg {
  width: 100%;
  height: 100%;
  background: var(--border-color);
}

.booking-timeline-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--hotel-primary);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Cada paso de la línea de tiempo */
.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  flex: 1;
  text-align: center;
  min-width: 0;
}

/* Círculo (Dot) */
.timeline-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.35rem;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 2px var(--bg-primary);
}

.timeline-dot span {
  font-size: 0.65rem !important;
  color: var(--text-muted);
  font-variation-settings: 'FILL' 1, 'wght' 400;
  transition: all 0.3s ease;
}

/* Texto del paso */
.timeline-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  line-height: 1.2;
}

/* Subtexto (fecha / hora) */
.timeline-date {
  font-size: 0.6rem;
  color: var(--text-muted);
  margin-top: 0.08rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  line-height: 1.25;
}

/* Estado: Completado (Completed) */
.timeline-step.completed .timeline-dot {
  background: var(--hotel-primary);
  border-color: var(--hotel-primary);
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.12);
}

.timeline-step.completed .timeline-dot span {
  color: var(--text-on-primary);
}

.timeline-step.completed .timeline-label {
  color: var(--hotel-primary);
}

.timeline-step.completed .timeline-date {
  color: var(--text-secondary);
  font-weight: 500;
}

/* Estado: Activo (Active) */
.timeline-step.active .timeline-dot {
  background: var(--bg-primary);
  border-color: var(--hotel-primary);
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.18);
}

.timeline-step.active .timeline-dot span {
  color: var(--hotel-primary);
}

.timeline-step.active .timeline-label {
  color: var(--hotel-primary);
}

.timeline-step.active .timeline-date {
  color: var(--hotel-primary);
  font-weight: 500;
}

/* ==========================================================================
   Responsive / Adaptaciones para Móviles y Pantallas Cortas
   ========================================================================== */

@media (max-width: 899px) {
  .reservation-timeline-container {
    margin-top: 0.55rem;
  }
  
  .reservation-timeline {
    padding: 0.45rem 0.3rem 0.35rem;
    min-height: 48px;
  }

  .timeline-line-wrapper {
    top: 13px; /* Alinear verticalmente con el centro del dot móvil (14px) */
  }

  .timeline-dot {
    width: 14px;
    height: 14px;
    margin-bottom: 0.2rem;
  }

  .timeline-dot span {
    font-size: 0.52rem !important;
  }

  .timeline-label {
    font-size: 0.58rem;
  }

  .timeline-date {
    font-size: 0.54rem;
    margin-top: 0.04rem;
  }
}

/* En pantallas cortas de escritorio, hacemos el timeline aún más compacto si fuese necesario */
@media (min-width: 900px) and (max-height: 820px) {
  .reservation-timeline-container {
    margin-top: 0.45rem;
  }
  
  .reservation-timeline {
    padding: 0.45rem 0.3rem 0.35rem;
    min-height: 48px;
  }

  .timeline-line-wrapper {
    top: 13px;
  }

  .timeline-dot {
    width: 14px;
    height: 14px;
    margin-bottom: 0.2rem;
  }

  .timeline-dot span {
    font-size: 0.52rem !important;
  }

  .timeline-label {
    font-size: 0.6rem;
  }

  .timeline-date {
    font-size: 0.55rem;
  }
}

