/* Wizard de reservaciones — stepper del mockup */
.reserve-hero {
  background: linear-gradient(135deg, #0a1728 0%, #3d5577 100%);
  padding: 2.5rem 0 2rem;
  color: #fff;
}
.reserve-hero-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .reserve-hero-inner { padding: 0 1.5rem; } }
.reserve-hero h1 {
  margin: 0 0 1rem;
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
}
.reserve-hero-meta {
  margin: 0 0 1rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
}

.stepper {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.stepper-item {
  display: flex;
  align-items: center;
  flex: 1;
}
.stepper-item:last-child { flex: 0 0 auto; }
.stepper-node {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stepper-num {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  border: 2px solid rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.5);
  background: transparent;
  transition: all .2s;
}
.stepper-label {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  display: none;
}
@media (min-width: 640px) { .stepper-label { display: block; } }
.stepper-item.is-current .stepper-num {
  background: #fff;
  border-color: #fff;
  color: #0a1728;
}
.stepper-item.is-current .stepper-label {
  color: #fff;
  font-weight: 500;
}
.stepper-item.is-done .stepper-num {
  background: #f59e0b;
  border-color: #f59e0b;
  color: #0a1728;
}
.stepper-line {
  flex: 1;
  height: 2px;
  margin: 0 0.25rem;
  margin-bottom: 1.1rem;
  background: rgba(255,255,255,0.2);
}
.stepper-item.is-done + .stepper-item .stepper-line,
.stepper-item.is-done .stepper-line {
  background: #f59e0b;
}
/* line before next item belongs to previous */
.stepper-item.is-done .stepper-line { background: #f59e0b; }

.reserve-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}
@media (min-width: 640px) { .reserve-body { padding: 2rem 1.5rem 3rem; } }

.step-panel { display: none; }
.step-panel.is-active { display: block; }

.step-title {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #171717;
}
.step-sub {
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  color: #737373;
}

.space-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 640px) { .space-grid { grid-template-columns: 1fr 1fr; } }
.space-card {
  text-align: left;
  padding: 0;
  border-radius: 0.75rem;
  border: 2px solid #e5e5e5;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  width: 100%;
  font: inherit;
  overflow: hidden;
}
.space-card-img {
  width: 100%;
  height: 7.5rem;
  object-fit: cover;
  display: block;
  background: #f3f4f6;
}
.space-card-top {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: flex-start;
  padding: 1rem;
}
.space-card:hover { border-color: #d4d4d4; }
.space-card.is-selected {
  border-color: #16a34a;
  background: #f0fdf4;
}
.space-card strong {
  display: block;
  font-size: 0.875rem;
  color: #171717;
}
.space-card span {
  display: block;
  margin-top: 0.125rem;
  font-size: 0.75rem;
  color: #737373;
}
.space-check {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  background: #16a34a;
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.space-card.is-selected .space-check { display: flex; }

.wizard-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e5e5;
  gap: 1rem;
}
.btn-wiz {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid #d4d4d4;
  background: #fff;
  color: #171717;
  cursor: pointer;
  font-family: inherit;
}
.btn-wiz:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-wiz:hover:not(:disabled) { background: #f9fafb; }
.btn-wiz-primary {
  background: #0a1728;
  border-color: #0a1728;
  color: #fff;
}
.btn-wiz-primary:hover:not(:disabled) { background: #3d5577; }
.btn-wiz-confirm {
  background: #f59e0b;
  border-color: #f59e0b;
  color: #0a1728;
}
.btn-wiz-confirm:hover:not(:disabled) { background: #fbbf24; }

.form-panel {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 0.75rem;
  padding: 1.25rem;
}
#wiz-calendar .avail-cal {
  max-width: none;
}
.form-panel > .availability-legend {
  margin-top: 0.75rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 1rem; }
.field:last-child { margin-bottom: 0; }
.field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  color: #171717;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  height: 3rem;
  padding: 0 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid #e5e5e5;
  font-size: 0.875rem;
  font-family: inherit;
  color: #171717;
  background: #fff;
}
.field textarea { height: auto; padding: 0.75rem; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px #16a34a;
  border-color: transparent;
}

.guest-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e5e5e5;
}
.guest-row:last-child { border-bottom: 0; }
.guest-row p { margin: 0; font-size: 0.875rem; font-weight: 500; color: #171717; }
.guest-row small { display: block; font-size: 0.75rem; color: #737373; font-weight: 400; }
.qty {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.qty button {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid #d4d4d4;
  background: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  cursor: pointer;
  color: #171717;
}
.qty button:hover { background: #f9fafb; }
.qty strong { min-width: 1.5rem; text-align: center; font-size: 1rem; }

.material-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 2px solid #e5e5e5;
  background: #fff;
  cursor: pointer;
  margin-bottom: 0.75rem;
}
.material-row.is-selected {
  border-color: #16a34a;
  background: #f0fdf4;
}
.material-left { display: flex; align-items: center; gap: 0.75rem; }
.material-box {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 0.25rem;
  border: 2px solid #d4d4d4;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.material-row.is-selected .material-box {
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
}
.chip-group { display: flex; flex-wrap: wrap; gap: 0.375rem; margin-top: 0.75rem; }
.chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  border: 1px solid #e5e5e5;
  background: #fff;
  font-size: 0.75rem;
  cursor: pointer;
  color: #737373;
}
.chip-swatch {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(10, 23, 40, 0.18);
  flex-shrink: 0;
  background: repeating-conic-gradient(#e5e5e5 0 25%, #fff 0 50%) 0 0 / 0.4rem 0.4rem;
}
.chip-btn.is-on {
  background: #0a1728;
  border-color: #0a1728;
  color: #fff;
}
.chip-btn.is-on .chip-swatch {
  border-color: rgba(255, 255, 255, 0.55);
}

.js-alert-slot--calendar {
  margin: 0.75rem 0 0;
}
.js-alert-slot--calendar .alert-box {
  margin-bottom: 0;
}
.step-panel > .js-alert-slot:not(.js-alert-slot--calendar) {
  margin-top: 1rem;
}

.alert-box {
  display: none;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  background: #fef3c7;
  border: 1px solid #fcd34d;
  color: #92400e;
  font-size: 0.875rem;
}
.alert-box.is-visible { display: flex; }

.summary-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 0.75rem;
  overflow: hidden;
}
.summary-row {
  padding: 1rem;
  border-bottom: 1px solid #e5e5e5;
}
.summary-row:last-child { border-bottom: 0; }
.summary-row .k {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #737373;
}
.summary-row .v {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #171717;
}
.summary-total {
  background: #f9fafb;
  padding: 1rem;
}
.summary-total .line {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
  color: #737373;
}
.summary-total .total {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 700;
  color: #0a1728;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid #e5e5e5;
}

.success-box {
  display: none;
  text-align: center;
  max-width: 28rem;
  margin: 4rem auto;
  padding: 2rem;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgb(0 63 65 / 0.1);
}
.success-box.is-visible { display: block; }
.success-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 999px;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
}
.info-note {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  background: #e0f2fe;
  color: #075985;
  font-size: 0.875rem;
}
.choice-group { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.choice-btn {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  border: 2px solid #e5e5e5;
  background: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  color: #737373;
}
.choice-btn.is-on {
  border-color: #16a34a;
  background: #f0fdf4;
  color: #0a1728;
}
.checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.75rem;
  margin-top: 0.75rem;
  border-top: 1px solid #e5e5e5;
}
.checkbox-row input { width: 1rem; height: 1rem; accent-color: #16a34a; }
.checkbox-row label { font-size: 0.875rem; font-weight: 500; cursor: pointer; color: #171717; }
.warn-box {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: #fffbeb;
  color: #92400e;
  font-size: 0.875rem;
}
.suggest-box {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 0.75rem;
  background: #f8fafc;
  border: 1px solid #e5e5e5;
  font-size: 0.875rem;
}
.suggest-box ul { margin: 0.5rem 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.field-hint { display: block; margin-top: 0.35rem; font-size: 0.75rem; color: #737373; }
