/* Site public MD — identité restaurant or / noir */
body.md-site {
    --md-bg: #0b0b0b;
    --md-bg-2: #141414;
    --md-card: #171717;
    --md-gold: #d4af37;
    --md-gold-2: #f0d78c;
    --md-text: #ffffff;
    --md-muted: #efe6d4;
    --md-line: rgba(212, 175, 55, 0.22);
    background: var(--md-bg);
    color: var(--md-text);
}

body.md-site .site-header {
    background: rgba(11, 11, 11, 0.82);
    border-bottom: 1px solid var(--md-line);
    box-shadow: none;
}

body.md-site .brand-text strong,
body.md-site .nav-links a,
body.md-site .nav-dropdown-toggle {
    color: var(--md-text);
}

body.md-site .brand small,
body.md-site .nav-links a {
    color: var(--md-muted);
}

body.md-site .nav-links a.active,
body.md-site .nav-links a:hover,
body.md-site .nav-dropdown-toggle:hover,
body.md-site .nav-dropdown-toggle.active {
    color: var(--md-gold);
}

body.md-site .brand-logo {
    border-color: var(--md-gold);
    background: #000;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
}

body.md-site .nav-toggle {
    background: var(--md-card);
    color: var(--md-gold);
}

body.md-site .nav-dropdown-menu {
    background: #111;
    border-color: var(--md-line);
}

body.md-site .btn-primary {
    background: linear-gradient(180deg, #e4c56a, var(--md-gold));
    color: #1a1406 !important;
    box-shadow: 0 12px 28px rgba(212, 175, 55, 0.22);
}

body.md-site .btn-primary:hover {
    background: var(--md-gold-2);
}

body.md-site .btn-outline {
    background: transparent;
    border-color: var(--md-line);
    color: var(--md-text);
}

body.md-site .btn-outline:hover {
    border-color: var(--md-gold);
    color: var(--md-gold);
}

body.md-site .flash-zone {
    background: transparent;
}

.md-hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 80px;
    background:
        radial-gradient(ellipse 70% 80% at 80% 10%, rgba(212, 175, 55, 0.16), transparent 55%),
        linear-gradient(180deg, #101010 0%, #0b0b0b 100%);
}

.md-hero-glow {
    position: absolute;
    inset: auto -10% -20% auto;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.18), transparent 70%);
    pointer-events: none;
}

.md-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
}

.md-kicker {
    display: inline-flex;
    padding: 7px 12px;
    border: 1px solid var(--md-line);
    border-radius: 999px;
    color: var(--md-gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.md-hero-copy h1 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(40px, 7vw, 72px);
    line-height: 0.98;
    letter-spacing: -0.03em;
    margin: 18px 0 16px;
}

.md-hero-copy p {
    color: var(--md-muted);
    font-size: 18px;
    max-width: 540px;
}

.md-hero-actions,
.md-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.md-hero-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 36px;
}

.md-hero-meta div {
    padding: 14px 12px;
    border: 1px solid var(--md-line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
}

.md-hero-meta strong {
    display: block;
    font-size: 18px;
}

.md-hero-meta span {
    color: var(--md-muted);
    font-size: 13px;
}

.md-hero-panel {
    padding: 28px 26px;
    border: 1px solid var(--md-line);
    border-radius: 28px;
    background: linear-gradient(180deg, #1a1a1a, #111);
    text-align: center;
}

.md-hero-logo {
    width: 132px;
    height: 132px;
    border-radius: 50%;
    object-fit: contain;
    background: #000;
    border: 2px solid var(--md-gold);
}

.md-hero-claim {
    margin: 16px 0 10px;
    color: var(--md-gold);
    font-weight: 800;
    letter-spacing: 0.04em;
}

.md-hero-panel ul {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    color: var(--md-muted);
    text-align: left;
}

.md-hero-panel li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.md-whatsapp {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    padding: 12px;
    border-radius: 999px;
    background: #25d366;
    color: #06210d !important;
    font-weight: 800;
}

.md-section { padding: 72px 0; }

.md-section-alt {
    background: var(--md-bg-2);
    border-top: 1px solid var(--md-line);
    border-bottom: 1px solid var(--md-line);
}

.md-heading { margin-bottom: 28px; }

.md-heading h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(28px, 4vw, 42px);
    margin: 12px 0 8px;
}

.md-heading p { color: var(--md-muted); margin: 0; }

.md-cat-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.md-cat-card {
    display: grid;
    gap: 6px;
    padding: 22px 16px;
    border-radius: 20px;
    border: 1px solid var(--md-line);
    background: var(--md-card);
    min-height: 110px;
}

.md-cat-card:hover {
    border-color: var(--md-gold);
    transform: translateY(-2px);
}

.md-cat-name { font-weight: 800; font-size: 18px; }
.md-cat-count { color: var(--md-muted); font-size: 13px; }

.md-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.md-menu-item {
    display: grid;
    gap: 8px;
    padding: 10px 10px 14px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: #121212;
}

.md-menu-photo {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 14px;
    background: #1a1408;
}

body.md-site .product-card {
    background: #121212;
    border: 1px solid rgba(255,255,255,.08);
    color: var(--md-text);
}

body.md-site .product-card-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 14px;
}

