:root {
  --primary:#0b7a3b;
  --primary-dark:#064d2a;
  --dark:#061512;
  --background:#f7f8fa;
  --card:#ffffff;
  --border:#e5e7eb;
  --text:#111827;
  --muted:#6b7280;
  --danger:#ef4444;
  --warning:#f59e0b;
  --success:#16a34a;
  --blue:#2563eb;
  --shadow:0 18px 50px rgba(6,21,18,.10);
}

* { box-sizing:border-box; }
body {
  margin:0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color:var(--text);
  background:var(--background);
}
button, input, select { font:inherit; }
button {
  border:0;
  border-radius:14px;
  padding:12px 16px;
  background:var(--primary);
  color:white;
  cursor:pointer;
  font-weight:800;
  box-shadow:0 10px 24px rgba(11,122,59,.18);
}
button:disabled { opacity:.55; cursor:not-allowed; }
button.secondary { background:var(--dark); }
button.soft { background:#eaf7ef; color:var(--primary-dark); box-shadow:none; }
button.soft-dark { background:#eef2f6; color:var(--text); box-shadow:none; }
button.ghost { background:transparent; border:1px solid rgba(255,255,255,.45); box-shadow:none; }
button.ghost-dark { background:white; color:var(--text); border:1px solid var(--border); box-shadow:none; }
button:not(:disabled):hover {
  transform:translateY(-1px);
}
button:not(:disabled):active {
  transform:translateY(0) scale(.98);
}
button:focus-visible,
a:focus-visible {
  outline:3px solid rgba(11,122,59,.32);
  outline-offset:3px;
}
h1,h2,h3,p { margin-top:0; }
h1 { margin-bottom:2px; font-size:22px; }
h2 { font-size:clamp(34px,5vw,62px); letter-spacing:-.05em; line-height:.95; margin-bottom:16px; max-width:780px; }
h3 { font-size:22px; margin-bottom:0; }
p { color:var(--muted); line-height:1.6; }
input, select {
  width:100%;
  border:1px solid var(--border);
  border-radius:14px;
  padding:12px 14px;
  background:white;
  outline:none;
}
input:focus, select:focus { border-color:rgba(11,122,59,.45); box-shadow:0 0 0 4px rgba(11,122,59,.08); }
label { display:grid; gap:7px; color:var(--muted); font-weight:700; font-size:13px; }
.app { min-height:100vh; }
.topbar {
  position:sticky;
  top:0;
  z-index:20;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  padding:16px 28px;
  background:rgba(6,21,18,.94);
  color:white;
  backdrop-filter:blur(12px);
}
.brand { display:flex; align-items:center; gap:12px; }
.brand span { color:rgba(255,255,255,.68); font-size:13px; }
.brand-mark {
  width:48px;
  height:48px;
  border-radius:17px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#18b866,#0b7a3b);
  font-weight:900;
}
.top-actions { display:flex; align-items:center; gap:10px; flex-wrap:wrap; justify-content:flex-end; }
.session, .pill, .address-pill {
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  padding:8px 12px;
  background:#e8f7ee;
  color:var(--primary-dark);
  font-weight:800;
  font-size:13px;
}
.cart-button span {
  display:inline-grid;
  place-items:center;
  min-width:22px;
  height:22px;
  margin-left:6px;
  border-radius:999px;
  background:white;
  color:var(--primary-dark);
}
main {
  width:min(1440px, calc(100% - 34px));
  margin:22px auto 54px;
  display:grid;
  gap:18px;
}
.hero {
  min-height:420px;
  border-radius:34px;
  padding:42px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;
  color:white;
  background:
    linear-gradient(90deg, rgba(6,21,18,.96), rgba(6,21,18,.58)),
    url("https://images.unsplash.com/photo-1598514983318-2f64f8f4796c?auto=format&fit=crop&w=1800&q=80") center/cover;
  box-shadow:var(--shadow);
  overflow:hidden;
}
.hero p { color:rgba(255,255,255,.78); max-width:680px; }
.eyebrow {
  margin:0 0 8px;
  color:#6ee7a4;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.13em;
  font-weight:900;
}
.hero-search {
  max-width:720px;
  display:grid;
  grid-template-columns:1fr auto;
  gap:10px;
  margin:24px 0 14px;
}
.hero-search input { min-height:56px; border-radius:18px; }
.hero-card {
  min-width:230px;
  min-height:190px;
  display:grid;
  align-content:center;
  justify-items:center;
  border-radius:28px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.18);
  backdrop-filter:blur(12px);
}
.hero-card strong { font-size:42px; }
.hero-card span { color:rgba(255,255,255,.72); font-weight:800; }
.dashboard {
  display:grid;
  grid-template-columns:repeat(4,minmax(160px,1fr));
  gap:14px;
}
.metric {
  padding:18px;
  border-radius:24px;
  background:white;
  border:1px solid var(--border);
  box-shadow:0 12px 28px rgba(6,21,18,.06);
}
.metric strong { display:block; font-size:30px; }
.metric span { color:var(--muted); font-weight:800; font-size:13px; }
.mode-strip {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}
.mode-card {
  min-height:132px;
  display:grid;
  align-content:end;
  justify-items:start;
  gap:6px;
  padding:20px;
  border:1px solid var(--border);
  border-radius:26px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(255,255,255,.74)),
    url("https://images.unsplash.com/photo-1543352634-a1c51d9f1fa7?auto=format&fit=crop&w=900&q=80") center/cover;
  color:var(--text);
  box-shadow:0 12px 30px rgba(6,21,18,.07);
  text-align:left;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.mode-card:nth-child(2) { background-image:linear-gradient(135deg, rgba(255,255,255,.96), rgba(255,255,255,.74)), url("https://images.unsplash.com/photo-1542838132-92c53300491e?auto=format&fit=crop&w=900&q=80"); }
.mode-card:nth-child(3) { background-image:linear-gradient(135deg, rgba(255,255,255,.96), rgba(255,255,255,.74)), url("https://images.unsplash.com/photo-1514432324607-a09d9b4aefdd?auto=format&fit=crop&w=900&q=80"); }
.mode-card:nth-child(4) { background-image:linear-gradient(135deg, rgba(255,255,255,.96), rgba(255,255,255,.74)), url("https://images.unsplash.com/photo-1587854692152-cbe660dbde88?auto=format&fit=crop&w=900&q=80"); }
.mode-card:hover {
  transform:translateY(-3px);
  box-shadow:0 20px 44px rgba(6,21,18,.12);
}
.mode-card.active {
  border-color:rgba(11,122,59,.55);
  box-shadow:0 18px 42px rgba(11,122,59,.16);
}
.mode-card span {
  padding:6px 10px;
  border-radius:999px;
  background:var(--dark);
  color:white;
  font-size:12px;
  font-weight:900;
}
.mode-card strong { font-size:21px; }
.mode-card small { color:var(--muted); font-weight:800; }
.customer-account-panel { padding:20px; }
.customer-account-grid {
  display:grid;
  grid-template-columns:1fr 1.45fr 1fr;
  gap:14px;
}
.account-card {
  display:grid;
  align-content:start;
  gap:12px;
  min-width:0;
  padding:16px;
  border:1px solid var(--border);
  border-radius:22px;
  background:#fbfcfd;
}
.account-card h4 {
  margin:0;
  font-size:17px;
}
.mini-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.profile-details {
  display:grid;
  gap:8px;
  color:var(--muted);
  font-weight:700;
  line-height:1.45;
}
.profile-line {
  display:grid;
  grid-template-columns:120px 1fr;
  gap:10px;
  align-items:start;
  padding:9px 0;
  border-bottom:1px solid var(--border);
}
.profile-line span { color:var(--muted); font-size:12px; font-weight:900; text-transform:uppercase; }
.profile-line strong { color:var(--text); overflow-wrap:anywhere; }
.category-strip {
  display:flex;
  gap:10px;
  overflow:auto;
  padding:4px 0;
}
.chip {
  white-space:nowrap;
  background:white;
  color:var(--text);
  border:1px solid var(--border);
  box-shadow:none;
}
.chip.active { background:var(--dark); color:white; }
.content-grid {
  display:grid;
  grid-template-columns:minmax(0,1fr) 420px;
  gap:18px;
  align-items:start;
  min-width:0;
}
.main-column, .side-column {
  display:grid;
  gap:18px;
  min-width:0;
}
.side-column { position:sticky; top:92px; }
.panel {
  min-width:0;
  background:white;
  border:1px solid var(--border);
  border-radius:28px;
  padding:18px;
  box-shadow:0 14px 36px rgba(6,21,18,.06);
}
.panel-note {
  margin:-8px 0 14px;
  padding:10px 12px;
  border-radius:16px;
  background:#f7fbf8;
  color:var(--muted);
  font-size:13px;
  font-weight:800;
}
.section-head {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  margin-bottom:16px;
}
.filter-row {
  display:grid;
  grid-template-columns:repeat(4,minmax(130px,1fr));
  gap:12px;
  margin-bottom:16px;
}
.merchant-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
  gap:14px;
}
.merchant-card {
  border:1px solid var(--border);
  border-radius:24px;
  overflow:hidden;
  background:#fff;
  cursor:pointer;
  transition:.18s ease;
}
.merchant-card:hover, .merchant-card.selected { transform:translateY(-3px); box-shadow:var(--shadow); border-color:rgba(11,122,59,.32); }
.merchant-img {
  height:138px;
  background:linear-gradient(135deg,#0b7a3b,#f59e0b);
  background-size:cover;
  background-position:center;
}
.merchant-body { padding:14px; }
.merchant-body h4 { margin:0 0 8px; font-size:18px; }
.meta { display:flex; flex-wrap:wrap; gap:8px; color:var(--muted); font-size:13px; font-weight:700; }
.badge {
  display:inline-flex;
  padding:5px 9px;
  border-radius:999px;
  background:#fff7e6;
  color:#7a4b07;
  font-size:12px;
  font-weight:900;
}
.product-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:14px;
}
.product-card {
  display:grid;
  grid-template-columns:82px 1fr;
  gap:12px;
  align-items:center;
  border:1px solid var(--border);
  border-radius:22px;
  padding:12px;
  background:#fbfcfd;
}
.product-img {
  width:82px;
  height:82px;
  border-radius:18px;
  background:linear-gradient(135deg,#f0b35b,#0b7a3b);
  background-size:cover;
  background-position:center;
}
.product-card h4 { margin:0 0 4px; }
.product-card p { margin-bottom:8px; font-size:13px; }
.product-actions { display:flex; justify-content:space-between; align-items:center; gap:8px; }
#leafletMap {
  width:100%;
  height:390px;
  border-radius:22px;
  border:1px solid var(--border);
  background:#dce8e2;
  overflow:hidden;
}

