/* ==========================================================================
   Monarca Village · Widget de reservas
   Hairlines + tarjetas redondeadas + CTA en píldora + micro-animaciones.
   Tipografías del sitio: var(--editorial) y var(--label). Todo vive en #booking.
   ========================================================================== */
#booking {
  --bk-ink: var(--ink);
  --bk-muted: #6f6a66;
  --bk-faint: #a39e98;
  --bk-line: #e8e3dd;
  --bk-line-strong: #d6d0c8;
  --bk-surface: #fff;
  --bk-soft: #f6f2ee;
  --bk-tint: #eef3f6;
  --bk-navy: var(--navy);
  --bk-navy-2: #0b5687;
  --bk-teal: var(--teal);
  --bk-green: #25805d;
  --bk-green-soft: #e8f4ed;
  --bk-amber: #9a6412;
  --bk-amber-soft: #fdf3df;
  --bk-red: #a3402a;
  --bk-red-soft: #fbece7;
  --bk-r: 16px;
  --bk-r-sm: 12px;
  --bk-pill: 999px;
  --bk-shadow: 0 1px 2px rgba(20, 24, 28, 0.05);
  --bk-shadow-md: 0 12px 30px -12px rgba(7, 16, 21, 0.22);
  --bk-focus: 0 0 0 4px rgba(0, 62, 101, 0.14);
  --bk-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --bk-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  width: min(1120px, calc(100% - 32px));
  max-height: calc(100svh - 32px);
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: var(--paper);
  box-shadow:
    0 40px 120px -20px rgba(4, 14, 20, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-gutter: stable;
}
#booking[open] {
  animation: bk-in 0.45s var(--bk-spring);
}
#booking::backdrop {
  background: rgba(6, 14, 20, 0.62);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  animation: bk-fade 0.3s ease;
}
#booking ::selection {
  background: #d9e6ee;
}
#booking .line-icon {
  width: 18px;
  height: 18px;
}

/* ---------- Cabecera (marcado del sitio) ---------- */
#booking .booking-header {
  position: sticky;
  top: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  color: var(--bk-ink);
  border-bottom: 1px solid var(--bk-line);
}
#booking .booking-wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
}
#booking .booking-wordmark > img {
  width: 38px;
  height: 38px;
  padding: 5px;
  border-radius: 12px;
  background: var(--bk-navy);
  object-fit: contain;
  box-shadow: 0 6px 14px -6px rgba(0, 62, 101, 0.6);
}
#booking .booking-label {
  font: 500 15px/1.2 var(--editorial);
  letter-spacing: 0.01em;
}
#booking .booking-label small {
  display: block;
  margin-top: 3px;
  font: 10px/1.4 var(--label);
  letter-spacing: 0.12em;
  color: var(--bk-muted);
}
#booking #close-booking {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--bk-surface);
  box-shadow: inset 0 0 0 1px var(--bk-line);
  color: var(--bk-ink);
  font-size: 22px;
  line-height: 1;
  transition:
    transform 0.35s var(--bk-spring),
    background 0.2s;
}
#booking #close-booking:hover {
  background: var(--bk-soft);
  transform: rotate(90deg);
}
#booking #close-booking:focus-visible {
  outline: 0;
  box-shadow: var(--bk-focus);
}

/* ---------- Cuerpo ---------- */
#booking .bk {
  padding: 24px clamp(18px, 3.4vw, 40px) 36px;
}
#booking .bk :focus-visible {
  outline: 0;
  box-shadow: var(--bk-focus);
}
#booking .bk-stage {
  min-width: 0;
}
#booking .bk-stage.enter {
  animation: bk-rise 0.5s var(--bk-ease) both;
}
#booking .bk-head {
  text-align: left;
  margin: 0 0 22px;
}
#booking .bk-head h2 {
  margin: 0;
  font: 400 clamp(30px, 3.4vw, 44px)/1.08 var(--editorial);
  letter-spacing: -0.03em;
  outline: 0;
}
#booking .bk-head p {
  margin: 8px 0 0;
  max-width: 620px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--bk-muted);
}

/* Progreso */
#booking .bk-steps {
  --p: 0;
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}
#booking .bk-steps::before,
#booking .bk-steps::after {
  content: '';
  position: absolute;
  left: 15px;
  right: 15px;
  top: 15px;
  height: 2px;
  border-radius: 2px;
  background: var(--bk-line);
}
#booking .bk-steps::after {
  right: auto;
  width: calc((100% - 30px) * var(--p));
  background: linear-gradient(90deg, var(--bk-green), var(--bk-navy));
  transition: width 0.7s var(--bk-ease);
}
#booking .bk-steps li {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  min-width: 0;
  color: var(--bk-faint);
  font: 12px/1.2 var(--editorial);
}
#booking .bk-steps li:first-child {
  align-items: flex-start;
}
#booking .bk-steps li:last-child {
  align-items: flex-end;
}
#booking .bk-steps li > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: inset 0 0 0 1.5px var(--bk-line-strong);
  font: 500 13px/1 var(--editorial);
  color: var(--bk-muted);
  transition: all 0.35s var(--bk-ease);
}
#booking .bk-steps li > span .line-icon {
  width: 16px;
  height: 16px;
  stroke-width: 2.4;
}
#booking .bk-steps li em {
  font-style: normal;
  white-space: nowrap;
}
#booking .bk-steps li.current {
  color: var(--bk-navy);
  font-weight: 600;
}
#booking .bk-steps li.current > span {
  background: var(--bk-navy);
  color: #fff;
  box-shadow: 0 0 0 5px rgba(0, 62, 101, 0.1);
  animation: bk-pop 0.45s var(--bk-spring);
}
#booking .bk-steps li.done {
  color: var(--bk-green);
}
#booking .bk-steps li.done > span {
  background: var(--bk-green);
  color: #fff;
  box-shadow: none;
}

