/* ============================================================
   Motor de Reservas Público - La Posada del Trébol
   Diseño Luminoso / Blanco con acentos Verde Trébol (#388e44)
   ============================================================ */

/* 1. Botón en el Menú Superior (Header) */
.btn-book-header {
  background: #388e44 !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  padding: 8px 18px !important;
  border-radius: 20px !important;
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  margin-left: 10px;
  box-shadow: 0 2px 8px rgba(56, 142, 68, 0.28);
  transition: all .2s ease;
  text-decoration: none !important;
}
.btn-book-header:hover {
  background: #2e7d32 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(56, 142, 68, 0.4);
}
.btn-book-header i {
  font-size: 14px;
}

/* 2. Botón Flotante Permanente */
.bw-floating-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  background: #388e44;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.16), 0 2px 6px rgba(56, 142, 68, 0.35);
  cursor: pointer;
  transition: all .25s ease;
}
.bw-floating-btn:hover {
  background: #2e7d32;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.22);
}
.bw-floating-btn i {
  font-size: 15px;
}

/* 3. Tarjeta de Cabaña: Tarifa y Botón */
.bw-room-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #edf1ee;
}
.bw-room-rate {
  font-size: 17px;
  font-weight: 700;
  color: #2e7d32;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.bw-room-rate small {
  font-size: 13px;
  color: #77857c;
  font-weight: 500;
}
.bw-btn-book-room {
  background: #388e44;
  color: #ffffff;
  border: none;
  padding: 9px 20px;
  border-radius: 20px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 2px 8px rgba(56, 142, 68, 0.25);
  transition: all .2s ease;
}
.bw-btn-book-room:hover {
  background: #2e7d32;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(56, 142, 68, 0.38);
}
.bw-btn-book-room i {
  font-size: 13px;
}

/* 4. Tarjeta y Botón de Reserva en la Barra Lateral (Sidebar) */
.bw-sidebar-card {
  background: #ffffff;
  border: 1px solid #e2e8e4;
  border-radius: 16px;
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.05), 0 2px 6px rgba(0, 0, 0, 0.02);
  text-align: center;
  padding: 24px 20px;
  position: relative;
  overflow: hidden;
  transition: box-shadow .25s ease, transform .25s ease;
}

.bw-sidebar-card:hover {
  box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.08);
}

.bw-sidebar-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f0fdf4;
  border: 1px solid #dcfce7;
  color: #16a34a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  transition: transform .2s ease;
}

.bw-sidebar-card:hover .bw-sidebar-icon-badge {
  transform: scale(1.08);
}

.bw-sidebar-icon-badge i {
  font-size: 22px !important;
  margin: 0 !important;
  line-height: 1 !important;
  color: #16a34a !important;
}

.bw-sidebar-title {
  margin: 0 0 6px 0;
  color: #1e2922;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.bw-sidebar-sub {
  font-size: 13px;
  color: #64748b;
  margin: 0 0 16px 0;
  line-height: 1.45;
  padding: 0 4px;
}

/* Botón de Reserva Online */
.bw-btn-book-sidebar {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #ffffff !important;
  border: none;
  padding: 12px 18px !important;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 700;
  width: 100%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35);
  transition: all .2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none !important;
  white-space: nowrap;
  box-sizing: border-box;
}

.bw-btn-book-sidebar i {
  font-size: 16px !important;
  margin: 0 !important;
  line-height: 1 !important;
  display: inline-block !important;
  color: #ffffff !important;
}

.bw-btn-book-sidebar:hover {
  background: linear-gradient(135deg, #15803d 0%, #14532d 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.45);
  color: #ffffff !important;
}

.bw-btn-book-sidebar:active {
  transform: translateY(0);
}

.bw-sidebar-badge-note {
  font-size: 11.5px;
  color: #64748b;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.bw-sidebar-badge-note i {
  font-size: 12px !important;
  color: #16a34a !important;
  margin: 0 !important;
}

.bw-sidebar-divider {
  margin: 18px 0;
  border-top: 1px solid #f1f5f9;
}

/* Sección WhatsApp & Teléfono */
.bw-sidebar-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bw-sidebar-contact-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.bw-live-dot {
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
  animation: bwPulseDot 2s infinite;
}

@keyframes bwPulseDot {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.bw-sidebar-wa-btn {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d !important;
  border-radius: 8px;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-decoration: none !important;
  transition: all .2s ease;
}

.bw-sidebar-wa-btn i {
  font-size: 18px !important;
  margin: 0 !important;
  color: #16a34a !important;
  line-height: 1 !important;
}

.bw-sidebar-wa-btn:hover {
  background: #22c55e;
  border-color: #22c55e;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.25);
}

.bw-sidebar-wa-btn:hover i {
  color: #ffffff !important;
}

.bw-sidebar-phone-link {
  font-size: 12.5px;
  color: #64748b !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: color .15s ease;
  margin-top: 2px;
}

.bw-sidebar-phone-link:hover {
  color: #1e2922 !important;
}

.bw-sidebar-phone-link i {
  font-size: 12px !important;
  margin: 0 !important;
}


/* 5. Modal Overlay y Ventana Emergente (Tema Claro / Blanco) */
.bw-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 28, 21, 0.55);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.bw-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.bw-modal {
  background: #ffffff;
  color: #2c3531;
  border: 1px solid #dce4de;
  border-radius: 14px;
  width: 100%;
  max-width: 950px;
  height: 90vh;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  transform: translateY(20px) scale(0.98);
  transition: transform .25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  font-family: inherit;
  box-sizing: border-box;
  margin: auto;
}
.bw-modal-overlay.open .bw-modal {
  transform: translateY(0) scale(1);
}

#bwForm {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  height: calc(100% - 60px);
  overflow: hidden;
  margin: 0;
}

#bwForm[style*="display: none"] {
  display: none !important;
}

#bwSuccessWrap {
  flex: 1;
  min-height: 0;
  height: calc(100% - 60px);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.bw-modal-head {
  padding: 12px 20px;
  border-bottom: 1px solid #eef2ef;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f9fbf9;
  box-sizing: border-box;
}
.bw-modal-head h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #1e2922;
  display: flex;
  align-items: center;
  gap: 8px;
}
.bw-modal-head h3 i {
  color: #388e44;
}
.bw-modal-head p {
  margin: 2px 0 0;
  font-size: 11.5px;
  color: #6d7b73;
}
.bw-close-btn {
  background: none;
  border: none;
  color: #7b8880;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 3px 7px;
  border-radius: 6px;
  transition: color .15s, background .15s;
}
.bw-close-btn:hover {
  color: #111;
  background: #eef2ef;
}

/* --- Stepper Header (3 Pasos) --- */
.bw-stepper-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f4faf5;
  border-bottom: 1px solid #e2ece4;
  padding: 10px 18px;
  gap: 8px;
  box-sizing: border-box;
}

.bw-step-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 8px;
  transition: all .2s ease;
  text-align: left;
}
.bw-step-tab:hover {
  background: rgba(46, 125, 50, 0.06);
}

