/* ── Menu pubblico cliente — sito dedicato del locale ────────────── */
/* Redesign: warm beige/cream palette, serif headings, restaurant feel */

:root {
    --mp-accent: #8B7D3C;
    --mp-accent-dark: #6B5F2E;
    --mp-accent-light: #A89A56;
    --mp-green: #2D3319;
    --mp-green-light: #3D4529;
    --mp-text: #2D3319;
    --mp-text-light: #4A4D3F;
    --mp-muted: #7A7D6F;
    --mp-bg: #FAF8F5;
    --mp-bg-white: #FFFFFF;
    --mp-bg-soft: #F3F0EB;
    --mp-bg-warm: #EDE9E2;
    --mp-border: rgba(45,51,25,0.10);
    --mp-border-solid: #D1D5C8;
    --mp-shadow: 0 4px 16px rgba(45,51,25,0.06);
    --mp-shadow-strong: 0 12px 36px rgba(45,51,25,0.12);
    --mp-shadow-card: 0 2px 12px rgba(45,51,25,0.08);
    --mp-radius: 16px;
    --mp-radius-lg: 20px;
    --mp-bar-h: 64px;
    --mp-header-h: 0px;
    --mp-sections-h: 56px;
    --mp-font-serif: Georgia, "Times New Roman", "Noto Serif", serif;
    --mp-font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

/* ── Reset & base — override Tailwind preflight inside .menu-page ── */
html, body { margin: 0; padding: 0; background: var(--mp-bg); }
* { box-sizing: border-box; }

.menu-page {
    background: var(--mp-bg);
    color: var(--mp-text);
    font-family: var(--mp-font-sans);
    font-size: 15px;
    line-height: 1.5;
    padding-top: var(--mp-header-h);
    -webkit-user-select: none; user-select: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}
.menu-page ::selection { background: var(--mp-accent); color: #fff; }
.menu-page h1, .menu-page h2, .menu-page h3, .menu-page h4 {
    font-size: inherit; font-weight: inherit; margin: 0;
}
.menu-page p { margin: 0; }
.menu-page button { cursor: pointer; }
.menu-page img, .menu-page video { max-width: 100%; height: auto; display: block; }
.menu-page a { color: inherit; text-decoration: none; }
.menu-page input, .menu-page textarea, .menu-page select {
    -webkit-user-select: text; user-select: text; font-family: inherit; font-size: inherit;
}

/* ── Skeleton ── */
.mp-skeleton { padding: 0 0 24px; }
.mp-skeleton-cover {
    height: 260px;
    background: linear-gradient(90deg, #ebe7e0 25%, #f3f0eb 50%, #ebe7e0 75%);
    background-size: 200% 100%;
    animation: mp-shimmer 1.4s linear infinite;
    border-radius: var(--mp-radius-lg);
    margin: 16px 24px 0;
}
.mp-skeleton-list { padding: 16px 24px; display: flex; flex-direction: column; gap: 12px; }
.mp-skeleton-card {
    height: 130px; border-radius: var(--mp-radius);
    background: linear-gradient(90deg, #ebe7e0 25%, #f3f0eb 50%, #ebe7e0 75%);
    background-size: 200% 100%;
    animation: mp-shimmer 1.4s linear infinite;
}
@keyframes mp-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.mp-empty-page { padding: 64px 24px; text-align: center; color: var(--mp-muted); }
.mp-empty-page h1 { color: var(--mp-text); font-family: var(--mp-font-serif); font-size: 26px; font-weight: 700; margin-bottom: 8px; }


/* ═══════════════════════════════════════════════════════════════════
   1. HEADER — sticky top bar
   ═══════════════════════════════════════════════════════════════════ */
.mp-site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 25;
    height: var(--mp-header-h);
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--mp-border-solid);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 24px;
    padding-top: env(safe-area-inset-top);
}

/* Left: logo + name */
.mp-site-brand {
    display: flex; align-items: center; gap: 10px;
    background: transparent; border: 0; padding: 0; cursor: pointer;
    color: var(--mp-text); text-decoration: none;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}
.mp-site-brand:active, .mp-site-brand:focus-visible { color: var(--mp-text); }
.mp-site-logo {
    width: 40px; height: 40px; border-radius: 10px; object-fit: cover; flex-shrink: 0;
    background: #fff; box-shadow: 0 1px 4px rgba(45,51,25,0.10);
}
.mp-site-name {
    font-family: var(--mp-font-serif);
    font-size: 18px; font-weight: 700; letter-spacing: -0.01em;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* Right: nav links */
.mp-site-header-nav {
    display: flex; align-items: center; gap: 4px;
    margin-left: auto;
}
.mp-site-header-nav a,
.mp-site-header-nav button {
    padding: 8px 16px; border-radius: 999px;
    background: transparent; border: 0; cursor: pointer;
    font-family: var(--mp-font-sans);
    font-size: 14px; font-weight: 600; color: var(--mp-text-light);
    text-decoration: none; white-space: nowrap;
    transition: color .15s, background .15s;
}
.mp-site-header-nav a:hover,
.mp-site-header-nav button:hover { color: var(--mp-text); background: var(--mp-bg-soft); }
.mp-site-header-nav a:active, .mp-site-header-nav a:focus-visible,
.mp-site-header-nav button:active, .mp-site-header-nav button:focus-visible { color: var(--mp-text); background: var(--mp-bg-soft); }
.mp-site-header-nav a.is-active,
.mp-site-header-nav button.is-active {
    color: var(--mp-text); font-weight: 700;
}

/* Ancora recensioni: lascia spazio sotto l'header fisso quando si scrolla qui */
#recensioni { scroll-margin-top: calc(var(--mp-header-h) + 14px); }

/* Right: icons */
.mp-site-nav {
    display: flex; align-items: center; gap: 6px; flex-shrink: 0;
}
.mp-site-nav-icon {
    width: 40px; height: 40px; border-radius: 50%;
    background: transparent; border: 0; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: var(--mp-text); position: relative;
    transition: background .15s;
}
.mp-site-nav-icon:hover { background: var(--mp-bg-soft); }
.mp-site-nav-badge {
    position: absolute; top: 2px; right: 2px;
    background: var(--mp-accent); color: #fff;
    width: 20px; height: 20px; border-radius: 50%; padding: 0;
    font-size: 11px; font-weight: 800; line-height: 20px; text-align: center;
}

/* Mobile header: hide center nav, simplify */
@media (max-width: 767px) {
    .mp-site-header { padding: 0 14px; }
    .mp-site-header-nav { display: none; }
    .mp-site-brand { position: absolute; left: 50%; transform: translateX(-50%); max-width: 60%; }
    /* Nome centrato (absolute): spinge l'icona carrello a destra della barra */
    .mp-site-nav { margin-left: auto; }
}


/* ═══════════════════════════════════════════════════════════════════
   2. HERO — large banner with CTA
   ═══════════════════════════════════════════════════════════════════ */
.mp-hero {
    position: relative;
    height: 280px; min-height: 0;
    margin: 12px 20px 0;
    border-radius: var(--mp-radius-lg);
    overflow: hidden;
    display: flex; align-items: flex-end;
    padding: 24px 32px 24px;
}
.mp-hero-cover {
    position: absolute; inset: 0;
    background-size: cover; background-position: center right;
}
.mp-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.62) 45%, rgba(0,0,0,0.12) 100%);
}
.mp-hero-content {
    position: relative; z-index: 1;
    color: #fff;
    display: flex; flex-direction: column; gap: 6px;
    max-width: 500px;
    text-align: left;
}
.mp-hero-logo {
    width: 76px; height: 76px; border-radius: 20px;
    object-fit: cover; background: #fff;
    box-shadow: 0 10px 24px rgba(0,0,0,0.3);
    padding: 6px;
}
.mp-hero-name {
    font-family: var(--mp-font-serif);
    font-size: 40px !important; font-weight: 700;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    line-height: 1.1;
}
.mp-hero-tagline {
    font-family: var(--mp-font-serif);
    font-size: 22px; font-weight: 600; font-style: normal;
    opacity: 0.95; line-height: 1.3;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
    margin-top: 4px;
}
.mp-hero-sub {
    font-size: 14.5px; line-height: 1.55;
    opacity: 0.85;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    max-width: 440px;
}
.mp-hero-actions {
    display: flex; align-items: center; gap: 10px;
    margin-top: 12px; flex-wrap: wrap;
}
.mp-hero-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 24px; border-radius: 999px;
    font-size: 14px; font-weight: 700; cursor: pointer;
    text-decoration: none; white-space: nowrap;
    transition: transform .14s, box-shadow .14s, background .15s;
    border: 0;
}
.mp-hero-btn:active { transform: scale(0.97); }
.mp-hero-btn--primary {
    background: var(--mp-green); color: #fff;
    box-shadow: 0 4px 14px rgba(45,51,25,0.35);
}
.mp-hero-btn--primary:hover { background: var(--mp-green-light); box-shadow: 0 6px 20px rgba(45,51,25,0.45); }
.mp-hero-btn--secondary {
    background: transparent; color: #fff;
    border: 1.5px solid rgba(255,255,255,0.5);
}
.mp-hero-btn--secondary:hover { border-color: #fff; background: rgba(255,255,255,0.10); }
.mp-hero-btn-arrow { font-size: 16px; line-height: 1; }

.mp-hero-wifi {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,0.2); backdrop-filter: blur(8px);
    padding: 5px 14px; border-radius: 999px;
    font-size: 12.5px; font-weight: 700; color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.mp-section-hero {
    position: relative; min-height: 240px;
    display: flex; align-items: flex-end; justify-content: center;
    padding: 18px 20px 28px;
    border-radius: var(--mp-radius-lg);
    margin: 16px 24px 0; overflow: hidden;
}

/* Hero responsive */
@media (max-width: 767px) {
    .mp-hero {
        height: 280px; min-height: 0; margin: 10px 12px 0;
        border-radius: 16px; padding: 28px 20px 28px;
    }
    .mp-hero-overlay {
        background:
            linear-gradient(90deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.30) 60%, rgba(0,0,0,0) 100%),
            linear-gradient(180deg, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0.58) 100%);
    }
    .mp-hero-name { font-size: 32px !important; }
    .mp-hero-tagline { font-size: 19px; }
    .mp-hero-content { max-width: 100%; }
    .mp-sheet--detail .mp-sheet-close { top: 36px; }
    .mp-section-hero { margin: 10px 12px 0; border-radius: 16px; }
}


