.checkout { max-width: 760px; }
.checkout .brand { width: 174px; min-width: 0; color: inherit; text-decoration: none; }
.checkout .brand img { display: block; width: 100%; height: auto; }
.checkout .masthead nav { flex-shrink: 0; }
@media (max-width: 480px) { .checkout .brand { width: 151px; } }
.checkout h2 { margin: 0 0 12px; font: 700 1.35rem Georgia, serif; }
.checkout h3 { margin: 18px 0 5px; font-size: 1rem; }
.checkout section { margin-block: 16px; padding: clamp(14px, 4vw, 22px); background: #fffdf8; border: 1px solid #e5d8c7; border-radius: 12px; }
.checkout-dates, .quantity-control { display: flex; align-items: center; gap: 8px; }
.checkout-dates { flex-wrap: wrap; }
#delivery-date { width: 100%; min-height: 46px; color: #2e261e; background: #f8f2e5; border: 1px solid #8d3226; border-radius: 5px; padding: 8px 12px; font: inherit; }
.checkout-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; min-height: 62px; border-bottom: 1px solid #ece2d5; }
.checkout-row small { display: block; color: #654c3d; margin-top: 3px; }
.checkout-row button { min-width: 44px; min-height: 44px; }
.quantity-control span { min-width: 2ch; text-align: center; font-variant-numeric: tabular-nums; }
.checkout .order-fields { margin-bottom: 14px; }
.checkout textarea { display: block; width: 100%; margin-top: 8px; font: inherit; }
.checkout #subtotal { font-weight: 700; }
.checkout #fee, .checkout #contact { color: #654c3d; font-size: .88rem; }
.checkout-submit { width: 100%; min-height: 46px; }
.checkout #cart:empty { display: none; }
.checkout #notice:empty, .checkout #fee:empty { display: none; }
.checkout #notice.order-issue { padding: 10px; background: #fff0e6; border-radius: 6px; }
.checkout-date-change { margin-top: 12px; padding: 12px; border: 1px solid #e5d8c7; border-radius: 8px; background: #f8f2e5; }
.checkout-date-change p { margin-top: 0; }
.checkout-shortcut { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; margin: 0 0 12px; padding: 8px 10px; background: #f8f2e5; border: 1px solid #e5d8c7; border-radius: 8px; }
.checkout-shortcut span { font-size: .875rem; font-weight: 650; }
.checkout-shortcut button { min-height: 44px; font-size: .875rem; font-weight: 650; }
#details-title { scroll-margin-top: 16px; }
[data-featured] { scroll-margin-top: 12px; }

.checkout .saigon-method { grid-column: 1 / -1; min-width: 0; }

#receipt { max-width: 584px; margin-inline: auto; padding: clamp(16px, 5vw, 26px); background: #fffcf6; border-color: #e3d7c6; border-radius: 16px; color: #2e261e; }
#receipt h1 { margin: 0 0 8px; font: normal clamp(1.7rem, 7vw, 2.1rem)/1.15 Georgia, serif; }
#receipt h2 { margin: 0 0 7px; color: #8d3226; font: 700 .875rem/1.4 Arial, sans-serif; letter-spacing: .075em; text-transform: uppercase; }
#receipt section { margin: 16px 0; padding: 14px; background: #f6ebdd; border: 0; border-radius: 12px; }
#receipt .receipt-payment { background: #faf3e8; }
#receipt .receipt-summary { padding: 0; background: transparent; }
#receipt .receipt-date { font-size: 1.125rem; font-weight: 700; }
#receipt .receipt-reference, #receipt .receipt-muted, #receipt .receipt-bank-details,
#receipt .receipt-totals, #receipt .receipt-footer { color: #655448; font-size: .875rem; }
#receipt .receipt-bank-name { font-weight: 700; }
#receipt .receipt-rows { margin: 0; }
#receipt .receipt-rows > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 4px 0; }
#receipt .receipt-rows dt, #receipt .receipt-bank-details dd { overflow-wrap: anywhere; }
#receipt .receipt-rows dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
#receipt .receipt-items dd, #receipt .receipt-totals dd { white-space: nowrap; }
#receipt .receipt-bank-details > div { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
#receipt .receipt-totals { margin-top: 8px; padding-top: 6px; border-top: 1px solid #e3d7c6; }
#receipt .receipt-total { color: #8d3226; font-size: 1.125rem; font-weight: 700; }
#receipt .receipt-payment button { margin-top: 8px; }
#receipt button:not(.primary) { min-height: 44px; background: #fffcf6; border-color: #ceb99e; color: #563921; }
#receipt .receipt-footer { margin-top: 12px; }
#receipt .receipt-signature { font-family: Georgia, serif; font-style: italic; }
#receipt [role="status"]:empty { display: none; }
#receipt form:not([hidden]) { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; margin-top: 12px; }
#receipt form label { display: grid; gap: 5px; flex: 1 1 220px; min-width: 0; }
#receipt form input, #receipt textarea { width: 100%; box-sizing: border-box; }
#receipt p { overflow-wrap: anywhere; }

.checkout-product {scroll-margin-top:108px}
.checkout-product-heading {display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:24px}
.checkout-product-heading img {width:64px;height:64px;object-fit:cover;border-radius:8px}
.checkout-product-heading h3 {margin:0;flex:1}
.featured-caption {font-size:.8rem;color:#475569;width:100%;margin-top:-4px}
.product-shortcuts {display:flex;flex-wrap:wrap;justify-content:flex-start;gap:6px;position:sticky;top:0;z-index:2;background:#fffdf8;padding:8px 0;border-bottom:1px solid #ece2d5}
.product-shortcuts button {font-size:.875rem;min-height:44px}
.product-shortcuts button[aria-pressed=true] {background:#dbeafe;color:#1e40af;border-color:#93b4e8;font-weight:650}
.checkout-shortcut {top:auto;bottom:8px;z-index:3;box-shadow:0 3px 14px #0f172a12}
#cart-shortcut {margin-bottom:10px}
@media(max-width:500px) {.product-shortcuts {position:static} .checkout-product {scroll-margin-top:12px} .checkout-shortcut {bottom:0}}
