.book-order-form {
  --order-border: #aab7a8;
  --order-focus: #946825;
  padding: clamp(21px, 2.8vw, 34px);
}
.book-order-section:has(.book-order-form) { align-items: start; }
.book-order-form [hidden] { display: none !important; }
.book-order-form__eyebrow { margin-bottom: 15px; }
.book-order-form h3 { margin-bottom: 17px; font-size: clamp(29px, 2.6vw, 38px); line-height: 1.12; }
.book-order-form h3 em { color: #456c6b; }
.book-order-form__edition { margin-bottom: 22px; font-size: 12px; line-height: 1.7; color: var(--muted); }
.book-order-form__intro { margin-bottom: 26px; font-size: 15px; line-height: 1.75; color: var(--muted); }
.book-order-form__form { margin: 0; }
.book-order-form__fields,
.book-order-form__delivery,
.book-order-form__address { border: 0; padding: 0; margin: 0; min-width: 0; }
.book-order-form__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.book-order-form__field { min-width: 0; margin-bottom: 20px; }
.book-order-form__field > label,
.book-order-form__delivery > legend,
.book-order-form__address > legend { display: block; margin-bottom: 8px; padding: 0; font-size: 14px; font-weight: 600; line-height: 1.5; color: var(--ink); }
.book-order-form input:not([type="radio"]),
.book-order-form textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid var(--order-border);
  border-radius: 6px;
  background: #fffdf8;
  color: var(--ink);
  font: 16px/1.5 var(--sans);
  box-shadow: none;
}
.book-order-form textarea { min-height: 110px; resize: vertical; }
.book-order-form input:focus-visible,
.book-order-form textarea:focus-visible,
.book-order-form summary:focus-visible,
.book-order-form__success:focus-visible,
.book-order-form__error:focus-visible { outline: 3px solid var(--order-focus); outline-offset: 3px; }
.book-order-form input[aria-invalid="true"] { border-color: var(--error); }
.book-order-form__hint { margin: 7px 0 0; font-size: 12px; line-height: 1.65; color: var(--muted); }
.book-order-form__quantity-line { display: flex; align-items: center; gap: 16px; }
.book-order-form__quantity-line input { flex: 0 0 90px; width: 90px !important; }
.book-order-form__quantity-line > span { font-size: 14px; color: var(--muted); }
.book-order-form__delivery { margin-bottom: 22px; }
.book-order-form__delivery > legend { margin-bottom: 11px; }
.book-order-form__choice {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 11px;
  margin-bottom: 10px;
  padding: 14px;
  border: 1px solid var(--order-border);
  border-radius: 7px;
  background: #fffdf8;
  cursor: pointer;
}
.book-order-form__choice:has(input:checked) { border-color: var(--ink); background: #eef1e6; box-shadow: inset 0 0 0 1px var(--ink); }
.book-order-form__choice input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--ink); }
.book-order-form__choice strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.5; }
.book-order-form__choice small { display: block; margin-top: 3px; font-size: 12px; line-height: 1.6; color: var(--muted); }
.book-order-form__address { margin-bottom: 2px; padding-top: 5px; }
.book-order-form__row--address { grid-template-columns: minmax(90px, .7fr) minmax(0, 1.3fr); }
.book-order-form__remarks { margin-bottom: 24px; }
.book-order-form__remarks > summary { min-height: 44px; padding-block: 10px; color: var(--ink); font-size: 13px; line-height: 1.65; cursor: pointer; }
.book-order-form__remarks > summary > span { color: var(--muted); }
.book-order-form__remarks .book-order-form__field { margin: 8px 0 0; }
.book-order-form__summary { margin: 0 0 23px; padding: 19px 20px; background: #eeeede; border: 1px solid #d2d9c5; border-radius: 7px; }
.book-order-form__summary-title { margin-bottom: 15px; font: 24px/1.25 var(--serif); letter-spacing: -.025em; }
.book-order-form__summary dl { margin: 0; }
.book-order-form__summary dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 17px; padding: 6px 0; font-size: 14px; line-height: 1.6; }
.book-order-form__summary dt { min-width: 0; }
.book-order-form__summary dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.book-order-form__summary .book-order-form__total { margin-top: 11px; padding-top: 14px; border-top: 1px solid #cbd3be; font-weight: 600; }
.book-order-form__summary .book-order-form__total dd { font-size: 19px; }
.book-order-form__summary .book-order-form__hint { margin-top: 12px; }
.book-order-form__privacy { margin: 0 0 18px; font-size: 12px; line-height: 1.7; color: var(--muted); }
.book-order-form__submit { width: 100%; min-height: 52px; justify-content: space-between; gap: 20px; }
.book-order-form__submit:disabled { cursor: wait; }
.book-order-form__submit[aria-busy="true"] > [aria-hidden] { animation: order-pulse 1.1s ease-in-out infinite alternate; }
.book-order-form__payment-note { margin-top: 14px; }
.book-order-form__error { margin: 0 0 20px; border-left: 3px solid var(--error); border-radius: 3px; padding: 13px 15px; background: #f7e9e0; color: #772822; font-size: 14px; line-height: 1.7; }
.book-order-form__error--pending { border-color: var(--ink); background: #eeeede; color: var(--ink); }
.book-order-form__success { padding: 5px 0 0; }
.book-order-form__success-mark { display: inline-flex; align-items: center; justify-content: center; width: 43px; height: 43px; margin-bottom: 20px; border: 1px solid #647e64; border-radius: 50%; background: #e6eddc; color: #365636; font-size: 24px; }
.book-order-form__success h4 { margin: 0 0 19px; font: 30px/1.2 var(--serif); letter-spacing: -.025em; }
.book-order-form__success p { margin-bottom: 16px; font-size: 15px; line-height: 1.75; color: var(--muted); }
.book-order-form__success strong { color: var(--ink); overflow-wrap: anywhere; }
.book-order-form__success .book-order-form__success-details { padding: 16px; border: 1px solid #d2d9c5; border-radius: 6px; background: #eeeede; color: var(--ink); }
.book-order-form__success .book-order-form__reference { margin-top: 25px; margin-bottom: 0; font-size: 11px; overflow-wrap: anywhere; }
.book-order-form__fallback { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.75; }
.book-order-form__noscript { font-size: 13px; line-height: 1.8; color: var(--muted); }
.book-order-form__sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@keyframes order-pulse { from { opacity: .4; } to { opacity: 1; } }
@media (max-width: 1000px) { .book-order-form { padding: 24px 21px; } .book-order-form__row { gap: 12px; } }
@media (max-width: 650px) {
  .book-order-form { padding: 26px 19px; }
  .book-order-form h3 { font-size: 32px; }
  .book-order-form__row:not(.book-order-form__row--address) { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .book-order-form__summary { padding: 17px 15px; }
  .book-order-form__summary dl > div { font-size: 13px; gap: 12px; }
  .book-order-form__summary .book-order-form__total dd { font-size: 18px; }
  .book-order-form__choice { padding: 13px 12px; }
}
@media (prefers-reduced-motion: reduce) { .book-order-form__submit[aria-busy="true"] > [aria-hidden] { animation: none; } }

.book-order-form__payment { margin-top: 22px; padding-top: 23px; border-top: 1px solid var(--line); }
.book-order-form__payment h5 { margin: 0 0 13px; font: 25px/1.25 var(--serif); color: var(--ink); letter-spacing: -.025em; }
.book-order-form__pay-button { display: flex; justify-content: space-between; gap: 16px; width: 100%; min-height: 54px; }
.book-order-form__success .book-order-form__hint { font-size: 12px; line-height: 1.65; margin-top: 12px; }
.book-order-form__qr { margin: 20px 0 23px; }
.book-order-form__qr summary { min-height: 44px; padding-block: 10px; font-size: 13px; cursor: pointer; color: var(--ink); }
.book-order-form__qr img { display: block; width: 230px; max-width: 100%; height: auto; margin: 16px 0 13px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.book-order-form__success .book-order-form__qr p { max-width: 28em; font-size: 12px; line-height: 1.65; }
.book-order-form__qr summary:focus-visible, .book-order-form__qr a:focus-visible { outline: 3px solid var(--order-focus); outline-offset: 3px; }
