/* ==========================================================================
   WIZARD DE RESERVA DE CITAS ONLINE — LUAN PELUQUEROS (ALTA COSTURA VIP / ESTILO FRESHA)
   ========================================================================== */

.booking-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(3, 3, 6, 0.76);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  z-index: 3600;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

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

.booking-modal-card {
  background: radial-gradient(circle at 50% -10%, rgba(253, 216, 53, 0.22) 0%, rgba(13, 13, 18, 0.98) 65%, rgba(6, 6, 9, 1) 100%);
  border: 1.5px solid rgba(253, 216, 53, 0.45);
  border-radius: 26px;
  width: 100%;
  max-width: 660px;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 28px 24px 22px 24px;
  position: relative;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.95), 0 0 55px rgba(253, 216, 53, 0.2);
  animation: bookingScaleIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  transition: max-width 0.35s cubic-bezier(0.16, 1, 0.3, 1), height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.booking-modal-card::-webkit-scrollbar {
  display: none;
}

.booking-modal-card.step-compact {
  max-width: 660px;
  min-height: 560px;
  max-height: 92vh;
  height: auto;
  overflow-y: auto;
  padding-bottom: 28px;
}

.booking-modal-card.step-wide {
  width: 1280px;
  max-width: 96vw;
  height: min(920px, 93vh);
  max-height: 94vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 24px 28px 22px 28px;
  box-sizing: border-box;
  transition: none;
}

.booking-modal-card.step-wide .booking-notice-box {
  display: none !important;
}

.booking-modal-card.step-wide .booking-header {
  margin-bottom: 8px;
}

.booking-modal-card.step-wide .booking-title {
  font-size: 1.8rem;
  margin: 0 0 2px 0;
}

.booking-modal-card.step-wide .booking-emblem {
  margin-bottom: 8px;
  padding: 4px 16px;
}

.booking-modal-card.step-wide .booking-stepper {
  margin-bottom: 14px;
}

.booking-modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(253, 216, 53, 0.35);
  color: #ffffff;
  font-size: 1rem;
  line-height: 1;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  z-index: 10;
}
.booking-modal-close-btn:hover {
  background: #ef4444;
  border-color: #ef4444;
  color: #ffffff;
}

/* Cabecera del Modal */
.booking-header {
  text-align: center;
  margin-bottom: 20px;
}

.booking-emblem {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(253, 216, 53, 0.1);
  border: 1px solid rgba(253, 216, 53, 0.3);
  padding: 5px 16px;
  border-radius: 20px;
  color: #fdd835;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.booking-title {
  font-family: var(--font-display, 'Cinzel', serif);
  font-size: 1.95rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 8px 0;
  letter-spacing: 0.5px;
}

/* Aviso Informativo (Abajo del todo) */
.booking-notice-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  border: none;
  padding: 0 10px;
  margin: 32px auto 8px auto;
  text-align: center;
  max-width: 580px;
  width: 100%;
  box-sizing: border-box;
}
.booking-notice-icon {
  color: #fdd835;
  font-size: 0.8rem;
  opacity: 0.75;
  flex-shrink: 0;
}
.booking-notice-text {
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.4;
  margin: 0;
  letter-spacing: 0.15px;
}

/* Indicador de Pasos (Stepper) */
.booking-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 8px;
  margin-bottom: 20px;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
  overflow: visible !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
.booking-stepper::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.booking-step-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
  padding: 5px 11px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: default;
  transition: all 0.25s ease;
  user-select: none;
  flex-shrink: 0;
}

.booking-step-item.completed {
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.06);
  cursor: pointer;
}

.booking-step-item.completed:hover {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.14);
}

.booking-step-bubble {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 800;
  color: #94a3b8;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.booking-step-item.active {
  color: #fdd835;
  background: rgba(253, 216, 53, 0.12);
  border-color: rgba(253, 216, 53, 0.5);
  box-shadow: 0 0 16px rgba(253, 216, 53, 0.2);
  cursor: default;
}

.booking-step-item.active .booking-step-bubble {
  background: #fdd835;
  border-color: #fdd835;
  color: #000000;
  box-shadow: 0 0 10px rgba(253, 216, 53, 0.6);
}

.booking-step-item.completed .booking-step-bubble {
  background: rgba(16, 185, 129, 0.25);
  border-color: #10b981;
  color: #10b981;
}

.booking-step-line {
  display: none;
}

/* Paneles del Wizard */
.booking-step-panel {
  display: none;
  animation: bookingFadeSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.booking-step-panel.active {
  display: block;
}
.booking-modal-card.step-wide .booking-step-panel.active {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  height: 100%;
}

.booking-modal-card.step-wide .booking-fresha-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 22px;
  align-items: stretch;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  overflow: visible;
}

.booking-modal-card.step-wide .booking-services-column {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  max-height: 100%;
  overflow-y: auto;
  padding: 4px 8px 8px 4px;
}

.booking-modal-card.step-wide .booking-cart-sidebar {
  padding: 16px 18px;
  gap: 10px;
  border-radius: 18px;
  overflow: visible;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.booking-modal-card.step-wide .booking-cart-items-container {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.booking-modal-card.step-wide .booking-cart-total-row {
  flex-shrink: 0;
  padding-top: 10px;
  margin-top: auto;
}

.booking-modal-card.step-wide .booking-hair-length-bar {
  margin-bottom: 10px;
  padding: 8px 16px;
  flex-shrink: 0;
}

.booking-modal-card.step-wide .booking-category-pills-bar {
  margin-bottom: 10px;
  padding-bottom: 2px;
  flex-shrink: 0;
}

/* Badge de Cliente Identificado en Cabecera */
.booking-top-customer-badge {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin: 0 0 12px 0;
  text-align: left;
  flex-shrink: 0;
  width: 100%;
}

.top-client-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(253, 216, 53, 0.35);
  border-radius: 30px;
  padding: 6px 14px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  line-height: 1;
}

.top-client-icon {
  color: #fdd835;
  font-size: 1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.top-client-name {
  color: #ffffff;
  font-weight: 800;
  font-size: 0.9rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.top-client-tag {
  color: #4ade80;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.35);
  padding: 4px 8px;
  border-radius: 12px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.top-client-divider {
  width: 1px;
  height: 15px;
  background: rgba(255, 255, 255, 0.15);
  margin: 0 2px;
  display: inline-block;
  align-self: center;
}

.top-client-change-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 14px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  line-height: 1;
}

.top-client-change-btn:hover {
  color: #fdd835;
  border-color: rgba(253, 216, 53, 0.4);
  background: rgba(253, 216, 53, 0.12);
}

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

/* Campos de Formulario */
.booking-form-container {
  max-width: 420px;
  margin: 0 auto;
}

.booking-phone-lead {
  color: #94a3b8;
  font-size: 0.88rem;
  text-align: center;
  margin: 0 -50px 24px -50px;
  line-height: 1.4;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .booking-phone-lead {
    margin: 0 0 20px 0;
    white-space: normal;
  }
}

.booking-form-group {
  margin-bottom: 20px;
  text-align: left;
}

.booking-form-label {
  display: block;
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.booking-form-label span.req {
  color: #fdd835;
}

.booking-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.booking-input-icon {
  position: absolute;
  left: 18px;
  color: #fdd835;
  font-size: 1rem;
  pointer-events: none;
  transition: color 0.2s ease;
  opacity: 0.8;
}

.booking-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid rgba(253, 216, 53, 0.5);
  border-radius: 12px;
  padding: 15px 16px 15px 50px;
  font-size: 1.05rem;
  color: #ffffff;
  font-family: inherit;
  transition: all 0.25s ease;
  box-sizing: border-box;
  letter-spacing: 0.5px;
}
.booking-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.15);
  border-left-color: #fdd835;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(253, 216, 53, 0.1), 0 4px 20px rgba(0, 0, 0, 0.3);
}
.booking-input-wrapper:focus-within .booking-input-icon {
  opacity: 1;
}
.booking-input::placeholder {
  color: #3d4d62;
  font-size: 0.95rem;
  letter-spacing: 0;
}


/* Botones */
.booking-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 44px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fdd835 0%, #c6a700 100%);
  color: #000000;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(253, 216, 53, 0.35);
  transition: all 0.2s ease;
  box-sizing: border-box;
}
.booking-btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(253, 216, 53, 0.5);
  background: linear-gradient(135deg, #ffe054 0%, #d4b300 100%);
}
.booking-btn-primary:active:not(:disabled) {
  transform: translateY(1px);
}
.booking-btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(0.5);
  box-shadow: none;
}

.booking-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.booking-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(253, 216, 53, 0.4);
}