/* ---------- Botones ---------- */
#booking .bk-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--bk-pill);
  font: 500 15px/1.2 var(--editorial);
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 0.25s var(--bk-ease),
    box-shadow 0.25s,
    background 0.25s,
    opacity 0.2s;
}
#booking .bk-btn .line-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.3s var(--bk-ease);
}
#booking .bk-btn:hover:not(:disabled) .line-icon:last-child {
  transform: translateX(3px);
}
#booking .bk-btn.primary {
  background: var(--bk-navy);
  color: #fff;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
#booking .bk-btn.primary:hover:not(:disabled) {
  background: var(--bk-navy-2);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -10px rgba(0, 62, 101, 0.7);
}
#booking .bk-btn.primary::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgba(255, 255, 255, 0.22) 50%,
    transparent 70%
  );
  transform: translateX(-120%);
  transition: transform 0.8s var(--bk-ease);
}
#booking .bk-btn.primary:hover:not(:disabled)::after {
  transform: translateX(120%);
}
#booking .bk-btn.secondary {
  background: var(--bk-surface);
  color: var(--bk-ink);
  box-shadow:
    inset 0 0 0 1px var(--bk-line-strong),
    var(--bk-shadow);
}
#booking .bk-btn.secondary:hover:not(:disabled) {
  background: var(--bk-soft);
  transform: translateY(-1px);
}
#booking .bk-btn:active:not(:disabled) {
  transform: scale(0.98);
}
#booking .bk-btn:disabled {
  opacity: 1;
  background: #d9d6d2;
  color: #8d8882;
  box-shadow: none;
  cursor: not-allowed;
}
#booking .bk-btn.block {
  width: 100%;
}
#booking .bk-btn.small {
  min-height: 38px;
  padding: 0 15px;
  font-size: 13px;
}
#booking .bk-btn.ready {
  animation: bk-ready 2.4s ease-in-out 0.5s 2;
}
#booking .bk-btn.loading {
  color: transparent !important;
  pointer-events: none;
}
#booking .bk-btn.loading::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-right-color: transparent;
  animation: bk-spin 0.7s linear infinite;
}
#booking .bk-btn.secondary.loading::before {
  border-color: var(--bk-ink);
  border-right-color: transparent;
}
#booking .bk-btn.copied {
  background: var(--bk-green-soft);
  color: var(--bk-green);
  box-shadow: none;
}
#booking .bk-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 2px;
  border: 0;
  background: none;
  color: var(--bk-navy);
  font: 500 14px/1.2 var(--editorial);
  cursor: pointer;
  position: relative;
}
#booking .bk-link .line-icon {
  width: 16px;
  height: 16px;
}
#booking .bk-link::after {
  content: '';
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--bk-ease);
}
#booking .bk-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
#booking .bk-round {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--bk-surface);
  box-shadow: inset 0 0 0 1px var(--bk-line);
  color: var(--bk-ink);
  cursor: pointer;
  transition: all 0.2s var(--bk-ease);
}
#booking .bk-round:hover:not(:disabled) {
  box-shadow:
    inset 0 0 0 1px var(--bk-line-strong),
    var(--bk-shadow-md);
  transform: translateY(-1px);
}
#booking .bk-round:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* ---------- Paso 1 · Fechas ---------- */
#booking .bk-dates {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  grid-template-areas: 'cal config' 'cal total';
  grid-template-rows: auto 1fr;
  gap: 18px 22px;
  align-items: start;
}
#booking .bk-config {
  grid-area: config;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border-radius: var(--bk-r);
  background: var(--bk-surface);
  box-shadow: inset 0 0 0 1px var(--bk-line);
}
#booking .bk-cal {
  grid-area: cal;
  padding: 20px;
  border-radius: 20px;
  background: var(--bk-surface);
  box-shadow: inset 0 0 0 1px var(--bk-line);
  min-width: 0;
}
#booking .bk-total {
  grid-area: total;
  position: sticky;
  top: 84px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border-radius: var(--bk-r);
  background: var(--bk-surface);
  box-shadow:
    inset 0 0 0 1px var(--bk-line),
    var(--bk-shadow-md);
}
#booking .bk-label {
  display: block;
  font: 10px/1.3 var(--label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bk-muted);
}

/* Selector de tipo (tarjetas radio) */
#booking .bk-types {
  display: grid;
  gap: 8px;
}
#booking .bk-type {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px 40px 8px 8px;
  border: 0;
  border-radius: var(--bk-r-sm);
  background: var(--bk-soft);
  box-shadow: inset 0 0 0 1px transparent;
  text-align: left;
  cursor: pointer;
  transition:
    background 0.25s,
    box-shadow 0.25s,
    transform 0.25s var(--bk-ease);
}
#booking .bk-type:hover {
  background: #f0ebe5;
}
#booking .bk-type.on {
  background: var(--bk-tint);
  box-shadow: inset 0 0 0 1.5px var(--bk-navy);
}
#booking .bk-type img {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  object-fit: cover;
  flex: none;
}
#booking .bk-type-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
#booking .bk-type strong {
  font: 500 17px/1.2 var(--editorial);
}
#booking .bk-type small {
  font-size: 13px;
  color: var(--bk-muted);
}
#booking .bk-type em {
  margin-top: 2px;
  font: normal 500 13px/1.3 var(--editorial);
  color: var(--bk-navy);
}
#booking .bk-type em i {
  font-style: normal;
  font-weight: 400;
  color: var(--bk-muted);
}
#booking .bk-radio {
  position: absolute;
  right: 14px;
  top: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--bk-line-strong);
  background: var(--bk-surface);
  transition: all 0.3s var(--bk-spring);
}
#booking .bk-type.on .bk-radio {
  box-shadow: inset 0 0 0 6px var(--bk-navy);
}

