.ipos-customer {
	width: 100%;
}
.ipos-ordering {
	position: relative;
	box-sizing: border-box;
	width: 100%;
	min-height: 0;
	padding: 18px 16px 108px;
	background: var(--ipos-canvas);
	color: var(--ipos-ink);
	font-family: var(--ipos-font);
}
.ipos-ordering *, .ipos-ordering *::before, .ipos-ordering *::after { box-sizing: border-box; }
.ipos-ordering button, .ipos-ordering input, .ipos-ordering textarea { font: inherit; }
.ipos-ordering button { color: inherit; }
.ipos-ordering [hidden] { display: none !important; }

.ipos-ordering__header { display: grid; grid-template-columns: 1fr auto; gap: 18px 12px; width: min(100%, 1440px); margin: 0 auto; padding-bottom: 20px; border-bottom: 1px solid var(--ipos-line); }
.ipos-ordering__brand { display: flex; min-height: 36px; align-items: center; }
.ipos-ordering__brand img { display: block; width: min(120px, 38vw); height: auto; }
.ipos-ordering__table { display: grid; grid-template-columns: auto auto; column-gap: 9px; align-items: center; min-width: 148px; padding: 8px 10px; border: 1px solid #b8d5bf; border-radius: 8px; background: #eaf5ec; }
.ipos-ordering__table small { grid-column: 1; color: var(--ipos-muted); font-size: 11px; }
.ipos-ordering__table strong { grid-column: 1; font-size: 19px; line-height: 1.1; }
.ipos-ordering__table span { grid-column: 2; grid-row: 1 / span 2; display: flex; align-items: center; gap: 6px; color: var(--ipos-action); font-size: 11px; font-weight: 700; }
.ipos-ordering__table span::before { width: 7px; height: 7px; border-radius: 50%; background: var(--ipos-success); content: ""; }
.ipos-ordering__table span[data-state="new"] { color: var(--ipos-warning); }
.ipos-ordering__table span[data-state="new"]::before { background: var(--ipos-warning); }
.ipos-ordering__table span[data-state="accepted"] { color: var(--ipos-action); }
.ipos-ordering__table span[data-state="preparing"] { color: var(--ipos-info); }
.ipos-ordering__table span[data-state="preparing"]::before { background: var(--ipos-info); }
.ipos-ordering__table span[data-state="served"] { color: var(--ipos-success); }
.ipos-ordering__intro { grid-column: 1 / -1; max-width: 620px; padding-top: 8px; }
.ipos-ordering__eyebrow { margin: 0 0 5px; color: var(--ipos-action); font-size: 12px; font-weight: 700; }
.ipos-ordering__intro h2 { margin: 0; font-size: clamp(28px, 7vw, 38px); font-weight: 780; line-height: 1.12; }
.ipos-ordering__intro > p:last-child { margin: 8px 0 0; color: var(--ipos-muted); font-size: 14px; line-height: 1.5; }
.ipos-ordering__transfer-notice { width: min(100%, 1440px); margin: 12px auto 0; padding: 12px 14px; border: 1px solid #ecd7a8; border-radius: 8px; background: #fff8e7; color: #8a4b00; font-size: 14px; font-weight: 650; line-height: 1.45; }

.ipos-ordering__toolbar { position: sticky; top: var(--ipos-customer-sticky-offset, 0px); z-index: 5; width: calc(100% + 32px); margin: 0 -16px 16px; padding: 12px 16px; border-bottom: 1px solid var(--ipos-line); background: rgb(243 245 242 / 96%); backdrop-filter: blur(10px); }
.ipos-ordering__search { display: flex; height: 48px; align-items: center; gap: 10px; padding: 0 13px; border: 1px solid var(--ipos-line-strong); border-radius: 8px; background: var(--ipos-surface); }
.ipos-ordering__search .ipos-icon { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: var(--ipos-muted); stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.ipos-ordering__search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ipos-ink); }
.ipos-ordering__search:focus-within { border-color: var(--ipos-action); box-shadow: 0 0 0 3px var(--ipos-focus); }
.ipos-ordering__category-shell { position: relative; margin-top: 10px; }
.ipos-ordering__categories { display: flex; align-items: center; gap: 8px; padding-right: 44px; overflow-x: auto; overscroll-behavior-x: contain; scroll-behavior: smooth; scrollbar-width: none; }
.ipos-ordering__categories::-webkit-scrollbar { display: none; }
.ipos-ordering__categories button { min-height: 40px; flex: 0 0 auto; align-self: center; padding: 0 14px; border: 1px solid var(--ipos-line); border-radius: 6px; background: var(--ipos-surface); font-size: 13px; font-weight: 700; cursor: pointer; }
.ipos-ordering__categories button:hover { border-color: var(--ipos-line-strong); }
.ipos-ordering__categories button.is-active { border-color: var(--ipos-action); background: var(--ipos-action); color: #fff; }
.ipos-ordering__category-next { position: absolute; top: 50%; right: 0; z-index: 2; display: grid; width: 44px; height: 40px; place-items: center; border: 0; background: linear-gradient(90deg, rgb(243 245 242 / 0%), var(--ipos-canvas) 42%); color: var(--ipos-action); font-size: 21px; font-weight: 800; cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(-50%); }
.ipos-ordering__category-shell.is-overflowing:not(.is-at-end) .ipos-ordering__category-next { opacity: 1; pointer-events: auto; }
.ipos-ordering__category-shell.is-scrolled::before { position: absolute; inset: 0 auto 0 0; z-index: 2; width: 18px; background: linear-gradient(90deg, var(--ipos-canvas), rgb(243 245 242 / 0%)); content: ""; pointer-events: none; }

.ipos-ordering__layout { width: min(100%, 1440px); margin: 0 auto; }
.ipos-ordering__products { display: grid; grid-template-columns: 1fr; gap: 12px; }
.ipos-product { display: grid; grid-template-columns: 124px minmax(0, 1fr); min-height: 144px; overflow: hidden; border: 1px solid var(--ipos-line); border-radius: 8px; background: var(--ipos-surface); transition: border-color 140ms ease, box-shadow 140ms ease; }
.ipos-product:hover { border-color: var(--ipos-line-strong); }
.ipos-product.is-selected { border-color: var(--ipos-action); box-shadow: 0 0 0 1px var(--ipos-action); }
.ipos-product__media { position: relative; min-height: 100%; background: var(--ipos-surface-muted); }
.ipos-product__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ipos-product__media span { position: absolute; top: 8px; right: 8px; display: grid; min-width: 25px; height: 25px; place-items: center; padding: 0 6px; border: 2px solid #fff; border-radius: 50%; background: var(--ipos-action); color: #fff; font-size: 12px; font-weight: 800; }
.ipos-product__body { display: flex; min-width: 0; flex-direction: column; padding: 14px; }
.ipos-product__body h3 { margin: 0; font-size: 18px; font-weight: 720; line-height: 1.25; }
.ipos-product__body p { display: -webkit-box; margin: 6px 0 10px; overflow: hidden; color: var(--ipos-muted); font-size: 12px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.ipos-product__body > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.ipos-product__body strong { color: var(--ipos-ink); font-size: 15px; font-variant-numeric: tabular-nums; }
.ipos-product__body button { display: grid; width: 44px; height: 44px; flex: 0 0 auto; place-items: center; border: 1px solid var(--ipos-action); border-radius: 50%; background: var(--ipos-surface); color: var(--ipos-action); font-size: 26px; line-height: 1; cursor: pointer; }
.ipos-product__body button svg { display: block; width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 2.25; }
.ipos-product__body button:hover { border-color: var(--ipos-action); background: var(--ipos-action); color: #fff; }
.ipos-product__body button:active { border-color: var(--ipos-action); background: var(--ipos-action); color: #fff; transform: scale(.96); }
.ipos-ordering__no-results { padding: 48px 16px; color: var(--ipos-muted); text-align: center; }

.ipos-ordering__cart { position: fixed; right: 0; bottom: 0; left: 0; z-index: 20; max-height: 86dvh; padding: 20px 18px calc(20px + env(safe-area-inset-bottom)); overflow: auto; border: 1px solid var(--ipos-line); border-radius: 8px 8px 0 0; background: var(--ipos-surface); box-shadow: 0 -20px 60px rgb(23 32 25 / 18%); transform: translateY(105%); transition: transform 180ms ease; }
.ipos-ordering.is-cart-open .ipos-ordering__cart { transform: translateY(0); }
.ipos-ordering__cart-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; padding-bottom: 14px; border-bottom: 1px solid var(--ipos-line); }
.ipos-ordering__cart-head small { color: var(--ipos-action); font-size: 11px; font-weight: 700; }
.ipos-ordering__cart-head h3 { margin: 3px 0 0; font-size: 21px; font-weight: 740; }
.ipos-ordering__cart-head > button { width: 40px; height: 40px; border: 1px solid var(--ipos-line); border-radius: 50%; background: var(--ipos-surface); font-size: 22px; cursor: pointer; }
.ipos-ordering__cart-empty { padding: 30px 10px; text-align: center; }
.ipos-ordering__cart-empty > span { display: grid; width: 42px; height: 42px; place-items: center; margin: 0 auto; border: 1px dashed var(--ipos-line-strong); border-radius: 50%; color: var(--ipos-action); }
.ipos-ordering__cart-empty p { margin: 10px 0 2px; font-weight: 750; }
.ipos-ordering__cart-empty small { color: var(--ipos-muted); }
.ipos-ordering__cart ul { margin: 0; padding: 0; list-style: none; }
.ipos-cart-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--ipos-line); }
.ipos-cart-item > div:first-child { display: grid; min-width: 0; flex: 1 1 auto; gap: 5px; }
.ipos-cart-item strong { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.ipos-cart-item small { color: #426052; font-size: 12px; font-weight: 750; font-variant-numeric: tabular-nums; }
.ipos-cart-item__controls { display: grid; grid-template-columns: 36px 28px 36px; align-items: center; text-align: center; }
.ipos-cart-item__controls button { width: 36px; height: 36px; border: 1px solid var(--ipos-line-strong); border-radius: 6px; background: var(--ipos-surface); cursor: pointer; }
.ipos-ordering__note { display: block; margin-top: 18px; }
.ipos-ordering__note > span { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 700; }
.ipos-ordering__note textarea { width: 100%; min-height: 76px; padding: 11px 12px; resize: vertical; border: 1px solid var(--ipos-line-strong); border-radius: 6px; outline: 0; background: var(--ipos-surface); color: var(--ipos-ink); }
.ipos-ordering__note textarea:focus { border-color: var(--ipos-action); box-shadow: 0 0 0 3px var(--ipos-focus); }
.ipos-ordering__total { display: flex; align-items: center; justify-content: space-between; margin: 18px 0 12px; }
.ipos-ordering__total span { color: var(--ipos-muted); font-size: 13px; }
.ipos-ordering__total strong { font-size: 21px; font-variant-numeric: tabular-nums; }
.ipos-ordering__submit { display: grid; width: 100%; min-height: 50px; align-items: center; padding: 10px 15px; border: 0; border-radius: 6px; background: var(--ipos-action); color: #fff; font-weight: 750; text-align: center; cursor: pointer; }
.ipos-ordering button.ipos-ordering__submit { color: #fff; }
.ipos-ordering__submit:hover { background: var(--ipos-action-hover); }
.ipos-ordering__submit:disabled { cursor: not-allowed; opacity: .42; }
.ipos-ordering__cart-actions { display: grid; gap: 8px; }
.ipos-ordering__submit svg { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.ipos-ordering__cart [data-ipos-status] { min-height: 18px; margin: 9px 0 0; color: var(--ipos-danger); font-size: 12px; text-align: center; }
.ipos-ordering__cart [data-ipos-status][data-state="pending"] { color: var(--ipos-action); font-weight: 700; }
.ipos-ordering__catalog-refresh { width: 100%; min-height: 40px; margin-top: 8px; border: 1px solid var(--ipos-line-strong); border-radius: 6px; background: var(--ipos-surface); color: var(--ipos-action); font-size: 13px; font-weight: 750; cursor: pointer; }

.ipos-ordering__cart-bar { position: fixed; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); left: 12px; z-index: 10; display: grid; grid-template-columns: minmax(0, 1fr) auto; min-height: 72px; align-items: center; gap: 12px; padding: 8px; border: 1px solid var(--ipos-line); border-radius: 12px; background: var(--ipos-surface); box-shadow: 0 12px 28px rgb(23 32 25 / 18%); color: var(--ipos-ink); cursor: pointer; }
.ipos-ordering button.ipos-ordering__cart-bar { color: var(--ipos-ink); }
.ipos-ordering__cart-bar-icon { position: relative; display: grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; background: #eaf5ec; color: var(--ipos-action); }
.ipos-ordering__cart-bar-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.ipos-ordering__cart-bar b { position: absolute; top: -4px; right: -4px; display: grid; min-width: 23px; height: 23px; place-items: center; padding: 0 5px; border: 2px solid var(--ipos-surface); border-radius: 50%; background: var(--ipos-action); color: #fff; font-size: 12px; }
.ipos-ordering__cart-bar-summary { display: flex; min-width: 0; align-items: center; gap: 10px; text-align: left; }
.ipos-ordering__cart-bar-copy { display: grid; min-width: 0; gap: 2px; color: var(--ipos-muted); font-size: 11px; font-weight: 700; }
.ipos-ordering__cart-bar-copy strong { overflow: hidden; color: var(--ipos-ink); font-size: 18px; font-variant-numeric: tabular-nums; text-overflow: ellipsis; white-space: nowrap; }
.ipos-ordering__cart-bar em { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 0 14px; border-radius: 8px; background: var(--ipos-action); color: #fff; font-size: 12px; font-style: normal; font-weight: 750; white-space: nowrap; }
.ipos-ordering__cart-bar:hover em { background: var(--ipos-action-hover); }
.ipos-ordering__cart-bar:disabled { visibility: hidden; opacity: 0; }
.ipos-ordering__backdrop { position: fixed; inset: 0; z-index: 15; visibility: hidden; background: rgb(10 18 12 / 58%); opacity: 0; transition: opacity 180ms ease; }
.ipos-ordering.is-cart-open .ipos-ordering__backdrop { visibility: visible; opacity: 1; }

body.ipos-ordering-success-open { overflow: hidden; }
.ipos-ordering__success[hidden] { display: none !important; }
.ipos-ordering__success { position: fixed !important; inset: 0 !important; z-index: 1000; display: grid; width: 100vw; height: 100dvh; place-items: center; padding: 20px; box-sizing: border-box; background: rgb(7 30 18 / 58%); backdrop-filter: blur(8px); font-family: var(--ipos-font); }
.ipos-ordering__success-panel { width: min(100%, 390px); padding: 30px 24px 24px; box-sizing: border-box; border: 1px solid rgb(255 255 255 / 72%); border-radius: 24px; background: rgb(249 253 249 / 94%); box-shadow: 0 28px 80px rgb(4 38 21 / 32%), inset 0 1px 0 #fff; color: var(--ipos-ink); text-align: center; }
.ipos-ordering__success-icon { display: grid; width: 56px; height: 56px; place-items: center; margin: 0 auto 17px; border-radius: 50%; background: #0c6b45; box-shadow: 0 10px 24px rgb(12 107 69 / 24%); color: #fff; }
.ipos-ordering__success-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.3; }
.ipos-ordering__success h3 { margin: 0; color: #102a1d; font-size: 25px; font-weight: 780; letter-spacing: -.035em; line-height: 1.2; }
.ipos-ordering__success p { margin: 9px 0 22px; color: #617067; font-size: 14px; line-height: 1.5; }
.ipos-ordering__success button { width: 100%; min-height: 50px; padding: 0 18px; border: 0; border-radius: 14px; background: #0c6b45; color: #fff; font-weight: 750; cursor: pointer; }
.ipos-ordering__success button:hover { background: #095a3a; }
.ipos-ordering__success button:focus-visible { outline: 3px solid rgb(255 255 255 / 82%); outline-offset: 3px; }
.ipos-ordering-cancelled-notice-open { overflow: hidden; }
.ipos-ordering__cancelled-notice[hidden] { display: none !important; }
.ipos-ordering__cancelled-notice { position: fixed !important; inset: 0 !important; z-index: 1100; display: grid; width: 100vw; height: 100dvh; place-items: center; padding: 20px; box-sizing: border-box; background: rgb(7 30 18 / 58%); backdrop-filter: blur(8px); font-family: var(--ipos-font); }
.ipos-ordering__cancelled-notice-panel { width: min(100%, 390px); padding: 28px 24px 24px; box-sizing: border-box; border: 1px solid rgb(255 255 255 / 72%); border-radius: 24px; background: rgb(249 253 249 / 96%); box-shadow: 0 28px 80px rgb(4 38 21 / 32%), inset 0 1px 0 #fff; color: var(--ipos-ink); text-align: center; }
.ipos-ordering__cancelled-notice-icon { display: grid; width: 52px; height: 52px; place-items: center; margin: 0 auto 16px; border-radius: 50%; background: #fff0ee; color: var(--ipos-danger); box-shadow: inset 0 0 0 1px rgb(180 35 24 / 18%); }
.ipos-ordering__cancelled-notice-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.2; }
.ipos-ordering__cancelled-notice-eyebrow { margin: 0 0 6px; color: var(--ipos-danger); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.ipos-ordering__cancelled-notice h3 { margin: 0; color: var(--ipos-ink); font-size: 24px; font-weight: 780; letter-spacing: -.035em; line-height: 1.2; }
.ipos-ordering__cancelled-notice-copy { margin: 10px 0 22px; color: var(--ipos-muted); font-size: 14px; line-height: 1.55; }
.ipos-ordering__cancelled-notice button { width: 100%; min-height: 50px; padding: 0 18px; border: 1px solid var(--ipos-danger); border-radius: 14px; background: var(--ipos-danger); color: #fff; font-weight: 750; cursor: pointer; transition: background 140ms ease, border-color 140ms ease, box-shadow 140ms ease, transform 100ms ease; }
.ipos-ordering__cancelled-notice button:hover { border-color: #8f1c14; background: #8f1c14; }
.ipos-ordering__cancelled-notice button:active { transform: translateY(1px) scale(.985); }
.ipos-ordering__cancelled-notice button:focus-visible { outline: 3px solid var(--ipos-focus); outline-offset: 3px; }
.ipos-ordering__round-history { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--ipos-line); }
.ipos-ordering__round-history ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ipos-ordering__round { border: 1px solid var(--ipos-line); border-radius: 8px; background: var(--ipos-surface); }
.ipos-ordering__round-details > summary { display: grid; grid-template-columns: minmax(0, 1fr) auto auto 16px; align-items: center; gap: 8px 10px; min-height: 58px; padding: 9px 12px; cursor: pointer; list-style: none; }
.ipos-ordering__round-details > summary::-webkit-details-marker { display: none; }
.ipos-ordering__round-heading { display: grid; min-width: 0; gap: 2px; }
.ipos-ordering__round-heading strong { font-size: 14px; }
.ipos-ordering__round-heading small { color: var(--ipos-muted); font-size: 11px; font-weight: 650; }
.ipos-ordering__round-state { padding: 4px 7px; border-radius: 4px; background: #e4f4e8; color: var(--ipos-success); font-size: 11px; font-weight: 700; white-space: nowrap; }
.ipos-ordering__round-state.is-new { background: #fff0e9; color: #9a3412; }
.ipos-ordering__round-state.is-preparing { background: #eaf0ff; color: var(--ipos-info); }
.ipos-ordering__round-state.is-ready { background: #e4f4e8; color: var(--ipos-success); }
.ipos-ordering__round-total { color: var(--ipos-ink); font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ipos-ordering__round-body { display: grid; gap: 10px; padding: 11px 12px 13px; border-top: 1px solid var(--ipos-line); transition: height 180ms ease, opacity 150ms ease; }
.ipos-ordering__round-body.is-disclosure-animating { overflow: hidden; }
.ipos-ordering__round-history .ipos-ordering__round-items { display: grid; gap: 7px; margin: 0; }
.ipos-ordering__round-items li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; color: var(--ipos-muted); font-size: 12px; }
.ipos-ordering__round-items li span { min-width: 0; }
.ipos-ordering__round-items li strong { flex: 0 0 auto; color: var(--ipos-ink); font-variant-numeric: tabular-nums; }
.ipos-ordering__round-note { margin: 0; padding: 8px 9px; border-radius: 5px; background: var(--ipos-surface-muted); color: var(--ipos-muted); font-size: 12px; line-height: 1.45; }

.ipos-ordering__layout > .ipos-ordering__round-history { min-width: 0; }

.ipos-table-payment { display: grid; width: min(100%, 1440px); grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 18px 28px; margin: 28px auto 0; padding: 22px; border: 1px solid var(--ipos-line); border-radius: 8px; background: var(--ipos-surface); }
.ipos-table-payment[hidden] { display: none; }
.ipos-table-payment__eyebrow { margin: 0 0 6px; color: var(--ipos-action); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.ipos-table-payment h2 { margin: 0; color: var(--ipos-ink); font-size: clamp(22px, 4vw, 30px); line-height: 1.15; }
.ipos-table-payment > div:first-child > p:last-child { max-width: 620px; margin: 9px 0 0; color: var(--ipos-muted); font-size: 14px; line-height: 1.55; }
.ipos-table-payment__summary { min-width: 190px; text-align: right; }
.ipos-table-payment__summary span { display: block; color: var(--ipos-muted); font-size: 12px; font-weight: 700; }
.ipos-table-payment__summary strong { display: block; margin-top: 4px; color: var(--ipos-ink); font-size: 26px; font-variant-numeric: tabular-nums; }
.ipos-table-payment__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; }
.ipos-table-payment__actions button { min-height: 44px; padding: 0 15px; border: 1px solid var(--ipos-line-strong); border-radius: 6px; background: var(--ipos-surface); color: var(--ipos-ink); font-weight: 750; cursor: pointer; }
.ipos-table-payment__actions button.is-primary { border-color: var(--ipos-action); background: var(--ipos-action); color: #fff; }
.ipos-table-payment__actions button:hover { border-color: var(--ipos-action); }
.ipos-table-payment__actions button:disabled { cursor: not-allowed; opacity: .48; }
.ipos-table-payment__status { grid-column: 1 / -1; min-height: 20px; margin: 0; color: var(--ipos-muted); font-size: 13px; font-weight: 650; }

@media (max-width: 619px) {
	.ipos-ordering__round-details > summary { grid-template-columns: minmax(0, 1fr) auto 16px; gap: 5px 8px; min-height: 64px; }
	.ipos-ordering__round-details > summary::after { grid-column: 3; grid-row: 1 / span 2; }
	.ipos-ordering__round-state { grid-column: 1 / span 2; grid-row: 2; justify-self: start; }
	.ipos-ordering__round-total { grid-column: 2; grid-row: 1; }
	.ipos-table-payment { grid-template-columns: 1fr; margin-top: 20px; padding: 18px; }
	.ipos-table-payment__summary { min-width: 0; text-align: left; }
	.ipos-table-payment__actions { display: grid; }
}

@media (min-width: 620px) {
	.ipos-ordering { padding: 24px 24px 108px; }
	.ipos-ordering__toolbar { width: calc(100% + 48px); margin-inline: -24px; padding-inline: 24px; }
	.ipos-ordering__products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 960px) {
	.ipos-ordering { padding: 28px 32px 40px; }
	.ipos-ordering__header { align-items: start; }
	.ipos-ordering__intro { padding-top: 14px; }
	.ipos-ordering__toolbar { position: static; width: min(100%, 1440px); margin: 0 auto; padding: 20px 0 16px; border-bottom: 0; background: transparent; backdrop-filter: none; }
	.ipos-ordering__search { max-width: 430px; }
	.ipos-ordering__layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 24px; align-items: start; }
	.ipos-ordering__products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ipos-product { grid-template-columns: 42% minmax(0, 1fr); min-height: 170px; }
	.ipos-ordering__cart { position: sticky; top: 20px; z-index: 1; max-height: calc(100dvh - 40px); padding: 18px; border-radius: 8px; box-shadow: none; transform: none; }
	.ipos-ordering__cart-head > button { display: none; }
	.ipos-ordering__cart-bar, .ipos-ordering__backdrop { display: none; }
	.ipos-ordering__layout > .ipos-ordering__round-history { grid-column: 2; grid-row: 2; margin-top: -8px; }
}

@media (min-width: 1260px) {
	.ipos-ordering__layout { grid-template-columns: minmax(0, 1fr) 370px; gap: 28px; }
	.ipos-ordering__products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ipos-product { grid-template-columns: 1fr; min-height: 318px; }
	.ipos-product__media { min-height: 176px; aspect-ratio: 4 / 3; }
}

@media (prefers-reduced-motion: reduce) {
	.ipos-ordering *, .ipos-ordering *::before, .ipos-ordering *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* IPOS-142: customer Emerald Liquid Glass. Glass is reserved for functional chrome; food and order lines remain reading-first. */
body.ipos-ordering-cart-open { overflow: hidden; }
.ipos-ordering {
	--ipos-customer-pearl: #f8fbf7;
	--ipos-customer-mint: #dff3e9;
	--ipos-customer-edge: rgb(255 255 255 / 88%);
	--ipos-customer-glass: rgb(250 255 251 / 72%);
	padding: max(18px, env(safe-area-inset-top)) 16px calc(120px + env(safe-area-inset-bottom));
	background:
		radial-gradient(circle at 3% 0%, rgb(136 211 167 / 26%), transparent 30rem),
		radial-gradient(circle at 100% 20%, rgb(250 235 174 / 22%), transparent 28rem),
		linear-gradient(135deg, var(--ipos-customer-pearl), #f4f7ee 56%, #edf6ef);
}
.ipos-ordering::before {
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-image: linear-gradient(115deg, rgb(255 255 255 / 36%) 0 1px, transparent 1px 100%);
	background-size: 11px 11px;
	content: "";
	opacity: .16;
}
.ipos-ordering > :not(.ipos-ordering__layout):not(.ipos-ordering__cart-bar):not(.ipos-ordering__backdrop):not(.ipos-ordering__modal-backdrop):not(.ipos-ordering__success) { position: relative; z-index: 1; }
.ipos-ordering button:focus-visible,
.ipos-ordering input:focus-visible,
.ipos-ordering textarea:focus-visible,
.ipos-ordering summary:focus-visible {
	outline: 3px solid rgb(25 122 53 / 34%);
	outline-offset: 3px;
}

.ipos-ordering__header {
	gap: 17px 12px;
	padding: 10px 0 22px;
	border: 0;
}
.ipos-ordering__brand {
	min-height: 42px;
	align-items: flex-start;
}
.ipos-ordering__brand img { width: min(110px, 34vw); }
.ipos-ordering__table {
	min-width: 0;
	padding: 9px 11px;
	border: 1px solid var(--ipos-customer-edge);
	border-radius: 16px;
	background: var(--ipos-customer-glass);
	box-shadow: inset 0 1px 0 rgb(255 255 255 / 80%), 0 10px 28px rgb(12 107 69 / 9%);
	backdrop-filter: blur(16px) saturate(125%);
}
.ipos-ordering__table small { color: #5d7164; }
.ipos-ordering__table strong { color: #102a1d; font-size: 18px; }
.ipos-ordering__table span { color: #0c6b45; }
.ipos-ordering__intro { padding-top: 2px; }
.ipos-ordering__eyebrow { margin-bottom: 6px; color: #0c6b45; font-weight: 800; letter-spacing: .02em; }
.ipos-ordering__intro h2 { max-width: 13ch; font-size: clamp(28px, 7vw, 38px); letter-spacing: -.045em; }
.ipos-ordering__intro > p:last-child { max-width: 34rem; color: #5b6a61; font-size: 15px; }

.ipos-ordering__toolbar {
	top: 0;
	margin-bottom: 20px;
	padding-top: 12px;
	padding-bottom: 13px;
	border: 1px solid rgb(255 255 255 / 62%);
	border-inline: 0;
	background: rgb(246 250 246 / 72%);
	box-shadow: 0 12px 24px rgb(18 81 48 / 6%);
	backdrop-filter: blur(18px) saturate(125%);
}
.ipos-ordering__search {
	height: 52px;
	padding-inline: 15px;
	border-color: rgb(255 255 255 / 86%);
	border-radius: 17px;
	background: rgb(255 255 255 / 62%);
	box-shadow: inset 0 1px 0 rgb(255 255 255 / 88%), 0 8px 18px rgb(14 76 44 / 5%);
}
.ipos-ordering__search input { font-size: 15px; }
.ipos-ordering__search input::placeholder { color: #718078; }
.ipos-ordering__category-shell { margin-top: 12px; }
.ipos-ordering__categories { gap: 9px; padding-right: 48px; }
.ipos-ordering__categories button {
	min-height: 44px;
	padding-inline: 17px;
	border-color: rgb(157 190 169 / 62%);
	border-radius: 999px;
	background: rgb(255 255 255 / 56%);
	box-shadow: inset 0 1px 0 rgb(255 255 255 / 82%);
	font-size: 14px;
}
.ipos-ordering__categories button.is-active {
	border-color: #0c6b45;
	background: linear-gradient(135deg, #0a794d, #0c6b45);
	box-shadow: inset 0 1px 0 rgb(255 255 255 / 28%), 0 8px 16px rgb(12 107 69 / 19%);
}
.ipos-ordering__category-next { width: 48px; height: 44px; background: linear-gradient(90deg, rgb(246 250 246 / 0%), #f6faf6 48%); }

.ipos-ordering__products { gap: 13px; }
.ipos-product {
	grid-template-columns: minmax(112px, 34%) minmax(0, 1fr);
	min-height: 146px;
	border-color: rgb(206 224 211 / 90%);
	border-radius: 18px;
	background: rgb(255 255 255 / 82%);
	box-shadow: 0 11px 24px rgb(16 73 43 / 5%);
}
.ipos-product:hover { border-color: rgb(53 143 96 / 68%); box-shadow: 0 14px 28px rgb(16 73 43 / 10%); }
.ipos-product.is-selected { border-color: #0c6b45; box-shadow: 0 0 0 2px rgb(12 107 69 / 16%), 0 14px 28px rgb(16 73 43 / 9%); }
.ipos-product__media { min-height: 100%; background: #e8efe8; }
.ipos-product__media::after { position: absolute; inset: 0; background: linear-gradient(110deg, rgb(255 255 255 / 12%), transparent 48%); content: ""; pointer-events: none; }
.ipos-product__media span { top: 10px; right: 10px; min-width: 28px; height: 28px; border-color: #fff; background: #0c6b45; box-shadow: 0 4px 10px rgb(12 107 69 / 24%); }
.ipos-product__body { padding: 16px; }
.ipos-product__body h3 { font-size: 18px; font-weight: 760; letter-spacing: -.02em; }
.ipos-product__body p { margin-top: 5px; color: #65746a; }
.ipos-product__body strong { color: #075b38; font-size: 16px; font-weight: 800; }
.ipos-product__body button {
	width: 46px;
	height: 46px;
	border-color: rgb(12 107 69 / 36%);
	background: rgb(246 253 248 / 88%);
	box-shadow: inset 0 1px 0 #fff;
	transition: background 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 140ms ease, transform 100ms ease;
}
.ipos-product__body button:hover { border-color: #0c6b45; background: #0c6b45; box-shadow: 0 8px 18px rgb(12 107 69 / 22%); color: #fff; }
.ipos-ordering__no-results { padding: 54px 16px; border: 1px dashed var(--ipos-line-strong); border-radius: 18px; background: rgb(255 255 255 / 55%); }

.ipos-ordering__cart {
	bottom: 0;
	max-height: min(86dvh, 760px);
	padding: 21px 18px calc(24px + env(safe-area-inset-bottom));
	border-color: var(--ipos-customer-edge);
	border-radius: 25px 25px 0 0;
	background: rgb(248 253 249 / 91%);
	box-shadow: 0 -24px 60px rgb(11 77 47 / 22%), inset 0 1px 0 rgb(255 255 255 / 94%);
	backdrop-filter: blur(22px) saturate(130%);
}
.ipos-ordering__cart-head { padding-bottom: 16px; border-color: rgb(159 187 168 / 46%); }
.ipos-ordering__cart-head small { color: #0c6b45; }
.ipos-ordering__cart-head h3 { font-size: 23px; letter-spacing: -.025em; }
.ipos-ordering__cart-head > button { width: 44px; height: 44px; border-color: rgb(159 187 168 / 54%); border-radius: 50%; background: rgb(255 255 255 / 74%); }
.ipos-ordering__cart-empty { padding-block: 38px; }
.ipos-ordering__cart-empty > span { width: 46px; height: 46px; border-color: #98bea5; background: rgb(238 248 241 / 74%); }
.ipos-cart-item { padding-block: 16px; border-color: rgb(159 187 168 / 36%); }
.ipos-cart-item__controls { grid-template-columns: 40px 30px 40px; border: 1px solid rgb(159 187 168 / 48%); border-radius: 999px; background: rgb(255 255 255 / 56%); }
.ipos-cart-item__controls button { width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: #0c6b45; font-size: 18px; }
.ipos-ordering__note textarea { padding: 13px 15px; border-color: rgb(159 187 168 / 52%); border-radius: 14px; background: rgb(255 255 255 / 68%); line-height: 1.45; }
.ipos-ordering__cart-actions { grid-template-columns: 1fr; gap: 10px; }
.ipos-ordering__cart-actions .ipos-ordering__submit { display: flex; min-width: 0; min-height: 54px; margin: 0; align-items: center; justify-content: center; gap: 8px; border: 1px solid rgb(255 255 255 / 35%); border-radius: 17px; background: linear-gradient(135deg, rgb(11 143 82 / 96%), rgb(8 99 58 / 98%)); box-shadow: 0 12px 22px rgb(7 104 59 / 25%), inset 0 1px 0 rgb(255 255 255 / 24%), inset 0 -1px 0 rgb(1 70 39 / 30%); font-size: 13px; font-weight: 800; letter-spacing: -.01em; }
.ipos-ordering__cart-actions .ipos-ordering__submit:hover, .ipos-ordering__cart-actions .ipos-ordering__submit:focus-visible { border-color: rgb(255 255 255 / 55%); background: linear-gradient(135deg, #0b9254, #08713f); box-shadow: 0 15px 28px rgb(7 104 59 / 32%), inset 0 1px 0 rgb(255 255 255 / 28%); transform: translateY(-1px); }
.ipos-ordering__cart-actions button:active { transform: translateY(0) scale(.985); }
.ipos-ordering__catalog-refresh { border-color: rgb(159 187 168 / 58%); border-radius: 14px; background: rgb(255 255 255 / 72%); }
.ipos-ordering__cart-bar {
	right: 12px;
	bottom: calc(12px + env(safe-area-inset-bottom));
	left: 12px;
	min-height: 76px;
	gap: 10px;
	padding: 9px;
	border-color: var(--ipos-customer-edge);
	border-radius: 22px;
	background: rgb(248 253 249 / 86%);
	box-shadow: 0 18px 38px rgb(11 77 47 / 19%), inset 0 1px 0 rgb(255 255 255 / 92%);
	backdrop-filter: blur(22px) saturate(130%);
}
.ipos-ordering__cart-bar-icon { width: 50px; height: 50px; background: #e5f4e9; }
.ipos-ordering__cart-bar-copy { font-size: 11px; }
.ipos-ordering__cart-bar-copy strong { color: #12291d; font-size: 17px; }
.ipos-ordering__cart-bar em { min-height: 56px; padding-inline: 15px; border-radius: 15px; background: linear-gradient(135deg, #0a7f4e, #0c6b45); box-shadow: 0 7px 14px rgb(12 107 69 / 20%); }
.ipos-ordering__backdrop { background: rgb(8 37 23 / 48%); backdrop-filter: blur(3px); }

.ipos-ordering__round-history { margin-top: 22px; padding-top: 18px; border-color: rgb(159 187 168 / 42%); }
.ipos-ordering__round { overflow: hidden; border-color: rgb(206 224 211 / 90%); border-radius: 16px; background: rgb(255 255 255 / 74%); }
.ipos-ordering__round-details > summary { min-height: 62px; padding-inline: 14px; }
.ipos-ordering__round-body { border-color: rgb(159 187 168 / 35%); }

@media (min-width: 620px) {
	.ipos-ordering { padding-inline: 24px; }
	.ipos-ordering__toolbar { width: calc(100% + 48px); margin-inline: -24px; padding-inline: 24px; }
	.ipos-product { grid-template-columns: 38% minmax(0, 1fr); }
}
@media (min-width: 960px) {
	.ipos-ordering { padding: 28px 32px 42px; }
	.ipos-ordering__header { grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; padding: 12px 0 26px; }
	.ipos-ordering__brand { padding-top: 8px; }
	.ipos-ordering__table { grid-column: 3; grid-row: 1; }
	.ipos-ordering__intro { grid-column: 1 / span 2; grid-row: 2; padding-top: 26px; }
	.ipos-ordering__toolbar { width: min(100%, 1440px); margin: 0 auto 24px; padding: 13px 0; border-inline: 0; }
	.ipos-ordering__search { max-width: 520px; }
	.ipos-ordering__layout { grid-template-columns: minmax(0, 1fr) minmax(320px, 370px); gap: 28px; }
	.ipos-ordering__cart { top: 20px; bottom: auto; max-height: calc(100dvh - 40px); padding: 21px; border-radius: 23px; background: rgb(249 253 249 / 78%); box-shadow: 0 18px 36px rgb(11 77 47 / 12%), inset 0 1px 0 rgb(255 255 255 / 93%); }
	.ipos-ordering__cart-head > button { display: none; }
	.ipos-ordering__layout > .ipos-ordering__round-history { margin-top: -3px; }
}
@media (min-width: 1260px) {
	.ipos-ordering__products { gap: 16px; }
	.ipos-product { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); min-height: 0; border-radius: 19px; }
	.ipos-product__media { min-height: 0; aspect-ratio: 4 / 3; }
	.ipos-product__body { padding: 15px; }
}
@media (max-width: 359px) {
	.ipos-ordering { padding-inline: 12px; padding-bottom: calc(108px + env(safe-area-inset-bottom)); }
	.ipos-ordering__toolbar { width: calc(100% + 24px); margin-inline: -12px; padding-inline: 12px; }
	.ipos-ordering__table { grid-template-columns: 1fr; }
	.ipos-ordering__table span { grid-column: 1; grid-row: auto; margin-top: 4px; }
	.ipos-ordering__cart-bar { grid-template-columns: minmax(0, 1fr) auto; min-height: 68px; gap: 7px; padding: 7px; border-radius: 19px; }
	.ipos-ordering__cart-bar-icon { width: 44px; height: 44px; }
	.ipos-ordering__cart-bar-summary { gap: 7px; }
	.ipos-ordering__cart-bar-copy > span { display: none; }
	.ipos-ordering__cart-bar-copy strong { font-size: 15px; }
	.ipos-ordering__cart-bar em { min-height: 46px; padding-inline: 12px; border-radius: 13px; }
	.ipos-ordering__cart-actions .ipos-ordering__submit { min-height: 50px; }
}

/* IPOS-145: history launcher, deliberate round summaries and an anchored cart footer. */
.ipos-ordering > :not(.ipos-ordering__layout):not(.ipos-ordering__cart-bar):not(.ipos-ordering__backdrop):not(.ipos-ordering__modal-backdrop):not(.ipos-ordering__success):not(.ipos-table-payment) { position: relative; z-index: 1; }
.ipos-ordering__menu-column { min-width: 0; }
.ipos-ordering__cart { display: flex; min-height: 0; flex-direction: column; overflow: hidden; }
.ipos-ordering__cart-scroll { min-height: 0; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.ipos-ordering__cart-footer { flex: 0 0 auto; margin: 12px 14px 14px; padding: 14px; border: 1px solid rgb(159 187 168 / 42%); border-radius: 18px; background: rgb(255 255 255 / 72%); box-shadow: inset 0 1px 0 rgb(255 255 255 / 82%), 0 10px 24px rgb(20 69 43 / 7%); }
.ipos-ordering__cart-footer .ipos-ordering__total { margin: 0 0 12px; padding: 0; border: 0; background: transparent; }
.ipos-ordering__cart-footer [data-ipos-status] { min-height: 0; margin: 9px 0 0; }
.ipos-ordering__round-history { margin: 0; padding: 0; border: 0; }
.ipos-ordering__round { border-radius: 14px; }
.ipos-ordering__round-details > summary { grid-template-columns: minmax(0, 1fr) auto 44px; min-height: 72px; gap: 12px; padding: 12px 12px 12px 15px; }
.ipos-ordering__round-details > summary::after { content: none; }
.ipos-ordering__round-heading { gap: 5px; }
.ipos-ordering__round-heading > strong { color: #173022; font-size: 15px; line-height: 1.1; }
.ipos-ordering__round-meta { display: flex; min-width: 0; align-items: center; gap: 7px; color: #66756b; font-size: 12px; font-weight: 650; }
.ipos-ordering__round-meta > small { color: inherit; font-size: inherit; white-space: nowrap; }
.ipos-ordering__round-state { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; background: #e3f5e9; color: #187a3e; }
.ipos-ordering__round-state.is-new { background: #e8f7ed; color: #0c6b45; }
.ipos-ordering__round-state svg { width: 15px; height: 15px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.ipos-ordering__round-history-help { margin: 12px 2px 0; color: #66756b; font-size: 12px; line-height: 1.45; }
.ipos-ordering__round-body { padding: 10px 13px 13px; }
.ipos-ordering__round-total { align-self: center; color: #173022; font-size: 14px; font-variant-numeric: tabular-nums; }
.ipos-ordering__round-chevron { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 50%; color: #587065; transition: background 140ms ease, color 140ms ease, transform 180ms ease; }
.ipos-ordering__round-chevron svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.ipos-ordering__round-details[open] > summary .ipos-ordering__round-chevron { transform: rotate(180deg); }
.ipos-ordering__round-details > summary:hover .ipos-ordering__round-chevron { background: #e8f6ec; color: #0c6b45; }

.ipos-ordering__utility-dock[hidden] { display: none !important; }
.ipos-ordering__utility-dock { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; flex: 0 0 auto; margin: 0 14px 14px; }
.ipos-ordering__history-launcher, .ipos-ordering__payment-launcher, .ipos-ordering__staff-call-launcher { display: inline-flex; min-width: 0; min-height: 48px; align-items: center; justify-content: center; gap: 7px; margin: 0; padding: 0 6px; border: 1px solid rgb(12 107 69 / 28%); border-radius: 14px; background: rgb(255 255 255 / 72%); box-shadow: inset 0 1px 0 #fff; color: #0c6b45; font-size: 12px; font-weight: 780; white-space: nowrap; cursor: pointer; }
.ipos-ordering__history-launcher:hover, .ipos-ordering__payment-launcher:hover, .ipos-ordering__staff-call-launcher:hover { border-color: #0c6b45; background: #e9f7ed; }
.ipos-ordering__history-launcher svg, .ipos-ordering__payment-launcher svg, .ipos-ordering__staff-call-launcher svg { width: 19px; height: 19px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.ipos-ordering__history-launcher b { display: grid; min-width: 19px; height: 19px; place-items: center; padding: 0 4px; border-radius: 999px; background: #0c6b45; color: #fff; font-size: 10px; font-variant-numeric: tabular-nums; }
.ipos-ordering__history-panel[hidden] { display: none !important; }
.ipos-ordering__history-panel { position: fixed !important; z-index: 60 !important; top: 50%; right: max(24px, calc((100vw - 1440px) / 2 + 24px)); display: grid; width: min(420px, calc(100vw - 48px)); max-height: calc(100dvh - 48px); grid-template-rows: auto minmax(0, 1fr); overflow: hidden; border: 1px solid rgb(255 255 255 / 90%); border-radius: 24px; background: rgb(249 253 249 / 97%); box-shadow: 0 28px 80px rgb(4 38 21 / 28%), inset 0 1px 0 #fff; transform: translateY(-50%); }
.ipos-ordering__history-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 20px 15px; border-bottom: 1px solid rgb(159 187 168 / 32%); }
.ipos-ordering__history-panel-head p { margin: 0 0 4px; color: #168148; font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.ipos-ordering__history-panel-head h2 { margin: 0; color: #102a1d; font-size: 22px; letter-spacing: -.035em; line-height: 1.1; }
.ipos-ordering__history-panel-head button { display: grid; width: 40px; height: 40px; flex: 0 0 auto; place-items: center; border: 1px solid rgb(159 187 168 / 48%); border-radius: 50%; background: rgb(255 255 255 / 70%); color: #173022; cursor: pointer; }
.ipos-ordering__history-panel-head svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.9; }
.ipos-ordering__history-panel-scroll { min-height: 0; overflow: auto; padding: 14px; overscroll-behavior: contain; }
body.ipos-ordering-history-open { overflow: hidden; }


.ipos-table-payment[hidden] { display: none !important; }
.ipos-table-payment__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.ipos-table-payment__close { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border: 1px solid var(--ipos-line-strong); border-radius: 50%; background: rgb(255 255 255 / 70%); color: var(--ipos-ink); font-size: 22px; line-height: 1; cursor: pointer; }
.ipos-table-payment__copy { grid-column: 1 / -1; margin: 0; color: var(--ipos-muted); font-size: 14px; line-height: 1.55; }
.ipos-table-payment__actions button.is-primary { width: 100%; min-height: 52px; border-radius: 15px; }
.ipos-ordering.is-payment-open .ipos-table-payment { position: fixed !important; z-index: 60 !important; display: grid !important; grid-template-columns: 1fr; width: min(430px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: 0; padding: 22px; border: 1px solid rgb(255 255 255 / 90%); border-radius: 24px; background: rgb(249 253 249 / 96%); box-shadow: 0 28px 80px rgb(4 38 21 / 28%), inset 0 1px 0 #fff; transform: translateY(-50%); }
.ipos-ordering.is-payment-open .ipos-table-payment { top: 50%; right: 16px; }
.ipos-ordering__payment-success[hidden] { display: none !important; }
body.ipos-ordering-payment-open, body.ipos-ordering-payment-success-open { overflow: hidden; }
body .ipos-ordering__payment-success { position: fixed !important; inset: 0 !important; z-index: 1000; display: grid; width: 100vw; height: 100dvh; place-items: center; padding: 20px; background: rgb(7 30 18 / 58%); backdrop-filter: blur(8px); font-family: var(--ipos-font); }
body .ipos-ordering__payment-success .ipos-ordering__success-panel { width: min(100%, 390px); }
body .ipos-ordering__payment-success h3 { margin: 0; color: #102a1d; font-size: 25px; font-weight: 780; letter-spacing: -.035em; line-height: 1.2; }
body .ipos-ordering__payment-success p { margin: 9px 0 22px; color: #617067; font-size: 14px; line-height: 1.5; }
body .ipos-ordering__payment-success button { width: 100%; min-height: 50px; padding: 0 18px; border: 0; border-radius: 14px; background: #0c6b45; color: #fff; font-weight: 750; cursor: pointer; }
body .ipos-ordering__payment-success button:hover { background: #095a3a; }
body .ipos-ordering__payment-success .ipos-ordering__success-icon .is-paid { display: none; }
body .ipos-ordering__payment-success.is-paid .ipos-ordering__success-icon .is-waiting { display: none; }
body .ipos-ordering__payment-success.is-paid .ipos-ordering__success-icon .is-paid { display: block; }

@media (max-width: 959px) {
	.ipos-ordering__cart { height: auto; max-height: min(86dvh, 760px); }
	.ipos-ordering__cart-scroll { flex: 0 1 auto; max-height: calc(min(86dvh, 760px) - 184px); }
	.ipos-ordering__cart-footer { width: 100%; margin: 12px 0 0; }
	body .ipos-ordering__utility-dock { position: fixed; right: 12px; bottom: calc(84px + env(safe-area-inset-bottom)); left: 12px; z-index: 12; margin: 0; padding: 7px; border: 1px solid rgb(255 255 255 / 86%); border-radius: 18px; background: rgb(248 253 249 / 92%); box-shadow: 0 12px 26px rgb(11 77 47 / 18%), inset 0 1px 0 #fff; backdrop-filter: blur(16px); }
	body .ipos-ordering__utility-dock > button { line-height: 1.15; text-align: center; }
	body.ipos-ordering-has-cart-items .ipos-ordering__utility-dock { bottom: calc(92px + env(safe-area-inset-bottom)); }
	.ipos-ordering__history-panel { top: auto; right: 0; bottom: 0; left: 0; width: 100%; max-height: min(76dvh, 640px); border-radius: 24px 24px 0 0; transform: none; }
	.ipos-ordering__history-panel-head { padding: 18px 18px 14px; }
	.ipos-ordering__history-panel-scroll { padding: 12px; }
	.ipos-ordering__round-details > summary { min-height: 74px; padding-left: 13px; }
	.ipos-ordering__round-meta { gap: 6px; }
	.ipos-ordering__round-state { max-width: 132px; overflow: hidden; text-overflow: ellipsis; }
	.ipos-ordering.is-payment-open .ipos-table-payment { right: 0; bottom: 0; left: 0; width: 100%; max-height: 86dvh; border-radius: 24px 24px 0 0; transform: none; }
}
@media (min-width: 960px) {
	.ipos-ordering__cart { max-height: calc(100dvh - 40px); }
	.ipos-ordering__utility-dock { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.ipos-ordering.is-payment-open .ipos-table-payment,
	.ipos-ordering__payment-launcher { transition: none; }
}

/* IPOS-147: reserve only the space occupied by mobile utility controls. */
@media (max-width: 959px) {
	.ipos-ordering {
		--ipos-ordering-dock-height: 64px;
		--ipos-ordering-dock-offset: 84px;
	}
	.ipos-ordering.has-cart-items { --ipos-ordering-dock-offset: 92px; }
	.ipos-ordering.has-utility-dock {
		padding-bottom: calc(var(--ipos-ordering-dock-height) + var(--ipos-ordering-dock-offset) + 20px + env(safe-area-inset-bottom));
	}
	.ipos-ordering.has-utility-dock .ipos-product {
		scroll-margin-block-end: calc(var(--ipos-ordering-dock-height) + var(--ipos-ordering-dock-offset) + 20px + env(safe-area-inset-bottom));
	}
}

/* IPOS-149: communicate product affordance without making hover essential. */
.ipos-product:focus-within {
	border-color: #0c6b45;
	background: linear-gradient(135deg, rgb(246 253 248 / 96%), rgb(255 255 255 / 90%));
	box-shadow: 0 0 0 3px rgb(12 107 69 / 16%), 0 14px 28px rgb(16 73 43 / 10%);
}
.ipos-product:focus-within .ipos-product__body button { border-color: #0c6b45; background: #0c6b45; color: #fff; }
@media (hover: hover) and (pointer: fine) {
	.ipos-product:hover {
		border-color: #0c6b45;
		background: linear-gradient(135deg, rgb(246 253 248 / 96%), rgb(255 255 255 / 90%));
		box-shadow: 0 0 0 1px rgb(12 107 69 / 22%), 0 16px 30px rgb(16 73 43 / 12%);
	}
	.ipos-product:hover .ipos-product__body button { border-color: #0c6b45; background: #0c6b45; box-shadow: 0 8px 18px rgb(12 107 69 / 22%); color: #fff; }
	.ipos-product:hover .ipos-product__media img { transform: scale(1.015); }
}
.ipos-product__media img { transition: transform 180ms ease; }
@media (min-width: 960px) {
	.ipos-ordering__header { row-gap: 8px; padding-block: 8px 14px; }
	.ipos-ordering__intro { padding-top: 8px; }
	.ipos-ordering__intro > p:last-child { margin-top: 5px; }
	.ipos-ordering__toolbar { margin-bottom: 17px; padding-block: 9px 11px; }
}
@media (prefers-reduced-motion: reduce) {
	.ipos-product__media img { transition: none; }
}

/* IPOS-161: Customer sheets share a real backdrop, a calm motion lifecycle and Operations-like round hierarchy. */
.ipos-ordering__modal-backdrop[hidden] { display: none !important; }
.ipos-ordering__modal-backdrop { position: fixed; inset: 0; z-index: 55; display: block; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: rgb(7 30 18 / 0%); cursor: default; opacity: 0; backdrop-filter: blur(0); transition: opacity 180ms ease, background 180ms ease, backdrop-filter 180ms ease; }
.ipos-ordering__modal-backdrop.is-visible { background: rgb(7 30 18 / 42%); opacity: 1; backdrop-filter: blur(4px); }
.ipos-ordering.is-staff-call-open .ipos-ordering__modal-backdrop { display: none !important; }
.ipos-ordering__history-panel, .ipos-ordering.is-payment-open .ipos-table-payment { opacity: 0; transition: opacity 180ms ease, transform 220ms cubic-bezier(.22, 1, .36, 1); will-change: opacity, transform; }
.ipos-ordering__history-panel { transform: translate3d(0, calc(-50% + 8px), 0); background: rgb(238 250 241 / 76%); box-shadow: 0 26px 70px rgb(4 38 21 / 24%), inset 0 1px 0 rgb(255 255 255 / 82%); backdrop-filter: blur(26px) saturate(1.18); }
.ipos-ordering__history-panel.is-sheet-open { opacity: 1; transform: translate3d(0, -50%, 0); }
.ipos-ordering__history-panel.is-sheet-closing { opacity: 0; transform: translate3d(0, calc(-50% + 8px), 0); }
.ipos-ordering.is-payment-open .ipos-table-payment { transform: translate3d(0, calc(-50% + 8px), 0); background: rgb(241 250 243 / 78%); box-shadow: 0 26px 70px rgb(4 38 21 / 24%), inset 0 1px 0 rgb(255 255 255 / 82%); backdrop-filter: blur(26px) saturate(1.18); }
.ipos-ordering.is-payment-open .ipos-table-payment.is-sheet-open { opacity: 1; transform: translate3d(0, -50%, 0); }
.ipos-ordering.is-payment-open .ipos-table-payment.is-sheet-closing { opacity: 0; transform: translate3d(0, calc(-50% + 8px), 0); }
.ipos-ordering__history-panel-head, .ipos-table-payment__head { background: rgb(255 255 255 / 24%); }
.ipos-ordering__history-panel-head { position: sticky; top: 0; z-index: 1; backdrop-filter: blur(18px); }
.ipos-ordering__history-panel-scroll { padding: 14px; }
.ipos-ordering__round-history ul { gap: 10px; }
.ipos-ordering__round { overflow: hidden; border: 1px solid rgb(120 163 137 / 44%); border-radius: 15px; background: rgb(255 255 255 / 62%); box-shadow: inset 0 1px 0 rgb(255 255 255 / 78%); transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease; }
.ipos-ordering__round-details > summary { grid-template-columns: minmax(0, 1fr) auto 44px; min-height: 72px; gap: 12px; padding: 12px 12px 12px 14px; }
.ipos-ordering__round-heading { display: flex; align-items: center; gap: 10px; }
.ipos-ordering__round-number { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #dff3e5; color: #176e3a; font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.ipos-ordering__round-heading-copy { display: grid; min-width: 0; gap: 4px; }
.ipos-ordering__round-heading > .ipos-ordering__round-heading-copy > strong { color: #173022; font-size: 15px; line-height: 1.1; }
.ipos-ordering__round-meta { display: flex; gap: 7px; color: #65756b; font-size: 12px; font-weight: 680; }
.ipos-ordering__round-state { padding: 0; background: transparent; color: #187a3e; }
	.ipos-ordering__round-state.is-new { color: #0c6b45; }
	.ipos-ordering__round-state.is-preparing { color: #175cd3; }
	.ipos-ordering__round-state.is-ready { color: #187a3e; }
.ipos-ordering__round-total { color: #173022; font-size: 14px; font-weight: 800; }
.ipos-ordering__round-chevron { background: rgb(232 246 236 / 76%); color: #176e3a; }
.ipos-ordering__round-details[open] { border-color: rgb(42 128 73 / 44%); background: rgb(244 252 246 / 70%); box-shadow: 0 10px 22px rgb(16 73 43 / 8%), inset 0 1px 0 #fff; }
.ipos-ordering__round-details[open] > summary { border-bottom: 1px solid rgb(134 177 149 / 30%); }
.ipos-ordering__round-body { gap: 0; padding: 6px 14px 13px; border: 0; }
.ipos-ordering__round-history .ipos-ordering__round-items { gap: 0; }
.ipos-ordering__round-items li { min-height: 40px; padding: 0; border-bottom: 1px solid rgb(134 177 149 / 22%); color: #52665a; font-size: 13px; }
.ipos-ordering__round-items li:last-child { border-bottom: 0; }
.ipos-ordering__round-items li strong { color: #20382a; }
.ipos-ordering__round-note { margin-top: 9px; padding: 9px 10px; border: 1px solid rgb(200 165 73 / 30%); border-radius: 10px; background: rgb(255 248 220 / 68%); color: #775722; }
.ipos-ordering__history-launcher { border-color: rgb(12 107 69 / 30%); background: rgb(255 255 255 / 68%); color: #0c6b45; }
.ipos-ordering__payment-launcher { border-color: rgb(165 106 0 / 30%); background: rgb(255 249 231 / 72%); color: #8d5c00; }
.ipos-ordering__history-launcher:hover, .ipos-ordering__history-launcher:focus-visible { border-color: #0c6b45; background: #e9f7ed; }
.ipos-ordering__payment-launcher:hover, .ipos-ordering__payment-launcher:focus-visible { border-color: #8d5c00; background: #fff2c9; }
.ipos-ordering__history-launcher:active, .ipos-ordering__payment-launcher:active { transform: translateY(1px); }
.ipos-ordering__payment-launcher[aria-expanded="true"] { border-color: #8d5c00; background: #fff0bd; box-shadow: inset 0 1px 0 #fff, 0 6px 16px rgb(141 92 0 / 12%); }
.ipos-table-payment__close { font-size: 0; }
.ipos-table-payment__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }

@media (max-width: 959px) {
	.ipos-ordering__history-panel, .ipos-ordering.is-payment-open .ipos-table-payment { transform: translate3d(0, 20px, 0); }
	.ipos-ordering__history-panel.is-sheet-open, .ipos-ordering.is-payment-open .ipos-table-payment.is-sheet-open { transform: translate3d(0, 0, 0); }
	.ipos-ordering__history-panel.is-sheet-closing, .ipos-ordering.is-payment-open .ipos-table-payment.is-sheet-closing { transform: translate3d(0, 20px, 0); }
	.ipos-ordering__history-panel-scroll { padding: 12px; }
	.ipos-ordering__round-meta { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
	.ipos-ordering__modal-backdrop, .ipos-ordering__history-panel, .ipos-ordering.is-payment-open .ipos-table-payment, .ipos-ordering__round, .ipos-ordering__round-chevron { transition-duration: 1ms !important; }
}
@media (prefers-reduced-motion: reduce) {
	.ipos-ordering__round-body { transition: none; }
}

/* IPOS-192: customer sheets use the same compact POS hierarchy as the
 * Inspector: one chromed header, one bill ledge, then clear actions/history. */
.ipos-ordering__history-panel,
.ipos-ordering.is-payment-open .ipos-table-payment {
	border-color: rgb(113 163 132 / 34%);
	background:
		radial-gradient(100% 80% at 100% 0%, rgb(220 245 228 / 72%), transparent 64%),
		rgb(247 252 248 / 94%);
	box-shadow: 0 26px 70px rgb(4 38 21 / 23%), inset 0 1px 0 rgb(255 255 255 / 92%);
}
.ipos-ordering__history-panel-head,
.ipos-table-payment__head {
	position: relative;
	padding: 17px 18px 15px;
	border-bottom: 1px solid rgb(45 104 70 / 13%);
	background: rgb(255 255 255 / 36%);
}
.ipos-ordering__history-panel-head > div,
.ipos-table-payment__head > div {
	position: relative;
	padding-left: 12px;
}
.ipos-ordering__history-panel-head > div::before,
.ipos-table-payment__head > div::before {
	position: absolute;
	top: 2px;
	bottom: 2px;
	left: 0;
	width: 3px;
	border-radius: 999px;
	background: linear-gradient(180deg, #1b914e, #9edbbb);
	content: "";
}
.ipos-ordering__history-panel-head p,
.ipos-table-payment__eyebrow {
	margin-bottom: 5px;
	color: #187844;
	font-size: 10px;
	font-weight: 820;
	letter-spacing: .1em;
}
.ipos-ordering__history-panel-head h2,
.ipos-table-payment__head h2 {
	font-size: 22px;
	font-weight: 790;
	letter-spacing: -.045em;
}
.ipos-ordering__history-panel-head button,
.ipos-table-payment__close {
	width: 38px;
	height: 38px;
	border-color: rgb(71 122 91 / 25%);
	background: rgb(255 255 255 / 68%);
	box-shadow: inset 0 1px 0 #fff;
}
.ipos-ordering__history-panel-scroll { padding: 13px 14px 16px; }
.ipos-ordering__round-history ul { gap: 8px; }
.ipos-ordering__round {
	border-color: rgb(79 136 101 / 25%);
	border-radius: 16px;
	background: rgb(255 255 255 / 60%);
	box-shadow: inset 0 1px 0 rgb(255 255 255 / 82%);
}
.ipos-ordering__round-details > summary {
	min-height: 68px;
	padding: 10px 11px 10px 12px;
}
.ipos-ordering__round-number {
	width: 32px;
	height: 32px;
	font-size: 14px;
}
.ipos-ordering__round-heading-copy { gap: 3px; }
.ipos-ordering__round-heading > .ipos-ordering__round-heading-copy > strong { font-size: 14px; }
.ipos-ordering__round-meta { font-size: 11px; }
.ipos-ordering__round-total { font-size: 14px; font-variant-numeric: tabular-nums; }
.ipos-ordering__round-chevron { width: 40px; height: 40px; }
.ipos-ordering__round-body { padding: 5px 12px 12px; }
.ipos-ordering__round-items li { min-height: 38px; font-size: 13px; }
.ipos-ordering.is-payment-open .ipos-table-payment {
	gap: 0;
	padding: 0 18px 18px;
	overflow: hidden;
}
.ipos-ordering.is-payment-open .ipos-table-payment__head {
	margin: 0 -18px 16px;
}
.ipos-table-payment__summary {
	min-width: 0;
	margin: 0 0 13px;
	padding: 14px 15px 15px;
	border: 1px solid rgb(44 118 75 / 20%);
	border-radius: 17px;
	background:
		radial-gradient(100% 130% at 100% 0%, rgb(226 248 233 / 62%), transparent 62%),
		rgb(255 255 255 / 57%);
	box-shadow: inset 0 1px 0 rgb(255 255 255 / 88%), 0 6px 18px rgb(30 100 66 / 5%);
	text-align: left;
}
.ipos-table-payment__summary span {
	color: #61776a;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.ipos-table-payment__summary strong {
	margin-top: 5px;
	color: #163b29;
	font-size: 32px;
	font-weight: 800;
	letter-spacing: -.045em;
	line-height: 1;
}
.ipos-table-payment__copy {
	margin: 0 1px 16px;
	color: #607367;
	font-size: 13px;
	line-height: 1.5;
}
.ipos-table-payment__actions { display: block; }
.ipos-table-payment__actions button.is-primary {
	min-height: 50px;
	border-radius: 14px;
	box-shadow: inset 0 1px 0 rgb(255 255 255 / 28%), 0 10px 22px rgb(12 107 69 / 18%);
	font-size: 14px;
}
.ipos-ordering__round-items li > span:first-child > span:first-child {
	color: #183b2b;
	font-size: 14px;
	font-weight: 720;
	letter-spacing: -.012em;
}
.ipos-ordering__round-items li > span:first-child small:not(.is-note) {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	padding: 2px 6px;
	border-radius: 6px;
	background: rgb(221 243 228 / 72%);
	color: #187244;
	font-size: 11px;
	font-weight: 780;
	letter-spacing: .025em;
}
.ipos-ordering__round-items li > span:first-child small.is-note {
	font-size: 11px;
	font-weight: 650;
}
@media (max-width: 959px) {
	.ipos-ordering__history-panel-head,
	.ipos-table-payment__head { padding: 16px 17px 14px; }
	.ipos-ordering__history-panel-scroll { padding: 12px; }
	.ipos-ordering.is-payment-open .ipos-table-payment { padding: 0 16px calc(16px + env(safe-area-inset-bottom)); }
	.ipos-ordering.is-payment-open .ipos-table-payment__head { margin-inline: -16px; }
	.ipos-ordering__round-details > summary { min-height: 66px; }
}

/* IPOS-163: purchasable size and per-line drink configuration. */
.ipos-product-options[hidden] { display: none !important; }
.ipos-product-options { position: fixed !important; z-index: 60 !important; top: 50%; right: max(24px, calc((100vw - 1440px) / 2 + 24px)); display: grid; width: min(470px, calc(100vw - 48px)); max-height: calc(100dvh - 48px); grid-template-rows: auto minmax(0, 1fr) auto; overflow: hidden; border: 1px solid rgb(255 255 255 / 90%); border-radius: 24px; background: rgb(241 250 243 / 92%); box-shadow: 0 28px 80px rgb(4 38 21 / 28%), inset 0 1px 0 #fff; opacity: 0; transform: translate3d(0, calc(-50% + 8px), 0); backdrop-filter: blur(26px) saturate(1.15); transition: opacity 180ms ease, transform 220ms cubic-bezier(.22, 1, .36, 1); }
.ipos-product-options.is-sheet-open { opacity: 1; transform: translate3d(0, -50%, 0); }
.ipos-product-options.is-sheet-closing { opacity: 0; transform: translate3d(0, calc(-50% + 8px), 0); }
.ipos-product-options > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 20px 15px; border-bottom: 1px solid rgb(159 187 168 / 32%); background: rgb(255 255 255 / 28%); }
.ipos-product-options > header p { margin: 0 0 4px; color: #168148; font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.ipos-product-options > header h2 { margin: 0; color: #102a1d; font-size: 23px; letter-spacing: -.035em; line-height: 1.1; }
.ipos-product-options > header button { display: grid; width: 40px; height: 40px; flex: 0 0 auto; place-items: center; padding: 0; border: 1px solid rgb(159 187 168 / 48%); border-radius: 50%; background: rgb(255 255 255 / 70%); color: #173022; cursor: pointer; }
.ipos-product-options > header svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.ipos-product-options__scroll { min-height: 0; overflow: auto; padding: 18px 20px; overscroll-behavior: contain; }
.ipos-product-options fieldset { min-width: 0; margin: 0 0 18px; padding: 0; border: 0; }
.ipos-product-options legend, .ipos-product-options__note > span { margin-bottom: 9px; color: #254234; font-size: 13px; font-weight: 800; }
.ipos-product-options__choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ipos-product-options__choices.is-modifiers { grid-template-columns: 1fr; }
.ipos-product-options__combo { display: grid; gap: 7px; padding: 12px 14px; border: 1px solid rgb(139 173 151 / 44%); border-radius: 13px; background: rgb(255 255 255 / 56%); }
.ipos-product-options__combo p { position: relative; margin: 0; padding-left: 14px; color: #365342; font-size: 13px; font-weight: 680; line-height: 1.4; }
.ipos-product-options__combo p::before { position: absolute; top: .55em; left: 0; width: 5px; height: 5px; border-radius: 50%; background: #168148; content: ''; }
.ipos-product-options__choice.is-check span { justify-content: space-between; place-items: center start; text-align: left; padding-inline: 14px; }
.ipos-product-options__choice.is-check span::after { content: ''; width: 18px; height: 18px; flex: 0 0 auto; border: 1.5px solid rgb(139 173 151 / 80%); border-radius: 5px; background: #fff; }
.ipos-product-options__choice.is-check input:checked + span::after { border-color: #0c6b45; background: #0c6b45; box-shadow: inset 0 0 0 3px #e0f4e6; }
.ipos-ordering .ipos-product-options__add:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }
.ipos-product-options__choice { position: relative; display: block; min-width: 0; cursor: pointer; }
.ipos-product-options__choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.ipos-product-options__choice span { display: grid; min-height: 46px; place-items: center; padding: 8px 10px; border: 1px solid rgb(139 173 151 / 54%); border-radius: 13px; background: rgb(255 255 255 / 62%); color: #41594b; font-size: 13px; font-weight: 720; text-align: center; transition: border-color 140ms ease, background 140ms ease, color 140ms ease, box-shadow 140ms ease; }
.ipos-product-options__choice input:checked + span { border-color: #0c6b45; background: #e0f4e6; box-shadow: inset 0 0 0 1px rgb(12 107 69 / 22%); color: #0c6b45; }
.ipos-product-options__choice input:focus-visible + span { outline: 3px solid rgb(12 107 69 / 20%); outline-offset: 2px; }
.ipos-product-options__note { display: grid; }
.ipos-product-options__note textarea { min-height: 76px; padding: 12px 14px; resize: vertical; border: 1px solid rgb(139 173 151 / 54%); border-radius: 13px; background: rgb(255 255 255 / 70%); color: #1c3326; line-height: 1.45; }
.ipos-product-options > footer { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 14px 20px 20px; border-top: 1px solid rgb(159 187 168 / 32%); background: rgb(255 255 255 / 38%); }
.ipos-product-options__quantity { display: grid; grid-template-columns: 42px 32px 42px; align-items: center; border: 1px solid rgb(139 173 151 / 54%); border-radius: 15px; background: rgb(255 255 255 / 70%); text-align: center; }
.ipos-product-options__quantity button { width: 42px; height: 48px; padding: 0; border: 0; background: transparent; color: #0c6b45; font-size: 19px; cursor: pointer; }
.ipos-ordering .ipos-product-options__add { display: flex; min-width: 0; min-height: 50px; align-items: center; justify-content: space-between; gap: 10px; padding: 0 16px; border: 0; border-radius: 15px; background: linear-gradient(135deg, #0a7f4e, #0c6b45); box-shadow: 0 8px 18px rgb(12 107 69 / 20%); color: #fff; font-weight: 780; white-space: nowrap; cursor: pointer; }
.ipos-ordering .ipos-product-options__add:hover { background: linear-gradient(135deg, #078045, #095d3b); }
.ipos-ordering .ipos-product-options__add span, .ipos-ordering .ipos-product-options__add strong { min-width: 0; color: inherit; white-space: nowrap; }
.ipos-product-options__add strong { flex: 0 0 auto; font-variant-numeric: tabular-nums; }
body.ipos-ordering-product-open { overflow: hidden; }
.ipos-cart-item__meta { display: flex; min-width: 0; align-items: center; color: #64766b; font-size: 12px; line-height: 1.35; }
.ipos-cart-item__meta small { overflow: hidden; color: #426052; font-size: inherit; font-weight: 780; text-overflow: ellipsis; white-space: nowrap; }
.ipos-cart-item__options { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ipos-cart-item__options::after { margin: 0 5px; color: #98aa9f; content: '·'; }
.ipos-cart-item__note { display: block; color: #64766b; font-size: 11px; line-height: 1.4; }
.ipos-cart-item__note { color: #7a5a24; }
.ipos-cart-item__edit { min-width: 36px; min-height: 40px; flex: 0 0 auto; padding: 0 4px; border: 0; background: transparent; color: #0c6b45; font-size: 12px; font-weight: 800; text-decoration: underline; cursor: pointer; }
.ipos-ordering__round-items li > span:first-child { display: grid; gap: 2px; }
.ipos-ordering__round-items li > span:first-child small { color: #66776d; font-size: 11px; line-height: 1.35; }
.ipos-ordering__round-items li.is-addon-line { padding-left: 14px; }
.ipos-cart-item__addon { display: block; color: #5d7266; font-size: 12px; line-height: 1.4; }
.ipos-product-options__addon { display: grid; gap: 8px; }
.ipos-product-options__addon-sizes { margin-left: 8px; }

@media (max-width: 959px) {
	.ipos-product-options { top: auto; right: 0; bottom: 0; left: 0; width: 100%; max-height: min(88dvh, 760px); border-radius: 24px 24px 0 0; transform: translate3d(0, 20px, 0); }
	.ipos-product-options.is-sheet-open { transform: translate3d(0, 0, 0); }
	.ipos-product-options.is-sheet-closing { transform: translate3d(0, 20px, 0); }
	.ipos-product-options__scroll { padding: 16px; }
	.ipos-product-options > footer { padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); }
}
@media (max-width: 359px) {
	.ipos-product-options > footer { grid-template-columns: 1fr; }
	.ipos-product-options__quantity { width: 118px; }
}
@media (prefers-reduced-motion: reduce) {
	.ipos-product-options { transition-duration: 1ms !important; }
}

/* IPOS-226: mobile-first Customer V2. Functional surfaces carry the glass;
 * product cards remain calm, matte and scan-first. */
.ipos-ordering {
	padding-bottom: calc(132px + env(safe-area-inset-bottom));
}
.ipos-ordering__header {
	gap: 10px 12px;
	padding: 6px 0 14px;
}
.ipos-ordering__brand { min-height: 34px; }
.ipos-ordering__brand img { width: min(102px, 32vw); }
.ipos-ordering__table {
	padding: 8px 10px;
	border-radius: 15px;
	background: rgb(250 255 251 / 68%);
	box-shadow: inset 0 1px 0 rgb(255 255 255 / 88%), 0 8px 20px rgb(12 107 69 / 8%);
	backdrop-filter: blur(18px) saturate(122%);
}
.ipos-ordering__intro { padding-top: 0; }
.ipos-ordering__intro h2 { font-size: clamp(29px, 7.4vw, 36px); }
.ipos-ordering__toolbar {
	margin-bottom: 16px;
	padding-top: 10px;
	padding-bottom: 11px;
	background: rgb(246 250 246 / 76%);
	backdrop-filter: blur(20px) saturate(125%);
}
.ipos-ordering__search { height: 48px; border-radius: 16px; }
.ipos-ordering__category-shell { margin-top: 10px; }
.ipos-ordering__categories { gap: 8px; padding-right: 0; }
.ipos-ordering__categories button { min-height: 44px; padding-inline: 15px; }
.ipos-ordering__category-next { display: none !important; }
.ipos-ordering__category-shell.is-scrolled::before { display: none; }

.ipos-ordering__product-group {
	display: grid;
	gap: 10px;
	scroll-margin-top: 144px;
}
.ipos-ordering__product-group + .ipos-ordering__product-group { margin-top: 24px; }
.ipos-ordering__product-group-head {
	display: flex;
	min-height: 30px;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 0 2px;
}
.ipos-ordering__product-group-head h3 {
	margin: 0;
	color: #123725;
	font-size: 19px;
	font-weight: 790;
	letter-spacing: -.025em;
	line-height: 1.2;
}
.ipos-ordering__product-group-head span {
	flex: 0 0 auto;
	color: #66776d;
	font-size: 12px;
	font-weight: 720;
	font-variant-numeric: tabular-nums;
}
.ipos-product {
	border-color: rgb(198 220 204 / 88%);
	background: rgb(255 255 255 / 84%);
	box-shadow: 0 9px 22px rgb(15 75 44 / 5%);
}
.ipos-product__body p { display: none; }
.ipos-product__body h3 {
	display: -webkit-box;
	min-block-size: 2.5em;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}
.ipos-product__body > div { min-height: 44px; }
.ipos-product__body strong { white-space: nowrap; }
.ipos-product__body button {
	width: 44px;
	height: 44px;
	border-color: rgb(12 107 69 / 34%);
}
.ipos-ordering__cart-bar {
	border-color: rgb(255 255 255 / 92%);
	background: rgb(247 253 248 / 78%);
	box-shadow: 0 16px 34px rgb(11 77 47 / 18%), inset 0 1px 0 rgb(255 255 255 / 94%);
	backdrop-filter: blur(24px) saturate(128%);
}

@media (min-width: 360px) {
	.ipos-ordering__products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.ipos-product {
		grid-template-columns: 1fr;
		grid-template-rows: auto minmax(112px, 1fr);
		min-height: 0;
		border-radius: 17px;
	}
	.ipos-product__media {
		min-height: 0;
		aspect-ratio: 1;
	}
	.ipos-product__media img { height: 100%; }
	.ipos-product__body { min-height: 112px; padding: 12px; }
	.ipos-product__body h3 { font-size: 15px; line-height: 1.25; }
	.ipos-product__body strong { font-size: 13px; }
	.ipos-product__body > div { gap: 7px; margin-top: 6px; }
	.ipos-product__media span { top: 8px; right: 8px; min-width: 26px; height: 26px; }
}

@media (max-width: 359px) {
	.ipos-ordering { padding-inline: 12px; padding-bottom: calc(120px + env(safe-area-inset-bottom)); }
	body .ipos-ordering__utility-dock { gap: 5px; padding-inline: 5px; }
	body .ipos-ordering__utility-dock > button { gap: 4px; padding-inline: 2px; font-size: 11px; }
	body .ipos-ordering__utility-dock > button > svg { display: none; }
	body .ipos-ordering__history-launcher b { min-width: 17px; height: 17px; }
	.ipos-ordering__toolbar { width: calc(100% + 24px); margin-inline: -12px; padding-inline: 12px; }
	.ipos-ordering__products { grid-template-columns: 1fr; gap: 10px; }
	.ipos-product {
		grid-template-columns: 104px minmax(0, 1fr);
		min-height: 120px;
		border-radius: 16px;
	}
	.ipos-product__media {
		min-height: 0;
		height: 104px;
		aspect-ratio: 1;
		align-self: center;
	}
	.ipos-product__body { min-height: 120px; padding: 11px 12px; }
	.ipos-product__body h3 { font-size: 14px; }
	.ipos-product__body strong { font-size: 13px; }
	.ipos-product__body > div { margin-top: 6px; }
	.ipos-ordering__product-group-head h3 { font-size: 18px; }
}

@media (min-width: 960px) {
	.ipos-ordering__product-group { scroll-margin-top: 28px; }
	.ipos-ordering__product-group + .ipos-ordering__product-group { margin-top: 30px; }
	.ipos-ordering__products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ipos-product { grid-template-columns: 1fr; grid-template-rows: auto minmax(118px, 1fr); }
	.ipos-product__media { min-height: 0; aspect-ratio: 1; }
	.ipos-product__body { min-height: 118px; }
}

@media (min-width: 1260px) {
	.ipos-ordering__products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
	.ipos-ordering__toolbar,
	.ipos-ordering__cart-bar,
	.ipos-product { transition: none; }
}

/* IPOS-228: Customer V3 visual reset. Surfaces are layered by role: a
 * porcelain product card for scanning, and refractive glass only for context
 * and navigation chrome. */
.ipos-ordering__brand {
	position: relative;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 4px;
	padding-top: 2px;
}
.ipos-ordering__brand img { width: min(100px, 31vw); }
.ipos-ordering__brand::after {
	content: none;
}

/* IPOS-375: category chips are sticky section anchors. Active state lives on
 * the button and is synchronized from scroll without a travelling DOM pill. */
.ipos-ordering__categories { position: relative; align-items: center; }
.ipos-ordering__categories button { position: relative; z-index: 1; align-self: center; transition: color 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease; }
.ipos-ordering__category-indicator { display: none !important; }
.ipos-ordering__categories button.is-active {
	border-color: #0c6b45;
	background: linear-gradient(135deg, #0a794d, #0c6b45);
	box-shadow: inset 0 1px 0 rgb(255 255 255 / 28%), 0 8px 16px rgb(12 107 69 / 19%);
	color: #fff;
}
@media (prefers-reduced-motion: reduce) { .ipos-ordering__categories button { transition: none; } }

/* Keep the search and category context visible while the customer browses the
 * menu. The broad glass-surface positioning rule above otherwise wins the
 * cascade and silently turns this back into a normal-flow element. */
.ipos-ordering > .ipos-ordering__toolbar { position: sticky !important; z-index: 6; }
.ipos-ordering__table {
	position: relative;
	overflow: hidden;
	border-color: rgb(255 255 255 / 84%);
	background:
		radial-gradient(circle at 12% 8%, rgb(255 255 255 / 76%), transparent 42%),
		linear-gradient(135deg, rgb(255 255 255 / 66%), rgb(220 242 227 / 48%));
	box-shadow: inset 0 1px 0 rgb(255 255 255 / 96%), inset 0 -1px 0 rgb(77 132 98 / 12%), 0 14px 30px rgb(12 107 69 / 11%);
	backdrop-filter: blur(22px) saturate(145%);
}
.ipos-ordering__table::after {
	position: absolute;
	inset: 1px;
	border: 1px solid rgb(255 255 255 / 34%);
	border-radius: inherit;
	content: "";
	pointer-events: none;
}
.ipos-ordering__table > * { position: relative; z-index: 1; }
.ipos-ordering__toolbar {
	border: 1px solid rgb(255 255 255 / 74%);
	background:
		radial-gradient(circle at 10% 0%, rgb(255 255 255 / 62%), transparent 38%),
		linear-gradient(135deg, rgb(255 255 255 / 58%), rgb(226 244 232 / 50%));
	box-shadow: inset 0 1px 0 rgb(255 255 255 / 86%), inset 0 -1px 0 rgb(93 145 109 / 10%), 0 16px 30px rgb(18 81 48 / 8%);
	backdrop-filter: blur(24px) saturate(145%);
}
.ipos-ordering__cart-bar {
	border-color: rgb(255 255 255 / 92%);
	background:
		radial-gradient(circle at 12% 0%, rgb(255 255 255 / 76%), transparent 42%),
		linear-gradient(135deg, rgb(255 255 255 / 68%), rgb(220 242 227 / 58%));
	box-shadow: inset 0 1px 0 rgb(255 255 255 / 96%), inset 0 -1px 0 rgb(73 132 94 / 12%), 0 18px 40px rgb(11 77 47 / 20%);
	backdrop-filter: blur(26px) saturate(148%);
}
.ipos-product {
	position: relative;
	isolation: isolate;
	border-color: rgb(185 213 193 / 92%);
	background: linear-gradient(145deg, rgb(255 255 255 / 96%), rgb(238 248 239 / 92%));
	box-shadow: inset 0 1px 0 rgb(255 255 255 / 92%), 0 12px 25px rgb(16 73 43 / 8%);
}
.ipos-product::before {
	position: absolute;
	inset: 1px;
	border: 1px solid rgb(255 255 255 / 46%);
	border-radius: inherit;
	background: linear-gradient(140deg, rgb(255 255 255 / 26%), transparent 28% 72%, rgb(22 91 54 / 4%));
	content: "";
	pointer-events: none;
}
.ipos-product > * { position: relative; z-index: 1; }
.ipos-product__body {
	min-height: 0;
	padding: 10px 12px 12px;
	border-top: 1px solid rgb(190 215 197 / 70%);
	background: linear-gradient(160deg, rgb(255 255 255 / 86%), rgb(234 247 237 / 78%));
}
.ipos-product__body h3 {
	min-block-size: 0;
	line-height: 1.2;
	text-wrap: balance;
}
.ipos-product__body > div { margin-top: 8px; }
.ipos-product__body strong {
	color: #075b38;
	font-size: 14px;
	font-weight: 820;
	letter-spacing: .01em;
}
.ipos-product__body button {
	border-color: #0c6b45;
	background: #0c6b45;
	box-shadow: inset 0 1px 0 rgb(255 255 255 / 24%), 0 8px 16px rgb(12 107 69 / 20%);
	color: #fff;
}
.ipos-product__body button:hover { background: #075b38; box-shadow: inset 0 1px 0 rgb(255 255 255 / 28%), 0 10px 20px rgb(12 107 69 / 26%); }
.ipos-product__body button:active { background: #075b38; }

@media (min-width: 360px) {
	.ipos-product { grid-template-rows: auto auto; }
	.ipos-product__body { min-height: 0; }
}
@media (max-width: 359px) {
	.ipos-product { min-height: 104px; }
	.ipos-product__body { min-height: 0; padding: 9px 10px 10px; }
}
@media (min-width: 960px) {
	.ipos-product { grid-template-rows: auto auto; }
	.ipos-product__body { min-height: 0; }
}

.ipos-ordering__staff-call-launcher:focus-visible { outline: 3px solid var(--ipos-focus); outline-offset: 2px; }
.ipos-staff-call {
	position: fixed; left: 50%; bottom: 0; z-index: 72; width: min(100%, 520px);
	padding: 20px 18px max(22px, env(safe-area-inset-bottom)); border: 1px solid var(--ipos-line);
	border-radius: 18px 18px 0 0; background: var(--ipos-surface); box-shadow: 0 -18px 48px rgb(31 43 34 / 22%);
	transform: translateX(-50%);
}
.ipos-staff-call header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.ipos-staff-call header p { margin: 0 0 4px; color: var(--ipos-action); font-size: 12px; font-weight: 750; text-transform: uppercase; }
.ipos-staff-call h2 { margin: 0; font-size: 22px; line-height: 1.25; }
.ipos-staff-call header > button { width: 40px; height: 40px; flex: 0 0 auto; border: 1px solid var(--ipos-line); border-radius: 50%; background: var(--ipos-canvas); font-size: 24px; }
.ipos-staff-call__options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.ipos-staff-call__options button { min-height: 54px; padding: 10px 12px; border: 1px solid var(--ipos-line-strong); border-radius: 10px; background: var(--ipos-canvas); font-weight: 700; text-align: left; }
.ipos-staff-call__options button:hover, .ipos-staff-call__options button:focus-visible { border-color: var(--ipos-action); background: var(--ipos-action-soft); }
.ipos-staff-call__options button:disabled { opacity: .55; }
.ipos-staff-call__status { min-height: 22px; margin: 14px 0 0; color: var(--ipos-action); font-size: 13px; font-weight: 650; line-height: 1.45; }
body.ipos-ordering-staff-call-open { overflow: hidden; }
@media (min-width: 960px) {
	.ipos-staff-call { top: 50%; bottom: auto; border-radius: 14px; transform: translate(-50%, -50%); }
}
@media (max-width: 420px) {
	.ipos-staff-call__options { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
	.ipos-ordering .ipos-product-options__add { gap: 8px; padding-inline: 11px; font-size: 15px; }
}

/* IPOS-338: the QR route is a standalone guest application. Its compact hero
 * uses the configured store identity and keeps table context distinct. */
body.ipos-customer-document {
	min-height: 100dvh;
	margin: 0;
	background: var(--ipos-canvas, #f3f5f2);
	color: var(--ipos-ink, #172019);
}
body.ipos-customer-document > .ipos-customer { min-height: 100dvh; }

.ipos-ordering__header {
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: start;
	gap: 18px 20px;
	padding: 8px 0 20px;
}
.ipos-ordering__brand {
	display: grid;
	min-width: 0;
	min-height: 0;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 12px;
	padding: 0;
}
.ipos-ordering__brand-mark {
	display: flex;
	width: clamp(104px, 11vw, 144px);
	min-height: 58px;
	align-items: center;
	justify-content: flex-start;
}
.ipos-ordering__brand .ipos-ordering__brand-mark img {
	display: block;
	width: 100%;
	max-width: 144px;
	max-height: 72px;
	object-fit: contain;
	object-position: left center;
}
.ipos-ordering__brand-copy {
	display: grid;
	min-width: 0;
	max-width: 440px;
	gap: 2px;
	font-style: normal;
	line-height: 1.35;
}
.ipos-ordering__brand-copy strong {
	overflow: hidden;
	color: #102a1d;
	font-size: 15px;
	font-weight: 820;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.ipos-ordering__brand-copy span,
.ipos-ordering__brand-copy a {
	min-width: 0;
	color: #5d7164;
	font-size: 12px;
	font-weight: 620;
	overflow-wrap: anywhere;
	text-decoration: none;
}
.ipos-ordering__brand-copy a {
	width: max-content;
	max-width: 100%;
	color: #0c6b45;
	font-weight: 760;
}
.ipos-ordering__brand-copy a:hover { text-decoration: underline; }
.ipos-ordering__brand-copy a:focus-visible { border-radius: 4px; }

.ipos-ordering__table {
	min-width: 190px;
	padding: 11px 14px;
	border-color: rgb(134 184 151 / 44%);
	border-radius: 18px;
}
.ipos-ordering__table small { font-size: 12px; }
.ipos-ordering__table strong { font-size: 21px; }
.ipos-ordering__table span { font-size: 12px; white-space: nowrap; }
.ipos-ordering__intro {
	grid-column: 1 / -1;
	grid-row: 2;
	max-width: none;
	padding-top: 0;
}
.ipos-ordering__intro h2 {
	max-width: none;
	font-size: clamp(31px, 5vw, 44px);
	letter-spacing: -.05em;
}

.ipos-ordering__brand--state {
	grid-template-columns: 1fr;
	justify-items: center;
	margin-bottom: 14px;
	text-align: center;
}
.ipos-ordering__brand--state .ipos-ordering__brand-mark { justify-content: center; }
.ipos-ordering__brand--state .ipos-ordering__brand-mark img { object-position: center; }
.ipos-ordering__brand--state .ipos-ordering__brand-copy { justify-items: center; }

@media (max-width: 619px) {
	.ipos-ordering__header {
		grid-template-columns: minmax(0, 1fr) minmax(138px, auto);
		gap: 14px 10px;
		padding-top: 4px;
	}
	.ipos-ordering__brand {
		grid-template-columns: 1fr;
		align-items: start;
		gap: 6px;
	}
	.ipos-ordering__brand-mark {
		width: min(112px, 34vw);
		min-height: 45px;
	}
	.ipos-ordering__brand .ipos-ordering__brand-mark img { max-height: 56px; }
	.ipos-ordering__brand-copy { gap: 1px; }
	.ipos-ordering__brand-copy strong { font-size: 13px; }
	.ipos-ordering__brand-copy span,
	.ipos-ordering__brand-copy a { font-size: 11px; line-height: 1.3; }
	.ipos-ordering__table {
		min-width: 138px;
		padding: 9px 10px;
		border-radius: 16px;
	}
	.ipos-ordering__table strong { font-size: 19px; }
	.ipos-ordering__table span { font-size: 11px; }
	.ipos-ordering__intro h2 { font-size: clamp(30px, 9vw, 36px); }
}

@media (max-width: 420px) {
	.ipos-ordering__table { grid-template-columns: 1fr; }
	.ipos-ordering__table span { grid-column: 1; grid-row: auto; margin-top: 4px; }
}

@media (max-width: 359px) {
	.ipos-ordering__header { grid-template-columns: minmax(0, 1fr) 126px; }
	.ipos-ordering__brand-mark { width: min(94px, 31vw); }
	.ipos-ordering__table { min-width: 0; }
}

@media (min-width: 960px) {
	.ipos-ordering__header {
		grid-template-columns: minmax(0, 1fr) auto;
		padding: 10px 0 24px;
	}
	.ipos-ordering__table { grid-column: 2; grid-row: 1; }
	.ipos-ordering__intro { grid-column: 1 / -1; grid-row: 2; padding-top: 2px; }
}

/* IPOS-342: mobile-first customer identity dock. Keep the profile contact
 * fields and live table state together without the redundant page heading. */
body.ipos-customer-document .ipos-ordering__header {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0;
	width: min(100%, 1440px);
	margin: 0 auto 16px;
	padding: 14px 16px 0;
	border: 1px solid rgb(134 184 151 / 44%);
	border-radius: 22px;
	background: rgb(250 255 251 / 72%);
	box-shadow: inset 0 1px 0 rgb(255 255 255 / 84%), 0 14px 30px rgb(12 107 69 / 8%);
	backdrop-filter: blur(16px) saturate(125%);
}
body.ipos-customer-document .ipos-ordering__identity { min-width: 0; }
body.ipos-customer-document .ipos-ordering__brand {
	display: grid;
	min-width: 0;
	min-height: 0;
	gap: 8px;
	padding: 0;
}
body.ipos-customer-document .ipos-ordering__brand-primary {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 10px;
	min-width: 0;
}
body.ipos-customer-document .ipos-ordering__brand-mark {
	display: flex;
	width: clamp(88px, 26vw, 112px);
	min-height: 0;
	align-items: center;
	justify-content: flex-start;
}
body.ipos-customer-document .ipos-ordering__brand .ipos-ordering__brand-mark img {
	display: block;
	width: 100%;
	max-width: 112px;
	max-height: 48px;
	object-fit: contain;
	object-position: left center;
}
body.ipos-customer-document .ipos-ordering__brand-primary > strong {
	min-width: 0;
	overflow: hidden;
	color: #102a1d;
	font-size: 17px;
	font-weight: 800;
	letter-spacing: -.015em;
	line-height: 1.2;
	text-overflow: ellipsis;
	white-space: nowrap;
}
body.ipos-customer-document .ipos-ordering__brand-contact {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 14px;
	min-width: 0;
	padding-bottom: 12px;
	color: #5d7164;
	font-size: 12px;
	line-height: 1.35;
}
body.ipos-customer-document .ipos-ordering__brand-contact span,
body.ipos-customer-document .ipos-ordering__brand-contact a {
	min-width: 0;
	overflow-wrap: anywhere;
}
body.ipos-customer-document .ipos-ordering__brand-contact a {
	color: #0c6b45;
	font-weight: 760;
	text-decoration: none;
}
body.ipos-customer-document .ipos-ordering__brand-contact a:hover { text-decoration: underline; }
body.ipos-customer-document .ipos-ordering__brand-contact a:focus-visible {
	border-radius: 4px;
	outline: 2px solid var(--ipos-action);
	outline-offset: 3px;
}
body.ipos-customer-document .ipos-ordering__table {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-rows: auto auto;
	align-items: center;
	gap: 2px 10px;
	min-width: 0;
	padding: 12px 0 13px;
	border: 0;
	border-top: 1px solid rgb(134 184 151 / 30%);
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}
body.ipos-customer-document .ipos-ordering__table small {
	grid-column: 1;
	grid-row: 1;
	color: #5d7164;
	font-size: 12px;
}
body.ipos-customer-document .ipos-ordering__table strong {
	grid-column: 1;
	grid-row: 2;
	color: #102a1d;
	font-size: clamp(20px, 5vw, 24px);
	line-height: 1.05;
}
body.ipos-customer-document .ipos-ordering__table span {
	grid-column: 2;
	grid-row: 1 / span 2;
	justify-self: end;
	display: flex;
	align-items: center;
	gap: 7px;
	color: #0c6b45;
	font-size: 13px;
	font-weight: 760;
	white-space: nowrap;
}
body.ipos-customer-document .ipos-ordering__table span::before {
	width: 8px;
	height: 8px;
	flex: 0 0 auto;
	border-radius: 50%;
	background: var(--ipos-success);
	content: "";
}
body.ipos-customer-document .ipos-ordering__table span[data-state="new"] { color: var(--ipos-warning); }
body.ipos-customer-document .ipos-ordering__table span[data-state="new"]::before { background: var(--ipos-warning); }
body.ipos-customer-document .ipos-ordering__table span[data-state="accepted"] { color: var(--ipos-action); }
body.ipos-customer-document .ipos-ordering__table span[data-state="accepted"]::before { background: var(--ipos-action); }

/* IPOS-371: brand-owned Customer accents. Semantic round/payment/error colours
 * remain on their dedicated success/warning/danger/info tokens. */
.ipos-customer .ipos-ordering__categories button.is-active,
.ipos-customer .ipos-ordering__categories button.is-active:hover {
	border-color: var(--ipos-action);
	background: var(--ipos-action);
	box-shadow: inset 0 1px 0 rgb(255 255 255 / 24%), 0 8px 16px color-mix(in srgb, var(--ipos-action) 20%, transparent);
	color: var(--ipos-on-action);
}
.ipos-customer .ipos-product.is-selected,
.ipos-customer .ipos-product:focus-within,
.ipos-customer .ipos-product:hover {
	border-color: var(--ipos-action);
	background: color-mix(in srgb, var(--ipos-action-soft) 48%, #fff);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--ipos-action) 22%, transparent), 0 14px 28px color-mix(in srgb, var(--ipos-action) 11%, transparent);
}
.ipos-customer .ipos-product__media span,
.ipos-customer .ipos-product:focus-within .ipos-product__body button,
.ipos-customer .ipos-product:hover .ipos-product__body button,
.ipos-customer .ipos-product__body button,
.ipos-customer .ipos-product__body button:hover,
.ipos-customer .ipos-product__body button:active {
	border-color: var(--ipos-action);
	background: var(--ipos-action);
	box-shadow: 0 8px 18px color-mix(in srgb, var(--ipos-action) 22%, transparent);
	color: var(--ipos-on-action);
}
.ipos-customer .ipos-product__body button:hover,
.ipos-customer .ipos-product__body button:active { background: var(--ipos-action-hover); }
.ipos-customer .ipos-product__body strong,
.ipos-customer .ipos-ordering__cart-head small,
.ipos-customer .ipos-cart-item small,
.ipos-customer .ipos-cart-item__meta small,
.ipos-customer .ipos-cart-item__edit { color: var(--ipos-action); }
.ipos-customer .ipos-ordering__cart-bar-icon,
.ipos-customer .ipos-ordering__table {
	border-color: color-mix(in srgb, var(--ipos-action) 30%, var(--ipos-line));
	background: var(--ipos-action-soft);
}
.ipos-customer .ipos-ordering__submit,
.ipos-customer .ipos-ordering button.ipos-ordering__submit,
.ipos-customer .ipos-ordering__cart-bar em,
.ipos-customer .ipos-ordering__cart-bar b,
.ipos-customer .ipos-table-payment__actions button.is-primary,
.ipos-customer .ipos-ordering__history-launcher b {
	border-color: var(--ipos-action);
	background: var(--ipos-action);
	color: var(--ipos-on-action);
}
.ipos-customer .ipos-ordering__submit:hover,
.ipos-customer .ipos-ordering__cart-bar:hover em { background: var(--ipos-action-hover); }
.ipos-customer .ipos-ordering__history-launcher,
.ipos-customer .ipos-ordering__payment-launcher {
	border-color: color-mix(in srgb, var(--ipos-action) 30%, var(--ipos-line));
	color: var(--ipos-action);
}
.ipos-customer .ipos-ordering__history-launcher:hover,
.ipos-customer .ipos-ordering__payment-launcher:hover {
	border-color: var(--ipos-action);
	background: var(--ipos-action-soft);
}
.ipos-customer .ipos-product-options > header p,
.ipos-customer .ipos-product-options__quantity button,
.ipos-customer .ipos-product-options__combo p::before { color: var(--ipos-action); }
.ipos-customer .ipos-product-options__combo p::before { background: var(--ipos-action); }
.ipos-customer .ipos-product-options__choice input:checked + span {
	border-color: var(--ipos-action);
	background: var(--ipos-action-soft);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ipos-action) 22%, transparent);
	color: var(--ipos-action);
}
.ipos-customer .ipos-product-options__choice.is-check input:checked + span::after {
	border-color: var(--ipos-action);
	background: var(--ipos-action);
	box-shadow: inset 0 0 0 3px var(--ipos-action-soft);
}
.ipos-customer .ipos-product-options__choice input:focus-visible + span { outline-color: var(--ipos-focus); }
.ipos-customer .ipos-ordering .ipos-product-options__add {
	background: var(--ipos-action);
	box-shadow: 0 8px 18px color-mix(in srgb, var(--ipos-action) 20%, transparent);
	color: var(--ipos-on-action);
}
.ipos-customer .ipos-ordering .ipos-product-options__add:hover { background: var(--ipos-action-hover); }
body.ipos-customer-document .ipos-ordering__table span[data-state="preparing"] { color: var(--ipos-info); }
body.ipos-customer-document .ipos-ordering__table span[data-state="preparing"]::before { background: var(--ipos-info); }
body.ipos-customer-document .ipos-ordering__table span[data-state="served"] { color: var(--ipos-success); }
body.ipos-customer-document .ipos-ordering__table span[data-state="served"]::before { background: var(--ipos-success); }
body.ipos-customer-document .ipos-ordering__intro { display: none; }

body.ipos-customer-document .ipos-ordering__brand--state {
	display: grid;
	justify-items: center;
	margin-bottom: 14px;
	text-align: center;
}
body.ipos-customer-document .ipos-ordering__brand--state .ipos-ordering__brand-primary {
	grid-template-columns: 1fr;
	justify-items: center;
}
body.ipos-customer-document .ipos-ordering__brand--state .ipos-ordering__brand-mark { justify-content: center; }
body.ipos-customer-document .ipos-ordering__brand--state .ipos-ordering__brand-mark img { object-position: center; }
body.ipos-customer-document .ipos-ordering__brand--state .ipos-ordering__brand-contact { justify-content: center; }

@media (max-width: 420px) {
	body.ipos-customer-document .ipos-ordering__header { padding: 12px 13px 0; border-radius: 20px; }
	body.ipos-customer-document .ipos-ordering__brand-primary > strong { font-size: 16px; }
	body.ipos-customer-document .ipos-ordering__brand-contact { gap: 3px 11px; padding-bottom: 11px; font-size: 11px; }
	body.ipos-customer-document .ipos-ordering__table { padding: 11px 0 12px; }
	body.ipos-customer-document .ipos-ordering__table span { font-size: 12px; }
}

@media (max-width: 359px) {
	body.ipos-customer-document .ipos-ordering__header { padding-inline: 11px; }
	body.ipos-customer-document .ipos-ordering__brand-mark { width: min(88px, 27vw); }
	body.ipos-customer-document .ipos-ordering__brand-contact { display: grid; gap: 2px; }
	body.ipos-customer-document .ipos-ordering__table span { font-size: 11px; }
}

@media (min-width: 960px) {
	body.ipos-customer-document .ipos-ordering__header {
	grid-template-columns: minmax(0, 1fr) minmax(230px, 280px);
	align-items: stretch;
	gap: 0 20px;
	padding: 18px 20px 0;
	}
	body.ipos-customer-document .ipos-ordering__identity { padding-right: 20px; }
	body.ipos-customer-document .ipos-ordering__table {
	grid-column: 2;
	grid-row: 1;
	padding: 4px 0 18px 20px;
	border-top: 0;
	border-left: 1px solid rgb(134 184 151 / 30%);
	}
	body.ipos-customer-document .ipos-ordering__table span { justify-self: start; }
}

/* IPOS-343: make profile contact rows scannable without adding another card. */
body.ipos-customer-document .ipos-ordering__brand-primary > strong {
	display: -webkit-box;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: normal;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}
body.ipos-customer-document .ipos-ordering__brand-contact > .ipos-ordering__contact-item {
	display: inline-flex;
	min-width: 0;
	min-height: 32px;
	align-items: center;
	gap: 6px;
	overflow-wrap: anywhere;
}
body.ipos-customer-document .ipos-ordering__contact-icon {
	width: 15px;
	height: 15px;
	flex: 0 0 auto;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}
body.ipos-customer-document .ipos-ordering__contact-copy {
	min-width: 0;
	overflow-wrap: anywhere;
}
body.ipos-customer-document .ipos-ordering__brand-contact > .ipos-ordering__contact-item--address {
	color: #5d7164;
}
body.ipos-customer-document .ipos-ordering__brand-contact > .ipos-ordering__contact-item--phone {
	color: #0c6b45;
	font-weight: 760;
	text-decoration: none;
}
body.ipos-customer-document .ipos-ordering__brand-contact > .ipos-ordering__contact-item--phone:hover { text-decoration: underline; }
body.ipos-customer-document .ipos-ordering__brand-contact > .ipos-ordering__contact-item--phone:focus-visible {
	border-radius: 4px;
	outline: 2px solid var(--ipos-action);
	outline-offset: 3px;
}

@media (max-width: 359px) {
	body.ipos-customer-document .ipos-ordering__brand-contact > .ipos-ordering__contact-item {
	min-height: 24px;
	align-items: flex-start;
	}
	body.ipos-customer-document .ipos-ordering__contact-icon { margin-top: 1px; }
}

/* IPOS-344: keep the logo as the visual anchor while right-aligning the
 * store name and profile contact details in the remaining mobile column. */
@media (max-width: 959px) {
	body.ipos-customer-document .ipos-ordering__brand-primary > strong {
	justify-self: end;
	max-width: 100%;
	text-align: right;
	}
	body.ipos-customer-document .ipos-ordering__brand-contact {
	justify-content: flex-end;
	text-align: right;
	}
	body.ipos-customer-document .ipos-ordering__brand-contact > .ipos-ordering__contact-item {
	justify-content: flex-end;
	text-align: right;
	}
}

@media (max-width: 359px) {
	body.ipos-customer-document .ipos-ordering__brand-contact {
	justify-items: end;
	}
	body.ipos-customer-document .ipos-ordering__brand-contact > .ipos-ordering__contact-item {
	justify-self: end;
	}
}

/* IPOS-347: keep the address anchored to the reading edge while the store
 * name and callable phone remain right-aligned in the identity rail. */
@media (max-width: 959px) {
	body.ipos-customer-document .ipos-ordering__brand-contact > .ipos-ordering__contact-item--address {
	margin-right: auto;
	justify-content: flex-start;
	text-align: left;
	}
}

@media (max-width: 359px) {
	body.ipos-customer-document .ipos-ordering__brand-contact {
	grid-template-columns: minmax(0, 1fr);
	justify-content: stretch;
	}
	body.ipos-customer-document .ipos-ordering__brand-contact > .ipos-ordering__contact-item--address {
	justify-self: start;
	margin-right: 0;
	}
}

/* IPOS-374: Customer theme ownership. Brand accents change with the store;
 * status colours keep their operational meaning; reading surfaces stay neutral. */
body.ipos-customer-document { background: var(--ipos-neutral-canvas); color: var(--ipos-neutral-ink); }
.ipos-customer .ipos-ordering {
	--ipos-customer-pearl: var(--ipos-neutral-canvas);
	--ipos-customer-mint: var(--ipos-brand-surface);
	--ipos-customer-edge: color-mix(in srgb, #fff 78%, var(--ipos-brand-border));
	--ipos-customer-glass: color-mix(in srgb, var(--ipos-neutral-surface) 88%, transparent);
	background:
		radial-gradient(circle at 3% 0%, color-mix(in srgb, var(--ipos-brand) 7%, transparent), transparent 30rem),
		radial-gradient(circle at 100% 20%, rgb(199 157 52 / 8%), transparent 28rem),
		linear-gradient(135deg, var(--ipos-neutral-canvas), color-mix(in srgb, var(--ipos-brand) 3%, var(--ipos-neutral-canvas)));
	color: var(--ipos-neutral-ink);
}
.ipos-customer .ipos-ordering :where(h1, h2, h3, h4, strong) { color: var(--ipos-neutral-ink); }

body.ipos-customer-document .ipos-ordering__header {
	border-color: var(--ipos-brand-border);
	background: color-mix(in srgb, var(--ipos-neutral-surface) 86%, transparent);
	box-shadow: inset 0 1px 0 rgb(255 255 255 / 86%), 0 14px 30px var(--ipos-brand-shadow);
}
body.ipos-customer-document .ipos-ordering__brand-primary > strong { color: var(--ipos-neutral-ink); }
body.ipos-customer-document .ipos-ordering__brand-contact,
body.ipos-customer-document .ipos-ordering__brand-contact > .ipos-ordering__contact-item--address { color: var(--ipos-neutral-muted); }
body.ipos-customer-document .ipos-ordering__brand-contact a,
body.ipos-customer-document .ipos-ordering__brand-contact > .ipos-ordering__contact-item--phone { color: var(--ipos-brand-text); }
body.ipos-customer-document .ipos-ordering__brand-mark img { filter: none; }
body.ipos-customer-document .ipos-ordering__table { border-color: var(--ipos-brand-border); background: transparent; }
body.ipos-customer-document .ipos-ordering__table small { color: var(--ipos-neutral-muted); }
body.ipos-customer-document .ipos-ordering__table strong { color: var(--ipos-neutral-ink); }
body.ipos-customer-document .ipos-ordering__table span,
body.ipos-customer-document .ipos-ordering__table span[data-state="ordering"] { color: var(--ipos-neutral-muted); }
body.ipos-customer-document .ipos-ordering__table span::before,
body.ipos-customer-document .ipos-ordering__table span[data-state="ordering"]::before { background: var(--ipos-neutral-muted); }
body.ipos-customer-document .ipos-ordering__table span[data-state="new"] { color: var(--ipos-warning); }
body.ipos-customer-document .ipos-ordering__table span[data-state="new"]::before { background: var(--ipos-warning); }
body.ipos-customer-document .ipos-ordering__table span[data-state="accepted"],
body.ipos-customer-document .ipos-ordering__table span[data-state="preparing"] { color: var(--ipos-info); }
body.ipos-customer-document .ipos-ordering__table span[data-state="accepted"]::before,
body.ipos-customer-document .ipos-ordering__table span[data-state="preparing"]::before { background: var(--ipos-info); }
body.ipos-customer-document .ipos-ordering__table span[data-state="served"],
body.ipos-customer-document .ipos-ordering__table span[data-state="paid"] { color: var(--ipos-success); }
body.ipos-customer-document .ipos-ordering__table span[data-state="served"]::before,
body.ipos-customer-document .ipos-ordering__table span[data-state="paid"]::before { background: var(--ipos-success); }
body.ipos-customer-document .ipos-ordering__table span[data-state="cancelled"],
body.ipos-customer-document .ipos-ordering__table span[data-state="error"] { color: var(--ipos-danger); }
body.ipos-customer-document .ipos-ordering__table span[data-state="cancelled"]::before,
body.ipos-customer-document .ipos-ordering__table span[data-state="error"]::before { background: var(--ipos-danger); }

.ipos-customer .ipos-ordering__toolbar {
	border-color: color-mix(in srgb, var(--ipos-neutral-line) 76%, transparent);
	background: color-mix(in srgb, var(--ipos-neutral-canvas) 92%, transparent);
	box-shadow: 0 12px 24px color-mix(in srgb, var(--ipos-neutral-ink) 7%, transparent);
}
.ipos-customer .ipos-ordering__search {
	border-color: var(--ipos-neutral-line);
	background: color-mix(in srgb, var(--ipos-neutral-surface) 90%, transparent);
	box-shadow: inset 0 1px 0 rgb(255 255 255 / 90%), 0 8px 18px color-mix(in srgb, var(--ipos-neutral-ink) 5%, transparent);
	color: var(--ipos-neutral-ink);
}
.ipos-customer .ipos-ordering__search input::placeholder { color: var(--ipos-neutral-muted); }
.ipos-customer .ipos-ordering__categories button {
	border-color: var(--ipos-neutral-line);
	background: color-mix(in srgb, var(--ipos-neutral-surface) 88%, transparent);
	box-shadow: inset 0 1px 0 rgb(255 255 255 / 88%);
	color: var(--ipos-neutral-ink);
}
.ipos-customer .ipos-ordering__categories button:not(.is-active):hover,
.ipos-customer .ipos-ordering__categories button:not(.is-active):focus-visible { border-color: var(--ipos-brand-border); background: var(--ipos-brand-surface); color: var(--ipos-brand-text); }
.ipos-customer .ipos-ordering__categories button.is-active,
.ipos-customer .ipos-ordering__categories button.is-active:hover {
	border-color: var(--ipos-action);
	background: var(--ipos-action);
	box-shadow: inset 0 1px 0 rgb(255 255 255 / 24%), 0 8px 16px var(--ipos-brand-shadow);
	color: var(--ipos-on-action);
}
.ipos-customer .ipos-ordering__category-next { background: linear-gradient(90deg, transparent, var(--ipos-neutral-canvas) 48%); color: var(--ipos-brand-text); }
.ipos-customer .ipos-ordering__category-shell.is-scrolled::before { background: linear-gradient(90deg, var(--ipos-neutral-canvas), transparent); }
.ipos-customer .ipos-ordering__product-group-head h3 { color: var(--ipos-neutral-ink); }
.ipos-customer .ipos-ordering__product-group-head span { color: var(--ipos-neutral-muted); }

.ipos-customer .ipos-product {
	border-color: var(--ipos-neutral-line);
	background: var(--ipos-neutral-surface);
	box-shadow: inset 0 1px 0 rgb(255 255 255 / 92%), 0 12px 25px color-mix(in srgb, var(--ipos-neutral-ink) 7%, transparent);
}
.ipos-customer .ipos-product::before { border-color: rgb(255 255 255 / 54%); background: linear-gradient(140deg, rgb(255 255 255 / 24%), transparent 34%); }
.ipos-customer .ipos-product__media { background: var(--ipos-neutral-surface-muted); }
.ipos-customer .ipos-product__body { border-color: var(--ipos-neutral-line); background: var(--ipos-neutral-surface); }
.ipos-customer .ipos-product__body h3 { color: var(--ipos-neutral-ink); }
.ipos-customer .ipos-product__body p { color: var(--ipos-neutral-muted); }
.ipos-customer .ipos-product__body strong { color: var(--ipos-brand-text); }
.ipos-customer .ipos-product.is-selected,
.ipos-customer .ipos-product:focus-within,
.ipos-customer .ipos-product:hover {
	border-color: var(--ipos-brand-border);
	background: var(--ipos-brand-surface);
	box-shadow: 0 0 0 1px var(--ipos-brand-border), 0 14px 28px var(--ipos-brand-shadow);
}
.ipos-customer .ipos-product__media span,
.ipos-customer .ipos-product__body button,
.ipos-customer .ipos-product:focus-within .ipos-product__body button,
.ipos-customer .ipos-product:hover .ipos-product__body button {
	border-color: var(--ipos-action);
	background: var(--ipos-action);
	box-shadow: 0 8px 18px var(--ipos-brand-shadow);
	color: var(--ipos-on-action);
}
.ipos-customer .ipos-product__body button:hover,
.ipos-customer .ipos-product__body button:active { background: var(--ipos-action-hover); }
.ipos-customer .ipos-product__body button:disabled { border-color: var(--ipos-neutral-line); background: var(--ipos-neutral-surface-muted); box-shadow: none; color: var(--ipos-neutral-muted); }
.ipos-customer .ipos-ordering__no-results { border-color: var(--ipos-neutral-line); background: var(--ipos-neutral-surface); color: var(--ipos-neutral-muted); }

.ipos-customer .ipos-ordering__cart,
.ipos-customer .ipos-ordering__cart-bar,
body .ipos-ordering__utility-dock {
	border-color: var(--ipos-brand-border);
	background: color-mix(in srgb, var(--ipos-neutral-surface) 90%, transparent);
	box-shadow: inset 0 1px 0 rgb(255 255 255 / 94%), 0 18px 38px var(--ipos-brand-shadow);
}
.ipos-customer .ipos-ordering__cart { box-shadow: 0 -24px 60px var(--ipos-brand-shadow), inset 0 1px 0 rgb(255 255 255 / 94%); }
.ipos-customer .ipos-ordering__cart-head,
.ipos-customer .ipos-ordering__cart-footer,
.ipos-customer .ipos-cart-item { border-color: var(--ipos-neutral-line); }
.ipos-customer .ipos-ordering__cart-head small,
.ipos-customer .ipos-cart-item small,
.ipos-customer .ipos-cart-item__meta small,
.ipos-customer .ipos-cart-item__edit { color: var(--ipos-brand-text); }
.ipos-customer .ipos-ordering__cart-head > button,
.ipos-customer .ipos-ordering__cart-footer,
.ipos-customer .ipos-cart-item__controls,
.ipos-customer .ipos-ordering__note textarea,
.ipos-customer .ipos-ordering__catalog-refresh { border-color: var(--ipos-neutral-line); background: var(--ipos-neutral-surface); }
.ipos-customer .ipos-cart-item__controls button { color: var(--ipos-brand-text); }
.ipos-customer .ipos-ordering__cart-empty > span { border-color: var(--ipos-brand-border); background: var(--ipos-brand-surface); color: var(--ipos-brand-text); }
.ipos-customer .ipos-ordering__cart-bar-icon { border-color: var(--ipos-brand-border); background: var(--ipos-brand-surface); color: var(--ipos-brand-text); }
.ipos-customer .ipos-ordering__cart-bar-copy strong { color: var(--ipos-neutral-ink); }
.ipos-customer .ipos-ordering__cart-bar b,
.ipos-customer .ipos-ordering__cart-bar em,
.ipos-customer .ipos-ordering__cart-actions .ipos-ordering__submit {
	border-color: var(--ipos-action);
	background: var(--ipos-action);
	box-shadow: 0 10px 22px var(--ipos-brand-shadow);
	color: var(--ipos-on-action);
}
.ipos-customer .ipos-ordering__cart-bar:hover em,
.ipos-customer .ipos-ordering__cart-actions .ipos-ordering__submit:hover,
.ipos-customer .ipos-ordering__cart-actions .ipos-ordering__submit:focus-visible { background: var(--ipos-action-hover); box-shadow: 0 13px 26px var(--ipos-brand-shadow); }

.ipos-customer .ipos-ordering__history-launcher,
.ipos-customer .ipos-ordering__payment-launcher,
.ipos-customer .ipos-ordering__staff-call-launcher,
body.ipos-customer-document .ipos-ordering__history-launcher,
body.ipos-customer-document .ipos-ordering__payment-launcher {
	border-color: var(--ipos-brand-border);
	background: var(--ipos-brand-surface);
	box-shadow: inset 0 1px 0 #fff, 0 8px 20px var(--ipos-brand-shadow);
	color: var(--ipos-brand-text);
}
.ipos-customer .ipos-ordering__history-launcher:hover,
.ipos-customer .ipos-ordering__payment-launcher:hover,
.ipos-customer .ipos-ordering__payment-launcher:focus-visible,
.ipos-customer .ipos-ordering__staff-call-launcher:hover,
body.ipos-customer-document .ipos-ordering__history-launcher:hover,
body.ipos-customer-document .ipos-ordering__payment-launcher:hover,
body.ipos-customer-document .ipos-ordering__payment-launcher:focus-visible { border-color: var(--ipos-action); background: var(--ipos-action-soft); color: var(--ipos-brand-text); }
.ipos-customer .ipos-ordering__history-launcher b,
body.ipos-customer-document .ipos-ordering__history-launcher b { background: var(--ipos-action); color: var(--ipos-on-action); }
.ipos-customer .ipos-ordering__payment-launcher[data-state="requested"],
body.ipos-customer-document .ipos-ordering__payment-launcher[data-state="requested"] { border-color: color-mix(in srgb, var(--ipos-warning) 36%, var(--ipos-neutral-line)); background: var(--ipos-warning-soft); color: var(--ipos-warning); }
.ipos-customer .ipos-ordering__payment-launcher[data-state="paid"],
body.ipos-customer-document .ipos-ordering__payment-launcher[data-state="paid"] { border-color: color-mix(in srgb, var(--ipos-success) 32%, var(--ipos-neutral-line)); background: var(--ipos-success-soft); color: var(--ipos-success); }

.ipos-customer .ipos-ordering__modal-backdrop,
.ipos-customer .ipos-ordering__modal-backdrop.is-visible,
.ipos-customer .ipos-ordering__backdrop,
.ipos-ordering__success,
body .ipos-ordering__payment-success,
.ipos-ordering__cancelled-notice { background: var(--ipos-overlay); }
.ipos-customer .ipos-ordering__history-panel,
.ipos-customer .ipos-ordering.is-payment-open .ipos-table-payment,
.ipos-customer .ipos-product-options,
.ipos-customer .ipos-staff-call,
.ipos-ordering__success-panel,
.ipos-ordering__cancelled-notice-panel {
	border-color: var(--ipos-neutral-line);
	background: color-mix(in srgb, var(--ipos-neutral-surface) 96%, transparent);
	box-shadow: 0 26px 70px color-mix(in srgb, var(--ipos-neutral-ink) 24%, transparent), inset 0 1px 0 #fff;
	color: var(--ipos-neutral-ink);
}
.ipos-customer .ipos-ordering__history-panel-head,
.ipos-customer .ipos-table-payment__head,
.ipos-customer .ipos-product-options > header,
.ipos-customer .ipos-product-options > footer { border-color: var(--ipos-neutral-line); background: color-mix(in srgb, var(--ipos-neutral-surface-muted) 72%, transparent); }
.ipos-customer .ipos-ordering__history-panel-head > div::before,
.ipos-customer .ipos-table-payment__head > div::before { background: var(--ipos-action); }
.ipos-customer .ipos-ordering__history-panel-head p,
.ipos-customer .ipos-table-payment__eyebrow,
.ipos-customer .ipos-product-options > header p { color: var(--ipos-brand-text); }
.ipos-customer .ipos-ordering__history-panel-head h2,
.ipos-customer .ipos-table-payment__head h2,
.ipos-customer .ipos-product-options > header h2 { color: var(--ipos-neutral-ink); }
.ipos-customer .ipos-ordering__history-panel-head button,
.ipos-customer .ipos-table-payment__close,
.ipos-customer .ipos-product-options > header button,
.ipos-customer .ipos-staff-call header > button { border-color: var(--ipos-neutral-line); background: var(--ipos-neutral-surface); color: var(--ipos-neutral-ink); }
.ipos-customer .ipos-ordering__round,
.ipos-customer .ipos-ordering__round-details[open],
.ipos-customer .ipos-table-payment__summary,
.ipos-customer .ipos-product-options__combo,
.ipos-customer .ipos-product-options__choice span,
.ipos-customer .ipos-product-options__note textarea,
.ipos-customer .ipos-product-options__quantity,
.ipos-customer .ipos-staff-call__options button { border-color: var(--ipos-neutral-line); background: var(--ipos-neutral-surface); box-shadow: inset 0 1px 0 #fff; }
.ipos-customer .ipos-ordering__round-heading > strong,
.ipos-customer .ipos-ordering__round-heading > .ipos-ordering__round-heading-copy > strong,
.ipos-customer .ipos-ordering__round-total,
.ipos-customer .ipos-ordering__round-items li strong,
.ipos-customer .ipos-table-payment__summary strong,
.ipos-customer .ipos-ordering__round-items li > span:first-child > span:first-child,
.ipos-customer .ipos-product-options legend,
.ipos-customer .ipos-product-options__note > span { color: var(--ipos-neutral-ink); }
.ipos-customer .ipos-ordering__round-meta,
.ipos-customer .ipos-ordering__round-history-help,
.ipos-customer .ipos-ordering__round-items li,
.ipos-customer .ipos-table-payment__summary span,
.ipos-customer .ipos-table-payment__copy,
.ipos-customer .ipos-product-options__combo p,
.ipos-customer .ipos-product-options__choice span,
.ipos-customer .ipos-cart-item__meta,
.ipos-customer .ipos-cart-item__note,
.ipos-customer .ipos-cart-item__addon { color: var(--ipos-neutral-muted); }
.ipos-customer .ipos-ordering__round-number,
.ipos-customer .ipos-ordering__round-chevron { background: var(--ipos-brand-surface); color: var(--ipos-brand-text); }
.ipos-customer .ipos-ordering__round-details[open] { border-color: var(--ipos-brand-border); background: var(--ipos-brand-surface); box-shadow: 0 10px 22px var(--ipos-brand-shadow); }
.ipos-customer .ipos-ordering__round-details[open] > summary,
.ipos-customer .ipos-ordering__round-items li { border-color: var(--ipos-neutral-line); }
.ipos-customer .ipos-ordering__round-state.is-new { color: var(--ipos-warning); }
.ipos-customer .ipos-ordering__round-state.is-accepted,
.ipos-customer .ipos-ordering__round-state.is-preparing { color: var(--ipos-info); }
.ipos-customer .ipos-ordering__round-state.is-ready,
.ipos-customer .ipos-ordering__round-state.is-served,
.ipos-customer .ipos-ordering__round-state.is-paid { color: var(--ipos-success); }
.ipos-customer .ipos-ordering__round-state.is-cancelled,
.ipos-customer .ipos-ordering__round-state.is-error { color: var(--ipos-danger); }
.ipos-customer .ipos-table-payment__actions button.is-primary,
.ipos-customer .ipos-ordering .ipos-product-options__add {
	border-color: var(--ipos-action);
	background: var(--ipos-action);
	box-shadow: 0 10px 22px var(--ipos-brand-shadow);
	color: var(--ipos-on-action);
}
.ipos-customer .ipos-ordering .ipos-product-options__add:hover { background: var(--ipos-action-hover); }
.ipos-customer .ipos-product-options__choice input:checked + span { border-color: var(--ipos-brand-border); background: var(--ipos-brand-surface); box-shadow: inset 0 0 0 1px var(--ipos-brand-border); color: var(--ipos-brand-text); }
.ipos-customer .ipos-product-options__choice.is-check input:checked + span::after { border-color: var(--ipos-action); background: var(--ipos-action); box-shadow: inset 0 0 0 3px var(--ipos-action-soft); }
.ipos-customer .ipos-product-options__quantity button,
.ipos-customer .ipos-product-options__combo p::before { color: var(--ipos-brand-text); }
.ipos-customer .ipos-product-options__combo p::before { background: var(--ipos-action); }

.ipos-customer .ipos-staff-call__options button:hover,
.ipos-customer .ipos-staff-call__options button:focus-visible { border-color: var(--ipos-brand-border); background: var(--ipos-brand-surface); color: var(--ipos-brand-text); }
.ipos-customer .ipos-staff-call__status { color: var(--ipos-neutral-muted); }
.ipos-customer .ipos-staff-call__status[data-state="pending"] { color: var(--ipos-warning); }
.ipos-customer .ipos-staff-call__status[data-state="acknowledged"] { color: var(--ipos-success); }
.ipos-customer .ipos-staff-call__status[data-state="error"] { color: var(--ipos-danger); }
.ipos-customer .ipos-table-payment__status[data-state="pending"],
.ipos-customer .ipos-table-payment__status[data-state="requested"] { color: var(--ipos-warning); }
.ipos-customer .ipos-table-payment__status[data-state="paid"] { color: var(--ipos-success); }
.ipos-customer .ipos-table-payment__status[data-state="error"] { color: var(--ipos-danger); }

.ipos-ordering__success h3,
body .ipos-ordering__payment-success h3,
.ipos-ordering__cancelled-notice h3 { color: var(--ipos-neutral-ink); }
.ipos-ordering__success p,
body .ipos-ordering__payment-success p,
.ipos-ordering__cancelled-notice-copy { color: var(--ipos-neutral-muted); }
.ipos-ordering__success-icon { background: var(--ipos-success); box-shadow: 0 10px 24px color-mix(in srgb, var(--ipos-success) 24%, transparent); color: #fff; }
body .ipos-ordering__payment-success:not(.is-paid) .ipos-ordering__success-icon { background: var(--ipos-warning); box-shadow: 0 10px 24px color-mix(in srgb, var(--ipos-warning) 24%, transparent); }
body .ipos-ordering__payment-success.is-paid .ipos-ordering__success-icon { background: var(--ipos-success); }
.ipos-ordering__success button,
body .ipos-ordering__payment-success button,
.ipos-ordering__cancelled-notice button {
	border-color: var(--ipos-action);
	background: var(--ipos-action);
	box-shadow: 0 10px 22px var(--ipos-brand-shadow);
	color: var(--ipos-on-action);
}
.ipos-ordering__success button:hover,
body .ipos-ordering__payment-success button:hover,
.ipos-ordering__cancelled-notice button:hover { border-color: var(--ipos-action-hover); background: var(--ipos-action-hover); }
.ipos-ordering__cancelled-notice-icon { background: var(--ipos-danger-soft); color: var(--ipos-danger); }
.ipos-ordering__cancelled-notice-eyebrow { color: var(--ipos-danger); }

/* IPOS-376: keep the Customer identity hierarchy intact at tablet/mobile
 * widths: logo + store name, contacts, then table/status. */
@media (max-width: 959px) {
	body.ipos-customer-document .ipos-ordering__brand {
		grid-template-columns: minmax(0, 1fr);
	}
	body.ipos-customer-document .ipos-ordering__brand-primary,
	body.ipos-customer-document .ipos-ordering__brand-contact {
		grid-column: 1;
	}
}

/* IPOS-377: keep the staff-call sheet out of document flow and give it the
 * same calm bottom-up lifecycle as the other Customer sheets. */
.ipos-ordering > .ipos-staff-call {
	position: fixed !important;
	z-index: 72 !important;
	opacity: 0;
	transform: translate3d(-50%, 20px, 0);
	transition: opacity 180ms ease, transform 220ms cubic-bezier(.22, 1, .36, 1);
	will-change: opacity, transform;
}
.ipos-ordering > .ipos-staff-call.is-sheet-open {
	opacity: 1;
	transform: translate3d(-50%, 0, 0);
}
.ipos-ordering > .ipos-staff-call.is-sheet-closing {
	opacity: 0;
	transform: translate3d(-50%, 20px, 0);
}
@media (min-width: 960px) {
	.ipos-ordering > .ipos-staff-call {
		top: 50%;
		bottom: auto;
		transform: translate3d(-50%, calc(-50% + 8px), 0);
	}
	.ipos-ordering > .ipos-staff-call.is-sheet-open {
		transform: translate3d(-50%, -50%, 0);
	}
	.ipos-ordering > .ipos-staff-call.is-sheet-closing {
		transform: translate3d(-50%, calc(-50% + 8px), 0);
	}
}
@media (max-width: 959px) {
	.ipos-ordering > .ipos-staff-call {
		top: auto;
		right: 0;
		bottom: 0;
		left: 50%;
	}
}
@media (prefers-reduced-motion: reduce) {
	.ipos-ordering > .ipos-staff-call { transition-duration: 1ms !important; }
}
.ipos-ordering.is-staff-ordering .ipos-ordering__utility-dock,
.ipos-ordering.is-staff-ordering .ipos-ordering__history-launcher,
.ipos-ordering.is-staff-ordering .ipos-ordering__payment-launcher,
.ipos-ordering.is-staff-ordering .ipos-ordering__staff-call-launcher { display: none !important; }
.ipos-ordering__staff-back { display: inline-flex; align-items: center; color: var(--ipos-brand, #08714f); font-weight: 700; text-decoration: none; margin: 0 0 8px; }

/* IPOS-433: own control geometry within the guest surface. Host theme button
 * padding/letter spacing and hover radius must not leak into POS controls. */
.ipos-customer .ipos-ordering button {
	font-family: var(--ipos-font);
	letter-spacing: normal;
	text-transform: none;
	text-indent: 0;
}
.ipos-customer .ipos-ordering .ipos-product__body button {
	display: grid;
	width: 44px;
	height: 44px;
	min-width: 44px;
	min-height: 44px;
	padding: 0;
	border-radius: 50%;
	place-items: center;
	line-height: 1;
}
.ipos-customer .ipos-ordering button svg { display: block; flex-shrink: 0; }
.ipos-customer .ipos-ordering .ipos-ordering__categories button {
	padding: 10px 16px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 700;
	line-height: 20px;
}
.ipos-customer .ipos-ordering__utility-dock > button {
	position: relative;
	min-height: 48px;
	padding: 10px 6px;
	border-radius: 14px;
	font-size: 12px;
	font-weight: 700;
	line-height: 18px;
	box-shadow: none;
}
.ipos-customer .ipos-ordering__utility-dock > button:hover {
	background: var(--ipos-action-soft);
}
.ipos-customer .ipos-ordering__history-launcher b {
	position: absolute;
	top: 5px;
	right: 5px;
	min-width: 16px;
	height: 16px;
	font-size: 10px;
}
.ipos-customer .ipos-ordering :is(.ipos-product-options > header button, .ipos-ordering__history-panel-head > button, .ipos-table-payment__head > button, .ipos-staff-call header > button, .ipos-ordering__cart-head > button) {
	width: 44px;
	height: 44px;
	min-height: 44px;
	padding: 0;
	border-radius: 14px;
	place-items: center;
	line-height: 1;
}
.ipos-customer .ipos-ordering :is(.ipos-product-options__quantity button, .ipos-cart-item__controls button) {
	display: grid;
	place-items: center;
	padding: 0;
	border-radius: 10px;
	line-height: 1;
}
.ipos-customer .ipos-ordering .ipos-cart-item__edit {
	padding: 0 6px;
	border-radius: 8px;
	font-size: 12px;
}
.ipos-customer .ipos-ordering :is(.ipos-ordering__submit, .ipos-product-options__add) {
	min-height: 50px;
	padding: 12px 16px;
	border-radius: 14px;
	font-size: 14px;
	line-height: 20px;
}
.ipos-customer .ipos-ordering .ipos-staff-call__options button {
	padding: 14px 16px;
	border-radius: 14px;
	font-size: 14px;
	line-height: 20px;
}
.ipos-customer .ipos-ordering .ipos-ordering__search input {
	min-width: 0;
	padding: 0;
	box-shadow: none;
	font-size: 14px;
}
@media (min-width: 960px) {
	.ipos-customer .ipos-ordering { padding: 24px 32px 40px; }
	.ipos-customer .ipos-ordering > .ipos-ordering__toolbar {
		top: 12px;
		padding: 16px;
		margin-bottom: 24px;
		border-radius: 20px;
	}
	.ipos-customer .ipos-ordering__search { max-width: 520px; }
	.ipos-customer .ipos-ordering__layout { grid-template-columns: minmax(0, 1fr) 350px; gap: 24px; }
	.ipos-customer .ipos-ordering__products { gap: 16px; }
	.ipos-customer .ipos-product {
		grid-template-columns: 1fr;
		grid-template-rows: auto minmax(0, 1fr);
		min-height: 0;
		border-radius: 18px;
	}
	.ipos-customer .ipos-product__media { min-height: 0; aspect-ratio: 4 / 3; }
	.ipos-customer .ipos-product__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
	.ipos-customer .ipos-product__body { gap: 12px; padding: 14px; }
	.ipos-customer .ipos-product__body h3 { font-size: 16px; line-height: 22px; }
	.ipos-customer .ipos-ordering__cart { top: 164px; max-height: calc(100dvh - 180px); padding: 20px; border-radius: 22px; }
	.ipos-customer .ipos-ordering__cart-empty { padding: 24px 8px; }
	.ipos-customer .ipos-ordering__note { margin-top: 12px; }
	.ipos-customer .ipos-ordering__cart-actions { margin-inline: 0; }
	.ipos-customer .ipos-ordering__utility-dock { margin: 14px 0 0; gap: 8px; box-shadow: none; background: transparent; }
	.ipos-customer .ipos-ordering__utility-dock > button { flex-direction: column; gap: 5px; min-height: 66px; }
	.ipos-customer .ipos-ordering__cart [data-ipos-status]:empty { display: none; }
	.ipos-customer .ipos-ordering :is(.ipos-product-options, .ipos-ordering__history-panel, .ipos-table-payment) {
		left: 50%;
		right: auto;
		top: 50%;
		width: min(520px, calc(100vw - 48px));
		max-height: calc(100dvh - 48px);
		border-radius: 24px;
		transform: translate(-50%, -50%);
	}
	.ipos-customer .ipos-product-options__choices:not(.is-modifiers) { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
	.ipos-customer .ipos-product-options > header { padding: 20px 24px; }
	.ipos-customer .ipos-product-options__scroll { padding: 20px 24px; }
	.ipos-customer .ipos-product-options > footer { padding: 16px 24px 20px; }
}

/* Keep host-theme focus/hover colors out of secondary customer actions. */
.ipos-customer .ipos-ordering .ipos-cart-item__edit {
 border: 0; background: transparent; color: var(--ipos-brand-text); box-shadow: none;
}
.ipos-customer .ipos-ordering .ipos-cart-item__edit:is(:hover, :focus-visible) { background: var(--ipos-brand-surface); }
.ipos-customer .ipos-ordering .ipos-staff-call__options button {
 background: var(--ipos-neutral-surface); color: var(--ipos-neutral-ink);
}
.ipos-customer .ipos-ordering .ipos-staff-call__options button:is(:hover, :focus-visible) {
 background: var(--ipos-brand-surface); color: var(--ipos-brand-text); border-color: var(--ipos-action);
}
.ipos-customer .ipos-ordering .ipos-table-payment__actions button {
 padding: 12px 16px; border-radius: 14px; font-size: 14px; line-height: 20px;
}
@media (min-width: 960px) {
 .ipos-customer .ipos-ordering__cart-footer { margin: 16px 0 0; padding: 16px 0 0; border-width: 1px 0 0; border-radius: 0; background: transparent; box-shadow: none; }
 .ipos-customer .ipos-ordering > .ipos-staff-call { border-radius: 24px; }
}

/* The mobile utility dock is portaled to body; retain the same control contract. */
.ipos-customer .ipos-ordering__utility-dock > button {
 font-family: var(--ipos-font); letter-spacing: normal; text-transform: none;
}
.ipos-customer .ipos-ordering__utility-dock > button svg { display: block; }
.ipos-customer .ipos-ordering :is(.ipos-product-options > header button, .ipos-ordering__history-panel-head > button, .ipos-table-payment__close, .ipos-staff-call header > button, .ipos-ordering__cart-head > button) {
 background: var(--ipos-neutral-surface); color: var(--ipos-neutral-ink); border: 1px solid var(--ipos-neutral-line); box-shadow: none;
}
.ipos-customer .ipos-ordering :is(.ipos-product-options > header button, .ipos-ordering__history-panel-head > button, .ipos-table-payment__close, .ipos-staff-call header > button, .ipos-ordering__cart-head > button):is(:hover, :focus-visible) {
 background: var(--ipos-brand-surface); color: var(--ipos-brand-text); border-color: var(--ipos-action);
}
@media (min-width: 960px) {
 .ipos-customer .ipos-ordering.is-payment-open .ipos-table-payment.is-sheet-open,
 .ipos-customer .ipos-ordering .ipos-ordering__history-panel.is-sheet-open {
  left: 50%; right: auto; transform: translate(-50%, -50%);
 }
}
.ipos-customer .ipos-ordering .ipos-ordering__cart-bar {
 padding: 8px; border-radius: 20px; background: var(--ipos-neutral-surface); color: var(--ipos-neutral-ink);
}
.ipos-customer .ipos-ordering .ipos-ordering__cart-bar:is(:hover, :focus-visible) {
 background: var(--ipos-neutral-surface); border-color: var(--ipos-action); color: var(--ipos-neutral-ink);
}
.ipos-customer .ipos-ordering .ipos-ordering__category-next {
 padding: 0; border-radius: 50%; background: var(--ipos-neutral-surface); color: var(--ipos-brand-text);
}
.ipos-customer .ipos-ordering > .ipos-staff-call {
 background: var(--ipos-neutral-surface);
 box-shadow: 0 24px 64px color-mix(in srgb, var(--ipos-neutral-ink) 24%, transparent), 0 0 0 100vmax color-mix(in srgb, var(--ipos-neutral-ink) 42%, transparent);
}

/* Confirmation overlays may be portaled outside .ipos-ordering. Own every
 * button state here so site-wide Elementor focus styles cannot override it. */
.ipos-customer :is(.ipos-ordering__success, .ipos-ordering__payment-success, .ipos-ordering__cancelled-notice) button {
 min-height: 50px;
 padding: 12px 18px;
 border: 1px solid var(--ipos-action);
 border-radius: 14px;
 background: var(--ipos-action);
 color: var(--ipos-on-action);
 font-family: var(--ipos-font);
 font-size: 14px;
 font-weight: 750;
 line-height: 24px;
 letter-spacing: normal;
 text-transform: none;
}
.ipos-customer :is(.ipos-ordering__success, .ipos-ordering__payment-success, .ipos-ordering__cancelled-notice) button:is(:hover, :focus, :active) {
 border-color: var(--ipos-action-hover);
 border-radius: 14px;
 background: var(--ipos-action-hover);
 color: var(--ipos-on-action);
}
.ipos-customer :is(.ipos-ordering__success, .ipos-ordering__payment-success, .ipos-ordering__cancelled-notice) button:focus-visible {
 outline: 3px solid var(--ipos-focus);
 outline-offset: 3px;
}