.md-menu-item-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: baseline;
}

.md-menu-item-top span {
    color: var(--md-gold);
    font-weight: 800;
    white-space: nowrap;
}

.md-menu-item small { color: var(--md-muted); }

.md-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.md-steps article {
    padding: 24px;
    border-radius: 22px;
    background: #101010;
    border: 1px solid var(--md-line);
}

.md-steps span {
    color: var(--md-gold);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 28px;
}

.md-steps h3 { margin: 10px 0 8px; }
.md-steps p { color: var(--md-muted); margin: 0; }

.md-info-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.md-info-card {
    padding: 24px;
    border-radius: 22px;
    background: var(--md-card);
    border: 1px solid var(--md-line);
}

.md-info-card p { color: var(--md-muted); margin: 8px 0 0; }

.md-week {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.md-day {
    padding: 18px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: #121212;
}

.md-day.is-today {
    border-color: var(--md-gold);
    box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.25);
}

.md-day header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.md-day h3 {
    margin: 0;
    font-size: 18px;
}

.md-day header span {
    color: #1a1406;
    background: var(--md-gold);
    border-radius: 999px;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 800;
}

.md-day-block + .md-day-block { margin-top: 12px; }

.md-day-block strong {
    display: block;
    color: var(--md-gold);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.md-day-block ul {
    margin: 0;
    padding-left: 16px;
    color: var(--md-muted);
}

.md-drinks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.md-drinks span {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--md-line);
    background: #101010;
    font-weight: 700;
}

body.md-site .site-footer {
    background: #080808;
    border-top: 1px solid var(--md-line);
    color: var(--md-muted);
}

body.md-site .site-footer strong { color: var(--md-text); }

body.md-site .auth-section { padding: 48px 0 80px; }

body.md-site .auth-card {
    background: #121212;
    border: 1px solid var(--md-line);
    color: var(--md-text);
    box-shadow: none;
}

body.md-site .auth-card h1 {
    font-family: "Playfair Display", Georgia, serif;
}

body.md-site .auth-card .muted,
body.md-site .auth-card p {
    color: var(--md-muted);
}

body.md-site input,
body.md-site select,
body.md-site textarea {
    background: #fff8e8;
    color: #111;
    border: 1px solid #d4af37;
    font-size: 17px;
    font-weight: 700;
}

body.md-site .brand-text strong {
    max-width: none;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    font-size: 17px;
    font-weight: 800;
    color: #fff;
}

body.md-site .brand small {
    color: #f0d78c;
    font-size: 12px;
    font-weight: 700;
}

body.md-site .nav-links a {
    color: #fff !important;
    font-size: 15px;
    font-weight: 800;
}

body.md-site h1,
body.md-site .section h1 {
    color: #fff;
    font-weight: 800;
}

body.md-site .section p,
body.md-site .panel p,
body.md-site .muted,
body.md-site label,
body.md-site legend {
    color: #f3ead7 !important;
    font-size: 16px;
    font-weight: 600;
}

body.md-site .panel {
    background: #161616;
    border: 1px solid rgba(212, 175, 55, 0.28);
    color: #fff;
}

body.md-site .product-category h3 {
    color: #f0d78c;
    font-size: 22px;
    font-weight: 800;
}

body.md-site .product-grid-cards {
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 14px;
}

body.md-site .product-card {
    background: #222;
    border: 1px solid #c9a227;
    color: #fff;
    padding: 12px;
}

body.md-site .product-card-info strong {
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.3;
}

body.md-site .product-card-info small {
    color: #f0d78c;
    font-size: 15px;
    font-weight: 800;
}

body.md-site .product-qty-btn {
    background: #f0d78c;
    color: #1a1406;
    border-color: #d4af37;
    font-size: 24px;
}

body.md-site .product-card-qty {
    background: #fff8e8 !important;
    color: #111 !important;
    border: 2px solid #d4af37;
    font-size: 20px;
    font-weight: 900;
}

body.md-site .md-day-block ul,
body.md-site .md-day-block li {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

body.md-site .md-day h3 {
    color: #fff;
    font-size: 20px;
}

.md-hero-qr {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--md-line);
}

.md-hero-qr img {
    width: 148px;
    height: 148px;
    border-radius: 16px;
    background: #fff;
    padding: 8px;
}

.md-hero-qr strong {
    display: block;
    margin-top: 10px;
    color: var(--md-gold);
}

.md-hero-qr span {
    display: block;
    color: var(--md-muted);
    font-size: 13px;
}

.qr-order-print {
    display: grid;
    gap: 28px;
    padding-bottom: 40px;
}

.qr-order-poster {
    background: #fff;
    color: #111;
    border: 1px solid #ddd;
    border-radius: 20px;
    text-align: center;
    padding: 24px 18px;
}

.qr-order-poster-main .qr-order-image {
    width: 240px;
    height: 240px;
    background: #fff;
}

.qr-order-logo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: contain;
    background: #000;
}