/* Stepper de huéspedes */
#booking .bk-guests {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--bk-line);
}
#booking .bk-guests small {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  color: var(--bk-muted);
}
#booking .bk-stepper {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: var(--bk-pill);
  background: var(--bk-soft);
}
#booking .bk-stepper button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--bk-surface);
  box-shadow:
    var(--bk-shadow),
    inset 0 0 0 1px var(--bk-line);
  font: 400 20px/1 var(--editorial);
  color: var(--bk-ink);
  cursor: pointer;
  transition:
    transform 0.2s var(--bk-spring),
    background 0.2s;
}
#booking .bk-stepper button:hover:not(:disabled) {
  transform: scale(1.08);
}
#booking .bk-stepper button:active:not(:disabled) {
  transform: scale(0.92);
}
#booking .bk-stepper button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  box-shadow: none;
}
#booking .bk-stepper output {
  min-width: 28px;
  text-align: center;
  font: 500 18px/1 var(--editorial);
  font-variant-numeric: tabular-nums;
}

/* Calendario */
#booking .bk-cal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
#booking .bk-hint {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 12px;
  border-radius: var(--bk-pill);
  background: var(--bk-tint);
  color: var(--bk-navy);
  font: 500 14px/1.2 var(--editorial);
}
#booking .bk-hint i {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bk-navy);
}
#booking .bk-hint i::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: bk-pulse 1.8s ease-out infinite;
}
#booking .bk-hint.out {
  background: var(--bk-green-soft);
  color: var(--bk-green);
}
#booking .bk-hint.out i {
  background: var(--bk-green);
}
#booking .bk-nav {
  display: flex;
  gap: 6px;
}
#booking .bk-months {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
#booking .bk-month {
  min-width: 0;
}
#booking .bk-month-name {
  display: block;
  margin: 4px 0 8px;
  text-align: center;
  font: 500 17px/1.3 var(--editorial);
  text-transform: capitalize;
}
#booking .bk-week,
#booking .bk-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
#booking .bk-week {
  padding: 6px 0;
  color: var(--bk-faint);
  font: 11px/1.2 var(--label);
  text-align: center;
}
#booking .bk-days {
  row-gap: 4px;
}
#booking .bk-day {
  position: relative;
  min-width: 0;
  height: 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--bk-ink);
  font: 15px/1 var(--editorial);
  cursor: pointer;
  isolation: isolate;
  transition: color 0.15s;
}
#booking .bk-day::before {
  content: '';
  position: absolute;
  inset: 2px;
  z-index: -1;
  border-radius: 12px;
  transition:
    background 0.2s,
    box-shadow 0.2s,
    transform 0.25s var(--bk-spring);
}
#booking .bk-day small {
  font: 10.5px/1 var(--editorial);
  color: var(--bk-green);
  font-variant-numeric: tabular-nums;
}
#booking .bk-day:hover:not(:disabled)::before {
  box-shadow: inset 0 0 0 1.5px var(--bk-ink);
  transform: scale(1.03);
}
#booking .bk-day:disabled {
  cursor: not-allowed;
}
#booking .bk-day.past {
  color: #c9c4be;
}
#booking .bk-day.past small {
  visibility: hidden;
}
#booking .bk-day.sold:not(.can-out) span {
  color: #bdb7b1;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}
#booking .bk-day.sold small {
  color: #c8a79c;
}
#booking .bk-day.today span {
  position: relative;
}
#booking .bk-day.today span::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--bk-teal);
}
/* Rango continuo con extremos en píldora */
#booking .bk-day.inrange,
#booking .bk-day.preview {
  background: var(--bk-tint);
}
#booking .bk-day.has-range.start {
  background: linear-gradient(90deg, transparent 50%, var(--bk-tint) 50%);
}
#booking .bk-day.has-range.end {
  background: linear-gradient(90deg, var(--bk-tint) 50%, transparent 50%);
}
#booking .bk-day.preview-end {
  background: linear-gradient(90deg, var(--bk-tint) 50%, transparent 50%);
}
#booking .bk-day.preview-end::before {
  box-shadow: inset 0 0 0 1.5px var(--bk-navy) !important;
}
#booking .bk-day.start::before,
#booking .bk-day.end::before {
  background: var(--bk-navy);
  box-shadow: 0 6px 14px -6px rgba(0, 62, 101, 0.7);
  animation: bk-pop 0.35s var(--bk-spring);
}
#booking .bk-day.start,
#booking .bk-day.end {
  color: #fff;
  font-weight: 600;
}
#booking .bk-day.start small,
#booking .bk-day.end small {
  color: rgba(255, 255, 255, 0.85);
}
#booking .bk-day.start:hover::before,
#booking .bk-day.end:hover::before {
  box-shadow: 0 6px 14px -6px rgba(0, 62, 101, 0.7);
}
#booking .bk-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--bk-line);
  font: 12px/1.4 var(--editorial);
  color: var(--bk-muted);
}
#booking .bk-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
#booking .bk-legend i {
  width: 10px;
  height: 10px;
  border-radius: 4px;
}
#booking .lg-price {
  background: var(--bk-green);
}
#booking .lg-sold {
  background: repeating-linear-gradient(135deg, #d6d0c8 0 2px, transparent 2px 4px);
  box-shadow: inset 0 0 0 1px #d6d0c8;
}
#booking .lg-out {
  background: var(--bk-tint);
  box-shadow: inset 0 0 0 1px #c9d7e0;
}