.bw-step-num {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #e2e8e4;
  color: #627468;
  font-weight: 700;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s ease;
  flex-shrink: 0;
}

.bw-step-info {
  display: flex;
  flex-direction: column;
}

.bw-step-num-label {
  font-size: 8.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #7b8e81;
}

.bw-step-title {
  font-size: 11.5px;
  font-weight: 600;
  color: #435449;
  transition: color .2s ease;
  white-space: nowrap;
}

/* Activo */
.bw-step-tab.active .bw-step-num {
  background: #388e44;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(56, 142, 68, 0.35);
}
.bw-step-tab.active .bw-step-num-label {
  color: #2e7d32;
}
.bw-step-tab.active .bw-step-title {
  color: #1e2922;
  font-weight: 700;
}

/* Completado */
.bw-step-tab.completed .bw-step-num {
  background: #2e7d32;
  color: #ffffff;
}
.bw-step-tab.completed .bw-step-num::before {
  content: "✓";
  font-size: 13px;
}
.bw-step-tab.completed .bw-step-num {
  font-size: 0;
}
.bw-step-tab.completed .bw-step-title {
  color: #2e7d32;
}

/* Línea conectora */
.bw-step-line {
  flex: 1;
  height: 3px;
  background: #dce5df;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  min-width: 16px;
}
.bw-step-line-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  background: #388e44;
  transition: width .3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bw-modal-body {
  padding: 16px 20px 24px;
  overflow-y: auto !important;
  overflow-x: hidden;
  background: #ffffff;
  scrollbar-width: thin;
  scrollbar-color: #b5ccb8 #f4faf5;
  box-sizing: border-box;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
}

.bw-modal-body::-webkit-scrollbar {
  width: 7px;
}
.bw-modal-body::-webkit-scrollbar-track {
  background: #f4faf5;
  border-radius: 4px;
}
.bw-modal-body::-webkit-scrollbar-thumb {
  background: #b5ccb8;
  border-radius: 4px;
}
.bw-modal-body::-webkit-scrollbar-thumb:hover {
  background: #2e7d32;
}

/* Panes de Pasos */
.bw-step-pane {
  display: flex;
  flex-direction: column;
  gap: 13px;
  animation: bwFadeIn .22s ease-in-out;
}

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

/* --- Intro y Formulario Paso 1: Fechas y Huéspedes --- */
.bw-step-hero-intro {
  text-align: center;
  padding: 6px 10px 10px 10px;
}
.bw-step-headline {
  margin: 0 auto;
  font-size: 15px;
  font-weight: 700;
  color: #1e2922;
  line-height: 1.45;
  max-width: 520px;
}

.bw-label-bold {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #27372d !important;
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
}

.bw-field-hint {
  font-size: 10px;
  color: #7b8d81;
  margin-top: 1px;
}

.bw-guests-selector-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.bw-guests-selector-wrap .bw-input {
  max-width: 120px;
}
.bw-guests-hint {
  font-size: 11.5px;
  color: #63776b;
  font-weight: 500;
}

/* Banner de estadía seleccionada en Paso 1 */
.bw-step1-banner {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  transition: all .2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}
.bw-step1-banner.checking {
  background: #f4f6f5;
  border: 1px dashed #ccd8d0;
  color: #66786c;
}
.bw-step1-banner.unavailable {
  background: #fdf2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}
.bw-step1-banner.available {
  background: #eef8f0;
  border: 1px solid #b8e2c0;
  color: #1e662c;
}
.bw-step1-banner-avail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
  gap: 8px;
}
.bw-step1-avail-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  color: #1e662c;
}
.bw-step1-avail-total {
  font-size: 12.5px;
  color: #273e2e;
}
.bw-step1-avail-total b {
  font-size: 14.5px;
  color: #1e662c;
}

