/* LocalRun marketplace (/restaurants) + store pages (/store/<id>). Builds on localrun.css tokens. */

.lr-site { --navh: 4rem; --radius: 16px; --sheet-shadow: 0 -12px 40px rgba(28, 28, 28, 0.18); }
.lr-site button { font-family: inherit; }
.lr-site [hidden] { display: none !important; }

/* ---------- segmented pickup / delivery ---------- */
.sh-seg {
  display: inline-flex;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
  flex: none;
}
.sh-seg button {
  border: 0;
  background: transparent;
  color: var(--soft);
  font-weight: 800;
  font-size: 0.95rem;
  min-height: 2.5rem;
  padding: 0 1rem;
  border-radius: 999px;
  cursor: pointer;
}
.sh-seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.sh-seg button:disabled { opacity: 0.45; cursor: not-allowed; }
.sh-seg button small { display: block; font-size: 0.7rem; font-weight: 700; opacity: 0.8; line-height: 1.1; }

/* ---------- marketplace top bar ---------- */
.mk-hero .lr-wrap { padding-top: 1.75rem; padding-bottom: 1.25rem; }
.mk-hero h1 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); margin-bottom: 0.35rem; }
.mk-hero .lr-lead { margin-bottom: 1rem; font-size: 1rem; }
.mk-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.6rem;
  align-items: center;
}
.mk-addr {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0 0.35rem 0 0.9rem;
  min-height: 2.9rem;
  min-width: 0;
}
.mk-addr svg, .mk-search svg { width: 1.1rem; height: 1.1rem; flex: none; color: var(--mute); }
.mk-addr input, .mk-search input {
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  min-width: 0;
  flex: 1;
  padding: 0.55rem 0;
  outline: none;
}
.mk-addr:focus-within, .mk-search:focus-within { outline: 3px solid var(--focus); outline-offset: 1px; }
.mk-loc {
  border: 0;
  background: var(--tint);
  color: var(--accent-text);
  font-weight: 800;
  font-size: 0.85rem;
  border-radius: 999px;
  min-height: 2.25rem;
  padding: 0 0.8rem;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.mk-loc svg { color: inherit; width: 1rem; height: 1rem; }
.mk-search {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 0 0.9rem;
  min-height: 3.1rem;
}
.mk-search input { font-size: 1.05rem; }
.mk-addr-msg { grid-column: 1 / -1; margin: 0; font-size: 0.85rem; color: var(--mute); min-height: 0; }
.mk-addr-msg:empty { display: none; }

.mk-filters {
  position: sticky;
  top: var(--navh);
  z-index: 15;
  background: rgba(243, 241, 236, 0.96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.mk-filters .lr-wrap { display: flex; align-items: center; gap: 0.5rem; padding-top: 0.6rem; padding-bottom: 0.6rem; }
.sh-chips {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
  min-width: 0;
  padding: 2px;
  margin: 0;
  list-style: none;
}
.sh-chips::-webkit-scrollbar { display: none; }
.sh-chip {
  flex: none;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  min-height: 2.5rem;
  padding: 0 0.95rem;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.sh-chip[aria-pressed="true"], .sh-chip[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.mk-open {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
  min-height: 2.5rem;
  padding: 0 0.25rem 0 0.5rem;
  border-left: 1px solid var(--line);
  white-space: nowrap;
}
.mk-open input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mk-switch {
  width: 2.4rem;
  height: 1.45rem;
  border-radius: 999px;
  background: rgba(28, 28, 28, 0.25);
  position: relative;
  transition: background 0.15s;
  flex: none;
}
.mk-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: calc(1.45rem - 6px);
  height: calc(1.45rem - 6px);
  border-radius: 50%;
  background: #fff;
  transition: transform 0.15s;
}
.mk-open input:checked + .mk-switch { background: var(--ok); }
.mk-open input:checked + .mk-switch::after { transform: translateX(0.95rem); }
.mk-open input:focus-visible + .mk-switch { outline: 3px solid var(--focus); outline-offset: 2px; }

.mk-results .lr-wrap { padding-top: 1.1rem; padding-bottom: 3rem; }
.mk-count { margin: 0 0 0.85rem; font-weight: 700; color: var(--soft); font-size: 0.95rem; }
.mk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 18.5rem), 1fr));
  gap: 1.1rem;
}
.mk-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  transition: box-shadow 0.15s, transform 0.15s;
}
.mk-card:hover { box-shadow: 0 14px 30px rgba(28, 28, 28, 0.12); transform: translateY(-2px); }
.mk-card.is-closed { opacity: 0.62; }
.mk-card.is-closed:hover { opacity: 0.85; }
.mk-cover {
  position: relative;
  aspect-ratio: 16 / 7;
  background: var(--bg-band);
  overflow: hidden;
}
.mk-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sh-ph {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 85% 15%, rgba(240, 129, 1, 0.45), transparent 55%),
    radial-gradient(circle at 10% 95%, rgba(194, 65, 12, 0.35), transparent 50%),
    #2a2622;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.2rem;
  letter-spacing: -0.03em;
}
.mk-badge {
  position: absolute;
  left: 0.6rem;
  top: 0.6rem;
  background: rgba(28, 28, 28, 0.86);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
}
.mk-body { display: flex; gap: 0.75rem; padding: 0.85rem 0.95rem 1rem; min-width: 0; }
.sh-logo {
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  flex: none;
  overflow: hidden;
  background: var(--dark);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(28, 28, 28, 0.15);
}
.sh-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mk-card .sh-logo { margin-top: -1.9rem; position: relative; }
.mk-info { min-width: 0; flex: 1; }
.mk-info h3 { font-size: 1.12rem; margin: 0; line-height: 1.25; overflow-wrap: anywhere; letter-spacing: -0.01em; }
.mk-sub { margin: 0.1rem 0 0; color: var(--mute); font-size: 0.9rem; overflow-wrap: anywhere; }
.mk-meta { margin: 0.4rem 0 0; display: flex; flex-wrap: wrap; gap: 0.25rem 0.6rem; font-size: 0.88rem; font-weight: 700; color: var(--soft); }
.sh-open { color: var(--ok); }
.sh-closed { color: var(--err); }
.mk-fee { color: var(--accent-text); }
.mk-matches { margin: 0.45rem 0 0; font-size: 0.86rem; color: var(--soft); overflow-wrap: anywhere; }
.mk-matches b { color: var(--ink); }
.mk-pill { display: inline-block; font-size: 0.74rem; font-weight: 800; background: var(--bg-band); color: var(--soft); border-radius: 999px; padding: 0.12rem 0.5rem; }