/* Resumen de fechas */
#booking .bk-range {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  border-radius: var(--bk-r-sm);
  box-shadow: inset 0 0 0 1px var(--bk-line);
  overflow: hidden;
}
#booking .bk-date {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 12px 14px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s;
}
#booking .bk-date:hover:not(:disabled) {
  background: var(--bk-soft);
}
#booking .bk-date:disabled {
  cursor: default;
}
#booking .bk-date small {
  font: 10px/1.2 var(--label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bk-muted);
}
#booking .bk-date strong {
  font: 500 15px/1.25 var(--editorial);
}
#booking .bk-date.active {
  background: var(--bk-tint);
  box-shadow: inset 0 -2px 0 var(--bk-navy);
}
#booking .bk-range-arrow {
  display: grid;
  place-items: center;
  padding: 0 2px;
  color: var(--bk-faint);
}
#booking .bk-range-arrow .line-icon {
  width: 15px;
  height: 15px;
}
#booking .bk-estimate {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  min-height: 46px;
}
#booking .bk-estimate span {
  font-size: 14px;
  color: var(--bk-ink);
}
#booking .bk-estimate span small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--bk-muted);
}
#booking .bk-estimate strong {
  font: 500 28px/1 var(--editorial);
  letter-spacing: -0.02em;
  color: var(--bk-navy);
  font-variant-numeric: tabular-nums;
  animation: bk-rise 0.4s var(--bk-ease);
}
#booking .bk-muted {
  color: var(--bk-muted) !important;
  line-height: 1.5;
}
#booking .bk-total .bk-link {
  align-self: center;
  padding: 2px;
}

/* Esqueleto */
#booking .bk-skel span,
#booking .bk-skel i {
  display: block;
  border-radius: 10px;
  background: linear-gradient(90deg, #efebe6 25%, #f7f4f0 37%, #efebe6 63%);
  background-size: 400% 100%;
  animation: bk-shimmer 1.3s ease infinite;
}
#booking .bk-config.bk-skel span {
  height: 74px;
}
#booking .bk-config.bk-skel span:last-child {
  height: 44px;
}
#booking .bk-month.bk-skel > span {
  width: 40%;
  height: 18px;
  margin: 6px auto 18px;
}
#booking .bk-month.bk-skel > div {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
#booking .bk-month.bk-skel i {
  height: 44px;
}

/* ---------- Paso 2 · Resultados ---------- */
#booking .bk-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding: 12px 16px;
  border-radius: var(--bk-r-sm);
  background: var(--bk-surface);
  box-shadow: inset 0 0 0 1px var(--bk-line);
}
#booking .bk-strip > .line-icon {
  color: var(--bk-navy);
}
#booking .bk-strip span {
  flex: 1;
  min-width: 0;
  font-size: 15px;
}
#booking .bk-strip strong {
  font-weight: 500;
}
#booking .bk-strip small {
  margin-left: 10px;
  color: var(--bk-muted);
  font-size: 14px;
}
#booking .bk-results {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 721px) {
  #booking .bk-results .bk-card {
    flex-direction: row;
  }
  #booking .bk-results .bk-card-media {
    flex: 0 0 min(300px, 36%);
  }
  #booking .bk-results .bk-card-media img {
    height: 100%;
    min-height: 210px;
  }
  #booking .bk-results .bk-feats {
    grid-template-columns: repeat(4, auto);
    justify-content: start;
    gap: 8px 18px;
  }
}
#booking .bk-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  background: var(--bk-surface);
  box-shadow: inset 0 0 0 1px var(--bk-line);
  overflow: hidden;
  animation: bk-rise 0.55s var(--bk-ease) both;
  animation-delay: calc(var(--i) * 70ms);
  transition:
    transform 0.35s var(--bk-ease),
    box-shadow 0.35s;
}
#booking .bk-card:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 0 0 1px var(--bk-line-strong),
    0 20px 40px -18px rgba(7, 16, 21, 0.35);
}
#booking .bk-card-media {
  position: relative;
  overflow: hidden;
}
#booking .bk-card-media img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  transition: transform 0.8s var(--bk-ease);
}
#booking .bk-card:hover .bk-card-media img {
  transform: scale(1.05);
}
#booking .bk-card-media .bk-pill {
  position: absolute;
  left: 12px;
  top: 12px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
}
#booking .bk-card-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 20px 20px;
  flex: 1;
}
#booking .bk-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
#booking .bk-card-head h3 {
  margin: 0;
  font: 400 26px/1.1 var(--editorial);
  letter-spacing: -0.02em;
}
#booking .bk-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 11px;
  border-radius: var(--bk-pill);
  background: var(--bk-soft);
  color: var(--bk-ink);
  font: 500 12px/1 var(--editorial);
  white-space: nowrap;
}
#booking .bk-pill .line-icon {
  width: 14px;
  height: 14px;
  stroke-width: 2.2;
}
#booking .bk-pill.ok {
  color: var(--bk-green);
}
#booking .bk-feats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--bk-muted);
}
#booking .bk-feats li {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}
#booking .bk-feats .line-icon {
  width: 16px;
  height: 16px;
  color: var(--bk-ink);
}
#booking .bk-card-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--bk-line);
}
#booking .bk-card-foot strong {
  display: block;
  font: 500 28px/1 var(--editorial);
  letter-spacing: -0.02em;
  color: var(--bk-navy);
}
#booking .bk-card-foot small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--bk-muted);
}

/* Vacíos y errores */
#booking .bk-empty {
  max-width: 520px;
  margin: 10px auto;
  padding: 30px 10px;
  text-align: center;
}
#booking .bk-empty-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: var(--bk-surface);
  box-shadow:
    inset 0 0 0 1px var(--bk-line),
    0 0 0 8px rgba(0, 62, 101, 0.04);
  color: var(--bk-navy);
}
#booking .bk-empty-icon .line-icon {
  width: 26px;
  height: 26px;
}
#booking .bk-empty-icon.warn {
  color: var(--bk-red);
  background: var(--bk-red-soft);
  box-shadow: 0 0 0 8px rgba(163, 64, 42, 0.06);
}
#booking .bk-empty h3 {
  margin: 0 0 8px;
  font: 400 28px/1.15 var(--editorial);
  letter-spacing: -0.02em;
}
#booking .bk-empty p {
  margin: 0 auto 20px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--bk-muted);
}
#booking .bk-empty-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
#booking .bk-error {
  display: none;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 18px;
  padding: 13px 16px;
  border: 0;
  border-radius: var(--bk-r-sm);
  background: var(--bk-red-soft);
  color: var(--bk-red);
  font-size: 14px;
  line-height: 1.5;
}
#booking .bk-error:not(:empty) {
  display: flex;
  animation: bk-shake 0.45s var(--bk-ease);
}
#booking .bk-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 12px 16px;
  border-radius: var(--bk-r-sm);
  background: var(--bk-amber-soft);
  color: var(--bk-amber);
  font: 13px/1.5 var(--editorial);
}
#booking .bk-note .line-icon {
  flex: none;
}

