.book-order-lock {
  overflow: hidden;
}

.book-order-dialog {
  width: min(92vw, 540px);
  max-height: 90vh;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 24px;
  color: #2c2417;
  background: #fffdf8;
  box-shadow: 0 24px 80px rgba(44, 36, 23, 0.28);
}

.book-order-dialog::backdrop {
  background: rgba(35, 43, 32, 0.62);
  backdrop-filter: blur(3px);
}

.book-order-card {
  position: relative;
  padding: 42px;
  text-align: center;
}

.book-order-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #3d5c3b;
  background: transparent;
  font: 300 32px/1 Arial, sans-serif;
  cursor: pointer;
}

.book-order-close:hover,
.book-order-close:focus-visible {
  background: #edf2e9;
  outline: none;
}

.book-order-eyebrow {
  margin: 0 0 8px;
  color: #5c7a5a;
  font: 600 12px/1.4 Montserrat, sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.book-order-title {
  margin: 0;
  font: 400 clamp(30px, 6vw, 40px)/1.05 "Cormorant Garamond", Georgia, serif;
}

.book-order-format {
  margin: 10px 0 28px;
  color: #645d51;
  font: 400 14px/1.5 Montserrat, sans-serif;
}

.book-order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid #ded9cf;
  border-bottom: 1px solid #ded9cf;
}

.book-order-label {
  margin: 0;
  font: 500 14px/1.4 Montserrat, sans-serif;
}

.book-order-stepper {
  display: grid;
  grid-template-columns: 44px 58px 44px;
  align-items: center;
  overflow: hidden;
  border: 1px solid #91a68b;
  border-radius: 999px;
  background: #fff;
}

.book-order-stepper button {
  height: 44px;
  padding: 0;
  border: 0;
  color: #3d5c3b;
  background: transparent;
  font: 400 24px/1 Montserrat, sans-serif;
  cursor: pointer;
}

.book-order-stepper button:hover,
.book-order-stepper button:focus-visible {
  background: #edf2e9;
  outline: none;
}

.book-order-quantity {
  width: 58px;
  height: 44px;
  padding: 0;
  border: 0;
  border-inline: 1px solid #d4ded0;
  border-radius: 0;
  color: #2c2417;
  background: #fff;
  text-align: center;
  font: 500 16px/1 Montserrat, sans-serif;
  appearance: textfield;
}

.book-order-quantity::-webkit-inner-spin-button,
.book-order-quantity::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.book-order-summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 18px 0;
  font: 500 14px/1.4 Montserrat, sans-serif;
}

.book-order-checkout {
  display: block;
  width: 100%;
  padding: 16px 24px;
  border-radius: 999px;
  color: #fff;
  background: #3d5c3b;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font: 600 13px/1.3 Montserrat, sans-serif;
  box-sizing: border-box;
}

.book-order-checkout:hover,
.book-order-checkout:focus-visible {
  background: #2f492e;
  outline: 3px solid rgba(92, 122, 90, 0.28);
  outline-offset: 3px;
}

.book-order-note {
  margin: 14px 0 0;
  color: #6e675b;
  font: 400 12px/1.5 Montserrat, sans-serif;
}

@media (max-width: 520px) {
  .book-order-card { padding: 38px 24px 28px; }
  .book-order-row { align-items: flex-start; flex-direction: column; }
}
