/* Marketplace (MultiRestaurant addon) — one stylesheet for every public page. */
:root {
    --mp-bg: #fbfaf8; --mp-surface: #ffffff; --mp-surface-2: #f6f4f1; --mp-surface-3: #efece7;
    --mp-border: #ebe7e1; --mp-border-strong: #dcd6cd;
    --mp-text: #1c1917; --mp-text-2: #44403c; --mp-muted: #78716c;
    --mp-accent: #f95000; --mp-accent-hover: #e04800; --mp-accent-ink: #c2410c; --mp-accent-soft: #fff1e8;
    --mp-ok: #15803d; --mp-ok-soft: #dcfce7; --mp-bad: #b91c1c; --mp-bad-soft: #fee2e2; --mp-star: #f59e0b;
    --mp-shadow: 0 1px 2px rgba(28,25,23,.05), 0 2px 8px rgba(28,25,23,.05);
    --mp-shadow-lg: 0 20px 50px -18px rgba(28,25,23,.35);
    --mp-radius: 16px; --mp-radius-sm: 10px; --mp-header: 68px;
    --mp-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color-scheme: light;
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --mp-bg: #0e0e10; --mp-surface: #17171a; --mp-surface-2: #1e1e22; --mp-surface-3: #27272c;
        --mp-border: #2a2a30; --mp-border-strong: #3a3a42;
        --mp-text: #f5f5f4; --mp-text-2: #d6d3d1; --mp-muted: #a8a29e;
        --mp-accent: #ff6a1f; --mp-accent-hover: #ff7d3b; --mp-accent-ink: #ff9a63; --mp-accent-soft: #2b1a10;
        --mp-ok: #4ade80; --mp-ok-soft: #10291a; --mp-bad: #f87171; --mp-bad-soft: #2d1414;
        --mp-shadow: 0 1px 2px rgba(0,0,0,.5); --mp-shadow-lg: 0 20px 50px -18px rgba(0,0,0,.8);
        color-scheme: dark;
    }
}
:root[data-theme="dark"] {
    --mp-bg: #0e0e10; --mp-surface: #17171a; --mp-surface-2: #1e1e22; --mp-surface-3: #27272c;
    --mp-border: #2a2a30; --mp-border-strong: #3a3a42;
    --mp-text: #f5f5f4; --mp-text-2: #d6d3d1; --mp-muted: #a8a29e;
    --mp-accent: #ff6a1f; --mp-accent-hover: #ff7d3b; --mp-accent-ink: #ff9a63; --mp-accent-soft: #2b1a10;
    --mp-ok: #4ade80; --mp-ok-soft: #10291a; --mp-bad: #f87171; --mp-bad-soft: #2d1414;
    --mp-shadow: 0 1px 2px rgba(0,0,0,.5); --mp-shadow-lg: 0 20px 50px -18px rgba(0,0,0,.8);
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--mp-header) + 56px); }
body.mp { margin: 0; background: var(--mp-bg); color: var(--mp-text); font-family: var(--mp-font); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.mp a { color: inherit; text-decoration: none; }
.mp img { max-width: 100%; display: block; }
.mp h1, .mp h2, .mp h3, .mp h4 { margin: 0; line-height: 1.2; letter-spacing: -.02em; color: var(--mp-text); }
.mp p { margin: 0; }
.mp button, .mp input, .mp select, .mp textarea { font: inherit; color: inherit; }
.mp :focus-visible { outline: none; outline-offset: 2px; }
.mp-i { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mp-i.sm { width: 15px; height: 15px; }
.mp-i.lg { width: 22px; height: 22px; }
.mp-i.fill { fill: currentColor; stroke: none; }
.mp-container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .mp-container { padding: 0 24px; } }
.mp-muted { color: var(--mp-muted); }
.mp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Buttons, chips, badges */
.mp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--mp-border-strong); background: var(--mp-surface); color: var(--mp-text); font-weight: 700; font-size: 14px; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, color .15s, transform .15s; }
.mp-btn:hover { border-color: var(--mp-text-2); }
.mp-btn.primary { background: var(--mp-accent); border-color: var(--mp-accent); color: #fff; }
.mp-btn.primary:hover { background: var(--mp-accent-hover); border-color: var(--mp-accent-hover); }
.mp-btn.ghost { background: transparent; border-color: transparent; }
.mp-btn.ghost:hover { background: var(--mp-surface-2); }
.mp-btn.light { background: #fff; color: #1c1917; border-color: #fff; }
.mp-btn.sm { height: 34px; padding: 0 13px; font-size: 13px; }
.mp-btn.lg { height: 50px; padding: 0 24px; font-size: 15px; }
.mp-btn.block { width: 100%; }
.mp-btn.icon { width: 42px; padding: 0; }
.mp-btn.sm.icon { width: 34px; }
.mp-btn[disabled], .mp-btn.is-disabled { opacity: .5; pointer-events: none; }

.mp-chip { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--mp-border); background: var(--mp-surface); font-size: 13.5px; font-weight: 600; color: var(--mp-text-2); white-space: nowrap; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.mp-chip:hover { border-color: var(--mp-border-strong); color: var(--mp-text); }
.mp-chip.is-on { background: var(--mp-text); border-color: var(--mp-text); color: var(--mp-bg); }
.mp-chip .x { opacity: .7; }

.mp-badge { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; background: var(--mp-surface-3); color: var(--mp-text-2); }
.mp-badge.open { background: var(--mp-ok-soft); color: var(--mp-ok); }
.mp-badge.closed { background: var(--mp-surface-3); color: var(--mp-muted); }
.mp-badge.soon { background: #fef3c7; color: #b45309; }
.mp-badge.accent { background: var(--mp-accent-soft); color: var(--mp-accent-ink); }
.mp-badge.dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.mp-rating { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; font-size: 13.5px; color: var(--mp-text); }
.mp-rating .mp-i { color: var(--mp-star); width: 15px; height: 15px; }
.mp-rating small { font-weight: 500; color: var(--mp-muted); font-size: 12.5px; }

/* ---------- Header */
.mp-header { position: sticky; top: 0; z-index: 50; height: var(--mp-header); background: color-mix(in srgb, var(--mp-bg) 86%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--mp-border); }
.mp-header .mp-container { height: 100%; display: flex; align-items: center; gap: 20px; }
.mp-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -.02em; min-width: 0; }
.mp-brand img { height: 34px; width: auto; max-width: 140px; object-fit: contain; }
.mp-brand-mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--mp-accent); color: #fff; }
.mp-nav { display: none; gap: 4px; margin-left: 8px; }
.mp-nav a { padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--mp-text-2); }
.mp-nav a:hover { background: var(--mp-surface-2); color: var(--mp-text); }
.mp-nav a.is-active { color: var(--mp-text); background: var(--mp-surface-2); }
.mp-header-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.mp-header-actions .desk { display: none; }
.mp-menu-btn { display: inline-flex; }
@media (min-width: 992px) {
    .mp-nav { display: flex; }
    .mp-header-actions .desk { display: inline-flex; }
    .mp-menu-btn { display: none; }
}
.mp-lang { position: relative; }
.mp-lang-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 140px; background: var(--mp-surface); border: 1px solid var(--mp-border); border-radius: 12px; box-shadow: var(--mp-shadow-lg); padding: 6px; display: none; z-index: 60; }
.mp-lang-menu.open { display: block; }
.mp-lang-menu a { display: block; padding: 8px 10px; border-radius: 8px; font-size: 14px; font-weight: 600; text-transform: uppercase; }
.mp-lang-menu a:hover, .mp-lang-menu a.is-active { background: var(--mp-surface-2); }