/* Tarjeta Cliente Encontrado (Paso 1A) */
.booking-client-found-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 12px 0 20px;
  margin-bottom: 0;
  text-align: center;
  box-shadow: none;
}
.booking-client-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(253, 216, 53, 0.08);
  border: 1px solid rgba(253, 216, 53, 0.3);
  color: rgba(253, 216, 53, 0.85);
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 18px;
}
.booking-client-badge i {
  font-size: 0.7rem;
}
.booking-client-greet {
  color: #ffffff;
  font-size: 1.55rem;
  font-weight: 800;
  margin: 0 0 8px 0;
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.booking-client-greet span {
  color: #fdd835;
}
.booking-client-sub {
  color: #64748b;
  font-size: 0.875rem;
  margin: 0;
  line-height: 1.55;
}


/* Tarjeta Cliente Nuevo (Paso 3B) */
.booking-new-client-card {
  background: rgba(20, 20, 30, 0.7);
  border: 1.5px solid rgba(253, 216, 53, 0.25);
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 22px;
}
.booking-new-client-title {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 auto 8px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
}
.booking-new-client-sub {
  color: #cbd5e1;
  font-size: 0.9rem;
  margin: 0 auto 18px auto;
  text-align: center;
  line-height: 1.5;
}

/* ==========================================================================
   ESTRUCTURA DE SERVICIOS ESTILO FRESHA (Paso 4)
   ========================================================================== */

/* Barra de Filtros de Categorías (Pills Horizontales) */
.booking-category-pills-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 14px 2px;
  margin-bottom: 18px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
}
.booking-category-pills-bar::-webkit-scrollbar {
  height: 4px;
}
.booking-category-pills-bar::-webkit-scrollbar-thumb {
  background: rgba(253, 216, 53, 0.3);
  border-radius: 4px;
}

.booking-category-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.22s ease;
  user-select: none;
}
.booking-category-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(253, 216, 53, 0.4);
}
.booking-category-pill.active {
  background: #fdd835;
  color: #000000;
  border-color: #fdd835;
  box-shadow: 0 0 15px rgba(253, 216, 53, 0.4);
  font-weight: 800;
}

/* Layout Principal de 2 Columnas: Servicios (Izquierda) + Cesta (Derecha) */
.booking-fresha-layout {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 26px;
  align-items: stretch;
  flex: 1;
  min-height: 0;
}

/* Columna Izquierda: Listado de Categorías y Servicios */
.booking-services-column {
  max-height: 58vh;
  overflow-y: auto;
  padding: 4px 8px 8px 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(253, 216, 53, 0.45) rgba(255, 255, 255, 0.03);
}
.booking-services-column::-webkit-scrollbar {
  width: 6px;
}
.booking-services-column::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
}
.booking-services-column::-webkit-scrollbar-thumb {
  background: rgba(253, 216, 53, 0.45);
  border-radius: 10px;
}
.booking-services-column::-webkit-scrollbar-thumb:hover {
  background: rgba(253, 216, 53, 0.75);
}

.booking-category-section {
  margin-bottom: 26px;
}
.booking-category-title {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 12px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 6px;
}
.booking-category-title i {
  color: #fdd835;
}

.booking-services-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Tarjeta de Servicio Estilo Fresha Compacta */
.booking-service-card-fresha {
  background: rgba(22, 22, 30, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
  position: relative;
  cursor: pointer;
  margin-bottom: 8px;
  box-sizing: border-box;
}
.booking-service-card-fresha:hover {
  background: rgba(30, 30, 42, 0.95);
  border-color: rgba(253, 216, 53, 0.55);
  box-shadow: 0 0 12px rgba(253, 216, 53, 0.12);
}
.booking-service-card-fresha.selected {
  border-color: #fdd835;
  background: radial-gradient(circle at 100% 0%, rgba(253, 216, 53, 0.12) 0%, rgba(24, 24, 34, 0.98) 100%);
  box-shadow: 0 0 16px rgba(253, 216, 53, 0.2);
}

.booking-service-info {
  flex: 1;
  min-width: 0;
}

.service-card-header-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 2px;
}

.service-dur-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 2px 7px;
  font-size: 0.74rem;
  color: #cbd5e1;
  font-weight: 600;
}
.service-dur-pill i {
  color: #fdd835;
  font-size: 0.72rem;
}

.booking-service-heading {
  color: #ffffff;
  font-size: 0.96rem;
  font-weight: 800;
  margin: 0;
}

.booking-service-desc {
  color: #94a3b8;
  font-size: 0.78rem;
  line-height: 1.35;
  margin: 2px 0 4px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-card-bottom-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.booking-service-price-tag {
  color: #fdd835;
  font-size: 1.05rem;
  font-weight: 800;
}

/* Botón Añadir / Quitar circular (+) */
.booking-service-action-btn {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: none;
  transition: all 0.18s ease;
  flex-shrink: 0;
}
.booking-service-card-fresha:hover .booking-service-action-btn {
  border-color: #fdd835;
  color: #fdd835;
  background: rgba(253, 216, 53, 0.1);
}
.booking-service-card-fresha.selected .booking-service-action-btn {
  background: #fdd835;
  border-color: #fdd835;
  color: #000000;
  box-shadow: 0 0 12px rgba(253, 216, 53, 0.5);
}

/* Columna Derecha: Resumen de Cesta / Carrito */
.booking-cart-sidebar {
  background: rgba(18, 18, 26, 0.95);
  border: 1.5px solid rgba(253, 216, 53, 0.35);
  border-radius: 18px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: sticky;
  top: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  align-self: stretch;
  height: 100%;
  box-sizing: border-box;
}

.booking-cart-header-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}
.booking-cart-header-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.booking-cart-count-badge {
  background: rgba(253, 216, 53, 0.15);
  border: 1px solid rgba(253, 216, 53, 0.35);
  color: #fdd835;
  font-size: 0.74rem;
  font-weight: 800;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}

.booking-cart-drawer-toggle-arrow,
.booking-cart-toggle-btn {
  display: none;
}

.booking-cart-items-container {
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(253, 216, 53, 0.45) rgba(255, 255, 255, 0.03);
}
.booking-cart-items-container::-webkit-scrollbar {
  width: 5px;
}
.booking-cart-items-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
}
.booking-cart-items-container::-webkit-scrollbar-thumb {
  background: rgba(253, 216, 53, 0.45);
  border-radius: 10px;
}
.booking-cart-empty-text {
  color: #64748b;
  font-size: 0.85rem;
  text-align: center;
  padding: 20px 10px;
  font-style: italic;
}

.booking-cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 7px 10px;
  border-radius: 8px;
  transition: all 0.15s ease;
}
.booking-cart-item-row:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(253, 216, 53, 0.25);
}
.booking-cart-item-main,
.booking-cart-item-details {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.booking-cart-item-name,
.booking-cart-item-title {
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.booking-cart-item-dur,
.cart-item-dur {
  color: #94a3b8;
  font-size: 0.7rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.booking-cart-item-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.booking-cart-item-price {
  color: #fdd835;
  font-size: 0.88rem;
  font-weight: 800;
  white-space: nowrap;
}
.booking-cart-item-remove-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  transition: all 0.15s ease;
  line-height: 1;
}
.booking-cart-item-remove-btn:hover {
  color: #ef4444;
  transform: scale(1.15);
}

.booking-cart-total-row {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  margin-top: auto;
}
.booking-cart-action-wrap {
  flex-shrink: 0;
  margin-top: 2px;
}
.booking-cart-total-label {
  color: #cbd5e1;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
}
.booking-cart-total-amount {
  color: #fdd835;
  font-size: 1.35rem;
  font-weight: 900;
}

/* Spinner */
.booking-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(0, 0, 0, 0.25);
  border-top-color: #000000;
  border-radius: 50%;
  animation: bookingSpin 0.7s linear infinite;
}
@keyframes bookingSpin {
  to { transform: rotate(360deg); }
}

.booking-form-error {
  max-width: 420px;
  margin: 0 auto 16px auto;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(26, 18, 22, 0.92) 100%);
  border: 1px solid rgba(239, 68, 68, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 16px rgba(239, 68, 68, 0.12);
  color: #fecaca;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.85rem;
  line-height: 1.45;
  display: none;
  align-items: center;
  gap: 12px;
  box-sizing: border-box;
  animation: errorSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes errorSlideIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.booking-form-error i {
  color: #f87171;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.booking-form-error span {
  flex: 1;
}

.booking-input.input-has-error {
  border-color: rgba(239, 68, 68, 0.65) !important;
  border-left-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2), 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}

/* Responsive Móvil */
@media (max-width: 840px) {
  .booking-modal-card {
    padding: 22px 16px 18px 16px;
    border-radius: 20px;
    max-height: 95vh;
  }
  .booking-title {
    font-size: 1.5rem;
  }
  .booking-stepper {
    font-size: 0.72rem;
    gap: 4px;
  }
  .booking-step-item span.step-text {
    display: none;
  }
  .booking-fresha-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .booking-services-column {
    max-height: 42vh;
  }
  .booking-cart-sidebar {
    position: static;
    padding: 14px;
  }
  .booking-cart-salon-header {
    display: none;
  }
}

/* ==========================================================================
   CHIP DE CLIENTE VIP / RECIENTES & BADGES FRESHA
   ========================================================================== */
.booking-customer-header-chip {
  margin-bottom: 16px;
}

.booking-customer-chip-content {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  padding: 6px 14px;
  backdrop-filter: blur(10px);
}

.booking-customer-chip-content.is-vip {
  background: radial-gradient(circle at 0% 0%, rgba(253, 216, 53, 0.15) 0%, rgba(20, 20, 28, 0.9) 100%);
  border-color: rgba(253, 216, 53, 0.4);
  box-shadow: 0 0 15px rgba(253, 216, 53, 0.15);
}

.booking-customer-chip-content .chip-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(253, 216, 53, 0.2);
  color: #fdd835;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.booking-customer-chip-content .chip-details {
  display: flex;
  align-items: center;
  gap: 8px;
}

