/* ==================================================================
   Booking wizard
   ================================================================== */

.book-hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(3rem, 7vw, 5.5rem));
  padding-bottom: clamp(2rem, 4vw, 3rem);
  overflow: hidden;
  isolation: isolate;
}

.book-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(90% 70% at 75% 0%, rgba(207, 174, 99, 0.16), transparent 60%),
    linear-gradient(180deg, var(--ink-850), var(--ink-900));
}

.book-hero h1 {
  font-size: var(--step-4);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-top: 1rem;
}

.book-hero h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(100deg, var(--gold-300), var(--gold-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (max-width: 640px) {
  .book-hero {
    text-align: center;
  }

  .book-hero .eyebrow {
    justify-content: center;
  }

  .book-hero .eyebrow::after {
    content: '';
    width: 28px;
    height: 1px;
    background: linear-gradient(90deg, var(--gold-500), transparent);
  }

  .book-hero .section-lede {
    margin-left: auto;
    margin-right: auto;
  }
}

.book-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
  gap: clamp(1.5rem, 3.5vw, 3rem);
  align-items: start;
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

@media (max-width: 940px) {
  .book-layout {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------- Stepper ---------------------------- */

.stepper {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
  counter-reset: step;
}

.stepper li {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 0.55rem;
}

.stepper__bar {
  height: 3px;
  border-radius: 3px;
  background: var(--ink-600);
  overflow: hidden;
  position: relative;
}

.stepper__bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-300));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}

.stepper li[data-state='done'] .stepper__bar::after,
.stepper li[data-state='current'] .stepper__bar::after {
  transform: scaleX(1);
}

.stepper__label {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.4s ease;
}

.stepper li[data-state='current'] .stepper__label {
  color: var(--gold-300);
}

.stepper li[data-state='done'] .stepper__label {
  color: var(--text-dim);
}

/* ----------------------------- Panel ----------------------------- */

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, var(--ink-800), var(--ink-850) 70%);
  padding: clamp(1.4rem, 3vw, 2.4rem);
}

.panel[hidden] {
  display: none;
}

.panel__head {
  margin-bottom: 1.8rem;
}

.panel__head h2 {
  font-size: var(--step-2);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.panel__head p {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 300;
}

/* Panels slide in when the step changes */
.panel[data-enter] {
  animation: panel-in 0.55s var(--ease-out);
}

@keyframes panel-in {
  from {
    opacity: 0;
    translate: 0 14px;
    filter: blur(4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .panel[data-enter] {
    animation: none;
  }
}

/* ---------------------------- Choices ---------------------------- */

.choices {
  display: grid;
  gap: 0.85rem;
}

.choices--row {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
}

.choice {
  position: relative;
  display: block;
  cursor: pointer;
}

.choice input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.choice__box {
  display: grid;
  gap: 0.35rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.015);
  transition: border-color 0.35s ease, background 0.35s ease, transform 0.35s var(--ease-out);
}

.choice:hover .choice__box {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.choice input:checked + .choice__box {
  border-color: var(--gold-500);
  background: rgba(207, 174, 99, 0.09);
}

.choice input:focus-visible + .choice__box {
  outline: 2px solid var(--gold-400);
  outline-offset: 3px;
}

.choice__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 500;
}

.choice__price {
  color: var(--gold-300);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.choice__meta {
  font-size: 0.84rem;
  color: var(--muted);
  font-weight: 300;
}

.choice__check {
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  transition: all 0.3s ease;
}

.choice__check::after {
  content: '';
  width: 9px;
  height: 5px;
  border-left: 1.6px solid #15120a;
  border-bottom: 1.6px solid #15120a;
  rotate: -45deg;
  opacity: 0;
  transition: opacity 0.25s ease;
  margin-top: -2px;
}

.choice input:checked ~ .choice__box .choice__check,
.choice input:checked + .choice__box .choice__check {
  background: var(--gold-500);
  border-color: var(--gold-500);
}

.choice input:checked + .choice__box .choice__check::after {
  opacity: 1;
}

/* Add-on rows keep the checkbox on the right */
.choice--addon .choice__box {
  padding-right: 3.4rem;
}

/* ---------------------------- Calendar --------------------------- */

.cal {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.15rem;
  background: rgba(255, 255, 255, 0.015);
}

.cal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.cal__month {
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.cal__nav {
  display: flex;
  gap: 0.4rem;
}

.cal__nav button {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: none;
  color: var(--text-dim);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.3s ease;
}

.cal__nav button:hover:not([disabled]) {
  border-color: var(--gold-600);
  color: var(--gold-300);
}

.cal__nav button[disabled] {
  opacity: 0.3;
  cursor: default;
}

.cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cal__dow {
  text-align: center;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 0.5rem;
}

.cal__day {
  position: relative;
  aspect-ratio: 1;
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: none;
  color: var(--text-dim);
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: all 0.28s ease;
}

.cal__day:hover:not([disabled]) {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.cal__day[disabled] {
  color: var(--ink-500);
  cursor: default;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.cal__day[aria-pressed='true'],
.cal__day[aria-pressed='true']:hover:not([disabled]) {
  background: var(--gold-500);
  border-color: var(--gold-400);
  color: #15120a;
  font-weight: 600;
}

/* availability dot */
.cal__day[data-free]::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 5px;
  translate: -50% 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-500);
  opacity: 0.85;
}

.cal__day[aria-pressed='true']::after {
  background: #15120a;
}

.cal__day--empty {
  pointer-events: none;
}

.cal__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--muted);
}

.cal__legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.cal__legend i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-500);
}