/* Botón Siguiente Paso (pegado abajo del modal) */
#bwStepPane1 {
  min-height: 100%;
}
.bw-step-actions-footer {
  margin-top: auto;
  position: sticky;
  bottom: -24px;
  z-index: 5;
  margin-left: -20px;
  margin-right: -20px;
  margin-bottom: -24px;
  padding: 10px 20px;
  background: #ffffff;
  border-top: 1px solid #eef2ef;
  display: flex;
  justify-content: flex-end;
}
.bw-btn-step-next {
  width: auto;
  min-width: 170px;
  background: linear-gradient(135deg, #2e7d32 0%, #1e662c 100%);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(46, 125, 50, 0.28);
  transition: all .2s ease;
}
@media (max-width: 560px) {
  .bw-btn-step-next { width: 100%; }
}
.bw-btn-step-next:hover:not(:disabled) {
  background: linear-gradient(135deg, #1e662c 0%, #14491f 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(46, 125, 50, 0.42);
}
.bw-btn-step-next:disabled {
  background: #cbd9ce;
  color: #f1f5f2;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* --- PASO 2: ELEGIR CABAÑA / DEPARTAMENTO --- */
.bw-step2-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f7faf7;
  border: 1px solid #dbe6dd;
  border-radius: 10px;
  padding: 8px 12px;
  gap: 10px;
  flex-wrap: wrap;
}
.bw-filter-info {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.bw-step2-instruction h5 {
  margin: 4px 0 0 0;
  font-size: 13px;
  font-weight: 700;
  color: #1e2922;
}

.bw-step2-cabins-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.bw-cabin-option-card {
  background: #ffffff;
  border: 1.5px solid #dbe6df;
  border-radius: 12px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 190px 1fr auto;
  gap: 16px;
  align-items: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  transition: all .18s ease;
}
.bw-cabin-option-card:hover {
  border-color: #2e7d32;
  box-shadow: 0 4px 16px rgba(46, 125, 50, 0.12);
}
.bw-cabin-option-card.unavailable {
  background: #fcfcfc;
  border-color: #e5eae6;
  opacity: 0.88;
}

/* Columna multimedia de la cabaña */
.bw-cabin-media-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 190px;
  flex-shrink: 0;
}
.bw-cabin-main-photo-wrap {
  position: relative;
  width: 100%;
  height: 122px;
  border-radius: 9px;
  overflow: hidden;
  cursor: pointer;
  background: #eef2ef;
}
.bw-cabin-opt-photo {
  width: 100%;
  height: 100%;
  border-radius: 9px;
  object-fit: cover;
  display: block;
  transition: transform .25s ease;
}
.bw-cabin-main-photo-wrap:hover .bw-cabin-opt-photo {
  transform: scale(1.04);
}
.bw-photo-zoom-badge {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(18, 30, 22, 0.82);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  backdrop-filter: blur(4px);
  pointer-events: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.bw-photo-zoom-badge i {
  font-size: 11px;
}

/* Tira de miniaturas debajo de la foto principal */
.bw-cabin-media-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  cursor: pointer;
}
.bw-media-thumb-item {
  position: relative;
  height: 42px;
  border-radius: 5px;
  overflow: hidden;
  background: #e8ede9;
  border: 1px solid #d8e2da;
  transition: transform .15s ease, border-color .15s ease;
}
.bw-media-thumb-item:hover {
  transform: translateY(-1px);
  border-color: #2e7d32;
}
.bw-media-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bw-media-thumb-item.has-more span {
  position: absolute;
  inset: 0;
  background: rgba(18, 30, 22, 0.72);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
}

/* Estado cuando la cantidad de personas supera la capacidad individual */
.bw-no-matching-cabins {
  background: #f8faf9;
  border: 1.5px dashed #c9d8ce;
  border-radius: 12px;
  padding: 30px 22px;
  text-align: center;
  margin: 10px 0;
}
.bw-no-matching-icon {
  width: 50px;
  height: 50px;
  background: #eaf3ed;
  color: #1a4d2e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin: 0 auto 12px auto;
}
.bw-no-matching-title {
  font-size: 16px;
  font-weight: 700;
  color: #1b2e20;
  margin: 0 0 8px 0;
}
.bw-no-matching-desc {
  font-size: 13px;
  color: #55695b;
  max-width: 520px;
  margin: 0 auto 16px auto;
  line-height: 1.5;
}
.bw-no-matching-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.bw-btn-wa-group {
  background: #25d366;
  color: #ffffff;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .15s ease;
}
.bw-btn-wa-group:hover {
  background: #1fae54;
  color: #ffffff;
}
.bw-btn-modify-group {
  background: #ffffff;
  color: #1a4d2e;
  border: 1px solid #c9d8ce;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all .15s ease;
}
.bw-btn-modify-group:hover {
  background: #f1f6f3;
  border-color: #1a4d2e;
}

.bw-cabin-opt-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.bw-cabin-opt-header {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.bw-cabin-opt-title {
  margin: 0;
  font-size: 14.5px;
  font-weight: 700;
  color: #1e2922;
  line-height: 1.25;
}
.bw-cabin-opt-cap {
  font-size: 10.5px;
  font-weight: 600;
  color: #276733;
  background: #eaf6ec;
  padding: 2px 7px;
  border-radius: 5px;
}
.bw-cabin-opt-desc {
  margin: 0;
  font-size: 11.5px;
  color: #63756a;
  line-height: 1.35;
}
.bw-cabin-opt-amenities {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 2px;
}
.bw-amenity-chip {
  font-size: 10.5px;
  color: #3b5042;
  background: #f1f6f2;
  border: 1px solid #dce5de;
  padding: 1px 7px;
  border-radius: 4px;
}

/* Botón Ver fotos de la cabaña */
.bw-btn-view-photos {
  background: transparent;
  border: 1px dashed #b9cbbe;
  color: #2e7d32;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  align-self: flex-start;
  margin-top: 2px;
  transition: all .15s ease;
}
.bw-btn-view-photos:hover {
  background: #edf7ee;
  border-color: #2e7d32;
  color: #1e662c;
}

.bw-cabin-opt-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  text-align: right;
  flex-shrink: 0;
}
.bw-cabin-opt-pricing {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.bw-cabin-opt-price {
  font-size: 17px;
  font-weight: 800;
  color: #2e7d32;
  line-height: 1.2;
}
.bw-cabin-opt-rate {
  font-size: 11px;
  color: #7b8e81;
}
.bw-cabin-opt-unavail {
  font-size: 12px;
  font-weight: 700;
  color: #b91c1c;
}

.bw-btn-select-cabin-opt {
  background: #2e7d32;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(46, 125, 50, 0.25);
  transition: all .15s ease;
  white-space: nowrap;
}
.bw-btn-select-cabin-opt:hover {
  background: #1e662c;
  transform: translateY(-1px);
}

.bw-btn-ask-alt-opt {
  background: #25d366;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 8px 13px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all .15s ease;
  white-space: nowrap;
  text-decoration: none !important;
}

.bw-step2-actions-back {
  margin-top: 6px;
  padding-top: 10px;
  padding-bottom: 12px;
  border-top: 1px solid #eef2ef;
}

/* ==============================================
   MODAL LIGHTBOX DE FOTOS (#bwGalleryOverlay)
   ============================================== */
.bw-gallery-overlay {
  z-index: 100050 !important;
  background: rgba(10, 18, 13, 0.88) !important;
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.bw-gallery-modal {
  position: relative;
  background: #141c16;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  width: 100%;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  color: #ffffff;
}
.bw-gallery-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease;
}
.bw-gallery-close:hover {
  background: rgba(255, 255, 255, 0.22);
}
.bw-gallery-head {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #101712;
}
.bw-gallery-titles {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.bw-gallery-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}
.bw-gallery-count {
  font-size: 12px;
  color: #8fa596;
}
.bw-gallery-viewport {
  position: relative;
  width: 100%;
  height: 440px;
  background: #090e0b;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bw-gallery-slide {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-sizing: border-box;
}
.bw-gallery-main-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.bw-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(20, 28, 22, 0.75);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: all .15s ease;
}
.bw-gallery-nav:hover {
  background: #2e7d32;
  border-color: #2e7d32;
  transform: translateY(-50%) scale(1.05);
}
.bw-gallery-nav.prev {
  left: 14px;
}
.bw-gallery-nav.next {
  right: 14px;
}
.bw-gallery-thumbs {
  padding: 10px 16px;
  background: #101712;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.bw-gallery-thumb-btn {
  background: none;
  border: 2px solid transparent;
  border-radius: 6px;
  padding: 0;
  width: 64px;
  height: 48px;
  flex-shrink: 0;
  cursor: pointer;
  overflow: hidden;
  opacity: 0.6;
  transition: all .15s ease;
}
.bw-gallery-thumb-btn:hover {
  opacity: 0.9;
}
.bw-gallery-thumb-btn.active {
  border-color: #4caf50;
  opacity: 1;
}
.bw-gallery-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Paso 3: Foto clickable y botón Ver Fotos */
.bw-step3-img-wrap {
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  border-radius: 7px;
  overflow: hidden;
}
.bw-step3-img-wrap:hover .bw-step3-unit-img {
  transform: scale(1.05);
}
.bw-step3-unit-img {
  transition: transform .2s ease;
}
.bw-step3-photo-badge {
  position: absolute;
  bottom: 3px;
  right: 3px;
  background: rgba(18, 30, 22, 0.85);
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 600;
  padding: 2px 5px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  pointer-events: none;
}
.bw-btn-gallery-pill {
  background: #ffffff;
  border: 1px solid #b8c9bd;
  color: #276733;
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all .15s ease;
}
.bw-btn-gallery-pill:hover {
  background: #edf7ee;
  border-color: #2e7d32;
}

/* --- PASO 3: CONFIRMACIÓN Y COTIZACIÓN (DISEÑO 2 COLUMNAS) --- */
.bw-step3-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
  width: 100%;
  box-sizing: border-box;
}

.bw-step3-col-left {
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-sizing: border-box;
}

/* Tarjeta Unificada de Estadía */
.bw-step3-card {
  background: #ffffff;
  border: 1px solid #dce5df;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Cabecera de la Cabaña seleccionada */
.bw-step3-cabin-header {
  padding: 11px 13px;
  background: #f7faf8;
  border-bottom: 1px solid #e5ede7;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.bw-step3-img-wrap {
  position: relative;
  width: 68px;
  height: 56px;
  border-radius: 7px;
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
  border: 1px solid #ccd8d0;
}
.bw-step3-unit-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bw-step3-photo-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(18, 38, 24, 0.75);
  color: #fff;
  font-size: 9px;
  text-align: center;
  padding: 1px 0;
  font-weight: 600;
  line-height: 1.2;
}
.bw-step3-cabin-info {
  flex: 1;
  min-width: 0;
}
.bw-step3-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
}
.bw-step3-unit-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #172a1e;
  line-height: 1.25;
}
.bw-step3-unit-desc {
  margin: 2px 0 5px 0;
  font-size: 11px;
  color: #516457;
  line-height: 1.35;
}
.bw-step3-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.bw-summary-pill {
  font-size: 10.5px;
  font-weight: 600;
  color: #1b5327;
  background: #eaf5ec;
  border: 1px solid #bfe0c6;
  padding: 1.5px 6px;
  border-radius: 4px;
  line-height: 1.25;
}
.bw-btn-gallery-pill {
  background: #ffffff;
  border: 1px solid #b8c9bd;
  color: #276733;
  font-size: 10.5px;
  font-weight: 600;
  padding: 1.5px 7px;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: all .15s ease;
  line-height: 1.25;
}
.bw-btn-gallery-pill:hover {
  background: #edf7ee;
  border-color: #2e7d32;
}