.booking-customer-chip-content .chip-name {
  color: #ffffff;
  font-weight: 800;
  font-size: 0.92rem;
}

.booking-customer-chip-content .chip-tag {
  color: #fdd835;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(253, 216, 53, 0.1);
  padding: 2px 8px;
  border-radius: 12px;
}

.booking-customer-chip-content .chip-switch-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 0.78rem;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.booking-customer-chip-content .chip-switch-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

/* Badges para Packs y Solo Teléfono */
.booking-pack-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, rgba(253, 216, 53, 0.2), rgba(212, 175, 55, 0.3));
  border: 1px solid #fdd835;
  color: #fdd835;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.booking-phone-only-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid #38bdf8;
  color: #38bdf8;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.booking-service-call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  border: 1px solid #38bdf8;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.22s ease;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3);
  white-space: nowrap;
}

.booking-service-call-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.5);
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: #ffffff;
}

.booking-service-card-fresha.phone-only-card {
  border-color: rgba(56, 189, 248, 0.3);
}

.booking-service-card-fresha.pack-card {
  border-color: rgba(253, 216, 53, 0.35);
  background: radial-gradient(circle at 0% 0%, rgba(253, 216, 53, 0.08) 0%, rgba(22, 22, 30, 0.9) 100%);
}

/* Fondo de burbujas Bokeh dinámicas detrás del modal */
.booking-modal-backdrop-bubbles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* Nota / Disclaimer de precios orientativos */
.booking-price-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: rgba(253, 216, 53, 0.04);
  border: 1px solid rgba(253, 216, 53, 0.15);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.74rem;
  color: #cbd5e1;
  line-height: 1.35;
}
.booking-price-disclaimer i {
  color: #fdd835;
  font-size: 0.85rem;
  margin-top: 1px;
  flex-shrink: 0;
}

/* Selector de Variantes / Larguras de Cabello */
.booking-variant-selector {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.booking-variant-label {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.booking-variant-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.booking-variant-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 6px 12px;
  color: #cbd5e1;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  user-select: none;
}

.booking-variant-btn:hover {
  background: rgba(253, 216, 53, 0.12);
  border-color: rgba(253, 216, 53, 0.4);
  color: #fdd835;
  transform: translateY(-1px);
}

.booking-variant-btn.active {
  background: #fdd835;
  border-color: #fdd835;
  color: #000000;
  box-shadow: 0 0 14px rgba(253, 216, 53, 0.4);
  font-weight: 800;
}

.booking-variant-btn .v-price {
  opacity: 0.85;
  font-size: 0.74rem;
}
.booking-variant-btn.active .v-price {
  color: #000000;
  font-weight: 900;
}

/* Selector Global de Largura de Cabello (Segmented Control Luxury) */
.booking-hair-segmented-wrap,
.booking-hair-length-bar {
  width: 100%;
  margin-bottom: 14px;
}

.booking-hair-segmented-track,
.booking-hair-length-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  background: rgba(14, 15, 22, 0.95);
  border: 1.5px solid rgba(253, 216, 53, 0.28);
  border-radius: 16px;
  padding: 5px;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.5), 0 4px 15px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}

.booking-hair-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 6px 8px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  box-sizing: border-box;
  text-align: center;
}

.booking-hair-pill .pill-title,
.booking-hair-pill > span:first-child {
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.2px;
  color: inherit;
}

.booking-hair-pill .pill-guide,
.booking-hair-pill > span:last-child:not(:first-child) {
  font-size: 0.68rem;
  font-weight: 600;
  color: #94a3b8;
  line-height: 1.2;
  margin-top: 2px;
  transition: color 0.18s ease;
  white-space: nowrap;
}

.booking-hair-pill:hover:not(.active) {
  background: rgba(253, 216, 53, 0.08);
  color: #fdd835;
  border-color: rgba(253, 216, 53, 0.25);
}

.booking-hair-pill:hover:not(.active) .pill-guide,
.booking-hair-pill:hover:not(.active) > span:last-child:not(:first-child) {
  color: #fef08a;
}

.booking-hair-pill.active {
  background: linear-gradient(135deg, #fdd835 0%, #fbc02d 100%);
  border-color: #fdd835;
  color: #0c0d12 !important;
  box-shadow: 0 4px 16px rgba(253, 216, 53, 0.35);
}

.booking-hair-pill.active .pill-title,
.booking-hair-pill.active > span:first-child {
  color: #0c0d12 !important;
  font-weight: 900;
}

.booking-hair-pill.active .pill-guide,
.booking-hair-pill.active > span:last-child:not(:first-child) {
  color: #1a1500 !important;
  font-weight: 700;
  opacity: 0.85;
}

/* Estado de bloqueo cuando aún no se ha seleccionado largura */
.booking-length-locked-placeholder {
  text-align: center;
  padding: 45px 24px;
  background: rgba(14, 14, 20, 0.7);
  border: 1.5px dashed rgba(253, 216, 53, 0.3);
  border-radius: 20px;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.booking-length-locked-icon {
  font-size: 2.2rem;
  color: #fdd835;
  margin-bottom: 2px;
}
.booking-length-locked-heading {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0;
}
.booking-length-locked-sub {
  color: #94a3b8;
  font-size: 0.88rem;
  max-width: 480px;
  line-height: 1.5;
  margin: 0;
}

/* Tooltip informativo discreto para avisos de precios */
.booking-info-tooltip-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 0.84rem;
  cursor: help;
  position: relative;
  transition: color 0.2s ease;
  vertical-align: middle;
}
.booking-info-tooltip-trigger:hover {
  color: #fdd835;
}
.booking-info-tooltip-trigger[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: #14141e;
  border: 1.5px solid rgba(253, 216, 53, 0.6);
  color: #e2e8f0;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.45;
  width: 250px;
  max-width: min(260px, calc(100vw - 32px));
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.95);
  pointer-events: none;
  z-index: 99999;
  white-space: normal;
  text-transform: none;
  text-align: left;
}
.booking-info-tooltip-trigger[data-tooltip]:hover::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 3px);
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #fdd835;
  pointer-events: none;
  z-index: 100000;
}

/* ==========================================================================
   PASO 3: ESTILOS DE PROFESIONAL, CALENDARIO Y HORAS
   ========================================================================== */

/* Bloques de sección en el paso 3 */
.booking-step3-section {
  background: rgba(18, 18, 26, 0.85);
  border: 1px solid rgba(253, 216, 53, 0.22);
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.booking-step3-section-title {
  color: #fdd835;
  font-size: 0.88rem;
  font-weight: 800;
  margin: 0 0 10px 0;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.3px;
}

/* 1. Selector de Profesionales (Grid adaptativo para que TODOS los profesionales sean visibles) */
.booking-stylists-section {
  background: rgba(18, 18, 26, 0.85);
  border: 1px solid rgba(253, 216, 53, 0.22);
  border-radius: 16px;
  padding: 10px 14px;
  margin-bottom: 12px;
  flex-shrink: 0;
  overflow: visible;
}

.booking-stylists-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 8px;
  padding: 2px;
  overflow: visible;
}

.booking-stylist-card {
  min-width: 0;
  height: 96px;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 8px 4px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-sizing: border-box;
}

.booking-stylist-card:hover {
  background: rgba(253, 216, 53, 0.08);
  border-color: rgba(253, 216, 53, 0.5);
  transform: translateY(-2px);
}

.booking-stylist-card.active {
  background: radial-gradient(circle at 50% 0%, rgba(253, 216, 53, 0.28) 0%, rgba(24, 24, 34, 0.95) 100%);
  border-color: #fdd835;
  box-shadow: 0 0 16px rgba(253, 216, 53, 0.35);
}

.booking-stylist-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(253, 216, 53, 0.4);
  background: rgba(253, 216, 53, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fdd835;
  flex-shrink: 0;
}

.booking-stylist-card.active .booking-stylist-avatar {
  border-color: #fdd835;
  box-shadow: 0 0 12px rgba(253, 216, 53, 0.6);
}

.booking-stylist-name {
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.booking-stylist-card.active .booking-stylist-name {
  color: #fdd835;
}

/* Tooltip gestionado por JS (position:fixed) — ver booking-wizard.js */

/* Columna de Fecha y Hora en Paso 3 */
#bookingDateTimeColumn {
  max-height: none;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: hidden;
  min-height: 0;
}

