:root { font-family: Inter, "Segoe UI", Arial, sans-serif; color: #202b26; background: #fff; --green: #087f52; --light: #eef7f2; --muted: #64736b; --line: #e6ece8; --surface: #fff; --soft: #f5f7f5; color-scheme: light; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
button, input, textarea, select { font: inherit; }
button, input, textarea, select { min-height: 44px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; max-width: 100%; }
button { cursor: pointer; color: var(--green); background: var(--light); font-weight: 650; }
button:disabled { opacity: .5; cursor: not-allowed; }
button[aria-pressed="true"], .primary { color: #fff; background: var(--green); border-color: var(--green); }
button:focus-visible, input:focus, textarea:focus, select:focus, a:focus-visible { outline: 3px solid #71b495; outline-offset: 3px; }
input, textarea, select { width: 100%; background: var(--surface); color: inherit; }
input[type="checkbox"], input[type="radio"] { width: 20px; height: 20px; min-height: 20px; accent-color: var(--green); }
a { color: var(--green); }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { font-size: 26px; line-height: 1.2; letter-spacing: -.5px; margin: 8px 0; }
h2 { font-size: 21px; line-height: 1.3; margin: 22px 0 14px; letter-spacing: -.3px; }
h3 { font-size: 16px; line-height: 1.4; margin: 0 0 6px; }
p { line-height: 1.5; margin: 8px 0; }
small, .secondary-copy { color: var(--muted); font-size: 13px; font-weight: 400; }
.top { display: flex; align-items: center; gap: 16px; padding: 12px max(16px, calc((100% - 1120px) / 2)); border-bottom: 1px solid var(--line); border-top: 4px solid var(--green); background: var(--surface); }
.top .brand { font-weight: 800; text-decoration: none; font-size: 15px; white-space: nowrap; }
.top h1 { font-size: 18px; margin-right: auto; }
.top button { font-size: 13px; padding: 8px; }
.access-menu { position: relative; flex: 0 0 auto; border: 0; margin: 0; padding: 0; }
.access-menu > summary { display: grid; width: 44px; height: 44px; padding: 10px; place-items: center; list-style: none; border-radius: 10px; }
.access-menu > summary::-webkit-details-marker { display: none; }
.access-menu > summary svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.access-menu > summary:focus-visible { outline: 3px solid #71b495; }
.access-menu-panel { position: absolute; z-index: 10; top: 100%; left: 0; width: 220px; max-width: calc(100vw - 32px); padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 8px 24px #0002; }
.access-menu-panel a, .access-menu-panel .access-button { display: block; width: 100%; min-height: 44px; margin: 0; padding: 12px; text-align: left; text-decoration: none; }
.access-menu-panel .access-roles { display: grid; gap: 4px; margin-top: 4px; }
main { width: min(100% - 32px, 1120px); margin: 0 auto; padding-bottom: calc(130px + env(safe-area-inset-bottom)); }
@media (max-width: 700px) {
  .top { flex-wrap: wrap; gap: 8px 12px; }
  .top h1 { margin-right: 0; }
  .top #refresh { margin-left: auto; }
}
#notice { font-size: 13px; color: var(--muted); margin: 12px 0; }
#notice.error, .error { color: #b42318; }
.actions, .row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.row { justify-content: space-between; margin: 12px 0; }
.row > span { flex: 1; }
label { display: grid; gap: 6px; margin: 12px 0; font-size: 14px; }
.delivery-confirm { display: flex; align-items: flex-start; gap: 10px; line-height: 1.4; }
.delivery-confirm input { flex: 0 0 auto; margin: 0; }
article, form, .card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; margin: 12px 0; overflow-wrap: anywhere; }
fieldset { min-width: 0; border: 1px solid var(--line); border-radius: 12px; margin: 16px 0; padding: 12px; }
legend { font-weight: 700; padding: 0 5px; }
details { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 16px; }
summary { cursor: pointer; min-height: 44px; font-size: 14px; font-weight: 650; }
.disclosure { color: var(--muted); font-size: 13px; line-height: 1.6; }
.field-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.option-choice { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 8px; }
.option-choice button { grid-column: 1 / -1; justify-self: start; }
.upload-preview img { width: 120px; height: 100px; object-fit: cover; border-radius: 12px; }
.shopping-content { margin-top: 16px; }
.delivery-header { padding: 10px 0 0; }
.eyebrow { color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: 1.6px; }
.site-header .food-gps-attribution { color: #65676b; font-size: 10px; text-decoration: underline; }
.search-box input { background: var(--soft); border: 0; border-radius: 14px; min-height: 50px; padding: 14px 16px; }
.filter-bar { display: flex; align-items: center; overflow-x: auto; gap: 8px; padding: 0 0 10px; }
.filter-bar > * { flex: 0 0 auto; }
.filter-bar label, .menu-navigation label { display: flex; align-items: center; gap: 8px; font-size: 12px; white-space: nowrap; }
.filter-bar select, .filter-bar button { font-size: 13px; width: auto; border-radius: 24px; min-height: 44px; }
.restaurant-card { display: grid; position: relative; grid-template-columns: 108px minmax(0, 1fr); gap: 14px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; margin: 0; padding: 18px 0; }
.restaurant-link { position: absolute; inset: 0; z-index: 1; opacity: 0; width: 100%; }
.restaurant-card:focus-within, .again-card:focus-within { outline: 3px solid #71b495; border-radius: 16px; }
.restaurant-photo { width: 108px; height: 108px; border-radius: 16px; object-fit: cover; }
.restaurant-copy p { font-size: 12px; color: var(--muted); margin: 4px 0; }
.restaurant-copy .open-label, .open-label { color: var(--green); font-weight: 600; }
.closed-label { font-size: 12px; color: var(--muted); }
.order-again { display: flex; gap: 14px; overflow-x: auto; padding: 0 0 8px; }
.again-card { position: relative; flex: 0 0 160px; border: 0; padding: 0; margin: 0; background: transparent; }
.again-card .restaurant-photo { width: 160px; height: 120px; margin-bottom: 8px; }
.again-card h3 { font-size: 14px; }
.again-card p { font-size: 12px; margin: 3px 0; }
.restaurant-closed { filter: grayscale(1); }
.restaurant-closed .restaurant-photo { opacity: .55; }
.restaurant-closed .restaurant-copy { opacity: .75; }
.order-history { border-top: 1px solid var(--line); margin-top: 30px; }
.order-status-view .site-header, .order-status-view .top { display: none; }
.order-status-view main { width: min(100% - 32px, 560px); padding-bottom: 20px; }
.order-status-view .food-toolbar { justify-content: space-between; }
.order-status-view .food-toolbar #order-history-close { display: grid; width: 44px; height: 44px; min-height: 44px; flex: 0 0 44px; place-items: center; margin-left: auto; padding: 0; border: 0; border-radius: 12px; color: #087f52; background: #eef7f2; font-size: 28px; line-height: 1; }
.order-status-view .order-history { border: 0; margin-top: 0; }
.buyer-order-history { display: grid; gap: 20px; }
.buyer-order-group h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; color: #183a2a; font-size: 17px; }
.buyer-order-group h2 span { display: inline-grid; min-width: 22px; height: 22px; place-items: center; padding: 0 6px; border-radius: 999px; color: #087343; background: #e7f4eb; font-size: 11px; }
.buyer-order-summary { display: grid; width: 100%; grid-template-columns: minmax(0, 1fr) auto 16px; align-items: center; gap: 8px; margin: 8px 0; padding: 12px; border: 1px solid #e1e9e3; border-radius: 12px; color: #23392c; background: #fff; text-align: left; cursor: pointer; }
.buyer-order-summary-copy { display: grid; min-width: 0; gap: 4px; }
.buyer-order-summary-copy strong { font-size: 14px; }
.buyer-order-summary-copy small { overflow: hidden; color: #637268; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.buyer-order-status { max-width: 150px; padding: 5px 8px; border-radius: 999px; color: #205b40; background: #e7f4eb; font-size: 11px; font-weight: 700; text-align: center; }
.buyer-order-status.status-cancelled, .buyer-order-status.status-rejected { color: #a52828; background: #fff0ef; }
.buyer-order-status.status-delivered { color: #17653a; background: #e4f5e9; }
.buyer-order-summary-arrow { color: #718177; font-size: 22px; line-height: 1; }
.buyer-order-empty { margin: 0; padding: 14px; border-radius: 12px; color: #68786f; background: #f5f8f6; font-size: 13px; text-align: center; }
html, body { scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; }
.buyer-order-dialog { width: min(768px, calc(100vw - 16px)); max-width: none; max-height: calc(100dvh - 16px); padding: 0; overflow-x: hidden; overflow-y: auto; scrollbar-width: none; -ms-overflow-style: none; border: 0; border-radius: 26px; color: #17231c; background: #fff; box-shadow: 0 18px 60px #102a1e45; }
.buyer-order-dialog::-webkit-scrollbar { display: none; }
.buyer-order-dialog::backdrop { background: #10251acc; }
.buyer-order-dialog-heading { position: sticky; z-index: 2; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 92px; margin: 0; padding: 13px 26px; color: #fff; background: radial-gradient(ellipse at 68% 0, #168961 0, transparent 56%), linear-gradient(115deg, #006749, #005337 72%, #00452d); }
.buyer-order-dialog-title { display: flex; align-items: center; gap: 16px; min-width: 0; }
.buyer-order-dialog-title > svg { width: 48px; height: 48px; flex: 0 0 48px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.buyer-order-dialog-heading h2 { margin: 0; color: #fff; font-size: clamp(20px, 3.8vw, 30px); line-height: 1.1; }
.buyer-order-dialog-heading p { margin: 4px 0 0; color: #d3eee2; font-size: 15px; line-height: 1.2; }
.buyer-order-dialog-heading button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 7px 12px; border: 1px solid #ffffff8a; border-radius: 16px; color: #fff; background: #ffffff19; font-size: 14px; font-weight: 700; white-space: nowrap; }
.buyer-order-dialog-heading button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.buyer-order-dialog-body { margin-top: -1px; padding: 19px 24px 24px; border-radius: 25px 25px 18px 18px; background: #fff; }
.buyer-order-detail { display: grid; gap: 18px; margin: 0; padding: 0; overflow: visible; border: 0; border-radius: 0; background: transparent; }
.buyer-order-vendor { display: grid; grid-template-columns: 88px minmax(0, 1fr) minmax(220px, 270px); align-items: center; gap: 14px; min-width: 0; }
.buyer-order-vendor-logo { display: grid; width: 88px; height: 88px; place-items: center; overflow: hidden; border: 1px solid #dfe7e2; border-radius: 18px; color: #0b7650; background: #f1f8f4; }
.buyer-order-vendor-logo img { width: 100%; height: 100%; object-fit: cover; }
.buyer-order-vendor-logo svg { width: 48px; height: 48px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.buyer-order-vendor-copy { display: grid; min-width: 0; gap: 8px; }
.buyer-order-vendor-copy h3 { margin: 0; color: #121915; font-size: clamp(17px, 3.2vw, 25px); line-height: 1.15; }
.buyer-order-vendor-copy h3 small { color: #5a685f; font-size: .75em; }
.buyer-order-number { display: flex; align-items: center; justify-self: start; gap: 8px; padding: 4px 8px 4px 12px; border: 1px solid #e0e7e2; border-radius: 14px; background: #f0f3f1; }
.buyer-order-number > strong { color: #1b2420; font-size: 18px; font-variant-numeric: tabular-nums; }
.buyer-order-number button { display: grid; width: 34px; min-height: 34px; place-items: center; padding: 5px; border: 0; border-radius: 9px; color: #53625a; background: transparent; }
.buyer-order-number button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.buyer-order-status-card { display: grid; grid-template-columns: 38px minmax(0, 1fr) 28px; align-items: center; gap: 9px; min-height: 84px; padding: 10px 12px; border: 1px solid #a8d7ba; border-radius: 22px; color: #087343; background: linear-gradient(115deg, #f3fbf5, #e8f6ec); }
.buyer-order-status-card > svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.buyer-order-status-card > span { display: grid; gap: 2px; min-width: 0; color: #1b2420; font-size: 14px; line-height: 1.2; }
.buyer-order-status-card > span small { color: #56665c; font-size: 12px; }
.buyer-order-status-card > span strong { font-size: 17px; }
.buyer-order-status-card > svg:last-child { padding: 4px; border-radius: 50%; color: #fff; background: #07944e; }
.buyer-order-status-card.status-cancelled, .buyer-order-status-card.status-rejected, .buyer-order-status-card.status-refund_due { border-color: #efc7c4; color: #a52828; background: #fff3f1; }
.buyer-order-breakdown { display: grid; gap: 10px; padding: 14px 18px; border: 1px solid #e2e9e5; border-radius: 25px; background: linear-gradient(135deg, #fff, #fcfdfc); box-shadow: 0 3px 9px #193b2709; }
.buyer-order-breakdown h3 { display: flex; align-items: center; gap: 10px; margin: 0; padding-bottom: 10px; border-bottom: 1px solid #e5ebe7; color: #151c18; font-size: 19px; }
.buyer-order-breakdown h3 svg { width: 28px; height: 28px; fill: none; stroke: #087f52; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.buyer-order-breakdown ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.buyer-order-breakdown li { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; min-width: 0; padding: 1px 0; color: #171d19; }
.buyer-order-breakdown li > div { display: grid; gap: 3px; min-width: 0; }
.buyer-order-breakdown li > strong, .buyer-order-breakdown li > div > strong { font-size: 16px; line-height: 1.3; }
.buyer-order-breakdown li > small, .buyer-order-breakdown li > div > small { color: #66746b; font-size: 12px; }
.buyer-order-breakdown dl { display: grid; gap: 0; margin: 0; }
.buyer-order-breakdown dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; color: #333c36; font-size: 15px; }
.buyer-order-breakdown dt, .buyer-order-breakdown dd { margin: 0; }
.buyer-order-breakdown .buyer-order-total { margin: 2px -8px -2px; padding: 8px 12px; border-radius: 14px; color: #064d35; background: linear-gradient(100deg, #e4f5ea, #d6efdf); font-weight: 800; }
.buyer-order-total dd { font-size: 25px; line-height: 1.1; white-space: nowrap; }
.buyer-order-address { display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: center; gap: 7px; min-width: 0; padding: 7px 9px; border: 1px solid #dfe7e3; border-radius: 14px; background: linear-gradient(110deg, #fff, #fafcfb); }
.buyer-order-address > svg { width: 23px; height: 23px; fill: #078446; stroke: #078446; stroke-width: 1.8; }
.buyer-order-address > div { display: grid; gap: 2px; min-width: 0; }
.buyer-order-address > div strong { color: #17211b; font-size: 13px; }
.buyer-order-address > div span { color: #27322b; font-size: 12px; }
.buyer-order-address > div small { font-size: 10px; }
.buyer-order-detail .assigned-rider-card { position: relative; display: flex; align-items: center; gap: 0; min-height: 0; margin: 0; padding: 10px 14px; border: 1px solid #cce4d5; border-radius: 16px; background: radial-gradient(ellipse at 90% 100%, #dff4e8 0, transparent 36%), linear-gradient(110deg, #f8fcf9, #edf8f1); }
.buyer-order-detail .assigned-rider-details { align-content: center; gap: 3px; min-width: 0; font-size: 12px; }
.buyer-order-detail .assigned-rider-details small { color: #4a5d50; font-size: 11px; }
.buyer-order-detail .assigned-rider-details strong { color: #151c18; font-size: 16px; }
.buyer-order-detail .assigned-rider-card.is-buyer-active { justify-content: space-between; gap: 12px; }
.buyer-order-detail .assigned-rider-card.is-buyer-active .assigned-rider-details { flex: 1; }
.buyer-order-detail .assigned-rider-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 3px; }
.buyer-order-detail .assigned-rider-contact { display: inline-flex; min-height: 28px; align-items: center; justify-content: center; padding: 4px 9px; border: 1px solid #d5e8dc; border-radius: 9px; color: #075e3b; background: #fff; font-size: 11px; font-weight: 700; text-decoration: none; }
.buyer-order-detail .assigned-rider-avatar.assigned-rider-photo-button { flex: 0 0 72px; width: 72px; height: 72px; min-height: 72px; overflow: hidden; padding: 0; border: 1px solid #cce4d5; border-radius: 12px; color: #52665b; background: #e6f2ea; font-size: 9px; }
.buyer-order-detail .assigned-rider-photo-button img { display: block; width: 100%; height: 100%; object-fit: cover; }
.assigned-rider-photo-dialog { position: fixed; box-sizing: border-box; width: min(560px, calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 24px); margin: auto; padding: 42px 10px 10px; overflow: visible; border: 1px solid #dce8e1; border-radius: 18px; background: #fff; box-shadow: 0 16px 48px rgb(0 25 15 / 28%); }
.assigned-rider-photo-dialog::backdrop { background: rgb(5 20 13 / 72%); }
.assigned-rider-photo-dialog > button { position: absolute; top: 7px; right: 7px; display: grid; width: 34px; min-height: 34px; place-items: center; padding: 0; border: 0; border-radius: 10px; color: #284337; background: #eef7f2; font-size: 23px; line-height: 1; }
.assigned-rider-photo-dialog > img { display: block; max-width: 100%; max-height: calc(100dvh - 90px); margin: 0 auto; border-radius: 12px; object-fit: contain; }
.buyer-order-detail .buyer-order-actions { gap: 5px; padding-top: 0; }
.buyer-order-detail .buyer-order-actions [data-action="download-order-receipt"], .buyer-order-detail .buyer-order-actions [data-step="problem"] { min-height: 32px; padding: 4px 8px; border-radius: 9px; font-size: 11px; line-height: 1.15; }
.buyer-order-detail .vendor-payment-qr { display: block; width: min(260px, 100%); margin: 12px auto; }
.buyer-order-problem { padding: 10px 12px; border-radius: 12px; background: #fff0ef; }
@media (max-width: 600px) {
  .buyer-order-dialog { width: calc(100vw - 12px); max-height: calc(100dvh - 12px); border-radius: 20px; }
  .buyer-order-dialog-heading { min-height: 76px; padding: 10px 14px; }
  .buyer-order-dialog-title { gap: 9px; }
  .buyer-order-dialog-title > svg { width: 36px; height: 36px; flex-basis: 36px; }
  .buyer-order-dialog-heading h2 { font-size: 20px; }
  .buyer-order-dialog-heading p { font-size: 11px; }
  .buyer-order-dialog-heading button { min-height: 40px; gap: 4px; padding: 5px 8px; font-size: 12px; }
  .buyer-order-dialog-body { padding: 13px 12px 16px; border-radius: 20px 20px 14px 14px; }
  .buyer-order-detail { gap: 12px; }
  .buyer-order-vendor { grid-template-columns: 64px minmax(0, 1fr); gap: 10px; }
  .buyer-order-vendor-logo { width: 64px; height: 64px; border-radius: 14px; }
  .buyer-order-vendor-logo svg { width: 36px; height: 36px; }
  .buyer-order-vendor-copy h3 { font-size: 18px; }
  .buyer-order-number { gap: 4px; padding: 2px 5px 2px 9px; }
  .buyer-order-number > strong { font-size: 15px; }
  .buyer-order-number button { width: 30px; min-height: 30px; }
  .buyer-order-status-card { grid-column: 1 / -1; grid-template-columns: 34px minmax(0, 1fr) 26px; min-height: 66px; padding: 8px 12px; border-radius: 16px; }
  .buyer-order-status-card > svg { width: 25px; height: 25px; }
  .buyer-order-status-card > span small { font-size: 11px; }
  .buyer-order-status-card > span strong { font-size: 15px; }
  .buyer-order-breakdown { gap: 8px; padding: 12px; border-radius: 19px; }
  .buyer-order-breakdown h3 { gap: 8px; padding-bottom: 8px; font-size: 17px; }
  .buyer-order-breakdown h3 svg { width: 24px; height: 24px; }
  .buyer-order-breakdown li > strong, .buyer-order-breakdown li > div > strong { font-size: 14px; }
  .buyer-order-breakdown dl > div { font-size: 14px; }
  .buyer-order-total dd { font-size: 21px; }
  .buyer-order-address { grid-template-columns: 24px minmax(0, 1fr); gap: 6px; padding: 7px 9px; border-radius: 13px; }
  .buyer-order-address > svg { width: 21px; height: 21px; }
  .buyer-order-address > div strong { font-size: 12px; }
  .buyer-order-address > div span { font-size: 11px; }
  .buyer-order-address > div small { font-size: 9px; }
  .buyer-order-detail .assigned-rider-card { min-height: 0; padding: 10px 12px; border-radius: 16px; }
  .buyer-order-detail .assigned-rider-details { gap: 4px; font-size: 12px; }
  .buyer-order-detail .assigned-rider-details small { font-size: 11px; }
  .buyer-order-detail .assigned-rider-details strong { font-size: 16px; }
}
.embedded-order-status-view .buyer-order-dialog { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; border-radius: 20px; }
html.buyer-pull-refresh { overscroll-behavior-y: contain; }
.buyer-shopping-view .food-toolbar { display: none; }
#pull-refresh-status { margin: 8px 0; text-align: center; color: var(--muted); font-size: 13px; }
.empty-state { padding: 30px 12px; text-align: center; color: var(--muted); background: var(--soft); border-radius: 16px; }
.restaurant-hero { position: relative; height: 210px; margin: 0 -16px; background: linear-gradient(135deg, #d8eadf, #f0f6f2); }
.hero-photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-nav { position: absolute; top: 16px; left: 16px; right: 16px; display: flex; justify-content: space-between; gap: 12px; }
.round-button { background: var(--surface); box-shadow: 0 4px 16px #0002; font-size: 13px; border-radius: 28px; }
.restaurant-info { position: relative; background: var(--surface); margin: -30px 0 12px; padding: 20px; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 8px 24px #193f2510; }
.restaurant-avatar { float: right; width: 58px; height: 58px; object-fit: cover; border-radius: 14px; margin: 0 0 10px 10px; }
.restaurant-info p { color: var(--muted); font-size: 13px; }
.restaurant-info h1 { font-size: 24px; }
.menu-navigation { display: flex; align-items: center; gap: 8px; overflow-x: auto; position: sticky; top: 0; z-index: 4; padding: 4px 0; background: var(--surface); border-bottom: 1px solid var(--line); }
.menu-navigation > * { flex: 0 0 auto; }
.menu-navigation select, .menu-navigation button { font-size: 12px; width: auto; }
.menu-search input { width: 140px; }
.menu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; margin-top: 20px; }
.product-card { padding: 0; margin: 0; border: 0; background: transparent; min-width: 0; }
.product-photo { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 18px; background: var(--soft); }
.product-photo img, .product-photo .image-empty { width: 100%; height: 100%; object-fit: cover; }
.product-copy { padding: 10px 0; }
.product-copy h3 { font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 42px; }
.product-copy p { color: var(--muted); font-size: 12px; margin: 4px 0 10px; }
.dish-badge { position: absolute; top: 8px; left: 8px; max-width: calc(100% - 16px); border-radius: 8px; padding: 5px 7px; font-size: 10px; background: var(--surface); font-weight: 750; }
.quantity-controls { display: flex; align-items: center; gap: 8px; justify-content: flex-end; margin-top: 8px; }
.quantity-controls button { display: grid; place-items: center; width: 44px; height: 44px; font-size: 22px; line-height: 1; text-align: center; padding: 0; border-radius: 50%; background: var(--surface); border: 1.5px solid var(--green); }
.quantity-controls span { font-size: 14px; min-width: 12px; text-align: center; }
.image-empty { display: flex; align-items: center; justify-content: center; background: var(--soft); color: var(--muted); font-size: 11px; text-align: center; padding: 8px; }
.basket-wrap { position: fixed; bottom: 0; left: 0; right: 0; z-index: 8; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--surface) 25%); }
.basket-bar { display: block; width: min(100%, 720px); margin: auto; background: var(--green); color: #fff; border: 0; border-radius: 32px; box-shadow: 0 5px 20px #08482c24; padding: 18px 22px; font-size: 15px; animation: basket-in .2s ease-out; }
.summary-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0 24px; }
.summary-title-row { display: flex; min-width: 0; align-items: center; gap: 14px; }
.summary-title-row h1 { margin: 0; color: #161a1c; font-size: clamp(20px, 4.5vw, 38px); letter-spacing: -.8px; white-space: nowrap; }
.summary-back { display: grid; width: 54px; min-height: 54px; flex: 0 0 auto; place-items: center; padding: 0; border: 0; background: transparent; color: #101719; font-size: 36px; font-weight: 450; }
.summary-add { display: inline-flex; min-height: 36px; flex: 0 0 auto; align-items: center; justify-content: center; gap: 6px; padding: 6px 12px; border: 1px solid #087443; border-radius: 10px; color: #fff; background: #087443; font-size: 13px; font-weight: 750; box-shadow: 0 3px 8px #0e643018; }
.summary-add:hover { background: #065d36; border-color: #065d36; }
.summary-add:active { background: #044b2b; box-shadow: none; }
.summary-icon { width: 26px; height: 26px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.summary-add .summary-icon { width: 18px; height: 18px; }
.summary-item { display: grid; grid-template-columns: clamp(84px, 22vw, 170px) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; column-gap: 22px; align-items: start; min-height: 214px; border: 1px solid #e1e5e9; border-radius: 28px; padding: 20px; margin: 0 0 30px; box-shadow: 0 8px 18px #172a3910; }
.summary-thumb { grid-column: 1; grid-row: 1 / span 2; width: 100%; aspect-ratio: 1; height: auto; border-radius: 22px; object-fit: cover; }
.summary-item-details { grid-column: 2; grid-row: 1; min-width: 0; }
.summary-item-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.summary-item h2 { min-width: 0; margin: 0; color: #171b1e; font-size: clamp(18px, 3.6vw, 28px); line-height: 1.2; letter-spacing: -.4px; }
.summary-view .summary-item h2 { margin: 0; }
.summary-item p { color: var(--muted); font-size: 14px; margin: 6px 0; }
.summary-remove { display: grid; width: 58px; height: 58px; min-height: 58px; flex: 0 0 auto; place-items: center; padding: 0; border: 0; border-radius: 20px; color: #65676b; background: #f0f1f2; }
.summary-remove .summary-icon { width: 30px; height: 30px; }
.summary-remove span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.summary-item .actions { gap: 10px; }
.summary-item .summary-edit { display: inline-flex; min-height: 34px; align-items: center; gap: 8px; margin-top: 6px; padding: 2px 0; border: 0; color: #087c3e; background: transparent; font-size: 20px; font-weight: 700; }
.summary-edit .summary-icon { width: 26px; height: 26px; }
.item-price { grid-column: 2; grid-row: 2; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-width: 0; }
.item-price > strong { color: #087c3e; font-size: clamp(20px, 3.2vw, 28px); white-space: nowrap; }
.item-price .quantity-controls { flex: 0 0 auto; gap: 14px; margin-top: 0; }
.summary-item .quantity-controls button { width: clamp(48px, 9.4vw, 72px); height: 60px; min-height: 56px; padding: 0; border: 2px solid #07883f; border-radius: 19px; color: #07883f; background: #fff; font-size: 30px; }
.summary-item .quantity-controls span { min-width: 26px; color: #15191b; font-size: 24px; }
.text-button { background: transparent; border: 0; padding: 4px 0; }
.suggestions { display: flex; overflow-x: auto; gap: 16px; padding-bottom: 12px; }
.suggestions .product-card { flex: 0 0 140px; }
.checkout-card, .payment-card { padding: 22px; border: 1px solid #d9dfe4; border-radius: 26px; background: #fff; box-shadow: 0 8px 22px #172a3910; }
.checkout-card { align-self: start; }
.checkout-card h2, .payment-card h2 { display: flex; align-items: center; gap: 16px; margin: 0 0 20px; color: #171b1e; font-size: clamp(24px, 4vw, 32px); }
.summary-view .checkout-card h2, .summary-view .payment-card h2 { margin: 0 0 20px; }
.checkout-card h2 .summary-icon, .payment-card h2 .summary-icon { width: 38px; height: 38px; color: #07883f; }
.checkout-card form { border: 0; margin: 0; padding: 0; }
.delivery-address-field { position: relative; display: grid; gap: 10px; margin: 0 0 18px; color: #24292c; font-size: 18px; font-weight: 500; }
.delivery-field-title { display: flex; align-items: center; gap: 12px; }
.delivery-field-title .summary-icon { width: 28px; height: 28px; color: #07883f; }
.delivery-address-input { position: relative; display: block; overflow: hidden; border: 2px solid #dce2e5; border-radius: 18px; background: #f1f8f4; }
.delivery-address-input:focus-within { outline: 2px solid var(--green); outline-offset: 2px; }
.delivery-address-field textarea { display: block; width: 100%; height: 72px; min-height: 72px; max-height: 72px; margin: 0; padding: 12px 190px 8px 20px; border: 0; border-radius: 0; color: #202b26; background: transparent; font-size: 16px; font-weight: 450; line-height: 1.4; resize: none; overflow-y: auto; overflow-wrap: anywhere; }
.delivery-address-field textarea::placeholder { color: #77868d; font-size: 13px; font-weight: 400; }
.delivery-gps-address { display: block; margin: 0; padding: 2px 12px 4px; color: #568168; font-size: 8px; font-weight: 400; line-height: 1.3; overflow-wrap: anywhere; }
.delivery-gps-address[hidden] { display: none; }
.delivery-location-actions { position: absolute; top: 36px; right: 8px; display: flex; gap: 8px; transform: translateY(-50%); }
.delivery-location-button { display: grid; width: 58px; min-height: 58px; height: 58px; place-items: center; padding: 12px; border: 1px solid #d9e9de; border-radius: 17px; color: var(--green); background: #edf7f1; transition: background .16s ease, transform .16s ease, border-color .16s ease; }
.delivery-address-toggle { width: 32px; min-height: 32px; height: 32px; padding: 6px; border-radius: 10px; }
.delivery-address-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .16s ease; }
.delivery-address-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.delivery-location-button:hover { border-color: #a7cfb5; background: #e2f2e8; }
.delivery-location-button:active { transform: scale(.96); }
.delivery-location-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.delivery-phone-field { display: grid; gap: 10px; margin: 0 0 18px; color: #24292c; font-size: 18px; font-weight: 500; }
.delivery-phone-field input { min-height: 66px; padding: 12px 20px; border: 2px solid #dce2e5; border-radius: 18px; color: #24394b; font-size: 22px; font-weight: 450; }
.delivery-method { display: flex; align-items: center; gap: 14px; margin: 22px 0 16px; padding: 16px; border: 2px solid #168b48; border-radius: 20px; color: #087c3e; background: #eff9f2; }
.delivery-method > .summary-icon { width: 34px; height: 34px; }
.delivery-method > span { display: grid; flex: 1; gap: 4px; color: #202b26; }
.delivery-method > span strong { font-size: 19px; }
.delivery-method > span small { font-size: 15px; }
.delivery-method-price { max-width: 40%; flex: 0 1 auto; color: #087c3e; font-size: 22px; text-align: right; overflow-wrap: anywhere; }
.shop-location-status { min-height: 20px; margin: 8px 0 14px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.delivery-confirm { align-items: flex-start; margin: 14px 0 0; padding: 14px 10px 4px; border: 0; border-top: 1px solid #e2e6e9; border-radius: 0; color: #24292c; background: transparent; font-size: 17px; line-height: 1.45; }
.delivery-confirm:has(input:checked) { border-color: #85c29b; color: #126139; background: #eaf7ef; }
.delivery-confirm input { margin-top: 1px; }
.saved-address-actions { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.saved-address-notice { margin: 0; padding: 8px 10px; border-radius: 9px; color: #17613c; background: #eaf7ef; font-size: 12px; line-height: 1.4; }
.saved-address-notice[role="alert"] { color: #a52828; background: #fff0ef; }
.saved-address-actions .saved-address-save { min-height: 0; padding: 2px 0; border: 0; border-radius: 0; color: var(--green); background: transparent; font-size: 12px; text-decoration: underline; }
.saved-address-actions small { color: var(--muted); font-size: 11px; font-weight: 400; }
.saved-addresses { max-height: 220px; overflow-y: auto; padding: 4px 10px; border: 1px solid #d9e9de; border-radius: 10px; background: #fff; font-size: 12px; font-weight: 400; box-shadow: 0 5px 14px #143d2110; }
.saved-addresses[hidden] { display: none; }
.saved-address-heading, .saved-address-empty { margin: 2px 0; color: var(--muted); font-size: 11px; }
.saved-address { display: flex; align-items: center; gap: 8px; padding: 2px 0; border-top: 1px solid var(--line); }
.saved-address button { min-height: 0; padding: 2px 6px; font-size: 11px; line-height: 1.3; }
.saved-address .saved-address-delete { display: grid; width: 28px; height: 28px; min-height: 28px; flex: 0 0 28px; place-items: center; padding: 6px; border: 0; border-radius: 8px; color: #a52828; background: #fff0ef; }
.saved-address-delete svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.saved-address .saved-address-select { flex: 1; min-width: 0; border: 0; border-radius: 4px; color: #202b26; background: transparent; text-align: left; overflow-wrap: anywhere; }
.saved-address .saved-address-select:hover { background: #eff9f2; }
.payment-card h2 { margin-bottom: 20px; }
.price-breakdown { padding: 10px 0 0; margin: 0; border-top: 1px solid #e4ece6; }
.price-breakdown > div { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 10px 0; }
.price-breakdown dt { display: flex; align-items: center; gap: 8px; color: #24292c; font-size: 19px; }
.price-breakdown dd { margin: 0; color: #171b1e; font-size: 23px; font-weight: 750; text-align: right; }
.price-breakdown .delivery-distance { display: block; margin-top: 5px; color: var(--muted); font-size: 15px; font-weight: 450; }
.info-button { min-height: 28px; width: 28px; height: 28px; border-radius: 50%; padding: 0; background: var(--soft); }
.checkout-bottom { position: fixed; right: 0; bottom: 0; left: 0; z-index: 8; width: min(100%, 800px); margin: 0 auto; padding: 16px 20px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid #e6ece8; background: #fff; box-shadow: 0 -8px 24px #172a3912; }
.checkout-bottom > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; padding: 12px 18px; border-radius: 18px; color: #171b1e; background: #e7f5eb; font-size: 22px; font-weight: 700; }
.checkout-bottom > div strong { color: #087c3e; font-size: clamp(28px, 6vw, 44px); font-weight: 850; }
.checkout-bottom .primary { display: inline-flex; width: auto; max-width: 100%; min-height: 76px; align-items: center; justify-content: center; gap: 16px; border: 0; border-radius: 28px; padding: 16px; color: #fff; background: linear-gradient(105deg, #07883f, #005b34); font-size: clamp(18px, 3.5vw, 28px); box-shadow: 0 6px 16px #087f5230; }
.checkout-bottom .primary .summary-icon { width: 34px; height: 34px; }
.checkout-bottom .primary span { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; }
.summary-view .summary-item .item-price > strong { color: #087c3e; }
@media (max-width: 380px) {
  .summary-heading { gap: 6px; }
  .summary-title-row { gap: 6px; }
  .summary-back { width: 40px; min-height: 44px; font-size: 30px; }
  .summary-add { min-height: 48px; gap: 6px; padding: 8px 10px; font-size: 13px; }
  .summary-add .summary-icon { width: 22px; height: 22px; }
  .summary-item { grid-template-columns: minmax(88px, 30vw) minmax(0, 1fr); column-gap: 12px; padding: 14px; }
  .summary-remove { width: 42px; height: 42px; min-height: 42px; border-radius: 14px; }
  .summary-remove .summary-icon { width: 24px; height: 24px; }
  .summary-item .quantity-controls button { height: 52px; }
  .summary-item .quantity-controls span { min-width: 18px; font-size: 18px; }
  .delivery-address-field textarea { padding-right: 146px; font-size: 16px; }
  .delivery-location-actions { gap: 4px; }
  .delivery-location-button { width: 42px; min-height: 42px; height: 42px; padding: 8px; border-radius: 13px; }
  .delivery-method { gap: 10px; padding: 12px; }
  .delivery-method > .summary-icon { width: 28px; height: 28px; }
  .delivery-method > span strong { font-size: 15px; }
  .delivery-method > span small { font-size: 12px; }
  .delivery-method-price { font-size: 13px; white-space: normal; }
  .checkout-card, .payment-card { padding: 16px; border-radius: 20px; }
  .checkout-bottom { padding-right: 14px; padding-left: 14px; }
  .checkout-bottom > div { font-size: 16px; }
  .checkout-bottom .primary { min-height: 60px; border-radius: 22px; }
}
.food-summary-page { background: #f9fafb; }
.food-summary-page .shopping-content { margin: 0; }
.food-summary-page.secondary-page > main { width: min(100%, 800px); margin: 0 auto; padding: 14px 20px calc(220px + env(safe-area-inset-bottom)); }
dialog { width: min(100% - 24px, 560px); max-height: calc(100dvh - 32px); border: 0; border-radius: 24px; padding: 20px; color: inherit; background: var(--surface); box-shadow: 0 12px 80px #0004; overflow-y: auto; }
dialog::backdrop { background: #13251bb3; }
.dialog-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dialog-heading h2 { margin: 0; }
dialog form { border: 0; padding: 0; margin-bottom: 0; }
.customize-photo { aspect-ratio: 2; border-radius: 16px; overflow: hidden; margin-top: 16px; background: var(--soft); }
.customize-photo > * { width: 100%; height: 100%; object-fit: cover; }
.customize-quantity-controls { display: grid; grid-template-columns: 44px minmax(72px, 96px) 44px; align-items: center; gap: 10px; width: max-content; }
.customize-quantity-controls button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1.5px solid var(--green); border-radius: 50%; color: var(--green); background: var(--surface); font-size: 22px; line-height: 1; }
.customize-quantity-controls button:disabled { opacity: .45; cursor: not-allowed; }
.customize-quantity-controls input { width: 100%; min-height: 44px; text-align: center; }
.choice-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.choice-row span { flex: 1; }
.choice-row strong { font-size: 12px; }
.customize-total { font-weight: 750; font-size: 19px; }
dialog .primary { width: 100%; border-radius: 28px; }
.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; }
[hidden] { display: none !important; }
@keyframes basket-in { from { transform: translateY(8px); opacity: .6; } to { transform: translateY(0); opacity: 1; } }
@media (min-width: 760px) {
  #restaurant-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
  #restaurant-results > h2, #restaurant-results > .empty-state { grid-column: 1 / -1; }
  .restaurant-hero { height: 300px; margin: 0; border-radius: 24px; overflow: hidden; }
  .restaurant-info { margin: -40px 24px 16px; padding: 24px; }
  .menu-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .summary-view { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); align-items: start; gap: 22px 32px; }
  .summary-view > .summary-heading { grid-column: 1 / -1; }
  .summary-view > .summary-list { grid-column: 1; grid-row: 2 / span 3; }
  .summary-view > .checkout-card { grid-column: 2; grid-row: 2; }
  .summary-view > .payment-card { grid-column: 2; grid-row: 3; }
  .summary-view > .checkout-bottom { position: sticky; grid-column: 2; grid-row: 4; bottom: 12px; width: auto; padding: 0; border: 0; background: transparent; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; } }

/* Customer food discovery */
.shopping-content:not(.summary-view) { max-width: 100%; }
.shopping-content .delivery-header { padding-top: 0; }
.shopping-content .delivery-header .eyebrow { margin-bottom: 2px; }
.shopping-content .search-box { margin: 14px 0 6px; }
.shopping-content .search-box input, .shopping-content .menu-search input { width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 24px; background: var(--soft); padding: 10px 16px; }
.shopping-content .filter-bar, .food-categories, .shopping-content .menu-navigation { display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; padding: 8px 0 12px; }
.shopping-content .filter-bar label { margin: 0; padding: 0 0 0 12px; border: 1px solid var(--line); border-radius: 24px; }
.shopping-content .filter-bar select { border: 0; background: transparent; padding-left: 4px; }
.shopping-content .filter-bar button, .food-categories button, .shopping-content .menu-navigation button { flex: 0 0 auto; border-radius: 24px; white-space: nowrap; background: white; }
.shopping-content .filter-bar button[aria-pressed="true"], .food-categories button[aria-pressed="true"], .shopping-content .menu-navigation button[aria-pressed="true"] { background: var(--green); color: white; }
.shopping-content h2 { margin: 22px 0 12px; }
.section-caption { color: var(--muted); font-size: 13px; margin: -8px 0 12px; }
.shopping-content .order-again { gap: 12px; }
.shopping-content #restaurant-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.shopping-content #restaurant-results > h2, .shopping-content #restaurant-results > .empty-state { grid-column: 1 / -1; }
.shopping-content .restaurant-card, .shopping-content .again-card { display: block; position: relative; min-width: 0; padding: 0; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: 0 4px 14px #173a2510; }
.shopping-content .again-card { flex-basis: 210px; }
.restaurant-photo-wrap { position: relative; aspect-ratio: 1.5; background: var(--soft); }
.shopping-content .restaurant-photo, .shopping-content .again-card .restaurant-photo { display: flex; width: 100%; height: 100%; margin: 0; border-radius: 0; object-fit: cover; }
.shopping-content .restaurant-copy { padding: 10px 12px 12px; }
.shopping-content .restaurant-copy h3 { margin: 0; font-size: 14px; }
.shopping-content .restaurant-copy p { margin: 4px 0 0; }
.shopping-content .card-favorite { position: absolute; z-index: 2; top: 8px; right: 8px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: white; color: var(--green); font-size: 23px; }
.shopping-content .card-favorite[aria-pressed="true"] { background: var(--green); color: white; }
.vendor-actions { display: flex; align-items: center; gap: 6px; padding: 0 0 8px; }
.vendor-actions .vendor-action { flex: 0 0 auto; padding: 8px 10px; border: 0; background: transparent; font-size: 13px; }
.vendor-actions .vendor-action:first-child { margin-right: auto; }
.shopping-content .restaurant-hero { height: clamp(160px, 42vw, 300px); overflow: hidden; border-radius: 18px; margin: 0; background: var(--soft); }
.shopping-content .restaurant-info { margin: -25px 12px 8px; padding: 16px; border-radius: 18px; }
.shopping-content .restaurant-info h1 { font-size: 22px; }
.vendor-tabs-buyer { display: flex; border-bottom: 1px solid var(--line); }
.vendor-tabs-buyer button { flex: 1; border: 0; border-bottom: 3px solid transparent; border-radius: 0; background: transparent; color: var(--muted); }
.vendor-tabs-buyer button[aria-pressed="true"] { color: var(--green); background: transparent; border-bottom-color: var(--green); }
.vendor-details { padding: 4px 0 16px; }
.shopping-content .menu-navigation { position: static; border: 0; }
.shopping-content .menu-search { margin: 4px 0; }
.featured-menu { display: flex; gap: 12px; overflow-x: auto; padding: 0 0 12px; }
.featured-menu .product-card { flex: 0 0 175px; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 3px 12px #173a2510; }
.featured-menu .product-photo { aspect-ratio: 1.4; border-radius: 0; }
.featured-menu .product-copy { padding: 10px; }
.shopping-content:not(.summary-view) .menu-grid { display: block; margin-top: 0; }
.shopping-content:not(.summary-view) .menu-grid .product-card { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.shopping-content:not(.summary-view) .menu-grid .product-photo { width: 90px; height: 90px; border-radius: 12px; }
.shopping-content:not(.summary-view) .menu-grid .product-copy { padding: 0; }
.shopping-content:not(.summary-view) .menu-grid .product-copy h3 { min-height: 0; }
.shopping-content .basket-wrap { background: var(--surface); }
.shopping-content .basket-bar { border-radius: 16px; text-align: center; }
@media (min-width: 760px) {
  .shopping-content #restaurant-results { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shopping-content:not(.summary-view) .menu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
}
@media (max-width: 480px) {
  .food-summary-page.secondary-page > main { padding: 4px 14px calc(220px + env(safe-area-inset-bottom)); }
  .summary-title-row { gap: 4px; }
  .summary-back { width: 40px; min-height: 46px; font-size: 30px; }
  .summary-heading { gap: 4px; padding: 8px 0 14px; }
  .summary-add { min-height: 48px; gap: 6px; padding: 8px 10px; font-size: 13px; }
  .summary-add .summary-icon { width: 22px; height: 22px; }
  .summary-item { grid-template-columns: clamp(84px, 22vw, 130px) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; column-gap: 12px; min-height: 0; padding: 10px; }
  .summary-remove { width: 36px; height: 36px; min-height: 36px; border-radius: 12px; }
  .summary-remove .summary-icon { width: 22px; height: 22px; }
  .summary-item h2 { font-size: 15px; }
  .summary-item .summary-edit { min-height: 24px; gap: 6px; margin-top: 2px; font-size: 14px; }
  .summary-edit .summary-icon { width: 18px; height: 18px; }
  .item-price { gap: 8px; }
  .item-price > strong { font-size: 15px; }
  .item-price .quantity-controls { gap: 6px; }
  .summary-item .quantity-controls button { width: clamp(36px, 9.4vw, 48px); height: 36px; min-height: 36px; border-radius: 12px; font-size: 20px; }
  .summary-item .quantity-controls span { min-width: 14px; font-size: 14px; }
  .delivery-method { gap: 10px; padding: 12px; }
  .delivery-method > .summary-icon { width: 28px; height: 28px; }
  .delivery-method > span strong { font-size: 15px; }
  .delivery-method > span small { font-size: 12px; }
  .delivery-method-price { max-width: 40%; font-size: 13px; }
}
@media (max-width: 700px) {
  .summary-heading { gap: 6px; padding: 8px 0 10px; }
  .summary-title-row { gap: 6px; }
  .summary-title-row h1 { font-size: clamp(18px, 3.7vw, 22px); letter-spacing: -.4px; }
  .summary-back { width: 42px; min-height: 44px; font-size: 28px; }
  .summary-add { min-height: 30px; gap: 4px; padding: 4px 8px; font-size: 11px; }
  .summary-add .summary-icon { width: 16px; height: 16px; }
  .summary-item { grid-template-columns: clamp(46px, 12vw, 52px) minmax(0, 1fr); column-gap: 7px; min-height: 0; padding: 6px; margin-bottom: 8px; border-radius: 15px; }
  .summary-thumb { border-radius: 9px; }
  .summary-item-title { position: relative; min-height: 16px; gap: 3px; padding-right: 25px; }
  .summary-item h2 { overflow: hidden; font-size: 12px; line-height: 16px; letter-spacing: -.2px; text-overflow: ellipsis; white-space: nowrap; }
  .summary-item p { margin: 3px 0; font-size: 12px; line-height: 1.3; }
  .summary-remove { position: absolute; top: 50%; right: 0; width: 24px; height: 24px; min-height: 24px; transform: translateY(-50%); border-radius: 8px; }
  .summary-remove .summary-icon { width: 15px; height: 15px; }
  .summary-item .summary-edit { min-height: 18px; gap: 3px; margin: 0; padding: 0; font-size: 11px; line-height: 1; }
  .summary-edit .summary-icon { width: 14px; height: 14px; }
  .item-price { gap: 4px; }
  .item-price > strong { font-size: 13px; }
  .item-price .quantity-controls { gap: 3px; }
  .summary-item .quantity-controls button { width: 20px; height: 20px; min-height: 20px; border-radius: 7px; font-size: 14px; }
  .summary-item .quantity-controls span { min-width: 10px; font-size: 10px; }
  .checkout-card, .payment-card { padding: 16px; border-radius: 20px; }
  .checkout-card h2, .payment-card h2, .summary-view .checkout-card h2, .summary-view .payment-card h2 { gap: 10px; margin-bottom: 12px; font-size: 19px; }
  .checkout-card h2 .summary-icon, .payment-card h2 .summary-icon { width: 26px; height: 26px; }
  .delivery-address-field, .delivery-phone-field { gap: 6px; margin-bottom: 12px; font-size: 14px; }
  .delivery-field-title { gap: 8px; }
  .delivery-field-title .summary-icon { width: 21px; height: 21px; }
  .delivery-address-input { border-radius: 14px; }
  .delivery-address-field textarea { height: 56px; min-height: 56px; max-height: 56px; padding: 9px 146px 6px 12px; font-size: 16px; line-height: 1.3; }
  .delivery-location-actions { top: 28px; }
  .delivery-address-field textarea::placeholder { font-size: 12px; }
  .delivery-location-actions { right: 6px; gap: 5px; }
  .delivery-location-button { width: 40px; height: 40px; min-height: 40px; padding: 8px; border-radius: 12px; }
  .delivery-phone-field input { min-height: 48px; padding: 9px 12px; border-radius: 14px; font-size: 16px; }
  .delivery-method { gap: 9px; margin: 12px 0 10px; padding: 10px; border-width: 1px; border-radius: 16px; }
  .delivery-method > .summary-icon { width: 24px; height: 24px; }
  .delivery-method > span { gap: 2px; }
  .delivery-method > span strong { font-size: 14px; }
  .delivery-method > span small { font-size: 11px; }
  .delivery-method-price { max-width: 40%; font-size: 14px; }
  .shop-location-status { min-height: 0; margin: 6px 0 8px; font-size: 12px; }
  .delivery-confirm { gap: 8px; margin-top: 8px; padding: 10px 4px 2px; font-size: 13px; line-height: 1.4; }
  .price-breakdown { gap: 10px; }
  .price-breakdown > div { gap: 8px; padding: 10px 0; font-size: 15px; }
  .price-breakdown dd { font-size: 16px; }
  .price-breakdown .delivery-distance { font-size: 12px; }
  .info-button { width: 24px; height: 24px; min-height: 24px; font-size: 12px; }
  .checkout-bottom { padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); }
  .checkout-bottom > div { margin-bottom: 0; padding: 10px 14px; border-radius: 15px; font-size: 16px; }
  .checkout-bottom > div strong { font-size: clamp(22px, 5vw, 30px); }
  .checkout-bottom .primary { min-height: 54px; margin-top: 8px; border-radius: 18px; padding: 10px; font-size: 17px; }
  .checkout-bottom .primary .summary-icon { width: 24px; height: 24px; }
}