/* ═══════════════════════════════════════════════════════════════════
   3. SECTIONS BAR — horizontal pills, flows with content
   ═══════════════════════════════════════════════════════════════════ */
.mp-sections-bar {
    position: sticky; top: var(--mp-header-h); z-index: 20;
    display: flex; align-items: center;
    overflow-x: auto; overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; -ms-overflow-style: none;
    padding: 14px 24px;
    gap: 8px;
    background: var(--mp-bg);
    border-bottom: 1px solid var(--mp-border);
}
.mp-sections-bar::-webkit-scrollbar { display: none; }

.mp-sections-pill {
    flex-shrink: 0;
    padding: 10px 22px; border-radius: 999px;
    background: var(--mp-bg-white);
    border: 1.5px solid var(--mp-border-solid);
    cursor: pointer;
    font-size: 14px; font-weight: 600;
    color: var(--mp-text-light);
    white-space: nowrap;
    transition: background .15s, color .15s, border-color .15s, box-shadow .15s;
}
.mp-sections-pill:hover {
    border-color: var(--mp-muted);
    color: var(--mp-text);
    box-shadow: var(--mp-shadow-card);
}
.mp-sections-pill.is-active {
    background: var(--mp-green);
    color: #fff !important;
    border-color: var(--mp-green);
    box-shadow: 0 4px 12px rgba(45,51,25,0.20);
}

.mp-nav-btn {
    padding: 10px 18px; border-radius: 999px;
    background: transparent; border: 0; cursor: pointer;
    font-size: 14px; font-weight: 600; color: var(--mp-text);
    transition: background .15s, color .15s;
}
.mp-nav-btn:hover, .mp-nav-btn:active, .mp-nav-btn:focus-visible { color: var(--mp-text); }
.mp-nav-btn.is-active { background: var(--mp-green); color: #fff !important; }

.mp-main-area { width: 100%; }
.mp-main-area.has-sections-bar { /* no extra padding needed since bar is not fixed */ }


/* ═══════════════════════════════════════════════════════════════════
   4. FEATURED CAROUSEL — "Consigliati da [nome]"
   ═══════════════════════════════════════════════════════════════════ */
.mp-featured {
    padding: 40px 24px 28px;
    max-width: 1200px; margin: 0 auto;
    overflow: hidden;
}
.mp-featured-layout {
    display: flex; gap: 40px; align-items: flex-start;
}
.mp-featured-text {
    flex: 0 0 240px;
    display: flex; flex-direction: column; gap: 12px;
    padding-top: 8px;
}
.mp-featured-label {
    font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--mp-accent);
}
.mp-featured-title {
    margin: 0;
    font-family: var(--mp-font-serif);
    font-size: 32px; font-weight: 700;
    line-height: 1.1;
    color: var(--mp-text);
}
.mp-featured-icon {
    font-size: 28px; line-height: 1; margin-top: 4px;
    color: var(--mp-accent); opacity: 0.6;
}
.mp-featured-scroll {
    flex: 1; min-width: 0;
    display: flex; gap: 18px;
    overflow-x: auto; overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 8px 4px 16px;
}
.mp-featured-scroll::-webkit-scrollbar { display: none; }