.bw-btn-edit-stay {
  background: #ffffff;
  border: 1px solid #c8d8cd;
  color: #2e7d32;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
  transition: all .15s ease;
  white-space: nowrap;
}
.bw-btn-edit-stay:hover {
  background: #f0f7f1;
  border-color: #2e7d32;
}

/* Sección Datos de Contacto */
.bw-guest-form-section {
  background: #fbfdfb;
  border: 1px solid #e2ebe4;
  border-radius: 10px;
  padding: 11px 13px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bw-section-subtitle {
  margin: 0 0 2px 0;
  font-size: 11.5px;
  font-weight: 700;
  color: #24352a;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.bw-required {
  color: #dc2626;
  font-weight: 700;
}

/* Acciones Paso 3 */
.bw-step3-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}
.bw-step3-btns-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: center;
}
.bw-btn-step-prev {
  background: #ffffff;
  border: 1px solid #ccd8d0;
  color: #4b5d51;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all .15s ease;
  white-space: nowrap;
}
.bw-btn-step-prev:hover {
  background: #f4f7f5;
  color: #1e2922;
  border-color: #a8bba8;
}

/* Tarjeta de Cabaña dentro del modal (diseño horizontal compacto) */
.bw-modal-unit-card {
  background: #f9fbf9;
  border: 1px solid #dde5df;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
}
.bw-modal-unit-img {
  width: 86px;
  height: 76px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}
.bw-modal-unit-card-body {
  padding: 0;
  flex: 1;
  min-width: 0;
}
.bw-modal-unit-title {
  margin: 0;
  font-size: 13.5px;
  font-weight: 700;
  color: #1e2922;
  line-height: 1.25;
}
.bw-modal-unit-desc {
  margin: 2px 0 4px 0;
  font-size: 11px;
  color: #637269;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bw-amenities-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.bw-amenity-chip {
  font-size: 10px;
  font-weight: 600;
  color: #256633;
  background: #ecf7ee;
  border: 1px solid #c0e3c8;
  padding: 1px 6px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  line-height: 1.3;
}

/* Horarios de Estadía y Ubicación (compacto) */
.bw-info-panel-box {
  background: #f7faf8;
  border: 1px solid #dce6de;
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12px;
  color: #29382e;
}
.bw-info-item {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  line-height: 1.35;
}
.bw-info-item i {
  color: #2e7d32;
  font-size: 13px;
  margin-top: 1px;
  flex-shrink: 0;
}

/* Política de Pago y Seña (compacta) */
.bw-payment-policy-box {
  background: #ffffff;
  border: 1px solid #e1e8e3;
  border-left: 3.5px solid #2e7d32;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 11.5px;
  color: #334438;
  line-height: 1.45;
}
.bw-policy-header {
  font-weight: 700;
  color: #173d1f;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
}
.bw-policy-header i {
  color: #2e7d32;
  font-size: 13px;
}
.bw-policy-text {
  margin: 0;
  line-height: 1.45;
}

/* Columna Derecha: Formulario */
.bw-modal-form-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
.bw-form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}
.bw-form-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  box-sizing: border-box;
}
.bw-form-group.full {
  grid-column: span 2;
  width: 100%;
}
.bw-form-group label {
  font-size: 10.5px;
  font-weight: 700;
  color: #3f4e45;
  text-transform: uppercase;
  letter-spacing: .3px;
  margin: 0;
  white-space: normal;
  line-height: 1.25;
}
.bw-input, .bw-select, .bw-textarea {
  background: #ffffff;
  border: 1px solid #ccd8d0;
  border-radius: 6px;
  padding: 7px 11px;
  color: #1e2922;
  font-size: 13px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  height: 38px;
}
.bw-input:focus, .bw-select:focus, .bw-textarea:focus {
  border-color: #388e44;
  box-shadow: 0 0 0 3px rgba(56, 142, 68, 0.15);
}
.bw-textarea {
  resize: vertical;
  min-height: 95px;
  height: 105px;
  line-height: 1.45;
  padding: 9px 11px;
}

/* Selector Personalizado de Cabañas (evita select nativo desbordado) */
.bw-custom-select {
  position: relative;
  width: 100%;
}
.bw-select-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #ccd8d0;
  border-radius: 8px;
  padding: 8px 14px;
  cursor: pointer;
  text-align: left;
  transition: all .2s ease;
  box-sizing: border-box;
  font-family: inherit;
}
.bw-select-trigger:hover {
  border-color: #388e44;
  background: #fafcfb;
}
.bw-custom-select.open .bw-select-trigger {
  border-color: #388e44;
  box-shadow: 0 0 0 3px rgba(56, 142, 68, 0.15);
}
.bw-trigger-thumb {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid #e1e7e3;
}
.bw-trigger-info {
  flex: 1;
  min-width: 0;
}
.bw-trigger-title {
  font-size: 14px;
  font-weight: 700;
  color: #1e2922;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bw-trigger-sub {
  font-size: 12px;
  color: #6d7b73;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bw-trigger-arrow {
  color: #7b8880;
  font-size: 10px;
  transition: transform .2s ease;
  flex-shrink: 0;
  margin-left: 6px;
}
.bw-custom-select.open .bw-trigger-arrow {
  transform: rotate(180deg);
  color: #388e44;
}

