/* Checkout. Ported from the live site's "Checkout Page CSS" snippet. Colours and controls come from site.css ("Shared controls"). */
.checkout-page-section { max-width: 592px; margin: 0 auto; padding: 24px 16px 64px; font-family: "Inter", system-ui, sans-serif; color: #000; } /* 560px of fields: the pinned bar's width (site.css), so the fields and SUBMIT ORDER line up */
.checkout-page-section h2 { font: 700 22px/1.2 "Poppins", "Inter", sans-serif; text-align: center; margin: 4px 0 14px; } /* it is obviously the checkout: a quiet title (Paul 2026-10-22) */
.checkout-page-section h3 { font-size: 24px; margin: 20px 0 8px; }
.co-empty { text-align: center; color: #757575; margin: 32px 0; }
/* "Back to menu" is .btn .btn-primary (added in checkout.js); only its placement here. */
.co-btn { margin-top: 12px; width: fit-content; }

/* Fields: 47px tall, 16px text (iPhone does not zoom), one border */
.co-input { display: block; width: 100%; box-sizing: border-box; height: 47px; margin: 0 0 12px; padding: 0 14px; font: inherit; font-size: 16px; color: #000; background: #fff; border: 1px solid #757575; border-radius: var(--r); }
.co-input:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 1px var(--yellow); } /* one highlight: the yellow of a picked choice, never green with it (Paul 2026-10-22) */
textarea.co-input { height: auto; padding: 12px 14px; resize: vertical; min-height: 84px; }
[hidden] { display: none !important; }
.co-name-row { display: flex; gap: 2%; }
.co-name-row .co-lbl { flex: 1; min-width: 0; }
.co-lbl { display: block; }
.co-lbl > span { display: block; margin: 0 0 4px; font-size: 14px; font-weight: 500; }
.co-lbl .co-input { width: 100%; }
.co-field { margin: 0 0 4px; }
.co-field label, .woocommerce-custom-coupon label { display: block; margin: 8px 0 6px; font-weight: 500; }
.co-field .opt { font-weight: 400; color: #757575; }
.co-field .description { margin: -6px 0 14px; font-size: 14px; font-weight: 400; color: #000; }
.co-alert { margin: -6px 0 12px; color: var(--danger); font-size: 12px; }
.custom-receipt-note { margin: 5px 0 4px; font-size: 14px; color: #757575; }
/* Marketing consent: the product page's meal deal card (.pp .pp-meal, product.css: .pp carries its colours), unticked by
   default (Spam Act: the customer's own tick); the whole card is the tap target. Ticked: the meal deal's picked look, box
   pop and drawn tick, not its glow or shine (Paul 10 Nov: a small satisfying answer, nothing gaudy). */
.pp-meal.co-optin { margin: 2px 0 16px; user-select: none; }
.pp-meal.co-optin.on, .pp-meal.co-optin.on::after { animation: none; }
/* The VIP box's line under the heading: the ask, then once ticked what happens next (checkout/vip.js VIP) */
.co-optin .co-vip-on, .co-optin.on .co-vip-off { display: none; }
.co-optin.on .co-vip-on { display: inline; }
.pp-meal.co-optin:has(input:focus-visible) { outline: 3px solid #1f2937; outline-offset: 2px; }
.co-hint { margin: -6px 0 12px; font-size: 13px; color: #757575; }
.custom-extra-fields { margin-top: 8px; }
#custom_coupon_wrapper { margin-top: 15px; }
.custom-coupon-message { margin: 0 0 8px; font-size: 14px; }
.custom-coupon-message.ok { color: #2d7229; }
.custom-coupon-message.bad { color: var(--danger); }
/* The coupon's tick or cross, inside the box at its right end (checkout.js couponShow) */
.coupon-field { position: relative; }
.coupon-field .co-input { padding-right: 48px; }
/* a gift card: "PIN: _ _ _ _" appears at the right end of the same box (Paul 20 Nov: one box, the code as typed on the left).
   The box is drawn by the field; the two inputs inside it have no border of their own. */
.coupon-field:has(.co-gift-pin:not([hidden])) { display: grid; grid-template-columns: 1fr auto auto; align-items: center; margin: 0 0 12px; height: 47px; box-sizing: border-box; background: #fff; border: 1px solid #757575; border-radius: var(--r); }
.coupon-field:has(.co-gift-pin:not([hidden])):focus-within { border-color: var(--yellow); box-shadow: 0 0 0 1px var(--yellow); }
.coupon-field:has(.co-gift-pin:not([hidden])) .co-input { width: 100%; min-width: 0; height: 45px; margin: 0; border: 0; box-shadow: none; background: transparent; }
.coupon-field .co-gift-pin-lbl { display: none; }
.coupon-field:has(.co-gift-pin:not([hidden])) .co-gift-pin-lbl { display: block; padding-left: 8px; color: #757575; font-size: 16px; white-space: nowrap; }
.coupon-field:has(.co-gift-pin:not([hidden])) .co-gift-pin { width: 6.2em; padding: 0 12px 0 6px; letter-spacing: .35em; font-variant-numeric: tabular-nums; animation: gift-pin-in .22s var(--ease, ease-out); }
.coupon-field:has(.co-gift-pin:not([hidden])) .coupon-mark { display: none; }
@keyframes gift-pin-in { from { opacity: 0; transform: translateX(12px); } }
@media (prefers-reduced-motion: reduce) { .coupon-field .co-gift-pin { animation: none; } }
.coupon-mark { position: absolute; top: 0; right: 14px; height: 47px; display: flex; align-items: center; pointer-events: none; }
.coupon-mark[hidden] { display: none; }
.coupon-mark svg { width: 22px; height: 22px; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.coupon-mark[data-state="ok"] svg { stroke: #2d7229; }
.coupon-mark[data-state="bad"] svg { width: 18px; height: 18px; }
.coupon-mark[data-state="bad"] svg path { stroke: var(--danger); }
/* The delivery instructions grow to their content and fade in when asked for, as a product page's option card opens
   (DESIGN-RULES 7, product.css .pp-set-body). checkout.js fold() adds .open, then .settled once grown, which stops the
   clipping so focus rings show whole. */
.co-fold { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .32s var(--ease); }
.co-fold.open { grid-template-rows: 1fr; }
.co-fold > .co-fold-in { display: flow-root; min-height: 0; overflow: hidden; opacity: 0; transform: translateY(-4px); transition: opacity .2s ease, transform .32s var(--ease); }
.co-fold.open > .co-fold-in { opacity: 1; transform: none; transition-delay: .05s; }
.co-fold.open.settled > .co-fold-in { overflow: visible; }
.co-still .co-fold, .co-still .co-fold > .co-fold-in { transition: none; }
/* Add delivery instructions: closed until tapped (Paul 2026-11-10); the words are the control */
.co-notes-add { display: flex; align-items: center; min-height: 44px; margin: -10px 0 0; padding: 0; border: 0; background: none; color: #1f2937; font: 500 15px Inter, sans-serif; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; transition: transform .12s ease; }
.co-notes-add:active { transform: scale(.97); }
/* it rides up into the address line's empty status row; under a message it keeps its own space */
#co-delivery:has(.dlv-status.dlv-bad, .co-field-err) .co-notes-add { margin-top: 0; }
#co-notes-fold .co-input { margin-top: 4px; }

/* Order type and tip choices: one control style (radius --r). Unpicked = white raised buttons with a dark label (grey read as
   "not available", Paul 2026-10-22); Pick Up / Delivery carry their icons; picked = the yellow outline. */
/* Pick Up / Delivery: the first choice on the page, one switch (Paul 2026-10-22). A white track with an edge; the picked side
   white with the yellow outline and glow (the picked-chip style; no soft yellow fill, no icons: Paul 2026-10-22); both sides in
   full black, so neither reads as unavailable. */
.delivery-container { display: flex; align-items: stretch; gap: 4px; width: 100%; box-sizing: border-box; margin: 0 0 18px; padding: 4px; border: 1.5px solid var(--edge); border-radius: 12px; background: #fff; }
.delivery-container.single .delivery-radio span { cursor: default; }
.delivery-radio { display: block; width: 100%; cursor: pointer; }
.delivery-radio input { display: none; }
.delivery-radio span { display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; box-sizing: border-box; border: 0; border-radius: 9px; background: transparent; color: #111; font: 500 15px/normal "Inter", sans-serif; transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .12s ease; }
.delivery-radio:active span { transform: scale(.97); }
/* a choice, not a step forward: white with a yellow outline (Paul 2026-10-22, picker style B; green is only for moving on) */
.delivery-radio input:checked + span { background: #fff; color: #000; font-weight: 600; box-shadow: 0 0 0 1.5px var(--yellow), 0 4px 14px rgb(255 184 2 / .28); }
@media (max-width: 768px) { .checkout-page-section h3 { font-size: 20px; margin-bottom: 5px; } }

/* Wallets: "Express Checkout" block above the form, as the live site */
.quick-payment-method-container { margin: 0 0 10px; }
.quick-payment-method-container h4 { margin: 0 0 8px; font-size: 18px; font-weight: 500; color: #2d2d2d; }
.quick-payment-method-container .quick-payment-method { margin-bottom: 15px; }
.wallets-container { display: flex; flex-direction: column; gap: 10px; }
.co-wallet:empty, #apple-pay-button:empty, #google-pay-button:empty { display: none !important; }
.co-wallet-btn, .co-apple-pay { display: block; width: 100%; height: 48px; border: 0; border-radius: 8px; background: #000; color: #fff; font: 600 16px "Inter", sans-serif; }
.co-apple-pay { -webkit-appearance: -apple-pay-button; -apple-pay-button-type: plain; -apple-pay-button-style: black; background: #000; }
/* Google Pay: Google's live button fills the box underneath (full size, so the whole box takes the tap) and never shows; our own
   solid graphic sits on top from first paint with pointer-events off, so taps reach Google's button and Google/Square take the payment.
   No flicker while Google loads, and the mark's size is ours: matched to Apple Pay's (about 19px tall in a 48px button). */
.co-gpay { position: relative; height: 48px; border-radius: 8px; overflow: hidden; background: #000; }
#google-pay-button { position: absolute; inset: 0; }
#google-pay-button > * { position: absolute !important; inset: -2px !important; width: calc(100% + 4px) !important; height: calc(100% + 4px) !important; }
.co-gpay > .co-wallet-wait { position: absolute; inset: 0; z-index: 2; pointer-events: none; display: flex; align-items: center; justify-content: center; gap: 4px; background: #000; color: #fff; }
/* "Pay" is the same word in both marks: Safari draws Apple's in the system font (SF Pro) with an ~18px cap height in a 48px button,
   so ours uses the system font at the size that gives the same cap height (SF cap height = 0.70em); the G matches the cap height. */
.co-wallet-wait svg { width: 19px; height: 19px; }
.co-wallet-wait b { font: 500 26px/1 -apple-system, "SF Pro Display", system-ui, Roboto, Arial, sans-serif; letter-spacing: -.02em; }
/* Delivery address chooser (wallet address differs from the one entered): two big tap targets and the yellow X (top right) */
.co-choose { position: fixed; inset: 0; z-index: 2147483000; display: flex; align-items: flex-end; justify-content: center; }
.co-choose-backdrop { position: absolute; inset: 0; background: #0006; animation: co-fade .2s ease; }
.co-choose-card { position: relative; width: 100%; max-width: 520px; background: #fff; border-radius: 16px 16px 0 0; padding: 18px 16px calc(16px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 10px; animation: co-up .32s cubic-bezier(.2,.8,.2,1); }
.co-choose-card > .btn-close { position: absolute; top: 10px; right: 10px; }
.co-choose-card h3 { margin: 0 0 4px; padding: 0 44px; font: 600 18px 'Poppins', 'Inter', sans-serif; text-align: center; }
.co-choose-opt { text-align: left; border: 1.5px solid var(--edge); border-radius: 12px; background: #fff; padding: 12px 14px; min-height: 64px; cursor: pointer; font: inherit; color: #1f2937; transition: transform .12s ease, border-color .15s; }
.co-choose-opt:active:not(:disabled) { transform: scale(.98); border-color: var(--green); }
.co-choose-opt small { display: block; font-size: 13px; color: #6b7280; margin-bottom: 2px; }
.co-choose-opt b { display: block; font-size: 16px; font-weight: 600; }
.co-choose-opt em { display: block; font-style: normal; font-size: 13px; color: var(--danger); margin-top: 4px; }
.co-choose-opt:disabled { opacity: .6; cursor: not-allowed; }
@keyframes co-up { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes co-fade { from { opacity: 0; } }
@media (min-width: 600px) { .co-choose { align-items: center; } .co-choose-card { border-radius: 16px; } }
.seperate-line { display: flex; align-items: center; }
.seperate-line::before, .seperate-line::after { content: ""; flex-grow: 1; border-bottom: 1px solid #d0d0d0; }
.seperate-line p { font-size: 16px; margin: 0 10px; color: #d0d0d0; }

/* Tip row */
.co-tips { margin: 8px 0 16px; }
.wpcot-tip-values { display: flex; gap: 10px; }
/* the four tips on one line with "Custom" whole on the narrowest screens (a 350 phone at 130% text is 269px wide) */
@media (max-width: 299px) { .wpcot-tip-values { gap: 6px; } .wpcot-tip-values .wpcot-tip-value { font-size: 13px; } }
.wpcot-tip-value { flex: 1; min-width: 0; height: 38px; margin: 0; padding: 0; box-sizing: border-box; border: 1.5px solid var(--edge); border-radius: var(--r); background: #fff; color: #111; box-shadow: 0 2px 6px rgb(0 0 0 / .08); font: 500 14px/normal "Inter", sans-serif; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .12s ease; }
.wpcot-tip-value:active { transform: scale(.97); }
.wpcot-tip-value.active { background: #fff; border-color: var(--yellow); color: #000; box-shadow: 0 0 0 1px var(--yellow), 0 4px 14px rgb(255 184 2 / .28); }
.co-tips h3 { font-size: 15px; font-weight: 600; margin: 0 0 8px; } /* quieter than a section heading (Paul 2026-10-22) */
/* A picked tip stays green (Paul 2026-10-22); None picked is a plain pick */
.wpcot-tip-value.active.none { border-color: #111; box-shadow: 0 0 0 1px #111; }
.wpcot-tip-value.active.tip { background: var(--pp-green-tint, #f3faf2); border-color: var(--green); color: #1d5a19; font-weight: 600; box-shadow: 0 0 0 1px var(--green), 0 4px 14px rgb(57 140 52 / .2); }
/* Custom becomes its own amount field, in place */
.co-tip-amt { gap: 2px; padding: 0 10px; cursor: text; }
/* Custom is a text box once picked (Paul 2026-10-23): white with the field's edge, one yellow highlight while typing */
.wpcot-tip-value.active.co-tip-amt { background: #fff; border-color: #757575; color: #111; box-shadow: none; font-weight: 500; }
.wpcot-tip-value.active.co-tip-amt:focus-within { border-color: var(--yellow); box-shadow: 0 0 0 1px var(--yellow); }
.co-tip-amt .co-input:focus { box-shadow: none; border: 0; outline: none; }
.co-tip-amt input { width: 100%; min-width: 0; height: 100%; margin: 0; padding: 0; border: 0; background: none; outline: none; font: 500 16px Inter, sans-serif; color: #111; text-align: left; box-shadow: none; }
/* the tip moment (checkout.js renderTips / thankYou) */
.co-tips { position: relative; }
#co-tip-values { position: relative; }
.wpcot-tip-value.pop { animation: tip-pop .5s var(--pop, cubic-bezier(.2,1.5,.4,1)) both, tip-ring 1s ease-out both; }
@keyframes tip-pop { 0% { transform: scale(.9); } 60% { transform: scale(1.1); } 100% { transform: none; } }
@keyframes tip-ring { 0% { box-shadow: 0 0 0 1px var(--green), 0 0 0 0 rgb(57 140 52 / .6); } 70% { box-shadow: 0 0 0 1px var(--green), 0 0 0 12px rgb(57 140 52 / 0); } 100% { box-shadow: 0 0 0 1px var(--green), 0 4px 14px rgb(57 140 52 / .2); } }
.tip-bubble { position: absolute; bottom: calc(100% + 10px); z-index: 5; padding: 7px 12px; border-radius: 999px; background: var(--green); color: #fff; font: 700 14px Inter, sans-serif; white-space: nowrap; pointer-events: none; box-shadow: 0 6px 18px rgb(57 140 52 / .35); animation: tip-bubble 1.8s cubic-bezier(.2,1.4,.4,1) both; }
.tip-bubble::after { content: ''; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: var(--green); transform: translateX(-50%) rotate(45deg); }
@keyframes tip-bubble { 0% { opacity: 0; transform: translate(-50%, 8px) scale(.5); } 18% { opacity: 1; transform: translate(-50%, 0) scale(1.08); } 28% { transform: translate(-50%, 0) scale(1); } 75% { opacity: 1; transform: translate(-50%, -4px); } 100% { opacity: 0; transform: translate(-50%, -18px); } }
.tip-spark { position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px; border-radius: 1px; background: var(--yellow); box-shadow: 0 0 6px var(--yellow); animation: tip-spark .8s .12s ease-out both; }
@keyframes tip-spark { 0% { opacity: 1; transform: rotate(var(--a)) translateY(0) scale(1); } 100% { opacity: 0; transform: rotate(var(--a)) translateY(-46px) scale(.3); } }
@media (prefers-reduced-motion: reduce) { .wpcot-tip-value.pop { animation: none; } }
/* Reduce Motion (TIP-THANKS, 13 Nov): the bubble still says thank you, in place, fading in and out without moving */
.tip-bubble.still { animation: tip-still 1.8s linear both; }
@keyframes tip-still { 0% { opacity: 0; transform: translate(-50%, 0); } 8% { opacity: 1; transform: translate(-50%, 0); } 85% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, 0); } }
/* Tip buttons: a 44px tap area round the 38px button, the look unchanged (Paul, C10). The custom amount holds an input: no pad over it. */
.wpcot-tip-value { position: relative; }
.wpcot-tip-value:not(.co-tip-amt)::after { content: ""; position: absolute; inset: -4.5px -1.5px; } /* from inside the 1.5px border */
.co-tip-custom { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.co-tip-custom .co-input { margin: 0; }

/* Totals, notices and the submit button: one block, fixed to the bottom of the screen on phones as the live site */
.custom-subtotal-total { list-style: none; margin: 0 0 15px; padding: 0; }
.custom-subtotal-total li { display: flex; align-items: center; justify-content: space-between; padding-bottom: 8px; font-size: 16px; }
.custom-subtotal-total .co-discount { color: #2d7229; }
.custom-subtotal-total .co-total { font-size: 20px; font-weight: 600; }
/* a gift card part (checkout.js render): its amount right, a remove cross beside its name, 44px to tap without growing the row */
.custom-subtotal-total .co-gift span:first-child { display: inline-flex; align-items: center; }
.custom-subtotal-total .co-gift-remove { position: relative; width: 24px; height: 24px; margin-left: 4px; padding: 0; border: 0; background: none; color: var(--fg-muted, #6b7280); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.custom-subtotal-total .co-gift-remove::after { content: ""; position: absolute; inset: -10px; }
.custom-subtotal-total .co-gift-remove svg { width: 14px; height: 14px; }
.co-pay { margin: 10px 0 20px; }
.co-paymethod { display: flex; justify-content: space-between; margin: 0 0 8px; font-size: 16px; }
.co-mock-row { display: flex; gap: 10px; }
.co-pre { margin: 0 0 12px; padding: 10px 12px; border-radius: 8px; background: #fff8e1; border-left: 4px solid var(--yellow); font-size: 14px; }
.co-pre.co-bad { background: #fdecea; border-left-color: var(--danger); }
/* q31: the pre-order notice above the pay button: the countdown (tabular digits: the line never moves), the ready time under it */
.co-pre.co-preorder { font-variant-numeric: tabular-nums; }
.co-pre-count, .co-pre-ready, .co-pre-type { display: block; }
.co-pre-count { font-weight: 600; }
/* SUBMIT ORDER is .btn .btn-primary (added in checkout.js): only its placement and states here. Disabled = grey (.btn). */
/* the one obvious action: full width and full strength always; a tap with something missing shows what (Paul 2026-10-22) */
#place_order { width: 100%; margin: 0; height: auto; min-height: 46px; } /* A27's step words fit one line at 320 at normal text; C13: at the largest text sizes it grows instead of spilling (no nowrap, which pushed them out sideways) */
#place_order.store-close { background: #e52729; pointer-events: none; }
/* Submitting: a small spinner before PROCESSING (checkout.js setBusy) */
#place_order.co-busy::before { content: ""; width: 16px; height: 16px; box-sizing: border-box; border: 2px solid #fff; border-right-color: transparent; border-radius: 50%; animation: co-spin .8s linear infinite; }
@keyframes co-spin { to { transform: rotate(360deg); } }

.custom-subtotal-total.co-quoting { opacity: .45; transition: opacity .15s; }
.custom-subtotal-total .co-quote-err { color: var(--danger); }
.co-retry { background: none; border: 0; padding: 0; font: inherit; color: var(--green); text-decoration: underline; cursor: pointer; }

/* Error popup (the live site's .wc-popup-error). The close is the yellow X (.btn-close, set up in checkout.js). */
.wc-popup-error { position: fixed; inset: 0; display: none; justify-content: center; align-items: center; z-index: 999999; }
.wc-popup-error.open { display: flex; }
.wc-popup-error .popup-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .4); }
.wc-popup-error .popup-box { position: relative; background: #fff; padding: 25px 30px; border-radius: 10px; max-width: 350px; width: 90%; text-align: center; box-shadow: 0 5px 20px rgba(0, 0, 0, .25); }
/* the title clears the close button at any width and text size (CHECKOUT-FAIL-WORDS: "Order not placed" and the live
   "Payment declined" ran under it at 350 wide with 130% text); the same on both sides, so it stays centred, and wraps instead */
.wc-popup-error .popup-box h3 { margin: 0 0 8px; padding: 0 34px; } /* N5: the close X is 44px, 10px in from the box edge; 34 + the box 30 clears it by 10 */
/* under ~300px wide that leaves too little room: the title sits below the X instead, the full width */
@media (max-width: 300px) { .wc-popup-error .popup-box h3 { padding: 0; margin-top: 34px; } }
.wc-popup-error .popup-box p { margin: 6px 0 0; }
.wc-popup-error .popup-box .co-popup-act { display: flex; align-items: center; justify-content: center; box-sizing: border-box; margin: 14px 0 0; min-height: 44px; padding-top: 0; padding-bottom: 0; white-space: nowrap; text-decoration: none; } /* the way to do what the words ask */
.wc-popup-error .popup-box > .btn-close { position: absolute; top: 10px; right: 10px; }

/* Inline field errors: one red (--danger) */
.co-invalid { border-color: var(--danger) !important; outline: 2px solid rgba(180, 35, 24, .25); outline: 2px solid color-mix(in srgb, var(--danger) 25%, transparent); }
.co-field-err { margin: -6px 0 12px; color: var(--danger); font-size: 14px; }
.co-field-err[data-for="card"] { margin-top: 8px; } /* under the card box, not against its border (review S14) */
/* in the box the page went to, the red stays the one highlight (no yellow focus ring over it) */
.co-input.co-invalid:focus { box-shadow: none; }

/* The total and SUBMIT ORDER are always on screen (Paul 2026-11-10: never a scroll to reach Submit on a laptop; the phone
   layout scaled, not two columns). Phones: pinned to the bottom, as before; its content lines up with every other bottom bar
   (site.css, 560px). */
.checkout-page-section { padding-bottom: 190px; }
/* live's look: the grey rule above the bar, as on the cart pages (review 3, R3-5: the S13 white fade and shadow changed it and cut
   the VIP heading mid-letter at 350 / 130%). What was in view stays in view when the bar grows (checkout.js, S13). */
.checkout-bottom-btn-container { position: fixed; bottom: 0; left: 0; width: 100%; box-sizing: border-box; z-index: 99999; background: #fff; border-top: 1px solid #E6E6E6; }
.checkout-bottom-btn-container .custom-subtotal-total { margin: 0 0 6px; }
.checkout-bottom-btn-container .custom-subtotal-total li { padding-bottom: 4px; font-size: 14px; }
.checkout-bottom-btn-container .custom-subtotal-total .co-total { font-size: 16px; }
.checkout-bottom-btn-container .co-pre { margin-bottom: 8px; padding: 6px 10px; font-size: 13px; }
/* Laptops and up: the same bar, sticky. Where the form is taller than the window (720p, 1366 x 657) it holds the bottom edge
   as on a phone; where it all fits (1080p, ultrawide, 4K) it sits straight under the payment fields instead of across the
   foot of a tall screen. Its white band and top line run the full width, as the phone's do. */
@media (min-width: 769px) {
  .checkout-page-section { padding-bottom: 24px; }
  html:has(> body.page-checkout) { scroll-padding-bottom: 130px; } /* a field tabbed to never lands under the bar */
  /* the band and its line are spread shadows clipped to their own height: never wider than the page, so no sideways scroll */
  .checkout-bottom-btn-container { position: sticky; left: auto; width: auto; padding: 10px 0 12px; border-top: 0; z-index: 5; box-shadow: 0 0 0 100vmax #fff; clip-path: inset(0 -100vmax); }
  .checkout-bottom-btn-container::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: #E6E6E6; box-shadow: 0 0 0 100vmax #E6E6E6; clip-path: inset(0 -100vmax); }
}
@media (prefers-reduced-motion: reduce) {
  .co-fold, .co-fold > .co-fold-in, .co-notes-add, .co-optin, .co-optin *, .co-nap-sw span, .delivery-radio span, .wpcot-tip-value, .co-choose-opt, .co-choose-backdrop, .co-choose-card, #place_order.co-busy::before { transition: none !important; animation: none !important; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.co-input::placeholder { color: #757575; opacity: 1; }

/* Napkins: the question and a No / Yes switch on one row, in the order-type switch's style (Paul 2026-10-23) */
.co-nap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 14px; } /* C13: at the largest text sizes the switch goes under the question, never off the side */
.co-nap-q { flex: 1 1 6em; font-size: 16px; font-weight: 500; } /* C13: keeps its row beside the switch (two lines at 320) until the text itself grows */
.co-nap-sw { display: inline-flex; align-items: stretch; gap: 4px; padding: 4px; border: 1.5px solid var(--edge); border-radius: 12px; background: #fff; }
.co-nap-sw label { display: block; margin: 0; cursor: pointer; } /* not the .co-field label margin, which pushed the pills 8px down a taller track */
.co-nap-sw input { position: absolute; opacity: 0; pointer-events: none; }
.co-nap-sw span { display: grid; place-items: center; min-width: 72px; height: 44px; box-sizing: border-box; border-radius: 9px; background: transparent; font: 500 15px/normal Inter, sans-serif; color: #111; transition: box-shadow .2s ease, transform .12s ease; }
.co-nap-sw label:active span { transform: scale(.97); }
.co-nap-sw input:checked + span { background: #fff; color: #000; font-weight: 600; box-shadow: 0 0 0 1.5px var(--yellow), 0 4px 14px rgb(255 184 2 / .28); }
.co-nap-sw input:focus-visible + span { outline: 3px solid #1f2937; outline-offset: 2px; }
/* the tip's thank-you: smaller, in the gap above the chips; the yellow sparkle is round the outside, never over the words */
.tip-bubble { bottom: calc(100% + 3px); padding: 3px 9px; font-size: 12px; box-shadow: 0 0 0 2px rgb(255 184 2 / .55), 0 0 14px 3px rgb(255 184 2 / .45); isolation: isolate; }
.tip-bubble::after { bottom: -4px; width: 8px; height: 8px; }
.tip-spark { z-index: -1; animation-name: tip-spark2; }
@keyframes tip-spark2 { 0% { opacity: 0; transform: rotate(var(--a)) translateY(-14px) scale(.6); } 20% { opacity: 1; } 100% { opacity: 0; transform: rotate(var(--a)) translateY(-40px) scale(.3); } }

/* Email: one tap fixes a typo'd domain; a junk-looking address gets a quiet note, never a block (audit A5) */
.co-email-hint { margin: -4px 0 10px; font-size: 14px; line-height: 1.4; }
.co-email-fix { display: inline; min-height: 32px; background: none; border: 0; padding: 0; color: #1f2937; font: inherit; font-weight: 600; text-align: left; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.co-email-junk { color: #6b4e00; background: #fff8e6; border-radius: 8px; padding: 8px 10px; }
/* A tip over $100 asks once, in place (Paul 2026-10-28) */
.co-tip-check { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 10px 0 4px; padding: 8px 8px 8px 12px; border-radius: 10px; background: #fff8e6; font-size: 14px; color: #3a2a00; }
.co-tip-check .co-tip-ok { flex: none; min-height: 44px; padding: 0 14px; border: 1.5px solid #3a2a00; border-radius: 10px; background: #fff; color: #111; font: 600 14px Inter, sans-serif; white-space: nowrap; cursor: pointer; }
.co-tip-check .co-tip-ok:active { transform: scale(.97); }

/* The delivery fee on the Delivery choice (checkout.js render): the footer carries only the total (Paul 2026-11-09). */
.delivery-radio .co-fee { margin-left: 6px; font-size: 13px; font-weight: 500; color: #4b5563; }
.delivery-radio .co-fee:empty { display: none; }
/* Delivery before it can be ordered (CO-DELIVERY-EARLY, status.js paintTypes): greyed, not selectable, and the start screen's
   note under the word ("Delivery starts at 4:30pm"). Open, the note is empty and hidden. */
.delivery-radio .co-type-note { display: block; font-size: 12px; font-weight: 500; line-height: 1.2; color: #6b7280; }
.delivery-radio .co-type-note:empty { display: none; }
.delivery-radio.disabled { cursor: not-allowed; }
.delivery-radio.disabled span { flex-direction: column; gap: 1px; color: #9ca3af; text-align: center; }
.delivery-radio.disabled:active span { transform: none; }
@media (max-width: 359px) { .delivery-radio .co-type-note { font-size: 11px; white-space: nowrap; } } /* one line at 320 */

/* Dine-in: the table is the heading (D1/D6, Paul 11 Nov: "Checkout can be smaller, table name can be bigger"); the table name
   is the picker, its chevron says it can be changed. */
.co-top.dine h2 { font-size: 16px; font-weight: 600; color: #4b5563; margin: 2px 0 2px; }
.co-table-head { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0 8px; margin: 0 0 16px; font: 700 26px/1.2 "Poppins", "Inter", sans-serif; color: #111; }
.co-table-head[hidden] { display: none; }
.co-table-pick { -webkit-appearance: none; appearance: none; max-width: 100%; min-height: 44px; margin: 0; padding: 0 26px 0 0; border: 0; border-radius: 0; background: transparent var(--pick-chevron) no-repeat right center / 20px 20px; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.co-table-pick:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; border-radius: 6px; }
.co-table-head.no-table { font-size: 20px; }
.co-table-head .co-field-err { flex-basis: 100%; margin: 4px 0 0; text-align: center; }
.co-table-pick.co-invalid { outline: none; text-decoration-color: var(--danger); }
/* CARD-FORM-RECOVER: the card box while Square's field is retried, and when it did not load (never an empty box) */
.co-card-note { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 16px; border: 1px solid #d1d5db; border-radius: 8px; background: #fff; }
.co-card-note[data-state="retrying"] { border: 0; background: none; padding: 8px 0 0; }
.co-card-note p { margin: 0; font-size: 16px; line-height: 1.4; }
.co-card-wait { color: #6b7280; font-size: 15px !important; }
.co-card-again { min-height: 44px; padding: 0 20px; }
.co-card-or { color: #4b5563; font-size: 15px !important; }
.co-gift-all { display: none !important; } /* the gift card pays it all: no card form or wallet */
