/* =========================================================
   Marketplace – stile frontend cliente (v2)
   Ispirazione: layout dei marketplace di delivery (header e hero
   colorati, card con banner + logo, filtri laterali).
   Caricato dopo app.css di Orange.
   ========================================================= */

:root {
    --mp-primary: #f05a28;
    --mp-primary-hover: #d9481a;
    --mp-primary-soft: #ffede5;
    --mp-primary-rgb: 240, 90, 40;
    --mp-ink: #1e1c1a;
    --mp-ink-2: #3a3632;
    --mp-muted: #6b6560;
    --mp-bg: #ffffff;
    --mp-tint: #f6f4f1;
    --mp-line: #ece8e3;
    --mp-forest: #1f4a3a;
    --mp-forest-soft: #e4efe8;
    --mp-saffron: #f6b440;
    --mp-saffron-soft: #fef3dc;
    --mp-sky-soft: #e3eef6;
    --mp-green: #138a4f;
    --mp-radius: 20px;
    --mp-radius-sm: 12px;
    --mp-shadow-sm: 0 1px 2px rgba(30, 28, 26, .06), 0 2px 8px rgba(30, 28, 26, .05);
    --mp-shadow: 0 4px 12px rgba(30, 28, 26, .06), 0 12px 32px rgba(30, 28, 26, .07);
    --mp-shadow-lg: 0 18px 50px rgba(30, 28, 26, .16);
    --mp-font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --bs-primary: var(--mp-primary);
    --bs-primary-rgb: var(--mp-primary-rgb);
    --bs-link-color: var(--mp-primary);
    --bs-link-color-rgb: var(--mp-primary-rgb);
    --bs-link-hover-color: var(--mp-primary-hover);
    --bs-body-font-family: var(--mp-font);
    --bs-body-color: var(--mp-ink);
    --bs-body-bg: var(--mp-bg);
    --bs-border-color: var(--mp-line);
    --bs-border-radius: var(--mp-radius-sm);
}

body {
    font-family: var(--mp-font);
    background: var(--mp-bg);
    color: var(--mp-ink);
    font-size: 1rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--mp-font);
    font-weight: 800;
    letter-spacing: -.025em;
    color: var(--mp-ink);
}

::selection { background: var(--mp-primary); color: #fff; }
:focus-visible { outline: 3px solid rgba(var(--mp-primary-rgb), .45); outline-offset: 2px; }

/* ---------- Elementi comuni ---------- */
.mp-eyebrow {
    display: inline-block;
    font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
    color: var(--mp-primary);
    margin-bottom: .9rem;
}
.mp-eyebrow-light { color: rgba(255, 255, 255, .85); }

.mp-btn {
    display: inline-flex; align-items: center; gap: .6rem;
    padding: .9rem 1.6rem; border-radius: 999px;
    font-weight: 800; text-decoration: none; border: 0;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.mp-btn:hover { transform: translateY(-2px); }
.mp-btn-light { background: #fff; color: var(--mp-ink); box-shadow: 0 8px 20px rgba(0, 0, 0, .15); }
.mp-btn-light:hover { color: var(--mp-ink); box-shadow: 0 12px 26px rgba(0, 0, 0, .2); }

/* Bootstrap globale */
.btn { font-weight: 700; border-radius: 999px; padding-inline: 1.25rem; transition: all .2s ease; }
.btn-primary, .swal-button--confirm {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--mp-primary);
    --bs-btn-border-color: var(--mp-primary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--mp-primary-hover);
    --bs-btn-hover-border-color: var(--mp-primary-hover);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--mp-primary-hover);
    --bs-btn-active-border-color: var(--mp-primary-hover);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--mp-primary);
    --bs-btn-disabled-border-color: var(--mp-primary);
}
.btn-outline-primary {
    --bs-btn-color: var(--mp-primary);
    --bs-btn-border-color: var(--mp-primary);
    --bs-btn-hover-bg: var(--mp-primary);
    --bs-btn-hover-border-color: var(--mp-primary);
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: var(--mp-primary-hover);
    --bs-btn-active-border-color: var(--mp-primary-hover);
}
.text-primary { color: var(--mp-primary) !important; }
.bg-primary { background-color: var(--mp-primary) !important; }
a { color: var(--mp-primary); }
a:hover { color: var(--mp-primary-hover); }

.form-control, .form-select {
    border-radius: var(--mp-radius-sm);
    border-color: var(--mp-line);
    padding: .7rem 1rem;
}
.form-control:focus, .form-select:focus {
    border-color: var(--mp-primary);
    box-shadow: 0 0 0 .25rem rgba(var(--mp-primary-rgb), .15);
}
.form-check-input:checked { background-color: var(--mp-primary); border-color: var(--mp-primary); }
.card { border: 1px solid var(--mp-line); border-radius: var(--mp-radius); box-shadow: var(--mp-shadow-sm); }
.modal-content { border: 0; border-radius: var(--mp-radius); box-shadow: var(--mp-shadow-lg); }
.dropdown-menu { border: 1px solid var(--mp-line); border-radius: var(--mp-radius-sm); box-shadow: var(--mp-shadow); }
.dropdown-item.active, .dropdown-item:active { background: var(--mp-primary); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 1030; }
.mp-navbar {
    background: rgba(255, 255, 255, .94);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--mp-line);
    padding-block: .75rem;
}
.mp-brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.mp-brand .img-logo { height: 42px; }
.mp-brand-mark { width: 40px; height: 40px; flex-shrink: 0; }
.mp-brand-text { font-weight: 900; font-size: 1.35rem; color: var(--mp-ink); letter-spacing: -.035em; }

.mp-navbar .nav-link {
    color: var(--mp-ink) !important;
    font-weight: 700;
    border-radius: 999px;
    padding: .55rem 1.1rem !important;
    transition: background .2s, color .2s;
}
.mp-navbar .nav-link:hover, .mp-navbar .nav-link.active { background: var(--mp-tint); color: var(--mp-ink) !important; }

.mp-address-pill {
    align-items: center; gap: .55rem;
    margin-left: 1.5rem; padding: .5rem 1.1rem;
    background: var(--mp-tint); color: var(--mp-ink);
    border-radius: 999px; font-weight: 700; font-size: .92rem; text-decoration: none;
    max-width: 340px; white-space: nowrap; overflow: hidden;
}
.mp-address-pill i { color: var(--mp-primary); }
.mp-address-pill:hover { color: var(--mp-ink); background: var(--mp-line); }

/* ---------- Hero ---------- */
.mp-hero {
    position: relative;
    background-color: var(--mp-primary);
    background-image:
        radial-gradient(circle at 85% 20%, rgba(255, 255, 255, .14) 0, transparent 40%),
        radial-gradient(circle at 10% 90%, rgba(0, 0, 0, .08) 0, transparent 35%),
        radial-gradient(rgba(255, 255, 255, .12) 1.2px, transparent 1.2px);
    background-size: auto, auto, 22px 22px;
    color: #fff;
    padding: 4.5rem 0 7rem;
    overflow: hidden;
}
.mp-hero-title {
    color: #fff;
    font-size: clamp(2.4rem, 5.2vw, 4.1rem);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -.04em;
    margin-bottom: 1.25rem;
}
.mp-hero-title em {
    font-style: normal;
    display: inline;
    background: linear-gradient(transparent 62%, rgba(246, 180, 64, .9) 62%, rgba(246, 180, 64, .9) 88%, transparent 88%);
    padding-inline: .05em;
}
.mp-hero-subtitle { font-size: 1.22rem; color: rgba(255, 255, 255, .92); margin-bottom: 2rem; max-width: 520px; font-weight: 500; }
.mp-hero-search { max-width: 600px; }
.mp-hero-note { margin: 1.1rem 0 0; color: rgba(255, 255, 255, .9); font-weight: 600; font-size: .95rem; }
.mp-hero-note i { margin-right: .35rem; }
.mp-hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; color: var(--mp-bg); }

