:root {
  --brand: #C45C26;
  --accent: #8B1E1E;
  --ink: #1A1410;
  --muted: #6B5E54;
  --paper: #F7F1EA;
  --card: #FFFCF8;
  --line: rgba(26, 20, 16, 0.08);
  --shadow: 0 12px 40px rgba(26, 20, 16, 0.08);
  --radius: 18px;
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body.store-body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  min-height: 100dvh;
  padding-bottom: 88px;
}

.store-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(196, 92, 38, 0.18), transparent 60%),
    radial-gradient(900px 400px at 100% 0%, rgba(139, 30, 30, 0.12), transparent 55%),
    linear-gradient(180deg, #FBF6F0 0%, #F3E8DC 100%);
}

.store-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(255, 252, 248, 0.9);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}

.topbar-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.brand-logo, .brand-mark {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
}
.brand-logo { object-fit: cover; }
.brand-mark {
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff; font-family: var(--font-display); font-weight: 800;
}

.topbar-center {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.loc-btn {
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  text-align: left;
  color: var(--ink);
  min-width: 0;
}
.loc-btn > .bi-geo-alt-fill {
  color: var(--brand);
  font-size: 1rem;
  flex-shrink: 0;
}
.loc-btn-text {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.loc-btn-text em {
  font-style: normal;
  font-size: .68rem;
  color: var(--muted);
  font-weight: 600;
}
.loc-btn-text strong {
  font-size: .92rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.loc-chevron {
  color: var(--muted);
  font-size: .75rem;
  flex-shrink: 0;
}

.outlet-chip {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 3px 10px 3px 8px;
  font-size: .72rem;
  color: var(--ink);
  line-height: 1.2;
}
.outlet-chip i { color: var(--brand); font-size: .75rem; }
.outlet-chip span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 42vw;
}
.outlet-meta {
  color: var(--muted);
  border-left: 1px solid var(--line);
  padding-left: 6px;
  margin-left: 2px;
}
.outlet-meta.is-bad { color: var(--accent); font-weight: 600; }

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

/* legacy branch-pill kept for sheets */
.branch-pill {
  border: 1px solid var(--line); background: #fff; border-radius: 14px;
  display: flex; align-items: center; gap: 8px; padding: 6px 10px;
  max-width: 100%; text-align: left; color: var(--ink); cursor: pointer;
}
.branch-pill-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.branch-pill-text strong { font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.branch-pill-text small { color: var(--muted); font-size: .7rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.branch-pill .bi-geo-alt-fill { color: var(--brand); }

.loc-btn-static { cursor: default; }
.outlet-meta.is-free {
  color: #1f7a3f;
  font-weight: 700;
}

/* Compact status / offer strips — under header, scroll with page (below sticky topbar, above tabbar) */
.status-strip {
  position: relative;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 252, 248, 0.95);
}
.status-strip + .status-strip {
  border-top: 0;
}
.status-strip.is-info {
  background: linear-gradient(90deg, #f7f2ec, #fbf8f4);
  border-bottom-color: #e4d8ce;
}
.status-strip.is-warn {
  background: linear-gradient(90deg, #fff4ec, #fffaf6);
  border-bottom-color: rgba(196, 92, 38, 0.22);
}
.status-strip.is-closed {
  background: linear-gradient(90deg, #f6f1ec, #faf7f4);
  border-bottom-color: #e4d8ce;
}
.status-strip.is-closing {
  background: linear-gradient(90deg, #fff4e8, #fffaf4);
  border-bottom-color: rgba(196, 92, 38, 0.22);
}
.status-strip.is-closed .status-strip-inner > i { color: #6b5b4f; }
.status-strip.is-closing .status-strip-inner > i { color: var(--brand); }
.status-meta {
  flex-shrink: 0;
  font-size: .72rem;
  font-weight: 700;
  color: var(--ink);
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.status-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  padding: 8px 0;
  min-height: 40px;
}
.status-strip-inner > i {
  flex-shrink: 0;
  font-size: .95rem;
  color: var(--muted);
}
.status-strip.is-info .status-strip-inner > i { color: var(--brand); }
.status-strip.is-warn .status-strip-inner > i { color: var(--accent); }
.status-strip-inner > p {
  margin: 0;
  flex: 1 1 12rem;
  min-width: 0;
  font-size: .78rem;
  line-height: 1.35;
  color: var(--muted);
}
.status-strip-inner > p strong {
  color: var(--ink);
  font-weight: 700;
}

/* Rich delivery / pickup banners — icon tile + stacked copy (no overflow / chip collision) */
.status-strip-inner.is-rich {
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 0;
  min-height: 0;
}
.status-strip-inner.is-rich > i {
  width: 32px;
  height: 32px;
  margin-top: 1px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  font-size: .95rem;
}
.status-strip.is-warn .status-strip-inner.is-rich > i {
  color: var(--accent);
  border-color: rgba(139, 30, 30, 0.14);
  background: #fff7f2;
}
.status-strip.is-info .status-strip-inner.is-rich > i {
  color: var(--brand);
  border-color: rgba(196, 92, 38, 0.18);
  background: #fff9f3;
}
.status-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.status-copy > strong {
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.01em;
  line-height: 1.25;
}
.status-copy > p {
  margin: 0;
  max-width: 42rem;
  font-size: .78rem;
  line-height: 1.4;
  color: var(--muted);
}
.status-copy .status-link {
  margin-top: 4px;
}
.status-copy .status-actions {
  margin-top: 8px;
  width: 100%;
}

.status-link, .status-chip {
  flex-shrink: 0;
  border: 0;
  background: transparent;
  color: var(--brand);
  font-size: .75rem;
  font-weight: 700;
  padding: 0;
  white-space: nowrap;
  cursor: pointer;
}
.status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1 1 100%;
  min-width: 0;
}
.status-chip {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 11px;
  box-shadow: 0 1px 0 rgba(26, 20, 16, 0.03);
}
.status-chip:active {
  background: #fff8f2;
  border-color: rgba(196, 92, 38, 0.28);
}
.rounded-strip {
  border: 1px solid #e4d8ce;
  border-radius: 14px;
  border-bottom: 1px solid #e4d8ce;
  padding: 0 10px;
  background: linear-gradient(90deg, #f7f2ec, #fbf8f4);
}
.rounded-strip .status-strip-inner { padding: 10px 0; }

/* Cart page deal card (compact mirror of dock) */
.deal-card {
  display: flex;
  align-items: stretch;
  gap: 0;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, #fff8f0, #fff);
  border: 1px solid rgba(196, 92, 38, 0.18);
}
.deal-badge {
  flex: 0 0 auto;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  display: grid;
  place-items: center;
  padding: 8px 6px;
  background: linear-gradient(180deg, var(--brand), var(--accent));
  color: #fff;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .14em;
}
.deal-body {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  justify-content: center;
}
.deal-body strong {
  font-size: .88rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
}
.deal-body span {
  font-size: .76rem;
  color: var(--muted);
  line-height: 1.35;
}
.deal-card.is-won {
  border-color: rgba(31, 122, 63, 0.22);
  background: linear-gradient(135deg, #e8f6ee, #fff);
}
.deal-card.is-won .deal-badge {
  background: linear-gradient(180deg, #2f9e57, #1f7a3f);
}

/* Slim free-delivery strip — under header, scrolls with page (never over tabbar) */
.fd-strip {
  background: linear-gradient(90deg, #fff6ec, #ffefe0);
  border-bottom: 1px solid rgba(196, 92, 38, 0.12);
  transition: opacity .3s ease, max-height .35s ease, padding .35s ease;
  max-height: 80px;
  overflow: hidden;
}
.fd-strip.is-hidden {
  opacity: 0;
  max-height: 0;
  pointer-events: none;
  border-bottom-width: 0;
}
.fd-strip-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0 4px;
}
.fd-strip-inner > i {
  color: var(--brand);
  font-size: .95rem;
  flex-shrink: 0;
}
.fd-strip-inner p {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: .78rem;
  color: #7a4a2e;
  line-height: 1.3;
}
.fd-strip-inner p strong {
  color: var(--ink);
  font-weight: 800;
}
.fd-mini {
  flex: 0 0 auto;
  font-size: .68rem;
  font-weight: 800;
  color: var(--accent);
  background: rgba(255,255,255,.7);
  border-radius: 999px;
  padding: 2px 8px;
}
.fd-track {
  height: 3px;
  border-radius: 999px;
  background: rgba(196, 92, 38, 0.12);
  margin-bottom: 8px;
  overflow: hidden;
}
.fd-track > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), #e08a45);
  transition: width .4s ease;
}
.fd-strip.is-tease .fd-mini { display: none; }
.fd-strip.is-tease .fd-track { display: none; }
.fd-strip.is-tease .fd-strip-inner { padding-bottom: 8px; }

.fd-toast {
  position: fixed;
  left: 50%;
  top: calc(12px + env(safe-area-inset-top, 0px));
  transform: translateX(-50%) translateY(-8px);
  z-index: 90;
  max-width: min(92vw, 320px);
  padding: 10px 16px;
  border-radius: 999px;
  background: #1f7a3f;
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(31, 122, 63, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.fd-toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 420px) {
  .status-strip-inner { align-items: flex-start; }
  .status-strip-inner:not(.is-rich) .status-meta,
  .status-strip-inner:not(.is-rich) .status-link,
  .status-strip-inner:not(.is-rich) .status-actions {
    flex: 1 1 100%;
    padding-left: calc(.95rem + 10px);
  }
  .status-strip-inner.is-rich {
    gap: 9px;
    padding: 10px 0;
  }
  .status-strip-inner.is-rich > i {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    font-size: .9rem;
  }
  .status-copy > strong { font-size: .86rem; }
  .status-copy > p { font-size: .74rem; }
  .status-chip { font-size: .72rem; padding: 5px 10px; }
  .fd-strip-inner p { font-size: .74rem; }
}

/* Outlet hours panels (menu / cart / checkout) */
.hours-panel {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  animation: rise .35s ease both;
}
.hours-panel.is-closed {
  background: linear-gradient(145deg, #f7f2ed 0%, #fff 70%);
  border-color: #e5d9cf;
}
.hours-panel.is-closing {
  background: linear-gradient(145deg, #fff6ec 0%, #fff 68%);
  border-color: rgba(196, 92, 38, 0.2);
}
.hours-panel-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid var(--line);
  color: #6b5b4f;
  font-size: 1.1rem;
}
.hours-panel.is-closing .hours-panel-icon {
  color: var(--brand);
  border-color: rgba(196, 92, 38, 0.18);
  background: #fff9f3;
}
.hours-panel-body { min-width: 0; flex: 1; }
.hours-panel-body strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.01em;
  line-height: 1.2;
}
.hours-panel-body p {
  margin: 4px 0 0;
  font-size: .84rem;
  color: var(--muted);
  line-height: 1.4;
}
.hours-panel-meta {
  display: inline-block;
  margin-top: 8px;
  font-size: .74rem;
  font-weight: 650;
  color: #6b5b4f;
  background: rgba(255,255,255,.8);
  border: 1px solid #e5d9cf;
  border-radius: 999px;
  padding: 3px 10px;
}
.btn-add.is-closed {
  opacity: .55;
  filter: grayscale(.15);
}
.btn.sticky-cta.is-disabled,
.btn.sticky-cta:disabled {
  opacity: .55;
  pointer-events: none;
  filter: grayscale(.1);
}
.hours-toast {
  position: fixed;
  left: 50%;
  bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%) translateY(10px);
  z-index: 95;
  max-width: min(92vw, 340px);
  padding: 12px 16px;
  border-radius: 14px;
  background: #2b2a28;
  color: #fff;
  font-size: .82rem;
  font-weight: 650;
  line-height: 1.35;
  text-align: center;
  box-shadow: 0 12px 32px rgba(43, 42, 40, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.hours-toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.hours-toast.is-ok { background: #1f7a3f; }

.availability-banner-main {
  display: flex; gap: 10px; align-items: flex-start;
}
.availability-banner-main > i {
  color: var(--accent); font-size: 1.15rem; margin-top: 2px; flex-shrink: 0;
}
.availability-banner strong { font-family: var(--font-display); font-size: .98rem; display: block; }
.availability-banner p { color: var(--muted); font-size: .82rem; margin: 2px 0 0; line-height: 1.35; }
.availability-suggestions {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.availability-suggestions .btn {
  min-height: 36px;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: .8rem;
}

.location-map {
  height: min(42vh, 280px);
  min-height: 200px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #efe4d7;
}
.location-sheet .sheet-body { padding-bottom: 20px; }
.loc-ok, .loc-bad { border-radius: 14px; padding: 12px; display: grid; gap: 4px; }
.loc-ok { background: #e8f6ee; border: 1px solid #b7e0c6; }
.loc-bad { background: #fff5f0; border: 1px solid #f0c2b0; }
.loc-ok span, .loc-bad span { font-size: .88rem; color: var(--muted); }
.checkout-loc-box {
  border: 1px dashed var(--line); border-radius: 14px; padding: 12px; margin-top: 10px; background: #fff;
  display: flex; flex-direction: column; gap: 8px;
}
.checkout-loc-box .d-flex {
  flex-wrap: wrap;
}
.checkout-loc-box .btn {
  flex-shrink: 0;
}
@media (max-width: 575.98px) {
  .store-tabbar {
    left: 8px; right: 8px; bottom: 8px;
    padding: 8px 4px;
  }
  .tab-item { font-size: .64rem; }
  .hero-strip { padding: 16px 0 4px; }
  .page-title { font-size: 1.45rem; }
  .customize-sheet {
    max-height: min(92vh, 760px);
  }
}
.option-card.option-disabled { opacity: .55; }
.branch-option { width: 100%; border: 1px solid var(--line); background: #fff; text-align: left; }
.branch-option.active { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.pick-card.branch-option { cursor: pointer; }

.icon-btn, .cart-fab {
  width: 40px; height: 40px; border-radius: 14px; border: 1px solid var(--line);
  background: #fff; display: grid; place-items: center; color: var(--ink); text-decoration: none;
}
.cart-fab { background: var(--ink); color: #fff; border: none; }
.pwa-install-btn {
  color: var(--brand);
  border-color: rgba(196, 92, 38, 0.25);
  background: #fff8f2;
}
.pwa-install-btn[hidden] { display: none !important; }
html.is-pwa .pwa-install-btn { display: none !important; }
.pwa-ios-steps {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--ink);
  font-size: .9rem;
  line-height: 1.55;
}
.pwa-ios-steps li { margin-bottom: 10px; }
.pwa-ios-steps i { color: var(--brand); }

.push-toast {
  position: fixed;
  left: 50%;
  bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%) translateY(12px);
  z-index: 2000;
  max-width: min(92vw, 380px);
  padding: 10px 14px;
  border-radius: 12px;
  background: #2b2a28;
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: .25s ease;
  text-align: center;
}
.push-toast.is-ok { background: #1f7a3f; }
.push-toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
#enablePushBtn.is-push-on { opacity: .7; pointer-events: none; }

/* Notification bell + bottom sheet inbox */
.notif-bell { position: relative; }
.notif-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: grid;
  place-items: center;
  line-height: 1;
  box-shadow: 0 0 0 2px #fff;
}
.notif-badge[hidden] { display: none !important; }

.notif-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(24, 18, 12, .4);
  z-index: 90;
  backdrop-filter: blur(2px);
}
.notif-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  max-height: min(78vh, 640px);
  background: #fff;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -16px 48px rgba(0,0,0,.18);
  display: flex;
  flex-direction: column;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  animation: notif-up .28s cubic-bezier(.2,.8,.2,1);
}
.notif-sheet[hidden], .notif-backdrop[hidden] { display: none !important; }
body.notif-open { overflow: hidden; }

.notif-sheet-handle {
  width: 40px;
  height: 4px;
  border-radius: 999px;
  background: #e4d9cf;
  margin: 10px auto 0;
  flex-shrink: 0;
}
.notif-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px 10px;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.notif-sheet-title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.notif-sheet-title h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.notif-unread-pill {
  flex-shrink: 0;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .02em;
  color: #fff;
  background: var(--brand);
  border-radius: 999px;
  padding: 3px 8px;
}
.notif-unread-pill[hidden] { display: none !important; }
.notif-sheet-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.notif-text-btn {
  border: 0;
  background: transparent;
  color: var(--brand);
  font-size: .78rem;
  font-weight: 700;
  padding: 6px 8px;
  border-radius: 8px;
}
.notif-text-btn:hover { background: #fff4ec; }
.notif-icon-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 12px;
  background: #f4efe9;
  color: var(--ink);
  display: grid;
  place-items: center;
}
.notif-icon-close:hover { background: #ebe4db; }

.notif-list {
  flex: 1;
  overflow: auto;
  padding: 8px 10px 16px;
  -webkit-overflow-scrolling: touch;
}
.notif-empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--muted);
}
.notif-empty-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 18px;
  background: #fff4ec;
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
}
.notif-empty p {
  margin: 0 0 4px;
  font-weight: 700;
  color: var(--ink);
  font-size: .95rem;
}
.notif-empty span {
  font-size: .8rem;
  line-height: 1.4;
}

.notif-item {
  width: 100%;
  border: 0;
  background: #fff;
  text-align: left;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  cursor: pointer;
  margin-bottom: 6px;
  border: 1px solid transparent;
  transition: background .15s ease, border-color .15s ease;
}
.notif-item:hover { background: #faf6f1; }
.notif-item.is-unread {
  background: linear-gradient(135deg, #fff8f0, #fff);
  border-color: rgba(196, 92, 38, 0.14);
}
.notif-item-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #f4efe9;
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.notif-item.is-unread .notif-item-icon {
  background: #ffe8d4;
  color: var(--brand);
}
.notif-item-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.notif-item-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.notif-item-top strong {
  font-size: .9rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.25;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.notif-item-top time {
  flex-shrink: 0;
  font-size: .68rem;
  color: #a08978;
  font-weight: 600;
}
.notif-item-text {
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.notif-item-chevron {
  color: #cbbbaa;
  font-size: .85rem;
}
.notif-item.is-unread .notif-item-chevron { color: var(--brand); }

@keyframes notif-up {
  from { transform: translateY(24px); opacity: .5; }
  to { transform: none; opacity: 1; }
}

@media (min-width: 768px) {
  .notif-sheet {
    left: auto;
    right: 16px;
    bottom: 16px;
    top: auto;
    width: min(400px, calc(100vw - 32px));
    max-height: min(70vh, 560px);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,.2);
  }
  .notif-sheet-handle { display: none; }
}
.cart-badge {
  position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px;
  border-radius: 999px; background: var(--brand); color: #fff; font-size: 11px;
  display: grid; place-items: center; padding: 0 4px;
}

@media (min-width: 576px) {
  .topbar-center { flex-direction: row; align-items: center; gap: 10px; }
  .loc-btn { width: auto; max-width: min(360px, 48vw); }
  .outlet-chip span { max-width: 160px; }
}

@media (max-width: 380px) {
  .brand-logo, .brand-mark { width: 36px; height: 36px; }
  .loc-btn-text strong { font-size: .84rem; }
  .outlet-chip { font-size: .68rem; }
}

.hero-strip { padding: 22px 0 8px; }
.hero-kicker {
  text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; color: var(--accent); margin: 0;
}
.hero-title {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 6vw, 2.6rem);
  margin: 4px 0 0; letter-spacing: -0.03em;
}

.sticky-rail {
  position: sticky; top: 72px; z-index: 30;
  background: rgba(247, 241, 234, 0.92); backdrop-filter: blur(12px);
  padding: 8px 0 12px; border-bottom: 1px solid var(--line);
}
@media (max-width: 575.98px) {
  .sticky-rail { top: 78px; }
}
.chip-scroll { scrollbar-width: none; }
.chip-scroll::-webkit-scrollbar { display: none; }
.cat-chip {
  flex: 0 0 auto; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); text-decoration: none; font-size: .9rem; white-space: nowrap;
}
.cat-chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.section-title {
  font-family: var(--font-display); font-size: 1.25rem; margin: 22px 0 12px; letter-spacing: -0.02em;
}
.product-list { display: grid; gap: 12px; }
.product-row {
  display: grid; grid-template-columns: 1fr 112px; gap: 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px; box-shadow: var(--shadow);
  animation: rise .45s ease both;
}
@media (max-width: 380px) {
  .product-row {
    grid-template-columns: 1fr 96px;
    gap: 10px;
    padding: 12px;
  }
}
.product-name { font-size: 1.05rem; font-weight: 700; }
.product-desc { color: var(--muted); font-size: .88rem; margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price-line { display: flex; gap: 8px; align-items: baseline; }
.price-line s { color: var(--muted); font-size: .9rem; }
.veg-dot { width: 10px; height: 10px; border-radius: 2px; border: 1px solid; display: inline-block; }
.veg-dot.veg { border-color: #1f7a3f; background: #1f7a3f; }
.veg-dot.nonveg { border-color: #a11; background: #a11; }
.product-media { position: relative; }
.product-media img, .img-placeholder {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; background: #efe4d7;
}
.product-media img {
  display: block;
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
}
.img-placeholder { display: grid; place-items: center; font-size: 1.6rem; color: var(--muted); }
.btn-add {
  position: absolute; left: 50%; bottom: -10px; transform: translateX(-50%);
  border: none; background: #fff; color: var(--brand); font-weight: 700;
  border-radius: 10px; padding: 6px 16px; box-shadow: 0 8px 20px rgba(0,0,0,.12);
}
.btn-add:active { transform: translateX(-50%) scale(.96); }

.page-title { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; }
.panel, .summary-card, .order-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; box-shadow: var(--shadow);
}
.panel-title { font-size: .95rem; font-weight: 700; margin-bottom: 12px; }
.option-grid { display: grid; gap: 8px; }
.option-card {
  display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 14px;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
}
.option-card:has(input:checked) { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.option-card span { display: flex; flex-direction: column; }
.option-card small { color: var(--muted); }

.btn-brand, .btn-outline-brand {
  --bs-btn-bg: var(--brand); --bs-btn-border-color: var(--brand); --bs-btn-hover-bg: var(--accent);
  --bs-btn-hover-border-color: var(--accent); --bs-btn-color: #fff; --bs-btn-hover-color: #fff;
  border-radius: 14px; font-weight: 700;
}
.btn-brand { background: linear-gradient(135deg, var(--brand), var(--accent)); border: none; color: #fff; }
.btn-outline-brand { background: transparent; color: var(--brand); border: 1px solid var(--brand); }

.cart-row {
  display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.qty-control { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px; }
.qty-btn { border: none; background: transparent; width: 28px; height: 28px; font-size: 1.1rem; }
.sticky-cta { position: sticky; bottom: 90px; z-index: 20; }

.store-tabbar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
  background: rgba(26, 20, 16, 0.92); color: #fff; border-radius: 22px;
  padding: 10px 8px; backdrop-filter: blur(12px); box-shadow: 0 16px 40px rgba(0,0,0,.25);
}
.tab-item {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  color: rgba(255,255,255,.65); text-decoration: none; font-size: .7rem;
}
.tab-item i { font-size: 1.15rem; }
.tab-item.active { color: #fff; }

.empty-state { text-align: center; color: var(--muted); padding: 40px 12px; }
.empty-state i { font-size: 2.4rem; color: var(--brand); }

.status-pill {
  display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600;
  background: #efe4d7; color: var(--ink);
}
.status-pending { background: #fff0c8; }
.status-confirmed, .status-preparing { background: #dcecff; }
.status-ready, .status-out_for_delivery { background: #d9f5e4; }
.status-completed { background: #d9f5e4; }
.status-cancelled { background: #ffd6d6; }

.eta-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow);
  text-align: center;
}
.eta-card-label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .02em;
  text-transform: uppercase;
}
.eta-card-time {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-top: 4px;
  line-height: 1.15;
}
.eta-card-countdown {
  margin-top: 6px;
  font-size: .95rem;
  font-weight: 600;
  color: var(--brand);
}
.eta-card-countdown.is-overdue {
  color: var(--accent);
}
.eta-card-countdown.is-late {
  color: var(--accent);
  font-weight: 650;
  line-height: 1.35;
  max-width: 28ch;
  margin-left: auto;
  margin-right: auto;
}
.eta-card.is-late {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
}
.eta-card-note {
  margin-top: 4px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted);
}
.late-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .02em;
  background: #ffd6d6;
  color: #8b1e1e;
}

.timeline { display: grid; gap: 14px; }
.timeline-item { display: grid; grid-template-columns: 18px 1fr; gap: 12px; opacity: .45; }
.timeline-item .dot { width: 12px; height: 12px; border-radius: 50%; background: #cbb; margin-top: 4px; }
.timeline-item.done, .timeline-item.current { opacity: 1; }
.timeline-item.done .dot, .timeline-item.current .dot { background: var(--brand); box-shadow: 0 0 0 4px rgba(196,92,38,.2); }

.upi-qr { max-width: 180px; border-radius: 12px; }
.order-card { display: block; color: inherit; margin-bottom: 10px; }

/* Search */
.search-bar { display: flex; gap: 10px; align-items: center; }
.search-field {
  flex: 1; display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 12px 14px; box-shadow: var(--shadow);
}
.search-field i { color: var(--muted); }
.search-field input {
  border: 0; outline: 0; width: 100%; background: transparent; font: inherit; color: var(--ink);
}
.search-clear { color: var(--muted); text-decoration: none; font-size: 1.3rem; line-height: 1; }
.veg-toggle {
  flex: 0 0 auto; border: 1px solid var(--line); background: #fff; border-radius: 14px;
  padding: 10px 12px; font-weight: 600; font-size: .85rem; cursor: pointer;
}
.veg-toggle input { display: none; }
.veg-toggle.on { background: #e8f6ee; border-color: #1f7a3f; color: #1f7a3f; }

.custom-hint { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.custom-hint span {
  font-size: .72rem; background: #efe4d7; color: var(--ink); border-radius: 999px; padding: 2px 8px;
}
.custom-badge {
  position: absolute; left: 50%; bottom: -28px; transform: translateX(-50%);
  font-size: .65rem; color: var(--brand); white-space: nowrap; font-weight: 600;
}
.product-media { padding-bottom: 18px; }

/* Customize sheet */
body.sheet-open { overflow: hidden; }
.sheet-backdrop {
  position: fixed; inset: 0; background: rgba(20, 12, 8, .45); z-index: 80;
  animation: fade .2s ease;
}
.customize-sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  max-height: min(88vh, 720px); overflow: auto;
  background: #FFFCF8; border-radius: 24px 24px 0 0;
  box-shadow: 0 -20px 60px rgba(0,0,0,.2);
  animation: slideUp .28s ease;
  padding-bottom: calc(16px + env(safe-area-inset-bottom));
}
.sheet-handle {
  width: 42px; height: 5px; border-radius: 999px; background: #d8cfc4;
  margin: 10px auto 0;
}
.sheet-body { padding: 8px 16px 16px; }
.sheet-head { position: relative; padding-right: 36px; margin-bottom: 12px; }
.sheet-img {
  width: 72px; height: 72px; border-radius: 16px; object-fit: cover; background: #efe4d7;
  display: grid; place-items: center; flex: 0 0 auto;
}
.sheet-desc { color: var(--muted); font-size: .9rem; margin: 0; }
.sheet-close {
  position: absolute; top: 0; right: 0; border: 0; background: #efe4d7;
  width: 34px; height: 34px; border-radius: 12px; font-size: 1.3rem;
}
.sheet-section { margin: 16px 0; }
.sheet-section h4 { font-size: .95rem; margin-bottom: 10px; font-family: var(--font-display); }
.sheet-section .req { color: var(--accent); }
.option-list { display: grid; gap: 8px; }
.pick-card {
  display: flex; gap: 10px; align-items: center; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer;
}
.pick-card:has(input:checked) { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.pick-card span { display: flex; justify-content: space-between; width: 100%; gap: 12px; }
.pick-card em { font-style: normal; color: var(--muted); white-space: nowrap; }
.sheet-footer {
  position: sticky; bottom: 0; display: flex; gap: 12px; align-items: center;
  padding-top: 12px; background: linear-gradient(180deg, transparent, #FFFCF8 30%);
}
.sheet-qty button {
  border: none; background: transparent; width: 32px; height: 32px; font-size: 1.2rem; line-height: 1;
}
.sheet-qty span { min-width: 20px; text-align: center; font-weight: 700; }

/* Auth */
.auth-screen {
  min-height: calc(100dvh - 140px); display: grid; place-items: center;
  padding: 24px 16px 40px; position: relative; overflow: hidden;
}
.auth-art { position: absolute; inset: 0; pointer-events: none; }
.auth-orb {
  position: absolute; border-radius: 50%; filter: blur(2px);
  animation: floaty 8s ease-in-out infinite;
}
.auth-orb.o1 {
  width: 220px; height: 220px; left: -60px; top: 10%;
  background: radial-gradient(circle, rgba(196,92,38,.35), transparent 70%);
}
.auth-orb.o2 {
  width: 280px; height: 280px; right: -80px; bottom: 8%;
  background: radial-gradient(circle, rgba(139,30,30,.28), transparent 70%);
  animation-delay: -3s;
}
.auth-plate {
  position: absolute; width: 160px; height: 160px; right: 12%; top: 18%;
  border-radius: 40% 60% 55% 45%; border: 1px solid rgba(196,92,38,.25);
  background: linear-gradient(145deg, rgba(255,255,255,.35), rgba(196,92,38,.08));
  animation: floaty 10s ease-in-out infinite reverse;
}
.auth-card {
  width: min(440px, 100%); position: relative; z-index: 1;
  background: rgba(255,252,248,.92); backdrop-filter: blur(16px);
  border: 1px solid var(--line); border-radius: 28px; padding: 28px 22px;
  box-shadow: 0 24px 60px rgba(26,20,16,.12);
  animation: rise .5s ease both;
}
.auth-kicker {
  text-transform: uppercase; letter-spacing: .14em; font-size: .72rem;
  color: var(--accent); margin: 0 0 8px; font-weight: 700;
}
.auth-card h1 {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em;
  font-size: clamp(1.8rem, 5vw, 2.2rem); margin: 0 0 8px;
}
.auth-sub { color: var(--muted); margin-bottom: 20px; }
.auth-form { display: grid; gap: 12px; }
.auth-label { display: grid; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--ink); }
.auth-input {
  border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px;
  font: inherit; background: #fff; outline: none;
}
.auth-input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(196,92,38,.15); }
.auth-check { font-size: .9rem; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.auth-cta { margin-top: 6px; padding: 12px; }
.auth-links {
  display: flex; justify-content: space-between; gap: 12px; margin-top: 18px;
  font-size: .92rem;
}
.auth-links a { color: var(--accent); font-weight: 600; text-decoration: none; }

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(40px); opacity: .5; } to { transform: none; opacity: 1; } }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@media (min-width: 992px) {
  .store-main { max-width: 860px; margin: 0 auto; }
  .product-list { grid-template-columns: 1fr 1fr; }
  .customize-sheet { left: 50%; right: auto; width: min(480px, 100%); transform: translateX(-50%); border-radius: 24px 24px 0 0; }
}
