.booking-page {
  width: 100%;
  max-width: 100vw;
  min-width: 0;
  min-height: 100dvh;
  overflow-x: hidden;
  color: #f7f4ed;
  background:
    radial-gradient(circle at 10% 8%, rgba(156, 29, 34, .16), transparent 28rem),
    radial-gradient(circle at 88% 92%, rgba(184, 141, 67, .12), transparent 30rem),
    linear-gradient(145deg, #050506, #11100f 48%, #060607);
}

.booking-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 42%, rgba(214, 181, 111, .025) 50%, transparent 58%);
}

.booking-header {
  width: min(calc(100% - 28px), 1080px);
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-inline: auto;
  padding-block: 8px;
  border-bottom: 1px solid rgba(214, 181, 111, .14);
}

.booking-brand {
  display: inline-flex;
  flex: 0 0 auto;
}

.booking-brand img {
  width: 58px;
  height: 58px;
  border-radius: 12px 4px 12px 4px;
}

.booking-back-home {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border: 1px solid rgba(214, 181, 111, .28);
  border-radius: 11px 4px 11px 4px;
  color: #e8e1d3;
  background: rgba(10, 10, 11, .72);
  font-weight: 700;
  text-decoration: none;
}

.booking-back-home:hover,
.booking-back-home:focus-visible {
  border-color: rgba(224, 196, 129, .58);
  color: #fff;
}

.booking-main {
  width: 100%;
  min-width: 0;
  min-height: calc(100dvh - 76px);
  display: grid;
  align-items: start;
  padding: clamp(24px, 5vw, 54px) 14px max(28px, env(safe-area-inset-bottom));
}

.booking-shell {
  width: 100%;
  max-width: 940px;
  min-width: 0;
  margin-inline: auto;
}

.booking-intro {
  margin-bottom: 22px;
  text-align: center;
}

.booking-eyebrow {
  color: #d7b66e;
  font-size: .86rem;
  font-weight: 700;
}

.booking-intro h1 {
  max-width: 100%;
  margin: 8px 0 0;
  color: #fbf9f5;
  font-size: clamp(2rem, 6vw, 3.6rem);
  line-height: 1.05;
}

.booking-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.booking-progress li {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 7px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 13px 4px 13px 4px;
  color: #777570;
  background: rgba(8, 8, 9, .58);
}

.booking-progress li span {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: .78rem;
}

.booking-progress li b {
  min-width: 0;
  font-size: clamp(.74rem, 2.8vw, .92rem);
  white-space: nowrap;
}

.booking-progress li[aria-current="step"] {
  border-color: rgba(214, 181, 111, .48);
  color: #f0d28d;
  background: linear-gradient(135deg, rgba(131, 28, 33, .2), rgba(105, 74, 25, .17)), #0b0b0c;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .25);
}

.booking-progress li.is-complete {
  border-color: rgba(74, 176, 109, .26);
  color: #91d7a8;
}

.booking-progress li.is-complete span {
  font-size: 0;
}

.booking-progress li.is-complete span::before {
  content: "✓";
  font-size: .82rem;
}

.booking-wizard-card {
  width: 100%;
  max-width: 100%;
  position: relative;
  overflow: hidden;
  padding: clamp(18px, 4vw, 36px);
  border: 1px solid rgba(214, 181, 111, .24);
  border-radius: 27px 8px 27px 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .055), transparent 24%),
    radial-gradient(circle at 92% 4%, rgba(151, 27, 31, .13), transparent 24rem),
    rgba(7, 7, 8, .92);
  box-shadow: inset 0 1px rgba(255, 255, 255, .07), 0 30px 72px rgba(0, 0, 0, .42);
}

.booking-step {
  min-width: 0;
  scroll-margin-top: 20px;
}

.booking-step.is-entering-forward {
  animation: booking-step-forward 250ms ease both;
}

.booking-step.is-entering-back {
  animation: booking-step-back 250ms ease both;
}

.booking-step-heading {
  margin-bottom: 20px;
}

.booking-step-heading > span {
  color: #c5a45e;
  font-size: .78rem;
  font-weight: 700;
}

.booking-step-heading h2 {
  margin: 5px 0 8px;
  color: #fff;
  font-size: clamp(1.65rem, 5vw, 2.5rem);
  line-height: 1.12;
}