/* Lista Desplegable */
.bw-select-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #dce4de;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
  max-height: 260px;
  overflow-y: auto;
  z-index: 1050;
  display: none;
  padding: 6px;
  box-sizing: border-box;
}
.bw-custom-select.open .bw-select-dropdown {
  display: block;
  animation: bwSelectFadeIn .18s ease-out;
}
@keyframes bwSelectFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Espacio dinámico para que el desplegable de huéspedes en el Modal se vea completo sin taparse */
#bwModalGuestsSelect {
  transition: margin-bottom .22s cubic-bezier(0.16, 1, 0.3, 1);
}
#bwModalGuestsSelect.open {
  margin-bottom: 240px;
}
#bwStepPane1 {
  min-height: 320px;
}
.bw-select-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
  border: 1px solid transparent;
}
.bw-select-option:hover {
  background: #f4faf5;
}
.bw-select-option.selected {
  background: #ecf7ee;
  border-color: #b7dfc0;
}
.bw-option-thumb {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid #e1e7e3;
}
.bw-option-info {
  flex: 1;
  min-width: 0;
}
.bw-option-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #1e2922;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bw-option-sub {
  font-size: 11.5px;
  color: #6b7770;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}
.bw-option-meta {
  text-align: right;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.bw-option-badge {
  font-size: 11px;
  font-weight: 600;
  color: #388e44;
  background: #eaf6ed;
  padding: 2px 7px;
  border-radius: 10px;
}
.bw-option-rate {
  font-size: 12.5px;
  font-weight: 700;
  color: #2e7d32;
}

/* 6. Caja de Cotización Integrada */
.bw-quote-box {
  padding: 11px 14px;
  font-size: 12px;
  background: #ffffff;
}
.bw-quote-box.available {
  background: #ffffff;
}
.bw-quote-box.checking {
  background: #fdfefe;
  color: #55655a;
  padding: 12px 14px;
}
.bw-quote-box.unavailable {
  background: #fdf5f5;
  color: #842029;
}

.bw-quote-dates-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  padding-bottom: 7px;
  border-bottom: 1px solid #eef3ef;
  margin-bottom: 7px;
  font-size: 12px;
}
.bw-quote-badge-ok {
  font-weight: 700;
  color: #1b5327;
  font-size: 12.5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.bw-quote-dates-pill {
  font-size: 11.5px;
  font-weight: 600;
  color: #276236;
  background: #edf7ef;
  border: 1px solid #c8e5cf;
  padding: 2px 7px;
  border-radius: 6px;
}

.bw-quote-financials {
  display: flex;
  flex-direction: column;
  gap: 4.5px;
  font-size: 12px;
}
.bw-fin-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #3b4d41;
}
.bw-fin-row.total-row {
  padding: 5px 0;
  border-top: 1px dashed #d5e5d8;
  border-bottom: 1px dashed #d5e5d8;
  margin: 3px 0;
  font-weight: 700;
  color: #172b1e;
  font-size: 12.5px;
}
.bw-fin-total {
  font-size: 16px;
  color: #2e7d32;
  font-weight: 800;
}
.bw-fin-row.deposit-row {
  color: #195826;
  font-size: 11.5px;
  font-weight: 600;
}
.bw-fin-deposit {
  font-size: 12.5px;
  color: #195e28;
  font-weight: 700;
}
.bw-fin-row.balance-row {
  color: #556c5e;
  font-size: 11.5px;
}

/* Pie de información y políticas (compacto e integrado) */
.bw-step3-policy-footer {
  padding: 9px 13px 11px;
  background: #f7faf8;
  border-top: 1px solid #e7eee9;
  display: flex;
  flex-direction: column;
  gap: 3.5px;
  font-size: 11px;
  color: #45574a;
  line-height: 1.35;
}
.bw-policy-line {
  display: flex;
  align-items: center;
  gap: 6px;
}
.bw-policy-line i {
  color: #2e7d32;
  font-size: 12px;
  flex-shrink: 0;
}
.bw-policy-line.note {
  margin-top: 2px;
  padding-top: 4px;
  border-top: 1px dashed #e1eae3;
  color: #57695d;
  font-size: 10.5px;
}
.bw-policy-line.note i {
  color: #16a34a;
}

.bw-quote-header-checking, .bw-quote-header-busy {
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Acciones Integradas dentro del Formulario */
.bw-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid #edf1ee;
  width: 100%;
  box-sizing: border-box;
}
.bw-btn-submit-main {
  background: #388e44;
  color: #ffffff;
  border: none;
  font-weight: 700;
  font-size: 13.5px;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 3px 10px rgba(56, 142, 68, 0.28);
  transition: all .2s ease;
  width: 100%;
}
.bw-btn-submit-main:hover {
  background: #2e7d32;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(56, 142, 68, 0.38);
}
.bw-btn-submit-main:disabled {
  background: #a5c7ab;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.bw-btn-whatsapp-main {
  background: #25d366;
  color: #ffffff;
  border: none;
  font-weight: 600;
  font-size: 12.5px;
  padding: 9px 14px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.25);
  transition: all .2s ease;
  width: 100%;
  text-decoration: none !important;
}
.bw-btn-whatsapp-main:hover {
  background: #1ebc59;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}
.bw-btn-whatsapp-main:disabled {
  background: #a7e2b7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.bw-action-security-note {
  font-size: 11px;
  color: #78877f;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.bw-btn-submit, .bw-btn-submit-main {
  background: #388e44;
  color: #ffffff;
  border: none;
  font-weight: 700;
  font-size: 13.5px;
  padding: 10px 24px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 3px 10px rgba(56, 142, 68, 0.28);
  transition: all .2s ease;
}
.bw-btn-submit:hover, .bw-btn-submit-main:hover {
  background: #2e7d32;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(56, 142, 68, 0.38);
}

/* 8. Tarjeta de Éxito */
.bw-success-card {
  text-align: center;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
}
.bw-success-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #eaf6ed;
  border: 1px solid #95d4a3;
  color: #2e7d32;
  display: grid;
  place-items: center;
  font-size: 26px;
  font-weight: 700;
  margin: 0 auto 16px;
}
.bw-success-card h4 {
  font-size: 20px;
  color: #1e2922;
  margin-bottom: 8px;
  font-weight: 700;
  text-align: center;
  width: 100%;
}
.bw-success-status-wrap {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  margin: 8px auto 16px !important;
}
.bw-success-card p {
  color: #55625a;
  font-size: 13.5px;
  line-height: 1.5;
  max-width: 440px;
  margin: 0 auto 14px;
  text-align: center;
  width: 100%;
}
.bw-modal-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px 20px;
  border-top: 1px solid #edf1ee;
  background: #fafbfa;
}

/* Acciones en Tarjeta de Éxito */
.bw-success-actions {
  margin-top: 22px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
}
.bw-btn-whatsapp-action {
  background: #25d366 !important;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 13.5px;
  padding: 11px 22px;
  border-radius: 10px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.32);
  transition: all .2s ease;
  border: none;
  cursor: pointer;
}
.bw-btn-whatsapp-action:hover {
  background: #20bd5a !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.42);
  color: #ffffff !important;
}
.bw-btn-close-action {
  background: #f0f4f1;
  color: #2e4a36;
  border: 1px solid #c9d8ce;
  font-weight: 700;
  font-size: 13.5px;
  padding: 11px 24px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
}
.bw-btn-close-action:hover {
  background: #e2ebe4;
  border-color: #b5c7bc;
  color: #1a2f22;
  transform: translateY(-1px);
}
@media (max-width: 520px) {
  .bw-success-actions {
    flex-direction: column;
    width: 100%;
  }
  .bw-btn-whatsapp-action, .bw-btn-close-action {
    width: 100% !important;
    max-width: 320px;
    box-sizing: border-box;
  }
}

