/* Layout experiment. Open ?design=classic to compare with the previous design. */
.booking-section {
  background: #24201b;
  border-color: #4e4439;
  padding-block: clamp(38px, 5vw, 78px);
}
.booking-header h2 {
  font-family: 'STIX Two Text', Georgia, serif;
  font-weight: 400;
  letter-spacing: -.04em;
}

#selection, #request {
  --ledger-form: #f2e7d0;
  --text: #2c241d;
  --subtext: #554636;
  --accent: #694633;
  --accent-hover: #4e3022;
  --on-accent: #fff3df;
  --line: #c2af91;
  --field-border: #8e7657;
  --field-bg: #f7efdd;
  --surface-hover: #dcc7a6;
  --danger: #8b3025;
  --date-free: #507352;
  --date-partial: #925514;
  --date-full: #73675d;
  color-scheme: light;
  color: var(--text);
  gap: 0;
  border: 0;
  border-radius: 4px 24px 24px 4px;
  overflow: hidden;
  background: var(--ledger-form);
}
#selection {
  --accent: #57392b;
  --accent-hover: #3e271e;
  --line: #b7a488;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 1.12fr) minmax(0, .83fr);
  border-radius: 5px;
  background: #f7eedf;
}
#request {
  grid-template-columns: minmax(0, .68fr) minmax(0, 1.32fr);
}
#selection > .calendar-panel {
  padding: clamp(16px, 2.4vw, 30px);
  border: 0;
  border-radius: 0;
  background: transparent;
}
#request > .request-panel {
  padding: clamp(20px, 3.3vw, 46px);
  background: var(--ledger-form);
}
#selection > .time-panel {
  padding: clamp(16px, 2.4vw, 30px);
  border-left: 1px solid var(--line);
  background: transparent;
}
#selection > .checkout-panel {
  background: #e8d9c1;
  border-left: 1px solid var(--line);
}
#checkout-title {
  font-family: 'STIX Two Text', Georgia, serif;
  font-size: clamp(1.55rem, 2.6vw, 2.3rem);
  font-weight: 400;
}
#request h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.38rem, 2.6vw, 2.2rem);
  font-weight: 400;
  letter-spacing: -.035em;
}
.booking-section .booking-stage-label {
  display: block;
  margin-bottom: .65rem;
  color: var(--accent-hover);
  font-size: .8rem;
  font-weight: 670;
}
#selection .month-bar {
  gap: 8px 12px;
  margin-bottom: 18px;
}
#month-name {
  font-family: 'STIX Two Text', Georgia, serif;
  font-size: clamp(1.45rem, 2.25vw, 2rem);
  font-weight: 400;
}
#selection .month-button {
  padding-inline: 9px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 3px;
}
#selection .month-button:hover:not(:disabled) {
  border-color: var(--accent-hover);
  color: var(--accent-hover);
  text-decoration: none;
}
#selection .calendar th { padding-bottom: 7px; }
#selection .calendar td { height: auto; padding: 2px; }
#selection .day {
  grid-template-rows: 1fr;
  position: relative;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 3px;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 500;
  background: transparent;
}
#selection .day[data-availability] { border-color: #d4c5af; }
#selection .day:disabled {
  opacity: 1;
  color: #786757;
}
#selection .day .mark {
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 7px;
  height: 7px;
}
#selection .mark-partial { transform: rotate(45deg) scale(.8); }
#selection .mark-full { border: 1px solid var(--date-full); background: transparent; }
#selection .day[aria-current="date"] { border-color: #a28e73; }
#selection .day:not(:disabled, [aria-pressed="true"]):hover {
  border-color: var(--accent-hover);
  background: var(--surface-hover);
}
#selection .day[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: none;
  font-weight: 700;
}
#selection .day[aria-pressed="true"] .mark-free { background: #c1d2ab; }
#selection .day[aria-pressed="true"] .mark-partial { background: #efd1a1; }
#selection .day[aria-pressed="true"] .mark-full { border-color: #e8ddd0; }
#selection .day:focus-visible {
  outline: 2px solid var(--accent-hover);
  outline-offset: 1px;
  z-index: 1;
}
#selection .day[aria-pressed="true"]:focus-visible {
  outline-color: var(--on-accent);
  outline-offset: -4px;
}
#selection .legend {
  margin-top: 17px;
  padding-top: 14px;
}
#selection .calendar-help {
  margin-top: 9px;
}
#selection .time-head {
  min-height: 0;
  align-items: baseline;
  gap: 4px 10px;
}
#selection #selected-date {
  font-family: 'STIX Two Text', Georgia, serif;
  font-size: clamp(1.45rem, 2.25vw, 2rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.025em;
}
#selection .time-inputs input {
  min-height: 59px;
  border: 0;
  border-bottom: 1px solid var(--field-border);
  font-size: clamp(1.42rem, 2.7vw, 2rem);
}
#selection .time-inputs input[aria-invalid=true] { border-color: var(--danger); }
#selection input::placeholder { color: #786757; }
#request input::placeholder { color: #6d5c48; }

#request > .summary-panel {
  --text: #f4e4cc;
  --subtext: #e3d0b4;
  --accent: #f3d8ad;
  --accent-hover: #ffe6bf;
  --line: #75604b;
  align-self: stretch;
  background: #493a2d;
  color: var(--text);
}
#request .summary-time {
  margin-block: 3px 19px;
  font-size: clamp(1.6rem, 3.1vw, 2.75rem);
  font-weight: 400;
}
#request .summary-list > div {
  align-items: baseline;
}
#request .summary-total dd { font-size: 1.17rem; }
#request .identity-fields, #request .contact-method, #request .event-fields, #request .poster-fields {
  margin-bottom: 19px;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}
#request .identity-fields legend, #request .contact-method legend, #request .event-fields legend, #request .poster-fields legend {
  padding-right: 9px;
}
#request #contact-form input:not([type=radio]), #request #contact-form textarea, #request #contact-form select {
  border: 0;
  border-bottom: 1px solid var(--field-border);
}
#request #contact-form :is(input, textarea, select)[aria-invalid=true] { border-color: var(--danger); }
#request .phone-input .phone-prefix { color: var(--text); }
#selection .form-action, #request .form-action {
  border-radius: 3px;
}

@media (max-width: 70rem) {
  #selection { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  #selection > .checkout-panel {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}
@media (max-width: 49rem) {
  #selection, #request {
    grid-template-columns: 1fr;
  }
  #request {
    border-radius: 4px 19px 19px 4px;
  }
  #selection > .calendar-panel { padding-inline: clamp(9px, 3vw, 30px); }
  #selection > .time-panel { border-left: 0; border-top: 1px solid var(--line); }
  #selection .legend { border-top: 0; margin-top: 0; }
}
@media (max-width: 23rem) {
  #selection > .time-panel, #request > .request-panel {
    padding-inline: 14px;
  }
  #selection .month-bar { flex-wrap: wrap; }
}