.qr-order-tables {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
}

.qr-order-poster-table img {
    width: 140px;
    height: 140px;
    background: #fff;
}

.qr-order-poster-table span {
    display: block;
    font-weight: 800;
    font-size: 20px;
    margin-bottom: 8px;
}

@media print {
    .site-header, .site-footer, .flash-zone, .no-print { display: none !important; }
    body { background: #fff !important; }
    .qr-order-poster { break-inside: avoid; box-shadow: none; }
    .qr-order-poster-main { page-break-after: always; }
}

@media (max-width: 1100px) {
    .md-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .md-hero-grid,
    .md-cat-grid,
    .md-steps,
    .md-info-grid,
    .md-hero-meta {
        grid-template-columns: 1fr;
    }

    .md-menu-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .md-menu-photo {
        height: 78px;
    }

    .md-hero { padding: 36px 0 48px; }
}

@media (max-width: 760px) {
    body.md-site {
        font-size: 18px;
        line-height: 1.5;
        -webkit-text-size-adjust: 100%;
    }

    body.md-site .brand-text strong {
        font-size: 16px;
        line-height: 1.25;
        letter-spacing: 0;
    }

    body.md-site .brand small {
        font-size: 13px;
    }

    body.md-site .nav-links a,
    body.md-site .nav-dropdown-toggle {
        font-size: 18px !important;
        padding: 12px 0;
    }

    .md-kicker {
        font-size: 13px;
        letter-spacing: 0.04em;
    }

    .md-hero-copy h1,
    body.md-site h1,
    body.md-site .section h1 {
        font-family: "Plus Jakarta Sans", Arial, sans-serif !important;
        font-size: 30px !important;
        line-height: 1.2 !important;
        letter-spacing: 0 !important;
        font-weight: 800;
    }

    .md-hero-copy p,
    body.md-site .section p,
    body.md-site .panel p,
    body.md-site .muted,
    body.md-site label,
    body.md-site legend,
    body.md-site .md-heading p,
    body.md-site .md-steps p,
    body.md-site .md-info-card p {
        color: #fff !important;
        font-size: 18px !important;
        line-height: 1.45;
        font-weight: 600;
    }

    .md-heading h2,
    body.md-site h2,
    body.md-site .product-category h3 {
        font-family: "Plus Jakarta Sans", Arial, sans-serif !important;
        font-size: 24px !important;
        line-height: 1.25;
        color: #fff;
        font-weight: 800;
    }

    .md-hero-meta strong {
        font-size: 20px;
        color: #fff;
    }

    .md-hero-meta span {
        font-size: 15px;
        color: #f0d78c;
        font-weight: 700;
    }

    .md-day h3 {
        font-size: 22px !important;
    }

    body.md-site .md-day-block ul,
    body.md-site .md-day-block li,
    .md-menu-item,
    .md-menu-item small,
    .md-cat-name,
    .md-cat-count {
        font-size: 17px !important;
        color: #fff !important;
        line-height: 1.4;
    }

    body.md-site .product-picker-tools {
        position: sticky;
        top: 62px;
        z-index: 15;
        margin: 0 -8px 12px;
        padding: 8px;
        background: #111;
        border-bottom: 1px solid rgba(212, 175, 55, 0.22);
    }

    body.md-site .product-category {
        margin-top: 10px;
    }

    body.md-site .product-category h3 {
        margin-bottom: 8px;
        font-size: 18px !important;
    }

    body.md-site .product-grid-cards {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    body.md-site .product-card {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 8px;
        padding: 8px;
    }

    body.md-site .product-card-tap {
        grid-template-columns: 56px minmax(0, 1fr);
        align-items: center;
        gap: 10px;
    }

    body.md-site .product-card-image {
        width: 56px;
        height: 56px;
        aspect-ratio: 1;
        border-radius: 10px;
    }

    body.md-site .product-card-info strong {
        font-size: 15px;
        line-height: 1.25;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    body.md-site .product-card-info small {
        font-size: 14px;
    }

    body.md-site .product-card-qty-row {
        grid-template-columns: 36px 40px 36px;
        gap: 4px;
    }

    body.md-site .product-qty-btn {
        min-width: 36px;
        min-height: 36px;
        font-size: 20px;
        border-radius: 10px;
    }

    body.md-site input,
    body.md-site select,
    body.md-site textarea {
        font-size: 18px !important;
        min-height: 48px;
    }

    body.md-site .product-card-qty {
        font-size: 16px !important;
        min-height: 36px !important;
        padding: 0 2px;
    }

    body.md-site .btn,
    body.md-site .btn-large {
        font-size: 18px !important;
        min-height: 52px;
        font-weight: 800;
    }

    .md-hero-qr strong {
        font-size: 20px;
        color: #f0d78c;
    }

    .md-hero-qr span {
        font-size: 16px;
        color: #fff;
        word-break: break-all;
    }

    .order-sticky-meta span {
        font-size: 16px !important;
        color: #1a1406 !important;
    }

    .order-sticky-meta strong {
        font-size: 22px !important;
    }
}