/* Desktop (mouse): mostra una scrollbar sottile così i consigliati sono scrollabili anche senza touch */
@media (hover: hover) and (pointer: fine) {
    .mp-featured-scroll {
        padding-bottom: 10px;
        cursor: grab;
    }
    .mp-featured-scroll.mp-dragging {
        cursor: grabbing;
        user-select: none;
        scroll-behavior: auto;
    }
    .mp-featured-scroll.mp-dragging .mp-featured-card { pointer-events: none; }
    .mp-featured-scroll::-webkit-scrollbar { display: block; height: 9px; }
    .mp-featured-scroll::-webkit-scrollbar-track { background: transparent; }
    .mp-featured-scroll::-webkit-scrollbar-thumb {
        background: rgba(0,0,0,0.22);
        border-radius: 999px;
    }
    .mp-featured-scroll::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.38); }
}

.mp-featured-card {
    position: relative;
    flex: 0 0 240px;
    background: var(--mp-bg-white);
    border-radius: var(--mp-radius);
    overflow: hidden;
    box-shadow: var(--mp-shadow-card);
    cursor: pointer;
    transition: transform .18s, box-shadow .18s;
    display: flex; flex-direction: column;
}
.mp-featured-card:hover { transform: translateY(-4px); box-shadow: var(--mp-shadow-strong); }
.mp-featured-card:active { transform: scale(0.985); }
.mp-featured-card--highlight {
    flex: 0 0 260px;
    box-shadow: var(--mp-shadow);
}

.mp-featured-card-img {
    position: relative; width: 100%; height: 160px; overflow: hidden;
}
.mp-featured-card-img img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.mp-featured-card-badge {
    position: absolute; top: 10px; left: 10px; z-index: 2;
    padding: 4px 10px; border-radius: 999px;
    font-size: 10.5px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em;
}
.mp-featured-badge--gold { background: rgba(212,168,67,0.85); color: #fff; }
.mp-featured-badge--green { background: rgba(74,124,63,0.80); color: #fff; }
.mp-featured-badge--red { background: rgba(181,75,75,0.80); color: #fff; }
.mp-featured-badge--olive { background: rgba(139,125,60,0.80); color: #fff; }

.mp-featured-card-body {
    padding: 14px 16px 18px;
    display: flex; flex-direction: column; gap: 6px; flex: 1;
}
.mp-featured-card-name {
    margin: 0; font-size: 16px; font-weight: 700; line-height: 1.2;
    color: var(--mp-text);
}
.mp-featured-card-desc {
    margin: 0; font-size: 13px; color: var(--mp-muted); line-height: 1.35;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mp-featured-card-price {
    margin-top: auto; padding-top: 8px;
    font-size: 16px; font-weight: 800;
    color: var(--mp-text); font-variant-numeric: tabular-nums;
}

/* Featured responsive */
@media (max-width: 767px) {
    .mp-featured { padding: 32px 16px 24px; }
    .mp-featured-layout { flex-direction: column; gap: 18px; }
    .mp-featured-text { flex: none; }
    .mp-featured-title { font-size: 26px; }
}


/* ═══════════════════════════════════════════════════════════════════
   5. CATEGORIES GRID
   ═══════════════════════════════════════════════════════════════════ */
.mp-categories {
    padding: 32px 24px 40px;
    max-width: 1200px; margin: 0 auto;
}
.mp-categories-layout {
    display: flex; gap: 40px; align-items: flex-start;
}
.mp-categories-text {
    flex: 0 0 240px;
    display: flex; flex-direction: column; gap: 12px;
    padding-top: 8px;
}
.mp-categories-label {
    font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--mp-accent);
}
.mp-categories-title {
    margin: 0;
    font-family: var(--mp-font-serif);
    font-size: 32px; font-weight: 700;
    line-height: 1.1;
    color: var(--mp-text);
}

/* The grid section used by existing code */
.mp-grid-section { padding: 24px 16px 32px; }
.mp-grid-title {
    margin: 0 0 18px;
    font-family: var(--mp-font-serif);
    font-size: 26px; font-weight: 700; letter-spacing: -0.01em; padding: 0 4px;
}
.mp-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
    flex: 1; min-width: 0;
}
@media (min-width: 640px) { .mp-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (min-width: 960px) { .mp-grid { grid-template-columns: 1fr 1fr 1fr 1fr; } }

.mp-grid-card {
    position: relative; aspect-ratio: 4/5; min-height: 200px;
    border: 0; padding: 18px; cursor: pointer; overflow: hidden;
    border-radius: var(--mp-radius);
    background-size: cover; background-position: center;
    box-shadow: var(--mp-shadow-card);
    display: flex; flex-direction: column; justify-content: flex-end;
    text-align: left; color: #fff;
    transition: transform .18s, box-shadow .18s;
}
.mp-grid-card:hover { transform: translateY(-3px); box-shadow: var(--mp-shadow-strong); }
.mp-grid-card:active { transform: scale(0.985); }
.mp-grid-card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0.65) 100%);
    pointer-events: none;
}
.mp-grid-card-title {
    position: relative; z-index: 1;
    font-family: var(--mp-font-serif);
    font-size: 20px; font-weight: 700; letter-spacing: -0.01em;
    line-height: 1.15; text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}
.mp-grid-card-count {
    position: relative; z-index: 1;
    font-size: 12px; font-weight: 600; opacity: 0.85; margin-top: 4px;
}

/* Categories responsive */
@media (max-width: 767px) {
    .mp-categories { padding: 24px 12px 100px; }
    .mp-categories-layout { flex-direction: column; gap: 18px; width: 100% !important; }
    .mp-categories-text { flex: none; }
    .mp-categories-title { font-size: 26px; }

    .mp-grid {
        display: flex !important; flex-direction: column !important;
        grid-template-columns: none !important; gap: 10px !important;
        align-items: stretch !important; width: 100% !important;
    }
    .mp-grid-card {
        aspect-ratio: auto !important; min-height: 0 !important; height: 90px !important;
        width: 100% !important; max-width: 100% !important;
        flex-shrink: 0 !important;
        padding: 16px 20px !important;
        box-sizing: border-box !important;
    }
    .mp-grid-card-overlay {
        background: linear-gradient(90deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.25) 100%) !important;
    }
}


/* ═══════════════════════════════════════════════════════════════════
   6. DISH LIST — category with left label, dish rows on right
   ═══════════════════════════════════════════════════════════════════ */
