/* Booking dialog follows the Tools typography and square controls. */
.wo-booking-dialog {
  box-sizing: border-box;
  width: min(680px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  margin: auto;
  border: 0;
  padding: 36px;
  overflow-y: auto;
  color: #14161a;
  background: #f2efec;
  font-family: Satoshi, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
}
.wo-booking-dialog::backdrop { background: rgb(0 0 0 / 60%); }
.wo-booking-dialog *, .wo-booking-dialog *::before, .wo-booking-dialog *::after { box-sizing: border-box; }
.wo-booking-dialog [hidden] { display: none !important; }
.wo-booking-dialog :is(h2, h3, p) { margin: 0; }
.wo-booking-dialog h2 { max-width: 510px; margin-bottom: 12px; padding-right: 20px; font-size: 32px; font-weight: 700; line-height: 1.2; letter-spacing: -.035em; }
.wo-booking-dialog h2 span { color: #dd2230; }
.wo-booking-dialog .wo-booking-eyebrow { margin-bottom: 12px; color: #dd2230; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.wo-booking-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border: 1px solid #bbb; background: transparent; font-size: 28px; line-height: 1; cursor: pointer; }
.wo-booking-status { min-height: 24px; margin: 20px 0 !important; font-size: 14px; }
.wo-booking-status.is-error { padding: 12px; border-left: 3px solid #a01919; color: #a01919; background: #fff; }
.wo-booking-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.wo-booking-field label, .wo-booking-times legend { font-size: 15px; font-weight: 700; }
.wo-booking-field label span { font-weight: 400; }
.wo-booking-field :is(input, select, textarea) { width: 100%; min-height: 46px; border: 1px solid #aaa; border-radius: 0; padding: 10px 12px; color: #14161a; background: #fff; font: inherit; }
.wo-booking-field textarea { resize: vertical; }
.wo-booking-field p { color: #555; font-size: 13px; }
.wo-booking-schedule { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-bottom: 24px; }
.wo-booking-days, .wo-booking-times { min-width: 0; margin: 0; border: 0; padding: 0; }
.wo-booking-days > legend { margin-bottom: 10px; font-size: 15px; font-weight: 700; }
.wo-booking-datepicker { border: 1px solid #bbb; padding: 10px; background: #fff; }
.wo-booking-month-nav { display: flex; align-items: center; justify-content: space-between; gap: 4px; margin-bottom: 8px; }
.wo-booking-month-nav h3 { font-size: 16px; line-height: 22px; font-weight: 700; text-align: center; }
.wo-booking-month-nav button { width: 32px; min-height: 36px; border: 0; padding: 0; background: transparent; font: inherit; font-size: 26px; cursor: pointer; }
.wo-booking-month-grid { width: 100%; border-collapse: collapse; table-layout: fixed; }
.wo-booking-month-grid th { padding: 2px 0 6px; color: #656565; font-size: 11px; font-weight: 700; text-align: center; }
.wo-booking-month-grid td { height: 36px; padding: 1px; text-align: center; }
.wo-booking-month-grid button { width: 100%; min-height: 34px; border: 1px solid transparent; border-radius: 0; padding: 4px 0; background: #f2efec; color: #14161a; font: inherit; font-size: 13px; cursor: pointer; }
.wo-booking-month-grid button[aria-pressed="true"] { border-color: #14161a; background: #14161a; color: #fff; font-weight: 700; }
.wo-booking-month-grid button:disabled, .wo-booking-month-nav button:disabled { background: transparent; color: #999; cursor: default; }
.wo-booking-datepicker > p { min-height: 34px; margin-top: 10px; font-size: 12px; line-height: 17px; }
.wo-booking-times > p { margin: 4px 0 12px; color: #555; font-size: 13px; }
.wo-booking-slots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-height: 300px; overflow-y: auto; padding: 4px; }
.wo-booking-slots label { position: relative; display: block; cursor: pointer; }
.wo-booking-slots input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.wo-booking-slots span { display: flex; min-height: 42px; align-items: center; justify-content: center; border: 1px solid #aaa; padding: 8px; color: #14161a; background: #fff; font-size: 14px; }
.wo-booking-slots input:checked + span { border-color: #14161a; color: #fff; background: #14161a; }
.wo-booking-slots input:focus-visible + span { outline: 2px solid #14161a; outline-offset: 2px; }
.wo-booking-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.wo-booking-wide { grid-column: 1 / -1; }
.wo-booking-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.wo-booking-summary { margin: 22px 0 16px !important; padding-top: 18px; border-top: 1px solid #aaa; font-size: 14px; font-weight: 700; }
.wo-booking-submit, .wo-booking-calendar, .wo-booking-done { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 46px; border: 0; border-radius: 0; padding: 12px 20px; color: #fff; background: #dd2230; font: inherit; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; }
.wo-booking-submit { width: 100%; justify-content: space-between; }
.wo-booking-submit:disabled { color: #555; background: #ddd; cursor: default; }
.wo-booking-privacy { margin-top: 12px !important; color: #555; font-size: 12px; }
.wo-booking-success h3 { margin: 20px 0 16px; font-size: 25px; font-weight: 700; }
.wo-booking-success p { margin-bottom: 16px; }
.wo-booking-reference { font-size: 13px; overflow-wrap: anywhere; }
.wo-booking-done { margin: 8px 0 0 12px; color: #14161a; background: #fff; border: 1px solid #aaa; }
.wo-booking-dialog :is(button, a):focus-visible { outline: 2px solid #14161a; outline-offset: 3px; }
.wo-booking-dialog .wo-booking-field :is(input, select, textarea):focus { outline: none; box-shadow: none; }
@media (max-width: 600px) {
  .wo-booking-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); padding: 24px 18px; }
  .wo-booking-dialog h2 { font-size: 28px; }
  .wo-booking-close { top: 12px; right: 12px; }
  .wo-booking-contact { grid-template-columns: minmax(0, 1fr); }
  .wo-booking-schedule { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .wo-booking-month-grid td { height: 40px; }
  .wo-booking-month-grid button { min-height: 38px; }
  .wo-booking-slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
