.order-dialog { width: min(560px, calc(100% - 24px)); }
.order-dialog .order-stepper { padding: 0; gap: 0; }
.order-dialog .order-stepper button, .order-dialog .order-remove { width: 44px; height: 44px; }
.order-dialog .order-quantity { min-width: 1.2rem; }
.order-dialog .order-item { display: grid; grid-template-columns: minmax(0, 1fr) auto 44px; gap: .35rem; }
.order-dialog .order-item-info { min-width: 0; overflow-wrap: anywhere; }
.order-dialog .order-total { padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.checkout-form { display: grid; gap: 1.15rem; }
.checkout-field { display: grid; gap: .35rem; min-width: 0; }
.checkout-field label, .checkout-form legend { font-size: 1rem; font-weight: 650; }
.checkout-field input, .checkout-field select { box-sizing: border-box; display: block; min-width: 0; width: 100%; min-height: 48px; padding: .65rem .8rem; appearance: none; border: 1px solid #947f72; border-radius: 7px; background: #fffcf7; color: var(--ink); font: 400 1rem/1.35 var(--sans); }
.checkout-field select { padding-right: 2.25rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23685952' stroke-width='1.6'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 20px; background-position: right .65rem center; }
.checkout-field input:disabled, .checkout-field select:disabled { opacity: .7; }
.checkout-field input::placeholder { color: #71615a; }
.checkout-field [aria-invalid="true"] { border-color: var(--wine); }
.checkout-hint { margin: 0; color: var(--soft); font-size: .875rem; line-height: 1.45; }
.checkout-retry, .checkout-direct { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; color: var(--wine); font: 600 .9rem/1.5 var(--sans); text-decoration: underline; text-underline-offset: .2em; }
.checkout-form .payment-choices { margin: 0; }
.checkout-form legend { padding: 0; margin-bottom: .35rem; }
.checkout-form .payment-choice { display: inline-flex; min-height: 44px; padding: .5rem .85rem; margin: 0 .35rem .4rem 0; border-color: #a48d82; font: 550 .93rem/1.4 var(--sans); }
.checkout-form .payment-choice:has(:checked) { border-color: var(--wine); }
.checkout-form .payment-radio { flex: 0 0 1rem; }
.checkout-submit { display: flex; justify-content: center; align-items: center; width: 100%; min-height: 48px; padding: .75rem 1rem; border-radius: 999px; background: var(--wine); color: white; font: 650 1rem/1.45 var(--sans); }
.checkout-submit:hover:not(:disabled) { background: var(--wine-dark); }
.checkout-submit:disabled { background: #776a66; cursor: default; }
.checkout-error:empty { display: none; }
.checkout-error { color: var(--wine-dark); border-left: 3px solid var(--wine); padding-left: .65rem; font-size: .95rem; }
.checkout-alternative { justify-self: center; margin-top: -.8rem; text-align: center; }
.checkout-receipt { display: grid; gap: 1rem; }
.checkout-number { color: var(--wine); font-weight: 700; }
.checkout-summary { margin: 0; padding: .8rem 0 .8rem 1.25rem; border-block: 1px solid var(--line); }
.checkout-receipt .checkout-submit { margin-top: .5rem; }
@media (max-width: 480px) {
  .order-dialog { padding: 1.6rem 1rem; }
  .dialog-close { width: 44px; height: 44px; }
}