/* ---------- Paso 3 · Datos ---------- */
#booking .bk-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.85fr);
  gap: 24px;
  align-items: start;
}
#booking .bk-form {
  padding: 22px;
  border-radius: 20px;
  background: var(--bk-surface);
  box-shadow: inset 0 0 0 1px var(--bk-line);
}
#booking .bk-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
#booking .bk-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
#booking .bk-field.span-2 {
  grid-column: span 2;
}
#booking .bk-field label {
  font: 500 14px/1.3 var(--editorial);
  color: var(--bk-ink);
}
#booking .bk-field label i {
  font-style: normal;
  font-weight: 400;
  color: var(--bk-faint);
}
#booking .bk-field input,
#booking .bk-field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 0;
  border-radius: var(--bk-r-sm);
  background: var(--bk-soft);
  box-shadow: inset 0 0 0 1px transparent;
  color: var(--bk-ink);
  font: 16px/1.4 var(--editorial);
  transition:
    background 0.2s,
    box-shadow 0.2s;
}
#booking .bk-field textarea {
  resize: vertical;
  min-height: 52px;
}
#booking .bk-field input::placeholder,
#booking .bk-field textarea::placeholder {
  color: #aaa49e;
}
#booking .bk-field input:hover,
#booking .bk-field textarea:hover {
  box-shadow: inset 0 0 0 1px var(--bk-line-strong);
}
#booking .bk-field input:focus,
#booking .bk-field textarea:focus {
  outline: 0;
  background: var(--bk-surface);
  box-shadow:
    inset 0 0 0 1.5px var(--bk-navy),
    var(--bk-focus);
}
#booking .bk-field.invalid input,
#booking .bk-field.invalid textarea {
  background: var(--bk-red-soft);
  box-shadow: inset 0 0 0 1.5px var(--bk-red);
}
#booking .bk-field.invalid label {
  color: var(--bk-red);
}
#booking .bk-fine {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--bk-muted);
}
#booking .bk-fine .line-icon {
  width: 15px;
  height: 15px;
  flex: none;
}
#booking .bk-fine.center {
  justify-content: center;
  margin: 0 0 6px;
}
#booking .bk-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--bk-line);
}

/* Resumen lateral */
#booking .bk-summary {
  position: sticky;
  top: 84px;
  padding: 14px;
  border-radius: 20px;
  background: var(--bk-surface);
  box-shadow:
    inset 0 0 0 1px var(--bk-line),
    var(--bk-shadow-md);
  min-width: 0;
  overflow-wrap: anywhere;
}
#booking .bk-sum-media {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 12px;
}
#booking .bk-sum-media img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}
#booking .bk-sum-media > div {
  position: absolute;
  inset: auto 0 0;
  padding: 28px 14px 12px;
  background: linear-gradient(transparent, rgba(5, 15, 22, 0.72));
  color: #fff;
}
#booking .bk-sum-media small {
  font: 10px/1.3 var(--label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}
#booking .bk-sum-media h3 {
  margin: 2px 0 0;
  color: #fff;
  font: 400 24px/1.1 var(--editorial);
}
#booking .bk-sum-dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-bottom: 6px;
  border-radius: var(--bk-r-sm);
  overflow: hidden;
  background: var(--bk-line);
  box-shadow: 0 0 0 1px var(--bk-line);
}
#booking .bk-sum-dates > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 11px 12px;
  background: var(--bk-surface);
}
#booking .bk-sum-dates small {
  font: 10px/1.2 var(--label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bk-muted);
}
#booking .bk-sum-dates strong {
  font: 500 15px/1.25 var(--editorial);
}
#booking .bk-sum-dates span {
  font-size: 12px;
  color: var(--bk-muted);
}
#booking .bk-sum-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 2px;
  font-size: 14px;
  border-bottom: 1px solid var(--bk-line);
}
#booking .bk-sum-line span:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
#booking .bk-nights summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 2px;
  list-style: none;
  cursor: pointer;
  font: 500 13px/1.3 var(--editorial);
  color: var(--bk-navy);
}
#booking .bk-nights summary::-webkit-details-marker {
  display: none;
}
#booking .bk-nights summary .line-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--bk-ease);
}
#booking .bk-nights[open] summary .line-icon {
  transform: rotate(180deg);
}
#booking .bk-nights[open] > .bk-sum-line {
  animation: bk-rise 0.3s var(--bk-ease) both;
  font-size: 13px;
  color: var(--bk-muted);
}
#booking .bk-sum-total {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
  padding: 14px 2px 2px;
  border-top: 1px solid var(--bk-ink);
}
#booking .bk-sum-total span {
  font-size: 14px;
}
#booking .bk-sum-total small {
  display: block;
  font: 10px/1.3 var(--label);
  letter-spacing: 0.12em;
  color: var(--bk-muted);
}
#booking .bk-sum-total strong {
  font: 500 30px/1 var(--editorial);
  letter-spacing: -0.02em;
  color: var(--bk-navy);
  font-variant-numeric: tabular-nums;
}

/* ---------- Paso 4 · Revisión y pago ---------- */
#booking .bk-review {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
#booking .bk-panel {
  padding: 18px 20px;
  border-radius: 20px;
  background: var(--bk-surface);
  box-shadow: inset 0 0 0 1px var(--bk-line);
}
#booking .bk-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
#booking .bk-panel-head h3 {
  margin: 0;
  font: 400 22px/1.2 var(--editorial);
  letter-spacing: -0.015em;
}
#booking .bk-dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
  margin: 0;
}
#booking .bk-dl > div {
  min-width: 0;
}
#booking .bk-dl .wide {
  grid-column: span 2;
}
#booking .bk-dl dt {
  font: 10px/1.3 var(--label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bk-muted);
}
#booking .bk-dl dd {
  margin: 3px 0 0;
  font-size: 15px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