.mp-drawer { position: fixed; inset: var(--mp-header) 0 0 0; z-index: 49; background: var(--mp-bg); padding: 16px; display: none; overflow-y: auto; }
.mp-drawer.open { display: block; }
.mp-drawer a.link { display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid var(--mp-border); font-weight: 700; font-size: 16px; }
.mp-drawer .mp-btn { margin-top: 12px; }

/* ---------- Hero */
.mp-hero { position: relative; color: #fff; overflow: hidden; background: #1c1917; }
.mp-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.mp-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,10,9,.55) 0%, rgba(12,10,9,.72) 60%, rgba(12,10,9,.88) 100%); }
.mp-hero.plain .mp-hero-bg { background: radial-gradient(90% 120% at 85% 0%, #ff8a3d 0%, #f95000 38%, #7c2d12 100%); }
.mp-hero.plain .mp-hero-bg::after { background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.25)); }
.mp-hero-inner { position: relative; padding: 64px 0 56px; display: grid; gap: 20px; max-width: 760px; }
.mp-hero-badge { display: inline-flex; align-self: start; justify-self: start; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); font-size: 13px; font-weight: 700; }
.mp-hero h1 { color: #fff; font-size: clamp(32px, 6vw, 56px); font-weight: 800; letter-spacing: -.035em; }
.mp-hero h1 em { font-style: normal; color: #ffd2b8; }
.mp-hero p.lead { font-size: clamp(15px, 2vw, 18px); color: rgba(255,255,255,.86); max-width: 600px; }
@media (min-width: 768px) { .mp-hero-inner { padding: 50px 0 60px; } }

.mp-search { display: grid; grid-template-columns: 1fr; gap: 6px; background: var(--mp-surface); color: var(--mp-text); padding: 6px; border-radius: 20px; box-shadow: var(--mp-shadow-lg); }
.mp-search-field { display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 52px; border-radius: 14px; min-width: 0; }
.mp-search-field:focus-within { background: var(--mp-surface-2); }
.mp-search-field .mp-i { color: var(--mp-muted); }
.mp-search-field input, .mp-search-field select { border: 0; outline: 0; background: var(--mp-surface); width: 100%; height: 100%; font-size: 15px; font-weight: 600; min-width: 0; appearance: none; -webkit-appearance: none; }
.mp-search-field select { cursor: pointer; }
.mp-search .mp-btn { height: 52px; border-radius: 14px; }
@media (min-width: 768px) {
    .mp-search { grid-template-columns: minmax(0, 1.4fr) 1px minmax(0, 1fr) auto; align-items: center; border-radius: 999px; padding: 6px 6px 6px 8px; }
    .mp-search-sep { width: 1px; height: 30px; background: var(--mp-border); }
    .mp-search .mp-btn { border-radius: 999px; padding: 0 26px; }
    .mp-search-field { border-radius: 999px; }
}
@media (max-width: 767px) { .mp-search-sep { display: none; } }
.mp-hero-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mp-hero-chips .mp-chip { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.22); color: #fff; backdrop-filter: blur(6px); }
.mp-hero-chips .mp-chip:hover { background: rgba(255,255,255,.22); }

/* ---------- Stats */
.mp-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--mp-border); border: 1px solid var(--mp-border); border-radius: var(--mp-radius); overflow: hidden; margin-top: -32px; position: relative; z-index: 2; box-shadow: var(--mp-shadow); }
.mp-stat { background: var(--mp-surface); padding: 16px 18px; display: grid; gap: 2px; }
.mp-stat b { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.mp-stat span { font-size: 13px; color: var(--mp-muted); font-weight: 600; }
@media (min-width: 768px) { .mp-stats { grid-template-columns: repeat(4, 1fr); } .mp-stat { padding: 20px 24px; } .mp-stat b { font-size: 28px; } }

/* ---------- Sections */
.mp-section { padding: 48px 0 0; }
.mp-section:last-of-type { padding-bottom: 64px; }
.mp-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.mp-section-head h2 { font-size: clamp(22px, 3vw, 28px); font-weight: 800; }
.mp-section-head p { color: var(--mp-muted); margin-top: 4px; }
.mp-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 14px; color: var(--mp-accent-ink); white-space: nowrap; }
.mp-link:hover { text-decoration: underline; }
.mp-eyebrow { font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--mp-accent-ink); margin-bottom: 6px; display: block; }

