.menu-catalog { display:grid; gap:64px; }
.menu-category { scroll-margin-top:142px; }
.menu-category h3 { margin:0 0 22px; font:600 2rem/1 Georgia,serif; }
.menu-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:34px 22px; }
.menu-card { min-width:0; display:flex; flex-direction:column; background:transparent; }
.menu-card img,.menu-card-image { width:100%; aspect-ratio:1; object-fit:contain; border-radius:20px; transition:transform .22s ease; }
.menu-card:hover img { transform:translateY(-5px) scale(1.025); }
.menu-card-image { display:grid; place-items:center; background:var(--cream); color:var(--red); font:2.6rem Georgia,serif; }
.menu-card-body { flex:1; display:flex; flex-direction:column; padding:13px 2px 0; }
.menu-card h4,.menu-card p,.menu-category h3 { overflow-wrap:anywhere; }
.menu-card-badge { align-self:flex-start; margin:0 0 7px; padding:5px 8px; border-radius:999px; background:var(--success-bg); color:var(--success-text); font-size:.62rem; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.menu-card h4 { margin:0; font-size:1.18rem; line-height:1.25; }
.menu-card p { min-height:3.9em; margin:7px 0 12px; color:var(--muted); font-size:.82rem; line-height:1.55; }
.menu-choice { display:grid; grid-template-columns:72px 1fr; align-items:center; gap:8px; margin-top:7px; color:var(--muted); font-size:.7rem; font-weight:700; }
.menu-choice select { min-width:0; padding:8px 28px 8px 10px; border:0; border-radius:9px; background:var(--cream); color:var(--ink); font-size:.76rem; }
.menu-card-meta { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:auto; padding-top:16px; }
.menu-card-meta strong { font-size:1rem; }
.menu-add-control { min-width:92px; display:grid; grid-template-columns:0 minmax(92px,1fr) 0; overflow:hidden; border-radius:999px; background:var(--soft-red); color:var(--red); transition:grid-template-columns .18s ease,background .18s ease,color .18s ease; }
.menu-add-control.is-added { min-width:130px; grid-template-columns:1fr 46px 1fr; background:var(--red); color:white; }
.menu-add,.menu-add-step { min-width:0; min-height:38px; padding:10px 12px; border:0; background:transparent; color:inherit; font-weight:850; cursor:pointer; }
.menu-add-step { width:38px; display:grid; place-items:center; overflow:hidden; padding:0; font-size:1.22rem; line-height:1; visibility:hidden; }
.menu-add-control.is-added .menu-add-step { visibility:visible; }
.menu-add-control.is-added .menu-add-step:first-child { justify-self:start; }
.menu-add-control.is-added .menu-add-step:last-child { justify-self:end; }
.menu-add-control.is-added .menu-add { width:38px; height:38px; min-height:38px; justify-self:center; align-self:center; padding:0; border-radius:50%; background:var(--paper); color:var(--red); font-variant-numeric:tabular-nums; }
.menu-add-control:not(.is-added):hover { background:var(--red); color:white; }
.menu-add-control.is-added .menu-add:hover { background:var(--paper); color:var(--red); }
.menu-add-control.is-added .menu-add-step:hover { background:rgba(255,255,255,.14); }
.menu-add:focus,.menu-add-step:focus { outline:none; }
.menu-add:focus-visible,.menu-add-step:focus-visible { outline:2px solid currentColor; outline-offset:-4px; }
.menu-add:disabled { background:var(--cream); color:#aea298; cursor:not-allowed; }
.menu-category-title { display:flex; align-items:end; justify-content:space-between; gap:30px; margin-bottom:22px; }
.menu-category-title h3 { margin:3px 0 0; }
.menu-category-title span { color:#64744b; font-size:.66rem; font-weight:900; letter-spacing:.12em; text-transform:uppercase; }
.menu-category-title p { max-width:390px; margin:0; color:var(--muted); font-size:.8rem; line-height:1.45; }
.menu-category-posno { padding:28px; border-radius:26px; background:var(--success-bg); }
.cart-dialog { width:min(560px,calc(100% - 28px)); }
.cart-dialog,.product-dialog,.checkout-dialog { max-height:min(760px,calc(100vh - 40px)); margin:auto; padding:0; border:0; border-radius:24px; color:var(--ink); background:var(--paper); box-shadow:var(--shadow); }
.product-dialog { width:min(940px,calc(100% - 28px)); }
.checkout-dialog { width:min(600px,calc(100% - 28px)); overflow:hidden; }
.checkout-dialog form { display:flex; max-height:min(760px,calc(100vh - 40px)); flex-direction:column; }
.checkout-scroll-frame { display:flex; min-height:0; flex:1 1 auto; flex-direction:column; }
.cart-dialog::backdrop,.product-dialog::backdrop,.checkout-dialog::backdrop::backdrop { background:rgba(31,20,15,.56); backdrop-filter:blur(3px); }
.cart-head { display:flex; align-items:center; justify-content:space-between; padding:23px 24px; border-bottom:1px solid var(--line); }
.cart-head h2 { margin:0; font:2rem Georgia,serif; }
.cart-head button { border:0; background:transparent; color:var(--muted); font-size:2rem; cursor:pointer; }
/* Clip the single scroll surface inside the cart's rounded outer shell. */
.cart-dialog{--cart-scroll-max-height:min(760px,calc(100dvh - 40px));max-height:var(--cart-scroll-max-height);padding:6px;overflow:hidden;box-sizing:border-box}
.cart-scroll-frame{max-height:calc(var(--cart-scroll-max-height) - 12px);overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;border-radius:18px}
.cart-scroll-frame::-webkit-scrollbar-track{margin-block:12px}
.cart-dialog .cart-head{gap:12px}
.cart-dialog .cart-head h2{min-width:0}
.cart-dialog .cart-head>button{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;padding:0;border:1px solid var(--line);border-radius:50%;background-color:var(--surface)}

.cart-items { display:grid; max-height:none; overflow:visible; padding:8px 24px; }
.cart-empty { display:grid; gap:5px; padding:50px 0; text-align:center; color:var(--muted); }
.cart-line { display:grid; grid-template-columns:minmax(0,1fr) 108px 7rem; align-items:center; gap:14px; padding:15px 0; border-bottom:1px solid var(--line); }
/* Share column widths across cart rows: prices and counts cannot shift the controls. */
@supports(grid-template-columns:subgrid){
 .cart-items{grid-template-columns:minmax(0,1fr) max-content max-content;column-gap:14px}
 .cart-items>*{grid-column:1/-1}
 .cart-items>.cart-line{grid-template-columns:subgrid}
 @media(max-width:480px){
  .cart-items{grid-template-columns:minmax(0,1fr) max-content}
  .cart-items>.cart-line{grid-template-columns:subgrid}
 }
}

.cart-line div:first-child { display:grid; min-width:0; overflow-wrap:anywhere; }
.cart-line>b { text-align:right; justify-self:end; white-space:nowrap; font-variant-numeric:tabular-nums; }
.cart-line span { color:var(--muted); font-size:.78rem; }
.cart-line small { color:var(--red); font-size:.72rem; }
.cart-exclusions s { text-decoration-color:var(--red,#b42c22); text-decoration-thickness:2px; }
.cart-promotion-group { display:grid; gap:13px; margin:12px 0; padding:16px; border:1px solid color-mix(in srgb,var(--red) 35%,var(--line)); border-radius:18px; background:var(--cream); }
.cart-promotion-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.cart-promotion-head .cart-promotion-title { display:grid; flex:1 1 auto; gap:3px; min-width:0; width:auto; height:auto; padding:0; border-radius:4px; background:transparent; color:var(--ink); text-align:left; place-items:start; }
.cart-promotion-head span { color:var(--red); font-size:.65rem; font-weight:900; letter-spacing:.1em; text-transform:uppercase; }
.cart-promotion-head strong { font:1.18rem Georgia,serif; }
.cart-promotion-head button { width:30px; height:30px; flex:0 0 auto; display:grid; place-items:center; padding:0; border:0; border-radius:50%; background:var(--surface); color:var(--muted); font-size:1.25rem; cursor:pointer; }
.cart-promotion-group ul { display:grid; gap:8px; margin:0; padding:0; list-style:none; }
.cart-promotion-group li { display:flex; align-items:center; justify-content:space-between; gap:12px; padding-top:8px; border-top:1px solid var(--line); }
.cart-promotion-group li>div { display:grid; min-width:0; gap:2px; }
.cart-promotion-group li strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:.82rem; }
.cart-promotion-group li span { color:var(--muted); font-size:.7rem; }
.cart-promotion-group li em { flex:0 0 auto; padding:4px 8px; border-radius:999px; background:var(--success-bg); color:#4c672f; font-size:.65rem; font-style:normal; font-weight:850; }
.cart-promotion-prices { display:flex; align-items:center; justify-content:flex-end; gap:10px; padding-top:4px; }
.cart-promotion-prices s { color:var(--muted); text-decoration-color:var(--red); text-decoration-thickness:2px; }
.cart-promotion-prices strong { padding:7px 11px; border-radius:999px; background:var(--ink); color:var(--paper); font-size:.9rem; }
.cart-promotion-prices.is-pending { justify-content:space-between; }
.cart-promotion-prices.is-pending span { color:var(--muted); font-size:.7rem; text-align:right; }
.cart-promotion-footer { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.cart-promotion-footer .cart-promotion-prices { min-width:0; flex-wrap:wrap; justify-content:flex-end; }
.cart-promotion-edit { flex:0 0 auto; padding:8px 12px; border:1px solid var(--line); border-radius:999px; background:var(--surface); color:var(--red); font:inherit; font-size:.8rem; font-weight:800; cursor:pointer; }
.cart-promotion-title strong { overflow-wrap:anywhere; }
.cart-promotion-title:focus-visible,.cart-promotion-edit:focus-visible { outline:2px solid var(--red); outline-offset:3px; }
.cart-promotion-title:disabled,.cart-promotion-edit:disabled { opacity:.55; cursor:default; }
.promotion-edit-error { padding:12px; border:1px solid var(--red); border-radius:12px; background:var(--soft-red); color:var(--ink); }
.promotion-edit-error[hidden] { display:none; }
.cart-quantity { display:grid; grid-template-columns:29px minmax(3ch,1fr) 29px; align-items:center; gap:9px; }
.cart-quantity>span { text-align:center; white-space:nowrap; font-variant-numeric:tabular-nums; }
.cart-quantity button { width:29px; height:29px; border:1px solid var(--line); border-radius:50%; background:var(--surface); color:var(--ink); }
.cart-total { display:flex; justify-content:space-between; padding:20px 24px 8px; font-size:1.15rem; }
.cart-note { margin:5px 24px 16px; color:var(--muted); font-size:.78rem; line-height:1.5; }
.checkout-status { min-height:1.4em; margin:0 24px 10px; color:var(--muted); font-size:.78rem; line-height:1.45; }
.checkout-status.is-success { color:#4c672f; }
.checkout-status.is-error { color:var(--red); }
.checkout-button { width:calc(100% - 48px); margin:0 24px 24px; padding:14px; border:0; border-radius:999px; background:var(--red); color:white; font-weight:850; cursor:pointer; }
.checkout-button:disabled { background:#c9bbae; cursor:not-allowed; }
.checkout-scroll { display:grid; flex:1 1 auto; gap:18px; min-height:0; overflow:auto; padding:18px 24px; background:var(--paper); }
.checkout-section { display:grid; min-width:0; gap:10px; padding:0; border:0; background:var(--paper); }
.checkout-section + .checkout-section { padding-top:16px; border-top:1px solid var(--line); }
.checkout-dialog .cart-head { padding:18px 24px; }
.checkout-dialog .cart-head h2 { font-size:1.5rem; }
.checkout-section[hidden],.pickup-location[hidden],.schedule-options[hidden],.business-fields[hidden] { display:none!important; }
.fulfillment-picker { display:grid; grid-template-columns:1fr 1fr; gap:6px; margin:0; padding:5px; border:0; border-radius:14px; background:var(--cream); }
.fulfillment-picker label { position:relative; display:grid; min-height:52px; place-items:center; padding:7px 12px; border-radius:10px; color:var(--muted); text-align:center; cursor:pointer; }
.fulfillment-picker input { position:absolute; opacity:0; pointer-events:none; }
.fulfillment-picker label:has(input:checked) { background:var(--surface); color:var(--ink); box-shadow:0 4px 13px rgba(0,0,0,.12); }
.fulfillment-picker label:has(input:disabled) { opacity:.45; cursor:not-allowed; }
.fulfillment-picker label>span { display:grid; gap:2px; }
.fulfillment-picker small { color:var(--muted); font-size:.7rem; }
.pickup-location { display:flex; align-items:center; gap:11px; padding:12px 14px; border-radius:13px; background:var(--cream); }
.pickup-location>span { color:var(--red); font-size:1.35rem; }
.pickup-location>div { display:grid; gap:3px; }
.pickup-location small { color:var(--muted); font-size:.7rem; }
.checkout-field { display:grid; align-content:start; gap:6px; color:var(--muted); font-size:.72rem; font-weight:800; }
.checkout-field input,.checkout-field select,.checkout-fields input,.checkout-fields textarea { width:100%; box-sizing:border-box; padding:11px 12px; border:1px solid var(--line); border-radius:11px; background:var(--surface); color:var(--ink); font:inherit; font-weight:600; }
.checkout-field input:focus,.checkout-field select:focus,.checkout-fields input:focus,.checkout-fields textarea:focus { border-color:var(--red); outline:3px solid rgba(173,49,39,.1); }
.checkout-address-search { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:end; gap:10px; }
.checkout-address-search button { min-height:43px; padding:0 16px; border:1px solid var(--red); border-radius:11px; background:var(--surface); color:var(--red); font-weight:850; cursor:pointer; }
.checkout-address-search button:disabled { border-color:var(--line); color:#aaa09a; cursor:not-allowed; }
.checkout-address-workspace { display:grid; grid-template-columns:minmax(0,1fr); }
.checkout-address-details { min-width:0; display:grid; align-content:start; gap:10px; }
.address-selection-status { min-height:2.8em; margin:0; padding:10px 12px; border-radius:11px; background:var(--cream); color:var(--muted); font-size:.73rem; line-height:1.45; }
.address-selection-status[hidden] { display:none; }
.checkout-status:empty,.integration-note:empty { display:none; }
.address-selection-status.is-success { background:var(--success-bg); color:var(--success-text); }
.address-selection-status.is-error { background:var(--soft-red); color:var(--red); }
.checkout-fields { display:grid; grid-template-columns:158px minmax(140px,1fr) 142px; gap:11px; }
.checkout-fields label { min-width:0; display:grid; align-content:start; gap:6px; color:var(--muted); font-size:.72rem; font-weight:800; }
.checkout-fields .field-wide { grid-column:1/-1; }
.checkout-fields .field-grow { grid-column:auto; }
.checkout-fields textarea { resize:vertical; }
.checkout-fields .check-line { display:flex; align-items:center; flex-direction:row; gap:9px; font-size:.78rem; }
.checkout-fields .check-line input { width:auto; }
.checkout-choice { display:flex; align-items:center; gap:9px; margin:0; padding:0; border:0; }
.checkout-choice legend { padding:0 6px; font-size:.78rem; font-weight:850; }
.checkout-choice label { display:flex; align-items:center; gap:7px; padding:8px 10px; border-radius:10px; background:var(--cream); font-size:.76rem; font-weight:800; cursor:pointer; }
.checkout-time-picker { display:grid; gap:13px; margin:0; padding:0; border:0; }
.time-mode-options { display:grid; grid-template-columns:1fr 1fr; gap:6px; padding:5px; border-radius:14px; background:var(--cream); }
.time-mode-options label { position:relative; display:grid; min-height:44px; place-items:center; border-radius:10px; color:var(--muted); font-size:.8rem; font-weight:850; cursor:pointer; }
.time-mode-options input { position:absolute; opacity:0; pointer-events:none; }
.checkout-time-short { display:none; }
.time-mode-options label:has(input:checked) { background:var(--surface); color:var(--ink); box-shadow:0 4px 13px rgba(0,0,0,.12); }
.time-mode-options label:has(input:disabled) { color:var(--muted); background:transparent; box-shadow:none; opacity:.55; cursor:not-allowed; }
.time-mode-options label:has(input:focus-visible) { outline:2px solid var(--red); outline-offset:2px; }
.checkout-asap-status { margin:0; min-width:0; color:var(--muted); font-size:.8rem; line-height:1.45; overflow-wrap:anywhere; }
.schedule-options { display:grid; gap:14px; }
.schedule-days { display:grid; grid-template-columns:repeat(3,1fr); gap:7px; }
.schedule-day { display:grid; gap:2px; min-height:57px; place-items:center; padding:7px; border:1px solid var(--line); border-radius:11px; background:var(--surface); color:var(--muted); cursor:pointer; }
.schedule-day strong { color:var(--ink); font-size:.78rem; }
.schedule-day span { font-size:.68rem; }
.schedule-day.is-selected { border-color:var(--red); background:var(--soft-red); color:var(--red); }
.final-schedule .schedule-days { display:flex; overflow-x:auto; gap:7px; padding-block:2px 5px; }
.final-schedule .schedule-day { flex:0 0 auto; min-height:40px; min-width:70px; font:inherit; font-size:.8rem; }
.final-schedule .schedule-day.is-closed { background:var(--cream); color:var(--muted); border-style:dashed; }
.final-schedule .schedule-day.is-closed.is-selected { border-color:var(--muted); outline:1px solid var(--muted); }
.final-schedule .schedule-day small { font-size:.75rem; line-height:1.2; }
.checkout-schedule-status { margin:0; color:var(--muted); font-size:.8rem; line-height:1.45; overflow-wrap:anywhere; }
.time-wheel-panel { width:min(100%,310px); margin-inline:auto; padding:12px 14px 14px; border-radius:16px; background:var(--cream); }
.time-wheel-heading { display:flex; align-items:center; justify-content:space-between; padding:0 2px 9px; color:var(--muted); font-size:.7rem; }
.time-wheel-heading strong { color:var(--red); font-size:.85rem; }
.ios-time-wheel { position:relative; display:flex; width:190px; height:168px; align-items:center; justify-content:center; gap:7px; margin:auto; overflow:hidden; }
.ios-time-wheel::before { content:''; position:absolute; z-index:0; top:63px; right:0; left:0; height:42px; border-block:1px solid var(--line); border-radius:9px; background:color-mix(in srgb,var(--surface) 76%,transparent); pointer-events:none; }
.ios-time-wheel::after { content:''; position:absolute; z-index:2; inset:0; background:linear-gradient(to bottom,var(--cream),transparent 32%,transparent 68%,var(--cream)); pointer-events:none; }
.time-wheel-column { z-index:1; width:72px; height:168px; overflow-y:auto; padding-block:63px; box-sizing:border-box; scroll-snap-type:y mandatory; scrollbar-width:none; overscroll-behavior:contain; }
.time-wheel-column::-webkit-scrollbar { display:none; }
.time-wheel-column:focus-visible { outline:2px solid var(--red); outline-offset:-2px; border-radius:9px; }
.time-wheel-column button { width:100%; height:42px; display:block; scroll-snap-align:center; border:0; background:transparent; color:#8e857d; font:600 1.05rem/42px system-ui,sans-serif; text-align:center; cursor:pointer; opacity:.45; transition:opacity .15s,transform .15s,color .15s; }
.time-wheel-column button.is-selected { color:var(--ink); opacity:1; transform:scale(1.08); }
.time-wheel-column button:has(small) { line-height:27px; }
.time-wheel-column button small { display:block; font-size:.6rem; line-height:12px; }
.time-wheel-colon { z-index:1; margin-top:-2px; color:var(--ink); font-size:1.2rem; font-weight:800; }
.checkout-bonus-unavailable { margin:0; padding:14px; border:1px solid var(--line); border-radius:14px; background:var(--cream); color:var(--muted); font-size:.85rem; line-height:1.45; }
.checkout-bonus-unavailable[hidden] { display:none; }
.bonus-panel { position:relative; display:grid; grid-template-columns:1fr minmax(150px,220px); align-items:end; gap:14px; padding:48px 14px 14px; border-radius:14px; background:var(--cream); }
.bonus-panel>.bonus-info-trigger { position:absolute; top:8px; right:10px; }
.bonus-panel>div { display:grid; gap:4px; }
.bonus-panel>div span { color:var(--muted); font-size:.7rem; }
.bonus-panel>div strong { font-size:1.2rem; }
.bonus-balances { gap:14px!important; }
.bonus-balances>div { display:grid; gap:4px; }
#checkout-bonus-available { min-height:1.6rem; }
#checkout-bonus-available.is-calculating { display:flex; align-items:center; gap:8px; font-size:.8rem; color:var(--muted); }
#checkout-bonus-available.is-calculating::before { content:''; flex:0 0 14px; width:14px; height:14px; box-sizing:border-box; border:2px solid var(--line); border-top-color:var(--red); border-radius:50%; animation:bonus-calculation-spin .8s linear infinite; }
@keyframes bonus-calculation-spin { to { transform:rotate(360deg); } }
@media(prefers-reduced-motion:reduce) { #checkout-bonus-available.is-calculating::before { animation:none; } }
.bonus-use-controls { min-width:0; gap:8px!important; }
.bonus-input-wrap { position:relative; }
.bonus-input-wrap input { width:100%; min-height:44px; padding:10px 42px 10px 12px; border:1px solid var(--line); border-radius:12px; background:var(--surface); color:var(--ink); font:inherit; appearance:textfield; }
.bonus-input-wrap input::-webkit-inner-spin-button,.bonus-input-wrap input::-webkit-outer-spin-button { appearance:none; margin:0; }
.bonus-input-wrap button { position:absolute; top:50%; right:4px; transform:translateY(-50%); width:36px; height:36px; padding:0; border:0; border-radius:50%; background:transparent; color:var(--muted); font-size:24px; cursor:pointer; }
.bonus-max-button { min-height:44px; padding:10px 12px; border:1px solid var(--line); border-radius:12px; background:var(--surface); color:var(--red); font:inherit; font-weight:800; cursor:pointer; }
.bonus-use-controls button:disabled { cursor:default; opacity:.5; }
.integration-note { margin:0; color:var(--muted); font-size:.7rem; line-height:1.45; }
.checkout-invoice-heading { align-items:center; }
.checkout-invoice-heading .business-toggle { flex:1; padding:0; background:transparent; }
.business-toggle { display:flex; align-items:center; gap:11px; padding:13px 14px; border-radius:13px; background:var(--cream); cursor:pointer; }
.business-toggle strong { font-size:1rem; }
.business-fields { display:grid; grid-template-columns:minmax(0,320px); gap:8px; }
.business-fields p { margin:-3px 0 0; color:var(--muted); font-size:.69rem; }
.payment-choice { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; min-width:0; width:100%; }
.payment-choice legend { margin-bottom:12px; padding:0; color:var(--muted); font-size:.85rem; }
.payment-choice label { position:relative; justify-content:center; min-width:0; min-height:56px; padding:12px 16px; border:1px solid transparent; border-radius:999px; background:var(--cream); color:var(--muted); text-align:center; font-size:.85rem; line-height:1.3; }
.payment-choice label>span { min-width:0; overflow-wrap:anywhere; }
.payment-choice input { position:absolute; width:1px; height:1px; margin:0; opacity:0; }
.payment-choice label:has(input:checked) { background:var(--success-bg); color:var(--success-text); }
.payment-choice label:has(input:focus-visible) { outline:2px solid var(--red); outline-offset:3px; }
.payment-choice label:has(input:disabled) { opacity:.5; cursor:not-allowed; }
.payment-choice:has(>label[hidden])>label:not([hidden]) { grid-column:1/-1; }
.payment-choice:not(:has(>label:not([hidden]))) { display:none; }
@media(max-width:390px){.payment-choice{gap:8px}.payment-choice label{padding:10px 8px;min-height:48px;font-size:.78rem}}
.checkout-legal-notice { min-width:0; max-height:min(25dvh,150px); overflow:auto; overscroll-behavior:contain; margin:0; color:var(--muted); font-size:.75rem; line-height:1.45; }
.checkout-legal-notice[hidden] { display:none!important; }
.checkout-legal-notice a { color:var(--red); text-underline-offset:2px; }
@media(max-width:420px){.checkout-submit-row{flex-wrap:wrap}.checkout-legal-notice{flex-basis:100%;font-size:.72rem}.checkout-submit-action{margin-left:auto}}
.checkout-submit { display:grid; flex:0 0 auto; gap:9px; padding:10px 24px 18px; border-top:1px solid var(--line); background:var(--paper); }
.checkout-submit .checkout-sandbox-note { color:var(--muted); font-size:.66rem; line-height:1.35; }
.checkout-submit-row { display:flex; min-width:0; align-items:center; justify-content:space-between; gap:16px; }
.checkout-submit-action { display:flex; flex:0 0 auto; align-items:center; gap:13px; }
.checkout-price-summary { display:grid; min-width:0; max-width:170px; gap:3px; text-align:right; }
.checkout-price-summary>strong { font-size:1.5rem; white-space:nowrap; }
.checkout-price-summary>s { color:var(--muted); font-size:.72rem; white-space:nowrap; text-decoration-color:var(--red); }
.checkout-price-summary>small { color:var(--muted); font-size:.56rem; line-height:1.25; text-wrap:balance; }
.checkout-submit button,.secondary-button { padding:13px 20px; border:0; border-radius:999px; font-weight:850; cursor:pointer; }
.checkout-submit button { background:var(--red); color:white; }
.checkout-submit button:disabled { background:#c9bbae; }
.checkout-submit .checkout-terms-toggle { flex:0 0 auto; padding:6px 0; border:0; border-radius:0; background:transparent; color:var(--muted); font-size:.75rem; font-weight:400; text-decoration:underline; text-underline-offset:3px; }
.checkout-terms-toggle:focus-visible { outline:2px solid var(--red); outline-offset:4px; }
.secondary-button { border:1px solid var(--line); background:var(--surface); color:var(--ink); }
.secondary-button:disabled { color:#aaa09a; cursor:not-allowed; }
.dialog-kicker { color:var(--red); font-size:.72rem; font-weight:850; letter-spacing:.08em; text-transform:uppercase; }
.product-dialog-layout { display:grid; grid-template-columns:minmax(320px,.92fr) minmax(420px,1.08fr); min-height:610px; }
.product-dialog-media { position:relative; display:grid; place-items:center; overflow:hidden; padding:38px; border-radius:24px 0 0 24px; background:var(--cream); }
.product-dialog-media img { width:100%; max-height:460px; object-fit:contain; transform:scale(2); transform-origin:center; filter:drop-shadow(0 22px 24px rgba(59,36,22,.16)); }
.product-dialog-badge { position:absolute; top:24px; left:24px; padding:7px 10px; border-radius:999px; background:var(--surface); color:var(--red); font-size:.65rem; font-weight:900; letter-spacing:.12em; }
.product-dialog-badge.is-lenten { background:#65754c; color:white; }
.product-dialog-config { display:flex; min-height:0; flex-direction:column; }
.product-options { padding:20px 24px 0; }
.size-picker { margin:0; padding:0; border:0; }
.size-picker legend { margin-bottom:10px; font-size:.82rem; font-weight:850; }
.size-options { display:grid; grid-template-columns:repeat(auto-fit,minmax(108px,1fr)); gap:8px; padding:5px; border-radius:15px; background:var(--cream); }
.size-option { display:grid; gap:3px; min-height:58px; padding:8px 11px; border:1px solid transparent; border-radius:11px; background:transparent; color:var(--muted); cursor:pointer; }
.size-option span { font-size:.85rem; font-weight:850; }
.size-option small { font-size:.66rem; }
.size-option:hover { color:var(--ink); }
.size-option.is-selected { border-color:var(--line); background:var(--surface); color:var(--ink); box-shadow:0 4px 13px rgba(0,0,0,.12); }
.product-groups { display:grid; gap:16px; max-height:344px; overflow:auto; padding:20px 24px 8px; }
.product-groups fieldset { display:grid; gap:8px; margin:0; padding:16px; border:1px solid var(--line); border-radius:16px; }
.product-groups legend { padding:0 6px; font-weight:850; }
.product-groups fieldset>p { margin:-3px 0 6px; color:var(--muted); font-size:.75rem; }
.modifier-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
.modifier-option { position:relative; display:flex; align-items:center; gap:10px; min-height:70px; padding:11px; border:1px solid transparent; border-radius:12px; background:var(--cream); cursor:pointer; transition:border-color .15s,background .15s; }
.modifier-option:hover { border-color:#d9c9bb; }
.modifier-option:has(input:checked) { border-color:var(--red); background:var(--soft-red); }
.modifier-option input { position:absolute; width:1px; height:1px; opacity:0; }
.modifier-mark { flex:0 0 34px; width:34px; height:34px; display:grid; place-items:center; border-radius:50%; background:var(--surface); color:var(--red); font-size:1.25rem; font-weight:500; }
.modifier-option:has(input:checked) .modifier-mark { background:var(--red); color:white; }
.modifier-option:has(input:checked) .modifier-mark::after { content:'✓'; }
.modifier-option:has(input:checked) .modifier-mark { font-size:0; }
.modifier-option:has(input:checked) .modifier-mark::after { font-size:1rem; }
.modifier-copy { min-width:0; display:grid; gap:4px; }
.modifier-copy b { font-size:.78rem; line-height:1.2; }
.modifier-copy small { color:var(--red); font-size:.68rem; }
.no-modifiers { margin:0; padding:16px; border-radius:14px; background:var(--cream); color:var(--muted); font-size:.8rem; }
.product-error { min-height:1.4em; margin:4px 24px; color:var(--red); font-size:.8rem; }
.product-error:empty { display:none; }
.product-submit { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-top:auto; padding:14px 24px 24px; }
.product-submit strong { font-size:1.12rem; }
.product-submit button { min-width:190px; padding:14px 20px; border:0; border-radius:999px; background:var(--red); color:white; font-weight:850; cursor:pointer; }
@media(max-width:1050px){.menu-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.menu-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 16px}.menu-category{scroll-margin-top:122px}}
@media(max-width:760px){.product-dialog-layout{grid-template-columns:1fr}.product-dialog-media{min-height:260px;padding:42px 68px 20px;border-radius:24px 24px 0 0}.product-dialog-media img{max-height:245px;transform:scale(1.55)}.product-dialog-config{min-height:420px}.product-groups{max-height:none}.menu-category-title{align-items:start;flex-direction:column;gap:7px}}
@media(max-width:480px){.menu-grid{grid-template-columns:1fr 1fr;gap:26px 12px}.menu-card h4{font-size:1rem}.menu-card p{min-height:5em;font-size:.76rem}.menu-card-meta{align-items:flex-start;flex-direction:column}.menu-add-control{width:100%}.menu-add-control.is-added{min-width:0;grid-template-columns:1fr 42px 1fr}.menu-add-step{width:34px}.menu-add{width:100%;padding-inline:5px}.menu-add-control.is-added .menu-add{width:36px;height:36px;min-height:36px}.menu-category-posno{padding:18px 12px}.product-dialog{max-height:calc(100vh - 16px)}.product-dialog-media{min-height:205px;padding:34px 74px 8px}.product-dialog-media img{max-height:185px;transform:scale(1.7)}.cart-head{padding:18px}.product-options{padding:16px 18px 0}.product-groups{padding:16px 18px 6px}.modifier-grid{grid-template-columns:1fr}.product-submit{padding:12px 18px 18px}.product-submit button{min-width:160px}.cart-line{grid-template-columns:1fr auto}.cart-line>b{grid-column:1/-1}}
@media(max-width:620px){.checkout-dialog{max-height:calc(100dvh - 16px)}.checkout-dialog form{max-height:calc(100dvh - 16px)}.checkout-dialog .cart-head{padding:16px 12px}.checkout-scroll-frame{overflow:auto;overscroll-behavior:contain}.checkout-scroll-frame>.cart-head{flex:0 0 auto}.checkout-scroll{max-height:none;flex:0 0 auto;overflow:visible;padding:12px}.checkout-section{padding:0}.checkout-section + .checkout-section{padding-top:14px}.checkout-address-search{grid-template-columns:1fr}.checkout-address-search button{width:100%}.checkout-fields{grid-template-columns:1fr 1fr}.checkout-fields .field-wide{grid-column:1/-1}.checkout-fields .field-grow{grid-column:span 1}.business-fields,.bonus-panel{grid-template-columns:1fr}.checkout-choice{align-items:stretch;flex-wrap:wrap}.checkout-submit{padding-inline:12px}.checkout-submit-row{gap:8px}.checkout-consents{align-items:flex-start;flex:1 1 auto;flex-wrap:wrap;gap:4px 9px;font-size:.6rem;line-height:1.2}.checkout-consents label{gap:4px}.checkout-consents input{margin:1px 0 0}.checkout-submit-action{gap:7px}.checkout-price-summary{max-width:122px}.checkout-price-summary>strong{font-size:1.17rem}.checkout-price-summary>s{font-size:.62rem}.checkout-submit button{padding:11px 14px}}
@media(max-width:390px){.schedule-days{grid-template-columns:1fr}.payment-choice label{width:100%;box-sizing:border-box}.fulfillment-picker,.time-mode-options{min-width:0;grid-template-columns:repeat(2,minmax(0,1fr))}.fulfillment-picker label,.time-mode-options label{min-width:0;padding-inline:4px;text-align:center}.fulfillment-picker strong{font-size:.8rem}.time-wheel-panel{min-width:0;padding-inline:8px}.ios-time-wheel{max-width:100%}.checkout-submit-row{flex-wrap:wrap}.checkout-submit-action{margin-left:auto}}
/* At watch-sized widths, preserve the two horizontal fulfillment/time choices. */
@media(max-width:250px) {
  .checkout-dialog { width:calc(100% - 12px); max-width:none; border-radius:16px; }
  .checkout-dialog .cart-head { gap:6px; padding:10px 8px; }
  .checkout-dialog .cart-head>div { min-width:0; }
  .checkout-dialog .cart-head h2 { font-size:1rem; line-height:1.25; overflow-wrap:anywhere; }
  .checkout-dialog .cart-head button { width:30px; height:30px; flex:0 0 30px; font-size:1.4rem; }
  .checkout-scroll { padding:8px; gap:10px; }
  .checkout-section { gap:8px; }
  .checkout-section + .checkout-section { padding-top:10px; }
  .checkout-fields { grid-template-columns:1fr; gap:8px; }
  .checkout-fields .field-wide,.checkout-fields .field-grow { grid-column:1; }
  .checkout-field,.checkout-fields label { font-size:.7rem; gap:4px; }
  .checkout-field input,.checkout-fields input,.checkout-fields textarea { min-width:0; padding:8px; font-size:.875rem; }
  .checkout-dialog .fulfillment-picker,.checkout-dialog .time-mode-options { min-width:0; grid-template-columns:repeat(2,minmax(0,1fr)); gap:3px; padding:3px; border-radius:11px; }
  .checkout-dialog .fulfillment-picker label,.checkout-dialog .time-mode-options label { min-width:0; min-height:34px; padding:4px 2px; font-size:.7rem; line-height:1.2; border-radius:8px; white-space:nowrap; }
  .checkout-dialog .fulfillment-picker strong { font-size:inherit; }
  .checkout-time-full { display:none; }
  .checkout-time-short { display:inline; }
  .checkout-time-picker,.schedule-options { min-width:0; gap:8px; }
  .schedule-days { gap:5px; }
  .schedule-day { min-width:0; min-height:40px; padding:5px; }
  .schedule-day strong { font-size:.72rem; }
  .schedule-day span { font-size:.65rem; }
  .time-wheel-panel { width:100%; min-width:0; padding:8px; border-radius:12px; }
  .time-wheel-heading { gap:4px; font-size:.65rem; }
  .ios-time-wheel { width:min(190px,100%); }
  .time-wheel-column { min-width:0; width:60px; }
  .time-wheel-column button { font-size:.95rem; }
  .checkout-address-search button { min-height:34px; padding:6px 8px; font-size:.75rem; }
  .pickup-location { align-items:flex-start; padding:8px; gap:6px; overflow-wrap:anywhere; }
  .pickup-location strong { font-size:.8rem; }
  .bonus-panel { padding:42px 8px 8px; gap:10px; }
  .bonus-balances { gap:8px!important; }
  .bonus-panel>div strong { font-size:1rem; }
  .bonus-max-button { min-height:36px; padding:8px; font-size:.75rem; }
  .checkout-fields .check-line,.checkout-choice label,.business-toggle strong { font-size:.75rem; }
  .checkout-submit { padding:8px; gap:6px; }
  .checkout-submit-row { flex-direction:column; align-items:stretch; gap:8px; }
  .checkout-consents { font-size:.65rem; line-height:1.3; }
  .checkout-submit-action { width:100%; justify-content:space-between; gap:6px; }
  .checkout-price-summary { max-width:120px; text-align:left; }
  .checkout-submit button { padding:10px 12px; font-size:.75rem; }
  .checkout-submit .checkout-sandbox-note { font-size:.6rem; }
}

/* A one-row folder of Lenten dishes, expandable without rebuilding the cards. */
.menu-catalog,.menu-category { min-width:0; }
.lenten-ribbon { position:relative; margin-bottom:22px; }
.lenten-ribbon-head { display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:40px; margin-bottom:18px; }
.lenten-ribbon-head h3 { margin:0; }
.lenten-ribbon-copy { color:var(--muted); font-size:.8rem; margin:0 0 18px; }
.lenten-ribbon-close { display:grid; place-items:center; flex:none; width:40px; height:40px; padding:0; border:0; border-radius:50%; background:var(--paper); color:var(--success-text); font:28px/1 Arial,sans-serif; cursor:pointer; }
.lenten-ribbon-close[hidden] { display:none; }
.lenten-ribbon-track { position:relative; min-width:0; }
.lenten-ribbon:not(.is-expanded) .lenten-ribbon-track { padding-inline:42px; }
.lenten-ribbon:not(.is-expanded) .lenten-ribbon-items { display:grid; grid-template-columns:none; grid-auto-flow:column; grid-auto-columns:min(220px,100%); justify-content:start; gap:22px; overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x proximity; scroll-padding-inline:3px; scrollbar-width:none; padding:6px 3px 14px; }
.lenten-ribbon-items::-webkit-scrollbar { display:none; width:0; height:0; }
.lenten-ribbon-scroll { position:absolute; top:50%; transform:translateY(-50%); display:grid; place-items:center; width:42px; height:88px; padding:0; border:0; border-radius:12px; background:transparent; color:var(--success-text); cursor:pointer; }
.lenten-ribbon-scroll svg { width:30px; height:54px; fill:none; stroke:currentColor; stroke-width:4; stroke-linecap:round; stroke-linejoin:round; }
.lenten-ribbon-prev { left:-4px; }
.lenten-ribbon-next { right:-4px; }
.lenten-ribbon-scroll:hover:not(:disabled) { background:color-mix(in srgb,var(--success-text) 10%,transparent); }
.lenten-ribbon-scroll:disabled { opacity:.22; cursor:default; }
.lenten-ribbon-scroll:focus-visible { outline:2px solid var(--success-text); outline-offset:1px; }
.lenten-ribbon.is-expanded .lenten-ribbon-scroll { display:none; }
.lenten-ribbon:not(.is-expanded) .menu-card { scroll-snap-align:start; }
.lenten-ribbon .menu-card-meta { flex-wrap:wrap; }
.lenten-ribbon-tab { position:absolute; right:22px; bottom:-28px; isolation:isolate; display:grid; place-items:center; width:84px; height:44px; padding:6px 18px 8px; border:0; border-radius:0 0 17px 17px; background:transparent; color:var(--success-text); cursor:pointer; }
.lenten-ribbon-tab::before { content:''; position:absolute; z-index:-1; inset:0; background:var(--success-bg); border-radius:0 0 17px 17px; clip-path:polygon(0 0,100% 0,88% 100%,12% 100%); }
.lenten-ribbon-tab svg { width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; transition:transform .2s ease; }
.lenten-ribbon.is-expanded .lenten-ribbon-tab svg { transform:rotate(180deg); }
.lenten-ribbon-tab:hover svg { stroke-width:2.6; }
.lenten-ribbon-tab:focus-visible,.lenten-ribbon-close:focus-visible { outline:2px solid var(--success-text); outline-offset:3px; }
@media(max-width:760px) {
  .lenten-ribbon .lenten-ribbon-scroll { display:none; }
  .lenten-ribbon:not(.is-expanded) .lenten-ribbon-track { padding-inline:0; }
  /* Three complete pictures plus half of the next: 3.5 widths and three gaps. */
  .lenten-ribbon:not(.is-expanded) .lenten-ribbon-items { grid-auto-columns:calc((100% - 30px)/3.5); gap:10px; padding:6px 0 10px; scroll-padding-inline:0; }
  .lenten-ribbon:not(.is-expanded) .menu-card-body,
  .lenten-ribbon:not(.is-expanded) .lenten-ribbon-copy { display:none; }
  .lenten-ribbon:not(.is-expanded) .menu-card-media,
  .lenten-ribbon:not(.is-expanded) .menu-card-media img,
  .lenten-ribbon:not(.is-expanded) .menu-card-image { border-radius:12px; }
  .lenten-ribbon:not(.is-expanded) .menu-card:hover img { transform:none; }
  .lenten-ribbon:not(.is-expanded) .menu-card-media:focus-visible { outline-offset:-2px; }
}
@media(max-width:480px) { .lenten-ribbon-tab { right:12px; } }
@media(max-width:300px) { .lenten-ribbon.is-expanded .menu-grid { grid-template-columns:minmax(0,1fr); } }
@media(prefers-reduced-motion:reduce) { .lenten-ribbon-tab svg { transition:none; } }

/* Shared size limits follow responsive rules so every viewport uses the same cap. */
.menu-card-media { display:block; width:100%; padding:0; border:0; border-radius:20px; background:transparent; color:inherit; cursor:pointer; }
.menu-card-media img { display:block; }
.menu-card-media:focus-visible { outline:2px solid var(--red); outline-offset:4px; }
.menu-card-media:disabled { cursor:default; }

/* Product photos: controls overlay the image, so a gallery never changes card height. */
.product-gallery { position:relative; min-width:0; }
.product-gallery.has-gallery { touch-action:pan-y pinch-zoom; }
.product-gallery.has-gallery img { user-select:none; -webkit-user-drag:none; }
.gallery-arrow { position:absolute; top:50%; z-index:2; display:none; place-items:center; width:36px; height:44px; padding:8px; appearance:none; border:0; border-radius:0; outline:0; background:transparent; color:var(--ink); box-shadow:none; transform:translateY(-50%); cursor:pointer; }
.gallery-prev { left:4px; }
.gallery-next { right:4px; }
.gallery-arrow svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.gallery-arrow:hover,.gallery-arrow:focus-visible { color:var(--red); }
.gallery-arrow:focus-visible svg { transform:scale(1.2); }
.gallery-dot:focus-visible { outline:2px solid var(--red); outline-offset:2px; }
.gallery-dots { position:absolute; z-index:2; bottom:5px; left:50%; width:max-content; max-width:calc(100% - 16px); display:flex; flex-wrap:nowrap; justify-content:center; padding:0 4px; border:1px solid var(--line); border-radius:20px; background:var(--paper); transform:translateX(-50%); }
.gallery-dot { display:grid; place-items:center; width:24px; height:26px; padding:0; border:0; border-radius:50%; background:transparent; cursor:pointer; }
.gallery-dot span { width:6px; height:6px; border-radius:50%; background:var(--muted); opacity:.45; }
.gallery-dot[aria-pressed="true"] span { background:var(--red); opacity:1; }
.gallery-announcement { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.product-dialog-media .gallery-prev { left:12px; }
.product-dialog-media .gallery-next { right:12px; }
.product-dialog-media .gallery-dots { bottom:12px; }
@media(min-width:761px) {
  .product-dialog[open] .gallery-arrow { display:grid; width:56px; height:56px; }
  .product-dialog[open] .gallery-arrow svg { width:40px; height:40px; }
}
@media(max-width:760px) {
  .gallery-arrow { display:none; }
  /* A swipe on the collapsed Postno strip must continue scrolling the strip. */
  .lenten-ribbon:not(.is-expanded) .product-gallery.has-gallery { touch-action:auto; }
  .lenten-ribbon:not(.is-expanded) .gallery-arrow,.lenten-ribbon:not(.is-expanded) .gallery-dots { display:none; }
}
.menu-card { width:100%; max-width:220px; justify-self:center; }
.product-dialog-media img { max-height:200px; }


