html:has(body.app-body), body.app-body { height: 100%; overflow: hidden; }
.app-body {
  display: grid; grid-template-columns: 240px minmax(0, 1fr); height: 100vh; height: 100dvh;
  min-height: 0; overflow: hidden; background: #ffffff;
}
.side {
  background: #fff; color: var(--ink); padding: 16px 12px 12px; display: flex; flex-direction: column; gap: 2px;
  position: relative; height: 100%; min-height: 0; overflow: auto; border-right: 1px solid var(--line); width: 240px;
}
.nav-label {
  margin: 16px 12px 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #9ca3af;
}
.side .brand { color: var(--ink); text-decoration: none; display: flex; gap: 10px; align-items: center; font-weight: 750; font-size: 18px; margin: 4px 8px 16px; flex: none; }
.side .mark { width: auto; height: 28px; max-width: 168px; border-radius: 0; background: transparent; object-fit: contain; }
.side a, .side button.nav {
  color: var(--ink-soft); text-decoration: none; border: 0; background: transparent; text-align: left;
  border-radius: 0; padding: 10px 12px; font-weight: 600; display: flex; gap: 10px; align-items: center;
  font-size: 15px; flex: none; white-space: nowrap;
}
.side a svg, .side button.nav svg { width: 18px; height: 18px; flex: none; }
.side a:hover, .side button.nav:hover { background: #f7f7f7; color: var(--ink); }
.side a.on { background: var(--saffron); color: white; border-radius: 0; }
.side a.on svg { color: white; }
.side a[data-pending="1"] { opacity: 0.45; }
.side .grow { flex: 1 0 16px; }
.main-col { min-width: 0; min-height: 0; height: 100%; display: flex; flex-direction: column; overflow: hidden; }
.topbar-app {
  display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 24px; background: #fff;
  border-bottom: 1px solid var(--line); flex: none;
}
.topbar-app .crumb { border: 0; padding: 0; background: transparent; min-width: 0; }
.icon-btn {
  width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: white; display: none;
  align-items: center; justify-content: center;
}
.avatar {
  width: 36px; height: 36px; border-radius: 50%; background: var(--saffron-soft); color: var(--saffron-dark);
  display: grid; place-items: center; font-weight: 700; flex: none;
}
.crumb {
  display: flex; align-items: center; gap: 12px; padding: 16px 28px; background: #fff;
  position: relative; flex: none; z-index: 2; border-bottom: 1px solid var(--line);
}
.crumb strong { font-size: 15px; }
.crumb span { color: var(--muted); font-size: 14px; }
.page-intro, .page-head { margin: 0 0 24px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: flex-start; gap: 12px 16px; }
.page-intro h1, .page-head h1 { font-size: 32px; font-weight: 750; letter-spacing: -0.03em; flex: 1 1 220px; min-width: 0; }
.page-head .sub, .page-intro .sub { margin-top: 4px; flex: 1 1 100%; }
.page-intro input, .page-head input { flex: 1 1 200px; min-width: 0; max-width: 320px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0 0 20px; }
.stat { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 22px; box-shadow: none; display: flex; gap: 16px; align-items: flex-start; }
.stat-ico { width: 44px; height: 44px; border-radius: 12px; background: #f3f4f6; color: var(--ink); display: grid; place-items: center; flex: none; }
.stat-ico svg { width: 22px; height: 22px; }
.stat b { display: block; font-size: 32px; letter-spacing: -0.04em; line-height: 1.05; }
.stat span { display: block; color: var(--ink-soft); font-size: 15px; margin-top: 2px; }
.stat em { display: block; font-style: normal; color: var(--muted); font-size: 14px; margin-top: 8px; }
.home-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.7fr); gap: 20px; align-items: start; }
.rest-stack { display: grid; gap: 16px; min-width: 0; }
.progress { height: 8px; background: #f3f4f6; border-radius: 99px; overflow: hidden; margin: 14px 0 4px; }
.progress > span { display: block; height: 100%; background: var(--saffron); border-radius: 99px; }
.checks-list { display: grid; }
.check {
  display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px 14px; align-items: center;
  text-align: left; background: transparent; padding: 16px 0; border-bottom: 1px solid var(--line);
}
.check:last-child { border-bottom: 0; }
.check > div { min-width: 0; text-align: left; }
.check .tick { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #f3f4f6; color: #4b5563; }
.check .tick.ok { background: #e5f6eb; color: #0f7a34; }
.check .tick svg { width: 16px; height: 16px; }
.check strong { display: block; font-size: 16px; text-align: left; }
.check .muted { font-size: 15px; text-align: left; }
.check a { color: var(--saffron-dark); font-weight: 750; text-decoration: none; font-size: 15px; white-space: nowrap; justify-self: end; }
.toolbar { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.toolbar input { flex: 1; font-size: 16px; padding: 14px 16px; }
.table-wrap { background: white; border-radius: 18px; overflow: visible; box-shadow: var(--shadow); max-width: 100%; min-width: 0; }
table.customers { width: 100%; border-collapse: collapse; table-layout: fixed; }
table.customers th, table.customers td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: 15px; }
table.customers th { font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
table.customers tbody tr:hover { background: #f9fafb; }
table.customers td.actions { text-align: right; overflow: visible; }
.rest-name strong, .rest-name .muted, .rest-clip, table.customers td .muted { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.manage-sheet {
  position: fixed; inset: 0; z-index: 80; background: #fff; color: #111827;
  display: flex; flex-direction: column; gap: 16px;
  padding: 16px 16px max(16px, env(safe-area-inset-bottom));
  overflow: auto;
}
.manage-sheet-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.manage-sheet h2 { margin: 0; font-size: 24px; letter-spacing: -0.03em; }
.manage-actions, .manage-pop { display: grid; gap: 8px; }
.manage-actions .btn, .manage-pop .btn { width: 100%; min-height: 48px; text-align: left; }
.manage-pop {
  position: fixed; z-index: 80; background: #fff; border: 1px solid var(--line);
  min-width: 220px; padding: 8px; box-shadow: 0 16px 40px rgba(17, 24, 39, 0.16);
}
.rest-cards { display: none; min-width: 0; }
.rest-card { min-width: 0; max-width: 100%; overflow: visible; }
.rest-card-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; min-width: 0; }
.rest-card-head strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill-live, .pill-off { display: inline-flex; align-items: center; border-radius: 999px; padding: 5px 10px; font-weight: 700; font-size: 14px; }
.pill-live { background: #e5f6eb; color: #0f7a34; }
.pill-off { background: #fde8ea; color: #8d2436; }
.audit-row { padding: 14px 0; border-bottom: 1px solid var(--line); }
.audit-row:last-child { border-bottom: 0; }
.audit-row strong { display: block; font-size: 16px; }
.audit-row .muted { font-size: 14px; margin-top: 2px; }
.wizard {
  position: fixed; inset: 0; background: rgba(17, 24, 39, 0.45); display: grid; place-items: center; z-index: 30; padding: 16px;
}
.wizard form { width: min(640px, 100%); max-height: 90vh; overflow: auto; background: white; border-radius: 22px; padding: 20px; }
.steps { margin: 8px 0 0; padding-left: 1.2rem; }
.steps li { margin: 8px 0; font-size: 16px; line-height: 1.45; }
.toast {
  position: fixed; right: 16px; bottom: 16px; background: #111827; color: white; border-radius: 12px; padding: 12px 14px; z-index: 40;
  max-width: min(420px, calc(100% - 32px));
}
.host-hero h1 { font-family: var(--display); font-weight: 520; font-size: clamp(40px, 6vw, 64px); letter-spacing: -0.03em; margin: 0; }
.menu-block { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 12px 24px 18px; margin-bottom: 16px; box-shadow: none; }
.menu-block h2 { margin: 16px 0 6px; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 750; }
.cart-box .card, .cart-box { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 16px; box-shadow: none; }
@media (max-width: 860px) {
  .stats { grid-template-columns: 1fr; }
  .crumb { padding: 0; }
}

.store-top { position: sticky; top: 0; z-index: 5; }
.dash-wrap { max-width: none; margin: 0; padding: 24px; flex: 1; min-height: 0; min-width: 0; overflow-x: hidden; overflow-y: auto; background: #ffffff; }
.host-wrap { max-width: 1120px; margin: 0 auto; padding: 28px 24px 72px; }
.dash-wrap > * + * { margin-top: 16px; }
.dash-wrap > .stats, .dash-wrap > .page-intro, .dash-wrap > .toolbar { margin-top: 0; }
.dash-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; flex-wrap: wrap; }
.share { display: grid; gap: 8px; min-width: 0; max-width: 100%; background: white; border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; box-shadow: none; }
.share label { font-size: 12px; color: var(--muted); font-weight: 650; }
.share-url { margin: 0; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.table-link { display: flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%; }
.table-url { margin: 0; min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 14px; }
.table-link .btn { flex: none; min-height: 44px; }
.share-row { display: flex; gap: 8px; flex-wrap: wrap; min-width: 0; }
.share-row input, .share textarea {
  flex: 1 1 180px; min-width: 0; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: white;
}
.share textarea { width: 100%; min-height: 88px; resize: vertical; font-family: ui-monospace, monospace; font-size: 13px; }
.share-modes { display: flex; gap: 8px; flex-wrap: wrap; }
.share-modes .btn.on { background: var(--ink); color: white; border-color: var(--ink); }
.layout-menu { display: grid; grid-template-columns: 220px 1fr 320px; gap: 14px; margin-top: 16px; align-items: start; }
.panel { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 12px; box-shadow: none; }
.panel h2 { margin: 4px 8px 10px; font-size: 15px; }
.cat, .dish-row, .opt {
  width: 100%; text-align: left; border: 0; background: transparent; border-radius: 12px; padding: 10px;
}
.cat.on, .dish-row.on { background: var(--saffron-soft); }
.cat small, .muted { color: var(--muted); }
.dish-row { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px; }
.field { display: grid; gap: 4px; margin-bottom: 10px; }
.field span { font-size: 14px; font-weight: 700; color: var(--ink-soft); }
.field input, .field textarea, .field select {
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: white; width: 100%;
}
.checks { display: flex; flex-wrap: wrap; gap: 6px; }
.checks label {
  display: flex; gap: 6px; align-items: center; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 10px; font-size: 13px; background: white;
}
.hour-day { padding: 12px 0; border-bottom: 1px solid var(--line); }
.hour-day-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
.hour-day-head label { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; }
.hour-slots { display: grid; gap: 8px; margin-top: 8px; }
.hour-slot { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hour-slot input[type="time"] { flex: 1 1 120px; min-width: 0; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; min-height: 44px; }
.hour-editor h3 { margin: 18px 0 4px; }
.zone-saved { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.zone-saved strong { flex: 1; min-width: 120px; }
.zone-saved span { flex: 1 1 160px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.variant-line { display: grid; grid-template-columns: auto minmax(0, 1fr) 110px auto; gap: 8px; margin-bottom: 8px; align-items: center; }
form.card .variant-line { grid-template-columns: 140px minmax(0, 1fr) minmax(0, 1fr) auto auto; padding: 10px 0; border-bottom: 1px solid var(--line); }
.thumb { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; background: var(--track); }
.empty { color: var(--muted); padding: 12px; }
.banner.ok { background: var(--green-soft); color: var(--green-deep); border-radius: 12px; padding: 10px 12px; margin-top: 10px; }

.host-hero { display: flex; justify-content: space-between; gap: 12px; align-items: flex-end; }
.host-grid { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 16px; align-items: start; }
.chips { display: flex; gap: 8px; overflow: auto; padding-bottom: 8px; }
.chips button { border: 1px solid var(--line); background: white; border-radius: 999px; padding: 8px 12px; white-space: nowrap; }
.chips button.on { background: var(--ink); color: white; border-color: var(--ink); }
.dish-card {
  display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line);
  background: transparent; width: 100%; text-align: left; border-left: 0; border-right: 0; border-top: 0;
}
.dish-card img, .ph {
  width: 96px; height: 96px; border-radius: 16px; object-fit: cover; background: var(--track);
}
.ph { display: grid; place-items: center; color: #4b5563; background: #f3f1ee; }
.dish-card h3 { margin: 0 0 4px; font-size: 18px; }
.dish-card p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.4; }
.price { font-weight: 800; }
.sold { opacity: 0.45; }
.cart-box { position: static; }
.sheet {
  position: fixed; inset: 0; background: rgba(17, 24, 39, 0.45); display: grid; align-items: end; z-index: 20;
}
.sheet .card { width: min(560px, 100%); margin: 0 auto; border-radius: 20px 20px 0 0; padding: 16px; max-height: 88vh; overflow: auto; background: white; }
.choice { display: flex; justify-content: space-between; gap: 8px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin: 6px 0; background: white; }
.choice.on { border-color: var(--saffron); background: var(--saffron-soft); }
.embed-bar { display: none; }
body.embed .embed-bar { display: flex; justify-content: flex-end; padding: 8px 12px 0; }
body.embed .topbar .top-spacer, body.embed .topbar .pill { display: none; }
html:has(body.inline-embed), body.inline-embed { height: auto; overflow: visible; }
body.inline-embed .embed-bar { display: none; }
body.inline-embed { background: #ffffff; }
body.inline-embed .basket-bar { display: none !important; }
body.inline-embed .cat-tabs { position: relative; top: auto; z-index: 6; background: #fff; }
body.inline-embed .side-basket { position: relative; top: auto; }
body.inline-embed .dine { padding-bottom: 28px; }
body.inline-embed .shop-bar { position: sticky; bottom: 0; }
body.inline-embed.shop-has-bar { padding-bottom: 0; }
body.inline-embed .sheet { position: relative; inset: auto; background: transparent; display: block; }
body.inline-embed .sheet .card { width: min(640px, 100%); margin: 0 auto 16px; border-radius: 20px; max-height: none; }

@media (max-width: 1100px) {
  .home-grid { grid-template-columns: 1fr; }
}
@media (max-width: 899px) {
  .rest-table { display: none; }
  .rest-cards { display: grid; gap: 12px; }
}
@media (max-width: 980px) {
  .layout-menu, .host-grid { grid-template-columns: 1fr; }
  .cart-box { position: static; }
  .share { min-width: 0; width: 100%; }
  .host-hero { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 720px) {
  form.card .variant-line { grid-template-columns: 1fr 1fr; }
}
.zone-map { height: 420px; border-radius: 12px; margin: 12px 0; border: 1px solid var(--line); background: #f3f4f6; }
.zone-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.report-table { width: 100%; border-collapse: collapse; }
.report-table th, .report-table td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: top; }
.report-scroll { overflow-x: auto; }

@media (max-width: 640px) {
  .dash-wrap, .host-wrap { padding: 16px 16px 32px; }
  .dish-card { grid-template-columns: 72px minmax(0, 1fr); }
  .dish-card .price { grid-column: 2; }
  .variant-line, form.card .variant-line { grid-template-columns: 1fr; }
  .share-row { flex-direction: column; }
  .zone-map { height: 280px; }
  .btn, .choice, .dish-card, .cat { min-height: 44px; }
  .toolbar { flex-wrap: wrap; }
  .toolbar .btn { flex: none; }
}

.shop-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.shop-side { background: white; border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.shop-narrow { width: min(640px, 100%); margin: 0 auto; }
.shop-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 15;
  display: none; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; background: #fff; border-top: 1px solid var(--line);
}
body.shop-has-bar { padding-bottom: 84px; }
body.shop-has-bar .shop-bar { display: flex; }
.step-back { margin-bottom: 12px; }
@media (max-width: 1023px) {
  .shop-grid { grid-template-columns: 1fr; }
  .shop-side { display: none; }
}
@media (min-width: 1024px) {
  body.shop-has-bar { padding-bottom: 0; }
  body.shop-has-bar .shop-bar { display: none; }
  .shop-side { display: block; }
}

.badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 700; }
.badge.pending { background: var(--amber-soft); color: var(--amber); }
.badge.ok { background: var(--green-soft); color: var(--green-deep); }
.badge.brand { background: var(--saffron-soft); color: var(--saffron-dark); }
.badge.bad { background: var(--danger-soft); color: var(--danger); }
.pill-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.pill-tabs button { border: 1px solid var(--line); background: white; border-radius: 999px; padding: 8px 14px; font-weight: 650; }
.pill-tabs button.on { background: var(--saffron); color: white; border-color: var(--saffron); }
.order-card { background: white; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.order-row { width: 100%; display: grid; grid-template-columns: 88px minmax(0, 1.4fr) minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 14px 16px; background: white; border: 0; text-align: left; }
.order-detail { padding: 0 16px 16px; border-top: 1px solid var(--line); }
.status-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.quick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 24px; }
.quick-grid a { display: block; background: white; border: 1px solid var(--line); border-radius: 12px; padding: 16px; text-decoration: none; }
.quick-grid a strong { display: block; }
.quick-grid a span { color: var(--muted); font-size: 14px; }
.banner.info { background: #eff6ff; color: #1e3a8a; border-radius: 12px; }

.dine-body { background: #ffffff; }
.skeleton { height: 14px; border-radius: 8px; background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 37%, #f3f4f6 63%); background-size: 400% 100%; animation: shimmer 1.2s ease infinite; }
.skeleton.lg { height: 88px; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
.empty-state { text-align: center; padding: 48px 24px; border: 1px dashed var(--line); border-radius: 12px; }
.empty-state h2 { margin-bottom: 6px; }
.more { margin-top: 8px; }
.more summary { cursor: pointer; color: var(--muted); font-weight: 650; }
.dine { max-width: 1120px; margin: 0 auto; padding: 20px 20px 48px; }
.dine-top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 16px; }
.dine-top h1 { font-size: 28px; }
.search-wrap input { background: white; border-radius: 999px; padding: 12px 16px; }
.cat-chips { display: none; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin: 12px 0; }
body.embed .cat-chips, body.inline-embed .cat-chips { display: flex; }
body.embed .cat-side, body.inline-embed .cat-side { display: none; }
body.embed .dine-layout, body.inline-embed .dine-layout { grid-template-columns: 1fr; }
.cat-chips button, .cat-side button { border: 1px solid var(--line); background: white; border-radius: 999px; padding: 8px 14px; font-weight: 650; white-space: nowrap; }
.cat-chips button.on, .cat-side button.on { background: var(--saffron); color: white; border-color: var(--saffron); }
.dine-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; align-items: start; }
.cat-side { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 8px; }
.dish-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dish-card { display: flex; flex-direction: column; gap: 8px; text-align: left; background: white; border: 1px solid var(--line); border-radius: 12px; padding: 12px; min-height: 0; }
.dish-card img, .dish-card .ph { width: 100%; height: 168px; object-fit: cover; border-radius: 10px; background: #f3f1ee; display: grid; place-items: center; color: #4b5563; }
.dish-card.can { cursor: pointer; }
.dish-card h3 { margin: 0; font-size: 16px; }
.dish-card p { margin: 0; color: var(--muted); font-size: 14px; }
.dish-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.add-btn { border: 0; background: var(--saffron); color: white; border-radius: 999px; padding: 8px 12px; font-weight: 700; }
.modal-back, .drawer-back { position: fixed; inset: 0; background: rgba(17, 24, 39, 0.45); z-index: 30; display: flex; }
.modal-back { align-items: center; justify-content: center; padding: 24px 16px; }
.modal { width: min(640px, 100%); max-height: min(88vh, 860px); overflow: auto; background: white; border-radius: 20px; padding: 16px 16px 12px; }
.modal img, .modal .ph, .sheet-photo { width: 100%; height: 300px; object-fit: cover; border-radius: 16px; background: #f3f1ee; display: block; color: #4b5563; }
.sheet-handle { display: none; width: 42px; height: 5px; border-radius: 99px; background: #d6d3d1; margin: 4px auto 12px; touch-action: none; }
.group-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0 4px; }
.req { background: #9a3412; color: white; border-radius: 999px; padding: 2px 8px; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.modal textarea, .review-prompt textarea { width: 100%; min-height: 72px; margin: 12px 0; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font: inherit; }
.sheet-buy { position: sticky; bottom: 0; background: white; padding: 12px 0 4px; }
.sheet-buy .btn { width: 100%; }
.cart-btn { display: inline-flex; align-items: center; gap: 8px; }
.cart-count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: #1c1917; color: white; font-size: 12px; font-weight: 800; display: inline-grid; place-items: center; }
.btn.primary .cart-count { background: white; color: #111; }
.cart-count.empty { display: none; }
.btn.bump { animation: basket-pop .35s ease; }
.drawer { animation: drawer-in .28s ease; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.basket-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; min-height: 64px; border: 0; border-radius: 0; background: #1c1917; color: white; font-weight: 750; font-size: 16px; padding-bottom: env(safe-area-inset-bottom, 0px); }
.star-pick { display: flex; gap: 6px; }
.star-pick button { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: white; font-size: 18px; }
.star-pick button.on { background: #1c1917; color: white; border-color: #1c1917; }
.review-row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.rail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.rail-card { min-width: 0; background: white; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.rail-hit { display: block; width: 100%; border: 0; background: transparent; padding: 0; text-align: left; cursor: pointer; color: inherit; }
.rail-card img, .rail-card .ph { width: 100%; height: 180px; object-fit: cover; border-radius: 0; }
.rail-name { display: block; padding: 10px 12px 0; font-weight: 700; }
.rail-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 12px 12px; }
.rail-add { border: 0; background: #1c1917; color: white; border-radius: 999px; padding: 8px 12px; font-weight: 700; cursor: pointer; }
.offer-stack { display: grid; gap: 12px; }
.offer-banner { position: relative; display: grid; align-items: end; min-height: 210px; overflow: hidden; border-radius: 16px; background: #1c1917; color: #fff; }
.offer-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.offer-copy { position: relative; display: grid; gap: 4px; padding: 22px 20px; background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,.08)); }
.offer-copy strong { font-size: 24px; letter-spacing: -.03em; }
.offer-copy span { color: rgba(255,255,255,.92); font-size: 15px; }
.popular-row { display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.popular-row img, .popular-row .ph { width: 160px; height: 120px; object-fit: cover; border-radius: 0; display: block; background: #f3f1ee; }
.popular-copy { display: grid; gap: 4px; padding: 12px 0; }
.popular-row .rail-name { padding: 0; font-size: 18px; }
.review-card { flex: 0 0 260px; scroll-snap-align: start; background: white; border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: grid; gap: 8px; }
.review-stars { color: #9a3412; letter-spacing: .08em; }
.demo-tag { justify-self: start; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; background: #fef3c7; color: #92400e; border-radius: 999px; padding: 3px 8px; }
.store-block h2 { margin: 18px 0 10px; font-size: 22px; }
@keyframes sheet-up { from { transform: translateY(110%); } to { transform: translateY(0); } }
@keyframes pop-in { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes drawer-in { from { transform: translateX(28px); } to { transform: none; } }
@keyframes basket-pop { 40% { transform: scale(1.06); } }
@media (min-width: 861px) {
  .modal.sheet:not(.settled) { animation: pop-in .22s ease; }
}
.choice-card { width: 100%; display: flex; justify-content: space-between; gap: 12px; align-items: center; text-align: left; border: 1px solid var(--line); background: white; border-radius: 12px; padding: 14px 16px; margin: 8px 0; }
.choice-card.on { border-color: var(--saffron); background: var(--saffron-soft); }
.drawer-back { justify-content: flex-end; }
.drawer { width: min(420px, 100%); height: 100%; background: white; padding: 20px; overflow: auto; display: flex; flex-direction: column; gap: 8px; }
.step-track { display: flex; gap: 8px; margin: 12px 0 20px; }
.step-track span { flex: 1; height: 6px; border-radius: 99px; background: #eee; }
.step-track span.on { background: var(--saffron); }
.qty { display: flex; align-items: center; gap: 12px; }
.qty button { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: white; font-weight: 700; }
.item-back { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, 0.5); display: flex; align-items: flex-end; justify-content: center; }
.item-sheet { background: #fff; color: #111; width: 100%; max-height: 92vh; border-radius: 20px 20px 0 0; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.22); }
.item-scroll { overflow: auto; flex: 1 1 auto; min-height: 0; padding: 4px 16px 16px; background: #fff; }
.item-scroll h2 { margin: 14px 0 6px; font-size: 28px; letter-spacing: -0.03em; }
.item-scroll > p { margin: 0 0 8px; }
.item-scroll img.item-photo, .item-scroll .ph.item-photo { width: 100%; height: 220px; object-fit: cover; border-radius: 12px; background: #f3f1ee; display: block; }
.item-scroll .ph.item-photo { display: grid; place-items: center; color: #4b5563; }
.item-scroll textarea { width: 100%; min-height: 72px; margin: 12px 0 0; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font: inherit; background: #fff; }
.item-foot { flex: none; background: #fff; border-top: 1px solid #e7e1d8; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 8px; }
.item-buy { display: flex; gap: 12px; align-items: center; }
.item-buy .btn { flex: 1; }
.item-error { color: #b91c1c; font-size: 14px; font-weight: 650; }
.item-error:empty { display: none; }
.item-sheet .sheet-handle { display: block; }
html.sheet-lock, body.sheet-lock { overflow: hidden; }
@media (min-width: 861px) {
  .item-back { align-items: center; padding: 24px; }
  .item-sheet { width: min(560px, 100%); max-height: min(88vh, 860px); border-radius: 16px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28); }
  .item-sheet .sheet-handle { display: none; }
  .item-sheet:not(.settled) { animation: pop-in .22s ease; }
}
@media (max-width: 860px) {
  .item-sheet:not(.settled) { animation: sheet-up .34s cubic-bezier(.2, .8, .2, 1); }
}
body.signed-out.app-body { display: block; height: auto; overflow: auto; }
body.signed-out .side, body.signed-out .topbar-app { display: none; }
body.signed-out .dash-wrap { min-height: 100vh; display: grid; place-items: center; }

@media (max-width: 860px) {
  .app-body { grid-template-columns: 1fr; }
  .icon-btn { display: inline-flex; }
  .topbar-app { padding: 0 12px; gap: 8px; }
  .topbar-app .crumb { flex: 1 1 auto; min-width: 0; overflow: hidden; border: 0; }
  .topbar-app .crumb span { display: none; }
  .topbar-app .crumb strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .topbar-app #refreshBtn { display: none; }
  .page-intro input, .page-head input { max-width: 100%; flex-basis: 100%; }
  .side { position: fixed; z-index: 40; transform: translateX(-110%); transition: transform 0.2s ease; }
  .app-body.nav-open .side { transform: none; box-shadow: 8px 0 24px rgba(0,0,0,0.08); }
  [dir=rtl] .side { right: 0; left: auto; transform: translateX(110%); }
  [dir=rtl] .app-body.nav-open .side { transform: none; box-shadow: -8px 0 24px rgba(0,0,0,0.08); }
  .app-body > main, .dash-wrap { min-width: 0; overflow-x: hidden; }
  .dine-layout, .dish-grid, .quick-grid, .order-row { grid-template-columns: 1fr; }
  .cat-side { display: none; }
  .cat-chips { display: flex; }
  .order-row { grid-template-columns: 1fr 1fr; }
  .modal-back { display: block; padding: 0; }
  .modal.sheet { position: absolute; left: 0; right: 0; bottom: 0; top: auto; width: 100%; max-height: 92vh; margin: 0; border-radius: 20px 20px 0 0; padding: 8px 16px 16px; }
  .modal.sheet:not(.settled) { animation: sheet-up .34s cubic-bezier(.2,.8,.2,1); }
  .sheet-handle { display: block; }
  .sheet-photo, .modal img, .modal .ph { height: 220px; }
  body.dine-body:not(.inline-embed) .basket-bar { display: block; }
  body.dine-body:not(.inline-embed) .dine { padding-bottom: 88px; }
  .rail-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .rail-grid .rail-card { flex: 0 0 78%; scroll-snap-align: start; }
  .rail-card img, .rail-card .ph { height: 190px; }
  .popular-row { grid-template-columns: 112px minmax(0, 1fr); }
  .popular-row img, .popular-row .ph { width: 112px; height: 112px; }
  .popular-row .rail-add { grid-column: 2; justify-self: start; margin: 0 0 12px; }
}

.accept-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
  padding: 10px 16px; border-bottom: 1px solid var(--line); background: #ecfdf3;
}
.accept-bar.paused { background: #fff7ed; }
.accept-bar.warn { background: #fffbeb; }
.accept-bar strong { font-size: 15px; white-space: nowrap; }
.accept-bar p { margin: 0; flex: 1 1 220px; min-width: 0; color: #1f2937; font-size: 14px; line-height: 1.4; }
.accept-bar .btn { min-height: 44px; }
@media (max-width: 860px) {
  .accept-bar { align-items: stretch; }
  .accept-bar .btn { flex: 1 1 100%; }
}
.accept-bar + .dash-wrap { }
dialog { border: 0; border-radius: 12px; padding: 0; width: min(440px, calc(100% - 24px)); }
dialog::backdrop { background: rgba(0, 0, 0, 0.5); }
dialog form { padding: 16px; display: grid; gap: 12px; }
dialog h2 { margin: 0; font-size: 22px; }
dialog p { margin: 0; color: #1f2937; }
dialog label { display: grid; gap: 6px; font-weight: 650; }
dialog input { min-height: 44px; }
dialog .dialog-actions { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.icon-btn { width: 44px; height: 44px; }
.side a, .side button.nav { min-height: 44px; }
.pill-tabs button, .chips button, .cat-chips button, .cat-side button { min-height: 44px; }
.qty button { width: 44px; height: 44px; }
.avatar { width: 44px; height: 44px; }
.order-row > * { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.dish-row { min-width: 0; }
.dish-row > span, .dish-row > strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.check { align-items: start; }
.check a { white-space: normal; min-height: 44px; display: inline-flex; align-items: center; }
.page-intro h1, .page-head h1 { overflow-wrap: normal; word-break: normal; }
.topbar-app, .dash-wrap, .main-col, .card, .panel, .share { max-width: 100%; }
.leaflet-container, .zone-map { max-width: 100%; }
.zone-map { overflow: hidden; }
.row-actions .btn, .status-pills .btn { min-height: 44px; }
@media (max-width: 1100px) {
  .order-row { grid-template-columns: minmax(0, 1fr) auto; }
  .layout-menu { grid-template-columns: 1fr; }
}
@media (max-width: 899px) {
  .report-scroll { overflow-x: hidden; }
  .report-table, table.customers { table-layout: fixed; }
  .report-table thead, table.customers thead { display: none; }
  .report-table, .report-table tbody, .report-table tr, .report-table td,
  table.customers, table.customers tbody, table.customers tr, table.customers td {
    display: block; width: 100%;
  }
  .report-table tr, table.customers tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .report-table td, table.customers td { border: 0; padding: 2px 0; white-space: normal; overflow-wrap: normal; word-break: normal; }
  .report-table td::before, table.customers td::before {
    content: attr(data-label);
    display: block;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
  }
  table.customers td.actions { text-align: left; }
}

/* Square buttons and cards, and a layout that stays inside the viewport. */
button, .btn, input, select, textarea, summary,
.card, .panel, .stat, .rest-card, .order-card, .modal, .sheet, .wizard, .wizard form,
.table-wrap, .share, .rail-card, .offer-banner, .popular-row, .item-sheet, .drawer, dialog,
.dish-card, .choice-card, .add-btn, .basket-bar, .review-card, .cat-chips button, .cat-side button {
  border-radius: 0 !important;
}
.rest-name strong, .rest-name .muted, .rest-clip, table.customers td .muted,
.dish-row > span, .dish-row > strong, .topbar-app .crumb, .topbar-app .crumb strong, .share-url,
.dish-card h3, .dish-card p, .item-scroll h2, .item-scroll p, .basket-bar {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}
.add-btn, .qty button, .choice-card { min-height: 44px; min-width: 44px; }
.qty button { width: 44px; height: 44px; }
.item-sheet {
  max-height: calc(100dvh - env(safe-area-inset-top, 0px));
  border-radius: 0 !important;
}
.item-scroll { max-height: calc(100dvh - 92px - env(safe-area-inset-bottom, 0px)); }
.item-foot, .basket-bar, .drawer { padding-bottom: max(12px, env(safe-area-inset-bottom, 0px)); }
.basket-bar { left: 0; right: 0; bottom: 0; border-radius: 0 !important; }
body.dine-body:not(.inline-embed) .dine { padding-bottom: calc(108px + env(safe-area-inset-bottom, 0px)); }
.cat-chips, .rail-grid, .review-row, .table-wrap, .report-scroll { max-width: 100%; }
.table-wrap { overflow-x: auto; scrollbar-width: thin; }
.table-wrap th, .table-wrap td { overflow-wrap: normal; word-break: normal; }
.table-wrap th:first-child, .table-wrap td:first-child { white-space: nowrap; min-width: 8.5rem; }
dialog, .modal, .wizard form, .drawer {
  max-height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  overflow: auto;
}
html, body { max-width: 100%; }
img, video { max-width: 100%; }

.app-body button, .app-body .btn, .app-body summary, .app-body .icon-btn, .app-body a.avatar {
  min-height: 44px;
}
.app-body .icon-btn, .app-body a.avatar { min-width: 44px; }
.app-body .side a { min-height: 44px; }

.cat-tabs {
  position: sticky; top: 0; z-index: 22; display: flex; gap: 0; overflow-x: auto;
  background: #fff; border-bottom: 1px solid var(--line); margin: 8px 0 0;
  scrollbar-width: none;
}
.cat-tabs::-webkit-scrollbar { height: 0; }
.cat-tabs button {
  flex: 0 0 auto; min-height: 44px; border: 0; border-bottom: 2px solid transparent;
  background: transparent; padding: 0 14px; font-weight: 650; color: #4b5563; white-space: nowrap;
}
.cat-tabs button.on { color: #111827; border-bottom-color: #111827; }
.menu-block { scroll-margin-top: 120px; border: 0; padding: 8px 0 4px; background: transparent; }
.dish-grid { display: flex; flex-direction: column; gap: 0; }
.dish-line {
  display: flex; gap: 12px; align-items: center;
  padding: 14px 0; border-bottom: 1px solid var(--line); background: transparent;
}
.dish-line .dish-thumb { width: 64px; height: 64px; object-fit: cover; flex: none; }
.dish-line .dish-meta { flex: 1; min-width: 0; }
.dish-line h3 { margin: 0; font-size: 16px; font-weight: 700; letter-spacing: -0.02em; }
.dish-line p {
  margin: 4px 0 0; color: #4b5563; font-size: 14px; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.dish-line .price { display: block; margin-top: 6px; font-weight: 700; }
.dish-line .add-btn { flex: none; align-self: center; }
.side-basket { display: none; }
@media (min-width: 1024px) {
  .dine-layout,
  body.embed .dine-layout,
  body.inline-embed .dine-layout,
  body.rz .dine-layout { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
  .side-basket {
    display: block; position: sticky; top: 88px; z-index: 5; border: 1px solid var(--line); background: #fff;
    padding: 16px; max-height: calc(100dvh - 110px); overflow: auto;
  }
  body.dine-body:not(.inline-embed) .basket-bar, body.rz .basket-bar { display: none; }
}
@media (max-width: 1023px) {
  body.rz .basket-bar, body.dine-body .basket-bar { display: block; }
  body.rz, body.dine-body .dine { padding-bottom: 72px; }
}
.side-basket h2 { margin: 0 0 8px; font-size: 20px; }
.side-basket .line { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.rail-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rail-arrows { display: none; gap: 8px; }
.rail-arrows button { width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; font-size: 22px; }
@media (min-width: 900px) { .rail-arrows { display: flex; } }
.rail-scroller { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; max-width: 100%; }
.rail-scroller .rail-card { flex: 0 0 min(280px, 82%); scroll-snap-align: start; display: flex; align-items: center; gap: 12px; padding: 12px; min-width: 0; }
.rail-scroller .rail-card img { width: 56px; height: 56px; object-fit: cover; }
.rail-copy { flex: 1; min-width: 0; display: grid; gap: 4px; }
.rail-add { min-height: 44px; min-width: 44px; border: 0; background: #111827; color: #fff; font-weight: 700; padding: 0 14px; }

/* ===== Storefront v2 (cz-) ===== */
.cz { --a: var(--accent, #111); --oa: var(--on-accent, #fff); --ln: #ececec; --mu: #6b6b6b; max-width: 1040px; margin: 0 auto; padding: 0 16px 120px; color: #111; font-family: var(--font, system-ui, -apple-system, "Segoe UI", sans-serif); -webkit-tap-highlight-color: transparent; }
.cz-narrow { max-width: 560px; padding-top: 24px; }
.cz * { box-sizing: border-box; }
.cz button, .cz-back button, .cz-toast button, .cz-bar { font: inherit; cursor: pointer; transition: transform .12s ease, background-color .15s, box-shadow .15s, opacity .15s; }
.cz button:active:not(:disabled), .cz-back button:active:not(:disabled), .cz-toast button:active, .cz-bar:active { transform: scale(.97); }
.cz button:disabled, .cz-back button:disabled { opacity: .45; cursor: not-allowed; }
.cz-ic { display: inline-flex; vertical-align: middle; }
.cz-head { padding: 20px 0 12px; display: grid; gap: 14px; }
.cz-brand { display: flex; gap: 12px; align-items: center; }
.cz-logo { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; flex: none; }
.cz-logo.sm { width: 32px; height: 32px; border-radius: 8px; }
.cz-head h1 { margin: 0; font-size: 24px; font-weight: 750; letter-spacing: -.02em; line-height: 1.15; }
.cz-meta { margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; color: var(--mu); font-size: 14px; }
.cz-dot { color: #c4c4c4; }
.cz-status { display: inline-flex; gap: 6px; align-items: center; font-weight: 650; }
.cz-status i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.cz-status.ok { color: #0f7a3a; } .cz-status.bad { color: #b42318; }
.cz-controls { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.cz-seg { display: inline-flex; background: #f2f2f2; border-radius: 999px; padding: 3px; }
.cz-seg button { border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; font-weight: 650; font-size: 14px; color: #111; min-height: 38px; }
.cz-seg button.on { background: #fff; color: #111; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.cz-pill { display: inline-flex; gap: 8px; align-items: center; border: 1px solid var(--ln, #e5e5e5); background: #fff; border-radius: 999px; padding: 8px 14px; min-height: 42px; font-weight: 600; font-size: 14px; color: #111; }
.cz-pill.block { display: flex; width: 100%; border-radius: 12px; justify-content: space-between; }
.cz-pill.block span:nth-child(2) { flex: 1; text-align: left; }
.cz-cart { margin-left: auto; position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #e5e5e5; background: #fff; display: grid; place-items: center; color: #111; }
.cz-cart.bump { animation: czbump .4s ease; }
@keyframes czbump { 40% { transform: scale(1.15); } }
.cz-badge { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--a); color: var(--oa); font-size: 12px; font-weight: 750; display: grid; place-items: center; }
.cz-banner { margin: 0; padding: 10px 14px; border-radius: 10px; font-size: 14px; }
.cz-banner.bad { background: #fff1f0; color: #9b1c1c; } .cz-banner.ok { background: #effaf3; color: #106b35; }
.cz-grid { display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr); }
.cz-grid > * { min-width: 0; }
.cz-side { position: sticky; top: var(--cz-top, 0px); z-index: 5; background: #fff; margin: 0 -16px; padding: 8px 16px; border-bottom: 1px solid #f0f0f0; }
.cz-search { display: flex; gap: 8px; align-items: center; border: 1.5px solid #e2e2e2; border-radius: 12px; padding: 0 12px; margin-bottom: 8px; color: #4b5563; background: #fff; }
.cz-search input { border: 0; outline: 0; font: inherit; font-size: 16px; min-height: 42px; width: 100%; background: transparent; color: #111; }
.cz-cats { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.cz-cats::-webkit-scrollbar { display: none; }
.cz-cats button { flex: none; border: 0; background: transparent; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 14px; color: #111; white-space: nowrap; min-height: 38px; }
.cz-cats button.on { background: #111; color: #fff; }
.cz-section { padding-top: 22px; scroll-margin-top: 120px; }
.cz-section > h2, .cz-rail-head h2 { margin: 0 0 12px; font-size: 20px; font-weight: 750; letter-spacing: -.01em; }
.cz-rail-head { display: flex; justify-content: space-between; align-items: center; }
.cz-arrows { display: none; gap: 6px; }
.cz-arrows button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid #e5e5e5; background: #fff; }
.cz-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.cz-rail::-webkit-scrollbar { display: none; }
.cz-sq { position: relative; scroll-snap-align: start; }
.cz-sq-hit { display: grid; gap: 4px; border: 0; background: none; padding: 0; text-align: left; width: 100%; color: #111; }
.cz-sq-media { aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, #f6f6f6, #ececec); display: grid; place-items: center; }
.cz-sq-media img { width: 100%; height: 100%; object-fit: cover; }
.cz-initial { font-size: 44px; font-weight: 750; color: color-mix(in srgb, var(--a) 55%, #fff); }
.cz-sq strong { font-size: 15px; font-weight: 650; margin-top: 4px; }
.cz-price { font-size: 14px; color: #111; font-weight: 550; }
.cz-sq .cz-plus { position: absolute; top: calc(min(100%, 100vw) * 0 + 8px); right: 8px; }
.cz-sq .cz-plus { top: auto; bottom: calc(100% - (100% - 0px)); }
.cz-sq { --s: 0; }
.cz-sq .cz-plus { top: 8px; bottom: auto; }
.cz-cards { display: grid; gap: 12px; }
.cz-card { position: relative; border: 1px solid #ececec; border-radius: 14px; background: #fff; transition: box-shadow .15s; }
.cz-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.cz-card-hit { display: flex; gap: 12px; width: 100%; border: 0; background: none; padding: 14px; text-align: left; color: #111; min-height: 112px; align-items: stretch; border-radius: 14px; }
.cz-card-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; padding-right: 36px; }
.cz-card.has-photo .cz-card-copy { padding-right: 0; }
.cz-card h3 { margin: 0; font-size: 16px; font-weight: 650; }
.cz-card p { margin: 0; color: var(--mu, #6b6b6b); font-size: 14px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cz-price-row { margin-top: auto; display: flex; gap: 6px; align-items: center; padding-top: 6px; }
.cz-tag { font-size: 11px; padding: 2px 7px; border-radius: 999px; background: #f3f3f3; color: #111; }
.cz-card-img { width: 104px; height: 104px; border-radius: 10px; object-fit: cover; flex: none; margin: -4px -4px -4px 0; }
.cz-card .cz-plus { position: absolute; right: 12px; bottom: 12px; }
.cz-card.has-photo .cz-plus { right: 18px; bottom: 18px; }
.cz-plus { width: 36px; height: 36px; border-radius: 50%; border: 0; background: #fff; color: #111; font-size: 22px; font-weight: 500; line-height: 1; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.cz-plus.sm { width: 30px; height: 30px; font-size: 18px; position: static; }
.cz-plus.has { background: var(--a, #111); color: var(--oa, #fff); font-size: 15px; font-weight: 750; }
.cz-plus.pop { animation: czbump .35s ease; }
.cz-card.sold, .cz-sq.sold { opacity: .5; }
.cz-empty { text-align: center; padding: 40px 12px; color: var(--mu, #6b6b6b); display: grid; gap: 10px; justify-items: center; }
.cz-empty h2 { margin: 0; color: #111; }
.cz-link { border: 0; background: none; padding: 10px 0; font-weight: 650; color: #111; text-decoration: underline; text-underline-offset: 3px; }
.cz-link.back { text-decoration: none; padding: 8px 0; }
.cz-btn { display: inline-flex; gap: 8px; align-items: center; justify-content: center; border-radius: 12px; padding: 10px 16px; min-height: 44px; font-weight: 700; font-size: 15px; border: 1.5px solid transparent; font-family: inherit; cursor: pointer; transition: transform .12s, opacity .15s, background-color .15s; }
.cz-btn:active:not(:disabled) { transform: scale(.97); }
.cz-btn.primary { background: var(--accent, #111); color: var(--on-accent, #fff); }
.cz-btn.outline { background: #fff; border-color: #111; color: #111; }
.cz-btn.ghost { background: #f3f3f3; color: #111; }
.cz-btn.block { width: 100%; }
.cz-btn.lg { min-height: 52px; font-size: 16px; }
.cz-btn.sm { min-height: 38px; padding: 6px 12px; font-size: 14px; border-radius: 10px; }
.cz-btn:disabled { opacity: .45; cursor: not-allowed; }
/* overlays */
.cz-back { --a: var(--accent, #111); --oa: var(--on-accent, #fff); position: fixed; inset: 0; z-index: 1000; background: rgba(17,17,17,.45); display: flex; align-items: flex-end; justify-content: center; animation: czfade .18s ease; font-family: var(--font, system-ui, sans-serif); color: #111; }
.cz-back * { box-sizing: border-box; }
@keyframes czfade { from { opacity: 0; } }
@keyframes czup { from { transform: translateY(40px); opacity: .4; } }
@keyframes czright { from { transform: translateX(40px); opacity: .4; } }
.cz-modal { position: relative; background: #fff; width: 100%; max-height: 92vh; max-height: 92dvh; border-radius: 20px 20px 0 0; display: flex; flex-direction: column; animation: czup .22s ease; overflow: hidden; }
.cz-modal.settled { animation: none; }
.cz-modal.od { padding: 20px; gap: 14px; overflow-y: auto; }
.cz-modal-head { display: flex; justify-content: space-between; align-items: center; }
.cz-modal-head h2 { margin: 0; font-size: 22px; font-weight: 750; }
.cz-x { width: 38px; height: 38px; border-radius: 50%; border: 0; background: #f2f2f2; font-size: 22px; line-height: 1; color: #111; display: grid; place-items: center; }
.cz-x.float { position: absolute; top: 12px; right: 12px; z-index: 2; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.15); }
.cz-modal-scroll { overflow-y: auto; flex: 1; overscroll-behavior: contain; }
.cz-hero { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.cz-modal-body { padding: 18px 20px 8px; }
.cz-modal-body.no-photo { padding-top: 22px; padding-right: 60px; }
.cz-modal-body h2 { margin: 0; font-size: 22px; font-weight: 750; }
.cz-price.big { font-size: 16px; margin: 4px 0 0; }
.cz-desc { color: #3f3f46; line-height: 1.45; margin: 10px 0 0; }
.cz-allergens { font-size: 13px; color: #4b5563; margin: 8px 0 0; }
.cz-group { border-top: 1px solid #efefef; margin-top: 16px; padding-top: 14px; display: grid; gap: 2px; }
.cz-group-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 6px; }
.cz-group-head strong { display: block; font-size: 16px; } .cz-group-head small { color: #4b5563; font-size: 13px; }
.cz-req { font-size: 12px; font-weight: 700; background: #f2f2f2; padding: 3px 9px; border-radius: 999px; color: #111; }
.cz-req.bad { background: #fde8e8; color: #b42318; }
.cz-opt { display: flex; gap: 12px; align-items: center; width: 100%; border: 0; background: none; padding: 11px 0; text-align: left; color: #111; font-size: 15px; min-height: 46px; }
.cz-opt + .cz-opt { border-top: 1px solid #f4f4f4; }
.cz-opt-name { flex: 1; } .cz-opt-price { color: #3f3f46; font-size: 14px; }
.cz-mark { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #c8c8c8; flex: none; position: relative; transition: all .15s; }
.cz-mark.checkbox { border-radius: 6px; }
.cz-opt.on .cz-mark { border-color: #111; background: #111; }
.cz-opt.on .cz-mark::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.cz-opt.on .cz-mark.radio { background: #fff; border-width: 7px; } .cz-opt.on .cz-mark.radio::after { display: none; }
.cz-field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: #222; margin-top: 14px; }
.cz-field input, .cz-field textarea, .cz-coupon-row input { font: inherit; font-weight: 400; font-size: 16px; border: 1.5px solid #ddd; border-radius: 12px; padding: 12px 14px; min-height: 48px; width: 100%; background: #fff; color: #111; transition: border-color .15s; }
.cz-field textarea { min-height: 76px; resize: vertical; }
.cz-field input:focus, .cz-field textarea:focus, .cz-coupon-row input:focus { outline: none; border-color: #111; }
.cz-field.invalid input, .cz-field.invalid textarea { border-color: #d92d20; background: #fffafa; }
.cz-err { color: #b42318; font-weight: 500; font-size: 13px; }
.cz-err.form:empty { display: none; }
.cz-note { margin: 0; color: #3f3f46; font-size: 14px; display: flex; gap: 6px; align-items: center; }
.cz-note.ok { color: #106b35; } .cz-note.bad { color: #b42318; }
.cz-upsell-title { font-size: 16px; margin-bottom: 8px; }
.cz-upsell { display: grid; gap: 8px; }
.cz-up { display: flex; gap: 10px; align-items: center; border: 1px solid #eee; border-radius: 12px; padding: 8px 10px; }
.cz-up img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }
.cz-up > div { flex: 1; display: grid; font-size: 14px; font-weight: 600; } .cz-up small { color: #4b5563; font-weight: 500; }
.cz-modal-foot { display: flex; gap: 12px; align-items: center; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid #efefef; background: #fff; }
.cz-modal-foot .cz-btn { flex: 1; }
.cz-qty { display: inline-flex; align-items: center; gap: 4px; border: 1px solid #e2e2e2; border-radius: 999px; padding: 3px; }
.cz-qty button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: #f4f4f4; font-size: 20px; color: #111; display: grid; place-items: center; }
.cz-qty strong, .cz-qty > span { min-width: 22px; text-align: center; font-weight: 700; }
.cz-qty.sm button { width: 30px; height: 30px; font-size: 16px; }
.cz-qty.sm { margin-top: 6px; width: max-content; }
/* toast */
.cz-toast { --a: var(--accent, #111); --oa: var(--on-accent, #fff); position: fixed; left: 12px; right: 12px; margin: 0 auto; bottom: 84px; z-index: 990; max-width: 420px; background: #111; color: #fff; border-radius: 16px; padding: 14px; box-shadow: 0 12px 32px rgba(0,0,0,.25); animation: czup .22s ease; font-family: var(--font, system-ui, sans-serif); }
.cz-toast p { margin: 0 0 10px; font-size: 15px; }
.cz-toast-row { display: flex; gap: 8px; } .cz-toast-row .cz-btn { flex: 1; }
.cz-toast .cz-btn.ghost { background: #2b2b2b; color: #fff; }
/* basket bar */
.cz-bar { --a: var(--accent, #111); position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 980; display: flex; align-items: center; gap: 12px; border: 0; border-radius: 14px; padding: 14px 18px; min-height: 56px; background: var(--accent, #111); color: var(--on-accent, #fff); font: inherit; font-weight: 700; font-size: 16px; box-shadow: 0 10px 28px rgba(0,0,0,.22); font-family: var(--font, system-ui, sans-serif); }
.cz-bar span:nth-child(2) { flex: 1; text-align: left; }
.cz-bar-n { min-width: 26px; height: 26px; border-radius: 8px; background: rgba(255,255,255,.22); display: grid; place-items: center; font-size: 14px; }
/* drawer */
.cz-drawer { background: #fff; width: 100%; max-height: 90vh; max-height: 90dvh; border-radius: 20px 20px 0 0; display: flex; flex-direction: column; animation: czup .22s ease; }
.cz-drawer > .cz-modal-head { padding: 18px 18px 10px; }
.cz-drawer-top { padding: 0 18px 12px; display: grid; gap: 10px; border-bottom: 1px solid #efefef; }
.cz-drawer-top .cz-seg { width: 100%; } .cz-drawer-top .cz-seg button { flex: 1; }
.cz-lines { overflow-y: auto; flex: 1; padding: 4px 18px; }
.cz-line { display: flex; gap: 12px; padding: 12px 0; align-items: flex-start; }
.cz-line + .cz-line { border-top: 1px solid #f2f2f2; }
.cz-thumb { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; flex: none; }
.cz-thumb.ph { display: grid; place-items: center; background: #f3f3f3; font-weight: 750; color: #4b5563; }
.cz-line-mid { flex: 1; min-width: 0; display: grid; gap: 2px; font-size: 15px; }
.cz-line-mid small { color: #4b5563; font-size: 13px; }
.cz-line-price { font-size: 15px; white-space: nowrap; }
.cz-drawer-foot { padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid #efefef; display: grid; gap: 10px; }
.cz-pair { display: flex; justify-content: space-between; font-size: 15px; color: #111; padding: 3px 0; }
.cz-pair strong { color: #111; font-weight: 600; }
.cz-total { display: flex; justify-content: space-between; font-size: 18px; font-weight: 750; border-top: 1px solid #eee; margin-top: 6px; padding-top: 10px; }
/* checkout */
.cz-checkout { display: grid; gap: 16px; padding-top: 12px; }
.cz-co-title { display: flex; justify-content: space-between; align-items: center; }
.cz-co-title h1 { margin: 4px 0 0; font-size: 28px; font-weight: 750; letter-spacing: -.02em; }
.cz-box { border: 1px solid #e8e8e8; border-radius: 14px; margin-top: 14px; overflow: hidden; }
.cz-box-row { display: flex; gap: 12px; align-items: center; width: 100%; border: 0; background: #fff; padding: 14px 16px; text-align: left; color: #111; }
.cz-box-row + .cz-box-row { border-top: 1px solid #f0f0f0; }
.cz-box-row > div { flex: 1; display: grid; } .cz-box-row small { color: #4b5563; font-size: 13px; } .cz-box-row strong { font-size: 15px; font-weight: 650; }
.cz-co-sec { padding-top: 22px; }
.cz-co-sec h2 { margin: 0; font-size: 18px; font-weight: 750; }
.cz-sec-head { display: flex; justify-content: space-between; align-items: baseline; } .cz-sec-head small { color: #0f7a3a; font-weight: 600; }
.cz-two { display: grid; gap: 0 12px; }
.cz-pay { display: grid; gap: 8px; margin-top: 12px; }
.cz-pay-opt { display: grid; gap: 2px; text-align: left; border: 1.5px solid #e2e2e2; border-radius: 12px; background: #fff; padding: 12px 14px 12px 44px; position: relative; color: #111; min-height: 56px; }
.cz-pay-opt::before { content: ""; position: absolute; left: 14px; top: 50%; margin-top: -10px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #c8c8c8; box-sizing: border-box; }
.cz-pay-opt.on { border-color: #111; } .cz-pay-opt.on::before { border: 6px solid #111; }
.cz-pay-opt small { color: #4b5563; }
.cz-checks { display: flex; gap: 18px; margin-top: 10px; }
.cz-check { display: flex; gap: 8px; align-items: center; font-size: 15px; min-height: 40px; }
.cz-check input { width: 20px; height: 20px; accent-color: #111; }
.cz-fine { color: #4b5563; font-size: 12px; margin: 4px 0 0; }
.cz-place { position: sticky; bottom: 0; background: linear-gradient(transparent, #fff 18%); padding: 18px 0 calc(12px + env(safe-area-inset-bottom)); margin-top: 12px; display: grid; gap: 8px; z-index: 4; }
.cz-summary { border: 1px solid #e8e8e8; border-radius: 14px; background: #fff; }
.cz-summary > summary { display: flex; justify-content: space-between; padding: 14px 16px; font-weight: 700; cursor: pointer; list-style: none; }
.cz-summary > summary::-webkit-details-marker { display: none; }
.cz-summary > summary::after { content: "▾"; margin-left: 8px; color: #4b5563; } .cz-summary[open] > summary::after { content: "▴"; }
.cz-summary .cz-lines { padding: 0 16px; max-height: none; }
.cz-coupon { margin: 0 16px; border-top: 1px solid #f0f0f0; padding: 10px 0; }
.cz-coupon > summary { cursor: pointer; font-weight: 650; color: #111; padding: 4px 0; }
.cz-coupon-row { display: flex; gap: 8px; margin-top: 8px; } .cz-coupon-row input { min-height: 44px; }
.cz-coupon .cz-note { margin-top: 6px; }
.cz-totals { padding: 10px 16px 16px; border-top: 1px solid #f0f0f0; }
@media (min-width: 640px) {
  .cz-rail { grid-auto-columns: 30%; }
  .cz-two { grid-template-columns: 1fr 1fr; }
  .cz-pay { grid-template-columns: 1fr 1fr; }
  .cz-back.center { align-items: center; }
  .cz-back { align-items: center; padding: 24px; }
  .cz-modal { max-width: 520px; border-radius: 20px; max-height: 88vh; }
  .cz-back.cz-sidepanel { justify-content: flex-end; align-items: stretch; padding: 0; }
  .cz-drawer { max-width: 420px; height: 100vh; max-height: none; border-radius: 0; animation-name: czright; }
  .cz-toast { bottom: 24px; }
  .cz-bar { display: none; }
}
@media (min-width: 900px) {
  .cz-grid { grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: start; }
  .cz-side { top: calc(var(--cz-top, 0px) + 12px); margin: 0; padding: 12px 0; border: 0; }
  .cz-search { display: flex; gap: 8px; align-items: center; border: 1.5px solid #e2e2e2; border-radius: 12px; padding: 0 12px; margin-bottom: 12px; color: #4b5563; }
  .cz-search input { border: 0; outline: 0; font: inherit; font-size: 15px; min-height: 42px; width: 100%; background: transparent; }
  .cz-cats { flex-direction: column; overflow: visible; }
  .cz-cats button { text-align: left; }
  .cz-cards { grid-template-columns: 1fr 1fr; }
  .cz-rail { grid-auto-columns: calc((100% - 36px) / 4); }
  .cz-arrows { display: flex; }
  .cz-head h1 { font-size: 30px; }
  .cz-head { grid-template-columns: 1fr auto; align-items: center; }
  .cz-checkout { grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
  .cz-co-side { order: 2; position: sticky; top: calc(var(--cz-top, 0px) + 16px); }
  .cz-co-main { order: 1; }
  .cz-summary > summary::after { display: none; }
}
@media (prefers-reduced-motion: reduce) { .cz *, .cz-back, .cz-modal, .cz-drawer, .cz-toast { animation: none !important; transition: none !important; } }

html, body { overflow-x: clip; }

/* Mobile QA pass: 44px tap targets, 14px minimum text */
.cz-seg button, .cz-cats button, .cz-btn.sm, .cz-toast .cz-btn, .cz-link { min-height: 44px; }
.cz-plus, .cz-x, .cz-qty button { position: relative; }
.cz-plus::after, .cz-x::after, .cz-qty button::after { content: ""; position: absolute; inset: 50% auto auto 50%; width: 44px; height: 44px; transform: translate(-50%, -50%); border-radius: 50%; }
.cz-qty { gap: 8px; }
.cz-summary > summary, .cz-coupon > summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; }
.cz-check { min-height: 44px; }
.cz small, .cz-back small, .cz-fine, .cz-err { font-size: 14px; }
.cz-badge { font-size: 14px; min-width: 22px; height: 22px; border-radius: 11px; }

/* Premium no-photo tiles: brand-accent tint, big initial, short description */
.cz-sq-media.noimg { background: radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--a) 22%, #fff), color-mix(in srgb, var(--a) 7%, #fff) 70%); border: 1px solid color-mix(in srgb, var(--a) 14%, #fff); place-items: start; align-content: space-between; padding: 14px; box-sizing: border-box; }
.cz-sq-media.noimg .cz-initial { font-size: 40px; line-height: 1; color: var(--a); opacity: .9; font-family: Georgia, "Times New Roman", serif; font-style: italic; }
.cz-sq-desc { font-size: 14px; line-height: 1.35; color: #111; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cz-card:not(.has-photo) { border-left: 3px solid color-mix(in srgb, var(--a) 70%, #fff); }
.cz-card:not(.has-photo) .cz-plus, .cz-sq .cz-plus { background: var(--a); color: var(--oa); border-color: transparent; border-radius: 999px; font-weight: 700; }

/* Stable re-renders: overlays animate only on first appearance */
.cz-settled, .cz-settled .cz-modal, .cz-settled .cz-drawer, .cz-toast.cz-settled { animation: none !important; }
/* Basket line options */
.cz-line-name { cursor: pointer; }
.cz-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 2px; }
.cz-chip { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; line-height: 1.2; background: #f4f4f5; color: #111; border-radius: 999px; padding: 4px 4px 4px 10px; }
.cz-chip:not(:has(.cz-chip-x)) { padding-right: 10px; }
.cz-chip-x { width: 28px; height: 28px; margin: -6px -2px -6px 0; border: 0; border-radius: 50%; background: transparent; color: #3f3f46; font-size: 16px; line-height: 1; cursor: pointer; }
.cz-chip-x:active { background: #e4e4e7; }
.cz-edit { align-self: flex-start; border: 0; background: none; padding: 6px 0; min-height: 32px; font: inherit; font-size: 14px; font-weight: 600; color: var(--a, #111); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cz-line-mid { justify-items: start; }
.cz-line-mid .cz-chips { width: 100%; }
.cz-line-act { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.cz-line-act .cz-edit { padding: 0; }
/* Focused checkout like a standalone page */
body.cz-focus #home-hero, body.cz-focus #popular, body.cz-focus .foot { display: none !important; }
body.cz-focus #app { min-height: 100vh; }

/* Live order tracking */
.track { max-width: 560px; margin: 24px auto; padding: 28px; border-radius: 16px; text-align: left; }
.track-head { display: grid; gap: 4px; justify-items: start; }
.track-logo { height: 44px; width: auto; border-radius: 8px; margin-bottom: 8px; }
.track-head h1 { font-family: Lora, Georgia, serif; font-size: 30px; margin: 0; }
.track .status-live { font-size: 18px; font-weight: 600; margin: 16px 0 12px; }
.track-line { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.track-line li { display: grid; justify-items: center; gap: 6px; font-size: 12px; color: #4b5563; position: relative; text-align: center; }
.track-line li::before { content: ""; position: absolute; top: 11px; left: -50%; width: 100%; height: 2px; background: #e5e5e5; z-index: 0; }
.track-line li:first-child::before { display: none; }
.track-line li.done::before, .track-line li.now::before { background: #111; }
.track-line .dot { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #d4d4d4; background: #fff; display: grid; place-items: center; font-size: 12px; z-index: 1; }
.track-line li.done, .track-line li.now { color: #111; font-weight: 600; }
.track-line li.done .dot { background: #111; border-color: #111; color: #fff; }
.track-line li.now .dot { border-color: #111; box-shadow: 0 0 0 4px rgba(0,0,0,.08); animation: trackPulse 1.6s ease-in-out infinite; }
@keyframes trackPulse { 50% { box-shadow: 0 0 0 8px rgba(0,0,0,.04); } }
@media (prefers-reduced-motion: reduce) { .track-line li.now .dot { animation: none; } }
.track-rejected .status-live { color: #b42318; }
.track-items { border-top: 1px solid #eee; padding-top: 12px; display: grid; gap: 4px; }
.track-item { display: flex; justify-content: space-between; gap: 12px; }
.track-items .small { font-size: 12px; margin: 0 0 4px; }
.track-total { border-top: 1px solid #eee; padding-top: 8px; margin-top: 6px; }
.track-where { margin-top: 16px; padding: 12px 14px; background: #f6f6f6; border-radius: 10px; }
.track-where p { margin: 2px 0 0; }
.track-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.track-actions .btn { border-radius: 10px; }
.track-rating { margin-top: 18px; }
/* Ashley's-style option details: green satisfied pill, per-option qty stepper, sold out */
.cz-req.ok { background: #e7f6ec; color: #13723a; }
.cz-opt.off { opacity: .45; cursor: not-allowed; }
.cz-mstep { display: inline-flex; align-items: center; gap: 2px; border: 1px solid #e3e3e3; border-radius: 999px; padding: 2px; }
.cz-mstep button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: #f4f4f4; font: inherit; font-weight: 700; cursor: pointer; }
.cz-mstep strong { min-width: 20px; text-align: center; font-size: 14px; }
.cz-opt-price { min-width: 56px; text-align: right; }
/* v32 Owner-style buttons & item modal */
.cz-btn { border-radius: 11px; }
.cz-btn.outline, .cz-btn.ghost { background: #fff; border: 1px solid #e3e3e3; color: #111; }
.cz-btn.cz-cta { justify-content: space-between; padding: 0 18px; background: var(--a, var(--accent, #111)); color: var(--oa, var(--on-accent, #fff)); }
.cz-cta-r { font-weight: 700; white-space: nowrap; }
.cz-plus, .cz-plus.sm, .cz-card:not(.has-photo) .cz-plus, .cz-sq .cz-plus { border-radius: 10px; border: 1px solid #e3e3e3; background: #fff; color: #111; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.cz-x, .cz-x.float { border-radius: 10px; border: 1px solid #e3e3e3; background: #fff; }
.cz-plus::after, .cz-x::after, .cz-qty button::after { border-radius: 10px; }
.cz-req.grey, .cz-req { background: #efefef; color: #111; }
.cz-group-head small { display: block; color: #4b5563; font-size: 13px; font-weight: 500; margin-top: 2px; }
.cz-opt.on .cz-mark { border-color: var(--a, #111); background: var(--a, #111); }
.cz-opt.on .cz-mark.radio { background: #fff; border-color: var(--a, #111); border-width: 7px; }
.cz-upsell { display: grid; gap: 8px; }
.cz-up > div em { font-style: normal; font-weight: 400; color: #4b5563; font-size: 12.5px; line-height: 1.3; }
.cz-mstep, .cz-qty { display: inline-flex; gap: 0; padding: 0; border: 0; border-radius: 0; }
.cz-mstep > *, .cz-qty > * { height: 34px; min-width: 34px; display: grid; place-items: center; border: 1px solid #e3e3e3; background: #fff; margin-left: -1px; font-size: 16px; color: #111; }
.cz-qty > * { height: 44px; min-width: 44px; }
.cz-mstep > button, .cz-qty > button { border-radius: 0; background: #fff; width: auto; }
.cz-mstep > :first-child, .cz-qty > :first-child { border-radius: 10px 0 0 10px; margin-left: 0; }
.cz-mstep > :last-child, .cz-qty > :last-child { border-radius: 0 10px 10px 0; }
.cz-qty button:disabled { color: #bbb; }
.cz-modal .cz-qty > *, .cz-modal .cz-mstep > *, .cz-qty > button, .cz-mstep > button { border: 1px solid #e3e3e3 !important; background: #fff !important; box-shadow: none; }
.cz-modal .cz-qty > :first-child, .cz-mstep > :first-child { border-radius: 10px 0 0 10px !important; }
.cz-modal .cz-qty > :last-child, .cz-mstep > :last-child { border-radius: 0 10px 10px 0 !important; }
.cz-qty > button, .cz-mstep > button { border-radius: 0 !important; }
@media (max-width: 860px) {
  .cz-back:has(.item-sheet) { padding: 0; align-items: flex-end; }
  .cz-modal.item-sheet { width: 100vw; max-width: none; height: auto; max-height: 92dvh; border-radius: 20px 20px 0 0 !important; box-shadow: 0 -16px 48px rgba(0,0,0,.2); }
  .cz-modal-body.no-photo { padding-right: 20px; }
  .cz-modal-body.no-photo > h2 { padding-right: 48px; }
  .cz-x.float { top: 12px; right: 12px; }
}
.cz-req.ok { background: #efefef; color: #111; }
/* v33 calm checkout polish */
.cz-back, .cz-checkout, .track { --ring: color-mix(in srgb, var(--a, var(--accent, #111)) 22%, transparent); }
.cz button, .cz-back button, .cz-btn, .cz-field input, .cz-field textarea { transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease, color .16s ease, transform .12s ease; }
.cz-seg { border-radius: 12px; padding: 4px; background: #f3f3f3; }
.cz-seg button { border-radius:8px; font-weight: 600; }
.cz-seg button.on { box-shadow: 0 0 0 1px #e5e5e5; }
.cz-how .cz-seg { display: flex; width: 100%; } .cz-how .cz-seg button { flex: 1; min-height: 44px; }
.cz-co-sec h2, .cz-sec-head h2 { font-size: 17px; font-weight: 600; margin: 0 0 8px; letter-spacing: -0.01em; }
.cz-co-sec { margin-top: 24px; }
.cz-field { font-weight: 500; color: #111; margin-top: 16px; gap: 6px; }
.cz-field input, .cz-field textarea, .cz-coupon-row input { border: 1px solid #d9d9d9; border-radius: 10px; }
.cz-field input:focus, .cz-field textarea:focus, .cz-coupon-row input:focus { border-color: var(--a, #111); box-shadow: 0 0 0 3px var(--ring, rgba(0,0,0,.12)); }
.cz-field.invalid input, .cz-field.invalid textarea { border-color: #d92d20; background: #fff; box-shadow: none; }
.cz-field.invalid input:focus { box-shadow: 0 0 0 3px rgba(217,45,32,.15); }
.cz-err { font-size: 13px !important; }
.cz-box { border: 1px solid #e8e8e8; border-radius: 12px; box-shadow: none; }
.cz-pay-opt { border: 1px solid #e3e3e3 !important; border-radius: 12px !important; box-shadow: none !important; }
.cz-pay-opt.on { border-color: var(--a, #111) !important; box-shadow: 0 0 0 1px var(--a, #111) !important; }
.cz-trust { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0; font-size: 13px; color: #4b5563; }
.cz-summary { border-radius: 12px; border-color: #e8e8e8; }
.cz-summary > summary { font-weight: 600; }
.cz-summary .cz-sum-l { color: var(--a, #111); }
@media (min-width: 900px) { .cz-summary .cz-sum-l { color: #111; } .cz-summary { background: #fafafa; } }
@media (max-width: 899px) { .cz-summary { border-radius: 0; border-width: 1px 0; background: #fafafa; margin: 0 -16px; } .cz-place { position: sticky; bottom: 0; background: #fff; border-top: 1px solid #eee; margin: 16px -16px 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); } }
.cz-totals .cz-pair span { color: #3f3f46; } .cz-total { border-top: 1px solid #e8e8e8; padding-top: 12px; margin-top: 4px; font-size: 17px; }
/* basket */
.cz-drawer { box-shadow: none; border-left: 1px solid #e8e8e8; }
.cz-chips { display: flex; flex-wrap: wrap; gap: 0 10px; margin-top: 2px; }
.cz-chip { background: transparent; color: #4b5563; padding: 0; font-size: 13px; }
.cz-chip-x { width: 22px; height: 22px; margin: 0; color: #4b5563; font-size: 14px; }
.cz-line { gap: 12px; padding: 16px 0; border-bottom: 1px solid #f0f0f0; }
.cz-line-name { font-weight: 600; }
.cz-edit { color: #3f3f46; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; }
.cz-thumb { border-radius: 10px; border: 1px solid #eee; background: #f7f7f7; }
.cz-empty { display: grid; justify-items: center; gap: 12px; padding: 56px 16px; color: #4b5563; text-align: center; }
/* confirmation */
.track { border: 1px solid #e8e8e8; box-shadow: none !important; }
.track-ok { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--accent, #16a34a) 12%, #fff); color: var(--accent, #16a34a); margin-bottom: 8px; }
.track-head h1 { font-family: inherit; font-size: 24px; font-weight: 600; letter-spacing: -0.01em; }
.track-num { margin: 0; color: #3f3f46; font-weight: 500; }
.track .status-live { font-size: 16px; font-weight: 500; color: #111; }
.track-line li.done::before, .track-line li.now::before { background: var(--accent, #111); }
.track-line li.done .dot { background: var(--accent, #111); border-color: var(--accent, #111); }
.track-line li.now .dot { border-color: var(--accent, #111); }
.track-where { background: #fafafa; border: 1px solid #eee; }
.cz-field input:focus, .cz-field textarea:focus, .cz-coupon-row input:focus { border-color: #111; box-shadow: 0 0 0 3px rgba(17,17,17,.08); }
.track-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.track-actions .btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #e3e3e3; font-weight: 600; }
.track-actions .btn.primary { grid-column: 1 / -1; border-color: transparent; }
@media (max-width: 600px) { .track { margin: 12px; padding: 20px; } }

/* v34 design tokens — single source for radius, spacing, control heights, icons, type */
:root {
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-pill: 999px;
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px; --sp-6: 32px;
  --h-lg: 44px; --h-md: 40px; --h-sm: 32px;
  --ic-sm: 16px; --ic-md: 20px; --ic-lg: 24px;
  --fs-xs: 12px; --fs-sm: 14px; --fs-md: 16px; --fs-lg: 20px; --fs-xl: 28px;
  --line-1: #e6e6e6; --ease: 180ms ease;
}
.cz-cta, .cz-place, .cz-modal .cz-add, button.primary { min-height: var(--h-lg); border-radius: var(--r-md); font-size: var(--fs-md); transition: background var(--ease), border-color var(--ease), box-shadow var(--ease); }
.cz-plus, .cz-plus.sm, .cz-mstep button, .cz-step button { width: var(--h-sm); height: var(--h-sm); min-height: var(--h-sm); border-radius: var(--r-sm); }
.cz-field input, .cz-field select, .cz-field textarea, .cz-search { min-height: var(--h-md); border-radius: var(--r-sm); }
.cz-card, .cz-sq-media, .cz-basket, .cz-summary { border-radius: var(--r-md); }
svg.ic, .cz-search svg { width: var(--ic-md); height: var(--ic-md); }
.cz-section > h2, .cz-rail-head h2 { font-size: var(--fs-lg); }
.cz-price, .cz-card p { font-size: var(--fs-sm); }
.cz-rail, .cz-list { gap: var(--sp-3); }

/* Text-only cards (no photo): no placeholder, no reserved media space */
.cz-rail { align-items: stretch; }
.cz-sq.text { border: 1px solid var(--line-1); border-radius: var(--r-md); background: #fff; }
.cz-sq.text .cz-sq-hit { height: 100%; padding: var(--sp-4); padding-right: calc(var(--sp-4) + var(--h-sm)); grid-template-rows: auto 1fr auto; align-content: start; gap: var(--sp-2); }
.cz-sq.text strong { margin-top: 0; }
.cz-sq.text .cz-sq-desc { color: #4b5563; font-size: var(--fs-sm); -webkit-line-clamp: 4; }
.cz-sq.text .cz-plus { top: var(--sp-3); right: var(--sp-3); }
.cz-card:not(.has-photo) .cz-media, .cz-card:not(.has-photo) .cz-initial { display: none; }

/* v35 checkout & item polish */
.cz-qty, .cz-qty.sm { display: inline-flex; align-items: center; gap: 0; padding: 2px; border: 1px solid #e3e3e3 !important; border-radius: 12px; background: #fff; }
.cz-qty > *, .cz-modal .cz-qty > * { height: 40px !important; min-width: 40px; border: 0 !important; margin: 0 !important; background: transparent !important; border-radius: 10px !important; }
.cz-qty > button { width: 40px !important; font-size: 18px; color: #111; }
.cz-qty > button:hover:not(:disabled) { background: #f4f4f4 !important; }
.cz-qty > strong, .cz-qty > span { min-width: 28px !important; font-weight: 600; font-variant-numeric: tabular-nums; }
.cz-qty.sm > * { height: 32px !important; min-width: 32px; }
.cz-qty.sm > button { width: 32px !important; font-size: 16px; }
.cz-qty.sm > button svg { width: 15px; height: 15px; }
.cz-modal-foot .cz-qty { flex: none; }
.cz-req { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.cz-req.grey { background: #f1f1f1 !important; color: #111 !important; }
.cz-req.ok { background: #e8f5ec !important; color: #157a3c !important; }
.cz-req.bad { background: #fdecea !important; color: #b42318 !important; }
.cz-group.missing { animation: czshake .35s ease; }
.cz-group.missing .cz-group-head strong { color: #b42318; }
@keyframes czshake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.cz-sheet-bar { position: absolute; top: 0; left: 0; right: 0; z-index: 2; height: 62px; display: flex; align-items: center; padding: 0 64px 0 20px; background: #fff; border-bottom: 1px solid #eee; opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .18s ease, transform .18s ease; }
.cz-sheet-bar.on { opacity: 1; transform: none; }
.cz-sheet-bar strong { font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cz-modal.item-sheet { position: relative; }
.cz-x.float { z-index: 3; }
.cz-bar.bump { animation: czbump .45s ease; }
@keyframes czbump { 30% { transform: scale(1.03); } 60% { transform: scale(.99); } }
/* order details sheet */
.cz-modal.od { display: grid; gap: 16px; }
.cz-modal.od .cz-seg { display: flex; width: 100%; } .cz-modal.od .cz-seg button { flex: 1; min-height: 44px; }
.cz-modal.od .cz-field { margin-top: 0; text-align: left; justify-items: stretch; }
.cz-modal.od .cz-field > span, .cz-label { display: block; text-align: left; font-size: 14px; font-weight: 600; color: #111; margin-bottom: 6px; }
.cz-modal.od .cz-note { margin: -8px 0 0; text-align: left; }
.cz-when-opts { border: 1px solid #e6e6e6; border-radius: 12px; padding: 0 14px; }
.cz-when-opts .cz-opt { min-height: 52px; }
.cz-when-opts .cz-opt + .cz-opt { border-top: 1px solid #f0f0f0; }
.cz-days { display: flex; gap: 8px; overflow-x: auto; margin: 12px -2px 10px; padding: 2px; scrollbar-width: none; }
.cz-days::-webkit-scrollbar { display: none; }
.cz-day { flex: none; display: grid; justify-items: center; gap: 1px; min-width: 76px; min-height: 52px; padding: 6px 10px; border: 1px solid #e3e3e3; border-radius: 12px; background: #fff; color: #111; }
.cz-day small { color: #4b5563; font-size: 12px; }
.cz-day.on { border-color: var(--a, var(--accent, #111)); box-shadow: 0 0 0 1px var(--a, var(--accent, #111)); }
.cz-select { width: 100%; min-height: 48px; padding: 0 40px 0 14px; border: 1px solid #d9d9d9; border-radius: 10px; font: inherit; font-size: 16px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23555' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center; -webkit-appearance: none; appearance: none; color: #111; }
.cz-modal.od .cz-btn.primary:disabled { background: #e9e9e9 !important; color: #4b5563 !important; opacity: 1; }
.cz-btn.primary:disabled { opacity: .55; }

/* Basket: add-more strip and delivery minimum */
.cz-cart-more { padding: 14px 0 4px; }
.cz-more-row { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 0 6px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.cz-more-row::-webkit-scrollbar { display: none; }
.cz-more { position: relative; flex: 0 0 132px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--ln, #ececec); border-radius: 12px; padding: 10px 10px 12px; background: #fff; }
.cz-more img { width: 100%; height: 72px; object-fit: cover; border-radius: 8px; margin-bottom: 6px; }
.cz-more span { font-size: 13px; font-weight: 600; line-height: 1.25; padding-right: 30px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cz-more small { font-size: 12px; color: var(--mu, #6b6b6b); }
.cz-more .cz-plus { position: absolute; right: 8px; bottom: 8px; }
.cz-min { display: grid; gap: 6px; font-size: 13px; color: #92400e; margin-bottom: 10px; }
.cz-min b { display: block; height: 6px; border-radius: 99px; background: #fde68a; overflow: hidden; }
.cz-min i { display: block; height: 100%; background: #d97706; border-radius: 99px; transition: width .25s; }

/* Dashboard tablet polish: use the width between phone and desktop */
@media (min-width: 560px) and (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .accept-bar { align-items: center; }
  .accept-bar .btn { flex: 0 0 auto; min-width: 140px; }
  .page-head .row:has(> input[type="date"]) { display: flex; flex-wrap: wrap; gap: 10px; }
  .page-head .row:has(> input[type="date"]) > input { flex: 1 1 200px; width: auto; }
  .page-head .row:has(> input[type="date"]) > .btn { flex: 0 0 auto; }
}

/* Desktop checkout: Place order sits under the order summary, like Shopify */
@media (min-width: 900px) {
  .cz-co-side .cz-place { position: static; background: none; padding: 14px 0 0; margin: 0; }
  .cz-co-side .cz-cta { min-height: 54px; display: flex; width: 100%; align-items: center; justify-content: space-between; }
  .cz-drawer .cz-more-row { margin-right: -16px; padding-right: 16px; }
}

/* Round 1 (Oct 25): calmer, rounded, Shopify-style dashboard shell. Scoped to .app-body only. */
.app-body .side { gap: 2px; }
.app-body .side a, .app-body .side button.nav { border-radius: 10px; margin: 0 4px; }
.app-body .side a.on { background: var(--saffron-soft, #fdecee); color: var(--saffron); border-radius: 10px; }
.app-body .side a.on svg { color: var(--saffron); }
.app-body .nav-label { letter-spacing: .06em; font-size: 11px; margin-top: 14px; }
.app-body .topbar-app { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.app-body .dash-wrap { background: #f8f8f7; }
.app-body .dash-wrap > * { max-width: 1180px; margin-left: auto; margin-right: auto; }
.app-body .btn { border-radius: 10px !important; transition: background .15s, box-shadow .15s, transform .05s; }
.app-body .btn:active { transform: translateY(1px); }
.app-body .btn.small { border-radius: 10px !important; }
.app-body .btn.ghost:hover { background: #f7f7f7; }
.app-body .pill-tabs.order-tabs button { border-radius: 0 !important; }
.app-body .panel, .app-body .card, .app-body .stat { border-radius: 14px !important; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.app-body .dash-wrap input:not([type=checkbox]):not([type=radio]):not([type=color]),
.app-body .dash-wrap select, .app-body .dash-wrap textarea { border-radius: 10px !important; }
.app-body .dash-wrap input:focus-visible, .app-body .dash-wrap select:focus-visible, .app-body .dash-wrap textarea:focus-visible, .app-body .btn:focus-visible { outline: 2px solid var(--saffron); outline-offset: 2px; }
.app-body .empty-state { background: #fff; }
@media (max-width: 760px) {
  .app-body .dash-wrap { padding: 16px; }
  .app-body .dash-wrap input, .app-body .dash-wrap select, .app-body .dash-wrap textarea { font-size: 16px; }
  .app-body .dash-wrap form .btn.primary, .app-body .dash-wrap .form-actions .btn { width: 100%; min-height: 48px; }
}

/* Website round A (Oct 25): one rounded, calm language on the ordering site. Scoped to .dine-body. */
.dine-body { --cz-r: 14px; --cz-rb: 12px; }
.dine-body .cz-card, .dine-body .cz-sq, .dine-body .cz-summary, .dine-body .cz-box, .dine-body .cz-co-sec,
.dine-body .cz-pay-opt, .dine-body .cz-opt, .dine-body .cz-when-opts, .dine-body .cz-upsell, .dine-body .cz-empty { border-radius: var(--cz-r) !important; }
.dine-body .cz-card, .dine-body .cz-sq { overflow: hidden; transition: box-shadow .15s, border-color .15s; }
.dine-body .cz-card:hover, .dine-body .cz-sq:hover { box-shadow: 0 6px 18px rgba(16,24,40,.08); }
.dine-body .cz-card-img, .dine-body .cz-sq-media, .dine-body .cz-thumb { border-radius: 10px !important; }
.dine-body .cz-plus { border-radius: 999px !important; }
.dine-body .btn, .dine-body .cz-btn, .dine-body .cz-cta, .dine-body .cz-place button, .dine-body .cz-seg, .dine-body .cz-select,
.dine-body .cz-search, .dine-body input, .dine-body select, .dine-body textarea, .dine-body .cz-coupon, .dine-body .cz-field input { border-radius: var(--cz-rb) !important; }
.dine-body .cz-seg > button { border-radius:8px !important; }
.dine-body .cz-chip, .dine-body .cz-pill, .dine-body .cz-tag, .dine-body .cz-cats button, .dine-body .cz-arrows button { border-radius: 999px !important; }
.dine-body .cz-side button, .dine-body .cz-side a { border-radius: 10px !important; }
.dine-body .cz-qty, .dine-body .cz-mstep { border-radius: 999px !important; overflow: hidden; }
.dine-body .cz-qty > button, .dine-body .cz-mstep > button, .dine-body .cz-qty > :last-child, .dine-body .cz-mstep > :last-child { border-radius: 0 !important; }
.dine-body .btn:focus-visible, .dine-body button:focus-visible, .dine-body input:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
@media (min-width: 900px) {
  .dine-body .cz-modal.od, .dine-body .cz-modal.item-sheet { border-radius: 20px !important; overflow: hidden; }
  .dine-body .cz-drawer { border-radius: 20px 0 0 20px !important; }
}
@media (max-width: 899px) {
  .dine-body .cz-modal.od { border-radius: 20px 20px 0 0 !important; }
  .dine-body .cz-search, .dine-body input, .dine-body select, .dine-body textarea { font-size: 16px; }
}
.dine-body .cz-x { border-radius: 999px !important; }
.dine-body .cz-cart { border-radius: 12px !important; }
.dine-body .cz-bar { border-radius: 14px !important; }

/* Website round B */
.dine-body .cz-co-sec .cz-field + .cz-field, .dine-body .cz-co-sec .cz-two + .cz-field { margin-top: 14px; }
@media (max-width: 860px) { .dine-body .cz-modal.item-sheet { border-radius: 20px 20px 0 0 !important; } }

/* Website round C */
@media (max-width: 899px) {
  .dine-body .cz-search { display: flex; gap: 8px; align-items: center; border: 1.5px solid #e2e2e2; padding: 0 12px; margin: 0 0 10px; color: #4b5563; background: #fff; }
  .dine-body .cz-search input { border: 0; outline: 0; font: inherit; font-size: 16px; min-height: 42px; width: 100%; background: transparent; }
}
.dine-body .cz-empty { text-align: center; padding: 40px 20px; display: grid; gap: 10px; justify-items: center; }
.dine-body .cz-empty h2 { margin: 0; font-size: 18px; }
.dine-body .cz-empty p { margin: 0; color: #4b5563; }
.dine-body .cz-section h2, .dine-body .cz-rail-head h2 { letter-spacing: -0.01em; line-height: 1.2; }

/* Round D: order tracking polish */
.dine-body .track, .track { border-radius: 20px !important; }
.track .status-live { font-size: 18px !important; font-weight: 700 !important; color: #111 !important; }
.track-actions .btn { white-space: nowrap; font-size: 14px; padding: 0 10px; border-radius: 12px !important; }
.track-where { border-radius: 14px !important; }
.track-actions a.btn, .track-actions .btn { text-decoration: none !important; }

/* Round E: tap targets */
.dine-body .cz-arrows button { width: 40px !important; height: 40px !important; min-height: 40px !important; border-radius: 999px !important; }
.dine-body .cz-dot { color: #4b5563; }

/* Dash R1: admin quick-create wizard */
.qc form { width: min(680px, 100%); display: grid; gap: 12px; }
.qc-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.qc-top h2 { margin: 0; }
.qc-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 0; margin: 4px 0 6px; counter-reset: s; }
.qc-steps li { font-size: 12px; font-weight: 600; color: #4b5563; border-top: 4px solid #e5e7eb; padding-top: 6px; border-radius: 2px; }
.qc-steps li.on { color: #111; border-color: var(--saffron, #c8102e); }
.qc-steps li.done { color: #111; border-color: #111; }
.qc-steps li::before { content: attr(data-n) ". "; }
.qc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.qc-hint { display: block; margin-top: 6px; color: #4b5563; font-size: 13px; }
.qc-sub { font-size: 15px; margin: 8px 0 0; }
.qc-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qc-tile { display: grid; gap: 4px; text-align: left; padding: 14px; background: #fff; border: 1.5px solid #e5e7eb !important; border-radius: 14px !important; cursor: pointer; font: inherit; color: #111; min-height: 76px; }
.qc-tile span { font-size: 13px; color: #3f3f46; font-weight: 400; }
.qc-tile.on { border-color: var(--saffron, #c8102e) !important; box-shadow: 0 0 0 3px color-mix(in srgb, var(--saffron, var(--saffron, #c8102e)) 12%, transparent); }
.qc-swatch { width: 22px; height: 22px; border-radius: 999px; display: block; }
.qc-review { display: grid; grid-template-columns: 140px 1fr; gap: 8px 12px; margin: 0; }
.qc-review dt { color: #4b5563; font-size: 14px; }
.qc-review dd { margin: 0; font-weight: 600; }
.qc-next { display: grid; gap: 10px; padding-left: 20px; margin: 0 0 14px; }
.qc-next li { display: grid; gap: 2px; }
.qc-next span { color: #3f3f46; font-size: 14px; }
@media (max-width: 600px) {
  .qc-grid, .qc-tiles { grid-template-columns: 1fr; }
  .qc-steps li { font-size: 0; }
  .qc-steps li::before { font-size: 12px; }
  .qc-steps li.on { font-size: 12px; }
  .qc-review { grid-template-columns: 1fr; gap: 2px; }
  .qc-review dd { margin-bottom: 8px; }
  .wizard.qc { align-items: flex-end; padding: 0; }
  .wizard.qc form { max-height: 94dvh; border-radius: 20px 20px 0 0 !important; }
}

/* Dash R1: owner home setup hero + compact stats */
.app-body .setup-hero { display: flex; gap: 20px; align-items: center; border: 1.5px solid color-mix(in srgb, var(--saffron, var(--saffron, #c8102e)) 25%, #fff) !important; background: linear-gradient(135deg, #fff 0%, color-mix(in srgb, var(--saffron, var(--saffron, #c8102e)) 4%, #fff) 100%); }
.app-body .setup-ring { --p: 0; flex: 0 0 88px; width: 88px; height: 88px; border-radius: 999px; display: grid; place-items: center; background: conic-gradient(var(--saffron, #c8102e) calc(var(--p) * 1%), #f1f1f1 0); }
.app-body .setup-ring span { width: 68px; height: 68px; border-radius: 999px; background: #fff; display: grid; place-items: center; font-weight: 700; font-size: 18px; }
.app-body .setup-copy { display: grid; gap: 6px; justify-items: start; }
.app-body .setup-copy h2 { margin: 0; font-size: 22px; }
.app-body .setup-copy .eyebrow { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--saffron, #c8102e); }
.app-body .setup-copy .muted { margin: 0 0 6px; }
@media (max-width: 600px) {
  .app-body .setup-hero { flex-direction: column; align-items: flex-start; gap: 12px; }
  .app-body .setup-ring { width: 64px; height: 64px; flex-basis: 64px; }
  .app-body .setup-ring span { width: 48px; height: 48px; font-size: 14px; }
  .app-body .setup-copy .btn { width: 100%; justify-content: center; }
  .app-body .stats { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 8px !important; }
  .app-body .stats > * { padding: 12px !important; flex-direction: column; align-items: flex-start !important; gap: 6px !important; }
  .app-body .stats .stat-ico, .app-body .stats em { display: none !important; }
  .app-body .stats b { font-size: 20px !important; line-height: 1.2; display: block; }
  .app-body .stats span { font-size: 12px; }
}
.app-body a.btn, .app-body .setup-copy a.btn { text-decoration: none !important; }

/* Dash R2: tablet polish */
.app-body .setup-hero { margin-bottom: 16px !important; }
@media (min-width: 721px) and (max-width: 1100px) {
  .app-body .stats { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 12px !important; }
  .app-body .stats .stat em { display: none; }
  .app-body .stats .stat b { font-size: 26px; }
}
.app-body .hour-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
@media (max-width: 1100px) {
  .app-body .pill-tabs { flex-wrap: nowrap !important; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
  .app-body .pill-tabs::-webkit-scrollbar { display: none; }
  .app-body .pill-tabs button { flex: 0 0 auto; white-space: nowrap; }
}
.app-body .cat-photo { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: #1f2937; margin: 4px 0 10px; }
.app-body .cat-photo small { font-weight: 400; color: #4b5563; }
.app-body .menu-guide { margin: 10px 0 0; background: color-mix(in srgb, var(--saffron, var(--saffron, #c8102e)) 4%, #fff); border: 1px solid color-mix(in srgb, var(--saffron, var(--saffron, #c8102e)) 25%, #fff); border-radius: 12px !important; padding: 10px 14px; max-width: 640px; }
.app-body .menu-guide summary { font-weight: 700; cursor: pointer; }
.app-body .menu-guide ol { margin: 8px 0 2px; padding-left: 20px; display: grid; gap: 4px; color: #1f2937; font-size: 14px; }

/* Dash R3 */
.qc-steps li[role="button"] { cursor: pointer; }
.qc-steps li[role="button"]:hover { color: var(--saffron, #c8102e); }
.qc-review dd { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.qc-edit { background: none; border: 0; color: var(--saffron, #c8102e); font-weight: 600; font-size: 13px; cursor: pointer; padding: 4px 6px; min-height: 32px; }
@media (max-width: 720px) {
  .qc-steps li, .qc-steps li.on { font-size: 11px !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .qc-steps li::before { font-size: 11px !important; }
}
.app-body .field-head { display: grid; gap: 2px; margin-top: 14px; }
.app-body .field-help { font-size: 13px; line-height: 1.4; color: #4b5563; font-weight: 400; }
.app-body .empty-state strong { display: block; font-size: 17px; margin-bottom: 4px; }
.app-body .empty-state .btn { margin-top: 8px; }
.rest-filters { margin: 4px 0 12px; }
.rest-site { color: var(--saffron, #c8102e); text-decoration: none; font-weight: 600; }
.rest-site:hover { text-decoration: underline; }
.qc-sub { margin: 18px 0 8px !important; padding-top: 14px; border-top: 1px solid #eee; font-size: 16px; }
@media (max-width: 600px) {
  .app-body .toolbar:has(input[aria-label="Search restaurants"]) { flex-wrap: wrap; }
  .app-body .toolbar input[aria-label="Search restaurants"] { flex: 1 1 100%; }
  .app-body .toolbar:has(input[aria-label="Search restaurants"]) .btn { flex: 1 1 100%; }
}
.card > .field-help { font-size: 13px; line-height: 1.4; color: #4b5563; margin: 4px 0 10px; }
/* Dash R6 */
.manage-actions label.check, .manage-pop label.check { display: flex !important; align-items: center; justify-content: flex-start; gap: 10px; width: 100%; text-align: left; padding: 10px 2px; grid-template-columns: none !important; }
.manage-actions label.check input, .manage-pop label.check input { width: 18px; height: 18px; flex: 0 0 auto; margin: 0; }
.manage-actions .invite-note, .manage-pop .invite-note { font-size: 13px; margin: 0; }
.manage-actions a.btn, .manage-pop a.btn { display: flex; align-items: center; text-decoration: none; }
/* Dash R7 */
.app-body .rest-card .btn.small, .app-body .manage-actions .btn { min-height: 44px; }
@media (min-width: 600px) { .cz-two.cz-house { grid-template-columns: 1fr 2fr; } }
.app-body .delivery-note { margin: 6px 0 0; font-size: 13px; }
.app-body .qc-more { margin: 12px 0 4px; }
.app-body .qc-more summary { cursor: pointer; font-weight: 600; font-size: 14px; padding: 8px 0; }
.card > .ops-sub { margin: 18px 0 2px; font-size: 15px; }

/* Dash R8 — shared spacing system: one gutter, one card padding, one section rhythm across storefront, dashboard and admin */
:root { --gutter: 16px; --card-pad: 16px; --section-gap: 24px; --stack: 16px; }
@media (min-width: 600px) { :root { --gutter: 24px; --card-pad: 24px; --section-gap: 32px; } }
.cz { padding-left: var(--gutter) !important; padding-right: var(--gutter) !important; }
.cz-section { padding-top: var(--section-gap) !important; }
.cz-checkout { gap: var(--stack) !important; }
.host-wrap, .dine { padding-left: var(--gutter) !important; padding-right: var(--gutter) !important; }
.app-body .card, .admin-body .card { padding: var(--card-pad) !important; }
.app-body .sheet .card { padding: var(--card-pad) !important; }

/* Round 10 — Refer & earn */
.ref-offer { display: grid; gap: var(--stack); grid-template-columns: 1fr; margin: 4px 0 var(--stack); }
.ref-offer > div { border: 1px solid var(--line, #e5e7eb); border-radius: 12px; padding: var(--card-pad); display: grid; gap: 2px; background: #fafafa; }
.ref-offer strong { font-size: 22px; letter-spacing: -.01em; }
.ref-k { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted, #6b7280); font-weight: 650; }
.ref-steps { margin: 0 0 12px; padding-left: 20px; display: grid; gap: 8px; }
.ref-steps li strong { display: block; }
.ref-steps li span { color: var(--muted, #6b7280); font-size: 14px; }
.ref-share-row { display: grid; gap: var(--stack); grid-template-columns: 1fr; align-items: start; }
.ref-share-main { display: grid; gap: 12px; min-width: 0; }
.ref-code strong { display: block; font-size: 26px; letter-spacing: .08em; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.ref-link { width: 100%; min-height: 44px; border: 1px solid var(--line, #e5e7eb); border-radius: 10px; padding: 0 12px; font-size: 14px; background: #fafafa; min-width: 0; }
.ref-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.ref-btns .btn { flex: 1 1 auto; justify-content: center; text-align: center; text-decoration: none; }
.ref-qr { margin: 0; display: grid; justify-items: center; gap: 8px; }
.ref-qr img { width: 160px; height: 160px; border: 1px solid var(--line, #e5e7eb); border-radius: 12px; padding: 6px; background: #fff; }
.ref-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 var(--stack); }
.ref-stat { border: 1px solid var(--line, #e5e7eb); background: #fff; border-radius: 12px; padding: 12px var(--card-pad); display: grid; }
.ref-stat strong { font-size: 24px; }
.ref-stat span { color: var(--muted, #6b7280); font-size: 13px; }
.ref-list { list-style: none; margin: 0; padding: 0; }
.ref-list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line, #e5e7eb); }
.ref-list li > div:first-child { display: grid; min-width: 0; }
.ref-side { display: grid; justify-items: end; gap: 2px; text-align: right; flex: none; }
.ref-pill { font-size: 12px; font-weight: 650; padding: 3px 9px; border-radius: 999px; background: #f3f4f6; white-space: nowrap; }
.ref-pill.s-live { background: #eff8ff; color: #175cd3; }
.ref-pill.s-reward_earned { background: #fef6e7; color: #b54708; }
.ref-pill.s-applied { background: #ecfdf3; color: #067647; }
.ref-pill.s-rejected { background: #fef3f2; color: #b42318; }
@media (min-width: 600px) {
  .ref-offer { grid-template-columns: 1fr 1fr; }
  .ref-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ref-share-row { grid-template-columns: minmax(0, 1fr) auto; }
}
.adm-ref-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.adm-ref-table th, .adm-ref-table td { text-align: left; padding: 10px 8px; border-top: 1px solid var(--line, #e5e7eb); vertical-align: top; }
.adm-ref-table td .btn { margin: 0 4px 4px 0; }
.adm-ref-scroll { overflow-x: auto; }
.ref-set { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .ref-set { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; padding: 6px 0; }
.row-between .btn { margin-left: 6px; }

/* Round 13: menu builder */
.menu-tabs { display: flex; gap: 8px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.menu-tab { display: grid; padding: 8px 14px; border-radius: 10px; text-decoration: none; color: var(--ink); border: 1px solid transparent; min-width: 0; }
.menu-tab small { color: var(--muted); font-size: 12px; }
.menu-tab.on { background: var(--saffron-soft); border-color: var(--line); }
.layout-library { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 14px; align-items: start; }
.lib-card { border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin: 10px 4px; display: grid; gap: 8px; background: #fff; transition: box-shadow .15s, border-color .15s; }
.lib-card.drop-on { border-color: var(--ink); box-shadow: 0 0 0 3px var(--saffron-soft); }
.lib-top { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.lib-photo { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }
.pill { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #f1f1ef; color: var(--ink-soft); }
.pill.kind-variant { background: #e8f0ff; } .pill.kind-combo { background: #fff1d6; } .pill.kind-choice { background: #eaf7ee; }
.opt-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.opt-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); background: #fafaf8; }
.opt-chip img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.opt-chip.off { opacity: .5; text-decoration: line-through; }
.drop-zone { border: 1.5px dashed var(--line); border-radius: 10px; padding: 10px; text-align: center; color: var(--muted); font-size: 13px; }
.palette { position: sticky; top: 8px; max-height: calc(100vh - 40px); display: flex; flex-direction: column; }
.palette input[type=search] { border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; margin: 0 4px 8px; }
.palette-list { overflow-y: auto; min-height: 0; }
.pal-cat, .pal-item { display: flex; gap: 8px; align-items: center; padding: 7px 8px; border-radius: 8px; cursor: grab; flex-wrap: wrap; }
.pal-cat { background: #f6f6f3; margin-top: 8px; }
.pal-cat small, .pal-item small { margin-left: auto; font-size: 12px; }
.pal-item:hover, .pal-cat:hover { background: var(--saffron-soft); }
.day-pick { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; margin: 4px 0 10px; }
.day-pick .day { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 6px 9px; font-size: 13px; min-width: 44px; min-height: 36px; }
.day-pick .day.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.field-label { display: block; font-size: 14px; font-weight: 700; color: var(--ink-soft); margin-top: 6px; }
.check-line { display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap; margin: 6px 0; }
.item-extras .avail { margin: 8px 0 12px; }
.mod-photo { position: relative; width: 36px; height: 36px; border-radius: 8px; border: 1px dashed var(--line); display: inline-grid; place-items: center; overflow: hidden; cursor: pointer; flex: none; }
.mod-photo img { width: 100%; height: 100%; object-fit: cover; }
.mod-photo input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.row-thumb { width: 34px; height: 34px; border-radius: 6px; object-fit: cover; flex: none; }
.dish-row .badge-text { color: #9a5b00; }
.bundle-picks { max-height: 280px; overflow-y: auto; border: 1px solid var(--line); border-radius: 10px; padding: 8px; }
.bundle-picks .pick-cat { font-weight: 700; font-size: 13px; margin: 8px 0 2px; width: 100%; }
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 99; font-size: 14px; }
@media (max-width: 900px) {
  .layout-library { grid-template-columns: 1fr; }
  .palette { position: static; max-height: 420px; }
}
/* Round 13 storefront */
.cz-badges{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:4px}
.cz-badge2{font-size:11px;font-weight:700;padding:2px 7px;border-radius:999px;background:#f1f1f1;color:#111}
.cz-badge2.chef{background:#fff1e0;color:#9a4b00}.cz-badge2.deal{background:#e8f7ec;color:#156c2f}.cz-badge2.pop{background:#eef2ff;color:#3442a0}
.cz-diets{display:inline-flex;gap:3px;align-items:center;margin-left:6px}
.cz-diet{font-size:10px;font-weight:800;min-width:20px;height:20px;padding:0 4px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;border:1.5px solid #2e7d32;color:#2e7d32}
.cz-diet.d-halal{border-color:#00695c;color:#00695c}.cz-diet.d-glutenfree,.cz-diet.d-gf{border-color:#8d6e00;color:#8d6e00}
.cz-spice{font-size:12px;margin-left:2px}
.cz-kcal{font-size:12px;color:#4b5563;margin-left:6px}
.cz-avail{display:inline-block;font-size:12px;font-weight:600;color:#a04000;margin-top:4px}
.cz-card.featured{box-shadow:inset 0 0 0 2px var(--cz-accent,#e4572e)}
.cz-cat-img{width:100%;max-height:180px;object-fit:cover;border-radius:12px;margin-bottom:8px}
.cz-cat-desc{color:#4b5563;margin:-4px 0 10px;font-size:14px}
.cz-modal-tags{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:6px 0}
.cz-allergen-box{border:1px solid #eee;border-radius:10px;padding:8px 12px;margin:8px 0;font-size:13px}
.cz-allergen-box summary{cursor:pointer;font-weight:600}
.cz-allergens.muted{color:#4b5563;font-size:12px}
.cz-group.nested{margin-left:14px;border-left:3px solid #eee;padding-left:12px}
.cz-nest-for{display:block;color:#4b5563;font-size:12px;margin-bottom:2px}
.cz-opt-img{width:40px;height:40px;object-fit:cover;border-radius:8px;margin-right:8px;flex:none}
.cz-upsell-sub{display:block;color:#4b5563;font-size:12px;margin:-2px 0 6px}
@media (max-width:600px){.cz-diet{min-width:18px;height:18px}.cz-group.nested{margin-left:6px;padding-left:8px}}
.move-btns{display:inline-flex;gap:2px;flex:none}
.move-btn{min-width:30px;padding:2px 6px}
.cat-line{display:flex;align-items:center;gap:4px}.cat-line>.cat{flex:1}
.dish-pick{display:flex;align-items:center;gap:6px}.dish-pick>.dish-row{flex:1}

.cz-status.calm { color: #8a5a00; }
.cz-banner.info, .cz-banner:not(.bad):not(.ok) { background: #fff8e6; color: #6b4a00; }
.cz-why { margin: 0 0 8px; font-size: 13px; flex-basis: 100%; }

.cz-testpay { display:inline-block; margin-left:8px; padding:2px 8px; border-radius:999px; background:#fff3cd; color:#7a5300; font-size:12px; font-weight:600; vertical-align:middle; }
.cz-wallets { display:grid; gap:8px; margin:8px 0 12px; }
.cz-applepay { background:#000; color:#fff; }

/* ===== Calm brand pass (Oct 26): one accent colour drives every highlight ===== */
body:has(.cz-bar) .lang-float, body:has(.cz-back) .lang-float, body:has(.cz-checkout) .lang-float, body:has(.rsv) .lang-float { display: none !important; }
.cz-cats button.on { background: var(--a, var(--accent, #111)); color: var(--oa, var(--on-accent, #fff)); }
.cz-side .cz-cats button.on, .cz-side button.on { background: color-mix(in srgb, var(--a, var(--accent, #111)) 10%, #fff); color: var(--a, var(--accent, #111)); box-shadow: inset 3px 0 0 var(--a, var(--accent, #111)); }
@media (max-width: 899px) { .cz-side .cz-cats button.on { box-shadow: none; background: var(--a, var(--accent, #111)); color: var(--oa, var(--on-accent, #fff)); } }
.cz-seg button.on { color: var(--a, var(--accent, #111)); font-weight: 700; }
.cz-opt.on .cz-mark { border-color: var(--a, #111); background: var(--a, #111); }
.cz-check input { accent-color: var(--a, var(--accent, #111)); }
.cz-cart { border-radius: 50% !important; }
.cz-x { border-radius: 50% !important; border: 0 !important; background: #f3f3f2 !important; }
.cz-x:hover { background: #e9e9e7 !important; }
.cz-plus, .cz-plus.sm, .cz-card:not(.has-photo) .cz-plus, .cz-sq .cz-plus { border-radius: 50% !important; transition: background .15s, color .15s, transform .1s; }
.cz-plus:hover { background: var(--a, #111) !important; color: var(--oa, #fff) !important; border-color: var(--a, #111) !important; }
.cz-plus:active { transform: scale(.92); }
.cz-plus.has { background: var(--a, #111) !important; color: var(--oa, #fff) !important; border-color: var(--a, #111) !important; }
.cz-card, .cz-sq-media { transition: box-shadow .2s, transform .2s; }
.cz-card { border-color: #efefee !important; border-radius: 16px !important; }
@media (hover: hover) { .cz-card:hover { box-shadow: 0 8px 24px rgba(17,17,17,.07); transform: translateY(-1px); } }
.cz-bar { border-radius: 999px !important; max-width: 520px; margin: 0 auto; box-shadow: 0 12px 32px color-mix(in srgb, var(--a, #111) 28%, transparent) !important; }
.cz-bar:active { transform: scale(.99); }
.track-line li.done::before, .track-line li.now::before { background: var(--accent, #111); }
.track-line li.done .dot { background: var(--accent, #111); border-color: var(--accent, #111); }
.track-line li.now .dot { border-color: var(--accent, #111); }
/* sticky pay button on phones, like the big apps */
@media (max-width: 899px) {
  .cz-checkout .cz-place { position: sticky; bottom: 0; z-index: 20; background: linear-gradient(180deg, rgba(255,255,255,0), #fff 18%); margin: 0 -16px; padding: 18px 16px calc(12px + env(safe-area-inset-bottom)); }
  .cz-checkout .cz-place .cz-trust { margin: 8px 0 0; }
}
.cz-co-sec { border-color: #f0f0ef !important; }
.cz-co-sec h2 { letter-spacing: -.01em; }

/* ===== Table booking ===== */
.rsv { max-width: 640px; margin: 8px auto 48px; padding: 0 16px; font-family: var(--font, system-ui, sans-serif); color: #111; --a: var(--accent, #111); --oa: var(--on-accent, #fff); }
.rsv-head h2 { margin: 8px 0 6px; font-size: 26px; letter-spacing: -.02em; }
.rsv-sub { margin: 0; color: #4b5563; font-size: 15px; line-height: 1.5; }
.rsv-step { margin-top: 26px; }
.rsv-step h3 { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #4b5563; }
.rsv-chips, .rsv-times { display: flex; flex-wrap: wrap; gap: 8px; }
.rsv-chip, .rsv-more { min-width: 52px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid #e3e3e1; background: #fff; font: inherit; font-size: 15px; font-weight: 600; color: #111; cursor: pointer; transition: border-color .15s, background .15s; }
.rsv-chip:hover { border-color: #bdbdbb; }
.rsv-chip.on { background: var(--a); border-color: var(--a); color: var(--oa); }
.rsv-days { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.rsv-days::-webkit-scrollbar { display: none; }
.rsv-day { flex: none; display: grid; justify-items: center; gap: 2px; min-width: 78px; padding: 10px 12px; border-radius: 14px; border: 1px solid #e3e3e1; background: #fff; font: inherit; cursor: pointer; color: #111; }
.rsv-day small { color: #4b5563; font-size: 12px; }
.rsv-day.on { border-color: var(--a); box-shadow: 0 0 0 1px var(--a); background: color-mix(in srgb, var(--a) 6%, #fff); }
.rsv-field { position: relative; display: block; margin-top: 10px; }
.rsv-field input { width: 100%; box-sizing: border-box; height: 56px; padding: 22px 14px 6px; border: 1px solid #dcdcda; border-radius: 12px; font: inherit; font-size: 16px; background: #fff; }
.rsv-field span { position: absolute; left: 15px; top: 18px; color: #7a7a7a; font-size: 16px; pointer-events: none; transition: all .15s; }
.rsv-field input:focus { outline: none; border-color: var(--a); box-shadow: 0 0 0 3px color-mix(in srgb, var(--a) 18%, transparent); }
.rsv-field input:focus + span, .rsv-field input:not(:placeholder-shown) + span { top: 8px; font-size: 12px; }
.rsv .error { color: #b42318; min-height: 20px; margin: 14px 0 4px; font-size: 14px; }
.rsv-send { width: 100%; min-height: 56px; border-radius: 999px !important; display: flex; justify-content: space-between; align-items: center; font-size: 16px; font-weight: 700; border: 0; cursor: pointer; }
.rsv-send:disabled { opacity: .6; }
.rsv-back { display: block; margin: 12px auto 0; }
.rsv-done { max-width: 520px; margin: 40px auto; padding: 0 16px; text-align: center; display: grid; justify-items: center; gap: 10px; font-family: var(--font, system-ui, sans-serif); }
.rsv-done .cz-cta { min-width: 240px; border-radius: 999px !important; justify-content: center; }

/* ---- Order details modal v2: head / scrolling body / sticky foot ---- */
.cz-modal.od { display: flex !important; flex-direction: column; padding: 0 !important; gap: 0 !important; overflow: hidden !important; width: 100%; max-width: 480px; max-height: 88dvh; }
.cz-modal.od > .cz-modal-head { padding: 18px 20px 10px; flex: none; }
.cz-modal.od .od-body { flex: 1 1 auto; min-height: 0; min-width: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; padding: 4px 20px 16px; display: flex; flex-direction: column; gap: 14px; }
.cz-modal.od .od-body > * { min-width: 0; max-width: 100%; }
.cz-modal.od .od-foot { flex: none; padding: 12px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid #eee; background: #fff; }
.cz-modal.od .od-foot .cz-btn { width: 100%; margin: 0; }
.cz-modal.od .cz-note { margin: 0 !important; display: flex; gap: 6px; align-items: flex-start; color: #3f3f46; font-size: 14px; line-height: 1.4; }
.cz-modal.od .cz-when { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.cz-modal.od .cz-when-opts { display: grid; gap: 8px; }
.cz-modal.od .cz-days { display: flex; flex-wrap: nowrap; overflow-x: auto; margin: 0; padding: 2px 2px 6px; max-width: 100%; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.cz-modal.od .cz-day { scroll-snap-align: start; }
.cz-modal.od .cz-select { width: 100%; min-height: 48px; }
/* Collection / Delivery: two exactly equal halves, active one filled */
.cz-seg, .cz-modal.od .cz-seg, .cz-how .cz-seg, .cz-drawer-top .cz-seg { display: grid !important; grid-auto-flow: column; grid-auto-columns: 1fr; width: 100%; height: auto !important; min-height: 0; padding: 4px !important; gap: 4px; background: #f1f1f1 !important; border: 0 !important; border-radius: 999px !important; box-sizing: border-box; }
.cz-seg > button, .dine-body .cz-seg > button { width: 100%; min-width: 0; min-height: 44px; padding: 8px 10px !important; border: 0 !important; border-radius: 999px !important; background: transparent !important; color: #111 !important; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: none !important; }
.cz-seg > button.on { background: var(--a, var(--accent, #111)) !important; color: #fff !important; box-shadow: 0 2px 8px rgba(0,0,0,.12) !important; }
@media (max-width: 640px) {
  .cz-back.center:has(.cz-modal.od) { align-items: flex-end; }
  .cz-modal.od { max-width: none; border-radius: 20px 20px 0 0 !important; max-height: 90dvh; }
}
@media (min-width: 641px) { .cz-modal.od { border-radius: 20px !important; } }

/* ---- Guest booking status ---- */
.bk { max-width: 560px; margin: 24px auto 48px; padding: 0 16px; }
.bk-card { background: #fff; border: 1px solid #ececec; border-radius: 22px; padding: 28px 24px; box-shadow: 0 10px 40px rgba(0,0,0,.06); display: flex; flex-direction: column; gap: 14px; }
.bk-loading { color: #4b5563; text-align: center; }
.bk-card h2 { margin: 0; font-size: 26px; line-height: 1.2; font-weight: 750; letter-spacing: -.01em; }
.bk-sub { margin: 0; color: #3f3f46; font-size: 15px; line-height: 1.5; }
.bk-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: #fff6e5; color: #8a5a00; }
.bk-ok .bk-badge { background: #e8f7ee; color: #146c3a; }
.bk-no .bk-badge { background: #fdecec; color: #a3201d; }
.bk-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.bk-wait .bk-dot, .bk-banner.bk-wait .bk-dot, .bk-pill.bk-wait .bk-dot { color: #d98a00; animation: bkpulse 1.6s ease-in-out infinite; }
.bk-ok .bk-dot { color: #1a9a52; } .bk-no .bk-dot { color: #d0342c; }
@keyframes bkpulse { 0%,100% { opacity: 1 } 50% { opacity: .35 } }
.bk-steps { list-style: none; margin: 4px 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bk-steps li { position: relative; padding-top: 12px; font-size: 13px; font-weight: 600; color: #4b5563; }
.bk-steps li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 4px; background: #eee; }
.bk-steps li.done::before { background: var(--accent, #111); } .bk-steps li.done { color: #111; }
.bk-steps li.now::before { background: linear-gradient(90deg, var(--accent, #111) 40%, #eee 40%); }
.bk-no .bk-steps li:last-child::before { background: #d0342c; }
.bk-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; }
.bk-facts > div { background: #f7f7f7; border-radius: 14px; padding: 12px; min-width: 0; }
.bk-facts dt { font-size: 12px; color: #4b5563; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.bk-facts dd { margin: 4px 0 0; font-size: 15px; font-weight: 700; color: #111; overflow-wrap: anywhere; }
.bk-contact { display: flex; flex-direction: column; gap: 4px; padding: 14px 0 0; border-top: 1px solid #f0f0f0; font-size: 14px; color: #3f3f46; }
.bk-contact strong { color: #111; font-size: 15px; }
.bk-call { color: var(--accent, #111); font-weight: 700; text-decoration: none; margin-top: 4px; }
.bk-checked { margin: 0; font-size: 12px; color: #4b5563; }
.bk-acts { display: grid; gap: 10px; margin-top: 4px; }
.bk-acts .cz-btn { width: 100%; }
.bk-banner { display: flex; align-items: center; gap: 10px; width: calc(100% - 32px); max-width: 1180px; margin: 12px auto 0; padding: 12px 16px; border: 1px solid #ececec; border-radius: 14px; background: #fff; text-align: left; font: inherit; font-size: 14px; color: #111; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.bk-banner strong { color: #111; white-space: nowrap; }
.bk-banner > span:nth-child(3) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #4b5563; }
.bk-banner .bk-go { color: var(--accent, #111); font-weight: 700; white-space: nowrap; }
.bk-pill { position: fixed; z-index: 60; left: 50%; transform: translateX(-50%); bottom: calc(84px + env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #111; color: #fff; text-decoration: none; font-size: 14px; box-shadow: 0 8px 28px rgba(0,0,0,.25); white-space: nowrap; }
.bk-pill span:last-child { opacity: .75; }
@media (min-width: 861px) { .bk-pill { bottom: 24px; } }
@media (max-width: 520px) { .bk-facts { grid-template-columns: 1fr 1fr; } .bk-facts > div:last-child { grid-column: span 2; } .bk-card { padding: 22px 18px; } .bk-banner > span:nth-child(3) { display: none; } }
.bk-acts .cz-btn { justify-content: center; text-align: center; }
.bk { scroll-margin-top: 96px; }

/* Buttons: small rounded corners (9px) everywhere, premium rectangle, not pill and not square. Grouped steppers keep joined inner edges. */
button:not(.sp-fab):not(.sp-icon):not(.basket-bar):not(.cz-qty > button):not(.cz-mstep > button):not([role="switch"]):not(.switch):not(.toggle),
.btn, a.btn, input[type="submit"], input[type="button"], .add-btn, .cz-place, .cz-done, .cat-chips button, .cat-side button, .pill-tabs button {
  border-radius:8px !important;
}
.cz-qty, .cz-mstep { border-radius:8px !important; overflow: hidden; }
.cz-qty > button, .cz-mstep > button { border-radius: 0 !important; }
/* inline Stripe card form: keep clear of the sticky Place order bar */
.cz-pe { margin-bottom: 28px; scroll-margin-bottom: 160px; min-height: 120px; }
@media (max-width: 899px) { .cz-pe { margin-bottom: 40px; } }
/* B2 W3: sticky basket footer with fees */
.cz-drawer-foot { position: sticky; bottom: 0; background: #fff; z-index: 2; box-shadow: 0 -6px 16px rgba(0,0,0,.05); }
.cz-drawer-foot .cz-totals { display: grid; gap: 6px; color: #0a0a0a; }
.cz-drawer-foot .cz-total { font-size: 17px; border-top: 1px solid #efefef; padding-top: 8px; }
.track-note { margin: 10px 0 0; text-align: center; }
.cz-drawer-foot .cz-totals { padding: 0; margin: 0; border: 0; background: none; }

/* b3 W6 payment trust row */
.cz-cardbrands { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; }
span.cz-brand { font: 700 11px/1 Inter, system-ui, sans-serif; padding: 5px 7px; border: 1px solid #d9d9de; border-radius: 5px; background: #fff; color: #111; letter-spacing: .02em; }
.cz-brand.visa { color: #1a1f71; font-style: italic; }
.cz-brand.mc { color: #eb001b; }
.cz-brand.amex { color: #006fcf; }
.cz-secure { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; font-size: 12px; color: #111; font-weight: 600; }
.cz-secure svg { width: 13px; height: 13px; }

/* b4: filters, zoom */
.cz-filters { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 8px; }
.cz-fchip { border: 1.5px solid #e2e2e2; background: #fff; color: #111; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; min-height: 36px; }
.cz-fchip.on { background: #111; border-color: #111; color: #fff; }
.cz-avoid summary { cursor: pointer; font-size: 13px; font-weight: 600; color: #111; padding: 6px 4px; }
.cz-avoid-list { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 4px; }
.cz-avoid-list .cz-note { width: 100%; font-size: 12px; color: #6b7280; margin: 4px 0 0; }
.cz-avoid[open] { width: 100%; }
@media (max-width: 899px) { .cz-filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } .cz-filters > * { flex: none; } .cz-filters:has(.cz-avoid[open]) { flex-wrap: wrap; } }
.zoomable { cursor: zoom-in; }
.cz-zoom { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.88); display: flex; align-items: center; justify-content: center; padding: 16px; }
.cz-zoom img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; cursor: zoom-out; }
.cz-zoom .cz-x { position: absolute; top: 12px; right: 12px; background: #fff; color: #111; }
.cz-need { color: #111; }
.cz-side .cz-filters .cz-fchip.on, .cz-side .cz-filters button.cz-fchip.on { background: #111; border-color: #111; color: #fff; box-shadow: none; }
/* b5: saved addresses + zone hint */
.cz-saved { margin: 0 0 12px; }
.cz-saved-h { margin: 0 0 6px; font-size: 13px; color: #6b7280; }
.cz-saved-list { display: flex; flex-wrap: wrap; gap: 8px; }
.cz-saved-item { display: inline-flex; align-items: stretch; border: 1px solid #d1d5db; border-radius: 10px; overflow: hidden; max-width: 100%; }
.cz-saved-item.on { border-color: #111; box-shadow: 0 0 0 1px #111; }
.cz-saved-pick { min-height: 44px; padding: 0 12px; background: #fff; border: 0; color: #111; font: inherit; font-size: 14px; text-align: left; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 260px; }
.cz-saved-del { min-width: 44px; min-height: 44px; border: 0; border-left: 1px solid #e5e7eb; background: #fff; color: #6b7280; font-size: 18px; cursor: pointer; }
.cz-zone-hint { color: #374151; }

/* W14 accessibility: visible keyboard focus across the storefront and checkout */
.cz button:focus-visible, .cz a:focus-visible, .cz input:focus-visible, .cz select:focus-visible, .cz textarea:focus-visible, .cz summary:focus-visible,
.cz-back button:focus-visible, .cz-back a:focus-visible, .cz-back input:focus-visible, .cz-back select:focus-visible, .cz-back textarea:focus-visible, .cz-back summary:focus-visible,
.site-nav a:focus-visible, .site-nav button:focus-visible, .nav-drawer a:focus-visible { outline: 3px solid #111; outline-offset: 2px; box-shadow: 0 0 0 5px #fff; }
.cz-chip-x { min-width: 32px; min-height: 32px; position: relative; }
.cz-chip-x::after { content: ""; position: absolute; inset: 50% auto auto 50%; width: 44px; height: 44px; transform: translate(-50%, -50%); }

/* B9 W20: menu error and offline states */
.menu-error { max-width: 420px; margin: 48px auto; padding: 24px; text-align: center; display: grid; gap: 10px; justify-items: center; }
.menu-error h2 { margin: 0; font-size: 20px; color: #111827; }
.menu-error p { margin: 0; color: #374151; line-height: 1.5; }
.menu-error .btn { min-height: 44px; padding: 0 20px; margin-top: 6px; }
.offline-bar { position: fixed; left: 12px; right: 12px; top: calc(12px + env(safe-area-inset-top)); z-index: 90; background: #111827; color: #fff; border-radius: 10px; padding: 12px 14px; font-size: 14px; line-height: 1.4; box-shadow: 0 8px 24px rgba(0,0,0,.2); text-align: center; }
/* B12: persistent Stripe Payment Element host, laid over #cz-pe when Card is chosen */
.cz-pe-host{position:absolute;left:-10000px;top:0;width:560px;z-index:5;visibility:hidden;pointer-events:none}
.cz-pe-host.on{visibility:visible;pointer-events:auto}
body.sheet-lock .cz-pe-host.on{z-index:0}
/* B13: tablets get the floating View basket bar too (the header icon alone was easy to miss) */
@media (min-width: 640px) and (max-width: 1023px) {
  body:not(.cz-focus) .cz-bar { display: flex; left: 24px; right: 24px; bottom: calc(20px + env(safe-area-inset-bottom)); }
}

/* Multi-branch picker + multi-brand "Menus" landing */
.cz-branches { max-width: 760px; margin: 0 auto; padding: 8px 16px 40px; }
.cz-branch-find { display: flex; gap: 8px; margin: 12px 0 16px; }
.cz-branch-find input { flex: 1; min-width: 0; padding: 12px 14px; border: 1px solid var(--cz-line, #ddd); border-radius: 12px; font: inherit; }
.cz-branch-list { display: grid; gap: 10px; }
.cz-branch-card { text-align: left; width: 100%; padding: 14px 16px; border: 1px solid var(--cz-line, #ddd); border-radius: 14px; background: var(--cz-card, #fff); color: inherit; font: inherit; cursor: pointer; }
.cz-branch-card.on { border-color: var(--cz-accent, #c2410c); box-shadow: 0 0 0 2px color-mix(in srgb, var(--cz-accent, #c2410c) 25%, transparent); }
.cz-branch-card:hover { border-color: var(--cz-accent, #c2410c); }
.cz-branch-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.cz-branch-top .cz-status { font-size: .85rem; font-weight: 600; }
.cz-branch-top .cz-status.ok { color: #15803d; }
.cz-branch-top .cz-status.bad { color: #b91c1c; }
.cz-branch-addr, .cz-branch-facts { margin: 4px 0 0; font-size: .9rem; opacity: .8; }
.cz-branch-change { font-size: inherit; padding: 0; }
.cz-brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.cz-brand-card { display: flex; gap: 14px; align-items: center; text-align: left; padding: 14px; border: 1px solid var(--cz-line, #ddd); border-radius: 16px; background: var(--cz-card, #fff); color: inherit; font: inherit; cursor: pointer; }
.cz-brand-card:hover { border-color: var(--cz-accent, #c2410c); }
.cz-brand-card img, .cz-brand-mono { width: 64px; height: 64px; flex: none; border-radius: 14px; object-fit: cover; }
.cz-brand-mono { display: grid; place-items: center; font-size: 1.6rem; font-weight: 700; background: var(--cz-accent, #c2410c); color: #fff; }
.cz-brand-card strong { display: block; font-size: 1.05rem; }
.cz-brand-card p { margin: 2px 0 0; font-size: .88rem; opacity: .8; }
.cz-brand-count { font-size: .8rem; opacity: .65; }
.cz-brand-back { display: block; margin: 8px 0 2px; padding: 0; }
.cz-brand-now { margin: 0 0 6px; font-weight: 700; }
.cz-line-brand{display:block;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--cz-accent,#c2410c);margin-bottom:1px}