/* Rails scroll sideways on phones and become a grid on wide screens. */
.mp-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
.mp-rail::-webkit-scrollbar { display: none; }
.mp-rail > * { scroll-snap-align: start; }
@media (min-width: 576px) { .mp-rail { grid-auto-columns: 46%; } }
@media (min-width: 992px) { .mp-rail { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; } }
.mp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }

/* ---------- Restaurant card */
.mp-card { position: relative; display: flex; flex-direction: column; background: var(--mp-surface); border: 1px solid var(--mp-border); border-radius: var(--mp-radius); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; min-width: 0; }
.mp-card:hover { transform: translateY(-3px); box-shadow: var(--mp-shadow-lg); border-color: var(--mp-border-strong); }
.mp-card-media { position: relative; aspect-ratio: 16 / 10; background: var(--mp-surface-3); overflow: hidden; }
.mp-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.mp-card:hover .mp-card-media img { transform: scale(1.04); }
.mp-ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 44px; font-weight: 800; color: rgba(255,255,255,.9); background: linear-gradient(135deg, #fdba74, #f95000 60%, #9a3412); }
.mp-card-badges { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; justify-content: space-between; gap: 6px; }
.mp-card-badges .mp-badge { background: rgba(255,255,255,.95); box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.mp-card-badges .mp-badge.open { color: #15803d; }
.mp-card-badges .mp-badge.soon { color: #b45309; }
.mp-card-badges .mp-badge.closed { color: #57534e; }
.mp-card-badges .mp-badge.accent { background: var(--mp-accent); color: #fff; }
.mp-card-logo { position: relative; left: 14px; bottom: 20px; width: 46px; height: 46px; border-radius: 12px; background: var(--mp-surface); border: 3px solid var(--mp-surface); box-shadow: var(--mp-shadow); overflow: hidden; display: grid; place-items: center; font-weight: 800; color: var(--mp-accent-ink); }
.mp-card-logo img { width: 100%; height: 100%; object-fit: cover; }
.mp-card-body { padding: 14px 16px 16px; display: grid; gap: 6px; flex: 1; align-content: start; }
.mp-card.has-logo .mp-card-body { padding-top: 0px; }
.mp-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.mp-card-title { font-weight: 800; font-size: 16.5px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-card-cuisines { font-size: 13.5px; color: var(--mp-text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-card-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12.5px; color: var(--mp-muted); }
.mp-card-meta span { display: inline-flex; align-items: center; gap: 5px; }
.mp-card-services { display: flex; gap: 6px; margin-top: 4px; flex-wrap: wrap; }
.mp-card-services span { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 9px; border-radius: 8px; background: var(--mp-surface-2); font-size: 12px; font-weight: 600; color: var(--mp-text-2); }
.mp-card-link::after { content: ""; position: absolute; inset: 0; }

/* ---------- Cuisines, areas */
.mp-cuisines { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.mp-cuisines::-webkit-scrollbar { display: none; }
.mp-cuisine { display: grid; justify-items: center; gap: 8px; min-width: 96px; text-align: center; font-weight: 700; font-size: 13.5px; }
.mp-cuisine-img { width: 84px; height: 84px; border-radius: 50%; background: var(--mp-accent-soft); color: var(--mp-accent-ink); display: grid; place-items: center; font-size: 28px; font-weight: 800; overflow: hidden; border: 3px solid var(--mp-surface); box-shadow: var(--mp-shadow); transition: transform .2s; position: relative; }
.mp-cuisine-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mp-cuisine:hover .mp-cuisine-img { transform: scale(1.06); }
.mp-cuisine small { display: block; color: var(--mp-muted); font-weight: 500; font-size: 12px; }

.mp-areas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px) { .mp-areas { grid-template-columns: repeat(4, 1fr); } }
.mp-area { position: relative; border-radius: var(--mp-radius); overflow: hidden; aspect-ratio: 4 / 3; background: linear-gradient(135deg, #44403c, #1c1917); color: #fff; display: flex; align-items: flex-end; padding: 14px; }
.mp-area img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.mp-area::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.75)); }
.mp-area:hover img { transform: scale(1.05); }
.mp-area div { position: relative; z-index: 1; }
.mp-area b { display: block; font-size: 17px; }
.mp-area span { font-size: 13px; opacity: .85; }

/* ---------- How it works, quotes, CTA */
.mp-steps { display: grid; gap: 14px; }
@media (min-width: 768px) { .mp-steps { grid-template-columns: repeat(3, 1fr); } }
.mp-step { background: var(--mp-surface); border: 1px solid var(--mp-border); border-radius: var(--mp-radius); padding: 22px; display: grid; gap: 8px; }
.mp-step-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--mp-accent-soft); color: var(--mp-accent-ink); margin-bottom: 4px; }
.mp-step b { font-size: 16.5px; }
.mp-step p { color: var(--mp-muted); font-size: 14px; }

.mp-quotes { display: grid; gap: 14px; }
@media (min-width: 768px) { .mp-quotes { grid-template-columns: repeat(3, 1fr); } }
.mp-quote { background: var(--mp-surface); border: 1px solid var(--mp-border); border-radius: var(--mp-radius); padding: 20px; display: grid; gap: 12px; align-content: start; }
.mp-stars { display: inline-flex; gap: 2px; color: var(--mp-star); }
.mp-stars .mp-i { width: 15px; height: 15px; }
.mp-stars .off { color: var(--mp-border-strong); }
.mp-quote p { color: var(--mp-text-2); font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.mp-quote-foot { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.mp-avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--mp-surface-3); color: var(--mp-text-2); flex-shrink: 0; }

.mp-cta { position: relative; overflow: hidden; border-radius: 24px; padding: 32px 24px; background: #1c1917; color: #fff; display: grid; gap: 18px; }
.mp-cta::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(249,80,0,.55), transparent 65%); }
.mp-cta > * { position: relative; }
.mp-cta h2 { color: #fff; font-size: clamp(24px, 3.4vw, 34px); }
.mp-cta p { color: rgba(255,255,255,.78); max-width: 560px; }
.mp-cta-points { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: rgba(255,255,255,.85); }
.mp-cta-points span { display: inline-flex; align-items: center; gap: 6px; }
.mp-cta-points .mp-i { color: #ffb38a; }
@media (min-width: 768px) { .mp-cta { padding: 24px; grid-template-columns: 1fr auto; align-items: center; } }

.mp-news { display: grid; gap: 14px; background: var(--mp-accent-soft); border-radius: 24px; padding: 28px 24px; }
.mp-news h3 { font-size: 22px; }
.mp-news form { display: flex; gap: 8px; flex-wrap: wrap; }
.mp-news input { flex: 1 1 220px; height: 48px; border-radius: 999px; border: 1px solid var(--mp-border-strong); background: var(--mp-surface); padding: 0 18px; outline: 0; }
.mp-news input:focus { border-color: var(--mp-accent); }
@media (min-width: 768px) { .mp-news { grid-template-columns: 1fr 1.1fr; align-items: center; padding: 24px 24px; gap: 0px; } }

/* ---------- Empty state */
.mp-empty { text-align: center; padding: 56px 16px; border: 1px dashed var(--mp-border-strong); border-radius: var(--mp-radius); background: var(--mp-surface); display: grid; justify-items: center; gap: 8px; }
.mp-empty .mp-i { width: 40px; height: 40px; color: var(--mp-border-strong); }
.mp-empty h3 { font-size: 18px; }
.mp-empty p { color: var(--mp-muted); max-width: 420px; }

/* ---------- Listing page */
.mp-page-head { padding: 28px 0 18px; display: grid; gap: 6px; }
.mp-page-head h1 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; }
.mp-crumbs { display: flex; gap: 6px; align-items: center; font-size: 13px; color: var(--mp-muted); }
.mp-crumbs a:hover { color: var(--mp-text); }
.mp-list-bar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.mp-list-search { position: relative; flex: 1 1 260px; }
.mp-list-search .mp-i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--mp-muted); }
.mp-input, .mp-select { height: 44px; width: 100%; border: 1px solid var(--mp-border); border-radius: 999px; background: var(--mp-surface); padding: 0 16px; outline: 0; font-weight: 600; font-size: 14px; }
.mp-list-search .mp-input { padding-left: 42px; }
.mp-select { appearance: none; -webkit-appearance: none; padding-right: 38px; cursor: pointer; width: auto;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2378716c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; }
.mp-input:focus, .mp-select:focus { border-color: var(--mp-accent); box-shadow: 0 0 0 3px var(--mp-accent-soft); }
.mp-quick { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-bottom: 18px; }
.mp-quick::-webkit-scrollbar { display: none; }

.mp-list-layout { display: grid; gap: 24px; align-items: start; }
@media (min-width: 992px) { .mp-list-layout { grid-template-columns: 270px minmax(0, 1fr); } }
.mp-filters { background: var(--mp-surface); border: 1px solid var(--mp-border); border-radius: var(--mp-radius); padding: 18px; display: grid; gap: 20px; }
@media (min-width: 992px) { .mp-filters { position: sticky; top: calc(var(--mp-header) + 16px); max-height: calc(100vh - var(--mp-header) - 32px); overflow-y: auto; } }
@media (max-width: 991px) {
    .mp-filters { position: fixed; inset: auto 0 0 0; z-index: 70; border-radius: 22px 22px 0 0; max-height: 85vh; overflow-y: auto; transform: translateY(105%); transition: transform .25s; box-shadow: var(--mp-shadow-lg); padding-bottom: 90px; }
    .mp-filters.open { transform: none; }
}
.mp-filters-head { display: flex; justify-content: space-between; align-items: center; }
.mp-filters-head h2 { font-size: 17px; }
.mp-filter-group { display: grid; gap: 8px; }
.mp-filter-group > b { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--mp-muted); }
.mp-check { display: flex; align-items: center; gap: 10px; padding: 6px 2px; cursor: pointer; font-weight: 600; font-size: 14px; color: var(--mp-text-2); }
.mp-check input { width: 18px; height: 18px; accent-color: var(--mp-accent); margin: 0; flex-shrink: 0; }
.mp-check small { margin-left: auto; color: var(--mp-muted); font-weight: 500; }
.mp-filters .mp-select { width: 100%; border-radius: 12px; }
.mp-filters-apply { position: sticky; bottom: -18px; background: var(--mp-surface); padding: 12px 0 0; display: flex; gap: 8px; }
@media (min-width: 992px) { .mp-filters-apply, .mp-filters-close { display: none !important; } }
.mp-scrim { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 65; display: none; }
.mp-scrim.open { display: block; }
.mp-filter-btn { display: inline-flex; }
@media (min-width: 992px) { .mp-filter-btn { display: none; } }
.mp-active { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.mp-active .mp-chip { height: 32px; font-size: 13px; }
.mp-results-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.mp-results-head b { font-size: 15px; }
.mp-pager { display: flex; justify-content: center; gap: 6px; margin-top: 28px; flex-wrap: wrap; }
.mp-pager a, .mp-pager span { min-width: 40px; height: 40px; padding: 0 12px; border-radius: 999px; display: inline-grid; place-items: center; border: 1px solid var(--mp-border); background: var(--mp-surface); font-weight: 700; font-size: 14px; }
.mp-pager a:hover { border-color: var(--mp-border-strong); }
.mp-pager .is-current { background: var(--mp-text); color: var(--mp-bg); border-color: var(--mp-text); }
.mp-pager .is-off { opacity: .4; }

/* ---------- Restaurant page */
.mp-cover { position: relative; height: 240px; background: var(--mp-surface-3); overflow: hidden; }
.mp-cover img { width: 100%; height: 100%; object-fit: cover; }
.mp-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.35)); }
.mp-cover .mp-ph { font-size: 80px; }
.mp-cover-actions { position: absolute; right: 16px; top: 16px; z-index: 40; display: flex; gap: 8px; }
@media (min-width: 768px) { .mp-cover { height: 360px; } }
.mp-profile { position: relative; margin-top: -56px; z-index: 3; background: var(--mp-surface); border: 1px solid var(--mp-border); border-radius: 22px; box-shadow: var(--mp-shadow-lg); padding: 20px; display: grid; gap: 16px; }
.mp-profile-top { display: flex; gap: 16px; align-items: flex-start; }
.mp-profile-logo { width: 72px; height: 72px; border-radius: 18px; flex-shrink: 0; overflow: hidden; display: grid; place-items: center; font-size: 30px; font-weight: 800; background: var(--mp-accent-soft); color: var(--mp-accent-ink); border: 1px solid var(--mp-border); }
.mp-profile-logo img { width: 100%; height: 100%; object-fit: cover; }
.mp-profile h1 { font-size: clamp(24px, 3.6vw, 34px); font-weight: 800; }
.mp-profile-sub { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin-top: 8px; font-size: 14px; color: var(--mp-text-2); }
.mp-profile-sub span { display: inline-flex; align-items: center; gap: 6px; }
.mp-profile-actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 768px) { .mp-profile { padding: 26px 28px; align-items: center; } .mp-profile-logo { width: 88px; height: 88px; } }