.sh-skel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sh-skel i { display: block; background: linear-gradient(90deg, #ece8e1 25%, #f6f4f0 50%, #ece8e1 75%); background-size: 200% 100%; animation: sh-shimmer 1.2s infinite linear; border-radius: 8px; }
@keyframes sh-shimmer { to { background-position: -200% 0; } }

.sh-state {
  background: var(--card);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem;
  text-align: center;
  color: var(--soft);
}
.sh-state h2, .sh-state h3 { font-size: 1.2rem; margin: 0 0 0.35rem; color: var(--ink); }
.sh-state p { margin: 0 0 1rem; }
.sh-state .lr-btn { margin: 0.25rem; }

/* ---------- store page ---------- */
.st-cover { position: relative; height: clamp(9.5rem, 26vw, 16rem); background: var(--bg-band); overflow: hidden; }
.st-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-head .lr-wrap { position: relative; padding-bottom: 1rem; }
.st-head .sh-logo { width: 5rem; height: 5rem; border-radius: 18px; font-size: 2rem; border-width: 3px; margin-top: -2.6rem; position: relative; }
.st-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-top: 0.6rem; }
.st-title h1 { font-family: var(--font-display); font-size: clamp(1.7rem, 4.2vw, 2.5rem); letter-spacing: -0.03em; line-height: 1.08; margin: 0; overflow-wrap: anywhere; }
.st-sub { margin: 0.25rem 0 0; color: var(--mute); font-weight: 600; overflow-wrap: anywhere; }
.st-blurb { margin: 0.5rem 0 0; color: var(--soft); max-width: 42rem; }
.st-facts { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; margin: 0.65rem 0 0; font-weight: 700; font-size: 0.93rem; color: var(--soft); align-items: center; }
.st-hours summary { cursor: pointer; text-decoration: underline; text-underline-offset: 3px; list-style: none; }
.st-hours summary::-webkit-details-marker { display: none; }
.st-hours table { margin-top: 0.4rem; border-collapse: collapse; font-weight: 600; font-size: 0.9rem; }
.st-hours td { padding: 0.15rem 1.25rem 0.15rem 0; }
.st-hours tr.is-today { color: var(--ink); font-weight: 800; }
.st-banner {
  margin: 0.85rem 0 0;
  padding: 0.75rem 0.95rem;
  border-radius: 12px;
  background: var(--tint);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.93rem;
  display: flex;
  gap: 0.5rem 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}
.st-banner.is-closed { background: #fde8e6; }
.st-banner .lr-linkbtn, .st-banner button { font: inherit; font-weight: 800; color: var(--accent-text); background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; min-height: 2rem; }

.st-bar {
  position: sticky;
  top: var(--navh);
  z-index: 15;
  background: rgba(243, 241, 236, 0.97);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}
.st-bar .lr-wrap { display: flex; gap: 0.6rem; align-items: center; padding-top: 0.5rem; padding-bottom: 0.5rem; }
.st-search {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0 0.8rem;
  min-height: 2.5rem;
  flex: 0 1 15rem;
  min-width: 0;
}
.st-search svg { width: 1rem; height: 1rem; color: var(--mute); flex: none; }
.st-search input { border: 0; background: transparent; font: inherit; font-weight: 600; min-width: 0; flex: 1; outline: none; padding: 0.4rem 0; }
.st-search:focus-within { outline: 3px solid var(--focus); outline-offset: 1px; }

.st-menu .lr-wrap { padding-top: 0.5rem; padding-bottom: 7rem; }
.st-cat { scroll-margin-top: calc(var(--navh) + 4.25rem); padding-top: 1.25rem; }
.st-cat h2 { font-size: 1.3rem; margin: 0 0 0.75rem; letter-spacing: -0.01em; }
.st-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); gap: 0.75rem; }
.st-item {
  display: flex;
  gap: 0.75rem;
  width: 100%;
  text-align: left;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem;
  cursor: pointer;
  color: inherit;
  font: inherit;
  min-height: 7rem;
  min-width: 0;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.st-item:hover { border-color: var(--line-strong); box-shadow: 0 8px 20px rgba(28, 28, 28, 0.08); }
.st-item[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; box-shadow: none; }
.st-item-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.2rem; }
.st-item-name { font-weight: 800; font-size: 1.02rem; line-height: 1.25; overflow-wrap: anywhere; }
.st-item-desc { color: var(--mute); font-size: 0.88rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.st-item-foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 0.3rem 0.5rem; align-items: center; padding-top: 0.25rem; }
.st-price { font-weight: 800; }
.st-photo { width: 6rem; height: 6rem; border-radius: 12px; overflow: hidden; flex: none; background: var(--bg-band); align-self: center; }
.st-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sh-tag { display: inline-block; font-size: 0.72rem; font-weight: 800; border-radius: 999px; padding: 0.12rem 0.5rem; background: var(--bg-band); color: var(--soft); }
.sh-tag.t-popular { background: var(--tint); color: var(--accent-text); }
.sh-tag.t-spicy { background: #fde8e6; color: #9b1c12; }
.sh-tag.t-vegetarian, .sh-tag.t-vegan { background: #e3f1e7; color: var(--ok); }
.sh-tag.t-soldout { background: var(--ink); color: #fff; }

/* cart bar */
.st-cartbar {
  position: fixed;
  left: 50%;
  bottom: max(1rem, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 30;
  width: min(calc(100% - 2rem), 30rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 0;
  border-radius: 999px;
  background: var(--cta);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  min-height: 3.4rem;
  padding: 0 1.25rem;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(194, 65, 12, 0.35);
}
.st-cartbar:hover { background: var(--cta-hover); }
.st-cartbar .st-cartcount { background: rgba(255, 255, 255, 0.22); border-radius: 999px; padding: 0.1rem 0.6rem; }
.st-cartbar.is-other { background: var(--ink); box-shadow: 0 14px 32px rgba(28, 28, 28, 0.3); }

/* ---------- sheets (item + cart) ---------- */
.sh-scrim { position: fixed; inset: 0; background: rgba(20, 18, 16, 0.5); z-index: 60; display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.sh-sheet {
  background: var(--bg);
  border-radius: 20px;
  width: min(100%, 34rem);
  max-height: min(92vh, 52rem);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  outline: none;
  position: relative;
}
.sh-sheet-scroll { overflow-y: auto; overscroll-behavior: contain; flex: 1; min-height: 0; }
.sh-sheet-photo { aspect-ratio: 16 / 9; background: var(--bg-band); }
.sh-sheet-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sh-sheet-head { padding: 1.1rem 1.15rem 0.5rem; position: relative; }
.sh-sheet-head h2 { margin: 0; font-size: 1.4rem; letter-spacing: -0.015em; padding-right: 2.75rem; overflow-wrap: anywhere; }
.sh-sheet-head p { margin: 0.35rem 0 0; color: var(--soft); }
.sh-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 0;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 2;
}
.sh-close svg { width: 1.2rem; height: 1.2rem; }
.sh-group { border: 0; margin: 0; padding: 0.85rem 1.15rem; border-top: 1px solid var(--line); min-width: 0; }
.sh-group legend { padding: 0 0 0.35rem; width: 100%; float: left; }
.sh-group legend + * { clear: both; }
.sh-group-head { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; }
.sh-group-head b { font-size: 1.05rem; overflow-wrap: anywhere; }
.sh-group-rule { color: var(--mute); font-size: 0.85rem; font-weight: 600; display: block; margin-top: 0.1rem; }
.sh-req { flex: none; font-size: 0.72rem; font-weight: 800; border-radius: 999px; padding: 0.15rem 0.55rem; background: var(--bg-band); color: var(--soft); text-transform: uppercase; letter-spacing: 0.05em; }
.sh-req.is-need { background: var(--tint); color: var(--accent-text); }
.sh-req.is-done { background: #e3f1e7; color: var(--ok); }
.sh-group.has-err .sh-req { background: #fde8e6; color: var(--err); }
.sh-group-err { color: var(--err); font-weight: 700; font-size: 0.88rem; margin: 0.35rem 0 0; }
.sh-choice {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.sh-choice:last-child { border-bottom: 0; }
.sh-choice input { width: 1.3rem; height: 1.3rem; accent-color: var(--cta); flex: none; margin: 0; cursor: inherit; }
.sh-choice span { flex: 1; min-width: 0; font-weight: 600; overflow-wrap: anywhere; }
.sh-choice em { font-style: normal; color: var(--soft); font-weight: 700; font-size: 0.92rem; white-space: nowrap; }
.sh-choice.is-off { cursor: not-allowed; color: var(--mute); }
.sh-choice.is-off em { color: var(--mute); }
.sh-note { padding: 0.85rem 1.15rem 1.1rem; border-top: 1px solid var(--line); }
.sh-note label { font-weight: 800; display: block; margin-bottom: 0.35rem; }
.sh-note textarea {
  width: 100%;
  min-height: 4.5rem;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  background: #fff;
  resize: vertical;
}
.sh-foot {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 1.15rem calc(0.75rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: #fff;
}
.sh-foot .lr-btn { flex: 1; min-width: 0; }
.sh-qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; flex: none; }
.sh-qty button { width: 2.75rem; height: 2.75rem; border: 0; background: none; font-size: 1.3rem; font-weight: 800; cursor: pointer; border-radius: 50%; color: var(--ink); }
.sh-qty button:disabled { opacity: 0.35; cursor: not-allowed; }
.sh-qty output, .sh-qty span { min-width: 1.75rem; text-align: center; font-weight: 800; }
.sh-qty.is-sm button { width: 2.25rem; height: 2.25rem; font-size: 1.1rem; }
.sh-sheet-msg { margin: 0; padding: 0 1.15rem 0.6rem; color: var(--err); font-weight: 700; font-size: 0.9rem; background: #fff; }
.sh-sheet-msg:empty { display: none; }

/* cart drawer */
.sh-cart .sh-sheet-head { border-bottom: 1px solid var(--line); padding-bottom: 0.85rem; }
.sh-cart-biz { display: flex; gap: 0.6rem; align-items: center; margin-top: 0.15rem; color: var(--soft); font-weight: 700; }
.sh-cart-biz .sh-logo { width: 2rem; height: 2rem; border-radius: 8px; font-size: 0.95rem; border-width: 1px; box-shadow: none; }
.sh-line { display: flex; gap: 0.75rem; padding: 0.85rem 1.15rem; border-bottom: 1px solid var(--line); }
.sh-line-main { flex: 1; min-width: 0; }
.sh-line-name { font-weight: 800; overflow-wrap: anywhere; }
.sh-line-opts { color: var(--mute); font-size: 0.86rem; margin: 0.15rem 0 0; overflow-wrap: anywhere; }
.sh-line-acts { display: flex; gap: 0.6rem; align-items: center; margin-top: 0.45rem; flex-wrap: wrap; }
.sh-line-acts .sh-link { background: none; border: 0; padding: 0.35rem 0.1rem; color: var(--accent-text); font-weight: 800; text-decoration: underline; cursor: pointer; font-size: 0.9rem; min-height: 2.25rem; }
.sh-line-price { font-weight: 800; white-space: nowrap; }
.sh-line.is-gone .sh-line-name { text-decoration: line-through; color: var(--mute); }
.sh-sum { padding: 0.85rem 1.15rem; }
.sh-sum-row { display: flex; justify-content: space-between; gap: 1rem; font-weight: 800; font-size: 1.05rem; }
.sh-sum p { margin: 0.3rem 0 0; color: var(--mute); font-size: 0.88rem; }

/* confirm dialog */
.sh-confirm { width: min(100%, 25rem); padding: 1.35rem 1.25rem 1.1rem; }
.sh-confirm h2 { margin: 0 0 0.4rem; font-size: 1.3rem; }
.sh-confirm p { margin: 0 0 1.1rem; color: var(--soft); }
.sh-confirm-acts { display: flex; gap: 0.6rem; justify-content: flex-end; flex-wrap: wrap; }

.sh-toast {
  position: fixed;
  left: 50%;
  bottom: calc(5.25rem + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 70;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.6rem 1.1rem;
  max-width: calc(100% - 2rem);
  text-align: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

body.sh-lock { overflow: hidden; }

@media (max-width: 860px) {
  .lr-site { --navh: 4.05rem; }
}
@media (max-width: 640px) {
  .lr-wrap { padding-left: 1rem; padding-right: 1rem; }
  .mk-bar { grid-template-columns: 1fr; }
  .mk-bar .sh-seg { width: 100%; }
  .mk-bar .sh-seg button { flex: 1; }
  .mk-open .mk-open-text { display: none; }
  .mk-open::before { content: "Open"; }
  .sh-scrim { padding: 0; align-items: flex-end; }
  .sh-sheet { width: 100%; max-height: 94vh; border-radius: 20px 20px 0 0; box-shadow: var(--sheet-shadow); }
  .sh-confirm { margin: 0 0.75rem 0.75rem; border-radius: 20px; }
  .st-bar .lr-wrap { flex-wrap: wrap; }
  .st-bar .st-search { flex: 1 1 100%; order: -1; }
  .st-bar .sh-seg { flex: none; }
  .st-cat { scroll-margin-top: calc(var(--navh) + 7.25rem); }
  .st-photo { width: 5.25rem; height: 5.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .mk-card, .st-item, .mk-switch, .mk-switch::after { transition: none; }
  .sh-skel i { animation: none; }
}

/* "More local businesses coming soon — Join LocalRun" card (marketplace with few businesses) */
.mk-card.mk-join {
  border: 2px dashed var(--line-strong);
  background: #fbfaf7;
  box-shadow: none;
  display: flex;
}
.mk-join-in { padding: 1.25rem; display: grid; gap: 0.4rem; align-content: center; }
.mk-join-in h3 { margin: 0; font-family: var(--font-display); font-size: 1.15rem; letter-spacing: -0.02em; }
.mk-join-in p { margin: 0; color: var(--mute); font-size: 0.95rem; }
.mk-join-ico { width: 2.6rem; height: 2.6rem; border-radius: 12px; background: var(--tint); color: var(--accent-text); display: grid; place-items: center; }
.mk-join-ico svg { width: 1.4rem; height: 1.4rem; }
.mk-join-go { font-weight: 800; color: var(--accent-text); }
