.book-order-modal,
.book-order-modal * {
  box-sizing: border-box;
}

.book-order-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.book-order-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.book-order-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 5, 7, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.book-order-dialog {
  position: relative;
  width: min(100%, 520px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 32px;
  color: #f7f7f7;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: #121418;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  transform: translateY(10px);
  transition: transform 180ms ease;
}

.book-order-modal.is-open .book-order-dialog {
  transform: translateY(0);
}

.book-order-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  color: rgba(255, 255, 255, 0.65);
  font: 400 24px/1 Arial, sans-serif;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: color 150ms ease, background 150ms ease;
}

.book-order-close:hover,
.book-order-close:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.11);
  outline: none;
}

.book-order-kicker {
  display: block;
  margin: 0 48px 9px 0;
  color: #f29620;
  font: 700 12px/1.3 Arial, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.book-order-title {
  margin: 0 48px 8px 0;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.book-order-description {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.58);
  font: 400 15px/1.5 Arial, sans-serif;
}

.book-order-options {
  display: grid;
  gap: 8px;
}

.book-order-option {
  --order-icon-size: 26px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 10px 14px 10px 10px;
  color: #f7f7f7;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 150ms ease, background 150ms ease;
}

.book-order-option:hover,
.book-order-option:focus-visible {
  color: #fff;
  border-color: rgba(242, 150, 32, 0.55);
  background: rgba(242, 150, 32, 0.06);
  outline: none;
}

.book-order-option.is-recommended {
  border-color: rgba(242, 150, 32, 0.62);
  background: rgba(242, 150, 32, 0.045);
  box-shadow: inset 0 0 0 1px rgba(242, 150, 32, 0.05);
}

.book-order-option.is-recommended:hover,
.book-order-option.is-recommended:focus-visible {
  border-color: rgba(242, 150, 32, 0.9);
  background: rgba(242, 150, 32, 0.085);
}

.book-order-icon-wrap {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
}

.book-order-icon {
  display: block;
  width: var(--order-icon-size);
  height: var(--order-icon-size);
  object-fit: contain;
}

.book-order-option-copy {
  min-width: 0;
}

.book-order-option-label,
.book-order-option-note {
  display: block;
}

.book-order-option-meta {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
  margin-top: 3px;
}

.book-order-option-label {
  overflow: hidden;
  color: inherit;
  font: 500 15px/1.25 Arial, sans-serif !important;
  text-overflow: ellipsis;
  white-space: nowrap !important;
}

.book-order-option-note {
  color: rgba(255, 255, 255, 0.43);
  font: 400 12px/1.25 Arial, sans-serif;
}

.book-order-recommended {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 17px;
  padding: 2px 6px;
  color: #f5a43a;
  border: 1px solid rgba(242, 150, 32, 0.34);
  border-radius: 999px;
  background: rgba(242, 150, 32, 0.075);
  font: 700 8px/1 Arial, sans-serif;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.book-order-arrow {
  color: #f29620;
  font: 400 20px/1 Arial, sans-serif;
  text-align: right;
}

.book-order-option.is-disabled {
  opacity: 0.36;
  cursor: not-allowed;
  pointer-events: none;
}

.book-order-option.is-disabled .book-order-arrow {
  color: rgba(255, 255, 255, 0.35);
}

.book-order-status {
  min-height: 18px;
  margin: 12px 0 0;
  color: rgba(242, 150, 32, 0.9);
  font: 400 12px/1.4 Arial, sans-serif;
  text-align: center;
}

body.book-order-modal-open {
  overflow: hidden;
}

@media (max-width: 575px) {
  .book-order-modal {
    align-items: end;
    padding: 10px;
  }

  .book-order-dialog {
    width: 100%;
    max-height: calc(100dvh - 20px);
    padding: 26px 18px 18px;
    border-radius: 18px;
  }

  .book-order-close {
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
  }

  .book-order-kicker {
    margin-right: 42px;
    font-size: 11px;
  }

  .book-order-title {
    margin-right: 42px;
    font-size: 24px;
  }

  .book-order-description {
    margin-bottom: 20px;
    font-size: 14px;
  }

  .book-order-option {
    grid-template-columns: 36px minmax(0, 1fr) 18px;
    gap: 10px;
    min-height: 58px;
    padding: 9px 12px 9px 9px;
  }

  .book-order-icon-wrap {
    width: 36px;
    height: 36px;
  }

  .book-order-option-label {
    font-size: 14px !important;
  }

  .book-order-option-meta {
    gap: 5px;
  }

  .book-order-option-note {
    font-size: 11px;
  }

  .book-order-recommended {
    min-height: 16px;
    padding-inline: 5px;
    font-size: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .book-order-modal,
  .book-order-dialog,
  .book-order-option {
    transition: none;
  }
}