.mp-tabs { position: sticky; top: var(--mp-header); z-index: 20; background: color-mix(in srgb, var(--mp-bg) 90%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--mp-border); margin-top: 20px; }
.mp-tabs nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.mp-tabs a { padding: 14px 14px; font-weight: 700; font-size: 14.5px; color: var(--mp-muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.mp-tabs a:hover, .mp-tabs a.is-active { color: var(--mp-text); border-color: var(--mp-accent); }

.mp-detail { display: grid; gap: 28px; padding: 24px 0 64px; align-items: start; }
@media (min-width: 992px) { .mp-detail { grid-template-columns: minmax(0, 1fr) 360px; } }
.mp-detail-main { display: grid; gap: 36px; min-width: 0; }
.mp-detail-side { display: grid; gap: 16px; }
@media (min-width: 992px) { .mp-detail-side { position: sticky; top: calc(var(--mp-header) + 70px); } }
.mp-panel { background: var(--mp-surface); border: 1px solid var(--mp-border); border-radius: var(--mp-radius); padding: 18px 20px; display: grid; gap: 12px; }
.mp-panel h3 { font-size: 16px; font-weight: 800; }
.mp-h2 { font-size: 22px; font-weight: 800; margin-bottom: 14px !important; display: flex; align-items: baseline; gap: 10px; }
.mp-h2 small { font-size: 14px; font-weight: 600; color: var(--mp-muted); }

.mp-about { color: var(--mp-text-2); }
.mp-about p + p { margin-top: 8px; }
.mp-gallery { display: grid; grid-auto-flow: column; grid-auto-columns: 220px; gap: 10px; overflow-x: auto; scrollbar-width: thin; margin-top: 14px; }
.mp-gallery button { padding: 0; border: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; cursor: zoom-in; background: var(--mp-surface-3); }
.mp-gallery img { width: 100%; height: 100%; object-fit: cover; }

.mp-menu-tools { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.mp-menu-cats { position: sticky; top: calc(var(--mp-header) + 49px); z-index: 10; background: var(--mp-bg); display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 10px 0; margin-bottom: 6px; }
.mp-menu-cats::-webkit-scrollbar { display: none; }
.mp-menu-cats .mp-chip { height: 34px; font-size: 13px; }
.mp-menu-group { padding-top: 14px; }
.mp-menu-group h3 { font-size: 18px; font-weight: 800; margin-bottom: 10px; display: flex; gap: 8px; align-items: baseline; }
.mp-menu-group h3 small { color: var(--mp-muted); font-weight: 600; font-size: 13px; }
.mp-dishes { display: grid; gap: 10px; }
@media (min-width: 768px) { .mp-dishes { grid-template-columns: 1fr 1fr; } }
.mp-dish { display: flex; gap: 14px; justify-content: space-between; background: var(--mp-surface); border: 1px solid var(--mp-border); border-radius: 14px; padding: 14px; min-width: 0; }
.mp-dish.is-out { opacity: .6; }
.mp-dish-info { min-width: 0; display: grid; gap: 4px; align-content: start; }
.mp-dish-info b { font-size: 15px; }
.mp-dish-info p { font-size: 13px; color: var(--mp-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mp-price { display: flex; align-items: baseline; gap: 8px; font-weight: 800; font-size: 15px; margin-top: 2px; }
.mp-price s { color: var(--mp-muted); font-weight: 500; font-size: 13px; }
.mp-dish-img { width: 92px; height: 92px; border-radius: 12px; overflow: hidden; flex-shrink: 0; background: var(--mp-surface-3); }
.mp-dish-img img { width: 100%; height: 100%; object-fit: cover; }

.mp-hours { width: 100%; border-collapse: collapse; font-size: 14px; }
.mp-hours td { padding: 7px 0; border-bottom: 1px dashed var(--mp-border); }
.mp-hours tr:last-child td { border-bottom: 0; }
.mp-hours td:last-child { text-align: right; color: var(--mp-text-2); }
.mp-hours tr.today td { font-weight: 800; color: var(--mp-text); }
.mp-hours tr.closed td:last-child { color: var(--mp-muted); }
.mp-info-row { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--mp-text-2); }
.mp-info-row .mp-i { color: var(--mp-muted); margin-top: 2px; }
.mp-info-row a { font-weight: 600; color: var(--mp-text); }
.mp-info-row a:hover { color: var(--mp-accent-ink); }
.mp-amenities { display: flex; flex-wrap: wrap; gap: 8px; }
.mp-amenities span { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--mp-surface-2); font-size: 13px; font-weight: 600; color: var(--mp-text-2); }
.mp-amenities span .mp-i { color: var(--mp-ok); width: 15px; height: 15px; }

.mp-book { display: grid; gap: 10px; }
.mp-book-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px; }
.mp-book label { display: grid; gap: 5px; font-size: 12.5px; font-weight: 700; color: var(--mp-muted); }
.mp-book input, .mp-book select { height: 44px; border: 1px solid var(--mp-border); border-radius: 12px; padding: 0 12px; background: var(--mp-surface); outline: 0; font-weight: 600; width: 100%; }
.mp-book input:focus, .mp-book select:focus { border-color: var(--mp-accent); }

.mp-review-summary { display: grid; gap: 18px; background: var(--mp-surface); border: 1px solid var(--mp-border); border-radius: var(--mp-radius); padding: 20px; }
@media (min-width: 640px) { .mp-review-summary { grid-template-columns: 180px 1fr; align-items: center; } }
.mp-review-score { text-align: center; display: grid; gap: 4px; justify-items: center; }
.mp-review-score b { font-size: 46px; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.mp-bars { display: grid; gap: 7px; }
.mp-bar { display: grid; grid-template-columns: 34px 1fr 34px; align-items: center; gap: 10px; font-size: 13px; color: var(--mp-muted); font-weight: 600; }
.mp-bar i { height: 8px; border-radius: 999px; background: var(--mp-surface-3); overflow: hidden; display: block; }
.mp-bar i span { display: block; height: 100%; background: var(--mp-star); border-radius: inherit; }
.mp-reviews { display: grid; gap: 12px; margin-top: 14px; }
.mp-review { background: var(--mp-surface); border: 1px solid var(--mp-border); border-radius: 14px; padding: 16px 18px; display: grid; gap: 8px; }
.mp-review-head { display: flex; align-items: center; gap: 10px; }
.mp-review-head div { flex: 1; min-width: 0; }
.mp-review-head b { display: block; font-size: 14.5px; }
.mp-review p { color: var(--mp-text-2); font-size: 14.5px; white-space: pre-line; }
.mp-review-form { background: var(--mp-surface); border: 1px solid var(--mp-border); border-radius: var(--mp-radius); padding: 18px 20px; display: grid; gap: 12px; margin-top: 14px; }
.mp-review-form textarea { width: 100%; min-height: 100px; border: 1px solid var(--mp-border); border-radius: 12px; padding: 12px 14px; background: var(--mp-surface); outline: 0; resize: vertical; }
.mp-review-form textarea:focus { border-color: var(--mp-accent); }
.mp-star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.mp-star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mp-star-input label { cursor: pointer; color: var(--mp-border-strong); transition: color .1s, transform .1s; }
.mp-star-input label .mp-i { width: 30px; height: 30px; }
.mp-star-input label:hover, .mp-star-input label:hover ~ label, .mp-star-input input:checked ~ label { color: var(--mp-star); }
.mp-star-input input:focus-visible + label { outline: 3px solid var(--mp-accent-soft); border-radius: 6px; }
.mp-note { padding: 12px 14px; border-radius: 12px; background: var(--mp-surface-2); color: var(--mp-text-2); font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.mp-note.warn { background: #fef3c7; color: #92400e; }
.mp-note.ok { background: var(--mp-ok-soft); color: var(--mp-ok); }
.mp-note.bad { background: var(--mp-bad-soft); color: var(--mp-bad); }

.mp-sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--mp-surface); border-top: 1px solid var(--mp-border); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; gap: 8px; box-shadow: 0 -8px 24px rgba(0,0,0,.08); }
.mp-sticky-cta .mp-btn { flex: 1; }
@media (min-width: 992px) { .mp-sticky-cta { display: none; } }
@media (max-width: 991px) { body.has-sticky-cta { padding-bottom: 72px; } }

.mp-lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.92); display: grid; place-items: center; padding: 20px; }
.mp-lightbox[hidden] { display: none; }
.mp-lightbox img { max-height: 86vh; max-width: 100%; border-radius: 12px; }
.mp-lightbox .mp-btn { position: absolute; top: 16px; right: 16px; }

/* ---------- Prose pages (FAQ, about, CMS pages) */
.mp-prose { max-width: 780px; margin: 0 auto; padding: 32px 0 64px; }
.mp-prose h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin-bottom: 10px; }
.mp-prose .lead { font-size: 17px; color: var(--mp-muted); margin-bottom: 26px; }
.mp-prose-body { color: var(--mp-text-2); font-size: 16px; line-height: 1.75; }
.mp-prose-body p, .mp-prose-body ul, .mp-prose-body ol { margin: 0 0 14px; }
.mp-prose-body h2, .mp-prose-body h3 { margin: 26px 0 10px; }
.mp-prose-body a { color: var(--mp-accent-ink); text-decoration: underline; }
.mp-faq { display: grid; gap: 10px; }
.mp-faq details { background: var(--mp-surface); border: 1px solid var(--mp-border); border-radius: 14px; padding: 0 18px; }
.mp-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; font-weight: 700; font-size: 15.5px; }
.mp-faq summary::-webkit-details-marker { display: none; }
.mp-faq summary .mp-i { transition: transform .2s; color: var(--mp-muted); }
.mp-faq details[open] summary .mp-i { transform: rotate(45deg); }
.mp-faq details > div { padding: 0 0 16px; color: var(--mp-text-2); }