/* ----------------------------- Weather ---------------------------- */

/* Line icons drawn in weather.js — every colour is a variable so the
   selected (gold) calendar day can flip the whole icon to dark ink. */
.wx-icon {
  --wx-sun: var(--gold-400);
  --wx-moon: #d5dbea;
  --wx-cloud: #c3c9d6;
  --wx-rain: #7fb2ff;
  --wx-snow: #e6eeff;
  --wx-bolt: #ffd36b;
  --wx-fog: var(--muted);
  width: 1em;
  height: 1em;
  flex: none;
  overflow: visible;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wx-sun {
  stroke: var(--wx-sun);
}

.wx-sun circle {
  fill: color-mix(in srgb, var(--wx-sun) 22%, transparent);
}

.wx-moon {
  stroke: var(--wx-moon);
  fill: color-mix(in srgb, var(--wx-moon) 14%, transparent);
}

/* Clouds are filled with the surface colour so they sit in front of the sun */
.wx-cloud {
  stroke: var(--wx-cloud);
  fill: var(--wx-cloud-fill, #101217);
}

.wx-rain {
  stroke: var(--wx-rain);
}

.wx-snow circle {
  fill: var(--wx-snow);
  stroke: none;
}

.wx-bolt {
  stroke: var(--wx-bolt);
}

.wx-fog {
  stroke: var(--wx-fog);
}

/* Calendar cells */
.cal__day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.cal__num {
  line-height: 1;
}

.cal__wx {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  line-height: 1;
}

.cal__wx .wx-icon {
  font-size: 1.8rem;
}

.cal__temp {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--text-dim);
}

/* Once any day shows weather, pin every date number to the top so a row
   mixing forecast days and later days still lines up. */
.cal__grid--wx .cal__day {
  justify-content: flex-start;
  padding-top: clamp(7px, 1.3vw, 13px);
}

/* Bookable days are solid tiles so they never look like the struck-through
   ones: slate while the forecast isn't out yet, gold once it is, blue when
   rain is likely. The chosen day keeps its solid gold on top of all three. */
.cal__day[data-free]:not([aria-pressed='true']) {
  background: linear-gradient(160deg, rgba(148, 163, 184, 0.16), rgba(148, 163, 184, 0.07));
  border-color: rgba(148, 163, 184, 0.3);
  color: var(--text);
}

.cal__day[data-wx]:not([aria-pressed='true']) {
  --wx-cloud-fill: #352f22; /* roughly the tile colour, so clouds still hide the sun */
  background: linear-gradient(160deg, rgba(227, 203, 142, 0.34), rgba(207, 174, 99, 0.14));
  border-color: rgba(227, 203, 142, 0.6);
}

.cal__day[data-wx='poor']:not([aria-pressed='true']) {
  --wx-cloud-fill: #212c3e;
  background: linear-gradient(160deg, rgba(127, 178, 255, 0.34), rgba(127, 178, 255, 0.14));
  border-color: rgba(127, 178, 255, 0.6);
}

.cal__day[data-free]:not([aria-pressed='true']):hover {
  background: linear-gradient(160deg, rgba(148, 163, 184, 0.26), rgba(148, 163, 184, 0.12));
  border-color: rgba(148, 163, 184, 0.55);
}

.cal__day[data-wx]:not([aria-pressed='true']):hover {
  background: linear-gradient(160deg, rgba(227, 203, 142, 0.46), rgba(207, 174, 99, 0.22));
  border-color: var(--gold-400);
}

.cal__day[data-wx='poor']:not([aria-pressed='true']):hover {
  background: linear-gradient(160deg, rgba(127, 178, 255, 0.46), rgba(127, 178, 255, 0.22));
  border-color: #a9cbff;
}

.cal__day[aria-pressed='true'] {
  --wx-cloud-fill: var(--gold-500);
}

.cal__day[aria-pressed='true'] .wx-icon {
  --wx-sun: #15120a;
  --wx-moon: #15120a;
  --wx-cloud: #15120a;
  --wx-rain: #15120a;
  --wx-snow: #15120a;
  --wx-bolt: #15120a;
  --wx-fog: #15120a;
}

.cal__day[aria-pressed='true'] .cal__temp {
  color: rgba(21, 18, 10, 0.72);
}

/* `.cal__legend span` would otherwise make this wrapper one unbreakable row */
.cal__legend .cal__legend-wx {
  display: contents;
}

.cal__legend .cal__legend-wx[hidden] {
  display: none;
}

.cal__legend-wx > span {
  white-space: nowrap;
}

.cal__legend .wx-icon {
  font-size: 1.05rem;
}

.cal__legend i.cal__legend-tile {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 1px solid;
}

.cal__legend i.cal__legend-tile--wx {
  background: rgba(227, 203, 142, 0.34);
  border-color: rgba(207, 174, 99, 0.6);
}

.cal__legend i.cal__legend-tile--pending {
  background: rgba(148, 163, 184, 0.16);
  border-color: rgba(148, 163, 184, 0.45);
}

.cal__legend i.cal__legend-tile--wet {
  background: rgba(127, 178, 255, 0.34);
  border-color: rgba(127, 178, 255, 0.6);
}

/* Narrow phones: cells are ~34px wide, so drop the temperature and let the
   rows grow a little instead of squashing the icon. */
@media (max-width: 520px) {
  .cal__grid--wx .cal__day {
    aspect-ratio: auto;
    min-height: 54px;
  }

  .cal__wx .wx-icon {
    font-size: 1.1rem;
  }

  .cal__temp {
    display: none;
  }
}

/* Forecast card for the chosen day */
.wx[hidden] {
  display: none;
}

.wx-card {
  --wx-cloud-fill: #111318;
  --wx-tint: rgba(207, 174, 99, 0.1);
  margin-top: 1.25rem;
  padding: clamp(1rem, 2.4vw, 1.4rem);
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(120% 140% at 0% 0%, var(--wx-tint), transparent 55%),
    rgba(255, 255, 255, 0.015);
  animation: wx-in 0.5s var(--ease-out);
}

.wx-card--great {
  --wx-tint: rgba(110, 231, 168, 0.08);
}

.wx-card--fair {
  --wx-tint: rgba(240, 184, 96, 0.09);
}

.wx-card--poor {
  --wx-tint: rgba(127, 178, 255, 0.12);
}

.wx-card--pending {
  --wx-tint: rgba(255, 255, 255, 0.03);
}

.wx-card--pending .wx-card__icon {
  opacity: 0.55;
}

@keyframes wx-in {
  from {
    opacity: 0;
    translate: 0 8px;
  }
}

.wx-card__top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.6rem 1.1rem;
}