.mp-dishes-list {
    max-width: 1100px; margin: 0 auto;
    padding: 32px 24px 40px;
}
.mp-dishes-list-layout {
    display: flex; gap: 40px; align-items: flex-start;
}
.mp-dishes-list-sidebar {
    flex: 0 0 200px;
    position: sticky; top: calc(var(--mp-header-h) + 24px);
    display: flex; flex-direction: column; gap: 10px;
    padding-top: 4px;
}
.mp-dishes-list-label {
    font-size: 14px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--mp-accent);
    margin: 0;
}
.mp-dishes-list-cat-name {
    margin: 0;
    font-family: var(--mp-font-serif);
    font-size: 28px; font-weight: 700;
    line-height: 1.1;
    color: var(--mp-text);
}
.mp-dishes-list-icon {
    font-size: 24px; line-height: 1; margin-top: 4px;
    color: var(--mp-accent); opacity: 0.5;
}
.mp-dishes-list-rows {
    flex: 1; min-width: 0;
    display: flex; flex-direction: column;
}

/* Dish list responsive */
@media (max-width: 767px) {
    .mp-dishes-list { padding: 24px 12px 100px; max-width: 100% !important; }
    .mp-dishes-list-layout { flex-direction: column; gap: 18px; width: 100% !important; }
    .mp-dishes-list-sidebar { flex: none; position: static; }
    .mp-dishes-list-cat-name { font-size: 24px; }
    .mp-dishes-list-rows { width: 100% !important; }
    .mp-dishes-section { max-width: 100% !important; padding: 18px 12px 24px; }
}

/* Individual dish rows */
.mp-dishes-section { padding: 18px 16px 24px; max-width: 760px; margin: 0 auto; }

.mp-dish-row {
    display: flex; align-items: center; gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--mp-border);
    cursor: pointer;
    transition: background .12s;
}
.mp-dish-row:last-child { border-bottom: none; }
.mp-dish-row:hover { background: rgba(45,51,25,0.02); }

.mp-dish-row-thumb {
    width: 80px; height: 80px; border-radius: 12px; overflow: hidden;
    flex-shrink: 0; background: var(--mp-bg-soft);
}
.mp-dish-row-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.mp-dish-row-body {
    flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px;
}
.mp-dish-row-name {
    margin: 0;
    font-size: 16px; font-weight: 700; line-height: 1.25;
    color: var(--mp-text);
}
.mp-dish-row-desc {
    margin: 0; font-size: 13.5px; color: var(--mp-muted); line-height: 1.35;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mp-dish-row-right {
    display: flex; align-items: center; gap: 12px;
    flex-shrink: 0;
}
.mp-dish-row-price {
    font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums;
    color: var(--mp-text); white-space: nowrap;
}
.mp-dish-row-add {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--mp-green); color: #fff; border: 0; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 3px 10px rgba(45,51,25,0.25);
    transition: transform .15s, background .15s;
    flex-shrink: 0;
}
.mp-dish-row-add:hover { background: var(--mp-green-light); }
.mp-dish-row-add:active { transform: scale(0.92); }