/* Casilla animada (estilo Uiverse) */
#booking .bk-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--bk-r);
  background: var(--bk-surface);
  box-shadow: inset 0 0 0 1px var(--bk-line);
  font-size: 15px;
  line-height: 1.5;
  cursor: pointer;
  transition:
    background 0.25s,
    box-shadow 0.25s;
}
#booking .bk-check:hover {
  box-shadow: inset 0 0 0 1px var(--bk-line-strong);
}
#booking .bk-check:has(input:checked) {
  background: var(--bk-green-soft);
  box-shadow: inset 0 0 0 1.5px var(--bk-green);
}
#booking .bk-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
#booking .bk-box {
  position: relative;
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: -1px;
  border-radius: 8px;
  background: var(--bk-surface);
  box-shadow: inset 0 0 0 1.5px #b6b0a9;
  transition: all 0.3s var(--bk-spring);
}
#booking .bk-box svg {
  position: absolute;
  inset: 3px;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 22;
  stroke-dashoffset: 22;
  transition: stroke-dashoffset 0.4s var(--bk-ease) 0.08s;
}
#booking .bk-check input:checked + .bk-box {
  background: var(--bk-green);
  box-shadow: none;
  transform: scale(1.08);
}
#booking .bk-check input:checked + .bk-box svg {
  stroke-dashoffset: 0;
}
#booking .bk-check input:focus-visible + .bk-box {
  box-shadow:
    inset 0 0 0 1.5px var(--bk-navy),
    var(--bk-focus);
}
#booking .bk-check button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--bk-navy);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
#booking .bk-pay {
  padding: 20px;
  border-radius: 20px;
  background: linear-gradient(180deg, var(--bk-surface), #fbf9f7);
  box-shadow:
    inset 0 0 0 1px var(--bk-line),
    var(--bk-shadow-md);
}
#booking .bk-pay-total {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
#booking .bk-pay-total span {
  font-size: 15px;
}
#booking .bk-pay-total small {
  display: block;
  font-size: 13px;
  color: var(--bk-muted);
}
#booking .bk-pay-total strong {
  font: 500 38px/1 var(--editorial);
  letter-spacing: -0.025em;
  color: var(--bk-navy);
  font-variant-numeric: tabular-nums;
}
#booking .bk-btn.pay {
  min-height: 56px;
  font-size: 16px;
}
#booking .bk-pay-hint {
  margin: 8px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--bk-muted);
  transition:
    opacity 0.25s,
    height 0.25s;
}
#booking .bk-pay-hint.hidden {
  opacity: 0;
  height: 0;
  margin: 0;
  overflow: hidden;
}
#booking .bk-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--bk-muted);
}
#booking .bk-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
#booking .bk-trust .line-icon {
  width: 16px;
  height: 16px;
  color: var(--bk-green);
}
#booking .wompi-logo {
  width: 96px;
  height: 32px;
  object-fit: contain;
}
#booking .bk-assure {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 14px 0 0;
  border-top: 1px dashed var(--bk-line-strong);
  list-style: none;
  font-size: 13px;
  color: var(--bk-muted);
}
#booking .bk-assure li {
  display: flex;
  align-items: center;
  gap: 9px;
}
#booking .bk-assure .line-icon {
  width: 16px;
  height: 16px;
  color: var(--bk-navy);
}
#booking .bk-review > .bk-actions {
  margin-top: 0;
  padding-top: 4px;
  border-top: 0;
}

/* Pago de demostración */
#booking .bk-paycard {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  max-width: 470px;
  margin: 6px auto;
  padding: 30px 28px;
  border-radius: 24px;
  background: var(--bk-surface);
  box-shadow:
    inset 0 0 0 1px var(--bk-line),
    var(--bk-shadow-md);
  text-align: center;
}
#booking .bk-paycard h3 {
  margin: 12px 0 0;
  font: 400 26px/1.15 var(--editorial);
}
#booking .bk-ref {
  margin: 0;
  font: 12px/1.4 var(--label);
  letter-spacing: 0.06em;
  color: var(--bk-muted);
}
#booking .bk-amount {
  margin: 10px 0 6px;
  font: 500 46px/1 var(--editorial);
  letter-spacing: -0.03em;
  color: var(--bk-navy);
}
#booking .bk-paycard > p {
  margin: 6px 0 14px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--bk-muted);
}
#booking .bk-timer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--bk-pill);
  background: var(--bk-tint);
  color: var(--bk-navy);
  font-size: 13px;
}
#booking .bk-timer b {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
#booking .bk-timer .line-icon {
  width: 16px;
  height: 16px;
}
#booking .bk-timer.low {
  background: var(--bk-amber-soft);
  color: var(--bk-amber);
  animation: bk-blink 1.4s ease-in-out infinite;
}
#booking .bk-paycard .bk-link {
  margin-top: 6px;
}

/* Cargando (órbita) */
#booking .bk-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 48px 16px 56px;
  text-align: center;
}
#booking .bk-loading h3 {
  margin: 16px 0 0;
  font: 400 26px/1.2 var(--editorial);
  letter-spacing: -0.015em;
}
#booking .bk-loading p {
  margin: 0;
  font-size: 15px;
  color: var(--bk-muted);
}
#booking .bk-loading .bk-link {
  margin-top: 14px;
}
#booking .bk-orbit {
  position: relative;
  width: 64px;
  height: 64px;
}
#booking .bk-orbit span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--bk-navy);
  animation: bk-spin 1.1s cubic-bezier(0.5, 0.1, 0.5, 0.9) infinite;
}
#booking .bk-orbit span:nth-child(2) {
  inset: 9px;
  border-top-color: var(--bk-teal);
  animation-duration: 1.5s;
  animation-direction: reverse;
}
#booking .bk-orbit span:nth-child(3) {
  inset: 20px;
  border: 0;
  background: var(--bk-green);
  opacity: 0.85;
  animation: bk-breathe 1.4s ease-in-out infinite;
}