/* 9. Botón Slider Hero */
a.btn_slider.btn-slider-book {
  background: #388e44 !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
}
a.btn_slider.btn-slider-book:hover {
  background: #ffffff !important;
  color: #388e44 !important;
}

/* ============================================================
   Buscador de Disponibilidad en Portada (Hero Search Bar)
   ============================================================ */

.bw-hero-slider-wrap {
  position: relative !important;
  width: 100% !important;
  overflow: visible !important;
}

/* En Desktop: fijo y permanente sobre la parte inferior del slider (no gira con las diapositivas) */
.bw-hero-search-bar-wrap {
  position: absolute !important;
  bottom: 25px !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1000 !important;
  pointer-events: auto !important;
}

.bw-hero-search-card {
  background: #ffffff;
  border: 1px solid #dde5df;
  border-radius: 14px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.14), 0 3px 12px rgba(56, 142, 68, 0.10);
  padding: 18px 24px;
  max-width: 1050px;
  margin: 0 auto;
}

.bw-hero-search-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #edf1ee;
}
.bw-hero-search-head-left {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.bw-search-heading {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #1e2922;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.bw-search-heading i {
  color: #388e44;
}
.bw-search-sub-tag {
  font-size: 12.5px;
  color: #6d7b73;
}
.bw-search-pill {
  font-size: 11.5px;
  font-weight: 600;
  color: #2e7d32;
  background: #ecf7ee;
  border: 1px solid #b7dfc0;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.bw-hero-search-grid {
  display: grid;
  grid-template-columns: 1.25fr 1.25fr 1fr 1.4fr;
  gap: 14px;
  align-items: flex-end;
}
.bw-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bw-field-group label {
  font-size: 11.5px;
  font-weight: 700;
  color: #3b4840;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}
.bw-field-group label i {
  color: #388e44;
}
.bw-hero-input, .bw-hero-select {
  background: #ffffff;
  border: 1px solid #ccd8d0;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  color: #1e2922;
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.bw-hero-input:focus, .bw-hero-select:focus {
  border-color: #388e44;
  box-shadow: 0 0 0 3px rgba(56, 142, 68, 0.15);
}
.bw-btn-hero-search {
  background: #388e44;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 3px 10px rgba(56, 142, 68, 0.3);
  transition: all .2s ease;
  height: 42px;
  box-sizing: border-box;
}
.bw-btn-hero-search:hover {
  background: #2e7d32;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(56, 142, 68, 0.4);
}

/* ============================================================
   Sección de Resultados de Disponibilidad en Portada
   ============================================================ */
.bw-search-results-section {
  padding: 30px 0 20px 0;
  background: #f7faf8;
  border-bottom: 1px solid #e1e9e3;
  animation: bwFadeIn .3s ease;
}
@keyframes bwFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.bw-search-results-box {
  background: #ffffff;
  border: 1px solid #dce4de;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  padding: 24px 28px;
  max-width: 1050px;
  margin: 0 auto;
}
.bw-results-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid #edf1ee;
  margin-bottom: 18px;
}
.bw-results-box-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #1e2922;
  display: flex;
  align-items: center;
  gap: 8px;
}
.bw-results-box-title i {
  color: #388e44;
}
.bw-results-box-sub {
  margin: 4px 0 0 0;
  font-size: 13px;
  color: #637269;
}
.bw-results-box-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.bw-meta-pill {
  font-size: 12px;
  font-weight: 600;
  background: #ecf7ee;
  color: #215c2d;
  border: 1px solid #bce1c5;
  padding: 4px 11px;
  border-radius: 20px;
}
.bw-btn-close-box {
  background: transparent;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: #8c9b91;
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 6px;
  transition: all .15s;
}
.bw-btn-close-box:hover {
  color: #1e2922;
  background: #edf1ee;
}

.bw-results-cards-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bw-results-box-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #edf1ee;
}
.bw-results-foot-help {
  margin: 0;
  font-size: 13px;
  color: #6d7b73;
}

/* ============================================================
   Modal de Resultados de Disponibilidad
   ============================================================ */

.bw-results-modal {
  background: #ffffff;
  color: #2c3531;
  border: 1px solid #dce4de;
  border-radius: 14px;
  width: 100%;
  max-width: 780px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
  transform: translateY(20px) scale(0.98);
  transition: transform .25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  font-family: inherit;
}
.bw-modal-overlay.open .bw-results-modal {
  transform: translateY(0) scale(1);
}

.bw-results-summary-bar {
  background: #f4faf5;
  border-bottom: 1px solid #e2ece4;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.bw-results-summary-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #2a3d31;
  font-weight: 600;
}
.bw-btn-edit-search {
  background: #ffffff;
  border: 1px solid #ccd8d0;
  color: #2e7d32;
  font-weight: 600;
  font-size: 12.5px;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all .15s;
}
.bw-btn-edit-search:hover {
  background: #eaf6ed;
  border-color: #388e44;
}

.bw-results-body {
  padding: 20px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #fafbfa;
}

/* Tarjeta individual de resultado */
.bw-result-card {
  background: #ffffff;
  border: 1px solid #e1e7e2;
  border-radius: 10px;
  padding: 16px;
  display: grid;
  grid-template-columns: 140px 1fr 180px;
  gap: 18px;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all .2s ease;
}
.bw-result-card.available {
  border-left: 4px solid #388e44;
}
.bw-result-card.unavailable {
  border-left: 4px solid #d32f2f;
  opacity: 0.8;
  background: #fbfcfb;
}
.bw-result-card:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.bw-result-photo {
  width: 140px;
  height: 95px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #e2e8e4;
}
.bw-result-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bw-result-header {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.bw-result-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #1e2922;
}
.bw-result-cap {
  font-size: 11px;
  font-weight: 600;
  color: #388e44;
  background: #eaf6ed;
  padding: 2px 8px;
  border-radius: 10px;
}
.bw-result-desc {
  margin: 0;
  font-size: 12.5px;
  color: #6b7770;
  line-height: 1.4;
}
.bw-result-status {
  margin-top: 6px;
}
.bw-status-pill {
  font-size: 11.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 6px;
}
.bw-status-pill.ok {
  background: #ecf7ee;
  color: #1e5c2b;
  border: 1px solid #b7dfc0;
}
.bw-status-pill.busy {
  background: #fdf2f2;
  color: #842029;
  border: 1px solid #f5c2c7;
}
.bw-status-pill.warn {
  background: #fff8e1;
  color: #8a6d3b;
  border: 1px solid #ffeeba;
}