/* Acceso Rápido: Cita Exprés */
.booking-quick-slots-bar {
  background: linear-gradient(135deg, rgba(253, 216, 53, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(253, 216, 53, 0.28);
  border-radius: 10px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.booking-quick-slots-header {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.booking-quick-badge {
  background: #fdd835;
  color: #000000;
  font-size: 0.62rem;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.booking-quick-text {
  color: #cbd5e1;
  font-size: 0.78rem;
  font-weight: 600;
}

.booking-quick-btns-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.booking-quick-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(253, 216, 53, 0.35);
  border-radius: 7px;
  color: #fdd835;
  padding: 5px 12px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  white-space: nowrap;
}

.booking-quick-btn i {
  font-size: 0.78rem;
}

.booking-quick-btn:hover {
  background: #fdd835;
  color: #000000;
  border-color: #fdd835;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(253, 216, 53, 0.3);
}

.booking-quick-btn:active {
  transform: translateY(0);
}

@media (max-width: 600px) {
  .booking-quick-slots-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
  .booking-quick-btns-row {
    width: 100%;
  }
  .booking-quick-btn {
    flex: 1;
  }
}

/* 2 y 3. Grid de 2 Columnas para Calendario (Izq) y Horas (Der) */
.booking-cal-time-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
  flex: 1 1 auto;
  min-height: 0;
  align-items: stretch;
  overflow: hidden;
}

@media (max-width: 860px) {
  #bookingDateTimeColumn {
    overflow-y: auto;
    height: auto;
  }
  .booking-cal-time-container {
    grid-template-columns: 1fr;
    height: auto;
  }
}

.booking-cal-col {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.booking-time-col {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

/* 2. Calendario Interactivo Amplio y Elegante */
.booking-calendar-card {
  background: rgba(10, 10, 15, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px 14px;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.booking-cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  flex-shrink: 0;
}

.booking-cal-month-title {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: capitalize;
  letter-spacing: 0.3px;
}

.booking-cal-nav-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(253, 216, 53, 0.25);
  color: #fdd835;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.82rem;
}

.booking-cal-nav-btn:hover:not(:disabled) {
  background: #fdd835;
  color: #000000;
  border-color: #fdd835;
}

.booking-cal-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.booking-cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  text-align: center;
  margin-bottom: 6px;
  flex-shrink: 0;
}

.booking-cal-weekday {
  color: #94a3b8;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 2px 0;
  text-transform: uppercase;
}

.booking-cal-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  flex: 1 1 auto;
  align-content: stretch;
  overflow: visible;
}

.booking-cal-day {
  height: 100%;
  min-height: 36px;
  max-height: 44px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  font-size: 0.92rem;
  font-weight: 800;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
  user-select: none;
}

.booking-cal-day.empty {
  background: transparent;
  border: none;
  cursor: default;
}

.booking-cal-day:hover:not(.past):not(.closed):not(.empty) {
  background: rgba(253, 216, 53, 0.15);
  border-color: rgba(253, 216, 53, 0.6);
  color: #fdd835;
  transform: scale(1.04);
}

.booking-cal-day.selected {
  background: linear-gradient(135deg, #fdd835 0%, #d4af37 100%) !important;
  border-color: #fdd835 !important;
  color: #000000 !important;
  font-weight: 900 !important;
  box-shadow: 0 0 14px rgba(253, 216, 53, 0.5) !important;
  transform: scale(1.04);
}

.booking-cal-day.past {
  opacity: 0.25;
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.01);
  border-color: transparent;
  color: #64748b;
}

/* Base para etiquetas de estado en los días del calendario */
.cal-day-label {
  font-size: 0.42rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-top: 1px;
  line-height: 1;
  letter-spacing: -0.2px;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 1px;
}

/* 1. Días Cerrados / Festivos del salón (ROJO CORAL) */
.booking-cal-day.closed {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.18) 0%, rgba(185, 28, 28, 0.12) 100%) !important;
  border: 1px solid rgba(248, 113, 113, 0.55) !important;
  color: #f87171 !important;
  cursor: not-allowed !important;
  opacity: 0.88;
  box-shadow: inset 0 0 10px rgba(239, 68, 68, 0.08) !important;
}
.booking-cal-day.closed .cal-day-label {
  color: #fecaca;
  font-weight: 900;
}

/* 2. Días de Vacaciones del profesional (TURQUESA / AGUAMARINA TROPICAL LUMINOSO) */
.booking-cal-day.vacation {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2) 0%, rgba(14, 165, 233, 0.12) 100%) !important;
  border: 1px solid rgba(34, 211, 238, 0.6) !important;
  color: #22d3ee !important;
  cursor: not-allowed !important;
  opacity: 0.92;
  box-shadow: inset 0 0 12px rgba(6, 182, 212, 0.15) !important;
}
.booking-cal-day.vacation .cal-day-label {
  color: #a5f3fc;
  font-weight: 900;
}

/* 3. Días Libres / Descanso del profesional (PÚRPURA / LAVANDA ELEGANTE Y CLARO) */
.booking-cal-day.day-off {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, rgba(139, 92, 246, 0.12) 100%) !important;
  border: 1px solid rgba(192, 132, 252, 0.55) !important;
  color: #c084fc !important;
  cursor: not-allowed !important;
  opacity: 0.9;
  box-shadow: inset 0 0 12px rgba(168, 85, 247, 0.12) !important;
}
.booking-cal-day.day-off .cal-day-label {
  color: #f3e8ff;
  font-weight: 900;
}

/* 4. Días de Baja Médica del profesional (ROSA / MAGENTA VIBRANTE) */
.booking-cal-day.on-leave {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.2) 0%, rgba(219, 39, 119, 0.12) 100%) !important;
  border: 1px solid rgba(244, 114, 182, 0.6) !important;
  color: #f472b6 !important;
  cursor: not-allowed !important;
  opacity: 0.9;
  box-shadow: inset 0 0 12px rgba(236, 72, 153, 0.12) !important;
}
.booking-cal-day.on-leave .cal-day-label {
  color: #fce7f3;
  font-weight: 900;
}

/* 5. Días Completos / Sin Huecos (ÁMBAR DORADO INTENSO) */
.booking-cal-day.fully-booked {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18) 0%, rgba(217, 119, 6, 0.12) 100%) !important;
  border: 1px solid rgba(251, 191, 36, 0.55) !important;
  color: #fbbf24 !important;
  cursor: not-allowed !important;
  opacity: 0.88;
  box-shadow: inset 0 0 10px rgba(245, 158, 11, 0.1) !important;
}
.booking-cal-day.fully-booked .cal-day-label {
  color: #fef08a;
  font-weight: 900;
}

/* Custom CSS tooltip para todos los días no seleccionables */
.booking-cal-day.closed[data-tooltip],
.booking-cal-day.vacation[data-tooltip],
.booking-cal-day.day-off[data-tooltip],
.booking-cal-day.on-leave[data-tooltip],
.booking-cal-day.fully-booked[data-tooltip] {
  overflow: visible;
}

.booking-cal-day.closed[data-tooltip]:hover::after,
.booking-cal-day.vacation[data-tooltip]:hover::after,
.booking-cal-day.day-off[data-tooltip]:hover::after,
.booking-cal-day.on-leave[data-tooltip]:hover::after,
.booking-cal-day.fully-booked[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 7px);
  left: 50%;
  transform: translateX(-50%);
  background: #181824;
  border: 1px solid rgba(253, 216, 53, 0.45);
  color: #e2e8f0;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.85);
  pointer-events: none;
  z-index: 9999;
  max-width: 90vw;
}

/* Días en la columna izquierda (L/M): tooltip anclado a la izquierda */
.booking-cal-day.tooltip-edge-left[data-tooltip]:hover::after {
  left: 0;
  transform: translateX(0);
}

/* Días en la columna derecha (S/D): tooltip anclado a la derecha */
.booking-cal-day.tooltip-edge-right[data-tooltip]:hover::after {
  left: auto;
  right: 0;
  transform: translateX(0);
}

.booking-cal-day.closed[data-tooltip]:hover::after {
  background: #2a0a0a;
  border-color: rgba(248, 113, 113, 0.65);
  color: #fee2e2;
}

.booking-cal-day.vacation[data-tooltip]:hover::after {
  background: #042f2e;
  border-color: rgba(34, 211, 238, 0.7);
  color: #cffafe;
}

.booking-cal-day.day-off[data-tooltip]:hover::after {
  background: #2e1065;
  border-color: rgba(192, 132, 252, 0.7);
  color: #f3e8ff;
}

.booking-cal-day.on-leave[data-tooltip]:hover::after {
  background: #3b0724;
  border-color: rgba(244, 114, 182, 0.7);
  color: #fce7f3;
}

.booking-cal-day.fully-booked[data-tooltip]:hover::after {
  background: #291804;
  border-color: rgba(251, 191, 36, 0.7);
  color: #fef9c3;
}

/* 3. Selector de Horas (Sin scroll interno, integrado en el scroll global) */
.booking-time-slots-wrapper {
  height: auto;
  min-height: 0;
  overflow: visible;
  padding-right: 0;
}

.booking-time-empty-hint {
  text-align: center;
  padding: 24px 14px;
  color: #94a3b8;
  font-size: 0.84rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  line-height: 1.5;
}

.booking-time-group-title {
  font-size: 0.76rem;
  color: #cbd5e1;
  font-weight: 700;
  margin: 4px 0 6px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.booking-time-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(66px, 1fr));
  gap: 6px;
  margin-bottom: 10px;
}

.booking-time-pill {
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
  font-size: 0.84rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  position: relative;
}

.booking-time-pill:hover:not(.disabled) {
  background: rgba(253, 216, 53, 0.15);
  border-color: rgba(253, 216, 53, 0.6);
  color: #fdd835;
  transform: translateY(-1px);
}

.booking-time-pill.selected {
  background: linear-gradient(135deg, #fdd835 0%, #c6a700 100%) !important;
  border-color: #fdd835 !important;
  color: #000000 !important;
  font-weight: 900 !important;
  box-shadow: 0 0 12px rgba(253, 216, 53, 0.45);
}

.booking-time-pill.disabled {
  opacity: 0.4;
  cursor: not-allowed !important;
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px dashed rgba(255, 255, 255, 0.1) !important;
  color: #64748b !important;
  text-decoration: line-through;
  pointer-events: none;
}

/* ==========================================================================
   PASO 4: PANTALLA DE RESUMEN Y CONFIRMACIÓN VIP DE SOLICITUD
   ========================================================================== */
.booking-confirm-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.booking-confirm-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
  width: 100%;
  height: 100%;
  min-height: 0;
}