/* ---------- Confirmación ---------- */
#booking .bk-success {
  max-width: 560px;
  margin: 0 auto;
  padding: 10px 0 4px;
  text-align: center;
}
#booking .bk-success h2 {
  margin: 0;
  font: 400 clamp(32px, 4vw, 46px)/1.08 var(--editorial);
  letter-spacing: -0.03em;
  outline: 0;
}
#booking .bk-success > p {
  margin: 10px auto 22px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--bk-muted);
}
#booking .bk-success-mark {
  position: relative;
  width: 92px;
  height: 92px;
  margin: 6px auto 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bk-green);
  color: #fff;
  animation: bk-pop 0.6s var(--bk-spring);
}
#booking .bk-success-mark > span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--bk-green);
  animation: bk-ring 1.8s var(--bk-ease) 0.2s infinite;
}
#booking .bk-success-mark > span + span {
  animation-delay: 0.8s;
}
#booking .bk-success-mark .line-icon {
  width: 44px;
  height: 44px;
  stroke-width: 2.4;
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: bk-draw 0.6s var(--bk-ease) 0.3s forwards;
}
#booking .bk-refbox {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
  padding: 14px 14px 14px 18px;
  border-radius: var(--bk-r);
  background: var(--bk-surface);
  box-shadow: inset 0 0 0 1px var(--bk-line);
  text-align: left;
}
#booking .bk-refbox small {
  display: block;
  font: 10px/1.3 var(--label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bk-muted);
}
#booking .bk-refbox strong {
  font: 500 20px/1.3 var(--label);
  letter-spacing: 0.04em;
}
#booking .bk-success .bk-summary {
  position: static;
  margin: 14px 0 18px;
  text-align: left;
}
#booking .bk-success .bk-note {
  justify-content: center;
}
#booking .bk-success-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* ---------- Animaciones ---------- */
@keyframes bk-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes bk-fade {
  from {
    opacity: 0;
  }
}
@keyframes bk-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes bk-pop {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes bk-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes bk-breathe {
  50% {
    transform: scale(0.6);
    opacity: 0.4;
  }
}
@keyframes bk-pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(3.2);
    opacity: 0;
  }
}
@keyframes bk-ring {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}
@keyframes bk-draw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes bk-shimmer {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}
@keyframes bk-shake {
  20%,
  60% {
    transform: translateX(-4px);
  }
  40%,
  80% {
    transform: translateX(4px);
  }
}
@keyframes bk-ready {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(0, 62, 101, 0.35);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(0, 62, 101, 0);
  }
}
@keyframes bk-blink {
  50% {
    opacity: 0.65;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  #booking .bk-dates {
    grid-template-columns: 1fr;
    grid-template-areas: 'config' 'cal' 'total';
  }
  #booking .bk-config {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }
  #booking .bk-config > .bk-label {
    grid-column: 1/-1;
    margin-bottom: -6px;
  }
  #booking .bk-types {
    grid-template-columns: 1fr 1fr;
    grid-column: 1/-1;
  }
  #booking .bk-guests {
    grid-column: 1/-1;
  }
  #booking .bk-total {
    position: sticky;
    bottom: 0;
    top: auto;
    z-index: 5;
    margin: 0 calc(-1 * clamp(18px, 3.4vw, 40px)) -36px;
    padding: 14px clamp(18px, 3.4vw, 40px) 18px;
    border-radius: 20px 20px 0 0;
    background: color-mix(in srgb, var(--bk-surface) 92%, transparent);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    box-shadow:
      0 -1px 0 var(--bk-line),
      0 -16px 30px -18px rgba(7, 16, 21, 0.3);
  }
  #booking .bk-columns {
    grid-template-columns: 1fr;
  }
  #booking .bk-summary {
    position: static;
    order: -1;
  }
  #booking .bk-columns > form,
  #booking .bk-columns > .bk-review {
    order: 1;
  }
}
@media (max-width: 720px) {
  #booking {
    width: 100%;
    max-width: 100%;
    max-height: 100svh;
    height: 100svh;
    margin: 0;
    border-radius: 0;
  }
  #booking[open] {
    animation: bk-sheet 0.45s var(--bk-ease);
  }
  #booking .booking-header {
    padding: 12px 16px;
  }
  #booking .booking-label small {
    display: none;
  }
  #booking .bk {
    padding: 18px 16px 28px;
  }
  #booking .bk-total {
    margin: 0 -16px -28px;
    padding: 12px 16px 16px;
  }
  #booking .bk-steps li em {
    font-size: 11px;
  }
  #booking .bk-steps li:not(.current) em {
    display: none;
  }
  #booking .bk-head h2 {
    font-size: 30px;
  }
  #booking .bk-head p {
    font-size: 14px;
  }
  #booking .bk-months {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  #booking .bk-cal {
    padding: 14px 10px;
  }
  #booking .bk-cal-top {
    padding: 0 4px;
  }
  #booking .bk-hint {
    font-size: 13px;
    padding: 6px 12px 6px 10px;
  }
  #booking .bk-day {
    height: 50px;
    font-size: 15px;
  }
  #booking .bk-types {
    grid-template-columns: 1fr;
  }
  #booking .bk-type img {
    width: 50px;
    height: 50px;
  }
  #booking .bk-range {
    display: none;
  }
  #booking .bk-estimate {
    min-height: 0;
  }
  #booking .bk-estimate strong {
    font-size: 24px;
  }
  #booking .bk-total {
    gap: 10px;
  }
  #booking .bk-total .bk-link {
    display: none;
  }
  #booking .bk-form {
    padding: 16px;
  }
  #booking .bk-form-grid {
    grid-template-columns: 1fr;
  }
  #booking .bk-field.span-2 {
    grid-column: auto;
  }
  #booking .bk-dl {
    grid-template-columns: 1fr;
  }
  #booking .bk-dl .wide {
    grid-column: auto;
  }
  #booking .bk-strip small {
    display: block;
    margin: 2px 0 0;
  }
  #booking .bk-results {
    grid-template-columns: 1fr;
  }
  #booking .bk-card-media img {
    height: 170px;
  }
  #booking .bk-pay-total strong {
    font-size: 32px;
  }
  #booking .bk-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  #booking .bk-actions .bk-btn {
    width: 100%;
  }
  #booking .bk-actions .bk-link {
    align-self: center;
  }
  #booking .bk-success-actions {
    flex-direction: column;
  }
  #booking .bk-refbox strong {
    font-size: 17px;
  }
}
@media (max-width: 380px) {
  #booking .bk-day {
    height: 46px;
    font-size: 14px;
  }
  #booking .bk-day small {
    font-size: 9.5px;
  }
  #booking .bk-feats {
    grid-template-columns: 1fr;
  }
}
@keyframes bk-sheet {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  #booking,
  #booking *,
  #booking *::before,
  #booking *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  #booking .bk-success-mark .line-icon {
    stroke-dashoffset: 0;
  }
}
@media print {
  #booking .bk-steps,
  #booking .bk-success-actions,
  #booking .bk-refbox button,
  #booking .bk-success-mark > span {
    display: none !important;
  }
  #booking .bk {
    padding: 0;
  }
  #booking .bk-summary {
    box-shadow: none;
    border: 1px solid #ccc;
    break-inside: avoid;
  }
  #booking .bk-success-mark {
    animation: none;
  }
}
#booking .bk-sum-dates span b {
  font-weight: 400;
}