.bw-result-action-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  text-align: right;
  border-left: 1px solid #edf1ee;
  padding-left: 16px;
}
.bw-result-price-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.bw-result-price-total {
  font-size: 18px;
  font-weight: 700;
  color: #2e7d32;
  line-height: 1.2;
}
.bw-result-price-detail {
  font-size: 11.5px;
  color: #7a8880;
  margin-top: 2px;
}
.bw-result-unavailable-text {
  font-size: 14px;
  font-weight: 700;
  color: #842029;
}
.bw-btn-select-cabin {
  background: #388e44;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(56, 142, 68, 0.25);
  transition: all .2s ease;
  white-space: nowrap;
}
.bw-btn-select-cabin:hover {
  background: #2e7d32;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(56, 142, 68, 0.35);
}
.bw-btn-ask-alt {
  background: #f4faf5;
  color: #2e7d32;
  border: 1px solid #b7dfc0;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: all .15s ease;
}
.bw-btn-ask-alt:hover {
  background: #ecf7ee;
  border-color: #388e44;
}

.bw-results-foot {
  padding: 14px 24px;
  border-top: 1px solid #eef2ef;
  background: #f9fbf9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 991px) {
  .bw-hero-search-bar-wrap {
    position: relative !important;
    bottom: auto !important;
    margin-top: 15px !important;
    margin-bottom: 20px !important;
    z-index: 1000 !important;
  }
  .bw-hero-search-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .bw-stepper-header {
    padding: 8px 10px;
    gap: 4px;
  }
  .bw-step-title {
    font-size: 10px;
  }
  .bw-step-num-label {
    display: none;
  }
  .bw-cabin-option-card {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 12px;
  }
  .bw-cabin-media-col {
    width: 100%;
  }
  .bw-cabin-main-photo-wrap {
    height: 180px;
  }
  .bw-cabin-opt-photo {
    width: 100%;
    height: 100%;
  }
  .bw-gallery-viewport {
    height: 280px;
  }
  .bw-gallery-nav {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }
  .bw-cabin-opt-action {
    align-items: stretch;
    border-top: 1px solid #edf1ee;
    padding-top: 8px;
    width: 100%;
  }
  .bw-cabin-opt-pricing {
    align-items: flex-start;
  }
  .bw-btn-select-cabin-opt, .bw-btn-ask-alt-opt {
    justify-content: center;
    width: 100%;
  }
  .bw-step3-btns-row {
    grid-template-columns: 1fr;
  }
  .bw-step3-summary-card {
    flex-direction: column;
    align-items: stretch;
  }
  .bw-btn-edit-stay {
    justify-content: center;
  }
  .bw-form-row { grid-template-columns: 1fr; }
  .bw-form-group.full { grid-column: span 1; }
  .bw-modal-foot { flex-direction: column-reverse; }
  .bw-modal-foot button, .bw-modal-foot a { width: 100%; justify-content: center; }
  .bw-floating-btn { bottom: 16px; right: 16px; padding: 10px 18px; font-size: 13px; }
  .bw-hero-search-card { padding: 15px 16px; }
  .bw-search-results-box { padding: 16px 14px; }
}

/* ============================================================
   Popup / Alerta Elegante Personalizada (La Posada del Trébol)
   Reemplazo moderno de alta gama para alert() del navegador
   ============================================================ */
.bw-alert-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100050;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.bw-alert-overlay.open {
  opacity: 1;
  visibility: visible;
}

.bw-alert-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border-radius: 24px;
  padding: 34px 28px 28px;
  text-align: center;
  box-shadow: 0 25px 60px -12px rgba(15, 23, 42, 0.35),
              0 0 0 1px rgba(22, 163, 74, 0.12),
              0 2px 4px rgba(0, 0, 0, 0.04);
  transform: scale(0.9) translateY(18px);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  box-sizing: border-box;
  font-family: inherit;
}

.bw-alert-overlay.open .bw-alert-card {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Barra decorativa superior con degradé temático */
.bw-alert-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #16a34a 0%, #34d399 50%, #15803d 100%);
}

.bw-alert-card.type-warning .bw-alert-top-bar {
  background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 50%, #d97706 100%);
}

.bw-alert-card.type-error .bw-alert-top-bar {
  background: linear-gradient(90deg, #ef4444 0%, #f87171 50%, #b91c1c 100%);
}

.bw-alert-card.type-info .bw-alert-top-bar {
  background: linear-gradient(90deg, #0ea5e9 0%, #38bdf8 50%, #0284c7 100%);
}

/* Botón de cerrar (X) */
.bw-alert-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: #f1f5f9;
  color: #64748b;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  outline: none;
}

.bw-alert-close-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: rotate(90deg);
}

/* Anillo contenedor del icono grande con pulso animado */
.bw-alert-icon-ring {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s ease;
}

.bw-alert-card.type-date .bw-alert-icon-ring,
.bw-alert-card.type-success .bw-alert-icon-ring {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  color: #15803d;
  box-shadow: 0 10px 24px rgba(22, 163, 74, 0.22);
  animation: bwPulseGreen 2.4s infinite;
}

.bw-alert-card.type-warning .bw-alert-icon-ring {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #b45309;
  box-shadow: 0 10px 24px rgba(217, 119, 6, 0.22);
  animation: bwPulseAmber 2.4s infinite;
}

.bw-alert-card.type-error .bw-alert-icon-ring {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  color: #b91c1c;
  box-shadow: 0 10px 24px rgba(239, 68, 68, 0.22);
  animation: bwPulseRed 2.4s infinite;
}

.bw-alert-card.type-info .bw-alert-icon-ring {
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  color: #0369a1;
  box-shadow: 0 10px 24px rgba(2, 132, 199, 0.22);
  animation: bwPulseBlue 2.4s infinite;
}

@keyframes bwPulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.35), 0 10px 24px rgba(22, 163, 74, 0.22); }
  70% { box-shadow: 0 0 0 14px rgba(22, 163, 74, 0), 0 10px 24px rgba(22, 163, 74, 0.22); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0), 0 10px 24px rgba(22, 163, 74, 0.22); }
}

@keyframes bwPulseAmber {
  0% { box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.35), 0 10px 24px rgba(217, 119, 6, 0.22); }
  70% { box-shadow: 0 0 0 14px rgba(217, 119, 6, 0), 0 10px 24px rgba(217, 119, 6, 0.22); }
  100% { box-shadow: 0 0 0 0 rgba(217, 119, 6, 0), 0 10px 24px rgba(217, 119, 6, 0.22); }
}

@keyframes bwPulseRed {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.35), 0 10px 24px rgba(239, 68, 68, 0.22); }
  70% { box-shadow: 0 0 0 14px rgba(239, 68, 68, 0), 0 10px 24px rgba(239, 68, 68, 0.22); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0), 0 10px 24px rgba(239, 68, 68, 0.22); }
}

@keyframes bwPulseBlue {
  0% { box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.35), 0 10px 24px rgba(2, 132, 199, 0.22); }
  70% { box-shadow: 0 0 0 14px rgba(2, 132, 199, 0), 0 10px 24px rgba(2, 132, 199, 0.22); }
  100% { box-shadow: 0 0 0 0 rgba(2, 132, 199, 0), 0 10px 24px rgba(2, 132, 199, 0.22); }
}

.bw-alert-icon-ring svg {
  width: 36px;
  height: 36px;
  display: block;
}