@media (max-width: 860px) {
  .booking-confirm-layout {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }
}

.booking-confirm-col {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.booking-confirm-card {
  background: rgba(18, 18, 26, 0.95);
  border: 1.5px solid rgba(253, 216, 53, 0.35);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  box-sizing: border-box;
}

.booking-confirm-card-summary {
  background: radial-gradient(circle at 100% 0%, rgba(253, 216, 53, 0.08) 0%, rgba(18, 18, 26, 0.98) 70%);
}

.booking-confirm-card-header {
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* Ficha Cliente en Paso 4 (Compacta y elegante) */
.booking-confirm-client-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(253, 216, 53, 0.04);
  border: 1px solid rgba(253, 216, 53, 0.22);
  border-radius: 14px;
  padding: 10px 14px;
}

.booking-confirm-client-icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(253, 216, 53, 0.22) 0%, rgba(253, 216, 53, 0.06) 100%);
  border: 1.5px solid rgba(253, 216, 53, 0.5);
  color: #fdd835;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(253, 216, 53, 0.2);
}

.booking-confirm-client-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.booking-confirm-client-name {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.2px;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.booking-confirm-client-phone {
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Grid de Información de la Cita (3 Columnas Sleek) */
.booking-confirm-items-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  flex: 0 0 auto;
}

.booking-confirm-grid-tile {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 8px 10px;
  transition: all 0.2s ease;
  min-width: 0;
}

.booking-confirm-grid-tile.highlight-time-tile {
  background: radial-gradient(circle at 0% 50%, rgba(253, 216, 53, 0.12) 0%, rgba(18, 18, 26, 0.95) 100%);
  border-color: rgba(253, 216, 53, 0.45);
}

.tile-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(253, 216, 53, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fdd835;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.tile-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.tile-label {
  color: #94a3b8;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.tile-value {
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tile-value.time-val {
  color: #fdd835;
  font-size: 0.95rem;
  font-weight: 900;
}

/* Tarjeta de Seguridad Turnstile en Paso 4 */
.booking-turnstile-box {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(253, 216, 53, 0.22);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-sizing: border-box;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.booking-turnstile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding-bottom: 6px;
}

.turnstile-header-title {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #e2e8f0;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.turnstile-badge-tag {
  color: #94a3b8;
  font-size: 0.64rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2px 7px;
  border-radius: 8px;
  letter-spacing: 0.5px;
}

.booking-turnstile-widget-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 65px;
  width: 100%;
}

.booking-turnstile-widget-wrap .cf-turnstile,
.booking-turnstile-widget-wrap iframe {
  max-width: 100%;
  border: none !important;
  outline: none !important;
  border-radius: 8px;
}

.booking-confirm-disclaimer {
  background: rgba(34, 197, 94, 0.06);
  border: 1px solid rgba(34, 197, 94, 0.22);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.74rem;
  color: #cbd5e1;
  line-height: 1.4;
  display: flex;
  gap: 8px;
  align-items: center;
}

.disclaimer-text strong {
  color: #4ade80;
}

/* Lista de Servicios en Paso 4 (Completamente fluida y sin barra de scroll interna redundante) */
.booking-confirm-services-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 auto;
  overflow: visible !important;
  min-height: auto;
  max-height: none !important;
  padding-right: 0 !important;
}

.booking-confirm-service-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 8px 12px;
  transition: all 0.15s ease;
}

.confirm-service-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.confirm-service-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.service-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10b981;
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  flex-shrink: 0;
}

.confirm-service-name {
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.confirm-service-dur {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #94a3b8;
  font-size: 0.72rem;
  font-weight: 600;
  margin-top: 1px;
}
.confirm-service-dur i {
  color: #fdd835;
  font-size: 0.68rem;
}

.service-price {
  color: #fdd835;
  font-weight: 800;
  font-size: 0.92rem;
  white-space: nowrap;
}

/* Totales y Duración Paso 4 */
.booking-confirm-toggle-header {
  cursor: pointer;
  user-select: none;
  justify-content: space-between;
}

.booking-drawer-handle-wrap {
  display: none;
}

.booking-confirm-totals-block {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(253, 216, 53, 0.25);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  cursor: pointer;
  user-select: none;
}

.booking-confirm-duration-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #cbd5e1;
  font-size: 0.82rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 6px;
}

.duration-val {
  color: #fdd835;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.booking-cart-total-row,
.booking-confirm-total-row {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.booking-cart-total-left,
.booking-confirm-total-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.booking-cart-total-left {
  flex-direction: row;
  align-items: center;
  gap: 6px;
}

.booking-cart-total-center,
.booking-confirm-total-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.booking-drawer-chevron {
  display: none; /* hidden on desktop, shown only on mobile */
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(253, 216, 53, 0.12);
  border: 1.5px solid rgba(253, 216, 53, 0.45);
  color: #fdd835;
  font-size: 0.72rem;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease, color 0.25s ease;
  cursor: pointer;
  flex-shrink: 0;
}

.drawer-open .booking-drawer-chevron,
.booking-confirm-card-summary.drawer-open .booking-drawer-chevron {
  transform: rotate(180deg);
  background: #fdd835;
  color: #000000;
}

.booking-confirm-total-label {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.booking-confirm-total-subnote {
  color: #94a3b8;
  font-size: 0.7rem;
  font-weight: 500;
}

.booking-confirm-total-amount {
  color: #fdd835;
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  text-align: right;
}

/* Botones Paso 4 */
.booking-confirm-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.booking-btn-submit-final {
  padding: 14px 20px;
  font-size: 1rem;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 20px rgba(253, 216, 53, 0.4);
}

/* =========================================================================
   PANTALLA DE ÉXITO FINAL VIP / ESTADO EN REVISIÓN (MODAL LIMPIO Y DIRECTO)
   ========================================================================= */
.booking-modal-card.screen-single-focus {
  max-width: 540px !important;
  min-height: auto !important;
  height: auto !important;
  max-height: 94vh !important;
  overflow-y: auto !important;
  padding: 24px 24px 20px 24px !important;
  display: block !important;
}

.booking-modal-card.screen-single-focus .booking-header,
.booking-modal-card.screen-single-focus .booking-stepper,
.booking-modal-card.screen-single-focus .booking-top-customer-badge,
.booking-modal-card.screen-single-focus .booking-notice-box,
.booking-modal-card.screen-single-focus #bookingFormError {
  display: none !important;
}

.booking-confirm-success-card {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  text-align: center;
  max-width: 100% !important;
  margin: 0 auto !important;
  box-shadow: none !important;
  animation: popModalSuccess 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  backdrop-filter: none !important;
  position: relative;
  overflow: visible;
}

@keyframes popModalSuccess {
  0% {
    opacity: 0;
    transform: scale(0.95) translateY(12px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* 1. Animación del Check SVG + Ondas de Luz */
.success-animation-wrap {
  position: relative;
  width: 64px;
  height: 64px;
  margin: 0 auto 10px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-glow-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253, 216, 53, 0.35) 0%, rgba(253, 216, 53, 0) 70%);
  animation: successPulseGlow 2.4s infinite ease-in-out;
  pointer-events: none;
}

.success-glow-ring-2 {
  inset: -16px;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.2) 0%, rgba(37, 211, 102, 0) 70%);
  animation: successPulseGlow 2.4s infinite ease-in-out 0.6s;
}

@keyframes successPulseGlow {
  0%, 100% { transform: scale(0.9); opacity: 0.4; }
  50% { transform: scale(1.18); opacity: 0.85; }
}

.success-checkmark-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 20px rgba(253, 216, 53, 0.35);
}

.success-checkmark-svg {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: block;
  stroke-width: 3.5;
  stroke: #fdd835;
  stroke-miterlimit: 10;
  box-shadow: inset 0px 0px 0px #fdd835;
  animation: fillSuccessCircle 0.45s ease-in-out 0.4s forwards, scaleSuccessPop 0.35s ease-in-out 0.9s both;
}

.success-checkmark-circle-stroke {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 3.5;
  stroke-miterlimit: 10;
  stroke: #fdd835;
  fill: none;
  animation: strokeSuccessCircle 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.success-checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  stroke: #0a0a0f;
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: strokeSuccessCheck 0.4s cubic-bezier(0.65, 0, 0.45, 1) 0.65s forwards;
}

@keyframes strokeSuccessCircle {
  100% { stroke-dashoffset: 0; }
}

@keyframes strokeSuccessCheck {
  100% { stroke-dashoffset: 0; }
}

@keyframes fillSuccessCircle {
  100% { box-shadow: inset 0px 0px 0px 32px #fdd835; }
}

@keyframes scaleSuccessPop {
  0%, 100% { transform: none; }
  50% { transform: scale3d(1.1, 1.1, 1); }
}

/* 2. Badge de Estado */
.success-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(253, 216, 53, 0.12);
  border: 1px solid rgba(253, 216, 53, 0.35);
  color: #fdd835;
  font-size: 0.70rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.status-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fdd835;
  box-shadow: 0 0 8px #fdd835;
  animation: pulseLiveDot 1.6s infinite ease-in-out;
}