/* ---------- Paso 3 · Selector de país, teléfono y acompañantes ---------- */
#booking .cs {
  position: relative;
  min-width: 0;
}
#booking .cs-button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  border: 0;
  border-radius: var(--bk-r-sm);
  background: var(--bk-soft);
  box-shadow: inset 0 0 0 1px transparent;
  color: var(--bk-ink);
  font: 16px/1.4 var(--editorial);
  text-align: left;
  cursor: pointer;
  transition:
    background 0.2s,
    box-shadow 0.2s;
}
#booking .cs-button:hover {
  box-shadow: inset 0 0 0 1px var(--bk-line-strong);
}
#booking .cs-button:focus-visible,
#booking .cs.open .cs-button {
  outline: 0;
  background: var(--bk-surface);
  box-shadow:
    inset 0 0 0 1.5px var(--bk-navy),
    var(--bk-focus);
}
#booking .cs-value {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#booking .cs-placeholder {
  color: #aaa49e;
}
#booking .cs-flag {
  flex: none;
  width: 20px;
  height: 15px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}
#booking .cs-chevron {
  flex: none;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--bk-muted);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s;
}
#booking .cs.open .cs-chevron {
  transform: rotate(180deg);
}
#booking .cs-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 20;
  width: max(100%, 300px);
  padding: 8px;
  border-radius: 14px;
  background: var(--bk-surface);
  box-shadow:
    0 0 0 1px var(--bk-line),
    0 18px 40px rgba(20, 20, 30, 0.16);
}
#booking .cs-panel[hidden] {
  display: none;
}
#booking .bk-field .cs-search {
  width: 100%;
  margin-bottom: 6px;
  padding: 10px 12px;
  font-size: 15px;
}
#booking .cs-list {
  max-height: 264px;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  list-style: none;
  overscroll-behavior: contain;
}
#booking .cs-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
}
#booking .cs-list li[hidden] {
  display: none;
}
#booking .cs-list li span {
  flex: 1;
  min-width: 0;
}
#booking .cs-list li small {
  color: var(--bk-muted);
  font-size: 14px;
}
#booking .cs-list li.active,
#booking .cs-list li:hover {
  background: var(--bk-soft);
}
#booking .cs-list li[aria-selected='true'] {
  color: var(--bk-navy);
  font-weight: 500;
}
/* Línea que separa los países destacados del resto (solo sin búsqueda). */
#booking .cs-list:not(.filtered) li.cs-divider {
  margin-bottom: 6px;
  box-shadow: 0 7px 0 -6px var(--bk-line);
}

/* Teléfono: código de país a la izquierda y número a la derecha. */
#booking .bk-phone {
  display: flex;
  gap: 8px;
}
#booking .bk-phone .cs {
  flex: none;
}
#booking .bk-phone .cs-button {
  width: auto;
  gap: 8px;
  padding-inline: 12px;
}
#booking .bk-phone > input {
  flex: 1;
  min-width: 0;
}

/* Acompañantes: dos opciones tipo píldora. */
#booking .bk-travel {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
#booking .bk-travel legend {
  margin-bottom: 7px;
  padding: 0;
  font: 500 14px/1.3 var(--editorial);
  color: var(--bk-ink);
}
#booking .bk-seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: var(--bk-r-sm);
  background: var(--bk-soft);
}
#booking .bk-seg label {
  position: relative;
  cursor: pointer;
}
#booking .bk-seg input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
#booking .bk-seg span {
  display: block;
  padding: 11px 12px;
  border-radius: 9px;
  color: var(--bk-muted);
  font-size: 15px;
  text-align: center;
  transition:
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s;
}
#booking .bk-seg label:hover span {
  color: var(--bk-ink);
}
#booking .bk-seg input:checked + span {
  background: var(--bk-surface);
  color: var(--bk-navy);
  font-weight: 500;
  box-shadow: 0 1px 4px rgba(20, 20, 30, 0.1);
}
#booking .bk-seg input:focus-visible + span {
  box-shadow:
    inset 0 0 0 1.5px var(--bk-navy),
    var(--bk-focus);
}
#booking .bk-field[hidden] {
  display: none;
}

@media (max-width: 560px) {
  #booking .cs-panel {
    max-width: calc(100vw - 48px);
  }
}