.wx-card__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  font-size: 2.6rem;
}

.wx-card__eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.wx-card__cond {
  margin-top: 0.2rem;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.wx-card__temps {
  margin-top: 0.1rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}

.wx-card__temps strong {
  color: var(--text);
  font-size: 1.35rem;
  font-weight: 600;
}

.wx-verdict {
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  border: 1px solid;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.wx-verdict--great {
  color: var(--success);
  border-color: rgba(110, 231, 168, 0.35);
  background: rgba(110, 231, 168, 0.1);
}

.wx-verdict--good {
  color: var(--gold-300);
  border-color: rgba(207, 174, 99, 0.4);
  background: rgba(207, 174, 99, 0.1);
}

.wx-verdict--fair {
  color: #f3c27a;
  border-color: rgba(240, 184, 96, 0.4);
  background: rgba(240, 184, 96, 0.1);
}

.wx-verdict--poor {
  color: #a9cbff;
  border-color: rgba(127, 178, 255, 0.4);
  background: rgba(127, 178, 255, 0.12);
}

.wx-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 1.1rem;
}

.wx-stat {
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.wx-stat dt {
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.wx-stat dd {
  display: grid;
  gap: 0.1rem;
  margin-top: 0.3rem;
  font-size: 0.95rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.wx-stat small {
  font-size: 0.74rem;
  font-weight: 300;
  color: var(--muted);
}

.wx-card__advice {
  margin-top: 0.95rem;
  color: var(--text-dim);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.55;
}

.wx-card--pending .wx-card__advice {
  margin-top: 0.35rem;
}

.wx-hours-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.3rem 1rem;
  margin-top: 1.15rem;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.wx-hours-head span + span {
  letter-spacing: 0.02em;
  text-transform: none;
}

/* width:0 + min-width:100% keeps the strip from contributing its full
   width to the page layout — it scrolls inside the card instead of
   stretching the single-column layout past the screen on phones. */
.wx-hours {
  width: 0;
  min-width: 100%;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(52px, 1fr);
  gap: 0.35rem;
  margin-top: 0.6rem;
  padding-bottom: 0.35rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--ink-500) transparent;
}

.wx-hour {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 0.35rem;
  padding: 0.65rem 0.35rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.015);
  font-variant-numeric: tabular-nums;
  scroll-snap-align: start;
}

.wx-hour.is-wet {
  border-color: rgba(127, 178, 255, 0.3);
  background: rgba(127, 178, 255, 0.06);
}

.wx-hour__time {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.wx-hour__range {
  margin-top: -0.25rem;
  font-size: 0.64rem;
  color: var(--muted);
}

.wx-hour__icon {
  font-size: 1.75rem;
  line-height: 0;
}

.wx-hour__temp {
  font-size: 0.92rem;
  font-weight: 500;
}

.wx-hour__bar {
  display: flex;
  align-items: flex-end;
  width: 6px;
  height: 26px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.wx-hour__bar i {
  width: 100%;
  height: calc(var(--p, 0) * 100%);
  border-radius: 3px;
  background: linear-gradient(#a9cbff, #5f95f0);
}

.wx-hour__rain {
  font-size: 0.66rem;
  color: var(--muted);
  white-space: nowrap;
}

.wx-hour.is-wet .wx-hour__rain {
  color: #a9cbff;
}

.wx-card__note {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.wx-suggest {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  border: 1px dashed var(--gold-600);
  border-radius: 12px;
  background: rgba(207, 174, 99, 0.06);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease-out);
}

.wx-suggest:hover {
  border-color: var(--gold-400);
  background: rgba(207, 174, 99, 0.12);
  transform: translateY(-1px);
}

.wx-suggest:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 3px;
}

.wx-suggest__icon {
  font-size: 1.9rem;
  line-height: 0;
}

.wx-suggest__text {
  display: grid;
  gap: 0.15rem;
  flex: 1;
  min-width: 0;
}

.wx-suggest__text strong {
  color: var(--gold-300);
  font-size: 0.92rem;
  font-weight: 600;
}

.wx-suggest__text span {
  font-size: 0.8rem;
  color: var(--muted);
}

.wx-suggest .arrow {
  color: var(--gold-300);
}

.wx-card__src {
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
  font-size: 0.7rem;
  color: var(--muted);
}

.wx-card__src a {
  color: var(--gold-300);
  text-decoration: underline;
  text-decoration-color: rgba(242, 226, 184, 0.35);
  text-underline-offset: 2px;
}

@media (max-width: 560px) {
  .wx-card__top {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .wx-card__icon {
    width: 56px;
    height: 56px;
    font-size: 2.2rem;
  }

  .wx-verdict {
    grid-column: 1 / -1;
    justify-self: start;
  }

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

  .wx-stats .wx-stat:last-child {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wx-card {
    animation: none;
  }
}

/* ----------------------------- Slots ----------------------------- */

.slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 0.55rem;
  margin-top: 1.25rem;
}

.slot {
  padding: 0.75rem 0.5rem;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-dim);
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: all 0.28s ease;
}

.slot:hover {
  border-color: var(--gold-600);
  color: var(--gold-300);
  transform: translateY(-2px);
}

.slot[aria-pressed='true'] {
  background: var(--gold-500);
  border-color: var(--gold-400);
  color: #15120a;
  font-weight: 600;
}

.slots__empty {
  grid-column: 1 / -1;
  padding: 1.6rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
}

.slots-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.slots-head h3 {
  font-size: 1rem;
  font-weight: 500;
}

.slots-head span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ----------------------------- Fields ---------------------------- */

.fields {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.field label .req {
  color: var(--gold-500);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
  font-size: 0.98rem;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #5c6270;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  background: rgba(207, 174, 99, 0.05);
}

.field input[aria-invalid='true'],
.field textarea[aria-invalid='true'] {
  border-color: var(--danger);
}

.field__error {
  font-size: 0.82rem;
  color: var(--danger);
  min-height: 1.2em;
}

.field__hint {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Honeypot — hidden from people, visible to naive bots */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 0.75rem;
  align-items: start;
  font-size: 0.9rem;
  color: var(--text-dim);
  font-weight: 300;
}

.consent input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--gold-500);
}

/* --------------------------- Navigation -------------------------- */

.panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}

/* ---------------------------- Summary ---------------------------- */

.summary {
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  backdrop-filter: blur(14px);
  padding: 1.6rem;
  overflow: hidden;
}

@media (max-width: 940px) {
  .summary {
    position: static;
  }
}

.summary h2 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 1.2rem;
}

.summary__rows {
  display: grid;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.summary__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

.summary__row dt {
  color: var(--muted);
  flex: none;
}

.summary__row dd {
  margin: 0;
  text-align: right;
  color: var(--text);
}

.summary__row--muted dd {
  color: var(--muted);
}

.summary__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-top: 1.3rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
}

.summary__total dt {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.summary__total dd {
  margin: 0;
  font-size: var(--step-2);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(100deg, var(--gold-300), var(--gold-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.summary__note {
  margin-top: 1rem;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--muted);
}

.summary__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.1rem;
  padding: 0.5rem 0.85rem;
  border-radius: 100px;
  border: 1px solid rgba(207, 174, 99, 0.3);
  background: rgba(207, 174, 99, 0.08);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--gold-300);
}

/* ----------------------------- Review ---------------------------- */

.review {
  display: grid;
  gap: 0.85rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.review__row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1rem;
  font-size: 0.94rem;
  align-items: start;
}

.review__row dt {
  color: var(--muted);
  font-size: 0.84rem;
}

.review__row dd {
  margin: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 520px) {
  .review__row {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}

/* ---------------------------- Payment ---------------------------- */

.cancel-policy {
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--muted);
}

.cancel-policy strong {
  color: var(--text-dim);
  font-weight: 500;
}

.choice__badge {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.15rem 0.5rem;
  border-radius: 100px;
  background: rgba(207, 174, 99, 0.16);
  border: 1px solid rgba(207, 174, 99, 0.35);
  color: var(--gold-300);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  vertical-align: middle;
}

.summary__row--pay dd {
  color: var(--gold-300);
  font-weight: 500;
}

/* ------------------------- Power access -------------------------- */

.power-notice {
  margin-top: 1.8rem;
  padding: 1.1rem 1.2rem 1.2rem;
  border-radius: 14px;
  border: 1px solid rgba(207, 174, 99, 0.35);
  background: rgba(207, 174, 99, 0.06);
}

.power-notice h3 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gold-300);
}