@keyframes pulseLiveDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

/* 3. Títulos y Textos */
.success-title {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 10px 0;
  font-family: var(--font-display, 'Outfit', sans-serif);
  letter-spacing: -0.3px;
}

.success-subtitle {
  color: #94a3b8;
  font-size: 0.88rem;
  margin: 0 0 14px 0;
  line-height: 1.4;
}

/* 4. Ticket VIP de Resumen */
.success-ticket-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 12px;
  text-align: left;
}

.success-ticket-row {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 12px;
}

.ticket-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ticket-label {
  color: #94a3b8;
  font-size: 0.70rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.ticket-label i {
  color: #fdd835;
  font-size: 0.76rem;
}

.ticket-value {
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
  word-break: break-word;
}

.ticket-value.highlight-gold {
  color: #fdd835;
  font-weight: 800;
}

.ticket-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 8px 0;
}

/* 5. Tarjeta Destacada de WhatsApp */
.success-whatsapp-highlight-card {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.12) 0%, rgba(12, 34, 22, 0.65) 100%);
  border: 1.5px solid rgba(37, 211, 102, 0.45);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
  text-align: left;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.whatsapp-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37, 211, 102, 0.2);
  border: 1px solid rgba(37, 211, 102, 0.5);
  color: #4ade80;
  font-size: 0.70rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 16px;
  margin-bottom: 8px;
}

.whatsapp-card-badge i {
  font-size: 0.85rem;
}

.whatsapp-card-title {
  color: #ffffff;
  font-size: 0.90rem;
  font-weight: 700;
  margin: 0 0 8px 0;
  line-height: 1.35;
  display: flex;
  align-items: center;
  gap: 8px;
}

.whatsapp-card-title .phone-tag {
  color: #fdd835;
  background: none;
  border: none;
  padding: 0;
  border-radius: 0;
  font-weight: 900;
  display: inline;
}

.whatsapp-alert-footer {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: rgba(253, 216, 53, 0.08);
  border: 1px solid rgba(253, 216, 53, 0.25);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.75rem;
  color: #f1f5f9;
  line-height: 1.4;
}

.whatsapp-alert-footer i {
  color: #fdd835;
  font-size: 0.9rem;
  margin-top: 1px;
  flex-shrink: 0;
}

/* 6. Botón de Cierre */
.success-action-wrap {
  margin-bottom: 10px;
}

.success-btn-cta {
  max-width: 280px;
  margin: 0 auto;
  width: 100%;
  padding: 11px 18px;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  box-shadow: 0 6px 20px rgba(253, 216, 53, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
}

.success-footer-support {
  color: #94a3b8;
  font-size: 0.74rem;
  line-height: 1.5;
}

.success-footer-support a {
  color: #fdd835;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease;
}

.success-footer-support a:hover {
  text-decoration: underline;
  color: #ffffff;
}

/* Botón de Cancelar Solicitud de Cita */
.booking-btn-danger-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.08);
  border: 1.5px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
}
.booking-btn-danger-outline:hover:not(:disabled) {
  background: rgba(239, 68, 68, 0.18);
  border-color: #ef4444;
  color: #ffffff;
  transform: translateY(-1px);
}
.booking-btn-danger-outline:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Caja de Confirmación de Cancelación */
.booking-cancel-confirm-box {
  background: rgba(239, 68, 68, 0.08);
  border: 1.5px solid rgba(239, 68, 68, 0.4);
  border-radius: 14px;
  padding: 16px;
  margin-top: 14px;
  text-align: center;
  animation: bookingFadeSlide 0.25s ease-out;
}

