/* Mobile-first cart and checkout preview. */
.cart-delivery-preview{display:flex;align-items:flex-start;gap:12px;margin:12px 0 4px;padding:14px;background:#fff8;border:1px solid var(--shadow);border-radius:16px}
.cart-delivery-icon{width:36px;height:36px;display:grid;place-items:center;flex:0 0 36px;border-radius:50%;background:var(--hero);color:var(--red)}
.cart-delivery-icon svg{width:20px;height:20px}
.cart-delivery-preview strong{display:block;font-family:var(--display);font-weight:400;font-size:16px;line-height:1.2}
.cart-delivery-preview p{margin-top:4px;font-size:12px;line-height:1.45;color:#80604d}
.cart-total-note{margin-top:3px;font-size:11px;line-height:1.45;color:#80604d}
.cart-footer .primary svg{width:18px;height:18px;margin-left:auto}

.checkout-progress{position:sticky;top:calc(var(--order-header-height) + 65px);z-index:14;padding:12px 20px 11px;background:var(--cream);border-bottom:1px solid #d8c8b56b;box-shadow:0 4px 8px #50231408}
.checkout-progress-copy{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;color:#80604d}
.checkout-progress-copy strong{font-family:var(--display);font-weight:400;font-size:13px;color:var(--brown)}
.checkout-progress-track{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;height:5px;margin-top:9px}
.checkout-progress-track span{display:block;height:100%;border-radius:100px;background:#d9c8b4;transition:background .2s ease}
.checkout-progress-track span.is-active{background:var(--red)}
.checkout-flow{padding-top:28px;padding-bottom:calc(var(--order-nav-offset) + 28px)}
.checkout-step-heading{display:flex;align-items:flex-start;gap:12px;margin-bottom:20px}
.checkout-step-icon{width:40px;height:40px;display:grid;place-items:center;flex:0 0 40px;border-radius:13px;background:var(--hero);color:var(--red)}
.checkout-step-icon svg{width:22px;height:22px}
.checkout-step-heading h2{font-size:25px;line-height:1.08}
.checkout-step-heading p{margin-top:5px;font-size:12px;line-height:1.45;color:#80604d}
.checkout-flow .journey-field{margin:14px 0}
.checkout-flow .checkout-address-row{grid-template-columns:96px minmax(0,1fr);gap:10px}
.checkout-number-field{min-width:0}
.checkout-number-field .journey-field{margin-bottom:7px}
.checkout-number-field input[readonly]{background:var(--hero);color:#80604d}
.checkout-no-number{display:flex;align-items:center;gap:7px;width:max-content;min-height:32px;font-family:var(--sans);font-size:12px;color:#6f4b3a;cursor:pointer}
.checkout-no-number input{width:18px;height:18px;margin:0;accent-color:var(--red)}
.checkout-postal{max-width:180px}
.checkout-trust-note{margin:12px 5px 0!important;text-align:center;font-size:11px!important;line-height:1.45!important;color:#80604d}

.checkout-address-card{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:14px;background:#fff8;border:1px solid var(--shadow);border-radius:16px;margin-bottom:14px}
.checkout-address-card>div{display:flex;align-items:flex-start;gap:10px;min-width:0}
.checkout-address-card svg{width:20px;height:20px;flex:0 0 20px;color:var(--red)}
.checkout-address-card strong{display:block;font-family:var(--display);font-weight:400;font-size:16px}
.checkout-address-card p,.checkout-review-section>p{margin-top:4px;font-size:12px;line-height:1.5;overflow-wrap:anywhere;color:#6f4b3a}
.checkout-address-card .text-button{min-height:26px;flex-shrink:0}
.checkout-delivery-card{display:flex;align-items:center;gap:13px;padding:14px 15px;background:var(--brown);color:var(--cream);border-radius:16px;margin-bottom:20px}
.checkout-delivery-card>.checkout-delivery-icon{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:13px;background:#ffffff12;color:var(--yellow)}
.checkout-delivery-card>.checkout-delivery-icon svg{width:22px;height:22px}
.checkout-delivery-card>div{min-width:0}
.checkout-delivery-badge{display:inline-block;padding:5px 9px;border-radius:100px;background:var(--yellow);color:var(--brown);font-family:var(--display);font-size:11px}
.checkout-delivery-card h3{margin-top:7px;font-size:21px;line-height:1.05}
.checkout-delivery-card p{margin-top:4px;font-size:11px;line-height:1.4;color:#f5e8d5}
.checkout-actions{display:grid;grid-template-columns:100px minmax(0,1fr);gap:10px;margin-top:18px}
.checkout-actions button{margin:0!important;min-width:0}

.checkout-review-section{padding:16px 0;border-bottom:1px solid var(--shadow)}
.checkout-review-section:first-of-type{padding-top:0}
.checkout-review-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.checkout-review-heading h3{font-size:20px}
.checkout-review-heading .text-button{min-height:30px}
.checkout-review-section .review-items{margin-bottom:0}
.checkout-review-section .review-items li:last-child{border-bottom:0;padding-bottom:0}
.checkout-pending-quote{display:grid;grid-template-columns:1fr auto;gap:7px 12px;margin-top:13px;padding:12px;border-radius:12px;background:var(--hero);font-size:12px}
.checkout-pending-quote strong{font-family:var(--display);font-weight:400;color:var(--red)}
.checkout-payment-choice{display:flex;align-items:center;gap:12px;padding:15px;margin:18px 0 0;border:1.5px solid var(--red);border-radius:16px;background:#fff8}
.checkout-payment-logo{display:grid;place-items:center;width:48px;height:36px;flex:0 0 48px;border-radius:9px;background:#e7f7f5;color:#087e78;font-family:var(--display);font-size:13px}
.checkout-payment-choice strong{display:block;font-family:var(--display);font-weight:400;font-size:16px}
.checkout-payment-choice p{margin-top:3px;font-size:11px;line-height:1.4;color:#80604d}
.checkout-final-totals{margin-top:18px;padding:15px;border-radius:16px;background:var(--hero)}
.checkout-final-totals>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:5px 0;font-size:13px}
.checkout-final-totals strong{font-weight:400}
.checkout-final-totals .checkout-final-total{border-top:1px solid var(--shadow);margin-top:7px;padding-top:13px;font-family:var(--display);font-size:20px}
.checkout-final-total strong{color:var(--red)}

/* Final review inspired by the clarity of food-delivery checkouts. */
.checkout-review-flow{display:flex;flex-direction:column;gap:14px;padding-top:20px}
.checkout-review-hero{display:flex;align-items:center;gap:13px;padding:16px;border-radius:20px;background:linear-gradient(135deg,#fff8ed 0%,#f2dfbf 100%);border:1px solid #ead6b8}
.checkout-review-hero-icon{display:grid;place-items:center;width:46px;height:46px;flex:0 0 46px;border-radius:15px;background:var(--red);color:#fff}
.checkout-review-hero-icon svg{width:23px;height:23px}
.checkout-review-hero>div>span,.checkout-section-label{display:block;font-family:var(--sans);font-size:10px;line-height:1;text-transform:uppercase;letter-spacing:.7px;color:#916d56;font-weight:700}
.checkout-review-hero h2{margin-top:5px;font-size:24px;line-height:1.05}
.checkout-review-hero p{margin-top:5px;font-size:12px;line-height:1.4;color:#6f4b3a}
.checkout-review-card{padding:17px;background:#fffaf4;border:1px solid #eadcc9;border-radius:20px;box-shadow:0 3px 0 #d8c8b566}
.checkout-review-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.checkout-review-heading h3{margin-top:5px;font-size:20px;line-height:1.1}
.checkout-edit-button{min-height:34px;padding:7px 11px;border-radius:100px;background:#f8e8d3;color:var(--red);font-family:var(--display);font-size:12px}
.checkout-product-list{list-style:none;margin:13px 0 0;padding:0}
.checkout-review-product{display:grid;grid-template-columns:68px minmax(0,1fr) auto;align-items:center;gap:11px;padding:13px 0;border-top:1px solid #eadcc9}
.checkout-review-product:first-child{border-top:0;padding-top:3px}
.checkout-review-product:last-child{padding-bottom:0}
.checkout-product-visual{position:relative;width:68px;height:68px;border-radius:15px;background:#f4e6d1;display:grid;place-items:center}
.checkout-product-visual img{width:62px;height:62px;object-fit:contain}
.checkout-product-visual span{position:absolute;right:-4px;top:-5px;display:grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border:2px solid #fffaf4;border-radius:100px;background:var(--brown);color:#fff;font-family:var(--sans);font-size:11px;font-weight:700}
.checkout-product-copy{min-width:0}
.checkout-product-copy strong{display:block;font-family:var(--sans);font-size:14px;line-height:1.25;font-weight:700;color:var(--brown)}
.checkout-product-copy p{margin-top:4px;font-family:var(--sans);font-size:10px;line-height:1.35;color:#8a6955;overflow-wrap:anywhere}
.checkout-review-product>b{align-self:start;padding-top:4px;font-family:var(--sans);font-size:13px;white-space:nowrap;color:var(--brown)}
.checkout-info-row{display:flex;align-items:flex-start;gap:10px;margin-top:15px}
.checkout-info-icon{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:11px;background:#f6e5ce;color:var(--red)}
.checkout-info-icon svg{width:18px;height:18px}
.checkout-info-row p{font-family:var(--sans);font-size:12px;line-height:1.5;color:#6f4b3a;padding-top:1px;overflow-wrap:anywhere}
.checkout-free-delivery{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:13px;padding:10px 12px;border-radius:13px;background:#edf7e9;color:#386b31;font-family:var(--sans);font-size:12px}
.checkout-free-delivery span{display:flex;align-items:center;gap:7px}
.checkout-free-delivery svg{width:17px;height:17px}
.checkout-free-delivery strong{font-size:13px}
.checkout-speed-options{display:grid;gap:9px;margin-top:14px}
.checkout-speed-option{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-height:58px;padding:10px 12px;border:1.5px solid #e3d4c0;border-radius:15px;background:#fff;text-align:left;color:var(--brown);transition:border-color .18s,background .18s,box-shadow .18s}
.checkout-speed-option.is-selected{border-color:var(--red);background:#fff8f4;box-shadow:0 2px 0 #cc200018}
.checkout-speed-check{display:grid;place-items:center;width:22px;height:22px;border:1.5px solid #c7b39e;border-radius:50%;color:#fff;font-family:var(--sans);font-size:12px;font-weight:800}
.checkout-speed-option.is-selected .checkout-speed-check{border-color:var(--red);background:var(--red)}
.checkout-speed-option>span:nth-child(2){min-width:0}
.checkout-speed-option strong,.checkout-speed-option small{display:block;font-family:var(--sans)}
.checkout-speed-option strong{font-size:13px;line-height:1.2;font-weight:700}
.checkout-speed-option small{margin-top:3px;font-size:10px;line-height:1.25;color:#80604d}
.checkout-speed-option b{font-family:var(--sans);font-size:12px;white-space:nowrap;color:var(--red)}
.checkout-speed-option:first-child b{color:#397334}
.checkout-contact-review>p{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;padding-top:13px;border-top:1px solid #eadcc9;font-family:var(--sans);font-size:12px;color:#7b5a45}
.checkout-contact-review>p strong{font-size:13px;color:var(--brown)}
.checkout-contact-review>.checkout-contact-email{display:block;margin-top:6px;padding-top:0;border-top:0;overflow-wrap:anywhere}
.checkout-payment-review{padding-bottom:15px}
.checkout-pix-option{display:flex;align-items:center;gap:12px;margin-top:14px;padding:13px;border:1.5px solid var(--red);border-radius:16px;background:#fff}
.checkout-payment-logo{display:grid;place-items:center;width:46px;height:38px;flex:0 0 46px;border-radius:11px;background:#e5f7f5;color:#087e78;font-family:var(--sans);font-size:12px;font-weight:800}
.checkout-pix-option>div{min-width:0;flex:1}
.checkout-pix-option>div strong{display:block;font-family:var(--sans);font-size:14px;color:var(--brown)}
.checkout-pix-option>div p{margin-top:3px;font-family:var(--sans);font-size:10px;color:#80604d}
.checkout-selected-mark{display:grid;place-items:center;width:24px;height:24px;flex:0 0 24px;border-radius:50%;background:var(--red);color:#fff;font-size:14px;font-weight:800}
.checkout-total-card{padding:17px 18px;border-radius:20px;background:var(--brown);color:#fff;box-shadow:0 5px 0 #3b180d24}
.checkout-total-card>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:5px 0;font-family:var(--sans);font-size:12px}
.checkout-total-card>div strong{font-weight:700}
.checkout-total-card .checkout-free-value{color:#aee39f}
.checkout-total-card .checkout-final-total{margin-top:9px;padding-top:14px;border-top:1px solid #ffffff2b;font-family:var(--display);font-size:22px}
.checkout-total-card .checkout-final-total strong{font-size:26px;color:var(--yellow)}
.checkout-payment-footer{position:sticky;bottom:calc(var(--order-nav-offset) + 6px);z-index:12;margin:0 -6px;padding:13px 6px 5px;background:linear-gradient(180deg,#f5ebdc00 0%,var(--cream) 28%,var(--cream) 100%)}
.checkout-payment-footer .journey-full{margin:0;min-height:52px;box-shadow:0 8px 18px #a82a1430;font-size:18px}
.checkout-payment-footer p{margin:8px 6px 0;text-align:center;font-family:var(--sans);font-size:9px;line-height:1.35;color:#80604d}

/* Keep the BK personality in the page title, but make the checkout itself
   calmer and easier to scan, like a modern delivery app. */
.checkout-page .checkout-progress-copy strong,
.checkout-page .checkout-step-heading h2,
.checkout-page .checkout-review-hero h2,
.checkout-page .checkout-review-heading h3,
.checkout-page .checkout-product-copy strong,
.checkout-page .checkout-edit-button,
.checkout-page .checkout-address-card strong,
.checkout-page .checkout-delivery-card h3,
.checkout-page .checkout-payment-choice strong,
.checkout-page .checkout-total-card .checkout-final-total,
.checkout-page .checkout-payment-footer .journey-full{
  font-family:var(--sans);
  font-weight:700;
  letter-spacing:-.015em;
}
.checkout-page .checkout-review-hero h2{font-size:23px;line-height:1.12}
.checkout-page .checkout-review-heading h3{font-size:19px;line-height:1.2}
.checkout-page .checkout-total-card .checkout-final-total{letter-spacing:-.025em}
.checkout-page .checkout-payment-footer .journey-full{font-size:16px;letter-spacing:0}

@media(min-width:600px){
  .checkout-progress,.checkout-flow{padding-inline:24px}
  .checkout-flow .checkout-address-row{grid-template-columns:110px minmax(0,1fr)}
}
@media(max-width:360px){
  .checkout-step-heading h2{font-size:22px}
  .checkout-actions{grid-template-columns:86px minmax(0,1fr)}
  .checkout-actions .primary{font-size:15px;padding-inline:13px}
  .checkout-review-flow{padding-inline:14px}
  .checkout-review-card{padding:14px}
  .checkout-review-product{grid-template-columns:58px minmax(0,1fr)}
  .checkout-product-visual{width:58px;height:58px}
  .checkout-product-visual img{width:53px;height:53px}
  .checkout-review-product>b{grid-column:2;justify-self:start;padding-top:0}
}
@media(max-width:599px){body.ordering-page.mobile-field-focus .checkout-progress{position:static}}
@media(max-width:899px){body.ordering-page{--order-header-height:60px}}
@media(min-width:900px){.checkout-review-flow{max-width:620px;margin-inline:auto}.checkout-payment-footer{bottom:10px}}
@media(prefers-reduced-motion:reduce){.checkout-progress-track span{transition:none}}