.power-notice p {
  margin: 0 0 1rem;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--muted);
}

.power-notice .consent {
  color: var(--text-dim);
}

.power-notice strong,
.modal__box strong {
  color: var(--text);
  font-weight: 500;
}

/* Blocking dialog — same weight as the Stripe hand-off overlay */
.modal {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(6, 7, 10, 0.88);
  backdrop-filter: blur(10px);
}

.modal[hidden] {
  display: none;
}

.modal__box {
  width: min(560px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  padding: 1.8rem;
  border-radius: var(--radius-lg, 24px);
  border: 1px solid rgba(207, 174, 99, 0.3);
  background: linear-gradient(165deg, var(--ink-800), var(--ink-850) 65%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.modal__box h2 {
  margin: 0 0 1rem;
  font-size: var(--step-2);
  font-weight: 300;
  color: var(--gold-300);
}

.modal__box p {
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--muted);
}

.modal__box .consent {
  margin-top: 1.2rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-dim);
}

.modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  margin-top: 1.6rem;
}

@media (max-width: 480px) {
  .modal__box {
    padding: 1.4rem 1.2rem;
  }

  .modal__actions .btn {
    flex: 1 1 100%;
    justify-content: center;
  }
}

/* The "redirecting you to Stripe" overlay */
.redirecting {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  gap: 1.2rem;
  background: rgba(6, 7, 10, 0.93);
  backdrop-filter: blur(14px);
  text-align: center;
  padding: 2rem;
}