.booking-cancel-confirm-title {
  color: #fca5a5;
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.booking-cancel-confirm-desc {
  color: #cbd5e1;
  font-size: 0.82rem;
  line-height: 1.45;
  margin-bottom: 14px;
}

@media (max-width: 640px) {
  .booking-confirm-success-card {
    padding: 24px 16px;
    border-radius: 18px;
  }
  .success-title {
    font-size: 1.3rem;
  }
  .success-ticket-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .whatsapp-steps-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .whatsapp-step-box {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
  }
  .step-desc {
    text-align: left;
  }
}

/* ==========================================================================
   OPTIMIZACIÓN RESPONSIVE COMPLETA PARA MÓVILES Y PANTALLAS ESTRECHAS
   ========================================================================== */
@media (max-width: 860px) {
  .booking-modal-overlay {
    padding: 6px;
  }

  .booking-modal-card {
    border-radius: 18px;
    padding: 16px 12px;
    max-width: 100%;
  }

  .booking-modal-card.step-compact {
    max-width: 100%;
    min-height: auto;
    max-height: 95vh;
    padding: 18px 14px;
  }

  .booking-modal-card.step-wide {
    width: 100%;
    max-width: 100%;
    height: 95vh;
    height: 95dvh;
    max-height: 96dvh;
    padding: 14px 10px 10px 10px;
    border-radius: 18px;
  }

@media (max-width: 860px) {
  .booking-modal-overlay {
    padding: 6px;
  }

  .booking-modal-card {
    border-radius: 18px;
    padding: 16px 12px;
    max-width: 100%;
  }

  .booking-modal-card.step-compact {
    max-width: 100%;
    min-height: auto;
    max-height: 95vh;
    padding: 18px 14px;
  }

  .booking-modal-card.step-wide {
    width: 100%;
    max-width: 100%;
    height: 95vh;
    height: 95dvh;
    max-height: 95dvh;
    padding: 12px 10px 10px 10px;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
  }

  .booking-modal-close-btn {
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }

  .booking-modal-card.step-wide .booking-header {
    margin-bottom: 2px;
    flex-shrink: 0;
  }

  .booking-modal-card.step-wide .booking-title {
    font-size: 1.25rem;
    margin: 0 0 2px 0;
  }

  .booking-modal-card.step-wide .booking-emblem {
    display: none !important;
  }

  /* STEPPER: Sin barra de desplazamiento, centrado y limpio */
  .booking-modal-card.step-wide .booking-stepper,
  .booking-stepper {
    margin-top: 4px;
    margin-bottom: 12px;
    gap: 12px;
    flex-wrap: nowrap;
    overflow: visible !important;
    justify-content: center;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    flex-shrink: 0;
  }

  .booking-modal-card.step-wide .booking-stepper::-webkit-scrollbar,
  .booking-stepper::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  .booking-step-item .step-text {
    display: none !important;
  }

  .booking-step-item {
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    gap: 0 !important;
    overflow: visible !important;
  }

  .booking-step-bubble {
    width: 22px !important;
    height: 22px !important;
    font-size: 0.72rem !important;
  }

  .booking-modal-card.step-wide .booking-top-customer-badge,
  .booking-top-customer-badge {
    margin: 0 0 10px 0 !important;
    justify-content: center;
  }

  .top-client-pill {
    padding: 4px 12px;
    font-size: 0.74rem;
    gap: 7px;
    max-width: 100%;
    box-sizing: border-box;
  }

  .top-client-name {
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Contenedores de paneles en 100% altura flex */
  .booking-modal-card.step-wide .booking-step-panel.active {
    display: flex;
    flex-direction: column;
    flex: 1 1 0;
    min-height: 0;
    height: 100%;
    overflow: hidden;
  }

  /* --- PASO 2: ESTRUCTURA FRESHA EN 1 SOLA COLUMNA RESPONSIVE --- */
  .booking-modal-card.step-wide .booking-fresha-layout {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    gap: 8px;
    flex: 1 1 0;
    min-height: 0;
    height: 100%;
    overflow: hidden;
  }

  .booking-modal-card.step-wide .booking-hair-length-bar {
    display: flex;
    align-items: center;
    padding: 4px 8px;
    margin-bottom: 6px;
    border-radius: 20px;
    gap: 6px;
    flex-wrap: nowrap;
    flex-shrink: 0;
  }

  .booking-hair-length-title {
    font-size: 0.74rem;
    gap: 4px;
    white-space: nowrap;
  }

  .booking-hair-length-options {
    display: flex;
    gap: 4px;
    flex-wrap: nowrap;
    flex: 1;
  }

  .booking-hair-pill {
    flex: 1;
    height: 28px;
    padding: 0 4px;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 14px;
  }

  .booking-modal-card.step-wide .booking-category-pills-bar {
    margin-bottom: 6px;
    padding: 2px 2px 6px 2px;
    gap: 6px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-shrink: 0;
  }

  .booking-category-pill {
    padding: 5px 12px;
    font-size: 0.76rem;
    font-weight: 700;
  }

  .booking-modal-card.step-wide .booking-services-column {
    flex: 1 1 0;
    min-height: 0;
    height: auto;
    max-height: none;
    overflow-y: auto;
    padding: 2px 4px 4px 2px;
  }

  .booking-service-card-fresha {
    padding: 10px 12px;
    gap: 10px;
    border-radius: 12px;
    margin-bottom: 8px;
  }

  .booking-service-heading {
    font-size: 0.9rem;
  }

  .booking-service-desc {
    font-size: 0.76rem;
  }

  .booking-service-price-tag {
    font-size: 0.95rem;
  }

  /* Carrito con cajón desplegable (Drawer) en móvil */
  .booking-modal-card.step-wide .booking-cart-sidebar {
    flex: 0 0 auto !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    margin-top: auto;
    padding: 6px 12px;
    border-radius: 14px;
    gap: 4px;
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.85);
    background: rgba(14, 14, 20, 0.98);
    border: 1.5px solid rgba(253, 216, 53, 0.4);
    box-sizing: border-box;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }

  /* Pestaña / Tirador Central del Panel Desplegable (Drawer) */
  .booking-drawer-handle-wrap {
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0 0 4px 0;
    cursor: pointer;
    user-select: none;
    flex-shrink: 0;
  }

  .booking-drawer-handle-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 18px;
    background: rgba(253, 216, 53, 0.12);
    border: 1px solid rgba(253, 216, 53, 0.35);
    border-radius: 10px;
    color: #fdd835;
    font-size: 0.68rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .booking-drawer-handle-pill:hover {
    background: rgba(253, 216, 53, 0.25);
    border-color: #fdd835;
  }

  .booking-cart-toggle-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
    font-size: 0.7rem;
    cursor: pointer;
  }

  /* ESTADO COLAPSADO (Por defecto en móvil) */
  .booking-modal-card.step-wide .booking-cart-sidebar:not(.drawer-open) .booking-cart-header-compact {
    display: none !important;
  }
  .booking-modal-card.step-wide .booking-cart-sidebar:not(.drawer-open) .booking-cart-items-container {
    display: none !important;
  }
  .booking-modal-card.step-wide .booking-cart-sidebar:not(.drawer-open) .booking-cart-total-row {
    border-top: none !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  /* ESTADO DESPLEGADO (Al pulsar sobre el total o la flechita central) */
  .booking-modal-card.step-wide .booking-cart-sidebar.drawer-open {
    border-color: #fdd835 !important;
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.95);
    padding: 8px 12px 10px 12px;
  }
  .booking-modal-card.step-wide .booking-cart-sidebar.drawer-open .booking-cart-header-compact {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
  }
  .booking-modal-card.step-wide .booking-cart-sidebar.drawer-open .booking-cart-items-container {
    display: flex !important;
    max-height: 130px;
    overflow-y: auto;
    flex-direction: column;
    gap: 4px;
    padding: 6px 0;
  }
  .booking-modal-card.step-wide .booking-cart-sidebar.drawer-open .booking-cart-total-row {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding-top: 4px !important;
  }

  .booking-modal-card.step-wide .booking-cart-sidebar .booking-cart-empty-text {
    display: none !important;
  }

  .booking-cart-header-compact {
    padding-bottom: 2px;
    flex-shrink: 0;
  }

  .booking-cart-header-title {
    font-size: 0.78rem;
  }

  .booking-cart-item-row {
    padding: 4px 8px;
    font-size: 0.76rem;
    border-radius: 8px;
    gap: 6px;
  }

  .booking-cart-total-row {
    padding-top: 0;
    margin-top: 0;
    flex-shrink: 0;
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .booking-cart-total-label {
    font-size: 0.78rem;
  }

  .booking-cart-total-amount {
    font-size: 1.05rem;
  }

  .booking-cart-action-wrap {
    margin-top: 4px;
    flex-shrink: 0;
  }

  .booking-cart-action-wrap .booking-btn-primary {
    height: 42px !important;
    min-height: 42px !important;
    font-size: 0.9rem !important;
    font-weight: 800;
    padding: 0 14px;
    width: 100%;
    box-sizing: border-box;
  }

  /* --- PASO 3: ESTILISTA, CALENDARIO Y HORAS EN MÓVIL (SIN SCROLL INTERNO EN HORAS) --- */
  #bookingDateTimeColumn {
    flex: 1 1 0;
    min-height: 0;
    height: auto;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 2px;
  }

  .booking-stylists-section {
    padding: 8px 10px;
    margin-bottom: 0;
    border-radius: 12px;
    flex-shrink: 0;
  }

  .booking-stylists-row {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(64px, 1fr)) !important;
    gap: 6px !important;
    padding: 2px 0 !important;
    overflow: visible !important;
  }

  .booking-stylist-card {
    min-width: 0 !important;
    max-width: none !important;
    height: 80px !important;
    padding: 6px 2px !important;
    gap: 4px !important;
    border-radius: 10px !important;
  }

  .booking-stylist-avatar {
    width: 36px !important;
    height: 36px !important;
    font-size: 0.95rem !important;
  }

  .booking-stylist-name {
    font-size: 0.72rem !important;
  }

  .booking-cal-time-container {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    gap: 12px;
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
  }

  .booking-step3-section.booking-cal-col,
  .booking-step3-section.booking-time-col {
    height: auto !important;
    min-height: auto !important;
    flex: none !important;
    overflow: visible !important;
    padding: 10px 12px;
  }

  .booking-calendar-card {
    height: auto !important;
    min-height: auto !important;
    padding: 8px 6px;
    border: none;
    background: transparent;
    overflow: visible !important;
  }

  .booking-cal-nav {
    margin-bottom: 6px;
  }

  .booking-cal-weekdays {
    margin-bottom: 4px;
  }

  .booking-cal-days-grid {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    gap: 4px !important;
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
    align-content: start !important;
  }

  .booking-cal-day {
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    width: 100% !important;
    font-size: 0.82rem !important;
    border-radius: 8px !important;
  }

  /* Selector de horas completamente integrado en el scroll de la columna general (sin barra interna) */
  .booking-time-slots-wrapper {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    padding-right: 0 !important;
    scrollbar-width: none !important;
  }
  .booking-time-slots-wrapper::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  .booking-time-slots-grid {
    grid-template-columns: repeat(auto-fill, minmax(66px, 1fr));
    gap: 6px;
    margin-bottom: 8px;
  }

  .booking-time-pill {
    padding: 6px 4px;
    font-size: 0.75rem;
    min-height: 32px;
    border-radius: 8px;
  }

  /* --- PASO 4: RESUMEN Y CONFIRMACIÓN EN MÓVIL --- */
  .booking-confirm-container {
    overflow-y: auto;
    flex: 1 1 auto;
    height: 100%;
    min-height: 0;
    padding-right: 2px;
    display: flex;
    flex-direction: column;
  }

  .booking-confirm-layout {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    grid-template-columns: none;
    gap: 10px;
    overflow: visible;
    flex: 1 1 auto;
    min-height: 100%;
  }

  .booking-confirm-col-left {
    flex: 0 0 auto;
  }

  .booking-confirm-col-right {
    margin-top: auto !important;
    flex: 0 0 auto;
    width: 100%;
  }

  .booking-confirm-card {
    padding: 12px 14px;
    gap: 10px;
    border-radius: 14px;
    height: auto;
    min-height: auto;
  }

  .booking-confirm-card-header {
    font-size: 0.82rem;
    padding-bottom: 6px;
  }

  .booking-confirm-client-box {
    padding: 6px 10px;
    border-radius: 10px;
    gap: 8px;
  }

  .booking-confirm-client-avatar {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }

  .booking-confirm-client-name {
    font-size: 0.84rem;
  }

  .booking-confirm-client-phone {
    font-size: 0.72rem;
  }

  .booking-confirm-items-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
  }

  .booking-confirm-grid-tile {
    padding: 6px 6px !important;
    gap: 6px !important;
    border-radius: 8px !important;
    min-width: 0 !important;
  }

  .tile-icon {
    width: 24px !important;
    height: 24px !important;
    font-size: 0.75rem !important;
    border-radius: 6px !important;
  }

  .tile-label {
    font-size: 0.58rem !important;
  }

  .tile-value {
    font-size: 0.74rem !important;
  }

  .tile-value.time-val {
    font-size: 0.88rem !important;
  }

  .booking-turnstile-box {
    padding: 8px 10px;
    gap: 6px;
    border-radius: 10px;
  }

  .booking-confirm-disclaimer {
    padding: 8px 10px;
    font-size: 0.72rem;
    border-radius: 8px;
  }

  /* Drawer colapsable de servicios en Paso 4 móvil */
  .booking-confirm-card-summary:not(.drawer-open) .booking-confirm-card-header {
    display: none !important;
  }

  .booking-confirm-card-summary:not(.drawer-open) .booking-confirm-services-list {
    display: none !important;
  }

  .booking-confirm-card-summary:not(.drawer-open) .booking-confirm-duration-row {
    display: none !important;
  }

  .booking-confirm-card-summary:not(.drawer-open) .booking-confirm-totals-block {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
  }

  .booking-confirm-card-summary.drawer-open {
    border-color: #fdd835 !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.85);
  }

  .booking-confirm-card-summary.drawer-open .booking-confirm-card-header {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .booking-confirm-card-summary.drawer-open .booking-confirm-services-list {
    display: flex !important;
    max-height: 140px;
    overflow-y: auto !important;
    flex-direction: column;
    gap: 4px;
    padding: 6px 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(253, 216, 53, 0.45) rgba(255, 255, 255, 0.03);
  }

  .booking-drawer-chevron {
    display: inline-flex; /* shown on mobile */
  }

  .booking-confirm-card-summary.drawer-open .booking-drawer-chevron {
    transform: rotate(180deg);
    background: #fdd835;
    color: #000000;
  }

  .booking-confirm-card-summary.drawer-open .booking-confirm-totals-block {
    padding: 10px 12px;
    border-radius: 10px;
    gap: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(253, 216, 53, 0.25);
  }

  .booking-confirm-service-item {
    padding: 7px 10px;
    border-radius: 8px;
  }

  .confirm-service-name {
    font-size: 0.8rem;
  }

  .service-price {
    font-size: 0.85rem;
  }

  .booking-confirm-total-row {
    position: relative !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
  }

  .booking-confirm-total-label {
    font-size: 0.86rem;
  }

  .booking-confirm-total-amount {
    font-size: 1.3rem;
  }

  .booking-confirm-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }

  .booking-btn-submit-final {
    height: 44px !important;
    min-height: 44px !important;
    font-size: 0.92rem !important;
    order: 1;
    width: 100% !important;
  }

  .booking-confirm-actions .booking-btn-secondary {
    height: 38px !important;
    min-height: 38px !important;
    font-size: 0.82rem !important;
    order: 2;
    width: 100% !important;
  }

  /* Pantalla de Éxito Compacta en Móvil */
  .booking-modal-card.screen-single-focus {
    max-width: 96vw !important;
    padding: 16px 14px 14px 14px !important;
    border-radius: 16px !important;
    margin: auto !important;
  }

  .success-animation-wrap {
    width: 50px !important;
    height: 50px !important;
    margin: 0 auto 6px auto !important;
  }

  .success-checkmark-circle,
  .success-checkmark-svg {
    width: 44px !important;
    height: 44px !important;
  }

  .success-status-pill {
    font-size: 0.62rem !important;
    padding: 3px 8px !important;
    margin-bottom: 6px !important;
    letter-spacing: 0.5px !important;
  }

  .status-pulse-dot {
    width: 6px !important;
    height: 6px !important;
  }

  .success-title {
    font-size: 1.15rem !important;
    margin: 0 0 8px 0 !important;
  }

  .success-ticket-card {
    padding: 8px 12px !important;
    margin-bottom: 8px !important;
    border-radius: 10px !important;
  }

  .success-ticket-row {
    grid-template-columns: 1.25fr 0.75fr !important;
    gap: 8px !important;
  }

  .ticket-label {
    font-size: 0.64rem !important;
  }

  .ticket-value {
    font-size: 0.82rem !important;
  }

  .success-whatsapp-highlight-card {
    padding: 8px 12px !important;
    margin-bottom: 10px !important;
    border-radius: 10px !important;
  }

  .whatsapp-card-title {
    font-size: 0.80rem !important;
    margin: 0 0 5px 0 !important;
    gap: 6px !important;
  }

  .whatsapp-alert-footer {
    padding: 6px 8px !important;
    font-size: 0.70rem !important;
    border-radius: 6px !important;
    gap: 6px !important;
  }

  .whatsapp-alert-footer i {
    font-size: 0.80rem !important;
  }

  .success-action-wrap {
    margin-bottom: 6px !important;
  }

  .success-btn-cta {
    height: 40px !important;
    min-height: 40px !important;
    font-size: 0.86rem !important;
    padding: 8px 16px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .success-footer-support {
    font-size: 0.70rem !important;
  }
}