/* Illustrazione mappa */
.mp-map { position: relative; max-width: 540px; margin-left: auto; }
.mp-map-svg {
    display: block; width: 100%; height: auto;
    border-radius: 28px;
    border: 8px solid rgba(255, 255, 255, .95);
    box-shadow: 0 30px 70px rgba(80, 20, 0, .35);
    transform: rotate(2deg);
}
.mp-map-route { animation: mpRoute 2.4s linear infinite; }
@keyframes mpRoute { to { stroke-dashoffset: -26; } }
.mp-map-pulse { transform-box: fill-box; transform-origin: center; animation: mpPulse 2.2s ease-out infinite; }
@keyframes mpPulse { 0% { transform: scale(1); opacity: .35; } 100% { transform: scale(2.6); opacity: 0; } }
.mp-map-chip {
    position: absolute;
    display: inline-flex; align-items: center; gap: .7rem;
    background: #fff; color: var(--mp-ink);
    padding: .65rem 1rem .65rem .65rem;
    border-radius: 16px;
    font-weight: 700; font-size: .92rem;
    box-shadow: var(--mp-shadow-lg);
    animation: mpFloat 6s ease-in-out infinite;
}
.mp-map-chip strong { display: block; line-height: 1.2; }
.mp-map-chip small { display: block; color: var(--mp-green); font-weight: 700; font-size: .78rem; }
.mp-map-chip small i { font-size: .45rem; vertical-align: middle; margin-right: .2rem; }
.mp-map-chip-icon {
    width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--mp-primary-soft); color: var(--mp-primary);
}
.mp-map-chip-icon-green { background: var(--mp-forest-soft); color: var(--mp-forest); }
.mp-map-chip-you { left: -28px; bottom: 54px; animation-delay: -2s; }
.mp-map-chip-restaurant { right: -18px; top: 30px; }
.mp-map-chip-time {
    left: 46%; top: 44%;
    padding: .5rem .9rem; border-radius: 999px;
    background: var(--mp-ink); color: #fff; font-size: .85rem;
    animation-delay: -4s;
}
.mp-map-chip-time i { color: var(--mp-saffron); }
@keyframes mpFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Barra di ricerca ---------- */
.mp-search { position: relative; color: var(--mp-ink); }
.mp-search-bar {
    display: flex; align-items: center; gap: .25rem;
    background: #fff;
    border-radius: 999px;
    padding: .4rem .4rem .4rem 1.3rem;
    box-shadow: 0 14px 40px rgba(30, 28, 26, .18);
    border: 2px solid transparent;
    transition: border-color .2s, box-shadow .2s;
}
.mp-search-bar:focus-within { border-color: var(--mp-ink); }
.mp-search-icon { color: var(--mp-primary); font-size: 1.2rem; }
.mp-search-input {
    flex: 1; min-width: 0;
    border: 0; outline: 0; background: transparent;
    font: 600 1.05rem/1.4 var(--mp-font); color: var(--mp-ink);
    padding: .85rem .6rem;
}
.mp-search-input::placeholder { color: #9b948d; font-weight: 500; }
.mp-search-locate {
    border: 0; background: transparent; color: var(--mp-muted);
    width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
    transition: background .2s, color .2s;
}
.mp-search-locate:hover { background: var(--mp-tint); color: var(--mp-ink); }
.mp-search-submit {
    border: 0; border-radius: 999px; flex-shrink: 0;
    background: var(--mp-primary); color: #fff;
    font: 800 1rem/1 var(--mp-font);
    padding: 1.05rem 1.7rem; min-width: 56px;
    transition: background .2s, transform .2s;
}
.mp-search-submit:hover { background: var(--mp-primary-hover); }
.mp-hero .mp-search-submit { background: var(--mp-ink); }
.mp-hero .mp-search-submit:hover { background: #000; }
.mp-search-submit:disabled { opacity: .8; }
.mp-search-suggestions {
    position: absolute; left: 0; right: 0; top: calc(100% + .6rem); z-index: 20;
    background: #fff; border-radius: 18px; overflow: hidden;
    box-shadow: var(--mp-shadow-lg); text-align: left;
}
.mp-search-suggestions .autocomplete-suggestions { margin: 0 !important; border: 0 !important; }
.mp-search-suggestions .list-group-item { border-color: var(--mp-line); padding: .85rem 1.25rem; }
.mp-search-suggestions .list-group-item:hover { background: var(--mp-tint); }
.mp-search-suggestions .fw-bold { font-weight: 700 !important; }
.mp-search-suggestions > .border { border: 0 !important; border-top: 1px solid var(--mp-line) !important; color: var(--mp-muted); }
.mp-search-error:not(:empty) {
    display: inline-flex; align-items: center; gap: .5rem; margin-top: .9rem;
    background: #fff; color: #b42318; font-weight: 700;
    padding: .6rem 1.1rem; border-radius: 999px; box-shadow: var(--mp-shadow);
}
.mp-search-saved { margin-top: 1rem; text-align: left; }
.mp-hero .mp-search-saved p { color: rgba(255, 255, 255, .9); }

/* ---------- Vantaggi ---------- */
.mp-features { padding: 3.5rem 0 1rem; }
.mp-features-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mp-feature {
    display: flex; gap: 1rem; align-items: flex-start;
    padding: 1.5rem;
    border-radius: var(--mp-radius);
    background: var(--mp-tint);
}
.mp-feature h3 { font-size: 1.08rem; margin: .15rem 0 .35rem; }
.mp-feature p { color: var(--mp-muted); margin: 0; font-size: .96rem; line-height: 1.55; }
.mp-feature-icon {
    width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: #fff; color: var(--mp-primary); font-size: 1.15rem;
    box-shadow: var(--mp-shadow-sm);
}

/* ---------- Sezioni ---------- */
.mp-section { padding: 5rem 0; }
.mp-section-tint { background: var(--mp-tint); }
.mp-section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.mp-section-head h2, .mp-faq-title { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 900; margin: 0; }
.mp-section-head-row { text-align: left; max-width: none; margin-bottom: 2rem; }

/* Come funziona */
.mp-steps {
    list-style: none; padding: 0; margin: 0;
    display: grid; gap: 1.5rem; grid-template-columns: repeat(3, minmax(0, 1fr));
    position: relative;
}
.mp-steps::before {
    content: ""; position: absolute; top: 44px; left: 16%; right: 16%;
    border-top: 2px dashed #d8d1c8; z-index: 0;
}
.mp-step { position: relative; z-index: 1; text-align: center; padding: 0 1rem; }
.mp-step-icon {
    position: relative; width: 88px; height: 88px; margin: 0 auto 1.4rem;
    border-radius: 50%; background: #fff; color: var(--mp-primary);
    display: flex; align-items: center; justify-content: center; font-size: 1.9rem;
    box-shadow: var(--mp-shadow); border: 6px solid var(--mp-tint);
}
.mp-step-icon b {
    position: absolute; top: -4px; right: -4px;
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--mp-ink); color: #fff; font-size: .85rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
}
.mp-step h3 { font-size: 1.25rem; margin-bottom: .45rem; }
.mp-step p { color: var(--mp-muted); margin: 0 auto; max-width: 280px; }

/* FAQ */
.mp-faq { display: flex; flex-direction: column; gap: .75rem; }
.mp-faq-item {
    background: var(--mp-tint); border-radius: 16px;
    padding: 0 1.4rem; transition: background .2s;
}
.mp-faq-item[open] { background: #fff; box-shadow: var(--mp-shadow); }
.mp-faq-item summary {
    list-style: none; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    padding: 1.2rem 0; font-weight: 800; font-size: 1.08rem;
}
.mp-faq-item summary::-webkit-details-marker { display: none; }
.mp-faq-item summary i {
    width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: #fff; font-size: .8rem; transition: transform .25s, background .2s, color .2s;
}
.mp-faq-item[open] summary i { transform: rotate(180deg); background: var(--mp-primary); color: #fff; }
.mp-faq-item p { color: var(--mp-muted); margin: 0; padding-bottom: 1.3rem; line-height: 1.65; }

/* CTA ristoratori */
.mp-cta {
    position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: space-between; gap: 2rem;
    border-radius: 32px;
    padding: clamp(2.5rem, 6vw, 4.5rem);
    color: #fff;
    background:
        radial-gradient(circle at 100% 0, rgba(255, 255, 255, .08) 0, transparent 45%),
        var(--mp-forest);
}
.mp-cta-content { max-width: 560px; position: relative; z-index: 1; }
.mp-cta h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 900; }
.mp-cta p { font-size: 1.1rem; color: rgba(255, 255, 255, .85); margin-bottom: 2rem; line-height: 1.6; }
.mp-cta-art { width: 280px; height: 280px; flex-shrink: 0; }

/* ---------- Card ristorante ---------- */
.mp-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.mp-grid-2 { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.mp-card {
    position: relative;
    display: flex; flex-direction: column;
    background: #fff;
    border-radius: var(--mp-radius);
    overflow: hidden;
    text-decoration: none; color: var(--mp-ink);
    border: 1px solid var(--mp-line);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.mp-card:hover { transform: translateY(-4px); box-shadow: var(--mp-shadow); border-color: transparent; color: var(--mp-ink); }
.mp-card-banner {
    position: relative; aspect-ratio: 16 / 7; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    background-image: radial-gradient(rgba(0, 0, 0, .07) 1.2px, transparent 1.2px);
    background-size: 14px 14px;
}
.mp-card-banner-tomato { background-color: var(--mp-primary-soft); color: rgba(var(--mp-primary-rgb), .28); }
.mp-card-banner-saffron { background-color: var(--mp-saffron-soft); color: rgba(196, 128, 10, .28); }
.mp-card-banner-forest { background-color: var(--mp-forest-soft); color: rgba(31, 74, 58, .25); }
.mp-card-banner-sky { background-color: var(--mp-sky-soft); color: rgba(30, 90, 140, .25); }
.mp-card-banner-icon { font-size: 3.2rem; transform: rotate(-12deg) translateX(30%); }
.mp-card-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mp-card:hover .mp-card-banner img { transform: scale(1.05); }
.mp-badge {
    position: absolute; top: 12px; right: 12px;
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .35rem .75rem; border-radius: 999px;
    font-size: .78rem; font-weight: 800;
    background: #fff; color: var(--mp-ink);
    box-shadow: var(--mp-shadow-sm);
}
.mp-badge-open i { color: var(--mp-green); font-size: .5rem; }
.mp-badge-soon i { color: #c4800a; }
.mp-badge-closed { background: var(--mp-ink); color: #fff; }
.mp-card-logo {
    position: relative; z-index: 2;
    width: 72px; height: 72px; margin: -36px 0 0 1.25rem;
    border-radius: 18px; overflow: hidden;
    background: #fff; border: 4px solid #fff;
    box-shadow: var(--mp-shadow);
    display: flex; align-items: center; justify-content: center;
}
.mp-card-logo img { width: 100%; height: 100%; object-fit: contain; }
.mp-monogram {
    width: 100%; height: 100%; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; font-weight: 900; color: #fff;
}
.mp-monogram-tomato { background: var(--mp-primary); }
.mp-monogram-saffron { background: #d99216; }
.mp-monogram-forest { background: var(--mp-forest); }
.mp-monogram-sky { background: #2f6f9f; }
.mp-card-body { padding: .8rem 1.25rem 1.3rem; display: flex; flex-direction: column; gap: .35rem; }
.mp-card-title { font-size: 1.18rem; font-weight: 800; margin: 0; line-height: 1.25; }
.mp-card-sub { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .75rem; color: var(--mp-muted); font-size: .92rem; font-weight: 600; }
.mp-rating { color: var(--mp-ink); font-weight: 800; }
.mp-rating i { color: var(--mp-saffron); }
.mp-rating small { color: var(--mp-muted); font-weight: 600; }
.mp-card-meta { display: flex; flex-wrap: wrap; gap: .4rem .9rem; margin-top: .45rem; padding-top: .8rem; border-top: 1px solid var(--mp-line); }
.mp-card-meta span { font-size: .88rem; font-weight: 700; color: var(--mp-ink-2); }
.mp-card-meta i { color: var(--mp-muted); margin-right: .3rem; }

/* ---------- Pagina risultati ---------- */
.mp-results { padding: 2rem 0 5rem; background: var(--mp-tint); min-height: 70vh; }
.mp-results-bar { max-width: 760px; margin: 0 auto 2.5rem; }
.mp-results-bar .mp-search-bar { box-shadow: var(--mp-shadow); }
.mp-results-head { margin-bottom: 1.5rem; }
.mp-results-title { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 900; margin-bottom: .3rem; }
.mp-results-address { color: var(--mp-muted); margin: 0; font-weight: 600; }
.mp-results-address i { color: var(--mp-primary); margin-right: .3rem; }

.mp-filters {
    position: sticky; top: 96px;
    background: #fff; border-radius: var(--mp-radius);
    padding: 1.4rem; border: 1px solid var(--mp-line);
}
.mp-filter-group + .mp-filter-group { margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1px solid var(--mp-line); }
.mp-filter-label { font-weight: 800; margin-bottom: .8rem; }
.mp-segmented { display: flex; flex-direction: column; gap: .5rem; }
.mp-segmented button {
    display: flex; align-items: center; gap: .6rem;
    width: 100%; padding: .75rem 1rem; border-radius: 14px;
    background: var(--mp-tint); border: 2px solid transparent;
    font: 700 .97rem var(--mp-font); color: var(--mp-ink); text-align: left;
    transition: border-color .2s, background .2s;
}
.mp-segmented button i { width: 18px; color: var(--mp-muted); }
.mp-segmented button.active { background: #fff; border-color: var(--mp-ink); }
.mp-segmented button.active i { color: var(--mp-primary); }
.mp-count {
    margin-left: auto; min-width: 26px; padding: .1rem .5rem; border-radius: 999px;
    background: #fff; font-size: .8rem; text-align: center; color: var(--mp-muted);
}
.mp-segmented button.active .mp-count { background: var(--mp-ink); color: #fff; }

.mp-switch { display: flex; align-items: center; gap: .8rem; cursor: pointer; font-weight: 700; margin: 0; position: relative; }
.mp-switch input { position: absolute; opacity: 0; pointer-events: none; }
.mp-switch-track {
    position: relative; width: 46px; height: 26px; border-radius: 999px;
    background: #d6d0c9; transition: background .2s; flex-shrink: 0;
}
.mp-switch-track span {
    position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%;
    background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s;
}
.mp-switch input:checked + .mp-switch-track { background: var(--mp-green); }
.mp-switch input:checked + .mp-switch-track span { transform: translateX(20px); }
.mp-switch input:focus-visible + .mp-switch-track { outline: 3px solid rgba(var(--mp-primary-rgb), .45); outline-offset: 2px; }

.mp-radio { display: flex; align-items: center; gap: .7rem; padding: .35rem 0; cursor: pointer; font-weight: 600; margin: 0; }
.mp-radio input { width: 20px; height: 20px; accent-color: var(--mp-ink); margin: 0; }

.mp-loading { opacity: .5; pointer-events: none; transition: opacity .2s; }

.mp-empty {
    text-align: center; max-width: 540px; margin: 1rem auto;
    background: #fff; border-radius: var(--mp-radius); padding: 3rem 2rem;
    border: 1px solid var(--mp-line);
}
.mp-empty-inline { max-width: none; margin: 0; }
.mp-empty p { color: var(--mp-muted); margin: 0; }
.mp-empty-icon {
    width: 80px; height: 80px; margin: 0 auto 1.25rem; border-radius: 50%;
    background: var(--mp-primary-soft); color: var(--mp-primary);
    display: flex; align-items: center; justify-content: center; font-size: 2rem;
}

/* ---------- Pagine ristorante / menu (Orange) ---------- */
.panel-local h1 { font-weight: 900; }
.local-control { border-radius: var(--mp-radius) !important; border-color: var(--mp-line) !important; background: #fff; }
.menu-group-item, .menu-item { border-radius: var(--mp-radius-sm); }
#page-wrapper .bg-white.border, #page-wrapper .bg-white.rounded.border { border-color: var(--mp-line) !important; border-radius: var(--mp-radius) !important; }

/* ---------- Footer ---------- */
.footer { background: var(--mp-ink) !important; }
.mp-footer { padding: 4.5rem 0 2rem; color: rgba(255, 255, 255, .7); }
.mp-footer .mp-brand { margin-bottom: 1rem; }
.mp-footer .mp-brand-text { color: #fff; }
.mp-footer-tagline { max-width: 360px; line-height: 1.7; }
.mp-footer-subtitle { color: #fff; font-weight: 800; margin-bottom: .9rem; }
.mp-footer-links { list-style: none; padding: 0; margin: 0; }
.mp-footer-links li { margin-bottom: .6rem; }
.mp-footer a { color: rgba(255, 255, 255, .7); text-decoration: none; transition: color .2s; }
.mp-footer a:hover { color: #fff; }
.mp-footer-social a {
    display: inline-flex; width: 40px; height: 40px; margin-right: .4rem;
    align-items: center; justify-content: center; border-radius: 50%;
    background: rgba(255, 255, 255, .08);
}
.mp-footer-social a:hover { background: var(--mp-primary); color: #fff; }
.mp-footer-bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem;
    margin-top: 3.5rem; padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .1); font-size: .9rem;
}
.mp-footer-bottom i { color: var(--mp-primary); }

/* ---------- Banner cookie ---------- */
#euCookieBanner > div {
    left: 1rem !important; right: 1rem !important; bottom: 1rem !important;
    max-width: 680px; margin-inline: auto;
    background: var(--mp-ink) !important; color: #fff !important;
    border-radius: 18px; box-shadow: var(--mp-shadow-lg);
    padding: 1rem .25rem !important;
}
#euCookieBanner .d-flex { gap: 1rem; }
#euCookieBanner #eu-cookie-message { font-size: .92rem; line-height: 1.5; color: rgba(255, 255, 255, .85); }
#euCookieBanner #eu-cookie-message a { color: #fff; font-weight: 700; text-decoration: underline; }
#euCookieBanner #eu-cookie-action { background: #fff; border-color: #fff; color: var(--mp-ink); flex-shrink: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .mp-features-grid, .mp-steps { grid-template-columns: 1fr; }
    .mp-steps::before { display: none; }
    .mp-cta { flex-direction: column; align-items: flex-start; }
    .mp-cta-art { display: none; }
    .mp-filters { position: static; }
    .mp-segmented { flex-direction: row; }
    .mp-navbar .navbar-collapse { padding-top: .75rem; }
    .mp-hero { padding: 3rem 0 6rem; }
}
@media (max-width: 575.98px) {
    .mp-hero-subtitle { font-size: 1.05rem; }
    .mp-search-bar { padding-left: 1rem; }
    .mp-search-input { font-size: 1rem; padding-inline: .4rem; }
    .mp-search-submit { padding: .95rem 1.1rem; }
    .mp-search-locate { width: 38px; }
    .mp-section { padding: 3.5rem 0; }
    .mp-segmented { flex-direction: column; }
    .mp-grid, .mp-grid-2 { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .mp-map-route, .mp-map-pulse, .mp-map-chip { animation: none; }
    .mp-card, .mp-card-banner img, .mp-btn { transition: none; }
}

/* Pulsante posizione: rotellina mentre il GPS cerca */
.mp-search-locate.disabled { pointer-events: none; color: var(--mp-primary); }
.mp-search-locate.disabled i::before { content: "\f110"; }
.mp-search-locate.disabled i { animation: mpSpin 1s linear infinite; }
@keyframes mpSpin { to { transform: rotate(360deg); } }

/* =========================================================
   Pagina ristorante (menu, carrello, prenotazione, checkout)
   Struttura ispirata a Lieferando: testata con logo, selettore
   Lieferung/Abholung, categorie fisse, piatti in lista, carrello fisso.
   ========================================================= */
.mp-rpage { background: #fff; padding: 1.25rem 0 0; }
.mp-back {
    display: inline-flex; align-items: center; gap: .5rem;
    font-weight: 700; color: var(--mp-ink); text-decoration: none;
    padding: .45rem .9rem .45rem .7rem; border-radius: 999px; margin-bottom: 1rem;
    transition: background .2s;
}
.mp-back:hover { background: var(--mp-tint); color: var(--mp-ink); }

/* Testata */
.mp-rhead { position: relative; }
.mp-rhead-banner {
    position: relative; height: 200px; border-radius: 24px; overflow: hidden;
    display: flex; align-items: center; justify-content: flex-end; padding-right: 8%;
    background-image: radial-gradient(rgba(0, 0, 0, .07) 1.3px, transparent 1.3px);
    background-size: 16px 16px;
}
.mp-rhead-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mp-rhead-banner-icon { font-size: 6rem; transform: rotate(-12deg); }
.mp-rhead-body {
    display: flex; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap;
    padding: 0 1.5rem 1.5rem; margin-top: -56px; position: relative;
}
.mp-rhead-logo {
    width: 124px; height: 124px; flex-shrink: 0;
    border-radius: 28px; overflow: hidden; background: #fff;
    border: 6px solid #fff; box-shadow: var(--mp-shadow);
    display: flex; align-items: center; justify-content: center;
}
.mp-rhead-logo img { width: 100%; height: 100%; object-fit: contain; }
.mp-rhead-logo .mp-monogram { font-size: 3rem; border-radius: 20px; }
.mp-rhead-info { flex: 1; min-width: 260px; padding-bottom: .25rem; }
.mp-rhead-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 900; margin: 0 0 .55rem; letter-spacing: -.035em; }
.mp-rhead-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.1rem; font-weight: 600; color: var(--mp-muted); }
.mp-rhead-meta a { text-decoration: none; cursor: pointer; }
.mp-rhead-address i, .mp-rhead-link i { margin-right: .25rem; }
.mp-rhead-link { color: var(--mp-ink); font-weight: 700; }
.mp-rhead-link:hover { color: var(--mp-primary); }
.mp-rhead-rating { color: var(--mp-ink); font-weight: 800; }
.mp-rhead-rating i { color: var(--mp-saffron); }
.mp-rhead-rating small { color: var(--mp-muted); font-weight: 600; }
.mp-status {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .3rem .8rem; border-radius: 999px; font-weight: 800; font-size: .88rem;
}
.mp-status-open { background: #e3f4ea; color: var(--mp-green); }
.mp-status-open i { font-size: .5rem; }
.mp-status-soon { background: var(--mp-saffron-soft); color: #9a6205; }
.mp-status-closed { background: var(--mp-ink); color: #fff; }
.mp-rhead-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; padding-bottom: .25rem; }
.mp-pill-btn {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .7rem 1.15rem; border-radius: 999px;
    background: var(--mp-tint); color: var(--mp-ink);
    font-weight: 700; text-decoration: none; white-space: nowrap;
    transition: background .2s;
}
.mp-pill-btn:hover { background: var(--mp-line); color: var(--mp-ink); }
.mp-pill-btn i { color: var(--mp-primary); }

/* Selettore Lieferung / Abholung + info */
.mp-ordertype { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.mp-ordertype-switch { display: inline-flex; background: var(--mp-tint); border-radius: 999px; padding: .3rem; }
.mp-ordertype-switch button {
    border: 0; background: transparent; color: var(--mp-muted);
    font: 800 .95rem var(--mp-font); padding: .55rem 1.1rem; border-radius: 999px;
    display: inline-flex; align-items: center; gap: .45rem; transition: background .2s, color .2s;
}
.mp-ordertype-switch button.active { background: #fff; color: var(--mp-ink); box-shadow: var(--mp-shadow-sm); }
.mp-ordertype-switch button.active i { color: var(--mp-primary); }
.mp-ordertype-single {
    display: inline-flex; align-items: center; gap: .45rem; font-weight: 800;
    padding: .6rem 1.1rem; border-radius: 999px; background: var(--mp-tint);
}
.mp-ordertype-single i { color: var(--mp-primary); }
.mp-ordertype-info { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-weight: 700; color: var(--mp-ink-2); font-size: .95rem; }
.mp-ordertype-info i { color: var(--mp-muted); margin-right: .25rem; }

/* Barra categorie (scorrimento orizzontale, si evidenzia scorrendo) */
.mp-catbar {
    top: 73px; z-index: 1020;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--mp-line);
}
.mp-catbar:not(:has(.nav-item)) { display: none; }
.mp-catnav #navbar-categories { gap: .4rem; padding-block: .75rem; overflow-x: auto; scrollbar-width: none; }
.mp-catnav #navbar-categories::-webkit-scrollbar { display: none; }
.mp-catnav .nav-link {
    border-radius: 999px; padding: .5rem 1.05rem;
    background: transparent; color: var(--mp-ink); font-weight: 700; white-space: nowrap;
    transition: background .2s, color .2s;
}
.mp-catnav .nav-link:hover { background: var(--mp-tint); color: var(--mp-ink); }
.mp-catnav .nav-link.active { background: var(--mp-ink); color: #fff; }

/* Contenuto */
.mp-rpage-content { background: var(--mp-tint); padding: 1.75rem 0 5rem; min-height: 60vh; }
.mp-rpage-content #menu-search .input-group {
    border: 0 !important; border-radius: 999px !important; background: #fff !important;
    box-shadow: var(--mp-shadow-sm); padding: .35rem .7rem;
}
.mp-rpage-content #menu-search .input-group > div,
.mp-rpage-content #menu-search .form-control { background: transparent !important; }
.mp-rpage-content #menu-search .form-control { font-weight: 600; font-size: 1rem; }
.mp-rpage-content .menu-search { padding-bottom: .5rem !important; }

/* Sezioni del menu */
.mp-menu-section { scroll-margin-top: 150px; padding-top: 1.25rem; }
.mp-menu-section-head { margin: .75rem 0 1rem; }
.mp-menu-section-head h2 { font-size: 1.6rem; font-weight: 900; margin: 0; }
.mp-menu-section-head p { color: var(--mp-muted); margin: .35rem 0 0; }
.mp-menu-section-img { width: 100%; max-height: 180px; object-fit: cover; border-radius: 18px; margin-bottom: 1rem; }
.mp-menu-items { display: flex; flex-direction: column; gap: .75rem; }

/* Riga piatto */
.mp-dish {
    position: relative;
    display: flex; gap: 1.25rem; align-items: stretch;
    background: #fff; border-radius: 18px; padding: 1.15rem 1.25rem;
    border: 1.5px solid transparent; box-shadow: var(--mp-shadow-sm);
    transition: border-color .2s, box-shadow .2s;
}
.mp-dish.is-available { cursor: pointer; }
.mp-dish.is-available:hover { border-color: var(--mp-ink); box-shadow: var(--mp-shadow); }
.mp-dish.is-available:focus-visible { border-color: var(--mp-primary); }
.mp-dish.is-unavailable { opacity: .6; cursor: not-allowed; }
.mp-dish-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .3rem; }
.mp-dish-name { font-size: 1.08rem; font-weight: 800; margin: 0; line-height: 1.3; }
.mp-dish-desc {
    color: var(--mp-muted); font-size: .93rem; line-height: 1.5; margin: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mp-dish-hint { color: var(--mp-muted); font-size: .85rem; margin: 0; font-style: italic; }
.mp-dish-price { margin-top: auto; padding-top: .4rem; font-weight: 800; font-size: 1.05rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.mp-dish-price s { color: var(--mp-muted); font-weight: 600; font-size: .9rem; }
.mp-tag {
    display: inline-flex; align-items: center; gap: .3rem;
    font-size: .75rem; font-weight: 800; padding: .2rem .55rem; border-radius: 999px;
}
.mp-tag-deal { background: var(--mp-primary-soft); color: var(--mp-primary-hover); }
.mp-dish-unavailable { color: #b42318; font-weight: 700; }
.mp-dish-side { position: relative; flex-shrink: 0; display: flex; align-items: flex-end; }
.mp-dish-thumb { width: 116px; height: 116px; border-radius: 14px; overflow: hidden; }
.mp-dish-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mp-dish-add {
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: #fff; color: var(--mp-ink); border: 1.5px solid var(--mp-line);
    box-shadow: var(--mp-shadow-sm); transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.mp-dish-thumb + .mp-dish-add { position: absolute; right: -8px; bottom: -8px; border-color: #fff; }
.mp-dish.is-available:hover .mp-dish-add { background: var(--mp-primary); border-color: var(--mp-primary); color: #fff; transform: scale(1.06); }

/* Carrello */
.mp-cart-sticky { position: sticky; top: 150px; }
.mp-cart {
    background: #fff; border-radius: 22px; padding: 1.5rem;
    box-shadow: var(--mp-shadow);
}
.mp-cart-head { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.1rem; }
.mp-cart-head h5 { font-weight: 900; font-size: 1.3rem; margin: 0; }
.mp-cart-count {
    min-width: 26px; height: 26px; padding: 0 .45rem; border-radius: 999px;
    background: var(--mp-primary); color: #fff; font-weight: 800; font-size: .82rem;
    display: inline-flex; align-items: center; justify-content: center;
}
.mp-cart-empty { text-align: center; padding: 1.25rem .5rem 1rem; }
.mp-cart-empty-icon {
    width: 76px; height: 76px; margin: 0 auto 1rem; border-radius: 50%;
    background: var(--mp-primary-soft); color: var(--mp-primary);
    display: flex; align-items: center; justify-content: center; font-size: 1.9rem;
}
.mp-cart-empty strong { display: block; font-size: 1.1rem; margin-bottom: .3rem; }
.mp-cart-empty p { color: var(--mp-muted); margin: 0; font-size: .95rem; }
.mp-cart-items ul { display: flex; flex-direction: column; }
.mp-cart-item { display: flex; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--mp-line); }
.mp-cart-item:first-child { padding-top: 0; }
.mp-cart-item-main { flex: 1; min-width: 0; }
.mp-cart-item-name {
    display: block; border: 0; background: none; padding: 0; text-align: left;
    font: 800 1rem/1.3 var(--mp-font); color: var(--mp-ink);
}
button.mp-cart-item-name:hover { color: var(--mp-primary); text-decoration: underline; }
.mp-cart-item-main ul, .mp-cart-item-main .list-unstyled { margin: .25rem 0 0; color: var(--mp-muted); font-size: .85rem; }
.mp-cart-item-comment { margin: .35rem 0 0; font-size: .82rem; color: var(--mp-muted); font-style: italic; }
.mp-cart-item-side { display: flex; flex-direction: column; align-items: flex-end; gap: .55rem; flex-shrink: 0; }
.mp-cart-item-price { font-weight: 800; white-space: nowrap; }
.mp-cart-item-price s { color: var(--mp-muted); font-weight: 600; margin-right: .3rem; }
.mp-stepper { display: inline-flex; align-items: center; gap: .15rem; background: var(--mp-tint); border-radius: 999px; padding: .2rem; }
.mp-stepper button {
    width: 30px; height: 30px; border-radius: 50%; border: 0;
    background: #fff; color: var(--mp-ink); font-size: .78rem; box-shadow: var(--mp-shadow-sm);
}
.mp-stepper button:hover { background: var(--mp-ink); color: #fff; }
.mp-stepper span { min-width: 22px; text-align: center; font-weight: 800; font-size: .92rem; }
#cart-box .input-group .form-control { border-radius: 999px 0 0 999px; }
#cart-box .input-group .btn { border-radius: 0 999px 999px 0; }
#cart-totals { margin-top: 1rem !important; }
#cart-totals .table { --bs-table-bg: transparent; }
#cart-totals td { padding: .3rem 0; color: var(--mp-ink-2); }
#cart-totals tr.fw-bold td { font-size: 1.1rem; font-weight: 900; color: var(--mp-ink); padding-top: .6rem; border-top: 1px solid var(--mp-line); }
.mp-minorder { margin-bottom: .9rem; }
.mp-minorder-bar { height: 6px; border-radius: 999px; background: var(--mp-tint); overflow: hidden; margin-bottom: .45rem; }
.mp-minorder-bar span { display: block; height: 100%; background: var(--mp-saffron); border-radius: inherit; transition: width .3s; }
.mp-minorder small { font-weight: 700; color: var(--mp-ink-2); }
.mp-minorder.is-reached .mp-minorder-bar span { background: var(--mp-green); }
.mp-minorder.is-reached small { color: var(--mp-green); }
.mp-cart-note { color: var(--mp-muted); text-align: center; font-size: .9rem; margin-bottom: .75rem; }
#cart-buttons .checkout-btn { width: 100%; padding-block: .9rem; font-weight: 800; border-radius: 999px; }
#cart-buttons .checkout-btn.btn-secondary { background: var(--mp-line); border-color: var(--mp-line); color: var(--mp-muted); opacity: 1; }

/* Barra carrello su mobile */
.mp-mobile-cart {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1035;
    padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(transparent, rgba(255, 255, 255, .95) 30%);
}
.mp-mobile-cart-btn {
    display: flex; align-items: center; gap: .75rem;
    padding: .9rem 1.2rem; border-radius: 999px;
    background: var(--mp-primary); color: #fff; text-decoration: none; font-weight: 800;
    box-shadow: 0 10px 24px rgba(var(--mp-primary-rgb), .35);
}
.mp-mobile-cart-btn:hover { color: #fff; background: var(--mp-primary-hover); }
.mp-mobile-cart-btn strong { margin-left: auto; }
/* Con la barra carrello visibile il fondo del footer non resta coperto */
@media (max-width: 991.98px) {
    body:has(.mp-mobile-cart:not([hidden])) .mp-footer { padding-bottom: 6rem; }
}
.mp-mobile-cart-count {
    min-width: 28px; height: 28px; border-radius: 999px; padding: 0 .45rem;
    background: #fff; color: var(--mp-primary); display: inline-flex; align-items: center; justify-content: center;
}

/* Offcanvas info / recensioni */
.offcanvas { border: 0 !important; }
.offcanvas-header { border-bottom: 1px solid var(--mp-line); }
.offcanvas-title { font-weight: 900; }

/* Prenotazione */
.mp-booking .card, .mp-booking .bg-white.border {
    border: 0 !important; border-radius: 22px !important; box-shadow: var(--mp-shadow) !important;
}

/* Finestra piatto (aggiungi al carrello) */
.modal-header { padding: 1.25rem 1.5rem .5rem; }
.modal-title { font-weight: 900; font-size: 1.4rem; }
.modal-body { padding: .5rem 1.5rem 1rem; }
.modal-top img { max-height: 280px; object-fit: cover; }
.menu-option { margin-bottom: 1.25rem !important; }
.menu-option .option-details { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem .75rem; background: var(--mp-tint); border-radius: 12px; padding: .7rem 1rem; margin-bottom: .35rem; }
.menu-option .option-details h5 { font-size: 1.02rem; font-weight: 800; margin: 0; display: flex; align-items: center; gap: .6rem; width: 100%; justify-content: space-between; }
.menu-option .option-details h5 .text-muted {
    font-size: .72rem !important; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
    background: var(--mp-ink); color: #fff !important; padding: .2rem .55rem; border-radius: 999px;
}
.menu-option .option-details p { margin: 0; font-size: .85rem; color: var(--mp-muted); }
.menu-option .form-check {
    display: flex; align-items: center; gap: .6rem;
    padding: .75rem .25rem !important; margin: 0; border-bottom: 1px solid var(--mp-line);
}
.menu-option .form-check:last-child { border-bottom: 0; }
.menu-option .form-check-input { float: none; margin: 0; width: 1.25rem; height: 1.25rem; flex-shrink: 0; cursor: pointer; }
.menu-option .form-check-label { cursor: pointer; font-weight: 600; padding-left: .25rem !important; }
.menu-option .form-check-label .float-end { color: var(--mp-muted); font-weight: 600 !important; }
.menu-comment textarea { border-radius: 14px; }
.mp-modal-footer {
    display: flex; flex-wrap: nowrap; align-items: center; gap: 1rem;
    padding: 1rem 1.5rem 1.5rem; border-top: 1px solid var(--mp-line) !important;
}
.mp-modal-footer > * { margin: 0; }
.mp-qty { display: flex; align-items: center; gap: .25rem; background: var(--mp-tint); border-radius: 999px; padding: .3rem; flex-shrink: 0; }
.mp-qty button {
    width: 40px; height: 40px; border-radius: 50%; border: 0;
    background: #fff; color: var(--mp-ink); box-shadow: var(--mp-shadow-sm);
}
.mp-qty button:hover { background: var(--mp-ink); color: #fff; }
.mp-qty input { width: 36px; border: 0; background: transparent; text-align: center; font-weight: 800; font-size: 1.05rem; outline: 0; }
.mp-modal-submit {
    flex: 1; min-width: 0;
    display: flex; align-items: center; justify-content: space-between; gap: .75rem;
    border: 0; border-radius: 999px; padding: .85rem 1rem .85rem 1.4rem;
    background: var(--mp-primary); color: #fff; font-weight: 800; font-size: 1rem;
    transition: background .2s;
}
.mp-modal-submit:hover { background: var(--mp-primary-hover); }
.mp-modal-submit > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-modal-total { flex-shrink: 0; background: rgba(0, 0, 0, .14); border-radius: 999px; padding: .3rem .75rem; font-size: .92rem; }

/* Checkout */
.mp-checkout-page { background: var(--mp-tint); padding-bottom: 4rem; }
.mp-checkout-page h1 { font-weight: 900; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.mp-checkout-page .col-lg-8.bg-white,
.mp-checkout-page .col.col-lg-8.bg-white { border: 0 !important; border-radius: 22px !important; box-shadow: var(--mp-shadow); }
.mp-checkout-page .card, .mp-checkout-page #cart-box { border: 0 !important; border-radius: 22px !important; box-shadow: var(--mp-shadow) !important; }
.mp-checkout-page .form-floating > .form-control, .mp-checkout-page .form-control { border-radius: 14px; }
.mp-checkout-page .form-check-input[type="radio"] { width: 1.2rem; height: 1.2rem; }
.mp-checkout-page .btn-primary { padding-block: .9rem; font-weight: 800; }

@media (max-width: 991.98px) {
    .mp-rhead-banner { height: 140px; border-radius: 18px; }
    .mp-rhead-body { padding: 0 .5rem 1.25rem; margin-top: -44px; gap: 1rem; }
    .mp-rhead-logo { width: 96px; height: 96px; border-radius: 22px; }
    .mp-rhead-info { min-width: 100%; }
    .mp-catbar { top: 65px; }
    .mp-rpage-content { padding-bottom: 7rem; }
}
@media (max-width: 575.98px) {
    .mp-rhead-banner-icon { font-size: 4rem; }
    .mp-dish { padding: 1rem; gap: .9rem; }
    .mp-dish-thumb { width: 92px; height: 92px; }
    .mp-modal-footer { flex-wrap: wrap; }
    .mp-qty { margin-inline: auto; }
    .mp-modal-submit { flex-basis: 100%; }
}

/* =========================================================
   Componenti comuni aggiuntivi
   ========================================================= */
.mp-btn-primary { background: var(--mp-primary); color: #fff; box-shadow: 0 8px 18px rgba(var(--mp-primary-rgb), .3); }
.mp-btn-primary:hover { background: var(--mp-primary-hover); color: #fff; }
.mp-btn-ghost { background: var(--mp-tint); color: var(--mp-ink); }
.mp-btn-ghost:hover { background: var(--mp-line); color: var(--mp-ink); }
.mp-panel { background: #fff; border-radius: 22px; padding: 1.5rem; box-shadow: var(--mp-shadow-sm); margin-bottom: 1.25rem; }
.mp-panel-title { font-size: 1.2rem; font-weight: 900; margin: 0 0 1rem; }
.mp-panel .card-body { padding: 0; }

/* Conferma ordine */
.mp-success-hero {
    text-align: center; background: #fff; border-radius: 28px;
    padding: 2.75rem 1.5rem 2rem; box-shadow: var(--mp-shadow); margin-bottom: 1.5rem;
}
.mp-success-check {
    width: 84px; height: 84px; margin: 0 auto 1.25rem; border-radius: 50%;
    background: var(--mp-green); color: #fff; font-size: 2.2rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 0 10px #e3f4ea; animation: mpPop .5s cubic-bezier(.2, 1.4, .4, 1) both;
}
@keyframes mpPop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.mp-success-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; margin-bottom: .5rem; }
.mp-success-lead { color: var(--mp-muted); font-size: 1.08rem; max-width: 560px; margin: 0 auto 1.25rem; }
.mp-success-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 1.75rem; }
.mp-success-meta span { background: var(--mp-tint); border-radius: 999px; padding: .4rem .9rem; font-weight: 700; font-size: .92rem; }
.mp-success-meta i { color: var(--mp-primary); margin-right: .3rem; }
.mp-progress {
    list-style: none; padding: 0; margin: 0 auto 1rem; max-width: 520px;
    display: grid; grid-template-columns: repeat(3, 1fr); position: relative;
}
.mp-progress::before { content: ""; position: absolute; top: 11px; left: 16.6%; right: 16.6%; height: 3px; background: var(--mp-line); }
.mp-progress li { position: relative; display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.mp-progress-dot { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--mp-line); position: relative; z-index: 1; }
.mp-progress li.is-done .mp-progress-dot { background: var(--mp-green); border-color: var(--mp-green); }
.mp-progress li.is-current .mp-progress-dot { border-color: var(--mp-primary); box-shadow: 0 0 0 6px rgba(var(--mp-primary-rgb), .15); animation: mpPulseDot 1.6s ease-in-out infinite; }
@keyframes mpPulseDot { 50% { box-shadow: 0 0 0 10px rgba(var(--mp-primary-rgb), .05); } }
.mp-progress-label { font-weight: 700; font-size: .88rem; color: var(--mp-muted); }
.mp-progress li.is-done .mp-progress-label, .mp-progress li.is-current .mp-progress-label { color: var(--mp-ink); }
.mp-success-status { color: var(--mp-muted); margin-bottom: 1.5rem; }
.mp-success-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.mp-success .cart-items li { padding: .7rem 0; border-bottom: 1px solid var(--mp-line); }
.mp-success .cart-items .price { float: right; font-weight: 800; }
.mp-success .cart-items .name { font-weight: 800 !important; }
.mp-success .cart-items ul ul { color: var(--mp-muted); }
.mp-success .cart-totals td { padding: .3rem 0 !important; }
.mp-success .cart-totals .lead { font-size: 1.1rem; font-weight: 900 !important; }
.mp-success .cart-totals .text-right { text-align: right; }
.mp-success .mp-panel > h6.text-muted:first-of-type { display: none; }
.mp-detail { padding: .8rem 0; border-bottom: 1px solid var(--mp-line); }
.mp-detail:first-child { padding-top: 0; }
.mp-detail:last-child { border-bottom: 0; padding-bottom: 0; }
.mp-detail > span { display: block; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--mp-muted); margin-bottom: .2rem; }

/* Intestazione e corpo pagine interne (Kontakt, Über uns, AGB…) */
.mp-pagehead { background: #fff; border-bottom: 1px solid var(--mp-line); padding: 3rem 0 2.5rem; }
.mp-pagehead h1 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 900; margin: 0; }
.mp-pagehead p { color: var(--mp-muted); font-size: 1.12rem; margin: .6rem 0 0; max-width: 620px; }
.mp-pagebody { background: var(--mp-tint); padding: 2.5rem 0 5rem; }
.mp-contact-item { display: flex; gap: .9rem; align-items: flex-start; padding: .9rem 0; border-bottom: 1px solid var(--mp-line); }
.mp-contact-item:first-child { padding-top: 0; }
.mp-contact-item:last-child { border-bottom: 0; padding-bottom: 0; }
.mp-contact-item small { display: block; font-weight: 800; color: var(--mp-ink); margin-bottom: .15rem; }
.mp-contact-item span, .mp-contact-item a { color: var(--mp-muted); font-size: .95rem; }
.mp-contact-item a { color: var(--mp-primary); font-weight: 700; word-break: break-all; }
.mp-contact-icon {
    width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--mp-primary-soft); color: var(--mp-primary);
}
.mp-contact-form .form-group { margin-bottom: 1rem; }
.mp-contact-form .form-floating > .form-control, .mp-contact-form .form-floating > .form-select { border-radius: 14px; }
.mp-contact-form .btn-primary { padding: .85rem 2rem; }
.mp-sidenav { padding: .75rem; }
.mp-sidenav-list { list-style: none; margin: 0; padding: 0; }
.mp-sidenav-list a {
    display: flex; align-items: center; justify-content: space-between;
    padding: .75rem 1rem; border-radius: 14px; color: var(--mp-ink); font-weight: 700; text-decoration: none;
}
.mp-sidenav-list a i { font-size: .75rem; color: var(--mp-muted); }
.mp-sidenav-list a:hover { background: var(--mp-tint); }
.mp-sidenav-list a.active { background: var(--mp-ink); color: #fff; }
.mp-sidenav-list a.active i { color: #fff; }
.mp-prose { padding: clamp(1.5rem, 4vw, 2.75rem); font-size: 1.03rem; line-height: 1.75; color: var(--mp-ink-2); }
.mp-prose h2, .mp-prose h3, .mp-prose h4 { margin: 1.75rem 0 .75rem; color: var(--mp-ink); }
.mp-prose h2:first-child, .mp-prose h3:first-child { margin-top: 0; }
.mp-prose p:last-child { margin-bottom: 0; }
.mp-prose a { font-weight: 700; }

/* Menu mobile (pannello laterale) */
.mp-menu-toggle, .mp-menu-close {
    width: 44px; height: 44px; border-radius: 50%; border: 0;
    background: var(--mp-tint); color: var(--mp-ink); font-size: 1.15rem;
    display: inline-flex; align-items: center; justify-content: center;
}
.mp-menu-toggle { margin-left: auto; }
.mp-mobile-menu { width: min(360px, 88vw) !important; border-radius: 24px 0 0 24px; }
.mp-mobile-menu .offcanvas-header { padding: 1.1rem 1.25rem; border-bottom: 0; gap: 1rem; }
.mp-mobile-menu .offcanvas-header .mp-brand-text { font-size: 1.15rem; }
.mp-mobile-menu .mp-menu-close { flex-shrink: 0; }
.mp-mobile-menu .offcanvas-body { padding: .5rem 1.25rem 1.5rem; display: flex; flex-direction: column; }
.mp-mobile-address {
    display: flex; align-items: center; gap: .8rem;
    background: var(--mp-tint); border-radius: 18px; padding: .85rem 1rem;
    color: var(--mp-ink); text-decoration: none; margin-bottom: 1.25rem;
}
.mp-mobile-address small { display: block; color: var(--mp-muted); font-weight: 700; font-size: .78rem; }
.mp-mobile-address strong { font-weight: 800; font-size: .95rem; }
.mp-mobile-links { list-style: none; margin: 0; padding: 0; }
.mp-mobile-links a {
    display: flex; align-items: center; gap: .9rem;
    padding: .95rem .5rem; border-bottom: 1px solid var(--mp-line);
    color: var(--mp-ink); font-weight: 800; font-size: 1.08rem; text-decoration: none;
}
.mp-mobile-links a i { width: 22px; color: var(--mp-primary); }
.mp-mobile-menu-foot { margin-top: auto; padding-top: 1.5rem; display: flex; gap: 1.25rem; }
.mp-mobile-menu-foot a { color: var(--mp-muted); font-weight: 700; text-decoration: none; font-size: .92rem; }

/* Filtri lista: ricerca, interruttori, reset */
.mp-filter-search { position: relative; }
.mp-filter-search i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--mp-muted); }
.mp-filter-search input {
    width: 100%; border: 0; background: var(--mp-tint); border-radius: 999px;
    padding: .75rem 1rem .75rem 2.6rem; font: 600 .95rem var(--mp-font); color: var(--mp-ink); outline: 0;
}
.mp-filter-search input:focus { box-shadow: 0 0 0 2px var(--mp-ink); background: #fff; }
.mp-switches { display: flex; flex-direction: column; gap: .9rem; }
.mp-switches .mp-switch { justify-content: space-between; }
.mp-filter-reset {
    margin-top: 1.25rem; width: 100%; border: 0; background: none;
    color: var(--mp-primary); font: 800 .92rem var(--mp-font); padding: .5rem;
}
.mp-filter-reset:hover { text-decoration: underline; }

/* Preferiti e badge "Neu" sulle card */
.mp-fav {
    position: absolute; top: 12px; left: 12px; z-index: 3;
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: #fff; color: var(--mp-ink); box-shadow: var(--mp-shadow-sm);
    transition: transform .15s, color .15s;
}
.mp-fav:hover { transform: scale(1.1); }
.mp-fav.is-fav { color: #e0245e; }
.mp-badge-new {
    position: absolute; left: 56px; top: 16px; z-index: 2;
    background: var(--mp-saffron); color: var(--mp-ink);
    font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .05em;
    padding: .25rem .6rem; border-radius: 999px;
}

@media (max-width: 991.98px) {
    .mp-pagehead { padding: 2rem 0 1.75rem; }
    .mp-mobile-cart ~ * {}
}

/* =========================================================
   Account: pulsante header, login/registrazione, area cliente
   ========================================================= */
.mp-account-btn {
    display: inline-flex; align-items: center; gap: .55rem;
    border: 0; background: var(--mp-tint); color: var(--mp-ink);
    border-radius: 999px; padding: .4rem .9rem .4rem .45rem;
    font-weight: 800; text-decoration: none; transition: background .2s;
}
.mp-account-btn:hover { background: var(--mp-line); color: var(--mp-ink); }
.mp-account-btn .fa-chevron-down { font-size: .7rem; color: var(--mp-muted); }
.mp-account-login { padding: .55rem 1.1rem; }
.mp-account-login i { font-size: 1.05rem; }
.d-lg-none > .mp-account-login, .d-lg-none .mp-account-btn { width: 44px; height: 44px; padding: 0; justify-content: center; }
.d-lg-none .mp-account-btn .mp-avatar { width: 34px; height: 34px; }
.mp-avatar {
    width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--mp-primary); color: #fff; font-weight: 900; font-size: .9rem;
}
.mp-account-name { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-account-menu { min-width: 260px; padding: .5rem; border-radius: 18px !important; }
.mp-account-menu-head { padding: .6rem .8rem .8rem; border-bottom: 1px solid var(--mp-line); margin-bottom: .35rem; }
.mp-account-menu-head strong, .mp-account-menu-head small { display: block; }
.mp-account-menu-head small { color: var(--mp-muted); overflow: hidden; text-overflow: ellipsis; }
.mp-account-menu .dropdown-item { border-radius: 12px; padding: .6rem .8rem; font-weight: 700; display: flex; align-items: center; gap: .7rem; }
.mp-account-menu .dropdown-item i { width: 18px; color: var(--mp-muted); }
.mp-account-menu .dropdown-item:hover { background: var(--mp-tint); color: var(--mp-ink); }
.mp-mobile-account { margin-top: 1.5rem; }
.mp-mobile-account-head { display: flex; align-items: center; gap: .8rem; margin-bottom: .5rem; }
.mp-mobile-account-head small { display: block; color: var(--mp-muted); font-weight: 700; }
.mp-btn-block { width: 100%; justify-content: center; padding-block: 1rem; }

/* Pagine di accesso */
.mp-auth {
    background:
        radial-gradient(circle at 15% 20%, rgba(var(--mp-primary-rgb), .08) 0, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(31, 74, 58, .07) 0, transparent 40%),
        var(--mp-tint);
    padding: 3.5rem 1rem 5rem; min-height: 70vh;
}
.mp-auth-card {
    max-width: 440px; margin: 0 auto; background: #fff; border-radius: 28px;
    padding: 2.25rem 2rem; box-shadow: var(--mp-shadow);
}
.mp-auth-card-wide { max-width: 560px; }
.mp-auth-head { text-align: center; margin-bottom: 1.75rem; }
.mp-auth-head .mp-brand-mark { width: 52px; height: 52px; margin-bottom: 1rem; }
.mp-auth-head h1 { font-size: 1.75rem; font-weight: 900; margin: 0 0 .4rem; }
.mp-auth-head p { color: var(--mp-muted); margin: 0; }
.mp-auth-icon {
    width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 50%;
    background: var(--mp-primary-soft); color: var(--mp-primary);
    display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
}
.mp-social { display: flex; flex-direction: column; gap: .6rem; }
.mp-social-btn {
    display: flex; align-items: center; justify-content: center; gap: .7rem;
    padding: .85rem 1rem; border-radius: 999px; border: 1.5px solid var(--mp-line);
    background: #fff; color: var(--mp-ink); font-weight: 800; text-decoration: none;
    transition: border-color .2s, background .2s;
}
.mp-social-btn:hover { border-color: var(--mp-ink); color: var(--mp-ink); }
.mp-social-btn i { font-size: 1.15rem; }
.mp-social-google i { color: #ea4335; }
.mp-social-facebook { background: #1877f2; border-color: #1877f2; color: #fff; }
.mp-social-facebook:hover { background: #166fe5; color: #fff; }
.mp-social-sign-in-with-apple { background: #000; border-color: #000; color: #fff; }
.mp-social-sign-in-with-apple:hover { background: #222; color: #fff; }
.mp-auth-divider { display: flex; align-items: center; gap: 1rem; margin: 1.5rem 0; color: var(--mp-muted); font-size: .88rem; font-weight: 700; }
.mp-auth-divider::before, .mp-auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--mp-line); }
.mp-auth-form .form-floating > .form-control,
.mp-auth-form .form-floating > .form-select { border-radius: 14px; border-color: var(--mp-line); }
.mp-auth-form .form-group, .mp-auth-form .form-row { margin-bottom: 1rem; }
.mp-auth-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.mp-auth-form .form-row > [class*="col-"] { width: auto; padding: 0; }
.mp-auth-form .form-check { display: flex; gap: .6rem; align-items: flex-start; padding-left: 0; }
.mp-auth-form .form-check-input { float: none; margin: .2rem 0 0; flex-shrink: 0; }
.mp-auth-form .form-check-label { font-size: .92rem; color: var(--mp-ink-2); }
.mp-auth-form .form-floating { position: relative; }
.mp-pass-toggle {
    position: absolute; right: .6rem; top: 50%; transform: translateY(-50%);
    width: 40px; height: 40px; border: 0; background: transparent; color: var(--mp-muted); border-radius: 50%;
}
.mp-pass-toggle:hover { background: var(--mp-tint); }
.mp-auth-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: .75rem 0 1.25rem; font-size: .92rem; }
.mp-auth-row a { font-weight: 700; }
.mp-check { display: inline-flex; align-items: center; gap: .5rem; cursor: pointer; margin: 0; font-weight: 600; }
.mp-check input { width: 18px; height: 18px; accent-color: var(--mp-primary); }
.mp-auth-switch { text-align: center; margin: 1.5rem 0 0; color: var(--mp-muted); }
.mp-auth-switch a { font-weight: 800; }

/* Checkout: invito al login */
.mp-checkout-login {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
    background: #fff; border-radius: 18px; padding: 1rem 1.25rem; box-shadow: var(--mp-shadow-sm);
}
.mp-checkout-login strong { display: block; }
.mp-checkout-login span { color: var(--mp-muted); font-size: .92rem; }
.mp-checkout-user { display: flex; align-items: center; gap: .7rem; font-weight: 600; }

/* Area cliente */
.mp-account-content .card { border: 0; border-radius: 22px; box-shadow: var(--mp-shadow-sm); margin-bottom: 1.25rem; }
.mp-account-content .card-body { padding: 1.5rem; }
.mp-account-content .table { --bs-table-bg: transparent; }
.mp-account-content .table th { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--mp-muted); border-bottom-color: var(--mp-line); }
.mp-account-content .table td { vertical-align: middle; border-color: var(--mp-line); }
.mp-sidenav-list a span i { width: 18px; color: var(--mp-muted); }
.mp-sidenav-list a.active span i { color: #fff; }

@media (max-width: 575.98px) {
    .mp-auth-card { padding: 1.75rem 1.25rem; border-radius: 22px; }
    .mp-auth-form .form-row { grid-template-columns: 1fr; }
}
.mp-auth-form .form-row { margin-inline: 0 !important; }

/* ---------- Allergeni e additivi (scheda piatto e finestra piatto) ---------- */
.mp-allergens { margin-top: .5rem; font-size: .84rem; color: var(--mp-muted); cursor: default; }
.mp-allergens summary {
    list-style: none; cursor: pointer; display: inline-flex; flex-wrap: wrap; align-items: center; gap: .15rem .5rem;
}
.mp-allergens summary::-webkit-details-marker { display: none; }
.mp-allergens summary i { color: var(--mp-primary); }
.mp-allergens-title { font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.mp-allergens-body {
    margin-top: .5rem; padding: .75rem .9rem; border-radius: var(--mp-radius-sm);
    background: var(--mp-tint); color: var(--mp-ink);
}
.mp-allergens-body strong { display: block; font-size: .82rem; text-transform: uppercase; letter-spacing: .03em; color: var(--mp-muted); }
.mp-allergens-body ul { list-style: none; padding: 0; margin: .3rem 0 .6rem; }
.mp-allergens-body li { padding: .1rem 0; }
.mp-allergens-body li b { display: inline-block; min-width: 1.8rem; color: var(--mp-primary); }
.mp-allergens-body small { display: block; color: var(--mp-muted); }

/* ---------- Pannello "Mehr Infos" del ristorante ---------- */
.mp-info-canvas .offcanvas-body { background: var(--mp-tint); }
.mp-info-section { margin-bottom: 1.5rem; }
.mp-info-section h5, .mp-info-canvas .offcanvas-body h5 { font-size: 1rem; font-weight: 800; margin-bottom: .6rem; }
.mp-info-section h5 i, .mp-info-canvas .offcanvas-body h5 i { color: var(--mp-primary); }
.mp-info-box, .mp-info-canvas .offcanvas-body .bg-white.border {
    background: #fff; border: 0 !important; border-radius: var(--mp-radius-sm) !important;
    padding: 1rem 1.1rem; box-shadow: var(--mp-shadow-sm);
}
.mp-info-box hr { margin: .75rem 0; border-color: var(--mp-line); opacity: 1; }
.mp-info-box a { color: var(--mp-ink); }
.mp-info-link { font-weight: 700; color: var(--mp-primary) !important; text-decoration: none; }
.mp-info-text { color: var(--mp-ink-2, var(--mp-ink)); line-height: 1.6; }
.mp-info-impressum .mp-info-box { font-size: .9rem; }

/* ---------- Pagina "Restaurant anmelden" ---------- */
.mp-partner-head { background: var(--mp-primary); border-bottom: 0; color: #fff; padding: 4rem 0 3.5rem; }
.mp-partner-head h1 { color: #fff; }
.mp-partner-head p { color: rgba(255, 255, 255, .92); }
.mp-partner-cta { margin-top: 1.5rem; font-weight: 800; border-radius: 999px; padding: .8rem 1.6rem; color: var(--mp-primary); }
.mp-partner-form { padding: 2rem; }
.mp-partner-services { display: flex; flex-wrap: wrap; gap: .5rem; }
.mp-partner-service {
    cursor: pointer; padding: .55rem 1rem; border-radius: 999px; font-weight: 700;
    border: 1px solid var(--mp-line); background: #fff; transition: all .15s;
}
.mp-partner-service.is-active { background: var(--mp-primary); border-color: var(--mp-primary); color: #fff; }
.mp-partner-submit { width: 100%; padding: .9rem; font-weight: 800; border-radius: 999px; }
.mp-partner-form .form-check-label a { color: var(--mp-primary); }
.mp-partner-sent { text-align: center; padding: 2rem 0; }
.mp-partner-sent-icon { font-size: 3rem; color: var(--mp-green, #1f9d55); display: block; margin-bottom: 1rem; }
@media (max-width: 767.98px) {
    .mp-partner-head { padding: 2.5rem 0 2.25rem; }
    .mp-partner-form { padding: 1.25rem; }
}