.booking-step-heading p {
  margin: 0;
  color: #aaa69d;
}

.booking-slots {
  min-height: min(52dvh, 520px);
  max-height: min(52dvh, 520px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-inline-end: 5px;
  scrollbar-color: #8d6e35 #111;
}

.booking-feedback {
  min-height: 130px;
  display: grid;
  place-items: center;
  gap: 12px;
  color: #c8c4bb;
  text-align: center;
}

.booking-feedback-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.booking-retry {
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid rgba(214, 181, 111, .38);
  border-radius: 10px 4px 10px 4px;
  color: #f3ead5;
  background: #111;
  cursor: pointer;
}

.booking-whatsapp-fallback {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #1fa855, #168443);
  box-shadow: 0 10px 24px rgba(22, 132, 67, .22);
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.booking-whatsapp-fallback:hover,
.booking-whatsapp-fallback:focus-visible {
  color: #fff;
  background: linear-gradient(135deg, #23b85f, #188d49);
  box-shadow: 0 13px 30px rgba(22, 132, 67, .3);
  transform: translateY(-1px);
}

@media (max-width: 560px) {
  .booking-feedback-actions,
  .booking-whatsapp-fallback,
  .booking-retry {
    width: 100%;
  }
}

.booking-week + .booking-week {
  margin-top: 24px;
}

.booking-week > h3 {
  margin: 0 0 12px;
  color: #dfc281;
  font-size: 1.04rem;
}

.booking-week-message {
  margin: 0 0 16px;
  color: #c9c4b9;
  font-size: .92rem;
}

.booking-days {
  display: grid;
  gap: 13px;
}

.booking-day {
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 18px 6px 18px 6px;
  background: rgba(12, 12, 13, .76);
}

.booking-day-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.booking-day-heading h4 {
  margin: 0;
  color: #fff;
  font-size: 1.05rem;
}

.booking-day-heading time {
  color: #aaa69e;
  font-size: .86rem;
}

.booking-slot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.booking-slot {
  min-width: 0;
  min-height: 58px;
  padding: 8px 5px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 11px 4px 11px 4px;
  font-family: inherit;
  font-weight: 700;
}

.booking-slot span {
  display: block;
}

.booking-slot-status {
  margin-top: 3px;
  font-size: .76rem;
}

.booking-slot[data-status="available"] {
  border-color: rgba(46, 204, 113, .62);
  color: #f7fff9;
  background: linear-gradient(180deg, rgba(46, 204, 113, .14), rgba(9, 14, 10, .96));
  cursor: pointer;
}

.booking-slot[data-status="available"] .booking-slot-status {
  color: #71e99d;
}

.booking-slot[data-status="available"]:hover,
.booking-slot[data-status="available"]:focus-visible,
.booking-slot.is-selected {
  border-color: #dfc67f;
  outline: 2px solid rgba(223, 198, 127, .2);
  outline-offset: 2px;
  background: linear-gradient(180deg, rgba(142, 101, 31, .28), rgba(14, 12, 8, .97));
}

.booking-slot.is-selected .booking-slot-status {
  color: #f0d28d;
}

.booking-slot[data-status="occupied"] {
  border-color: rgba(220, 53, 69, .62);
  color: rgba(255, 255, 255, .7);
  background: linear-gradient(180deg, rgba(150, 20, 35, .24), rgba(20, 7, 9, .96));
  cursor: not-allowed;
}

.booking-slot[data-status="occupied"] .booking-slot-status {
  color: #ff7884;
}

.booking-selection {
  min-height: 1.6em;
  margin: 16px 0 0;
  color: #e6d2a3;
  text-align: center;
}

.booking-details-form {
  display: grid;
  gap: 16px;
}

.booking-field {
  display: grid;
  gap: 7px;
}

.booking-field label {
  color: #f3efe7;
  font-weight: 700;
}

.booking-field input {
  width: 100%;
  min-height: 52px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 11px 4px 11px 4px;
  color: #fff;
  background: rgba(5, 5, 6, .86);
}

.booking-field input:focus {
  border-color: rgba(214, 181, 111, .72);
  outline: 2px solid rgba(214, 181, 111, .18);
  outline-offset: 2px;
}

.booking-field input[aria-invalid="true"] {
  border-color: #dc5965;
}

.booking-field-error {
  min-height: 1.3em;
  margin: 0;
  color: #ff939c;
  font-size: .86rem;
}

.booking-summary-card {
  padding: clamp(17px, 3vw, 24px);
  border: 1px solid rgba(214, 181, 111, .22);
  border-radius: 19px 6px 19px 6px;
  background: linear-gradient(145deg, rgba(114, 77, 24, .11), rgba(8, 8, 9, .8));
}

.booking-summary-card h3 {
  margin: 0 0 14px;
  color: #f0d18a;
  font-size: 1.25rem;
}

.booking-summary-card dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 14px;
  margin: 0;
}

.booking-summary-card dt {
  color: #96928a;
}

.booking-summary-card dd {
  margin: 0;
  color: #f6f3ed;
  font-weight: 700;
}

.booking-summary-card .booking-total {
  padding-top: 10px;
  border-top: 1px solid rgba(214, 181, 111, .18);
  color: #e5c77e;
}

.booking-payment-note {
  margin: 16px 0 0;
  color: #b9b4a9;
  font-size: .92rem;
  line-height: 1.6;
}

.booking-submit-message {
  min-height: 1.5em;
  margin: 12px 0 0;
  color: #ff9aa2;
  text-align: center;
}

.booking-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.booking-actions-single {
  grid-template-columns: minmax(0, 380px);
  justify-content: center;
}

.booking-button {
  min-height: 52px;
  padding: 11px 16px;
  border-radius: 12px 4px 12px 4px;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
}

.booking-button-primary {
  border: 1px solid rgba(239, 215, 162, .48);
  color: #17130d;
  background: linear-gradient(135deg, #e0c481, #bd9147 62%, #a91d19 145%);
  box-shadow: 0 13px 30px rgba(88, 64, 22, .27);
}

.booking-button-secondary {
  border: 1px solid rgba(214, 181, 111, .28);
  color: #eee6d7;
  background: rgba(9, 9, 10, .78);
}

.booking-button:disabled {
  opacity: .45;
  cursor: not-allowed;
  box-shadow: none;
}

@keyframes booking-step-forward {
  from { opacity: 0; transform: translateX(14px); }
  to { opacity: 1; transform: none; }
}

@keyframes booking-step-back {
  from { opacity: 0; transform: translateX(-14px); }
  to { opacity: 1; transform: none; }
}

@media (min-width: 720px) {
  .booking-days {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .booking-details-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .booking-details-form .booking-actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .booking-header {
    width: calc(100% - 24px);
    min-height: 68px;
  }

  .booking-brand img {
    width: 50px;
    height: 50px;
  }

  .booking-back-home {
    padding-inline: 11px;
    font-size: .88rem;
  }

  .booking-main {
    min-height: calc(100dvh - 68px);
    padding: 20px 10px max(20px, env(safe-area-inset-bottom));
  }

  .booking-intro {
    margin-bottom: 16px;
  }

  .booking-progress li {
    flex-direction: column;
    gap: 4px;
    padding: 8px 3px;
  }

  .booking-wizard-card {
    padding: 18px 12px;
    border-radius: 21px 7px 21px 7px;
  }

  .booking-step-heading {
    margin-bottom: 15px;
  }

  .booking-slots {
    max-height: min(48dvh, 430px);
  }

  .booking-day {
    padding: 13px 10px;
  }

  .booking-day-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .booking-slot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .booking-actions {
    grid-template-columns: 1fr;
  }

  .booking-actions .booking-button-primary {
    grid-row: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .booking-step.is-entering-forward,
  .booking-step.is-entering-back {
    animation: none;
  }
}
button,
.btn,
[role="button"] {
  min-height: 44px;
}

.booking-verification {
  max-width: 680px;
  margin: 28px auto 0;
  padding: clamp(28px, 6vw, 54px) 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 24px 8px 24px 8px;
  background: rgba(15, 15, 15, .94);
}

.booking-verification-spinner {
  width: 42px;
  height: 42px;
  margin: 0 auto 20px;
  border: 3px solid rgba(255, 255, 255, .18);
  border-top-color: #d7ff3f;
  border-radius: 50%;
  animation: booking-spin .9s linear infinite;
}

.booking-verification.is-confirmed .booking-verification-spinner {
  animation: none;
  border-color: #d7ff3f;
}

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

@media (prefers-reduced-motion: reduce) {
  .booking-verification-spinner { animation-duration: 1.8s; }
}