@media (max-width: 480px) {
  .booking-modal-overlay {
    padding: 4px;
  }

  .booking-modal-card.step-wide {
    height: 98vh;
    height: 98dvh;
    max-height: 98dvh;
    padding: 10px 8px 8px 8px;
    border-radius: 16px;
  }

  .booking-modal-card.screen-single-focus {
    padding: 12px 10px 10px 10px !important;
    max-height: 98vh !important;
    border-radius: 14px !important;
  }

  .success-animation-wrap {
    width: 44px !important;
    height: 44px !important;
    margin: 0 auto 4px auto !important;
  }

  .success-checkmark-circle,
  .success-checkmark-svg {
    width: 38px !important;
    height: 38px !important;
  }

  .success-status-pill {
    font-size: 0.58rem !important;
    padding: 2px 7px !important;
    margin-bottom: 4px !important;
  }

  .success-title {
    font-size: 1.05rem !important;
    margin: 0 0 6px 0 !important;
  }

  .success-ticket-card {
    padding: 6px 10px !important;
    margin-bottom: 6px !important;
  }

  .ticket-label {
    font-size: 0.60rem !important;
  }

  .ticket-value {
    font-size: 0.78rem !important;
  }

  .success-whatsapp-highlight-card {
    padding: 6px 10px !important;
    margin-bottom: 8px !important;
  }

  .whatsapp-card-title {
    font-size: 0.76rem !important;
    margin: 0 0 4px 0 !important;
  }

  .whatsapp-alert-footer {
    padding: 5px 7px !important;
    font-size: 0.65rem !important;
  }

  .success-btn-cta {
    height: 38px !important;
    min-height: 38px !important;
    font-size: 0.82rem !important;
  }

  .success-footer-support {
    font-size: 0.66rem !important;
  }

  .booking-title {
    font-size: 1.15rem;
  }

  .booking-hair-pill {
    font-size: 0.68rem;
    padding: 0 2px;
  }

  .booking-service-card-fresha {
    padding: 8px 10px;
  }

  .booking-modal-card.step-wide .booking-cart-sidebar {
    padding: 6px 10px;
  }
}

/* =========================================================================
   DIÁLOGO INTERACTIVO: PREGUNTAR SECADO (AUTOMÁTICO POR LARGURA)
   ========================================================================= */
.booking-blowdry-dialog-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(8, 8, 12, 0.88) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  display: none;
  align-items: center !important;
  justify-content: center !important;
  z-index: 999999 !important;
  padding: 16px !important;
  box-sizing: border-box !important;
}

.booking-blowdry-dialog-overlay.open {
  display: flex !important;
  animation: blowdryFadeIn 0.25s ease !important;
}

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

.booking-blowdry-dialog-card {
  background: linear-gradient(145deg, #181824 0%, #0f0f15 100%) !important;
  border: 1.5px solid rgba(253, 216, 53, 0.45) !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(253, 216, 53, 0.18) !important;
  border-radius: 20px !important;
  width: 100% !important;
  max-width: 480px !important;
  padding: 26px 24px !important;
  position: relative !important;
  box-sizing: border-box !important;
  color: #ffffff !important;
  animation: blowdryScaleUp 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes blowdryScaleUp {
  from { opacity: 0; transform: scale(0.92) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.booking-blowdry-dialog-close {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #cbd5e1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  font-size: 0.95rem !important;
  transition: all 0.2s ease !important;
}

.booking-blowdry-dialog-close:hover {
  background: rgba(239, 68, 68, 0.25) !important;
  border-color: #ef4444 !important;
  color: #fca5a5 !important;
  transform: rotate(90deg) !important;
}

.booking-blowdry-dialog-header {
  text-align: center !important;
  margin-bottom: 18px !important;
}

.booking-blowdry-icon-circle {
  width: 52px !important;
  height: 52px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle, rgba(253, 216, 53, 0.25) 0%, rgba(253, 216, 53, 0.05) 100%) !important;
  border: 1.5px solid #fdd835 !important;
  color: #fdd835 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.35rem !important;
  margin: 0 auto 10px !important;
  box-shadow: 0 0 20px rgba(253, 216, 53, 0.3) !important;
}

.booking-blowdry-tag {
  display: inline-block !important;
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  color: #fdd835 !important;
  background: rgba(253, 216, 53, 0.1) !important;
  border: 1px solid rgba(253, 216, 53, 0.3) !important;
  padding: 3px 10px !important;
  border-radius: 20px !important;
  margin-bottom: 8px !important;
}

.booking-blowdry-title {
  color: #ffffff !important;
  font-size: 1.22rem !important;
  font-weight: 800 !important;
  margin: 0 0 6px !important;
  line-height: 1.3 !important;
}

.booking-blowdry-desc {
  font-size: 0.88rem !important;
  color: #cbd5e1 !important;
  margin: 0 auto !important;
  line-height: 1.45 !important;
}

/* Cuadrícula de Opciones de Secado por Largura */
.booking-blowdry-options-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 12px !important;
  margin: 18px 0 16px !important;
}

.booking-blowdry-option-card {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 14px !important;
  padding: 14px 14px !important;
  cursor: pointer !important;
  transition: all 0.22s ease !important;
  text-align: left !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  position: relative !important;
  user-select: none !important;
  color: #ffffff !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.booking-blowdry-option-card:hover {
  background: rgba(253, 216, 53, 0.08) !important;
  border-color: #fdd835 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(253, 216, 53, 0.25) !important;
}

.booking-blowdry-option-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

.booking-blowdry-option-title {
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.booking-blowdry-option-dur {
  font-size: 0.72rem !important;
  color: #94a3b8 !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.booking-blowdry-option-price {
  color: #fdd835 !important;
  font-weight: 800 !important;
  font-size: 1.15rem !important;
  margin-top: 2px !important;
}

.booking-blowdry-option-cta {
  font-size: 0.75rem !important;
  color: #38bdf8 !important;
  font-weight: 600 !important;
  margin-top: 4px !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
}

/* Botón Sin Secado */
.booking-blowdry-btn-skip {
  width: 100% !important;
  padding: 12px 16px !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #94a3b8 !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
}

.booking-blowdry-btn-skip:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
}

@media (max-width: 480px) {
  .booking-blowdry-options-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .booking-blowdry-dialog-card {
    padding: 20px 16px !important;
  }
}