/* ── Existing dish card (kept for compatibility) ── */
.mp-dish-card {
    background: var(--mp-bg-white); border: 1px solid var(--mp-border);
    border-radius: var(--mp-radius); padding: 12px;
    display: flex; gap: 12px; cursor: pointer; margin-bottom: 12px;
    box-shadow: var(--mp-shadow-card);
    transition: transform .14s, box-shadow .14s;
}
.mp-dish-card:hover { box-shadow: var(--mp-shadow-strong); }
.mp-dish-card:active { transform: scale(0.985); }
.mp-dish-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.mp-dish-name { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.25; }
.mp-dish-desc {
    margin: 0; font-size: 13px; color: var(--mp-muted); line-height: 1.35;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mp-dish-ingredients {
    margin: 0; font-size: 12.5px; color: var(--mp-text-light); line-height: 1.35;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mp-ingredients-block {
    display: flex; flex-direction: column; gap: 4px;
    background: var(--mp-bg-soft); border-radius: 10px; padding: 10px 12px;
    font-size: 13px; line-height: 1.4;
}
.mp-ingredients-block strong { font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--mp-muted); font-weight: 700; }

/* Tags / badges */
.mp-dish-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.mp-dish-tag { font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.02em; }
.mp-tag-vegan { background: #DCFCE7; color: #166534; }
.mp-tag-vegetarian { background: #ECFCCB; color: #3F6212; }
.mp-tag-gf { background: #FEF3C7; color: #854D0E; }
.mp-tag-lf { background: #E0F2FE; color: #075985; }
.mp-tag-spicy { background: #FEE2E2; color: #991B1B; }
.mp-tag-other { background: #F3F4F6; color: #374151; }
.mp-tag-feature { background: #EEE7FE; color: #5B21B6; }

/* Dish foot & add button */
.mp-dish-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.mp-dish-price { font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.mp-add-btn {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--mp-green); color: #fff; border: 0; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 10px rgba(45,51,25,0.25);
    transition: transform .15s;
}
.mp-add-btn:active { transform: scale(0.92); }

/* Stepper inline */
.mp-add-stepper {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--mp-green); color: #fff;
    border-radius: 999px; padding: 4px 6px;
    box-shadow: 0 4px 10px rgba(45,51,25,0.25);
}
.mp-add-mini {
    width: 28px; height: 28px; border-radius: 50%;
    background: rgba(255,255,255,0.18); color: #fff; border: 0; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s, transform .12s;
}
.mp-add-mini:hover { background: rgba(255,255,255,0.28); }
.mp-add-mini:active { transform: scale(0.9); }
.mp-add-mini--plus { background: rgba(255,255,255,0.28); }
.mp-add-qty {
    min-width: 18px; text-align: center;
    font-size: 14px; font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.mp-dish-out {
    font-size: 11.5px; font-weight: 700; color: var(--mp-muted);
    text-transform: uppercase; padding: 6px 10px; border-radius: 8px;
    background: var(--mp-bg-soft);
}
.mp-dish-photo { width: 96px; height: 96px; border-radius: 12px; overflow: hidden; background: var(--mp-bg-soft); flex-shrink: 0; }
.mp-dish-photo img { width: 100%; height: 100%; object-fit: cover; }


/* ── Filters ── */
.mp-filter-dot {
    position: absolute; top: -4px; right: -4px;
    background: var(--mp-accent); color: #fff;
    min-width: 18px; height: 18px; border-radius: 9px; padding: 0 5px;
    font-size: 11px; font-weight: 800; line-height: 18px; text-align: center;
}
.mp-bar-back { position: relative; }
.mp-sheet--filters { display: flex; flex-direction: column; gap: 18px; }
.mp-filter-block { display: flex; flex-direction: column; gap: 8px; }
.mp-filter-label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--mp-muted); }
.mp-filter-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.mp-filter-chip {
    padding: 8px 14px; border-radius: 999px;
    background: var(--mp-bg-soft); border: 1px solid var(--mp-border);
    font-size: 13px; font-weight: 600; color: var(--mp-text); cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
}
.mp-filter-chip.is-active { background: var(--mp-green); color: #fff; border-color: var(--mp-green); }
.mp-filter-chip--danger.is-active { background: var(--mp-accent); color: #fff; border-color: var(--mp-accent); }


/* ── Lang picker ── */
.mp-sheet--lang { display: flex; flex-direction: column; gap: 12px; }
.mp-lang-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 480px) { .mp-lang-grid { grid-template-columns: 1fr 1fr 1fr; } }
.mp-lang-tile {
    display: flex; align-items: center; gap: 10px; padding: 12px;
    background: var(--mp-bg-soft); border: 1px solid var(--mp-border); border-radius: 12px;
    cursor: pointer; text-align: left; transition: border-color .15s, background .15s;
}
.mp-lang-tile:hover { border-color: var(--mp-green); }
.mp-lang-tile.is-active { background: var(--mp-green); color: #fff; border-color: var(--mp-green); }
.mp-lang-flag { font-size: 22px; line-height: 1; flex-shrink: 0; }
.mp-lang-name { font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Lang loader */
.mp-overlay--solid { background: rgba(0,0,0,0.65); align-items: center; justify-content: center; }
.mp-lang-loader {
    background: #fff; border-radius: 16px; padding: 28px 32px;
    display: flex; flex-direction: column; align-items: center; gap: 14px;
    box-shadow: var(--mp-shadow-strong);
}
.mp-lang-loader-text { font-size: 14.5px; font-weight: 600; color: var(--mp-text); }
.ai-loading-spinner {
    width: 44px; height: 44px;
    border: 4px solid var(--mp-bg-warm); border-top-color: var(--mp-accent);
    border-radius: 50%;
    animation: mp-spin 0.85s linear infinite;
}
@keyframes mp-spin { to { transform: rotate(360deg); } }


/* ── Empty section ── */
.mp-empty-section {
    display: flex; flex-direction: column; align-items: center;
    padding: 48px 24px; text-align: center; gap: 14px;
    color: var(--mp-muted);
}
.mp-empty-section svg { color: var(--mp-accent); opacity: 0.75; }
.mp-empty-section-title { margin: 0; font-size: 16px; font-weight: 800; color: var(--mp-text); }
.mp-empty-section-body { margin: 0; font-size: 14px; line-height: 1.4; max-width: 360px; }


/* ═══════════════════════════════════════════════════════════════════
   IL LOCALE — info section
   ═══════════════════════════════════════════════════════════════════ */
.mp-locale-section {
    max-width: 720px; margin: 0 auto; padding: 24px 20px 32px;
    display: flex; flex-direction: column; gap: 22px;
}
.mp-locale-text h2 {
    margin: 0 0 10px;
    font-family: var(--mp-font-serif);
    font-size: 26px; font-weight: 700; letter-spacing: -0.01em;
}
.mp-locale-text p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--mp-text-light); white-space: pre-wrap; }
.mp-locale-info {
    display: flex; flex-direction: column; gap: 10px;
    padding: 16px; background: var(--mp-bg-soft);
    border-radius: var(--mp-radius); border: 1px solid var(--mp-border);
}
.mp-locale-row {
    display: flex; align-items: center; gap: 12px;
    padding: 8px 4px; color: var(--mp-text); font-size: 14.5px; text-decoration: none;
}
.mp-locale-row svg { flex-shrink: 0; color: var(--mp-accent); }
.mp-locale-wifi {
    display: flex; flex-direction: column; gap: 4px;
    padding-top: 6px; border-top: 1px solid var(--mp-border);
}
.mp-wifi-detail { display: flex; align-items: center; gap: 8px; padding: 4px 4px 4px 34px; font-size: 13.5px; }
.mp-wifi-label { font-weight: 700; color: var(--mp-muted); min-width: 70px; font-size: 12px; text-transform: uppercase; }
.mp-wifi-pwd { font-family: monospace; letter-spacing: 0.04em; }
.mp-wifi-copy {
    background: var(--mp-bg-soft); border: 1px solid var(--mp-border-solid);
    border-radius: 8px; padding: 6px 8px; cursor: pointer;
    color: var(--mp-muted); display: flex; align-items: center;
    transition: background .15s, color .15s;
}
.mp-wifi-copy:hover { background: var(--mp-bg-warm); color: var(--mp-text); }
.mp-wifi-copy:active { transform: scale(0.95); }


/* ═══════════════════════════════════════════════════════════════════
   BOTTOM BAR — fixed footer
   ═══════════════════════════════════════════════════════════════════ */
.mp-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    background: rgba(255,255,255,0.96);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-top: 1px solid var(--mp-border-solid);
    padding: 10px 12px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
    display: flex; align-items: center; gap: 8px;
    flex-wrap: nowrap;
    box-shadow: 0 -4px 16px rgba(45,51,25,0.05);
}
.mp-bar-back-btn {
    height: 44px; padding: 0 14px; border-radius: 999px;
    background: var(--mp-bg-soft); border: 1px solid var(--mp-border);
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--mp-text); cursor: pointer; flex-shrink: 0;
    font-size: 13.5px; font-weight: 700; letter-spacing: -0.01em;
    transition: background .15s, transform .12s;
}
.mp-bar-back-btn:hover { background: var(--mp-bg-warm); }
.mp-bar-back-btn:active { transform: scale(0.96); }
.mp-bar-back-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.mp-bar-icon {
    width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
    background: var(--mp-bg-soft); border: 1px solid var(--mp-border);
    display: flex; align-items: center; justify-content: center;
    color: var(--mp-text); cursor: pointer; padding: 0;
    transition: background .15s, transform .12s; position: relative;
}
.mp-bar-icon:hover { background: var(--mp-bg-warm); }
.mp-bar-icon:active { transform: scale(0.94); }
.mp-bar-icon:disabled { opacity: 0.4; cursor: not-allowed; }

.mp-bar-flag {
    width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
    background: var(--mp-bg-soft); border: 1px solid var(--mp-border);
    font-size: 22px; line-height: 44px; padding: 0; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    text-align: center; padding-bottom: 5px;
    transition: background .15s, transform .12s;
}
.mp-bar-flag:hover { background: var(--mp-bg-warm); }
.mp-bar-flag:active { transform: scale(0.94); }

.mp-bar-back, .mp-bar-lang-wrap {
    height: 48px; min-width: 48px;
    border-radius: 14px;
    background: var(--mp-bg-soft);
    border: 1px solid var(--mp-border);
    display: flex; align-items: center; justify-content: center; gap: 6px;
    color: var(--mp-text);
    font-size: 12.5px; font-weight: 700;
    cursor: pointer; padding: 0 14px;
    transition: background .15s, transform .12s;
}
.mp-bar-back:hover, .mp-bar-lang-wrap:hover { background: var(--mp-bg-warm); }
.mp-bar-back:active { transform: scale(0.96); }
.mp-bar-back:disabled { opacity: 0.4; cursor: not-allowed; }
.mp-bar-back svg { stroke: var(--mp-text); }
.mp-bar-back span { display: none; }
@media (min-width: 400px) { .mp-bar-back span { display: inline; } }

.mp-bar-spacer { height: 48px; visibility: hidden; }

.mp-bar-cart {
    flex: 1 1 auto; min-width: 0;
    height: 44px; padding: 0 12px; border-radius: 999px;
    background: linear-gradient(180deg, var(--mp-green), #1E2410);
    color: #fff; border: 0;
    font-size: 13.5px; font-weight: 700; cursor: pointer;
    display: flex; align-items: center; gap: 8px; justify-content: center;
    box-shadow: 0 6px 18px rgba(45,51,25,0.30);
    transition: transform .14s, box-shadow .14s;
    overflow: hidden;
}
.mp-bar-cart:hover { box-shadow: 0 10px 28px rgba(45,51,25,0.40); }
.mp-bar-cart:active { transform: scale(0.985); }
.mp-bar-cart.is-empty {
    background: var(--mp-bg-soft); color: var(--mp-muted);
    box-shadow: none; cursor: not-allowed; border: 1px solid var(--mp-border);
}
.mp-bar-cart.is-pulse { animation: mp-pulse 0.45s ease-out; }
@keyframes mp-pulse { 0%,100% { transform: scale(1); } 30% { transform: scale(1.04); } }
.mp-cart-count {
    background: rgba(255,255,255,0.22); padding: 0; border-radius: 50%;
    font-size: 13px; font-weight: 800; width: 28px; height: 28px; line-height: 28px; text-align: center;
}
.mp-bar-cart.is-empty .mp-cart-count { background: #E5E7EB; color: var(--mp-muted); }
.mp-cart-label { flex: 1; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; letter-spacing: -0.01em; }
.mp-cart-total { font-variant-numeric: tabular-nums; font-size: 14.5px; }
.mp-bar-cart.is-empty .mp-cart-total { display: none; }

/* Lang chip in bar */
.mp-bar-lang-wrap { position: relative; padding: 0; overflow: hidden; }
.mp-bar-lang {
    width: 100%; height: 100%;
    background: transparent; border: 0; color: var(--mp-text);
    padding: 0 26px 0 14px;
    font-size: 13px; font-weight: 700;
    appearance: none; -webkit-appearance: none; cursor: pointer;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%232D3319' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat; background-position: right 10px center;
}


/* ═══════════════════════════════════════════════════════════════════
   OVERLAY + SHEET — popups, bottom sheets
   ═══════════════════════════════════════════════════════════════════ */
.mp-overlay {
    position: fixed; inset: 0; z-index: 40;
    background: rgba(0,0,0,0.45);
    display: flex; align-items: flex-end; justify-content: center;
    animation: mp-fade-in .2s ease-out;
}
@keyframes mp-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes mp-fade-out { from { opacity: 1; } to { opacity: 0; } }
.mp-overlay.is-closing { animation: mp-fade-out .2s ease-in forwards; }

.mp-sheet {
    background: #fff; width: 100%; max-width: 640px;
    border-radius: 20px 20px 0 0;
    padding: 20px 18px; max-height: 92vh;
    overflow-y: auto;
    animation: mp-slide-up .26s ease-out;
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
    position: relative;
}
@keyframes mp-slide-up { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes mp-slide-down { from { transform: translateY(0); } to { transform: translateY(100%); } }
.mp-sheet.is-closing { animation: mp-slide-down .22s ease-in forwards; }

.mp-sheet-close {
    position: absolute; top: 14px; right: 14px;
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(0,0,0,0.55); color: #fff; border: 0;
    font-size: 22px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    z-index: 2;
}


/* ── Sheet mode picker ── */
.mp-sheet--mode h2 { margin: 0; font-size: 22px; font-weight: 800; }
.mp-sheet--mode .mp-sub { color: var(--mp-muted); margin: 6px 0 18px; }
.mp-mode-card {
    width: 100%; display: flex; align-items: center; gap: 14px;
    padding: 16px; margin-bottom: 10px;
    background: var(--mp-bg-soft); border: 1px solid var(--mp-border);
    border-radius: 14px; cursor: pointer;
    transition: background .15s, transform .14s;
}
.mp-mode-card:active { transform: scale(0.985); background: var(--mp-bg-warm); }
.mp-mode-icon { font-size: 28px; }
.mp-mode-text { display: flex; flex-direction: column; gap: 2px; text-align: left; }
.mp-mode-text strong { font-size: 15px; font-weight: 700; }
.mp-mode-text small { color: var(--mp-muted); font-size: 12.5px; }
.mp-table-input { margin-top: 8px; }
.mp-table-input label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--mp-muted); margin-bottom: 6px; }
.mp-input { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--mp-border); font-size: 16px; background: var(--mp-bg-soft); }
.mp-input:focus { outline: 2px solid var(--mp-accent); outline-offset: -1px; }
.mp-error { color: #B54B4B; font-size: 13px; font-weight: 600; margin-top: 8px; }

.mp-cta {
    padding: 14px 18px; border-radius: 12px;
    background: var(--mp-green); color: #fff;
    font-weight: 700; font-size: 15px; border: 0; cursor: pointer;
    transition: transform .14s, opacity .15s;
}
.mp-cta:disabled { opacity: 0.5; cursor: not-allowed; }
.mp-cta:not(:disabled):active { transform: scale(0.98); }
.mp-cta-block { width: 100%; margin-top: 14px; }
.mp-cta--ghost { background: transparent; color: var(--mp-muted); font-size: 13.5px; margin-top: 8px; }

.mp-table-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px;
    margin-top: 12px;
}
.mp-table-chip {
    padding: 14px 8px; border-radius: 12px;
    background: var(--mp-bg-soft); border: 2px solid var(--mp-border);
    font-size: 16px; font-weight: 800; color: var(--mp-text);
    cursor: pointer; text-align: center;
    transition: background .15s, border-color .15s, color .15s, transform .12s;
}
.mp-table-chip:active { transform: scale(0.95); }
.mp-table-chip.is-selected { background: var(--mp-green); border-color: var(--mp-green); color: #fff; }
.mp-table-chip.is-occupied { background: #E5E7EB; border-color: #D1D5DB; color: #9CA3AF; cursor: not-allowed; }


/* ── Sheet detail ── */
.mp-sheet--detail { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.mp-sheet--detail .mp-sheet-close { z-index: 5; top: calc(14px + env(safe-area-inset-top, 0px)); }

.mp-sheet-scroll {
    flex: 1 1 auto; overflow-y: auto; min-height: 0;
    transition: scrollbar-color .3s;
}
.mp-sheet-scroll:hover,
.mp-sheet-scroll:active { scrollbar-color: rgba(0,0,0,.25) transparent; }
.mp-sheet-scroll::-webkit-scrollbar { width: 4px; }
.mp-sheet-scroll::-webkit-scrollbar-track { background: transparent; }
.mp-sheet-scroll::-webkit-scrollbar-thumb { background: transparent; border-radius: 4px; transition: background .3s; }
.mp-sheet-scroll:hover::-webkit-scrollbar-thumb,
.mp-sheet-scroll:active::-webkit-scrollbar-thumb { background: rgba(0,0,0,.25); }

.mp-sheet-img { width: 100%; height: 240px; object-fit: cover; display: block; cursor: zoom-in; }

/* Name + price row */
.mp-sheet-head-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.mp-sheet-head-row h3 { margin: 0; flex: 1; min-width: 0; }
.mp-sheet-head-row .mp-sheet-price { margin: 0; white-space: nowrap; font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }


/* ── Lightbox ── */
.mp-lightbox {
    position: fixed; inset: 0; z-index: 60;
    background: rgba(0,0,0,0.92);
    display: flex; align-items: center; justify-content: center;
    animation: mp-fade-in .2s ease-out;
    padding: env(safe-area-inset-top) 16px env(safe-area-inset-bottom);
}
.mp-lightbox-img {
    max-width: 100%; max-height: 100%; object-fit: contain;
    border-radius: 8px;
}
.mp-lightbox-close {
    position: absolute; top: calc(16px + env(safe-area-inset-top)); right: 16px;
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(0,0,0,0.55); color: #fff; border: 0; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}

.mp-sheet-body {
    padding: 18px 18px 22px;
    padding-bottom: calc(22px + env(safe-area-inset-bottom));
    display: flex; flex-direction: column; gap: 12px;
}
.mp-sheet-body h3 {
    margin: 0;
    font-family: var(--mp-font-serif);
    font-size: 22px; font-weight: 700; letter-spacing: -0.01em;
}
.mp-sheet-desc { margin: 0; font-size: 14.5px; line-height: 1.45; }
.mp-sheet-price { margin: 0; font-size: 22px; font-weight: 800; color: var(--mp-text); font-variant-numeric: tabular-nums; }
.mp-allergen-list { background: var(--mp-bg-soft); padding: 10px 12px; border-radius: 10px; font-size: 12.5px; }
.mp-allergen-list strong { display: block; margin-bottom: 4px; font-weight: 700; }
.mp-allergen { background: #FEF3C7; color: #854D0E; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; margin: 2px 4px 2px 0; display: inline-block; }
.mp-field-label { font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--mp-muted); margin-top: 4px; display: block; }
.mp-textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--mp-border); font-size: 14px; resize: vertical; min-height: 60px; }
.mp-qty-row { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 8px 0; }
.mp-qty-row--inline { padding: 0; gap: 12px; justify-content: flex-start; }
.mp-qty-btn {
    width: 38px; height: 38px; border-radius: 50%;
    background: var(--mp-bg-soft); border: 1px solid var(--mp-border);
    font-size: 19px; font-weight: 700; cursor: pointer; color: var(--mp-text);
}
.mp-qty-val { font-size: 18px; font-weight: 800; min-width: 24px; text-align: center; }


/* ── Sheet cart ── */
.mp-sheet--cart { padding: 20px 18px; }
.mp-sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mp-sheet-head h3 { margin: 0; font-size: 20px; font-weight: 800; }
.mp-cart-empty { text-align: center; padding: 48px 16px; color: var(--mp-muted); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.mp-cart-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 14px; }
.mp-cart-line { display: flex; gap: 10px; align-items: flex-start; }
.mp-cart-thumb { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: var(--mp-bg-soft); flex-shrink: 0; }
.mp-cart-thumb-empty { background: var(--mp-bg-soft); }
.mp-cart-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.mp-cart-name { font-size: 14px; font-weight: 700; }
.mp-cart-note { font-size: 12.5px; color: var(--mp-muted); font-style: italic; }
.mp-cart-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.mp-cart-price { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.mp-cart-remove { background: transparent; border: 0; color: var(--mp-muted); cursor: pointer; padding: 4px; font-size: 18px; }
.mp-cart-table {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 14px; background: var(--mp-bg-soft); border-radius: 10px;
    font-size: 13.5px; font-weight: 600; margin: 10px 0;
}
.mp-link { background: transparent; border: 0; color: var(--mp-accent); font-weight: 700; font-size: 13.5px; cursor: pointer; }
.mp-cart-total-row { display: flex; justify-content: space-between; align-items: baseline; padding-top: 10px; border-top: 1px solid var(--mp-border); font-size: 16px; }
.mp-cart-total-row strong { font-size: 20px; font-variant-numeric: tabular-nums; }


/* ── Confirmation ── */
.mp-sheet--confirm { text-align: center; padding: 32px 24px; padding-bottom: calc(32px + env(safe-area-inset-bottom)); }
.mp-check {
    width: 84px; height: 84px; border-radius: 50%;
    background: #4A7C3F; color: #fff;
    margin: 0 auto 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 44px; font-weight: 900;
    animation: mp-bounce 0.55s cubic-bezier(.34,1.6,.64,1) both;
}
@keyframes mp-bounce { 0% { transform: scale(0); } 100% { transform: scale(1); } }
.mp-sheet--confirm h2 { margin: 0 0 6px; font-size: 22px; font-weight: 800; }
.mp-sheet--confirm p { margin: 0 0 18px; color: var(--mp-muted); }
.mp-confirm-summary {
    background: var(--mp-bg-soft); padding: 14px 16px; border-radius: 12px;
    margin-bottom: 18px; text-align: left;
    display: flex; flex-direction: column; gap: 8px;
}
.mp-confirm-row { display: flex; justify-content: space-between; font-size: 14px; }
.mp-confirm-row span { color: var(--mp-muted); }
.mp-confirmation { /* alias kept for compatibility */ }


/* ═══════════════════════════════════════════════════════════════════
   DESKTOP — centered layout, floating bar
   ═══════════════════════════════════════════════════════════════════ */
@media (min-width: 768px) {
    .mp-hero { height: 280px; min-height: 0; margin: 20px 24px 0; }
    .mp-hero-name { font-size: 44px !important; }
    .mp-grid-section, .mp-dishes-section, .mp-locale-section { max-width: 1100px; margin: 0 auto; }
    .mp-bar {
        left: 50%; transform: translateX(-50%);
        max-width: 720px; border-radius: 999px;
        bottom: 16px; border: 1px solid var(--mp-border-solid);
    }
}

@media (min-width: 1200px) {
    .mp-hero { height: 280px; min-height: 0; margin: 20px 24px 0; }
}


/* ═══════════════════════════════════════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ─── SERVIZI (attività a servizi: barbiere, parrucchiere, ...) ─────────── */
.mp-services {
    padding: 32px 24px 8px;
    max-width: 1200px; margin: 0 auto;
}
.mp-services-layout { display: flex; gap: 40px; align-items: flex-start; }
.mp-services-text {
    flex: 0 0 240px; display: flex; flex-direction: column; gap: 12px; padding-top: 8px;
}
.mp-services-label {
    font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--mp-accent);
}
.mp-services-title {
    margin: 0; font-family: var(--mp-font-serif);
    font-size: 32px; font-weight: 700; line-height: 1.1; color: var(--mp-text);
}
.mp-services-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 14px; flex: 1; min-width: 0;
}
@media (min-width: 960px) { .mp-services-grid { grid-template-columns: 1fr 1fr 1fr; } }

.mp-service-card {
    display: flex; flex-direction: column; overflow: hidden;
    border-radius: var(--mp-radius);
    background: var(--mp-card, #fff);
    box-shadow: var(--mp-shadow-card);
    border: 1px solid rgba(0,0,0,0.05);
}
.mp-service-photo { width: 100%; aspect-ratio: 16/9; overflow: hidden; background: #f1f1f1; }
.mp-service-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mp-service-body { display: flex; flex-direction: column; gap: 8px; padding: 16px; }
.mp-service-name {
    margin: 0; font-family: var(--mp-font-serif);
    font-size: 19px; font-weight: 700; line-height: 1.2; color: var(--mp-text);
}
.mp-service-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.mp-service-tag {
    font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px;
    background: rgba(0,0,0,0.05); color: var(--mp-muted);
}
.mp-service-desc { margin: 0; font-size: 13px; line-height: 1.45; color: var(--mp-muted); }
.mp-service-foot {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 2px;
}
.mp-service-duration { font-size: 13px; font-weight: 600; color: var(--mp-muted); }
.mp-service-price { font-size: 17px; font-weight: 700; color: var(--mp-text); }
.mp-service-video {
    display: inline-flex; align-items: center; gap: 7px; align-self: flex-start;
    margin-top: 4px; padding: 7px 13px; border-radius: 999px;
    background: var(--mp-accent); color: #fff; text-decoration: none;
    font-size: 13px; font-weight: 600;
}
.mp-service-video:hover { filter: brightness(1.05); }

@media (max-width: 767px) {
    .mp-services { padding: 24px 12px 8px; }
    .mp-services-layout { flex-direction: column; gap: 18px; width: 100% !important; }
    .mp-services-text { flex: none; }
    .mp-services-title { font-size: 26px; }
    .mp-services-grid { grid-template-columns: 1fr; }
}

/* ─── IL NOSTRO STAFF (profilo pubblico PV) — in continuità con le altre sezioni ── */
.mp-staff-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 20px 14px;
}
.mp-staff-card {
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px;
}
.mp-staff-avatar {
    width: 104px; height: 104px; border-radius: 50%; overflow: hidden;
    background: linear-gradient(135deg, var(--mp-accent-light), var(--mp-accent-dark));
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 22px rgba(45,51,25,0.16);
    margin-bottom: 10px;
    transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s;
}
.mp-staff-card:hover .mp-staff-avatar {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 14px 30px rgba(45,51,25,0.22);
}
.mp-staff-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mp-staff-initials {
    font-size: 34px; font-weight: 700; color: #fff;
    font-family: var(--mp-font-serif); letter-spacing: 0.01em;
}
.mp-staff-name {
    font-size: 15px; font-weight: 700; color: var(--mp-text); letter-spacing: -0.01em;
}
.mp-staff-role {
    font-size: 12.5px; font-weight: 500; color: var(--mp-muted);
}

@media (max-width: 600px) {
    .mp-staff-grid { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 18px 10px; }
    .mp-staff-avatar { width: 84px; height: 84px; }
    .mp-staff-initials { font-size: 28px; }
}

/* ─── Rating hero + Recensioni + Il nostro lavoro ───────────────────────── */
.mp-hero-rating {
    display: inline-flex; align-items: center; gap: 7px; margin-top: 10px;
    text-decoration: none; color: #fff; font-weight: 600;
}
.mp-hero-rating-star { color: #ffc24b; font-size: 18px; }
.mp-hero-rating-val { font-size: 16px; }
.mp-hero-rating-count { font-size: 14px; opacity: 0.9; font-weight: 500; }

.mp-reviews-list { display: flex; flex-direction: column; gap: 16px; }
.mp-review {
    border: 1px solid var(--mp-border); border-radius: var(--mp-radius);
    padding: 14px 16px; background: var(--mp-bg-white);
}
.mp-review-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mp-review-author { font-weight: 700; color: var(--mp-text); font-size: 15px; }
.mp-review-stars { color: #f5a623; font-size: 14px; letter-spacing: 1px; }
.mp-review-meta { font-size: 12.5px; color: var(--mp-muted); margin-top: 2px; }
.mp-review-comment { font-size: 14px; color: var(--mp-text-light); line-height: 1.5; margin: 8px 0 0; }

.mp-work-gallery {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px;
}
.mp-work-photo { aspect-ratio: 1; border-radius: var(--mp-radius); overflow: hidden; background: #f1f1f1; }
.mp-work-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 600px) {
    .mp-work-gallery { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
}

/* ─── Pagina invio recensione ───────────────────────────────────────────── */
.rv-page { min-height: 100vh; background: var(--mp-bg); display: flex; align-items: flex-start; justify-content: center; padding: 32px 16px; }
.rv-card { width: 100%; max-width: 480px; background: #fff; border-radius: var(--mp-radius-lg); box-shadow: var(--mp-shadow-card); padding: 24px; }
.rv-title { font-family: var(--mp-font-serif); font-size: 24px; font-weight: 700; color: var(--mp-text); margin: 0 0 6px; }
.rv-sub { font-size: 14px; color: var(--mp-muted); margin: 0 0 20px; }
.rv-field { margin-bottom: 18px; }
.rv-label { display: block; font-size: 13px; font-weight: 700; color: var(--mp-text); margin-bottom: 8px; }
.rv-stars { display: flex; gap: 6px; }
.rv-star { font-size: 30px; line-height: 1; background: transparent; border: 0; cursor: pointer; color: #d8d8d8; padding: 0; }
.rv-star.is-on { color: #f5a623; }
.rv-textarea { width: 100%; border: 1.5px solid var(--mp-border-solid); border-radius: 12px; padding: 10px 12px; font-family: inherit; font-size: 14px; resize: vertical; }
.rv-photos { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.rv-photo { position: relative; width: 76px; height: 76px; border-radius: 10px; overflow: hidden; }
.rv-photo img { width: 100%; height: 100%; object-fit: cover; }
.rv-photo-rm { position: absolute; top: 2px; right: 2px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(0,0,0,0.6); color: #fff; font-size: 16px; line-height: 1; cursor: pointer; }
.rv-error { color: #c0392b; font-size: 13px; margin: 0 0 12px; }
.rv-submit { width: 100%; padding: 13px; border: 0; border-radius: 12px; background: var(--mp-accent); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; }
.rv-submit:disabled { opacity: 0.5; cursor: default; }
