.theme-reservation {
  --paper: #fcf9f5;
  --reservation-night: #171c39;
  --reservation-lavender: #b6b1e6;
  --reservation-peach: #ffd1ab;
  --reservation-ink: #25243a;
  --reservation-muted: #625b70;
  --reservation-line: #e9dfda;
  color: var(--reservation-ink);
}
.theme-reservation .demo-switch a:not([aria-current]) { color: #5f6780; }
.reservation-shell { width: calc(100% - 64px); max-width: 1100px; margin-inline: auto; }

.reservation-hero {
  overflow: hidden;
  padding: clamp(45px, 7vw, 98px) 0;
  background: radial-gradient(ellipse at 86% 20%, #393056 0%, transparent 56%), var(--reservation-night);
  color: #fff6ed;
}
.reservation-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
}
.reservation-brand, .reservation-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--reservation-lavender);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
}
.reservation-brand i { color: var(--reservation-peach); font-size: 17px; }
.reservation-brand span {
  margin-inline-start: 5px;
  padding: 2px 8px;
  border: 1px solid #b6b1e65c;
  border-radius: 20px;
  color: #efeafb;
  font-size: 11px;
  letter-spacing: 0;
}
.reservation-hero h1 {
  margin-top: 18px;
  font-size: clamp(43px, 5.9vw, 83px);
  font-weight: 800;
  letter-spacing: -.07em;
  line-height: 1.12;
}
.reservation-hero h1 span { color: var(--reservation-peach); }
.reservation-hero-desc {
  max-width: 370px;
  margin-top: 20px;
  color: #ddd8e9;
  font-size: clamp(15px, 1.55vw, 17px);
  line-height: 1.8;
}
.reservation-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 9px 19px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--reservation-peach);
  color: #292339;
  font-weight: 700;
  transition: background .2s ease, transform .2s ease;
}
.reservation-button:hover:not(:disabled) { background: #ffe3c9; transform: translateY(-2px); }
.reservation-button:disabled { opacity: 1; background: #eee8e6; color: #625b70; }
.reservation-hero .reservation-button { margin-top: 26px; }
.reservation-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: #d0c7e2;
  font-size: 12px;
}
.reservation-hero-meta span { width: 3px; height: 3px; border-radius: 50%; background: #d0c7e2; }

.reservation-art {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #c7bee34d;
  border-radius: 18px;
  background:
    linear-gradient(#c7bee310 1px, transparent 1px) center / 28px 28px,
    linear-gradient(90deg, #c7bee310 1px, transparent 1px) center / 28px 28px,
    radial-gradient(ellipse at 54% 50%, #573b61, #242444 65%);
}
.reservation-art svg { width: 100%; }
.reservation-art svg > circle { filter: drop-shadow(0 0 20px #ffb6aa80); }
.reservation-art-code, .reservation-art-tag {
  position: absolute;
  inset: 13px auto auto 16px;
  color: #e0d8ef;
  font-size: clamp(8px, 1vw, 10px);
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.55;
}
.reservation-art-tag { inset: auto 16px 13px auto; }
.reservation-art-tag span { color: var(--reservation-peach); margin-inline-start: 4px; }

.reservation-booking { padding-block: clamp(38px, 6.5vw, 80px); }
.reservation-section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px 25px;
  margin-bottom: 22px;
}
.reservation-section-head .reservation-kicker, .reservation-summary .reservation-kicker { color: #6b567c; }
.reservation-section-head h2 {
  margin-top: 6px;
  font-size: clamp(25px, 4vw, 41px);
  line-height: 1.25;
  letter-spacing: -.045em;
}
.reservation-section-head > p { color: var(--reservation-muted); font-size: 13px; }
.reservation-section-head > p i { margin-inline-end: 4px; }
.reservation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.58fr) minmax(0, 1fr);
  align-items: start;
  gap: 16px;
}
.reservation-choices, .reservation-summary {
  padding: clamp(17px, 3.3vw, 30px);
  border: 1px solid var(--reservation-line);
  border-radius: 17px;
  background: #fff;
}
.reservation-step { min-inline-size: 0; margin: 0; padding: 0; border: 0; }
.reservation-step + .reservation-step { margin-top: 25px; }
.reservation-step legend { margin-bottom: 10px; padding: 0; color: var(--reservation-ink); font-weight: 700; }
.reservation-step legend span {
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
  margin-inline-end: 5px;
  border-radius: 8px;
  background: #f5edf9;
  color: #6b567c;
  font-size: 11px;
}
.reservation-dates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.reservation-date, .reservation-session { position: relative; cursor: pointer; }
.reservation-date input, .reservation-session input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  opacity: 0;
}
.reservation-date > span, .reservation-session-row {
  border: 1px solid var(--reservation-line);
  border-radius: 9px;
  background: #fff;
  transition: background .18s ease, border-color .18s ease;
}
.reservation-date > span { display: grid; justify-items: center; gap: 2px; padding: 9px 4px; }
.reservation-date small { color: var(--reservation-muted); font-size: 11px; }
.reservation-date strong, .reservation-session-row strong { font-variant-numeric: tabular-nums; }
.reservation-date input:checked + span, .reservation-session input:checked + span {
  border-color: #8266a0;
  background: #f6effc;
}
.reservation-date input:focus-visible + span, .reservation-session input:focus-visible + span {
  outline: 3px solid #8266a0;
  outline-offset: 2px;
}
.reservation-date:hover > span, .reservation-session:hover input:not(:disabled) + span { border-color: #8266a0; }

.reservation-sessions { display: grid; gap: 7px; }
.reservation-session-row {
  display: grid;
  grid-template-columns: 13px auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 49px;
  padding: 7px 10px;
}
.reservation-session-dot { width: 13px; height: 13px; border: 1px solid #a79bb6; border-radius: 50%; }
.reservation-session input:checked + span .reservation-session-dot {
  border-color: #6c4c8c;
  background: #6c4c8c;
  box-shadow: inset 0 0 0 2px #fff;
}
.reservation-session input:disabled + span { cursor: not-allowed; background: #f7f5f5; color: #686171; }
.reservation-session-name { color: var(--reservation-muted); font-size: 13px; }
.reservation-session-status {
  justify-self: end;
  padding: 3px 7px;
  border-radius: 6px;
  background: #efe6fa;
  color: #61447c;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.reservation-session input:disabled + span .reservation-session-status { background: #eee9ec; color: #625b70; }
.reservation-session-status.is-low { background: #fceadf; color: #8a472d; }

.reservation-summary {
  position: relative;
  overflow: hidden;
  background: #fff3e9;
}
.reservation-summary::after {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #ad89c5, #ffd1ab);
  content: "";
}
.reservation-summary-icon {
  position: absolute;
  inset: clamp(17px, 3.3vw, 30px) clamp(17px, 3.3vw, 30px) auto auto;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid #eddbdf;
  border-radius: 10px;
  color: #745887;
  font-size: 20px;
}
.reservation-summary h3 { margin-top: 3px; font-size: 24px; line-height: 1.3; letter-spacing: -.04em; }
.reservation-summary dl { display: grid; gap: 8px; margin: 16px 0; padding-block: 14px; border-block: 1px dashed #d6c4d0; }
.reservation-summary dl > div { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
.reservation-summary dt, .reservation-privacy { color: var(--reservation-muted); }
.reservation-summary dd { margin: 0; text-align: end; font-weight: 700; }
.reservation-summary .reservation-button { width: 100%; }
.reservation-privacy { margin-top: 11px; font-size: 12px; line-height: 1.5; }
.reservation-privacy i { margin-inline-end: 3px; }

.reservation-confirmation {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid #c3dfd3;
  border-radius: 12px;
  background: #edf8f1;
  color: #265341;
}
.reservation-confirmation-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #d8eee1; }
.reservation-confirmation h3 { font-size: 17px; }
.reservation-confirmation p { font-size: 13px; }
.reservation-confirmation button {
  min-height: 42px;
  padding: 6px 11px;
  border: 1px solid #b3d2c4;
  border-radius: 8px;
  background: #fff;
  color: #265341;
  font-size: 13px;
  font-weight: 700;
}

.reservation-noscript { padding: 18px; border: 1px solid var(--reservation-line); border-radius: 12px; }
.reservation-footer { padding-block: 25px; border-top: 1px solid var(--reservation-line); }
.reservation-footer .reservation-shell { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.reservation-footer strong { font-size: 13px; letter-spacing: .06em; }
.reservation-footer p, .reservation-footer a { color: var(--reservation-muted); font-size: 13px; }
.reservation-footer a { font-weight: 700; }
.reservation-footer a:hover { text-decoration: underline; }

@media (prefers-reduced-motion: no-preference) {
  .reservation-art svg { animation: reservation-art-in .75s cubic-bezier(.2,.7,.3,1) both; }
  .reservation-confirmation:not([hidden]) { animation: reservation-art-in .25s ease-out both; }
}
@keyframes reservation-art-in {
  from { opacity: .35; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 720px) {
  .reservation-shell { width: calc(100% - 36px); }
  .reservation-hero-grid, .reservation-grid { grid-template-columns: minmax(0, 1fr); }
  .reservation-hero h1 { font-size: clamp(37px, 9vw, 57px); }
  .reservation-art { width: min(100%, 440px); }
}
@media (max-width: 470px) {
  .theme-reservation .demo-switch { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .theme-reservation .demo-switch a { padding-inline: 2px; white-space: normal; text-align: center; }
}
@media (max-width: 390px) {
  .reservation-shell { width: calc(100% - 28px); }
  .reservation-session-row { gap: 6px; }
  .reservation-session-name { font-size: 11px; }
  .reservation-confirmation { grid-template-columns: auto minmax(0, 1fr); }
  .reservation-confirmation button { grid-column: 2; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  .reservation-document { scroll-behavior: auto; }
  .theme-reservation .reservation-button, .theme-reservation .reservation-date > span, .theme-reservation .reservation-session-row { transition: none; }
  .theme-reservation .reservation-button:hover { transform: none; }
}