.native-map { position:relative; width:100%; height:100%; min-height:390px; overflow:hidden; border-radius:22px; background:linear-gradient(135deg,#dfeee5 0%,#eef4ef 48%,#d6e6dc 100%); }
.native-map::before,.native-map::after { content:""; position:absolute; inset:0; background-image:linear-gradient(rgba(11,122,59,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(11,122,59,.07) 1px,transparent 1px); background-size:38px 38px; }
.native-map-road { position:absolute; height:12px; background:rgba(255,255,255,.92); border:1px solid rgba(15,55,39,.08); border-radius:999px; box-shadow:0 2px 8px rgba(12,45,33,.08); transform-origin:left center; z-index:1; }
.native-map .road-one { width:120%; left:-10%; top:46%; transform:rotate(-12deg); }
.native-map .road-two { width:100%; left:8%; top:70%; transform:rotate(18deg); }
.native-map .road-three { width:90%; left:28%; top:20%; transform:rotate(62deg); }
.native-map-label { position:absolute; left:14px; top:14px; z-index:4; background:rgba(255,255,255,.94); padding:8px 11px; border-radius:12px; font-size:12px; font-weight:900; color:var(--primary-dark); box-shadow:0 5px 18px rgba(0,0,0,.08); }
.native-map-marker { position:absolute; z-index:5; transform:translate(-50%,-50%); border:0; background:transparent; padding:0; cursor:pointer; }
.native-map-marker > span { display:block; width:18px; height:18px; border:4px solid #fff; border-radius:50%; background:#f59e0b; box-shadow:0 3px 12px rgba(0,0,0,.25); margin:auto; }
.native-map-marker.you > span { width:22px; height:22px; background:#0b7a3b; }
.native-map-marker.driver > span { background:#2563eb; }
.native-map-marker small { display:none; margin-top:5px; white-space:nowrap; background:#fff; border-radius:8px; padding:4px 7px; font-weight:800; color:#10251d; box-shadow:0 4px 14px rgba(0,0,0,.12); }
.native-map-marker:hover small,.native-map-marker:focus small { display:block; }
.native-map-open { position:absolute; right:14px; bottom:14px; z-index:5; text-decoration:none; background:#06281d; color:#fff; border-radius:12px; padding:9px 12px; font-size:12px; font-weight:900; }

.map-fallback {
  margin-top:10px;
  min-height:180px;
  border:1px dashed var(--border);
  border-radius:22px;
  padding:16px;
  background:#fbfcfd;
}
.notice {
  margin-bottom:10px;
  padding:10px 12px;
  border-radius:16px;
  background:#eaf7ef;
  color:var(--primary-dark);
  font-size:13px;
  font-weight:800;
}
.notice.error { background:#fff5f5; color:var(--danger); }
.cart-list, .orders-panel, .activity-feed { display:grid; gap:10px; }
.cart-row, .order-card, .activity-item {
  border:1px solid var(--border);
  border-radius:18px;
  padding:12px;
  background:#fbfcfd;
}
.cart-row {
  display:flex;
  justify-content:space-between;
  gap:10px;
}
.place-order { width:100%; margin-top:12px; min-height:52px; }
.checkout-panel { display:grid; gap:12px; }
.checkout-stepper {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  padding:8px;
  border:1px solid var(--border);
  border-radius:20px;
  background:#f8faf9;
}
.checkout-stepper span {
  display:grid;
  place-items:center;
  min-height:40px;
  border-radius:15px;
  color:var(--muted);
  font-size:12px;
  font-weight:1000;
  text-align:center;
}
.checkout-stepper span.active {
  background:var(--primary);
  color:#fff;
}
.checkout-note {
  padding:11px 12px;
  border-radius:18px;
  background:#e8f7ee;
  color:var(--primary-dark);
  font-size:13px;
  font-weight:900;
  line-height:1.4;
}
.order-card strong { display:block; margin-bottom:4px; }
.status-timeline {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:10px;
}
.status-step {
  padding:6px 9px;
  border-radius:999px;
  background:#eef2f6;
  color:var(--muted);
  font-size:12px;
  font-weight:900;
}
.status-step.active { background:#e8f7ee; color:var(--primary-dark); }
.activity-item { border-left:4px solid var(--primary); font-size:14px; color:var(--muted); }
#toast {
  position:fixed;
  right:18px;
  bottom:18px;
  background:var(--dark);
  color:white;
  padding:14px 16px;
  border-radius:16px;
  box-shadow:var(--shadow);
  opacity:0;
  transform:translateY(8px);
  transition:.2s;
  z-index:80;
}
#toast.show { opacity:1; transform:translateY(0); }
.action-status {
  position:fixed;
  left:18px;
  right:18px;
  bottom:18px;
  z-index:70;
  max-height:230px;
  overflow:auto;
  border:1px solid var(--border);
  border-radius:20px;
  background:white;
  box-shadow:var(--shadow);
  padding:14px;
  font-size:13px;
}
.action-status.success { border-color:rgba(22,163,74,.4); }
.action-status.error { background:#fff7f7; border-color:rgba(239,68,68,.4); }
.action-status pre { white-space:pre-wrap; color:var(--muted); }
.drawer {
  position:fixed;
  inset:0;
  z-index:90;
}
.drawer-backdrop {
  position:absolute;
  inset:0;
  background:rgba(6,21,18,.45);
}
.drawer-panel {
  position:absolute;
  right:0;
  top:0;
  bottom:0;
  width:min(460px,100%);
  padding:20px;
  background:white;
  box-shadow:var(--shadow);
  overflow:auto;
}
button.profile-button {
  width:44px;
  height:44px;
  padding:0;
  border-radius:999px;
  background:#ffffff;
  color:var(--primary-dark);
  box-shadow:none;
  font-size:0;
}
button.profile-button::before { content:"Profile"; font-size:12px; font-weight:900; }
.delivery-controls {
  display:grid;
  grid-template-columns:minmax(220px,340px) auto;
  gap:10px;
  align-items:end;
  max-width:640px;
  margin-bottom:12px;
}
.delivery-controls label { color:rgba(255,255,255,.78); }
.delivery-controls select { min-height:48px; }
.promo-banner {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  padding:22px;
  border-radius:28px;
  background:linear-gradient(135deg,#e8f7ee,#fff7e6);
  border:1px solid rgba(11,122,59,.12);
  box-shadow:0 14px 36px rgba(6,21,18,.06);
}
.promo-banner h3 { margin-bottom:6px; }
.promo-banner span { color:var(--muted); font-weight:700; }
.experience-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}
.experience-card {
  min-height:260px;
  position:relative;
  overflow:hidden;
  display:grid;
  align-content:end;
  gap:8px;
  padding:20px;
  border:1px solid rgba(255,255,255,.36);
  border-radius:28px;
  color:white;
  background:
    linear-gradient(180deg, rgba(6,21,18,.05), rgba(6,21,18,.82)),
    url("https://images.unsplash.com/photo-1544025162-d76694265947?auto=format&fit=crop&w=1000&q=82") center/cover;
  box-shadow:var(--shadow);
}
.experience-card.grocery {
  background-image:linear-gradient(180deg, rgba(6,21,18,.05), rgba(6,21,18,.82)), url("https://images.unsplash.com/photo-1542838132-92c53300491e?auto=format&fit=crop&w=1000&q=82");
}
.experience-card.coffee {
  background-image:linear-gradient(180deg, rgba(6,21,18,.05), rgba(6,21,18,.82)), url("https://images.unsplash.com/photo-1514432324607-a09d9b4aefdd?auto=format&fit=crop&w=1000&q=82");
}
.experience-card.care {
  background-image:linear-gradient(180deg, rgba(6,21,18,.05), rgba(6,21,18,.82)), url("https://images.unsplash.com/photo-1587854692152-cbe660dbde88?auto=format&fit=crop&w=1000&q=82");
}
.experience-card span {
  width:max-content;
  padding:7px 11px;
  border-radius:999px;
  background:rgba(255,255,255,.92);
  color:var(--primary-dark);
  font-size:12px;
  font-weight:900;
}
.experience-card strong { font-size:24px; line-height:1.1; }
.experience-card p { color:rgba(255,255,255,.82); margin:0; }
.experience-card a {
  width:max-content;
  margin-top:4px;
  padding:10px 13px;
  border-radius:999px;
  color:var(--dark);
  background:white;
  text-decoration:none;
  font-weight:900;
}
.promise-panel {
  display:grid;
  grid-template-columns:minmax(0,.8fr) minmax(280px,1.2fr);
  gap:18px;
  align-items:center;
  padding:24px;
  border-radius:30px;
  background:#071d13;
  color:white;
  box-shadow:var(--shadow);
}
.promise-panel p { color:rgba(255,255,255,.76); }
.promise-panel h3 { font-size:32px; }
.promise-steps {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
.promise-steps button {
  padding:14px;
  border-radius:18px;
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:none;
  color:#fff;
  cursor:pointer;
  font-weight:900;
  text-align:center;
  transition:transform .18s ease, background .18s ease, border-color .18s ease;
}
.promise-steps button:hover,
.promise-steps button:focus-visible {
  transform:translateY(-2px);
  background:rgba(255,255,255,.18);
  border-color:rgba(255,255,255,.32);
  outline:none;
}
.marketplace-assurance {
  padding:24px;
  border:1px solid var(--border);
  border-radius:30px;
  background:
    linear-gradient(135deg, rgba(4,120,66,.08), rgba(255,255,255,.96) 42%),
    #fff;
  box-shadow:0 18px 46px rgba(14,58,37,.08);
}
.marketplace-assurance .section-head {
  margin-bottom:18px;
}
.assurance-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}
.assurance-grid article {
  min-height:190px;
  padding:18px;
  border:1px solid rgba(15,23,42,.08);
  border-radius:24px;
  background:#fff;
  box-shadow:0 12px 30px rgba(15,23,42,.06);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.assurance-grid article:hover {
  transform:translateY(-3px);
  border-color:rgba(4,120,66,.22);
  box-shadow:0 18px 42px rgba(4,120,66,.12);
}
.assurance-grid span {
  display:inline-grid;
  place-items:center;
  width:38px;
  height:38px;
  margin-bottom:14px;
  border-radius:14px;
  color:#fff;
  background:var(--green);
  font-weight:950;
}
.assurance-grid strong {
  display:block;
  margin-bottom:8px;
  font-size:18px;
  color:var(--dark);
}
.assurance-grid p {
  margin:0;
  color:var(--muted);
  line-height:1.5;
}
.neighborhood-panel {
  padding:22px;
  border:1px solid var(--border);
  border-radius:30px;
  background:white;
  box-shadow:0 14px 36px rgba(6,21,18,.06);
}
.neighborhood-grid {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:12px;
}
.neighborhood-grid a {
  display:grid;
  gap:5px;
  min-height:110px;
  align-content:end;
  padding:16px;
  border:1px solid var(--border);
  border-radius:22px;
  color:var(--text);
  background:linear-gradient(135deg,#f7fbf8,#ffffff);
  text-decoration:none;
  box-shadow:0 10px 22px rgba(6,21,18,.05);
}
.neighborhood-grid strong { font-size:20px; }
.neighborhood-grid span { color:var(--muted); font-size:13px; font-weight:800; }
.marketplace-tools-panel,
.quality-panel {
  padding:22px;
  border:1px solid var(--border);
  border-radius:30px;
  background:white;
  box-shadow:0 14px 36px rgba(6,21,18,.06);
}
.tool-card-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.tool-card {
  display:grid;
  gap:8px;
  min-height:156px;
  align-content:start;
  padding:16px;
  border:1px solid var(--border);
  border-radius:22px;
  color:var(--text);
  background:
    radial-gradient(circle at top right, rgba(11,122,59,.12), transparent 34%),
    linear-gradient(135deg,#ffffff,#f7fbf8);
  text-decoration:none;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.tool-card:hover {
  transform:translateY(-2px);
  border-color:rgba(11,122,59,.35);
  box-shadow:0 18px 38px rgba(6,21,18,.10);
}
.tool-card span {
  width:max-content;
  padding:6px 10px;
  border-radius:999px;
  background:#e8f7ee;
  color:var(--primary-dark);
  font-size:12px;
  font-weight:900;
}
.tool-card strong { font-size:20px; }
.tool-card p { margin:0; font-size:14px; }
.quality-panel {
  display:grid;
  grid-template-columns:minmax(0,.82fr) minmax(280px,1.18fr);
  gap:18px;
  align-items:center;
  background:
    linear-gradient(135deg, rgba(6,21,18,.96), rgba(6,21,18,.84)),
    url("https://images.unsplash.com/photo-1526367790999-0150786686a2?auto=format&fit=crop&w=1300&q=82") center/cover;
  color:white;
}
.quality-panel p { color:rgba(255,255,255,.78); }
.quality-panel h3 { font-size:32px; }
.quality-list {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.quality-list button {
  padding:14px;
  border-radius:18px;
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.14);
  color:white;
  cursor:pointer;
  font:inherit;
  font-weight:900;
  text-align:left;
  transition:transform .18s ease, background .18s ease, border-color .18s ease;
}
.quality-list button:hover,
.quality-list button:focus-visible {
  transform:translateY(-2px);
  background:rgba(255,255,255,.18);
  border-color:rgba(255,255,255,.34);
  outline:none;
}
.card-topline {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-bottom:8px;
}
.open-badge {
  padding:5px 9px;
  border-radius:999px;
  background:#e8f7ee;
  color:var(--primary-dark);
  font-size:12px;
  font-weight:900;
}
.merchant-promo {
  margin:10px 0 0;
  color:var(--primary-dark);
  font-size:13px;
  font-weight:900;
}
.merchant-detail-hero {
  display:grid;
  grid-template-columns:180px 1fr;
  gap:16px;
  align-items:center;
  padding:12px;
  margin-bottom:14px;
  border:1px solid var(--border);
  border-radius:24px;
  background:#fbfcfd;
}
.merchant-hero-img {
  min-height:132px;
  border-radius:20px;
  background:linear-gradient(135deg,#0b7a3b,#f59e0b);
  background-size:cover;
  background-position:center;
}
.merchant-detail-hero h4 { margin:0 0 6px; font-size:24px; }
.merchant-trust-panel {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin:0 0 14px;
}
.trust-card {
  display:grid;
  gap:8px;
  padding:14px;
  border:1px solid var(--border);
  border-radius:20px;
  background:linear-gradient(135deg,#ffffff,#f7fbf8);
}
.trust-card strong { font-size:16px; }
.trust-card span {
  color:var(--muted);
  font-size:13px;
  font-weight:800;
  line-height:1.4;
}
.reviews-mini span {
  padding-bottom:7px;
  border-bottom:1px solid var(--border);
}
.product-tag-row,
.modifier-row,
.availability-row {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin:7px 0;
}
.product-tag-row span,
.modifier-row span,
.availability-row span {
  padding:5px 8px;
  border-radius:999px;
  background:#eef7f1;
  color:var(--primary-dark);
  font-size:11px;
  font-weight:900;
}
.modifier-row span {
  background:#fff7e6;
  color:#7a4b07;
}
.availability-row span {
  background:#eef2f6;
  color:var(--muted);
}
.quantity-control,
.cart-controls {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
}
.quantity-control span {
  color:var(--muted);
  font-size:12px;
  font-weight:800;
}
.special-request {
  display:grid;
  grid-template-columns:1fr 1fr auto;
  gap:12px;
  align-items:end;
  margin-top:16px;
  padding-top:16px;
  border-top:1px solid var(--border);
}
.cart-row { align-items:center; }
.cart-row.total { background:#e8f7ee; color:var(--primary-dark); font-weight:900; }
.cart-controls button {
  min-width:34px;
  min-height:34px;
  padding:8px 10px;
  border-radius:12px;
}
.cart-summary { display:grid; gap:8px; margin:12px 0; }
.order-receipt-panel {
  display:grid;
  gap:14px;
  margin:0 0 16px;
  padding:18px;
  border:1px solid rgba(11,122,59,.22);
  border-radius:24px;
  background:
    radial-gradient(circle at top right, rgba(11,122,59,.12), transparent 180px),
    #ffffff;
  box-shadow:0 16px 38px rgba(6,21,18,.08);
}
.order-receipt-panel[hidden] { display:none; }
.receipt-top {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
}
.receipt-top h4 {
  margin:0 0 4px;
  font-size:28px;
}
.receipt-status {
  padding:9px 12px;
  border-radius:999px;
  background:#e8f7ee;
  color:var(--primary-dark);
  font-size:12px;
  font-weight:900;
}
.receipt-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
.receipt-grid span {
  display:grid;
  gap:4px;
  padding:12px;
  border:1px solid var(--border);
  border-radius:16px;
  background:#fbfcfd;
  color:var(--muted);
  font-size:13px;
  font-weight:800;
}
.receipt-grid strong {
  color:var(--text);
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.receipt-actions {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.skeleton-card {
  pointer-events:none;
  overflow:hidden;
}
.skeleton-block,
.skeleton-line {
  position:relative;
  overflow:hidden;
  background:#edf2ef;
}
.skeleton-line {
  display:block;
  height:14px;
  margin:8px 0;
  border-radius:999px;
}
.skeleton-line.short { width:52%; }
.skeleton-line.tiny { width:34%; }
.skeleton-block::after,
.skeleton-line::after {
  content:"";
  position:absolute;
  inset:0;
  transform:translateX(-100%);
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.72), transparent);
  animation:skeletonShimmer 1.4s infinite;
}
@keyframes skeletonShimmer {
  to { transform:translateX(100%); }
}
.checkout-confidence,
.foundation-list {
  display:grid;
  gap:8px;
}
.checkout-confidence span,
.foundation-list span {
  padding:10px 12px;
  border:1px solid var(--border);
  border-radius:16px;
  background:#fbfcfd;
  color:var(--muted);
  font-size:13px;
  font-weight:900;
}
.foundation-list span[data-state="ready"] {
  border-color:rgba(22,163,74,.28);
  background:#eefaf2;
  color:var(--primary-dark);
}
.foundation-list span[data-state="pending"] {
  border-color:rgba(245,158,11,.28);
  background:#fff7e6;
  color:#7a4b07;
}
.production-foundation-panel {
  background:
    radial-gradient(circle at top right, rgba(11,122,59,.10), transparent 190px),
    #fff;
}
.bottom-nav {
  position:fixed;
  left:50%;
  bottom:16px;
  transform:translateX(-50%);
  z-index:60;
  display:none;
  grid-template-columns:repeat(6,1fr);
  gap:6px;
  width:min(520px,calc(100% - 24px));
  padding:8px;
  border:1px solid var(--border);
  border-radius:22px;
  background:rgba(255,255,255,.94);
  box-shadow:var(--shadow);
}
.bottom-nav a,
.bottom-nav button {
  display:grid;
  place-items:center;
  min-height:42px;
  border-radius:16px;
  color:var(--text);
  background:#eef2f6;
  text-decoration:none;
  box-shadow:none;
  font-weight:900;
}
@media (max-width:1100px) {
  .content-grid { grid-template-columns:1fr; }
  .side-column { position:static; }
  .experience-grid, .neighborhood-grid, .tool-card-grid, .assurance-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:760px) {
  .topbar, .hero, .section-head { align-items:stretch; flex-direction:column; }
  .dashboard, .mode-strip, .filter-row, .content-grid, .delivery-controls, .special-request, .merchant-detail-hero, .merchant-trust-panel, .customer-account-grid, .mini-grid, .profile-line, .experience-grid, .promise-panel, .promise-steps, .neighborhood-grid, .tool-card-grid, .quality-panel, .quality-list, .receipt-grid, .assurance-grid { grid-template-columns:1fr; }
  .hero { padding:26px; min-height:auto; }
  .hero-search { grid-template-columns:1fr; }
  .marketplace-assurance { padding:18px; border-radius:24px; }
  .assurance-grid article { min-height:auto; }
  main { width:min(100% - 22px,1440px); }
  .bottom-nav { display:grid; }
  body { padding-bottom:80px; }
}


.image-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  place-items: center;
  padding: 20px;
}
.image-modal.show { display: grid; }
.image-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 21, 18, .72);
  backdrop-filter: blur(6px);
}
.image-modal-card {
  position: relative;
  width: min(760px, 96vw);
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.34);
}
.image-modal-photo {
  height: min(62vh, 520px);
  background-size: cover;
  background-position: center;
}
.image-modal-card h3 {
  margin: 0;
  padding: 18px 20px;
}
.image-modal-close {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  padding: 0;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.92);
  color: #061512;
  font-size: 24px;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}

/* Premium customer homepage layer */
body {
  background:
    radial-gradient(circle at top left, rgba(11,122,59,.10), transparent 340px),
    radial-gradient(circle at top right, rgba(245,158,11,.14), transparent 320px),
    #f7f8fa;
}
main {
  width:min(1440px, calc(100vw - 34px));
  max-width:1440px;
  overflow:hidden;
  grid-template-columns:minmax(0,1fr);
}
.topbar {
  display:grid;
  grid-template-columns:auto auto minmax(260px,1fr) auto auto;
  background:rgba(255,255,255,.92);
  color:var(--text);
  border-bottom:1px solid rgba(229,231,235,.9);
  box-shadow:0 12px 30px rgba(17,24,39,.06);
}
.brand span { color:var(--muted); }
.brand-mark { border-radius:16px; }
.primary-nav {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
}
.primary-nav a,
.location-selector,
.icon-button,
.menu-toggle {
  color:var(--text);
  background:#fff;
  border:1px solid var(--border);
  box-shadow:none;
  text-decoration:none;
  border-radius:999px;
  padding:10px 13px;
  font-weight:900;
}
.primary-nav a:hover,
.location-selector:hover,
.icon-button:hover {
  background:#eaf7ef;
  color:var(--primary-dark);
}
.menu-toggle { display:none; }
.location-selector {
  justify-self:end;
  max-width:260px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.top-actions .ghost { color:var(--text); border-color:var(--border); }
.session { background:#f3f4f6; color:var(--text); }
.hero {
  position:relative;
  min-height:560px;
  border-radius:32px;
  color:#fff;
  background:
    linear-gradient(90deg, rgba(6,21,18,.94), rgba(6,21,18,.62) 48%, rgba(6,21,18,.18)),
    url("https://images.unsplash.com/photo-1544025162-d76694265947?auto=format&fit=crop&w=1800&q=80") center/cover;
}
.hero::after {
  content:"";
  position:absolute;
  inset:auto 34px 34px auto;
  width:230px;
  height:230px;
  border-radius:50%;
  background:radial-gradient(circle,#f59e0b 0 30%,rgba(245,158,11,.18) 31% 58%,transparent 59%);
  opacity:.82;
}
.hero-copy { position:relative; z-index:1; }
.hero-search {
  grid-template-columns:minmax(220px,1fr) auto;
  padding:8px;
  border-radius:24px;
  background:rgba(255,255,255,.96);
  box-shadow:0 20px 60px rgba(0,0,0,.22);
}
.hero-search button { min-width:120px; }
.delivery-controls {
  grid-template-columns:minmax(220px,330px) auto;
  padding:8px;
  border-radius:22px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
}
.hero-actions,
.trust-row {
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:12px;
}
.secondary-link {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:12px 16px;
  border-radius:14px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.26);
  color:#fff;
  text-decoration:none;
  font-weight:900;
}
.trust-row span {
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.12);
  color:#eefcf3;
  padding:8px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
}
.hero-card {
  position:relative;
  z-index:1;
  min-width:310px;
  min-height:360px;
  border-radius:32px;
  overflow:hidden;
  align-content:end;
  padding:24px;
  background:
    linear-gradient(180deg, transparent, rgba(6,21,18,.82)),
    url("https://images.unsplash.com/photo-1504674900247-0877df9cc836?auto=format&fit=crop&w=900&q=80") center/cover;
}
.food-collage {
  position:absolute;
  inset:20px 20px auto auto;
  display:grid;
  gap:8px;
}
.food-collage span {
  background:rgba(255,255,255,.9);
  color:var(--primary-dark);
  padding:7px 10px;
  border-radius:999px;
  font-weight:900;
  box-shadow:0 10px 24px rgba(0,0,0,.12);
}
.category-section {
  display:grid;
  gap:12px;
  padding:18px;
  border-radius:28px;
  background:white;
  border:1px solid var(--border);
  box-shadow:0 14px 36px rgba(6,21,18,.06);
}
.section-head.compact { margin-bottom:0; }
.category-strip {
  padding:4px 2px 10px;
  scrollbar-width:thin;
}
.chip {
  border-radius:999px;
  min-height:44px;
  padding:10px 14px;
}
.chip.active { background:var(--primary); }
.search-quick-panel {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px;
  border-radius:22px;
  background:#f8faf9;
  border:1px solid var(--border);
}
.search-quick-panel span {
  display:block;
  color:var(--muted);
  font-weight:700;
  margin-top:3px;
}
.filter-chips { display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end; }
.filter-chips .chip {
  cursor:pointer;
  transition:transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.filter-chips .chip:hover,
.filter-chips .chip:focus-visible {
  transform:translateY(-2px);
  border-color:rgba(11,122,59,.24);
  box-shadow:0 12px 26px rgba(6,21,18,.08);
}
.merchant-grid {
  display:flex;
  gap:16px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  padding:4px 2px 14px;
}
.merchant-card {
  position:relative;
  flex:0 0 300px;
  border-radius:22px;
  scroll-snap-align:start;
  box-shadow:0 14px 34px rgba(17,24,39,.08);
}
.merchant-img {
  position:relative;
  height:170px;
}
.merchant-img .open-badge {
  position:absolute;
  left:12px;
  top:12px;
  background:#fff;
}
.favorite-btn {
  position:absolute;
  right:12px;
  top:12px;
  min-width:54px;
  min-height:38px;
  padding:8px 11px;
  border-radius:999px;
  background:rgba(255,255,255,.92);
  color:var(--primary-dark);
  box-shadow:0 10px 24px rgba(0,0,0,.16);
}
.favorite-btn.active {
  background:var(--primary);
  color:white;
}
.avatar {
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:#eaf7ef;
  color:var(--primary-dark);
  font-weight:900;
}
.merchant-body h4 {
  font-size:20px;
  margin-top:8px;
}
.product-grid {
  display:flex;
  gap:14px;
  width:100%;
  max-width:100%;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  padding-bottom:12px;
}
.product-card {
  flex:0 0 min(320px, calc(100vw - 48px));
  max-width:min(320px, calc(100vw - 48px));
  grid-template-columns:104px 1fr;
  border-radius:22px;
  background:white;
  box-shadow:0 12px 26px rgba(17,24,39,.06);
  scroll-snap-align:start;
}
.product-img {
  width:104px;
  height:104px;
}
.empty-state {
  flex:1 0 100%;
  padding:22px;
  border:1px dashed #bdd6c7;
  border-radius:22px;
  background:#f8faf9;
  color:var(--muted);
  font-weight:800;
}
.merchant-detail-hero {
  background:
    linear-gradient(135deg, rgba(11,122,59,.08), rgba(245,158,11,.08)),
    #fff;
}
.order-card {
  border-radius:22px;
}
.drawer-panel {
  border-radius:28px 0 0 28px;
}
.cart-button { position:relative; }
.bottom-nav {
  grid-template-columns:repeat(6,1fr);
}
.live-order-card {
  display:grid;
  gap:16px;
  background:
    linear-gradient(135deg, rgba(11,122,59,.08), rgba(245,158,11,.06)),
    #fff;
}
.live-order-card.watching {
  border-color:rgba(11,122,59,.34);
  box-shadow:0 18px 60px rgba(11,122,59,.14);
}
.live-order-top {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
}
.live-label {
  display:inline-flex;
  width:max-content;
  margin-bottom:8px;
  padding:6px 10px;
  border-radius:999px;
  background:#e8f7ee;
  color:var(--primary-dark);
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.live-stage-badge {
  display:inline-flex;
  align-items:center;
  min-height:42px;
  padding:10px 13px;
  border-radius:999px;
  background:var(--primary);
  color:white;
  font-weight:900;
  white-space:nowrap;
  box-shadow:0 12px 28px rgba(11,122,59,.22);
}
.live-process-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}
.live-process-step {
  display:grid;
  gap:5px;
  min-height:112px;
  padding:12px;
  border-radius:18px;
  border:1px solid var(--border);
  background:#f8faf9;
  color:var(--muted);
}
.live-process-step span {
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  border-radius:999px;
  background:#e5e7eb;
  color:#667085;
  font-weight:900;
}
.live-process-step strong {
  color:var(--text);
  font-size:14px;
}
.live-process-step small {
  color:var(--muted);
  font-weight:800;
}
.live-process-step.done {
  background:#e8f7ee;
  border-color:rgba(11,122,59,.18);
}
.live-process-step.done span {
  background:var(--primary);
  color:white;
}
.live-process-step.current {
  outline:3px solid rgba(245,158,11,.28);
  background:#fff8eb;
}
.live-progress {
  height:12px;
  overflow:hidden;
  border-radius:999px;
  background:#e5e7eb;
}
.live-progress div {
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg,var(--primary),#22c55e,var(--warning));
  transition:width .35s ease;
}
.live-next-step {
  padding:12px 14px;
  border-radius:16px;
  background:#061512;
  color:#f8fff9;
  font-weight:900;
}
@media (max-width:1180px) {
  .topbar { grid-template-columns:auto auto 1fr; }
  .menu-toggle { display:inline-flex; justify-content:center; }
  .primary-nav {
    display:none;
    grid-column:1 / -1;
    justify-content:flex-start;
    overflow:auto;
  }
  .primary-nav.open { display:flex; }
  .location-selector { justify-self:start; }
}
@media (max-width:760px) {
  .topbar { grid-template-columns:1fr auto; padding:12px; }
  .brand span, .location-selector, .top-actions .soft, .session { display:none; }
  .primary-nav.open { grid-column:1 / -1; }
  .top-actions { justify-content:flex-start; }
  main { width:calc(100vw - 22px); }
  .hero { width:100%; min-height:auto; border-radius:24px; padding:24px; max-width:100%; overflow:hidden; }
  .hero,
  .hero-copy,
  .hero-actions,
  .trust-row,
  .hero-search,
  .delivery-controls {
    width:100%;
    min-width:0;
    max-width:100%;
  }
  .hero h2,
  .hero p,
  .eyebrow {
    max-width:100%;
  }
  .hero::after { display:none; }
  .hero-card { min-width:0; width:100%; min-height:240px; }
  .delivery-controls { grid-template-columns:1fr; }
  .trust-row span { flex:0 1 auto; max-width:100%; }
  .search-quick-panel { align-items:flex-start; flex-direction:column; }
  .merchant-card { flex-basis:86%; }
  .product-card { flex-basis:88%; grid-template-columns:92px 1fr; }
  .product-img { width:92px; height:92px; }
  .bottom-nav { grid-template-columns:repeat(6,1fr); width:calc(100% - 14px); border-radius:18px; gap:4px; padding:6px; }
  .bottom-nav a, .bottom-nav button { min-height:40px; font-size:11px; border-radius:14px; }
  .live-order-top { flex-direction:column; }
  .live-process-grid { grid-template-columns:1fr; }
  .live-stage-badge { white-space:normal; }
}

/* Header stabilization: keep responsive menu polished instead of raw links. */
.topbar {
  grid-template-columns:auto auto minmax(0,1fr) auto auto;
  align-items:center;
  background:rgba(6,21,18,.96);
  color:#fff;
}
.topbar .brand span { color:rgba(255,255,255,.72); }
.primary-nav {
  min-width:0;
  overflow-x:auto;
  padding:7px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:20px;
  background:rgba(255,255,255,.06);
  scrollbar-width:none;
}
.primary-nav::-webkit-scrollbar { display:none; }
.primary-nav a {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:9px 13px;
  border-radius:999px;
  color:#f6fff9 !important;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.10);
  text-decoration:none !important;
  white-space:nowrap;
}
.primary-nav a:hover,
.primary-nav a:focus {
  color:#063f22 !important;
  background:#ffffff;
}
.menu-toggle,
.location-selector,
.icon-button {
  min-height:44px;
  border-color:rgba(255,255,255,.14);
  color:#fff;
  background:rgba(255,255,255,.10);
}
.menu-toggle {
  min-width:96px;
  background:var(--primary);
}
.location-selector {
  max-width:280px;
  background:var(--primary);
  color:#fff;
  box-shadow:0 18px 44px rgba(11,122,59,.22);
}
.top-actions {
  min-width:0;
  flex-wrap:nowrap;
}
.top-actions .soft,
.top-actions .cart-button {
  white-space:nowrap;
}
.top-actions .ghost { color:#fff; }
@media (max-width:1180px) {
  .topbar {
    grid-template-columns:auto auto minmax(0,1fr);
    gap:12px;
  }
  .menu-toggle {
    display:inline-flex;
    justify-content:center;
    justify-self:start;
  }
  .primary-nav {
    display:none;
    grid-column:1 / -1;
    order:6;
    width:100%;
    justify-content:flex-start;
  }
  .primary-nav.open {
    display:flex;
  }
  .location-selector {
    justify-self:start;
    max-width:240px;
  }
  .top-actions {
    grid-column:1 / -1;
    justify-content:flex-start;
    order:7;
  }
}
@media (max-width:760px) {
  .topbar {
    grid-template-columns:1fr auto;
    gap:10px;
  }
  .menu-toggle {
    justify-self:end;
    min-width:82px;
  }
  .primary-nav.open {
    grid-column:1 / -1;
  }
  .top-actions {
    grid-column:1 / -1;
    overflow-x:auto;
    padding-bottom:3px;
  }
  .top-actions .cart-button,
  .top-actions .profile-button,
  .top-actions .icon-button {
    flex:0 0 auto;
  }
}

/* Premium real-image customer polish: no abstract blobs, just useful app cards. */
body {
  background:#f6f8f7;
}
.hero {
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(340px,.72fr);
  align-items:center;
  gap:32px;
  min-height:560px;
  border-radius:24px;
  padding:44px;
  background:
    linear-gradient(90deg, rgba(4,31,22,.96), rgba(6,56,34,.84)),
    url("https://images.unsplash.com/photo-1606787366850-de6330128bfc?auto=format&fit=crop&w=1800&q=84") center/cover;
  box-shadow:0 28px 80px rgba(6,21,18,.18);
}
.hero::after,
.food-collage {
  display:none !important;
}
.hero h2 {
  letter-spacing:0;
  line-height:1.02;
  max-width:760px;
}
.hero-card {
  min-width:0;
  width:100%;
  min-height:420px;
  align-content:end;
  justify-items:stretch;
  border-radius:24px;
  padding:18px;
  border:1px solid rgba(255,255,255,.28);
  background:
    linear-gradient(180deg, rgba(6,21,18,.02) 38%, rgba(6,21,18,.86)),
    url("https://images.unsplash.com/photo-1543352634-a1c51d9f1fa7?auto=format&fit=crop&w=1100&q=84") center/cover;
  box-shadow:0 26px 70px rgba(0,0,0,.24);
}
.hero-card-badge {
  position:absolute;
  top:18px;
  left:18px;
  display:inline-flex;
  width:max-content;
  max-width:calc(100% - 36px);
  padding:9px 12px;
  border-radius:999px;
  background:#fff;
  color:var(--primary-dark);
  font-weight:900;
  box-shadow:0 12px 32px rgba(0,0,0,.16);
}
.hero-card-panel {
  display:grid;
  gap:4px;
  padding:16px;
  border-radius:20px;
  background:rgba(6,21,18,.82);
  backdrop-filter:blur(10px);
}
.hero-card-panel strong {
  font-size:42px;
  line-height:1;
}
.hero-card-panel span {
  color:#ecfff4;
}
.hero-search,
.delivery-controls {
  box-shadow:0 18px 44px rgba(0,0,0,.16);
}
.trust-row span {
  background:rgba(255,255,255,.14);
  border-color:rgba(255,255,255,.28);
}
.category-section,
.panel,
.promo-banner,
.metric {
  border-radius:24px;
}
.chip {
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:48px;
  padding:8px 14px 8px 8px;
  border-radius:18px;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.chip:hover {
  transform:translateY(-2px);
  box-shadow:0 10px 24px rgba(17,24,39,.08);
}
.chip-icon {
  display:inline-grid;
  place-items:center;
  min-width:34px;
  height:34px;
  padding:0 6px;
  border-radius:14px;
  background:#eaf7ef;
  color:var(--primary-dark);
  font-size:12px;
  font-weight:900;
}
.chip.active .chip-icon {
  background:rgba(255,255,255,.2);
  color:#fff;
}
.section-link-row {
  display:flex;
  gap:10px;
  overflow:auto;
  padding:2px 0 6px;
}
.section-link-row a {
  flex:0 0 auto;
  padding:10px 13px;
  border-radius:999px;
  background:#f8faf9;
  border:1px solid var(--border);
  color:var(--text);
  text-decoration:none;
  font-weight:900;
}
.section-link-row a:hover {
  background:#eaf7ef;
  color:var(--primary-dark);
}
.merchant-card {
  flex-basis:322px;
  border-radius:24px;
  overflow:hidden;
  border:1px solid rgba(229,231,235,.92);
  box-shadow:0 16px 38px rgba(17,24,39,.08);
}
.merchant-card:hover,
.merchant-card.selected {
  transform:translateY(-5px);
  box-shadow:0 24px 58px rgba(6,21,18,.14);
}
.merchant-img {
  height:188px;
  background-color:#edf2f0;
  background-size:cover;
  background-position:center;
}
.merchant-body {
  display:grid;
  gap:10px;
  padding:15px;
}
.merchant-body h4 {
  margin:0;
  line-height:1.16;
}
.verified-badge {
  display:inline-flex;
  padding:6px 9px;
  border-radius:999px;
  background:#e8f7ee;
  color:var(--primary-dark);
  font-size:12px;
  font-weight:900;
}
.rating-star {
  color:#f59e0b;
}
.merchant-footer {
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding-top:8px;
  border-top:1px solid var(--border);
  color:var(--primary-dark);
  font-size:13px;
  font-weight:900;
}
.favorite-btn {
  min-width:46px;
  font-size:12px;
}
.product-card {
  flex-basis:340px;
  grid-template-columns:118px 1fr;
  min-height:156px;
  border-radius:24px;
  border:1px solid rgba(229,231,235,.94);
  background:#fff;
  box-shadow:0 16px 34px rgba(17,24,39,.07);
  transition:transform .18s ease, box-shadow .18s ease;
}
.product-card:hover {
  transform:translateY(-4px);
  box-shadow:0 22px 48px rgba(6,21,18,.12);
}
.product-img {
  width:118px;
  height:118px;
  border-radius:20px;
  background-color:#edf2f0;
  background-size:cover;
  background-position:center;
}
.product-card h4 {
  line-height:1.18;
}
.product-actions button,
.quantity-control button {
  border-radius:16px;
}
.merchant-detail-hero {
  border-radius:24px;
  background:#fff;
}
.merchant-hero-img {
  min-height:168px;
  border-radius:22px;
  background-color:#edf2f0;
  background-size:cover;
  background-position:center;
}
@media (max-width:980px) {
  .hero {
    grid-template-columns:1fr;
    min-height:auto;
  }
  .hero-card {
    min-height:320px;
  }
}
@media (max-width:760px) {
  .hero {
    padding:22px;
    border-radius:22px;
  }
  .hero h2 {
    font-size:38px;
  }
  .hero-card {
    min-height:260px;
  }
  .hero-card-panel strong {
    font-size:34px;
  }
  .merchant-card,
  .product-card {
    flex-basis:88%;
  }
  .product-card {
    grid-template-columns:96px 1fr;
  }
  .product-img {
    width:96px;
    height:96px;
  }
}

/* Desktop header layout: prevent nav, location, and account controls from colliding. */
@media (min-width:1181px) {
  .topbar {
    grid-template-columns:minmax(270px,auto) minmax(360px,1fr) minmax(420px,max-content);
    grid-template-areas:
      "brand nav actions"
      "brand location actions";
    gap:10px 18px;
    align-items:center;
    padding:16px 28px;
  }
  .topbar .brand {
    grid-area:brand;
  }
  .primary-nav {
    grid-area:nav;
    justify-self:start;
    max-width:100%;
  }
  .location-selector {
    grid-area:location;
    justify-self:start;
    width:min(100%, 440px);
    max-width:440px;
    text-align:center;
  }
  .top-actions {
    grid-area:actions;
    justify-self:end;
    display:flex;
    flex-wrap:nowrap;
    align-items:center;
    justify-content:flex-end;
    gap:8px;
    max-width:560px;
  }
  .top-actions button {
    min-height:44px;
  }
  .top-actions .soft {
    padding-inline:14px;
  }
  .cart-button {
    min-width:110px;
  }
  .session {
    max-width:170px;
    min-height:44px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    text-align:left;
  }
  button.profile-button {
    flex:0 0 44px;
  }
  #logoutBtn {
    min-width:100px;
  }
}
@media (min-width:1181px) and (max-width:1440px) {
  .topbar {
    grid-template-columns:minmax(250px,auto) minmax(320px,1fr) minmax(360px,max-content);
    padding-inline:20px;
  }
  .primary-nav a {
    padding-inline:11px;
  }
  .location-selector {
    width:min(100%, 360px);
  }
  .top-actions {
    max-width:460px;
  }
  .top-actions .soft,
  #headerSearchBtn {
    display:none;
  }
  .session {
    max-width:150px;
  }
}

/* Category row polish: app chips instead of merged text and browser-default links. */
.category-strip {
  gap:12px;
  align-items:center;
  padding:6px 2px 12px;
}
.category-strip .chip {
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:50px;
  padding:7px 16px 7px 8px;
  border-radius:22px;
  line-height:1;
}
.category-strip .chip > span:not(.chip-icon) {
  display:inline-block;
}
.category-strip .chip-icon {
  display:inline-grid !important;
  place-items:center;
  min-width:36px;
  height:36px;
  border-radius:16px;
  background:#eef8f2;
  color:var(--primary-dark);
  font-size:17px;
  line-height:1;
}
.category-strip .chip.active .chip-icon {
  background:rgba(255,255,255,.18);
  color:#fff;
}
.section-link-row {
  display:flex !important;
  flex-wrap:wrap;
  gap:10px;
  padding:4px 0 10px;
}
.section-link-row a {
  display:inline-flex !important;
  align-items:center;
  cursor:pointer;
  min-height:40px;
  padding:9px 13px !important;
  border:1px solid var(--border) !important;
  border-radius:999px !important;
  background:#f8faf9 !important;
  color:var(--primary-dark) !important;
  text-decoration:none !important;
  font-size:14px;
  font-weight:900;
  box-shadow:none !important;
}
.section-link-row a:hover,
.section-link-row a:focus {
  background:#e8f7ee !important;
  border-color:rgba(11,122,59,.24) !important;
  color:var(--primary-dark) !important;
  transform:translateY(-2px);
}

/* Category menus: real delivery-app product cards with images, badges, prep time. */
#productGrid {
  align-items:stretch;
  min-width:0;
}
.menu-product-card {
  display:grid;
  grid-template-columns:1fr;
  flex:0 0 min(340px, calc(100vw - 48px));
  max-width:min(340px, calc(100vw - 48px));
  align-content:start;
  gap:0;
  min-height:0;
  overflow:hidden;
  border-radius:24px;
  background:#fff;
}
.menu-product-card .product-img {
  width:100%;
  height:178px;
  border-radius:0;
}
.product-card-body {
  display:grid;
  gap:10px;
  padding:14px;
}
.product-badge-row {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
}
.prep-badge {
  display:inline-flex;
  padding:6px 9px;
  border-radius:999px;
  background:#eef2f6;
  color:var(--muted);
  font-size:12px;
  font-weight:900;
}
.menu-product-card h4 {
  margin:0;
  font-size:20px;
}
.menu-product-card p {
  min-height:44px;
  margin:0;
}
.menu-product-card .product-actions {
  justify-content:flex-start;
  flex-wrap:wrap;
  color:var(--muted);
  font-weight:900;
}
.menu-product-card .product-actions button {
  margin-left:auto;
  min-height:42px;
  padding-inline:14px;
}
.product-dot {
  color:#c0c7d0;
}
.menu-category-pills {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:10px;
}
.menu-category-pills span {
  padding:7px 10px;
  border-radius:999px;
  background:#e8f7ee;
  color:var(--primary-dark);
  font-size:12px;
  font-weight:900;
}

/* Premium customer experience pack: onboarding, personalization, reviews, tracking. */
.onboarding-modal,
.tracking-overlay {
  position:fixed;
  inset:0;
  z-index:80;
  display:grid;
  place-items:center;
  padding:24px;
  background:rgba(2, 16, 12, .58);
  backdrop-filter:blur(10px);
}
.onboarding-modal[hidden],
.tracking-overlay[hidden] {
  display:none;
}
.onboarding-card,
.tracking-card {
  position:relative;
  width:min(940px, 100%);
  max-height:calc(100vh - 48px);
  overflow:auto;
  border-radius:30px;
  border:1px solid rgba(255,255,255,.45);
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(238,248,242,.98)),
    #fff;
  box-shadow:0 34px 90px rgba(2,16,12,.32);
}
.onboarding-card {
  padding:34px;
}
.onboarding-card h2 {
  max-width:680px;
  margin:8px 0 12px;
  color:var(--ink);
  font-size:clamp(34px, 5vw, 64px);
  line-height:.98;
}
.onboarding-card p {
  max-width:620px;
  color:var(--muted);
  font-size:18px;
}
.onboarding-close {
  position:absolute;
  top:18px;
  right:18px;
  min-height:42px;
  padding:0 14px;
  border-radius:999px;
  background:#eef2f6;
  color:var(--ink);
}
.onboarding-steps {
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:14px;
  margin:24px 0;
}
.onboarding-steps div,
.rail-card,
.review-card {
  border:1px solid var(--border);
  border-radius:24px;
  background:#fff;
  box-shadow:0 16px 38px rgba(11, 26, 43, .08);
}
.onboarding-steps div {
  display:grid;
  gap:10px;
  padding:18px;
}
.onboarding-steps strong {
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border-radius:16px;
  background:var(--primary);
  color:#fff;
}
.onboarding-steps span {
  color:var(--muted);
  font-weight:800;
}
.onboarding-actions {
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}
.onboarding-actions span {
  color:var(--muted);
  font-weight:900;
}
.premium-rails {
  background:linear-gradient(135deg, #ffffff, #f3fbf6);
}
.rail-grid {
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
}
.rail-card {
  display:grid;
  gap:10px;
  align-content:space-between;
  min-height:190px;
  padding:18px;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.rail-card:hover {
  transform:translateY(-3px);
  border-color:rgba(11,122,59,.26);
  box-shadow:0 20px 48px rgba(11, 122, 59, .12);
}
.rail-label {
  width:max-content;
  padding:7px 10px;
  border-radius:999px;
  background:#e8f7ee;
  color:var(--primary-dark);
  font-size:12px;
  font-weight:1000;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.rail-card h4,
.review-card strong {
  margin:0;
  color:var(--ink);
  font-size:20px;
}
.rail-card p,
.review-card p {
  margin:0;
  color:var(--muted);
  line-height:1.45;
}
.rail-card button {
  justify-self:start;
  min-height:42px;
}
.review-grid {
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
}
.review-card {
  display:grid;
  gap:12px;
  padding:18px;
}
.review-top {
  display:flex;
  justify-content:space-between;
  gap:12px;
}
.review-top span {
  color:#f59e0b;
  font-weight:1000;
  letter-spacing:2px;
}
.review-card small {
  color:var(--primary-dark);
  font-weight:900;
}
.order-actions,
.tracking-footer {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:14px;
}
.order-actions button {
  min-height:40px;
}
.order-actions button,
.tracking-footer button,
.merchant-trust-panel button {
  cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.order-actions button:hover,
.tracking-footer button:hover,
.merchant-trust-panel button:hover,
.order-actions button:focus-visible,
.tracking-footer button:focus-visible,
.merchant-trust-panel button:focus-visible {
  transform:translateY(-2px);
  box-shadow:0 14px 28px rgba(6,21,18,.12);
}
.merchant-trust-panel button.soft-dark,
.tracking-footer button.secondary {
  background:var(--dark);
  color:#fff;
}
.tracking-card {
  padding:0;
}
.tracking-header {
  display:flex;
  justify-content:space-between;
  gap:18px;
  padding:26px;
  border-bottom:1px solid var(--border);
}
.tracking-header h3 {
  margin:5px 0;
  font-size:34px;
}
.tracking-header p {
  margin:0;
  color:var(--muted);
}
.tracking-body {
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:18px;
  padding:24px;
}
.tracking-map-preview {
  position:relative;
  display:grid;
  align-content:end;
  min-height:360px;
  overflow:hidden;
  padding:26px;
  border-radius:28px;
  background:
    linear-gradient(90deg, rgba(11,122,59,.15) 1px, transparent 1px),
    linear-gradient(0deg, rgba(11,122,59,.15) 1px, transparent 1px),
    linear-gradient(135deg, #e9f7ef, #ffffff);
  background-size:52px 52px, 52px 52px, auto;
}
.tracking-map-preview:before,
.tracking-map-preview:after {
  content:"";
  position:absolute;
  border-radius:999px;
  background:rgba(11,122,59,.12);
}
.tracking-map-preview:before {
  width:220px;
  height:220px;
  top:34px;
  left:46px;
}
.tracking-map-preview:after {
  width:150px;
  height:150px;
  right:52px;
  bottom:72px;
}
.driver-dot {
  position:absolute;
  width:22px;
  height:22px;
  left:48%;
  top:42%;
  border:5px solid #fff;
  border-radius:999px;
  background:var(--primary);
  box-shadow:0 0 0 12px rgba(11,122,59,.16), 0 16px 30px rgba(11,122,59,.3);
  animation:driverPulse 1.5s ease-in-out infinite;
}
@keyframes driverPulse {
  0%, 100% { transform:translate(0, 0) scale(1); }
  50% { transform:translate(18px, -10px) scale(1.08); }
}
.tracking-map-preview strong,
.tracking-map-preview span {
  position:relative;
  z-index:1;
}
.tracking-map-preview strong {
  font-size:24px;
}
.tracking-map-preview span {
  color:var(--muted);
  font-weight:900;
}
.tracking-timeline {
  display:grid;
  gap:10px;
}
.tracking-step {
  display:grid;
  grid-template-columns:46px 1fr;
  gap:12px;
  align-items:center;
  padding:12px;
  border:1px solid var(--border);
  border-radius:18px;
  background:#fff;
}
.tracking-step.done {
  border-color:rgba(11,122,59,.22);
  background:#f2fbf5;
}
.tracking-step span {
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:16px;
  background:#eef2f6;
  color:var(--muted);
  font-weight:1000;
}
.tracking-step.done span {
  background:var(--primary);
  color:#fff;
}
.tracking-step strong,
.tracking-step small {
  display:block;
}
.tracking-step small {
  margin-top:3px;
  color:var(--muted);
  font-weight:800;
}
.tracking-footer {
  padding:0 24px 24px;
}
.competitive-panel {
  background:linear-gradient(135deg, #ffffff, #f6fbf8);
}
.competitive-grid {
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
}
.competitive-card {
  display:grid;
  gap:10px;
  min-height:190px;
  padding:18px;
  border:1px solid var(--border);
  border-radius:24px;
  background:#fff;
  box-shadow:0 16px 42px rgba(11,26,43,.08);
}
.competitive-card span {
  width:max-content;
  padding:7px 10px;
  border-radius:999px;
  background:#e8f7ee;
  color:var(--primary-dark);
  font-size:12px;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.competitive-card strong {
  color:var(--ink);
  font-size:24px;
}
.competitive-card p {
  margin:0;
  color:var(--muted);
  line-height:1.45;
}
.menu-toolbar {
  position:sticky;
  top:0;
  z-index:10;
  display:grid;
  gap:12px;
  padding:12px;
  margin:12px 0 18px;
  border:1px solid var(--border);
  border-radius:22px;
  background:rgba(255,255,255,.94);
  box-shadow:0 18px 45px rgba(11,26,43,.08);
  backdrop-filter:blur(12px);
}
.menu-toolbar input {
  width:100%;
  min-height:48px;
  border-radius:18px;
}
.menu-tabs {
  display:flex;
  gap:8px;
  overflow-x:auto;
  padding-bottom:2px;
}
.menu-tabs button {
  flex:0 0 auto;
  min-height:40px;
  padding:8px 13px;
  border-radius:999px;
  background:#eef2f6;
  color:var(--ink);
}
.menu-tabs button.active {
  background:var(--primary);
  color:#fff;
}
.merchant-premium-summary {
  grid-column:1 / -1;
  display:grid;
  gap:12px;
  padding:16px;
  border-radius:22px;
  background:#f8fbf9;
  border:1px solid var(--border);
}
.merchant-sticky-row,
.merchant-service-grid {
  display:flex;
  flex-wrap:wrap;
  gap:9px;
}
.merchant-service-grid span {
  padding:8px 10px;
  border-radius:999px;
  background:#fff;
  border:1px solid var(--border);
  color:var(--muted);
  font-size:12px;
  font-weight:900;
}
.product-img {
  position:relative;
}
.product-favorite-btn {
  position:absolute;
  top:10px;
  right:10px;
  min-height:34px;
  padding:7px 11px;
  border-radius:999px;
  background:rgba(255,255,255,.92);
  color:var(--primary-dark);
  box-shadow:0 10px 24px rgba(2,16,12,.16);
}
.product-favorite-btn.active {
  background:var(--primary);
  color:#fff;
}
.offline-banner {
  position:fixed;
  left:50%;
  bottom:92px;
  z-index:90;
  transform:translateX(-50%);
  display:flex;
  align-items:center;
  gap:12px;
  width:min(760px, calc(100% - 28px));
  padding:12px 14px;
  border:1px solid rgba(11,122,59,.22);
  border-radius:20px;
  background:#fff;
  box-shadow:0 22px 60px rgba(2,16,12,.2);
}
.offline-banner[hidden] {
  display:none;
}
.offline-banner strong {
  color:var(--ink);
}
.offline-banner span {
  color:var(--muted);
  font-weight:800;
}
.customization-modal {
  position:fixed;
  inset:0;
  z-index:120;
  display:grid;
  place-items:center;
  padding:20px;
}
.customization-modal[hidden] {
  display:none;
}
.customization-backdrop {
  position:absolute;
  inset:0;
  background:rgba(2,16,12,.58);
  backdrop-filter:blur(8px);
}
.customization-card {
  position:relative;
  z-index:1;
  width:min(760px, 100%);
  max-height:calc(100vh - 40px);
  overflow:auto;
  display:grid;
  gap:16px;
  padding:22px;
  border-radius:28px;
  background:#fff;
  box-shadow:0 32px 90px rgba(2,16,12,.34);
}
.customization-head {
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:flex-start;
}
#customizationProductPreview {
  display:grid;
  grid-template-columns:130px 1fr;
  gap:16px;
  align-items:center;
}
.custom-preview-image {
  width:130px;
  aspect-ratio:1;
  border-radius:22px;
  background-size:cover;
  background-position:center;
  box-shadow:0 18px 36px rgba(2,16,12,.16);
}
.customization-grid {
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
}
.custom-option-block {
  display:grid;
  gap:10px;
}
.custom-checks {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.custom-checks label,
.check-row {
  display:flex;
  align-items:center;
  gap:8px;
  width:auto;
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:999px;
  background:#f8faf9;
  font-weight:900;
}
.custom-checks input,
.check-row input {
  width:auto;
}
.cart-row > span {
  display:grid;
  gap:4px;
}
.cart-item-options {
  display:block;
  color:var(--muted);
  font-size:12px;
  font-weight:800;
}
[data-language="am"] .address-pill:after {
  content:"  -  አማርኛ ሁነታ";
  font-weight:1000;
}
@media (max-width:760px) {
  main {
    width:min(100% - 20px, 100%);
    margin-top:12px;
    padding-bottom:86px;
  }
  .topbar {
    gap:10px;
    padding:12px;
  }
  .hero-search {
    position:sticky;
    top:74px;
    z-index:18;
    grid-template-columns:1fr;
    padding:8px;
    border-radius:22px;
    background:rgba(255,255,255,.94);
    box-shadow:0 20px 48px rgba(2,16,12,.22);
    backdrop-filter:blur(12px);
  }
  .hero-search button {
    min-height:48px;
  }
  .checkout-stepper {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .content-grid,
  .dashboard,
  .mode-strip,
  .experience-grid,
  .tool-card-grid,
  .merchant-trust-panel,
  .quality-panel,
  .promise-panel,
  .neighborhood-grid {
    grid-template-columns:1fr;
  }
  .side-column {
    position:static;
  }
  .panel,
  .promo-banner,
  .marketplace-tools-panel,
  .quality-panel,
  .promise-panel,
  .neighborhood-panel {
    border-radius:22px;
    padding:16px;
  }
  .bottom-nav a,
  .bottom-nav button,
  button {
    min-height:48px;
  }
  .menu-product-card {
    flex-basis:88%;
  }
  .menu-product-card .product-img {
    height:150px;
  }
  .menu-product-card .product-actions button {
    width:100%;
    margin-left:0;
  }
  .onboarding-modal,
  .tracking-overlay {
    padding:12px;
  }
  .onboarding-card {
    padding:24px;
    border-radius:24px;
  }
  .onboarding-steps,
  .rail-grid,
  .review-grid,
  .tracking-body,
  .competitive-grid {
    grid-template-columns:1fr;
  }
  .tracking-header {
    flex-direction:column;
  }
  .tracking-map-preview {
    min-height:260px;
  }
  .order-actions button,
  .tracking-footer button {
    flex:1 1 150px;
  }
  .offline-banner {
    bottom:84px;
    align-items:flex-start;
    flex-direction:column;
  }
  #customizationProductPreview,
  .customization-grid {
    grid-template-columns:1fr;
  }
  .custom-preview-image {
    width:100%;
    aspect-ratio:16/9;
  }
}


.auth-field-status {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: .92rem;
  line-height: 1.35;
  background: #f4f7f6;
  border: 1px solid #d9e2df;
}
.auth-field-status.error { background:#fff4f4; border-color:#efb6b6; color:#a42121; }
.auth-field-status.success { background:#effaf3; border-color:#a8dfb8; color:#126b31; }

/* Auth experience v5: marketplace-first sign in / sign up modal */
[hidden] { display:none !important; }
body.auth-open { overflow:hidden; }
.auth-signup-top { background:#fff; color:var(--primary-dark); }
.auth-modal {
  position:fixed;
  inset:0;
  z-index:1000;
  display:grid;
  place-items:center;
  padding:24px;
}
.auth-backdrop {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  padding:0;
  border-radius:0;
  background:rgba(5,15,12,.58);
  backdrop-filter:blur(4px);
  box-shadow:none;
}
.auth-dialog {
  position:relative;
  z-index:1;
  width:min(520px, 100%);
  max-height:min(86vh, 760px);
  overflow:auto;
  border-radius:28px;
  background:#fff;
  border:1px solid rgba(6,21,18,.08);
  box-shadow:0 32px 90px rgba(4,18,13,.28);
  padding:28px;
}
.auth-close {
  position:absolute;
  right:18px;
  top:18px;
  width:38px;
  height:38px;
  padding:0;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#f1f4f2;
  color:#14251d;
  box-shadow:none;
  font-size:25px;
  line-height:1;
}
.auth-brand-row { display:flex; align-items:center; gap:12px; margin:0 52px 24px 0; }
.auth-brand-row strong { display:block; font-size:20px; }
.auth-brand-row span { display:block; color:var(--muted); font-size:13px; margin-top:2px; }
.auth-brand-mark { width:42px; height:42px; border-radius:13px; }
.auth-dialog h3 { font-size:30px; letter-spacing:-.035em; margin-bottom:8px; }
.auth-subtitle { margin:0 0 22px; font-size:15px; line-height:1.5; }
.auth-tabs {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6px;
  padding:5px;
  background:#f1f4f2;
  border-radius:16px;
  margin-bottom:20px;
}
.auth-tab {
  background:transparent;
  color:#425149;
  box-shadow:none;
  border-radius:12px;
  min-height:44px;
}
.auth-tab.active { background:#fff; color:#0b2418; box-shadow:0 5px 18px rgba(6,21,18,.08); }
.auth-pane { display:grid; gap:14px; }
.auth-pane label { font-size:13px; color:#33443b; }
.auth-pane input,
.auth-pane select { min-height:52px; border-radius:13px; font-size:16px; }
.auth-grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.auth-primary { min-height:54px; border-radius:14px; font-size:16px; margin-top:2px; }
.auth-helper,.auth-terms { margin:0; font-size:12px; color:#78847e; line-height:1.45; text-align:center; }
.signed-account-card {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
  padding:22px;
  border:1px solid var(--border);
  background:#fff;
  border-radius:22px;
}
.signed-account-card h4 { font-size:20px; margin:0 0 12px; }
.signed-account-actions { display:flex; gap:10px; flex-wrap:wrap; }
.customer-account-panel[hidden] { display:none !important; }

@media (max-width: 720px) {
  .auth-modal { padding:0; align-items:end; }
  .auth-dialog { width:100%; max-height:92vh; border-radius:24px 24px 0 0; padding:22px 18px 28px; }
  .auth-grid-2 { grid-template-columns:1fr; }
  .signed-account-card { flex-direction:column; }
  .top-actions #refreshBtn { display:none; }
}

/* Competitive production polish v7 */
.competitive-panel{margin:22px 0;padding:24px;border-radius:26px;background:linear-gradient(135deg,#f7fff9,#eef7f2);border:1px solid #d9e9df}.advantage-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.advantage-grid article{background:#fff;border:1px solid #e1e9e4;border-radius:18px;padding:18px;box-shadow:0 10px 28px rgba(11,48,31,.06)}.advantage-grid strong{display:block;font-size:16px;margin-bottom:7px}.advantage-grid span{display:block;color:#65736b;line-height:1.45;font-size:14px}.auth-dialog{box-shadow:0 30px 90px rgba(3,28,18,.25)}.merchant-card,.product-card,.panel{transition:transform .18s ease,box-shadow .18s ease}.merchant-card:hover,.product-card:hover{transform:translateY(-2px);box-shadow:0 18px 40px rgba(10,45,30,.12)}@media(max-width:900px){.advantage-grid{grid-template-columns:1fr 1fr}}@media(max-width:620px){.advantage-grid{grid-template-columns:1fr}}


/* V8 marketplace polish */
:root {
  --radius-xl:32px;
  --radius-lg:24px;
  --surface-soft:#f5f8f6;
  --ink:#101814;
}
body { background:linear-gradient(180deg,#f8faf9 0%,#f4f7f5 100%); }
.topbar {
  border-bottom:1px solid rgba(255,255,255,.08);
  box-shadow:0 10px 34px rgba(4,20,14,.14);
}
.primary-nav { background:rgba(255,255,255,.065); border:1px solid rgba(255,255,255,.10); padding:5px; border-radius:999px; }
.primary-nav a { border-radius:999px; padding:9px 14px; transition:.18s ease; }
.primary-nav a:hover { background:rgba(255,255,255,.12); }
.location-selector { background:#0f8c49; min-width:280px; box-shadow:none; }
.hero { min-height:500px; border-radius:36px; box-shadow:0 28px 70px rgba(6,21,18,.18); }
.hero-copy { max-width:790px; }
.hero-search { background:white; padding:7px; border-radius:22px; box-shadow:0 18px 48px rgba(0,0,0,.16); }
.hero-search input { border:0; box-shadow:none !important; }
.hero-search button { border-radius:16px; }
.panel, .metric, .mode-card { border-color:#e7ece9; }
.metric { box-shadow:0 10px 26px rgba(15,40,28,.055); }
.signed-in-welcome {
  display:flex; align-items:center; justify-content:space-between; gap:20px;
  padding:20px 24px; border-radius:26px; color:var(--ink);
  background:linear-gradient(135deg,#effbf4,#ffffff 68%);
  border:1px solid #dcefe4; box-shadow:0 14px 36px rgba(11,122,59,.08);
}
.signed-in-welcome[hidden] { display:none !important; }
.signed-in-welcome-copy { display:grid; gap:3px; }
.welcome-kicker { color:var(--primary); font-size:11px; font-weight:900; letter-spacing:.12em; text-transform:uppercase; }
.signed-in-welcome-copy strong { font-size:22px; letter-spacing:-.02em; }
.signed-in-welcome-copy > span:last-child { color:var(--muted); font-weight:650; }
.signed-in-welcome-actions { display:flex; gap:9px; flex-wrap:wrap; justify-content:flex-end; }
.auth-dialog {
  width:min(520px,calc(100vw - 28px)); border-radius:28px; padding:28px;
  box-shadow:0 36px 90px rgba(2,18,10,.28); border:1px solid rgba(255,255,255,.78);
}
.auth-dialog h3 { font-size:30px; letter-spacing:-.035em; margin:14px 0 5px; }
.auth-subtitle { margin-bottom:18px; }
.auth-tabs { padding:4px; border-radius:16px; background:#eef3f0; }
.auth-tab { box-shadow:none; border-radius:13px; }
.auth-pane { gap:13px; }
.auth-pane input, .auth-pane select { min-height:50px; border-radius:14px; background:#fbfcfb; }
.auth-primary { min-height:52px; border-radius:15px; font-size:15px; }
.auth-benefits { display:flex; gap:8px; flex-wrap:wrap; margin-top:3px; }
.auth-benefits span { padding:7px 9px; border-radius:999px; background:#eff8f2; color:#315d43; font-size:11px; font-weight:800; }
.customer-account-panel { border:1px solid #e2ebe5; box-shadow:0 16px 42px rgba(15,40,28,.07); }
.signed-account-card { background:linear-gradient(135deg,#fff,#f8fbf9); }
.profile-button { min-width:44px; }
@media (max-width: 760px) {
  .signed-in-welcome { align-items:flex-start; flex-direction:column; }
  .signed-in-welcome-actions { width:100%; }
  .signed-in-welcome-actions button { flex:1; }
  .location-selector { min-width:0; width:100%; }
}

/* V10 cart discovery and ordering UX */
.merchant-card-actions{margin-top:14px;display:flex;gap:10px}.view-menu-btn{width:100%;border:0;border-radius:14px;padding:12px 14px;background:#0b7a3b;color:#fff;font-weight:800;cursor:pointer;box-shadow:0 8px 20px rgba(11,122,59,.18)}.view-menu-btn:hover{filter:brightness(.96);transform:translateY(-1px)}.menu-empty-state{display:flex;flex-direction:column;gap:8px;padding:26px;border:1px dashed #cbd8d0;border-radius:18px;background:#f8fbf9;color:#32443a}.menu-empty-state strong{font-size:18px;color:#0b2c20}.product-actions button{min-width:118px;padding:11px 14px;border-radius:13px;background:#0b7a3b;color:#fff;border:0;font-weight:800;cursor:pointer}.product-actions button:disabled{background:#d9dfdc;color:#748078;cursor:not-allowed}.menu-product-card .product-actions{flex-wrap:wrap}.menu-product-card .product-actions button{margin-left:auto}@media(max-width:700px){.merchant-card-actions{margin-top:10px}.view-menu-btn{padding:11px 12px}.product-actions button{width:100%;margin-left:0!important}}

/* V16 — Uber Eats-inspired customer marketplace: clean discovery-first feed */
body { background:#fff; }
.app { background:#fff; }
.topbar { background:#fff !important; color:#111 !important; border-bottom:1px solid #e8e8e8; box-shadow:none !important; position:sticky; top:0; z-index:1000; padding:14px 28px; }
.brand h1,.brand span { color:#111 !important; }
.brand-mark { background:#16a34a !important; }
.primary-nav { order:3; width:100%; justify-content:flex-start; overflow-x:auto; background:transparent !important; border:0 !important; padding:8px 0 0; }
.primary-nav a { background:#f3f3f3 !important; color:#111 !important; border:0 !important; padding:11px 18px; border-radius:999px; }
.location-selector { background:#f3f3f3 !important; color:#111 !important; border:0 !important; border-radius:999px !important; min-width:280px; }
.top-actions .soft,.top-actions .icon-button,.profile-button,.session { background:#f3f3f3 !important; color:#111 !important; border:0 !important; }
.cart-button { background:#111 !important; color:#fff !important; border-radius:999px !important; }
main { max-width:1440px; margin:auto; padding:0 28px 64px; }
.hero,.dashboard,.mode-strip,.marketplace-assurance,.search-quick-panel,.section-link-row { display:none !important; }
.content-grid { display:block !important; }
.main-column { width:100%; }
.side-column { display:none !important; }
.panel { border:0 !important; box-shadow:none !important; padding:24px 0 !important; background:#fff !important; }
.main-column > .panel:first-child { padding-top:30px !important; }
.main-column > .panel:first-child .section-head { margin-bottom:18px; }
.main-column > .panel:first-child .section-head h3 { font-size:30px; letter-spacing:-.7px; }
#applyDiscoveryBtn { display:none !important; }
.filter-row { display:flex !important; gap:10px; overflow-x:auto; margin:0 0 24px; padding-bottom:3px; }
.filter-row label { font-size:0; flex:0 0 auto; }
.filter-row select,.filter-row input { font-size:14px !important; min-height:44px; border:0 !important; background:#f3f3f3 !important; border-radius:999px !important; padding:0 16px !important; width:auto !important; min-width:145px; }
.merchant-grid { display:grid !important; grid-template-columns:repeat(3,minmax(0,1fr)) !important; gap:28px 18px !important; overflow:visible !important; }
.merchant-card { border:0 !important; border-radius:0 !important; box-shadow:none !important; overflow:visible !important; }
.merchant-card:hover,.merchant-card.selected { transform:none !important; box-shadow:none !important; border:0 !important; }
.merchant-img { height:210px !important; border-radius:14px !important; background-color:#eee; }
.merchant-body { padding:10px 2px 0 !important; }
.merchant-body h4 { font-size:19px !important; margin:4px 0 5px !important; }
.card-topline .badge,.verified-badge { display:none !important; }
.open-badge { top:12px !important; left:12px !important; right:auto !important; background:#fff !important; color:#111 !important; }
.favorite-btn { width:40px !important; height:40px !important; padding:0 !important; border-radius:50% !important; font-size:0 !important; right:12px !important; top:12px !important; }
.favorite-btn::after { content:'♡'; font-size:25px; color:#111; }
.favorite-btn.active::after { content:'♥'; }
.meta { color:#545454 !important; font-weight:500 !important; gap:5px !important; }
.merchant-footer { border:0 !important; padding-top:5px !important; color:#545454 !important; font-weight:500 !important; }
.merchant-card-actions { margin-top:9px; }
.view-menu-btn { width:auto !important; background:#111 !important; color:#fff !important; border-radius:999px !important; padding:10px 16px !important; }
#recommendedGrid.product-grid { grid-template-columns:repeat(4,minmax(0,1fr)) !important; }
#menuPanel { border-top:1px solid #eee !important; margin-top:10px; }
#menuPanel .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:14px !important; }
.product-card { border:1px solid #e5e5e5 !important; border-radius:14px !important; background:#fff !important; }
.product-card button { background:#111 !important; color:#fff !important; border-radius:999px !important; }
/* Cart is a real drawer instead of a permanent dashboard column. */
#cartDrawer .drawer-panel { width:min(440px,94vw) !important; background:#fff !important; }
#cartDrawerBody .cart-item { border-bottom:1px solid #eee; }
#cartDrawerSummary { position:sticky; bottom:0; background:#fff; padding:18px 0; }
@media(max-width:900px){
  .topbar{padding:12px 16px}.location-selector{min-width:0}.merchant-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important}#recommendedGrid.product-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important}main{padding:0 16px 48px}
}
@media(max-width:560px){.merchant-grid{grid-template-columns:1fr !important}.merchant-img{height:190px !important}#menuPanel .product-grid{grid-template-columns:1fr !important}}

/* V17 customer storefront: restaurant -> menu -> plus -> cart flow */
.marketplace-empty{grid-column:1/-1;padding:34px 20px;background:#fafafa;border-radius:16px;text-align:center}.marketplace-empty strong,.marketplace-empty span{display:block}.marketplace-empty span{margin-top:8px;color:#666}
#menuPanel{scroll-margin-top:105px}.merchant-detail-hero{display:grid!important;grid-template-columns:minmax(220px,34%) 1fr;gap:28px;align-items:center;margin-bottom:20px}.merchant-detail-hero .merchant-hero-img{min-height:260px;border-radius:18px;background-size:cover;background-position:center}.merchant-detail-hero h4{font-size:36px;margin:0 0 10px;letter-spacing:-1px}.merchant-trust-panel{display:none!important}.special-request{display:none!important}.menu-toolbar{position:sticky;top:92px;z-index:20;background:#fff;padding:10px 0 14px;border-bottom:1px solid #eee}.menu-toolbar input{border:0!important;background:#f3f3f3!important;border-radius:999px!important;padding:14px 18px!important}.menu-tabs{display:flex;gap:8px;overflow-x:auto;padding-top:10px}.menu-tabs button{white-space:nowrap;border:0;background:#f3f3f3;border-radius:999px;padding:10px 15px;font-weight:700}.menu-tabs button.active{background:#111;color:#fff}
#menuPanel .product-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:26px 16px!important}.uber-menu-card{display:block!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important}.uber-menu-card:hover{transform:none!important;box-shadow:none!important}.uber-menu-card .product-img{position:relative;width:100%;height:190px!important;border-radius:14px!important;background-size:cover;background-position:center;background-color:#eee}.uber-menu-card .product-card-body{padding:9px 1px 0!important}.uber-menu-card h4{font-size:17px!important;margin:0 0 4px!important}.uber-menu-card .menu-price{font-size:14px}.uber-menu-card p{color:#666;margin:5px 0!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.uber-item-meta{display:flex;gap:8px;color:#666;font-size:13px}.quick-add-btn{position:absolute!important;right:10px!important;bottom:10px!important;width:42px!important;height:42px!important;min-width:42px!important;padding:0!important;border-radius:50%!important;background:#fff!important;color:#111!important;border:0!important;box-shadow:0 2px 12px rgba(0,0,0,.22)!important;font-size:28px!important;line-height:1!important;font-weight:500!important;z-index:5}.quick-add-btn:hover{background:#eee!important}.quick-add-btn:disabled{opacity:.55}.product-favorite-btn{position:absolute!important;right:10px!important;top:10px!important;width:38px!important;height:38px!important;min-width:38px!important;padding:0!important;border-radius:50%!important;background:#fff!important;color:#111!important;box-shadow:0 2px 10px rgba(0,0,0,.14)!important;font-size:22px!important;z-index:5}
@media(max-width:1050px){#menuPanel .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}@media(max-width:760px){.merchant-detail-hero{grid-template-columns:1fr}.merchant-detail-hero .merchant-hero-img{min-height:210px}.merchant-detail-hero h4{font-size:28px}#menuPanel .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.menu-toolbar{top:78px}}@media(max-width:480px){#menuPanel .product-grid{grid-template-columns:1fr 1fr!important;gap:20px 10px!important}.uber-menu-card .product-img{height:145px!important}.uber-menu-card h4{font-size:15px!important}}


/* V18 YourAddis marketplace — Uber-Eats-inspired information architecture, original branding */
:root{--ue-black:#000;--ue-green:#06c167;--ue-bg:#fff;--ue-soft:#f3f3f3;--ue-line:#e8e8e8;--ue-text:#111}
body{background:#fff;color:var(--ue-text)}
.topbar{position:sticky;top:0;z-index:120;background:#fff!important;color:#111!important;border-bottom:1px solid var(--ue-line)!important;box-shadow:none!important;padding:12px 22px!important;gap:18px!important}
.topbar .brand h1,.topbar .brand span,.topbar .session{color:#111!important}.brand-mark{background:var(--ue-green)!important;color:#fff!important}.primary-nav{display:none!important}.location-selector{background:transparent!important;color:#111!important;border:0!important;box-shadow:none!important;min-width:auto!important;text-align:left!important;padding:8px 10px!important}.location-selector:before{content:"⌖ ";font-weight:900}.top-actions{margin-left:auto}.top-actions button{border-radius:999px!important;box-shadow:none!important}.top-actions .soft,.top-actions .profile-button{background:#f3f3f3!important;color:#111!important}.top-actions .auth-signup-top,.top-actions .cart-button{background:#111!important;color:#fff!important}.top-actions #refreshBtn,.top-actions #sessionLabel{display:none!important}
.uber-side-nav{position:fixed;top:77px;bottom:0;left:0;width:205px;padding:18px 12px;background:#fff;border-right:1px solid #eee;z-index:70;display:flex;flex-direction:column;gap:4px;overflow:auto}.uber-side-nav a,.uber-side-nav button{display:flex;align-items:center;gap:14px;width:100%;min-height:46px;padding:10px 14px;border:0;border-radius:0;background:#fff;color:#222;text-decoration:none;font-weight:650;box-shadow:none;text-align:left}.uber-side-nav a:hover,.uber-side-nav button:hover,.uber-side-nav a.active{background:#f1f1f1}.uber-side-nav a.active{border-left:4px solid #111}.uber-side-nav span{width:24px;text-align:center;font-size:18px}.uber-side-divider{height:1px;background:#eee;margin:10px 0}
main{margin-left:205px!important;max-width:none!important;padding:0 22px 70px!important}.hero{margin:0 -22px 12px!important;border-radius:0!important;min-height:190px!important;background:#06c167!important;box-shadow:none!important;padding:34px 46px!important}.hero:before,.hero:after,.hero-card{display:none!important}.hero-copy{max-width:850px!important}.hero .eyebrow,.hero-copy>p,.hero .trust-row,.hero .delivery-controls,.hero .address-pill,.hero .hero-actions{display:none!important}.hero h2{color:#000!important;font-size:34px!important;max-width:620px!important;margin:0 0 20px!important}.hero-search{max-width:720px!important;background:#fff!important;padding:0!important;border-radius:0!important;box-shadow:none!important}.hero-search input{min-height:54px!important;padding:0 18px!important}.hero-search button{background:#111!important;border-radius:0!important;min-width:110px!important}.dashboard,.mode-strip,.competitive-panel,.premium-rails,.reviews-panel,.promise-panel,.quality-panel,.neighborhood-panel{display:none!important}
.category-section{padding:12px 0 4px!important;border:0!important;background:#fff!important}.category-section .section-head,.section-link-row,.search-quick-panel{display:none!important}.category-strip{display:flex!important;gap:26px!important;overflow:auto!important;padding:8px 0 18px!important}.category-strip .chip{min-width:76px!important;background:#fff!important;border:0!important;box-shadow:none!important;padding:0!important;display:grid!important;gap:8px!important;justify-items:center!important;color:#222!important}.category-strip .chip-icon{width:64px!important;height:64px!important;border-radius:50%!important;background:#f5f5f5!important;display:grid!important;place-items:center!important;font-size:29px!important}.category-strip .chip.active .chip-icon{background:#e5f8ed!important}.category-strip .chip span:last-child{font-size:13px!important;font-weight:700!important}.content-grid{display:block!important}.main-column{display:block!important}.side-column{display:none!important}.main-column>.panel{border:0!important;box-shadow:none!important;border-radius:0!important;padding:14px 0 28px!important}.main-column>.panel>.section-head{margin-bottom:14px!important}.main-column>.panel>.section-head .eyebrow{display:none!important}.main-column>.panel>.section-head h3{font-size:28px!important;color:#111!important}.filter-row{display:flex!important;gap:10px!important;overflow:auto!important;margin-bottom:20px!important}.filter-row label{font-size:0!important}.filter-row select,.filter-row input{font-size:14px!important;background:#f3f3f3!important;border:0!important;border-radius:999px!important;min-height:42px!important;padding:0 16px!important}.filter-row input{width:120px!important}#applyDiscoveryBtn{background:#f3f3f3!important;color:#111!important;border-radius:999px!important;box-shadow:none!important}.merchant-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:30px 18px!important;overflow:visible!important}.merchant-card{border:0!important;box-shadow:none!important;border-radius:0!important;background:#fff!important;overflow:visible!important;min-width:0!important}.merchant-card:hover{transform:none!important;box-shadow:none!important}.merchant-img{min-height:185px!important;border-radius:12px!important;background-size:cover!important}.merchant-img:after{border-radius:12px!important}.merchant-body{padding:10px 0 0!important}.merchant-body .card-topline{display:none!important}.merchant-body h4{font-size:19px!important;margin:0 0 5px!important;color:#111!important}.merchant-body .meta{font-size:14px!important;color:#444!important;display:flex!important;gap:7px!important;flex-wrap:wrap!important}.merchant-footer{font-size:13px!important;border:0!important;padding-top:4px!important;color:#666!important}.merchant-card-actions{margin-top:10px!important}.view-menu-btn{width:auto!important;background:#111!important;border-radius:999px!important;padding:9px 14px!important;font-size:13px!important;box-shadow:none!important}.favorite-btn{border-radius:50%!important;width:40px!important;height:40px!important;padding:0!important;background:#fff!important;color:#111!important}.open-badge{background:#fff!important;color:#111!important;border-radius:999px!important}
#recommendedGrid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:20px!important}.product-card{border:0!important;box-shadow:none!important;background:#fff!important}.product-card:hover{transform:none!important}.product-img{border-radius:12px!important}
/* Store page */
.store-back-btn{background:#f3f3f3!important;color:#111!important;border:0!important;border-radius:999px!important;padding:10px 15px!important;margin:4px 0 14px!important;box-shadow:none!important}.storefront-view .uber-side-nav{display:none!important}.storefront-view main{margin-left:0!important;max-width:1180px!important;margin-right:auto!important;margin-left:auto!important;padding-top:18px!important}.storefront-view .hero,.storefront-view #signedInWelcome,.storefront-view .category-section,.storefront-view .main-column>section:not(#menuPanel),.storefront-view .side-column{display:none!important}.storefront-view #menuPanel{display:block!important;border:0!important;box-shadow:none!important;padding:0!important}.storefront-view #menuPanel>.section-head{display:none!important}.merchant-detail-hero{grid-template-columns:230px 1fr!important;gap:34px!important;align-items:center!important;border-bottom:1px solid #eee!important;padding-bottom:22px!important}.merchant-detail-hero .merchant-hero-img{grid-column:2!important;min-height:300px!important;border-radius:12px!important}.merchant-detail-hero .merchant-hero-copy{grid-column:1!important;grid-row:1!important}.merchant-detail-hero h4{font-size:38px!important;color:#111!important}.merchant-detail-hero .meta{color:#333!important}.menu-toolbar{top:76px!important;background:#fff!important;padding:16px 0!important}.menu-toolbar input{width:min(520px,100%)!important}.menu-tabs button.active{background:#111!important}.storefront-view #menuPanel .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:28px 18px!important}.uber-menu-card .product-img{height:215px!important;border-radius:12px!important}.quick-add-btn{display:grid!important;place-items:center!important;background:#fff!important;color:#111!important;font-size:30px!important;font-weight:400!important}.quick-add-btn:after{content:""}.menu-empty-state{grid-column:1/-1!important;padding:34px!important;background:#f7f7f7!important;border:0!important}.drawer-panel{width:min(440px,100vw)!important;background:#fff!important}.drawer-panel .place-order{background:#111!important}.cart-button span{background:#fff!important;color:#111!important;border-radius:999px!important;padding:2px 7px!important}
@media(max-width:1100px){.merchant-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.storefront-view #menuPanel .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.uber-side-nav{width:170px}main{margin-left:170px!important}}
@media(max-width:760px){.uber-side-nav{display:none!important}main{margin-left:0!important;padding:0 14px 80px!important}.topbar{padding:10px 12px!important}.topbar .brand span,.location-selector{display:none!important}.hero{margin:0 -14px 10px!important;padding:28px 18px!important;min-height:170px!important}.hero h2{font-size:28px!important}.merchant-grid{grid-template-columns:1fr 1fr!important;gap:20px 10px!important}.merchant-img{min-height:135px!important}.merchant-body h4{font-size:16px!important}.merchant-footer,.view-menu-btn{font-size:12px!important}.storefront-view .merchant-detail-hero{grid-template-columns:1fr!important}.storefront-view .merchant-detail-hero .merchant-hero-img{grid-column:1!important;grid-row:1!important;min-height:220px!important}.storefront-view .merchant-detail-hero .merchant-hero-copy{grid-column:1!important;grid-row:2!important}.storefront-view #menuPanel .product-grid{grid-template-columns:1fr 1fr!important;gap:20px 10px!important}.uber-menu-card .product-img{height:150px!important}.top-actions #headerSearchBtn{display:none!important}}

/* V20 signed-in header polish */
.top-actions #logoutBtn:not([hidden]){display:inline-flex!important;align-items:center;justify-content:center;background:#fff!important;color:#111!important;border:1px solid #d8d8d8!important;font-weight:800!important;min-width:92px!important;padding:10px 16px!important;border-radius:999px!important;}
.top-actions #profileBtn{background:#f3f3f3!important;color:#111!important;border:0!important;font-weight:800!important;min-width:72px!important;width:auto!important;padding:10px 14px!important;border-radius:999px!important;}
.uber-menu-card .product-img,.custom-preview-image,.merchant-img{background-color:#f2f2f2;background-size:cover;background-position:center;}
.quick-add-btn{box-shadow:0 3px 12px rgba(0,0,0,.18)!important;}


/* V21 cart compatibility, local sample imagery, and viewport polish */
html,body{max-width:100%;overflow-x:hidden!important}
.app,.topbar,main,.content-grid,.main-column,.panel,.merchant-grid,#recommendedGrid,#productGrid{min-width:0;max-width:100%}
.topbar{width:100%;box-sizing:border-box}
.topbar .brand{flex:0 0 auto;min-width:180px}
.location-selector{min-width:220px!important;max-width:420px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.top-actions{display:flex;align-items:center;gap:8px;flex-wrap:nowrap;min-width:max-content}
.top-actions #logoutBtn:not([hidden]){display:inline-flex!important;color:#111!important;background:#fff!important;border:1px solid #d6d6d6!important;opacity:1!important;visibility:visible!important}
.top-actions #logoutBtn:not([hidden])::after{content:""}
.uber-menu-card .product-img,.custom-preview-image{background-repeat:no-repeat!important;background-size:cover!important;background-position:center!important}
.uber-menu-card .product-img{min-height:190px!important}
@media(max-width:980px){.location-selector{min-width:0!important;max-width:240px}.topbar .brand{min-width:150px}.top-actions{gap:6px}}
@media(max-width:760px){.topbar .brand{min-width:0}.top-actions{min-width:0}.top-actions #profileBtn{display:none!important}.top-actions #logoutBtn:not([hidden]){min-width:76px!important;padding:9px 12px!important}.uber-menu-card .product-img{min-height:145px!important}}


/* V27 — collapsible marketplace rail + visible functional checkout */
.uber-side-nav{transition:width .2s ease,transform .2s ease;overflow:visible!important}
.uber-side-nav>a,.uber-side-nav>button:not(.sidebar-collapse-btn){overflow:hidden;white-space:nowrap}
.sidebar-collapse-btn{position:absolute!important;right:-17px!important;top:14px!important;width:34px!important;min-width:34px!important;height:34px!important;min-height:34px!important;padding:0!important;border:1px solid #dedede!important;border-radius:50%!important;background:#fff!important;box-shadow:0 3px 12px rgba(0,0,0,.14)!important;display:grid!important;place-items:center!important;font-size:27px!important;line-height:1!important;z-index:5!important}
body.sidebar-collapsed .uber-side-nav{width:64px!important}
body.sidebar-collapsed .uber-side-nav>a,body.sidebar-collapsed .uber-side-nav>button:not(.sidebar-collapse-btn){font-size:0!important;justify-content:center!important;padding-left:8px!important;padding-right:8px!important;gap:0!important}
body.sidebar-collapsed .uber-side-nav span{font-size:19px!important;width:28px!important}
body.sidebar-collapsed .sidebar-collapse-btn{font-size:27px!important}
body.sidebar-collapsed main{margin-left:64px!important}
#checkoutPanel.checkout-relocated[hidden]{display:none!important}
#checkoutPanel.checkout-relocated{display:block!important;max-width:820px!important;margin:24px auto!important;border:1px solid #e8e8e8!important;border-radius:20px!important;padding:24px!important;box-shadow:0 10px 35px rgba(0,0,0,.06)!important;scroll-margin-top:100px}
#checkoutPanel.checkout-relocated .checkout-stepper{display:flex!important;gap:8px!important;overflow:auto!important}
.marketplace-tools-panel .tool-card{cursor:pointer}
@media(max-width:760px){.sidebar-collapse-btn{display:none!important}.uber-side-nav{display:none!important}body.sidebar-collapsed main{margin-left:0!important}#checkoutPanel.checkout-relocated{margin:16px 0!important;padding:18px!important;border-radius:16px!important}}


/* V28: non-obstructive Uber-style marketplace navigation */
@media (min-width: 901px) {
  body.marketplace-mode .marketplace-sidebar {
    position: sticky !important;
    top: var(--topbar-height, 88px);
    align-self: start;
    width: 214px !important;
    min-width: 214px !important;
    max-width: 214px !important;
    height: calc(100vh - var(--topbar-height, 88px));
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 20;
    background: #fff;
    transition: width .18s ease, min-width .18s ease, max-width .18s ease;
  }
  body.marketplace-mode.sidebar-collapsed .marketplace-sidebar {
    width: 68px !important;
    min-width: 68px !important;
    max-width: 68px !important;
  }
  body.marketplace-mode .marketplace-content,
  body.marketplace-mode .marketplace-main {
    min-width: 0 !important;
    width: auto !important;
    overflow-x: clip;
  }
  body.marketplace-mode.sidebar-collapsed .marketplace-sidebar .nav-label,
  body.marketplace-mode.sidebar-collapsed .marketplace-sidebar a span:not(.nav-icon),
  body.marketplace-mode.sidebar-collapsed .marketplace-sidebar button span:not(.nav-icon) {
    display: none !important;
  }
  #marketplaceSidebarToggle {
    position: sticky;
    bottom: 12px;
    margin: 12px auto;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    box-shadow: 0 2px 10px rgba(0,0,0,.14);
    background: #fff;
    z-index: 25;
  }
}
@media (max-width: 900px) {
  body.marketplace-mode .marketplace-sidebar {
    position: fixed !important;
    left: 0;
    top: 0;
    bottom: 0;
    width: min(82vw, 310px) !important;
    transform: translateX(-105%);
    transition: transform .2s ease;
    z-index: 1000;
    background: #fff;
    box-shadow: 10px 0 30px rgba(0,0,0,.18);
  }
  body.marketplace-mode.mobile-nav-open .marketplace-sidebar {
    transform: translateX(0);
  }
}
.order-payment-notice {
  display:flex; gap:8px; flex-direction:column; padding:12px 14px;
  border-radius:14px; background:#f3f8f4; margin:10px 0;
}

/* V29 production UX: category carousel and safer responsive navigation */
.category-carousel{display:grid;grid-template-columns:42px minmax(0,1fr) 42px;align-items:center;gap:8px;width:100%;overflow:hidden}
.category-carousel .category-strip{scroll-behavior:smooth;scrollbar-width:none;min-width:0}
.category-carousel .category-strip::-webkit-scrollbar{display:none}
.category-arrow{width:40px;height:40px;border-radius:50%;border:1px solid #e5e7eb;background:#fff;color:#111;display:grid;place-items:center;font-size:26px;line-height:1;padding:0;box-shadow:0 3px 12px rgba(0,0,0,.08);z-index:2}
.category-arrow:hover{background:#f3f3f3}
.marketplace-tools-panel .tool-card{cursor:pointer;transition:transform .15s ease,box-shadow .15s ease}
.marketplace-tools-panel .tool-card:hover,.marketplace-tools-panel .tool-card:focus-visible{transform:translateY(-2px);box-shadow:0 10px 24px rgba(0,0,0,.08);outline:2px solid #0b7a3b;outline-offset:2px}
.action-status{position:fixed;left:50%;bottom:max(18px,env(safe-area-inset-bottom));transform:translateX(-50%);z-index:250;width:min(720px,calc(100vw - 28px));padding:12px 16px;border-radius:14px;background:#fff;border:1px solid #e5e7eb;box-shadow:0 14px 40px rgba(0,0,0,.18)}
.action-status.error{border-color:#ef9a9a;background:#fff7f7;color:#9f1d1d}
@media(max-width:760px){.category-carousel{grid-template-columns:minmax(0,1fr)}.category-arrow{display:none!important}.category-carousel .category-strip{padding-left:2px!important;padding-right:2px!important}.marketplace-tools-panel .tool-card{min-width:82vw}.tool-card-grid{display:flex!important;overflow-x:auto!important;scroll-snap-type:x mandatory;gap:12px!important}.tool-card-grid .tool-card{scroll-snap-align:start}.customization-card{width:calc(100vw - 18px)!important;max-height:calc(100dvh - 18px)!important;border-radius:20px!important}.customization-modal{padding:9px!important}.checkout-relocated{scroll-margin-top:76px}.drawer-panel{padding-bottom:calc(18px + env(safe-area-inset-bottom))!important}}

/* V30: Uber-Eats-inspired fulfillment switch and clean category/action feedback. */
.fulfillment-switch{display:inline-flex;align-items:center;background:#f3f3f3;border-radius:999px;padding:3px;gap:2px;flex:0 0 auto}
.fulfillment-switch button{border:0;background:transparent;color:#111;border-radius:999px;padding:9px 15px;font-weight:800;box-shadow:none}
.fulfillment-switch button.active{background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.12)}
.action-status:empty,.action-status[hidden]{display:none!important}
@media(max-width:760px){.fulfillment-switch{order:2}.fulfillment-switch button{padding:8px 11px}.topbar{flex-wrap:wrap}.category-strip{max-width:100vw}}

/* V39 Elite responsive marketplace: phone/tablet/laptop */
:root{--ya-mobile-nav-h:68px}
html,body{width:100%;max-width:100%;overflow-x:hidden}
body{min-width:320px}
main{min-width:0}
.bottom-nav{z-index:1200}
@media(max-width:760px){
  body{padding-bottom:calc(var(--ya-mobile-nav-h) + env(safe-area-inset-bottom) + 18px)!important}
  main{width:100%!important;max-width:100%!important;margin:0!important;padding:0 14px calc(var(--ya-mobile-nav-h) + 36px)!important}
  .topbar{width:100%!important;min-width:0!important;padding:10px 12px!important;gap:8px!important}
  .topbar .brand{min-width:0!important}.brand-mark{width:40px;height:40px;border-radius:13px}.brand h1{font-size:18px!important}.brand span{display:none!important}
  .top-actions{min-width:0!important;gap:6px!important}.top-actions button{min-height:40px!important;padding:8px 11px!important;font-size:12px!important}.cart-button{display:none!important}
  .hero{margin:0 -14px 14px!important;border-radius:0 0 22px 22px!important;min-height:auto!important;padding:24px 18px!important}.hero-card{display:none!important}.hero h2{font-size:32px!important;line-height:1.02!important}.hero-search{grid-template-columns:1fr!important}.hero-search button{width:100%!important}.delivery-controls{grid-template-columns:1fr!important}
  .dashboard{grid-template-columns:repeat(2,minmax(0,1fr))!important}.mode-strip{display:flex!important;overflow-x:auto!important;scroll-snap-type:x mandatory}.mode-card{min-width:82%!important;scroll-snap-align:start}
  .content-grid{display:block!important}.main-column,.side-column{width:100%!important;max-width:100%!important}
  .merchant-grid{display:grid!important;grid-template-columns:1fr!important;gap:22px!important}.merchant-card{width:100%!important;min-width:0!important}.merchant-img{min-height:190px!important;border-radius:18px!important}.merchant-body h4{font-size:20px!important}
  .storefront-view .merchant-detail-hero{display:block!important}.storefront-view .merchant-hero-img{min-height:230px!important;border-radius:18px!important}.merchant-detail-hero h4{font-size:30px!important;line-height:1.05!important}
  #menuPanel{padding:0!important;border:0!important}.menu-toolbar{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}.menu-tabs{display:flex!important;overflow-x:auto!important;white-space:nowrap!important}
  .storefront-view #menuPanel .product-grid,#productGrid,#recommendedGrid.product-grid{display:grid!important;grid-template-columns:1fr!important;gap:12px!important}
  .menu-product-card,.product-card{display:grid!important;grid-template-columns:minmax(0,1fr) 112px!important;gap:12px!important;min-height:132px!important;padding:14px!important;border:1px solid #ececec!important;border-radius:18px!important;box-shadow:none!important}
  .menu-product-card .product-img,.product-card .product-img{grid-column:2!important;grid-row:1 / span 2!important;width:112px!important;height:112px!important;min-height:112px!important;border-radius:14px!important;align-self:center!important}
  .product-card-body{grid-column:1!important;min-width:0!important}.menu-product-card h4,.product-card h4{font-size:18px!important}.menu-product-card p,.product-card p{font-size:13px!important;line-height:1.35!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .menu-product-card .product-actions,.product-actions{grid-column:1!important;justify-content:flex-start!important}.menu-product-card .product-actions button,.product-actions button{width:auto!important;min-width:94px!important;margin:0!important;padding:9px 14px!important}
  .customer-account-panel{scroll-margin-top:76px!important;padding:16px!important}.signed-account-card{padding:16px!important}.customer-account-grid{grid-template-columns:1fr!important}
  .bottom-nav{position:fixed!important;left:8px!important;right:8px!important;bottom:calc(8px + env(safe-area-inset-bottom))!important;width:auto!important;max-width:none!important;margin:0!important;display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:3px!important;padding:5px!important;border:1px solid rgba(0,0,0,.08)!important;border-radius:20px!important;background:rgba(255,255,255,.96)!important;backdrop-filter:blur(18px)!important;box-shadow:0 10px 30px rgba(0,0,0,.14)!important}
  .bottom-nav a,.bottom-nav button{min-width:0!important;min-height:50px!important;padding:7px 3px!important;border:0!important;border-radius:15px!important;background:transparent!important;color:#111!important;box-shadow:none!important;font-size:10.5px!important;font-weight:800!important;text-align:center!important;display:grid!important;place-items:center!important;white-space:nowrap!important}
  .bottom-nav a:active,.bottom-nav button:active,.bottom-nav .active{background:#efefef!important}
  .drawer-panel{width:100vw!important;max-width:100vw!important;border-radius:24px 24px 0 0!important;top:auto!important;height:min(82dvh,760px)!important;padding-bottom:calc(20px + env(safe-area-inset-bottom))!important}
  .cart-drawer{align-items:flex-end!important}.checkout-relocated{margin:12px 0!important;padding:16px!important}
}
@media(min-width:761px) and (max-width:1199px){
  main{width:min(100% - 32px,1100px)!important}.merchant-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.storefront-view #menuPanel .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.dashboard{grid-template-columns:repeat(2,minmax(0,1fr))!important}.customer-account-grid{grid-template-columns:1fr 1fr!important}.customer-account-grid>.account-card:last-child{grid-column:1/-1}.bottom-nav{display:none!important}
}
@media(min-width:1200px){.bottom-nav{display:none!important}}


/* V41 production mobile polish: compact navigation, no fake skeleton dead-space, menu-first storefront. */
.catalog-empty-state,.menu-empty-state{grid-column:1/-1;display:grid;gap:8px;padding:22px;border:1px solid #e8e8e8;border-radius:18px;background:#fafafa;color:#111}
.catalog-empty-state span,.menu-empty-state span{color:#687076;line-height:1.45}.menu-empty-state button{justify-self:start;margin-top:4px}
@media(max-width:760px){
  .mobile-favorites-link{display:none!important}
  .bottom-nav{grid-template-columns:repeat(5,minmax(0,1fr))!important;left:10px!important;right:10px!important;bottom:calc(6px + env(safe-area-inset-bottom))!important;padding:5px!important}
  .bottom-nav a,.bottom-nav button{min-height:46px!important;font-size:11px!important;padding:6px 2px!important}
  :root{--ya-mobile-nav-h:62px}
  body{padding-bottom:calc(76px + env(safe-area-inset-bottom))!important}
  main{padding-bottom:calc(92px + env(safe-area-inset-bottom))!important}
  #recommendedGrid .catalog-empty-state{padding:16px!important;min-height:0!important}
  .storefront-view #personalizedPanel,.storefront-view #favoritesPanel,.storefront-view #reviewsPanel{display:none!important}
  .storefront-view #menuPanel{margin-top:0!important}
  .storefront-view .merchant-detail-hero{gap:14px!important}
  .storefront-view .merchant-hero-img{min-height:210px!important;max-height:260px!important;background-position:center!important}
  .merchant-customer-summary{padding:10px 0!important}.merchant-sticky-row{overflow-x:auto!important;flex-wrap:nowrap!important;padding-bottom:2px!important}
  .menu-toolbar{position:sticky;top:0;z-index:40;background:#fff;padding:8px 0 6px!important}
  #menuSearchInput{height:48px!important;font-size:16px!important}
  .menu-empty-state{margin-bottom:20px!important;padding:18px!important}
  .product-card .product-actions button[data-add-product],.menu-product-card .product-actions button[data-add-product]{min-height:42px!important;border-radius:999px!important;font-weight:900!important}
  .section-head h3{font-size:27px!important;line-height:1.1!important}.panel{padding:16px!important;border-radius:20px!important}
}
@media(min-width:761px) and (max-width:1199px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.merchant-detail-hero{grid-template-columns:minmax(260px,.9fr) 1.1fr!important}}

/* V43: checkout is a deliberate route-like flow, never an empty dashboard panel. */
.checkout-panel[hidden]{display:none!important}
.checkout-back{border:0;background:transparent;color:#111;font-weight:800;padding:0;margin:0 0 8px;cursor:pointer}
.checkout-mode .checkout-panel{max-width:1040px;margin:24px auto 120px;box-shadow:0 12px 36px rgba(0,0,0,.08)}
@media(max-width:767px){.checkout-mode .checkout-panel{margin:8px 10px 120px;padding:18px}.checkout-stepper{overflow-x:auto;white-space:nowrap}.checkout-back{font-size:15px}}

/* V44 production interaction hardening */
.uber-side-nav a,.uber-side-nav button{pointer-events:auto!important;cursor:pointer!important;position:relative;z-index:1}
#checkoutPanel[hidden],#checkoutPanel.checkout-relocated[hidden]{display:none!important}


/* V52: account drawer (repaired from escaped CSS). */
.customer-account-panel{position:fixed!important;top:76px!important;right:0!important;bottom:0!important;left:auto!important;width:min(520px,100vw)!important;max-height:calc(100dvh - 76px)!important;overflow:auto!important;margin:0!important;border-radius:0!important;z-index:250!important;background:#fff!important;box-shadow:-22px 0 60px rgba(0,0,0,.18)!important;padding:26px!important}
.customer-account-panel[hidden]{display:none!important}
.customer-account-panel:not([hidden]){display:block!important}
.account-panel-close{position:sticky!important;top:0!important;float:right!important;width:44px!important;height:44px!important;border-radius:999px!important;background:#f1f1f1!important;color:#111!important;z-index:2!important;box-shadow:none!important;font-size:24px!important}
body.account-panel-open:before{content:"";position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:240}
@media(max-width:760px){.customer-account-panel{top:0!important;max-height:100dvh!important;width:100vw!important;padding:18px!important}.signed-account-card{display:block!important}.signed-account-actions{margin-top:18px!important}}

/* V50: clean marketplace hierarchy inspired by modern delivery marketplaces, while retaining YourAddis branding. */
@media(min-width:1000px){
  .topbar{position:sticky!important;top:0!important;z-index:180!important;background:rgba(255,255,255,.97)!important;backdrop-filter:blur(16px)!important;border-bottom:1px solid #ececec!important;box-shadow:none!important}
  .hero-search{border-radius:999px!important;background:#f2f2f2!important;padding:6px!important;max-width:760px!important}
  .hero-search input{background:transparent!important;border:0!important;box-shadow:none!important}
  .hero-search button{border-radius:999px!important;background:#111!important}
  .merchant-card,.product-card{border-radius:14px!important;box-shadow:none!important;border-color:#ededed!important}
  .cart-button{background:#111!important;border-radius:999px!important}
}


/* V52: production checkout route and signed-in account behavior */
body.checkout-mode{overflow:hidden!important}
body.checkout-mode #checkoutPanel.checkout-relocated{display:block!important;position:fixed!important;inset:74px 0 0 0!important;z-index:420!important;overflow:auto!important;max-width:none!important;width:100%!important;margin:0!important;border:0!important;border-radius:0!important;background:#f6f6f6!important;padding:34px max(24px,calc((100vw - 1080px)/2)) 120px!important;box-shadow:none!important}
body.checkout-mode #checkoutPanel.checkout-relocated>.checkout-back{position:sticky!important;top:0!important;z-index:3!important;background:#fff!important;border:1px solid #e8e8e8!important;border-radius:999px!important;padding:10px 14px!important;width:max-content!important;margin-bottom:14px!important}
body.checkout-mode #checkoutPanel.checkout-relocated>.section-head,body.checkout-mode #checkoutPanel.checkout-relocated>.checkout-stepper,body.checkout-mode #checkoutPanel.checkout-relocated>.checkout-note,body.checkout-mode #checkoutPanel.checkout-relocated>.cart-list,body.checkout-mode #checkoutPanel.checkout-relocated>.checkout-form,body.checkout-mode #checkoutPanel.checkout-relocated>.checkout-confidence{max-width:940px!important;margin-left:auto!important;margin-right:auto!important}
.top-actions #profileBtn[hidden]{display:none!important}
@media(max-width:767px){body.checkout-mode #checkoutPanel.checkout-relocated{inset:0!important;padding:18px 14px calc(120px + env(safe-area-inset-bottom))!important}}


/* V55 premium customer shell: marketplace-first, no operator/debug controls in the public header. */
#refreshBtn,#profileBtn,#sessionLabel{display:none!important}
.topbar{box-shadow:0 1px 0 rgba(17,24,39,.08);background:rgba(255,255,255,.96)!important;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.top-actions{gap:8px!important}.top-actions button{border-radius:999px!important;min-height:44px!important}.cart-button{background:#111!important;color:#fff!important;box-shadow:none!important}
.hero{border-radius:28px!important;overflow:hidden!important}.merchant-card,.uber-menu-card,.panel{border-color:#ececec!important;box-shadow:0 6px 22px rgba(15,23,42,.045)!important}
.dashboard{display:none!important}
.customer-account-panel{position:fixed!important;top:0!important;right:0!important;bottom:0!important;width:min(520px,100vw)!important;max-height:100dvh!important;overflow:auto!important;z-index:2500!important;margin:0!important;border-radius:24px 0 0 24px!important;padding:28px!important;box-shadow:-22px 0 60px rgba(0,0,0,.18)!important;background:#fff!important}
.customer-account-panel[hidden]{display:none!important}.customer-account-panel:not([hidden]){display:block!important}
body.account-panel-open:after{content:"";position:fixed;inset:0;background:rgba(0,0,0,.38);z-index:2400;pointer-events:none}
.checkout-panel.checkout-relocated{max-width:980px!important;margin:0 auto!important;border-radius:24px!important;background:#fff!important}
body.checkout-mode main>section:not(#checkoutPanel){display:none!important}body.checkout-mode #checkoutPanel{display:block!important;min-height:100dvh!important;padding-top:24px!important}
@media(max-width:767px){.customer-account-panel{width:100vw!important;border-radius:0!important;padding:20px 16px calc(92px + env(safe-area-inset-bottom))!important}.hero{border-radius:0 0 24px 24px!important}.top-actions #logoutBtn:not([hidden]){background:#111!important;color:#fff!important;border-color:#111!important}}


/* V55 checkout/navigation hardening */
body.checkout-mode #checkoutPanel.checkout-relocated{display:block!important;visibility:visible!important;opacity:1!important;position:fixed!important;inset:0!important;z-index:9999!important;overflow-y:auto!important;width:100vw!important;max-width:none!important;min-height:100dvh!important;margin:0!important;background:#f7f7f7!important;padding:32px max(18px,calc((100vw - 980px)/2)) 120px!important;}
#checkoutPanel.checkout-relocated[hidden]{display:none!important;}
body.checkout-mode #checkoutPanel.checkout-relocated>*{visibility:visible!important;}
@media(max-width:767px){body.checkout-mode #checkoutPanel.checkout-relocated{padding:18px 14px calc(110px + env(safe-area-inset-bottom))!important;}}


/* V56 deterministic checkout overlay + premium responsive storefront */
#checkoutPanel.checkout-relocated[data-open="false"],#checkoutPanel.checkout-relocated[hidden]{display:none!important;}
body.checkout-mode #checkoutPanel.checkout-relocated[data-open="true"]{display:grid!important;grid-template-columns:minmax(0,1fr)!important;align-content:start!important;visibility:visible!important;opacity:1!important;position:fixed!important;inset:0!important;z-index:2147483000!important;overflow:auto!important;background:#f5f5f4!important;color:#111!important;padding:28px max(18px,calc((100vw - 980px)/2)) 120px!important;}
body.checkout-mode #checkoutPanel.checkout-relocated[data-open="true"]>*{display:block;visibility:visible!important;opacity:1!important;}
body.checkout-mode #checkoutPanel.checkout-relocated .checkout-stepper{display:flex!important;}
body.checkout-mode #checkoutPanel.checkout-relocated label{display:grid!important;gap:7px!important;margin:0 0 12px!important;max-width:940px!important;width:100%!important;justify-self:center!important;}
body.checkout-mode #checkoutPanel.checkout-relocated input,body.checkout-mode #checkoutPanel.checkout-relocated select{width:100%!important;min-height:52px!important;background:#fff!important;border:1px solid #dcdcdc!important;border-radius:12px!important;padding:0 14px!important;color:#111!important;}
body.checkout-mode #checkoutPanel.checkout-relocated .place-order{max-width:940px!important;width:100%!important;justify-self:center!important;min-height:56px!important;background:#111!important;color:#fff!important;border-radius:12px!important;font-size:17px!important;}
body.checkout-mode #checkoutPanel.checkout-relocated .section-head{max-width:940px!important;width:100%!important;justify-self:center!important;}
body.checkout-mode #checkoutPanel.checkout-relocated .cart-list,body.checkout-mode #checkoutPanel.checkout-relocated .checkout-note,body.checkout-mode #checkoutPanel.checkout-relocated .checkout-confidence{max-width:940px!important;width:100%!important;justify-self:center!important;}
@media(max-width:767px){body.checkout-mode #checkoutPanel.checkout-relocated[data-open="true"]{padding:16px 12px calc(110px + env(safe-area-inset-bottom))!important}.checkout-stepper{gap:6px!important;overflow-x:auto!important}.checkout-stepper span{min-width:max-content!important}.place-order{position:sticky!important;bottom:calc(10px + env(safe-area-inset-bottom))!important;z-index:5!important}}
@media(min-width:768px) and (max-width:1199px){.marketplace-content{max-width:100%!important}.merchant-grid,.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(min-width:1200px){.merchant-grid,.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}

/* V69 live delivery tracking */
.tracking-live-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #eef9f2;
  border: 1px solid #cfe9d8;
}
.tracking-live-status div { display: grid; gap: 3px; }
.tracking-live-status strong { font-size: 1rem; }
.tracking-live-status span { color: #5e6b65; }
.tracking-live-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #0b8f48;
  color: #fff !important;
  font-weight: 900;
  letter-spacing: .08em;
}
.tracking-map-shell {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid #dce7e0;
  background: #f6faf7;
}
.tracking-live-map {
  width: 100%;
  min-height: 420px;
  background: #edf4ef;
}
.tracking-driver-strip {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  background: #fff;
  border-top: 1px solid #e5ebe7;
}
.tracking-driver-strip span { color: #69736e; }
.tracking-map-empty {
  min-height: 420px;
  display: grid;
  place-content: center;
  gap: 6px;
  padding: 28px;
  text-align: center;
}
.tracking-map-empty span { color: #69736e; }
@media (max-width: 760px) {
  .tracking-live-map, .tracking-map-empty { min-height: 320px; }
  .tracking-live-status { align-items: flex-start; }
}


/* V70 customer polish: accessible touch targets and calmer marketplace density. */
:focus-visible{outline:3px solid rgba(11,122,59,.32);outline-offset:3px}.bottom-nav a,.bottom-nav button{min-height:48px;touch-action:manipulation}.merchant-card,.product-card,.mode-card{transition:transform .16s ease,box-shadow .16s ease}.merchant-card:hover,.product-card:hover,.mode-card:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(3,35,27,.10)}
@media(max-width:700px){.dashboard{display:none!important}.hero{padding-top:18px}.bottom-nav{left:8px!important;right:8px!important;width:auto!important;transform:none!important}.bottom-nav a,.bottom-nav button{font-size:10.5px!important;padding-inline:2px!important}.signed-in-welcome{border-radius:20px!important}.signed-in-welcome-actions{display:grid!important;grid-template-columns:1fr 1fr!important}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* V76 modifier pricing + checkout tip UX */
.custom-checks label{display:flex;align-items:center;gap:10px;justify-content:flex-start}.custom-checks label span{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.custom-checks label span strong{color:#0b7a3e;font-size:.9em}.customization-price-summary{display:flex;gap:14px;align-items:center;justify-content:flex-end;flex-wrap:wrap;padding:14px 16px;border:1px solid #dfe7e3;border-radius:16px;background:#f7faf8}.customization-price-summary strong{color:#075c32;font-size:1.08rem}.cart-tip-section{padding:4px 0}.cart-tip-section small{display:block;color:#68736f;margin-top:4px}.tip-choices{display:flex;gap:8px;flex-wrap:wrap;padding:8px 4px 14px}.tip-choices button{border:1px solid #d7dfdb;background:#fff;border-radius:999px;padding:9px 13px;font-weight:800;cursor:pointer}.tip-choices button.active{background:#0b7a3e;color:#fff;border-color:#0b7a3e}@media(max-width:640px){.tip-choices{display:grid;grid-template-columns:repeat(3,1fr)}.tip-choices button{min-height:44px;padding:8px 6px}.customization-price-summary{justify-content:space-between}}


/* V77 checkout tip control hardening: always-readable choices with strong selected state. */
.cart-tip-section{margin-top:8px}
.tip-choices{display:grid!important;grid-template-columns:repeat(3,minmax(92px,1fr));gap:10px!important;padding:10px 0 14px!important}
.tip-choices button{display:flex!important;align-items:center!important;justify-content:center!important;min-height:48px!important;background:#f3f6f4!important;color:#102119!important;border:2px solid #d7dfdb!important;border-radius:999px!important;padding:10px 14px!important;font-weight:900!important;box-shadow:none!important;opacity:1!important;visibility:visible!important}
.tip-choices button:hover{background:#eaf6ef!important;border-color:#8cc9a8!important}
.tip-choices button.active{background:#087a3f!important;color:#fff!important;border-color:#087a3f!important;box-shadow:0 8px 20px rgba(8,122,63,.2)!important}
.tip-choices button:focus-visible{outline:3px solid rgba(8,122,63,.3)!important;outline-offset:2px!important}
@media(max-width:640px){.tip-choices{grid-template-columns:repeat(2,minmax(0,1fr))!important}.tip-choices button{min-width:0!important;font-size:14px!important}}