/* Textos de la tarjeta */
.bw-alert-title {
  margin: 0 0 10px 0;
  font-size: 21px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.3px;
  line-height: 1.3;
}

.bw-alert-desc {
  margin: 0 0 24px 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: #475569;
  padding: 0 6px;
}

/* Botones de acción */
.bw-alert-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bw-alert-btn-confirm {
  width: 100%;
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #ffffff !important;
  border: none;
  padding: 13px 24px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.32);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none !important;
  box-sizing: border-box;
}

.bw-alert-btn-confirm:hover {
  background: linear-gradient(135deg, #15803d 0%, #166534 100%);
  transform: translateY(-2px);
  box-shadow: 0 9px 24px rgba(22, 163, 74, 0.42);
  color: #ffffff !important;
}

.bw-alert-btn-confirm:active {
  transform: translateY(0);
}

.bw-alert-btn-confirm svg {
  transition: transform 0.2s ease;
}

.bw-alert-btn-confirm:hover svg {
  transform: translateX(3px);
}

.bw-alert-btn-cancel {
  width: 100%;
  background: transparent;
  color: #64748b;
  border: 1px solid #e2e8f0;
  padding: 11px 24px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.bw-alert-btn-cancel:hover {
  background: #f8fafc;
  color: #1e293b;
  border-color: #cbd5e1;
}

@media (max-width: 480px) {
  .bw-alert-card {
    padding: 28px 20px 22px;
    border-radius: 20px;
  }
  .bw-alert-icon-ring {
    width: 62px;
    height: 62px;
    margin-bottom: 16px;
  }
  .bw-alert-icon-ring svg {
    width: 30px;
    height: 30px;
  }
  .bw-alert-title {
    font-size: 19px;
  }
  .bw-alert-desc {
    font-size: 13.5px;
    margin-bottom: 20px;
  }
  .bw-alert-btn-confirm {
    padding: 12px 20px;
    font-size: 14.5px;
  }
}

/* Medallitas de Reputación y Confianza (Booking 9.0 y Google 4.6) */
.bw-hero-trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #edf1ee;
}
.bw-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: #374151;
  transition: transform .15s ease;
}
.bw-badge-pill:hover {
  transform: translateY(-1px);
}
.bw-badge-logo {
  font-weight: 800;
  color: #003580;
  letter-spacing: -0.3px;
  font-size: 13px;
}
.bw-badge-score {
  background: #003580;
  color: #ffffff;
  font-weight: 800;
  font-size: 12px;
  padding: 2px 7px;
  border-radius: 6px;
  letter-spacing: 0.2px;
}
.bw-badge-google .bw-badge-score {
  background: #1e293b;
}
.bw-badge-stars {
  color: #f59e0b;
  font-size: 13px;
  letter-spacing: 1px;
}
.bw-badge-text {
  font-size: 12px;
  color: #4b5563;
  font-weight: 500;
}
.bw-badge-sep {
  width: 1px;
  height: 16px;
  background: #d1d5db;
}

/* Medallitas en la Sección de Opiniones */
.opiniones-rating-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 10px auto 30px auto;
  max-width: 600px;
}
.opiniones-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 10px 18px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  transition: transform .2s ease, box-shadow .2s ease;
}
.opiniones-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}
.opiniones-badge .ob-logo {
  font-weight: 800;
  font-size: 14px;
  color: #003580;
  letter-spacing: -0.3px;
}
.opiniones-badge .ob-score {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  background: #003580;
  padding: 4px 10px;
  border-radius: 8px;
  line-height: 1;
}
.opiniones-badge-google .ob-score {
  background: #1e293b;
}
.opiniones-badge .ob-details {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.opiniones-badge .ob-details b {
  font-size: 12.5px;
  color: #1f2937;
  font-weight: 700;
  line-height: 1.2;
}
.opiniones-badge .ob-details small {
  font-size: 10.5px;
  color: #6b7280;
}
.opiniones-badge-google .ob-ghead {
  display: flex;
  align-items: center;
  gap: 5px;
}
.opiniones-badge-google .ob-gtext {
  font-weight: 800;
  color: #374151;
  font-size: 13.5px;
}
.opiniones-badge-google .ob-stars {
  color: #f59e0b;
  font-size: 12px;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .bw-hero-trust-badges {
    gap: 10px;
  }
  .bw-badge-sep {
    display: none;
  }
  .opiniones-rating-summary {
    gap: 12px;
  }
  .opiniones-badge {
    padding: 8px 14px;
  }
}



/* ===== Paso 3: acciones simples y ordenadas ===== */
.bw-step3-actions-clean {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin-top: 12px;
}
.bw-step3-actions-clean .bw-btn-submit-main,
.bw-step3-actions-clean .bw-btn-whatsapp-main {
  width: 100%;
  margin: 0;
  padding: 12px 16px;
  font-size: 14px;
  justify-content: center;
}
.bw-step3-actions-clean .bw-btn-submit-main:disabled {
  opacity: .55;
}
.bw-link-back {
  background: none;
  border: none;
  padding: 4px;
  color: #5b6b61;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}
.bw-link-back:hover { color: #1e662c; text-decoration: underline; }
.bw-step3-photo-badge { display: none !important; }

/* ===== Footer fijo del modal de reserva ===== */
.bw-modal-footer {
  flex: 0 0 auto;
  background: #ffffff;
  border-top: 1px solid #e3ebe5;
  padding: 10px 20px;
  box-shadow: 0 -4px 14px rgba(30, 60, 40, 0.06);
}
.bw-foot-group {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.bw-modal-footer[data-step="1"] .bw-foot-1,
.bw-modal-footer[data-step="2"] .bw-foot-2,
.bw-modal-footer[data-step="3"] .bw-foot-3 {
  display: flex;
}
.bw-foot-actions { display: flex; align-items: center; gap: 8px; }
.bw-foot-note { font-size: 12.5px; color: #6b7770; }
.bw-foot-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 8px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .18s ease;
  white-space: nowrap;
}
.bw-foot-btn.primary {
  background: linear-gradient(135deg, #2e7d32 0%, #1e662c 100%);
  color: #fff;
  box-shadow: 0 3px 10px rgba(46, 125, 50, 0.28);
}
.bw-foot-btn.primary:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 5px 14px rgba(46, 125, 50, 0.38); }
.bw-foot-btn.whatsapp { background: #25d366; color: #fff; }
.bw-foot-btn.whatsapp:hover:not(:disabled) { background: #1fb858; }
.bw-foot-btn.ghost { background: #fff; color: #3d4a42; border-color: #d3ddd6; }
.bw-foot-btn.ghost:hover { background: #f3f7f4; }
.bw-foot-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
@media (max-width: 560px) {
  .bw-modal-footer { padding: 8px 12px; }
  .bw-foot-note { display: none; }
  .bw-foot-1 .bw-foot-btn { flex: 1; }
  .bw-foot-btn { padding: 10px 12px; font-size: 12.5px; }
  .bw-foot-3 .bw-foot-actions { flex: 1; }
  .bw-foot-3 .bw-foot-actions .bw-foot-btn { flex: 1; }
}
