.rc8-booking-backdrop {
  position: fixed;
  inset: 0;
  z-index: 96;
  background: rgba(17,17,17,.38);
  backdrop-filter: blur(8px);
}

.rc8-booking-backdrop[hidden] { display: none !important; }

.rc8-booking-sheet {
  position: fixed;
  z-index: 97;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: none;
  height: 96svh;
  max-height: 96svh;
  box-sizing: border-box;
  transform: none;
  overflow-y: auto;
  overflow-x: clip;
  overscroll-behavior-x: none;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
  contain: layout paint;
  padding: 22px 20px calc(26px + env(safe-area-inset-bottom));
  border-radius: 34px 34px 0 0;
  background: #fff;
  box-shadow: 0 -24px 70px rgba(0,0,0,.2);
  color: #1b1b1d;
}

.rc8-booking-sheet *,
.rc8-booking-sheet *::before,
.rc8-booking-sheet *::after { box-sizing: border-box; }

.rc8-booking-sheet > *,
.rc8-booking-form,
.rc8-booking-grid,
.rc8-booking-field,
.rc21-unit-section,
.rc21-unit-head,
.rc21-unit-head > *,
.rc21-unit-list,
.rc21-unit-card,
.rc21-unit-copy { min-width: 0; max-width: 100%; }

.rc21-unit-section,
.rc21-unit-list,
.rc21-unit-card { overflow-x: clip; }

.rc21-unit-card { width: 100%; }
.rc21-unit-count { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }

.rc8-booking-sheet[hidden] { display: none !important; }

.rc8-booking-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #f1f1ef;
  color: #1b1b1d;
  font: inherit;
  font-size: 25px;
}

.rc8-booking-kicker {
  display: block;
  margin: 4px 52px 8px 0;
  color: #8a8884;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.rc8-booking-sheet h2 {
  margin: 0 52px 6px 0;
  font-size: clamp(30px, 8vw, 44px);
  line-height: 1;
  letter-spacing: -.045em;
  font-weight: 600;
}

.rc8-booking-intro {
  margin: 0 0 20px;
  color: #77736d;
  line-height: 1.45;
  font-weight: 400;
}

.rc8-booking-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding: 15px 16px;
  border-radius: 22px;
  background: #f7f7f5;
}

.rc8-booking-item div { min-width: 0; }
.rc8-booking-item strong { display: block; font-weight: 600; }
.rc8-booking-item small { color: #77736d; font-weight: 400; }
.rc8-booking-item > strong { flex: 0 0 auto; font-size: 16px; }

.rc8-booking-form {
  display: grid;
  gap: 14px;
}

.rc8-booking-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.rc8-booking-field {
  display: grid;
  gap: 7px;
  color: #5f5d59;
  font-size: 13px;
  font-weight: 500;
}

.rc8-booking-field.wide { grid-column: 1 / -1; }

.rc8-booking-field input,
.rc8-booking-field textarea {
  width: 100%;
  max-width: 100%;
  min-height: 52px;
  box-sizing: border-box;
  border: 1px solid #e2e0dc;
  border-radius: 18px;
  padding: 14px 15px;
  background: #fff;
  color: #1b1b1d;
  font: inherit;
  font-weight: 400;
  outline: none;
}

.rc8-booking-field textarea {
  min-height: 88px;
  resize: vertical;
}

.rc8-booking-field input:focus,
.rc8-booking-field textarea:focus {
  border-color: #b7b3ad;
  box-shadow: 0 0 0 3px rgba(27,27,29,.06);
}

.rc8-booking-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 2px;
  padding: 16px 18px;
  border-radius: 20px;
  background: #fff3e8;
}

.rc8-booking-summary span { color: #77736d; font-size: 13px; }
.rc8-booking-summary strong { font-size: 19px; font-weight: 600; }

.rc8-booking-submit {
  position: sticky;
  bottom: max(0px, env(safe-area-inset-bottom));
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: 20px;
  background: #171717;
  color: #fff;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(0,0,0,.16);
}

.rc8-booking-item-room-source {
  display: none !important;
}

.rc8-booking-submit-room {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 99;
  width: auto;
  min-height: 72px;
  padding: 11px 16px 11px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
}

.rc8-booking-submit-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.rc8-booking-submit-copy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
  line-height: 1.15;
  font-weight: 650;
}

.rc8-booking-submit-copy small {
  color: rgba(255,255,255,.72);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 450;
}

.rc8-booking-submit-action {
  flex: 0 0 auto;
  padding-left: 14px;
  border-left: 1px solid rgba(255,255,255,.18);
  font-size: 15px;
  font-weight: 650;
}

.rc8-booking-submit:disabled { opacity: .5; }

.rc8-booking-message {
  min-height: 20px;
  margin: 0;
  color: #77736d;
  font-size: 13px;
}

.rc8-booking-message[data-tone="error"] { color: #b34437; }
.rc8-booking-message[data-tone="success"] { color: #14844b; }

.rc8-booking-success {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 34px 10px 14px;
  text-align: center;
}

.rc8-booking-success-mark {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e8f6ed;
  color: #14844b;
  font-size: 34px;
}

.rc8-booking-success h3 {
  margin: 0;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -.04em;
}

.rc8-booking-success p {
  max-width: 430px;
  margin: 0;
  color: #77736d;
  line-height: 1.5;
}

.rc8-booking-reference {
  padding: 10px 14px;
  border-radius: 999px;
  background: #f1f1ef;
  font-weight: 600;
}

.rc8-booking-success button {
  min-width: 180px;
  min-height: 52px;
  border: 0;
  border-radius: 18px;
  background: #171717;
  color: #fff;
  font: inherit;
  font-weight: 600;
}

@media (max-width: 540px) {
  .rc8-booking-grid { grid-template-columns: 1fr; }
  .rc8-booking-field.wide { grid-column: auto; }
  .rc8-booking-sheet {
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    padding-left: 18px;
    padding-right: 18px;
  }
  .rc21-unit-head { align-items: flex-start; flex-wrap: wrap; }
}