/* ---------- Footer */
.mp-footer { margin-top: 24px; border-top: 1px solid var(--mp-border); background: var(--mp-surface); padding: 48px 0 24px; font-size: 14px; }
.mp-footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
.mp-footer-grid > :first-child { grid-column: 1 / -1; }
@media (min-width: 992px) { .mp-footer-grid { grid-template-columns: 1.6fr repeat(3, 1fr); } .mp-footer-grid > :first-child { grid-column: auto; } }
.mp-footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--mp-muted); margin-bottom: 12px; }
.mp-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.mp-footer ul a { color: var(--mp-text-2); font-weight: 500; }
.mp-footer ul a:hover { color: var(--mp-accent-ink); }
.mp-footer-about { color: var(--mp-muted); max-width: 360px; margin-top: 12px; }
.mp-social { display: flex; gap: 8px; margin-top: 16px; }
.mp-social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--mp-border); color: var(--mp-text-2); }
.mp-social a:hover { border-color: var(--mp-accent); color: var(--mp-accent-ink); }
.mp-footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--mp-border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--mp-muted); font-size: 13px; }

/* ---------- Toasts */
.mp-toasts { position: fixed; top: calc(var(--mp-header) + 12px); right: 16px; left: 16px; z-index: 120; display: grid; gap: 8px; justify-items: end; pointer-events: none; }
.mp-toast { pointer-events: auto; max-width: 380px; display: flex; gap: 10px; align-items: flex-start; background: var(--mp-text); color: var(--mp-bg); padding: 12px 16px; border-radius: 14px; box-shadow: var(--mp-shadow-lg); font-size: 14px; font-weight: 600; animation: mp-in .3s ease both; }
.mp-toast.bad { background: var(--mp-bad); color: #fff; }
@keyframes mp-in { from { opacity: 0; transform: translateY(-8px); } }

@media (prefers-reduced-motion: reduce) { .mp *, .mp *::before, .mp *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