.redirecting[hidden] {
  display: none;
}

.redirecting .spinner {
  width: 34px;
  height: 34px;
  border-width: 3px;
  border-color: rgba(207, 174, 99, 0.25);
  border-top-color: var(--gold-300);
}

.redirecting p {
  color: var(--text-dim);
  max-width: 34ch;
}

.secure-note {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--muted);
}

/* -------------------------- Manage booking ----------------------- */

.manage-option {
  margin-top: 1.4rem;
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.manage-option--primary {
  border-color: rgba(207, 174, 99, 0.4);
  background: linear-gradient(160deg, rgba(207, 174, 99, 0.09), rgba(255, 255, 255, 0.01));
}

.manage-option[hidden] {
  display: none;
}

.manage-option__head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 0.6rem;
}

.manage-option h2 {
  font-size: var(--step-1);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.manage-option__tag {
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
  background: var(--gold-500);
  color: #15120a;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.manage-option p {
  color: var(--text-dim);
  font-size: 0.92rem;
  font-weight: 300;
  margin-bottom: 1.2rem;
  max-width: 62ch;
}

.manage-option--muted {
  opacity: 0.75;
}

/* ----------------------------- Alerts ---------------------------- */

.alert {
  display: flex;
  gap: 0.8rem;
  padding: 1rem 1.15rem;
  border-radius: 12px;
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
  border: 1px solid;
  animation: panel-in 0.4s var(--ease-out);
}

.alert--error {
  border-color: rgba(255, 107, 107, 0.4);
  background: rgba(255, 107, 107, 0.09);
  color: #ffc9c9;
}

.alert--info {
  border-color: rgba(207, 174, 99, 0.35);
  background: rgba(207, 174, 99, 0.08);
  color: var(--gold-300);
}

.alert[hidden] {
  display: none;
}

/* ---------------------------- Success ---------------------------- */

.success {
  text-align: center;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.2rem, 3vw, 2.5rem);
}

.success__mark {
  width: 78px;
  height: 78px;
  margin: 0 auto 1.8rem;
  border-radius: 50%;
  border: 1px solid var(--gold-500);
  display: grid;
  place-items: center;
  background: rgba(207, 174, 99, 0.1);
}

.success__mark svg {
  width: 34px;
  height: 34px;
}

.success__mark path {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: draw 0.7s 0.15s var(--ease-out) forwards;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

.success h2 {
  font-size: var(--step-3);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.success__ref {
  display: inline-block;
  margin-top: 1.3rem;
  padding: 0.7rem 1.5rem;
  border-radius: 12px;
  border: 1px dashed var(--gold-600);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold-300);
}

.success p {
  max-width: 52ch;
  margin: 1.4rem auto 0;
  color: var(--text-dim);
  font-weight: 300;
}

.success__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin-top: 2.2rem;
}

/* Small spinner for the submit button */
.spinner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(21, 18, 10, 0.3);
  border-top-color: #15120a;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    rotate: 360deg;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
