@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* ==========================================================================
   INDEX-STYLE.CSS — MODERN FOODTECH DESIGN SYSTEM (LIGHT & DARK MODE)
   Webliner Click & Collect
   ========================================================================== */

/* ==========================================================================
   1. DESIGN TOKENS & VARIABLES
   ========================================================================== */
:root {
    /* Base Color Tokens */
    --bg-page: #f8fafc;
    --bg-surface: #ffffff;
    --bg-surface-elevated: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.88);
    --bg-glass-strong: rgba(255, 255, 255, 0.96);
    --bg-subtle: #f1f5f9;
    --bg-hover: #e2e8f0;
    --bg-input: #ffffff;
    
    /* Text Tokens */
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --text-subtle: #94a3b8;
    
    /* Border Tokens */
    --border-subtle: #e2e8f0;
    --border-medium: #cbd5e1;
    --border-glass: rgba(255, 255, 255, 0.4);
    
    /* Shadows */
    --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.12);
    --shadow-floating: 0 20px 50px -10px rgba(15, 23, 42, 0.3);
    
    /* Transitions */
    --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* DARK MODE THEME */
body.dark-mode {
    --bg-page: #151c2e;
    --bg-main: #151c2e;
    --bg-surface: #1e2840;
    --bg-surface-elevated: #263350;
    --bg-glass: rgba(30, 40, 64, 0.88);
    --bg-glass-strong: rgba(30, 40, 64, 0.96);
    --bg-subtle: #24304c;
    --bg-hover: #2f3e62;
    --bg-input: #24304c;
    
    --text-primary: #f8fafc;
    --text-secondary: #e2e8f0;
    --text-muted: #94a3b8;
    --text-subtle: #64748b;
    
    --border-subtle: rgba(255, 255, 255, 0.12);
    --border-medium: rgba(255, 255, 255, 0.20);
    --border-glass: rgba(255, 255, 255, 0.12);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.30);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.40);
    --shadow-floating: 0 20px 50px -10px rgba(0, 0, 0, 0.50);
}

/* ==========================================================================
   2. GLOBAL LAYOUT & ANIMATIONS
   ========================================================================== */
@keyframes floatIn { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
@keyframes breathe { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.6; transform: scale(0.92); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes popInCenter { 0% { opacity: 0; transform: scale(0.92); } 100% { opacity: 1; transform: scale(1); } }
@keyframes rhZoom { 0% { transform: scale(1); } 100% { transform: scale(1.08); } }
@keyframes rhSlideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

#menu-list, .menu-grid-bg, .menu-background-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    background-color: var(--bg-page) !important;
    min-height: 100vh;
    transition: background-color 0.3s ease;
}

#menu-list .container, .menu-grid-bg .container, .menu-background-wrapper .container {
    position: relative;
    z-index: 11;
    background: transparent !important;
    margin: 0 auto;
}

/* ==========================================================================
   3. LUXURY DARK HERO HEADER (OBSIDIAN NOIR CHIC, SPARKLES & COMPACT SMARTPHONE)
   ========================================================================== */
@keyframes breathe { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.55; transform: scale(0.85); } }

@keyframes sparkleTwinkle {
    0%, 100% {
        opacity: 0.12;
        transform: scale(0.7) translateY(0);
    }
    50% {
        opacity: 0.85;
        transform: scale(1.25) translateY(-6px);
    }
}

/* PERSPECTIVE DE SCROLL : HERO STICKY LOWER PLANE */
.rh-hero-section {
    position: sticky;
    top: 0;
    z-index: 1;
    width: 100%;
    min-height: 480px;
    padding: 32px 0 42px 0;
    overflow: hidden;
    background-color: #080b12;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    will-change: transform, opacity;
    transition: opacity 0.1s ease-out;
}

/* PLAN DE CONTENU QUI REMONTE PAR-DESSUS LE HERO (HERO CURTAIN EFFECT) */
.menu-page-deck {
    position: relative;
    z-index: 15;
    background: var(--bg-body, #0b0f19);
    border-top-left-radius: 26px;
    border-top-right-radius: 26px;
    margin-top: -24px;
    box-shadow: 0 -16px 45px rgba(0, 0, 0, 0.65);
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    overflow: visible;
}

@media (max-width: 480px) {
    .menu-page-deck {
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
        margin-top: -18px;
    }
}

/* 3.1 ARRIÈRE-PLAN CHIC : PHOTO À DROITE AVEC DÉGRADÉ FONDU & PARTICULES DORÉES */
.rh-hero-bg-wrapper {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.rh-hero-bg-photo {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 65%;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    filter: brightness(0.72) contrast(1.12) saturate(0.92);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.12) 14%, rgba(0, 0, 0, 0.75) 36%, black 65%, black 100%);
    mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.12) 14%, rgba(0, 0, 0, 0.75) 36%, black 65%, black 100%);
    transition: transform 12s cubic-bezier(0.25, 1, 0.5, 1);
}

.rh-hero-section:hover .rh-hero-bg-photo {
    transform: scale(1.025);
}

.rh-photo-fade-top-bottom {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(8, 11, 18, 0.5) 0%, transparent 20%, transparent 80%, rgba(8, 11, 18, 0.85) 100%);
}

/* Paillettes dorées scintillantes délicates */
.rh-sparkles-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 2;
}

.rh-sparkle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, #fef08a 0%, #f59e0b 60%, transparent 100%);
    box-shadow: 0 0 6px #fde047, 0 0 12px rgba(245, 158, 11, 0.5);
    pointer-events: none;
    animation: sparkleTwinkle 4.5s infinite ease-in-out;
}

.sp1 { width: 4px; height: 4px; top: 22%; left: 58%; animation-delay: 0s; }
.sp2 { width: 5px; height: 5px; top: 40%; left: 76%; animation-delay: 1.4s; }
.sp3 { width: 3px; height: 3px; top: 26%; left: 88%; animation-delay: 2.8s; }
.sp4 { width: 4px; height: 4px; top: 66%; left: 64%; animation-delay: 0.9s; }
.sp5 { width: 5px; height: 5px; top: 58%; left: 82%; animation-delay: 2.2s; }

/* 3.2 CONTENEUR LARGE ÉCRAN & NAVIGATION */
.rh-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 32px;
    animation: rhSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.rh-top-nav-bar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.rh-top-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.70);
    text-decoration: none !important;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.92rem;
    font-weight: 500;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.rh-top-back-link:hover {
    color: #ffffff;
    transform: translateX(-3px);
}

/* 3.3 CARTE CONTENU INTÉGRÉE AVEC BORDURE GAUCHE VERTICALE */
.rh-hero-card {
    position: relative;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    max-width: 760px;
    border-left: 3px solid var(--fiche-color) !important;
    padding-left: 32px !important;
}

.rh-hero-content-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 3.4 IDENTITÉ & BADGES TEXTE */
.rh-hero-titles {
    margin-bottom: 18px;
}

.rh-restaurant-name {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff !important;
    letter-spacing: -0.015em;
    line-height: 1.12;
    margin: 0 0 5px 0 !important;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}

.rh-hero-badges-text {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    margin-top: 3px;
}

.rh-badge-text-item {
    color: rgba(255, 255, 255, 0.88);
}

.rh-text-bullet {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.85rem;
}

.rh-star {
    color: #f59e0b;
    margin: 0 1px;
    font-size: 0.95rem;
}

.rh-reviews-count {
    color: rgba(255, 255, 255, 0.60);
    font-size: 0.84rem;
}

/* Quick Icons Row (Horaires, Adresse, Téléphone) */
.rh-quick-icons-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 2px;
}

.rh-quick-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.98rem;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    padding: 0;
}

.rh-quick-icon-btn:hover {
    background: rgba(255, 255, 255, 0.20);
    border-color: rgba(255, 255, 255, 0.38);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.40);
}

.rh-quick-icon-btn:active {
    transform: scale(0.94);
}

/* 3.5 STATUT CHIC SOBRE (CAPSULE MINIMALISTE SANS NÉON LOURD) */
.rh-hero-status-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}

.rh-status-capsule {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 15px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    font-size: 0.84rem;
    color: #f1f5f9;
    letter-spacing: 0.01em;
    flex-shrink: 0;
}

.rh-status-capsule .rh-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.rh-status-capsule.open .rh-status-dot {
    background: #10b981;
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
    animation: breathe 2s infinite ease-in-out;
}

.rh-status-capsule.closed .rh-status-dot {
    background: #ef4444;
    box-shadow: 0 0 6px rgba(239, 68, 68, 0.6);
}

.rh-status-capsule.pause .rh-status-dot {
    background: #f59e0b;
    box-shadow: 0 0 6px rgba(245, 158, 11, 0.6);
}

.rh-delays-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.90rem;
    color: rgba(255, 255, 255, 0.80);
}

.rh-delay-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85);
}

.rh-delay-item i {
    font-size: 1.05rem;
    color: var(--fiche-color, #38bdf8);
}

.rh-delay-item strong {
    color: #ffffff;
    font-weight: 700;
}

/* 3.6 BOUTON DE SÉLECTION DU MODE DE RÉCUPÉRATION */
.rh-mode-select-wrapper {
    margin-bottom: 20px;
}

.rh-mode-btn {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.20);
    padding: 8px 18px;
    border-radius: 50px;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
}

.rh-mode-btn i.rh-mode-icon,
.rh-mode-btn i:first-child {
    color: var(--fiche-color);
    font-size: 0.95rem;
}

.rh-mode-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.rh-mode-btn i.rh-chevron {
    font-size: 0.75rem;
    opacity: 0.7;
    transition: transform 0.2s ease;
}

.rh-mode-btn:hover i.rh-chevron {
    transform: translateY(1px);
    opacity: 1;
}

.rh-mode-btn:active {
    transform: scale(0.97);
}

/* 3.8 RESPONSIVE SMARTPHONE & TABLETTE CHIC & COMPACT */
@media (max-width: 991.98px) {
    .rh-hero-section {
        min-height: auto;
        padding: 22px 0 24px 0 !important;
        background-color: #080b12 !important; /* Noir obsidienne pur sans reflet jaunâtre */
    }
    
    /* Image bien visible en arrière-plan avec son dégradé sombre élégant vers la gauche */
    .rh-hero-bg-photo {
        width: 100% !important;
        opacity: 0.82 !important; /* Image nette et vivante */
        background-position: 85% center !important; /* Cadre la salle restaurant sur la droite */
        filter: brightness(0.68) contrast(1.12) saturate(0.92) !important;
        -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.15) 15%, rgba(0, 0, 0, 0.65) 45%, black 78%, black 100%) !important;
        mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.15) 15%, rgba(0, 0, 0, 0.65) 45%, black 78%, black 100%) !important;
    }
    
    /* Double dégradé noir obsidienne : assure 100% de lisibilité à gauche et sublime l'image à droite */
    .rh-photo-fade-top-bottom {
        background: 
            linear-gradient(to right, #080b12 0%, rgba(8, 11, 18, 0.94) 24%, rgba(8, 11, 18, 0.55) 58%, transparent 95%),
            linear-gradient(to bottom, rgba(8, 11, 18, 0.40) 0%, transparent 18%, transparent 80%, rgba(8, 11, 18, 0.90) 100%) !important;
    }

    .rh-hero-card {
        max-width: 100% !important;
    }
}

@media (max-width: 767.98px) {
    .rh-hero-section {
        padding: 18px 0 20px 0 !important;
    }
    
    .rh-container {
        padding: 0 16px !important;
    }
    
    .rh-top-nav-bar {
        margin-bottom: 12px !important;
    }
    
    .rh-hero-card {
        padding-left: 16px !important;
        border-left-width: 3px !important;
    }
    
    .rh-hero-titles {
        margin-bottom: 12px !important;
    }
    
    .rh-restaurant-name {
        font-size: 1.95rem !important;
        line-height: 1.15 !important;
        margin-bottom: 2px !important;
    }
    
    
    
    .rh-hero-badges-text {
        font-size: 0.85rem !important;
        margin-top: 1px !important;
        gap: 8px !important;
    }
    
    .rh-hero-status-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
        margin-bottom: 12px !important;
    }
    
    .rh-status-capsule {
        padding: 5px 12px !important;
        font-size: 0.80rem !important;
    }
    
    .rh-delays-group {
        gap: 10px !important;
        font-size: 0.84rem !important;
    }
    
    .rh-mode-select-wrapper {
        margin-bottom: 12px !important;
    }
    
    .rh-mode-btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 9px 18px !important;
        font-size: 0.86rem !important;
    }
    
    
    
    
    
    
}

@media (max-width: 480px) {
    .rh-restaurant-name {
        font-size: 1.75rem !important;
    }
    
    
    
    .rh-hero-badges-text {
        font-size: 0.82rem !important;
    }
    
    
}

/* ==========================================================================
   4. MODALE D'INFORMATIONS ÉTABLISSEMENT (POPUP OVERLAY)
   ========================================================================== */
.info-modal-overlay {
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 999999 !important;
    background: rgba(0, 0, 0, 0.75) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px !important;
    box-sizing: border-box !important;
}

.info-modal-card {
    position: relative !important;
    background: var(--bg-surface, #1e2840) !important;
    color: var(--text-primary, #f8fafc) !important;
    border-radius: 24px !important;
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.1)) !important;
    max-width: 440px !important;
    width: 100% !important;
    padding: 24px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6) !important;
    animation: popInCenter 0.25s var(--ease-spring) !important;
    box-sizing: border-box !important;
}

body.dark-mode .info-modal-card {
    background: var(--bg-surface) !important;
    color: var(--text-primary) !important;
}

.info-modal-title {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    color: var(--text-primary, #f8fafc) !important;
    margin: 0 0 14px 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

body.dark-mode .info-modal-title {
    color: #f8fafc !important;
}

/* ==========================================================================
   4.1 MODALE CHOIX DU MODE DE COMMANDE & VALIDATION CODE POSTAL (OVERLAYS)
   ========================================================================== */
.mode-choice-overlay,
.cp-validation-overlay {
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    height: 100dvh !important;
    background: rgba(0, 0, 0, 0.78) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    z-index: 999999 !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px 12px !important;
    box-sizing: border-box !important;
    overflow-y: auto !important; /* PERMET LE SCROLL COMPLET SUR MOBILE */
    -webkit-overflow-scrolling: touch !important;
    animation: fadeIn 0.25s ease !important;
}

.mode-choice-content,
.cp-validation-content {
    background: var(--bg-surface, #ffffff) !important;
    color: var(--text-primary, #0f172a) !important;
    border: 1px solid var(--border-subtle, #e2e8f0) !important;
    border-radius: 22px !important;
    padding: 24px 20px !important;
    width: 100% !important;
    max-width: 480px !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45) !important;
    text-align: center !important;
    position: relative !important;
    margin: auto !important; /* CENTRE VERTICALEMENT TOUT EN PERMETTANT LE SCROLL COMPLET HAUT ET BAS */
    max-height: calc(100dvh - 24px) !important;
    overflow-y: auto !important; /* SCROLL INTERNE FLUIDE SI ÉCRAN TRÈS COURT */
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch !important;
    animation: popInCenter 0.25s var(--ease-spring) !important;
    box-sizing: border-box !important;
}

@media (min-width: 768px) {
    .mode-choice-content {
        max-width: 800px !important;
        padding: 38px 45px !important;
    }
}

body.dark-mode .mode-choice-content,
body.dark-mode .cp-validation-content {
    background: var(--bg-surface) !important;
    color: var(--text-primary) !important;
    border-color: var(--border-subtle) !important;
}

/* ==========================================================================
   4.2 SCÈNE DU CIRCUIT EN BOUCLE FERMÉE : RESTAURANT ↔ MAISON DU CLIENT
   ========================================================================== */
/* Scène de Choix de Mode ultra-fine et discrète (56px) - Fond transparent sans bordures noires */
.mode-choice-scene {
    position: relative !important;
    width: 100% !important;
    max-height: 56px !important;
    height: 56px !important;
    padding: 0 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    margin-bottom: 16px !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body.dark-mode .mode-choice-scene {
    background: transparent !important;
    border: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

.circuit-scene-svg,
.circuit-scene-svg.food-scene-svg {
    width: 100% !important;
    max-width: 500px !important;
    height: 56px !important;
    max-height: 56px !important;
    display: block !important;
    margin: 0 auto !important;
}

body.dark-mode 

body.dark-mode 

body.dark-mode 

body.dark-mode 

/* Le restaurant reste blanc pur */

/* La maison reste crème chaleureux */

/* Animations décoratives SVG */

@media (max-width: 540px) {
    .mode-choice-scene {
        max-height: 48px !important;
        height: 48px !important;
        margin-bottom: 14px !important;
        border-radius: 12px !important;
        padding: 0 !important;
    }
    .circuit-scene-svg,
    .circuit-scene-svg.food-scene-svg {
        height: 48px !important;
        max-height: 48px !important;
    }
}

.cp-back-btn {
    position: absolute !important;
    top: 18px !important;
    left: 18px !important;
    background: var(--bg-subtle, #f1f5f9) !important;
    border: 1px solid var(--border-subtle, #e2e8f0) !important;
    color: var(--text-secondary, #334155) !important;
    padding: 6px 14px !important;
    border-radius: 50px !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

body.dark-mode .cp-back-btn {
    background: #1e293b !important;
    color: #e2e8f0 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.cp-back-btn:hover {
    background: var(--bg-hover, #e2e8f0) !important;
    transform: translateX(-2px) !important;
}

.cp-icon {
    width: 64px !important;
    height: 64px !important;
    border-radius: 50% !important;
    background: rgba(var(--fiche-color-rgb), 0.15) !important;
    color: var(--fiche-color) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.8rem !important;
    margin: 12px auto 16px auto !important;
    border: 1.5px solid rgba(var(--fiche-color-rgb), 0.25) !important;
}

.cp-validation-content h2 {
    font-size: 1.45rem !important;
    font-weight: 800 !important;
    color: var(--text-primary, #0f172a) !important;
    margin: 0 0 6px 0 !important;
}

body.dark-mode .cp-validation-content h2 {
    color: #f8fafc !important;
}

.cp-validation-content p {
    font-size: 0.92rem !important;
    color: var(--text-muted, #64748b) !important;
    margin: 0 0 22px 0 !important;
}

.cp-input-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin-bottom: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.cp-input-wrapper {
    position: relative !important;
    width: 100% !important;
}

.cp-input-icon {
    position: absolute !important;
    left: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: var(--text-muted, #94a3b8) !important;
    font-size: 1.1rem !important;
    pointer-events: none !important;
    z-index: 2 !important;
}

.cp-input {
    width: 100% !important;
    height: 52px !important;
    padding: 10px 42px 10px 44px !important;
    border-radius: 14px !important;
    border: 1.5px solid var(--border-subtle, #cbd5e1) !important;
    background: var(--bg-surface, #ffffff) !important;
    color: var(--text-primary, #0f172a) !important;
    font-size: 1.02rem !important;
    font-weight: 600 !important;
    text-align: left !important;
    outline: none !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

body.dark-mode .cp-input {
    background: #1e293b !important;
    color: #f8fafc !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

.cp-input:focus {
    border-color: var(--fiche-color) !important;
    box-shadow: 0 0 0 3px rgba(var(--fiche-color-rgb), 0.2) !important;
}

.cp-clear-btn {
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: transparent !important;
    border: none !important;
    color: var(--text-muted, #94a3b8) !important;
    font-size: 1.15rem !important;
    cursor: pointer !important;
    padding: 4px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 2 !important;
    transition: color 0.15s ease !important;
}

.cp-clear-btn:hover {
    color: var(--text-primary, #0f172a) !important;
}

/* Dropdown des suggestions Villes/CP */
.cp-suggestions-dropdown {
    position: absolute !important;
    top: calc(100% + 6px) !important;
    left: 0 !important;
    right: 0 !important;
    background: var(--bg-surface, #ffffff) !important;
    border: 1.5px solid var(--border-subtle, #cbd5e1) !important;
    border-radius: 14px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2) !important;
    z-index: 9999 !important;
    max-height: 230px !important;
    overflow-y: auto !important;
    padding: 6px !important;
    text-align: left !important;
}

body.dark-mode .cp-suggestions-dropdown {
    background: #1e293b !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6) !important;
}

.cp-suggestion-item {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 14px !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    gap: 10px !important;
}

.cp-suggestion-item:hover {
    background: rgba(var(--fiche-color-rgb), 0.12) !important;
    transform: translateX(3px) !important;
}

.cp-sugg-left {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    color: var(--text-primary, #0f172a) !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
}

body.dark-mode .cp-sugg-left {
    color: #f8fafc !important;
}

.cp-sugg-left i {
    color: var(--fiche-color) !important;
    font-size: 1.05rem !important;
}

.cp-sugg-cp {
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    color: var(--text-muted, #64748b) !important;
    background: var(--bg-subtle, #f1f5f9) !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
}

body.dark-mode .cp-sugg-cp {
    background: #334155 !important;
    color: #94a3b8 !important;
}

.cp-verify-btn {
    width: 100% !important;
    height: 50px !important;
    padding: 0 22px !important;
    border-radius: 14px !important;
    background: var(--fiche-color) !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    transition: all 0.2s var(--ease-spring) !important;
    box-shadow: 0 4px 12px rgba(var(--fiche-color-rgb), 0.3) !important;
    box-sizing: border-box !important;
}

.cp-verify-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(var(--fiche-color-rgb), 0.45) !important;
}

.cp-error-msg {
    display: none;
    align-items: center;
    gap: 8px;
    background: rgba(239, 68, 68, 0.12) !important;
    color: #ef4444 !important;
    border: 1px solid rgba(239, 68, 68, 0.25) !important;
    padding: 10px 14px !important;
    border-radius: 12px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    margin-bottom: 14px !important;
    text-align: left !important;
    box-sizing: border-box !important;
}

/* CP Help : Villes éligibles */
.cp-help {
    margin-top: 18px !important;
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    background: var(--bg-subtle, rgba(0, 0, 0, 0.03)) !important;
    padding: 14px 16px !important;
    border-radius: 14px !important;
    border: 1px solid var(--border-subtle, rgba(0, 0, 0, 0.08)) !important;
    box-sizing: border-box !important;
}

body.dark-mode .cp-help {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.cp-help-title {
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: var(--text-muted, #94a3b8) !important;
    display: flex !important;
    align-items: center !important;
}

.cp-cities-list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
}

.cp-city-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    background: var(--bg-surface, #ffffff) !important;
    border: 1px solid var(--border-subtle, #cbd5e1) !important;
    color: var(--text-primary, #0f172a) !important;
    padding: 5px 11px !important;
    border-radius: 20px !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
    text-decoration: none !important;
}

body.dark-mode .cp-city-pill {
    background: #1e293b !important;
    color: #f8fafc !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}

.cp-city-pill:hover {
    background: var(--fiche-color) !important;
    border-color: var(--fiche-color) !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 3px 8px rgba(var(--fiche-color-rgb), 0.35) !important;
}

.cp-city-pill:hover i,
.cp-city-pill:hover small {
    color: #ffffff !important;
}

.cp-city-pill i {
    color: var(--fiche-color) !important;
    font-size: 0.85rem !important;
    transition: color 0.2s ease !important;
}

.cp-city-pill small {
    color: var(--text-muted, #64748b) !important;
    font-weight: 500 !important;
    transition: color 0.2s ease !important;
}

/* ==========================================================================
   5. LIVE SEARCH & STICKY CATEGORIES
   ========================================================================== */
.menu-controls-wrapper {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-glass-strong);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
    padding: 12px 0 10px 0;
    transition: all 0.3s ease;
}

.menu-search-bar {
    position: relative;
    max-width: 580px;
    margin: 0 auto 12px auto;
    padding: 0 15px;
}

.search-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon-left {
    position: absolute;
    left: 32px;
    color: var(--text-muted);
    font-size: 1.15rem;
    pointer-events: none;
}

.search-clear-btn {
    position: absolute;
    right: 28px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    display: none;
    padding: 4px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.search-clear-btn:hover {
    color: var(--text-primary);
}

.menu-search-input {
    width: 100%;
    height: 48px;
    padding: 10px 45px 10px 52px !important;
    background: var(--bg-surface);
    border: 1.5px solid var(--border-subtle);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
    outline: none;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-xs);
}

.menu-search-input:focus {
    border-color: var(--fiche-color);
    box-shadow: 0 0 0 3px rgba(var(--fiche-color-rgb), 0.15);
    background: var(--bg-surface-elevated);
}

.menu-search-input::placeholder {
    color: var(--text-subtle);
}

/* Category Navigation Bar */
.category-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 15px;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-x pan-y;
}

.category-scroll.is-grabbing {
    cursor: grabbing !important;
}

.category-scroll::-webkit-scrollbar { display: none; }

.category-menu {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    white-space: nowrap;
    gap: 8px;
    width: max-content;
    min-width: min-content;
}

@media (min-width: 992px) {
    .category-menu {
        margin: 0 auto;
    }
}

.category-item {
    display: inline-block;
    flex-shrink: 0;
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    color: var(--text-secondary);
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.88rem;
    border-radius: 50px;
    background: var(--bg-subtle);
    border: 1px solid var(--border-subtle);
    transition: all 0.2s var(--ease-spring);
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    cursor: pointer;
}

.category-link:hover:not(.active) {
    background: var(--bg-surface);
    color: var(--text-primary);
    border-color: var(--border-medium);
    transform: translateY(-1px);
}

.category-link.active {
    background: var(--fiche-color);
    color: #ffffff !important;
    border-color: var(--fiche-color);
    box-shadow: 0 4px 12px rgba(var(--fiche-color-rgb), 0.35);
    transform: translateY(-1px);
}

.category-section-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 35px 0 18px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-subtle);
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.3px;
}

.category-title-pill {
    display: inline-block;
    width: 6px;
    height: 22px;
    border-radius: 4px;
    background: #ffffff !important;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
}

/* Category 2 (Sous-catégories) - Compact, Elegant & Refined */
.subcategory-divider-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0 10px 0;
    padding-left: 2px;
}

.subcategory-section-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    background: transparent !important;
    border: none !important;
    padding: 0;
    margin: 0;
    box-shadow: none !important;
    flex-shrink: 0;
}

.subcategory-section-title .subcat-arrow {
    font-size: 0.72rem;
    color: var(--fiche-color);
    font-weight: 800;
}

.subcategory-divider-wrapper::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border-subtle);
    opacity: 0.6;
}

/* ==========================================================================
   6. PRODUCT CARDS (GOURMET & BENTO STYLE)
   ========================================================================== */
.plat-div {
    cursor: pointer;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 18px;
    box-shadow: var(--shadow-xs);
    overflow: hidden;
    position: relative;
    transition: all 0.25s var(--ease-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 116px;
}

.plat-div:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--fiche-color);
}

.plat-div:active {
    transform: scale(0.98);
}

.product-card-content {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    padding: 12px 14px;
    gap: 14px;
    height: 100%;
    box-sizing: border-box;
}

.product-image-wrapper {
    position: relative;
    width: 86px;
    min-width: 86px;
    height: 86px;
    border-radius: 14px;
    overflow: hidden;
    background: var(--bg-subtle);
    flex-shrink: 0;
    align-self: center;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    transition: transform 0.35s var(--ease-smooth);
}

.plat-div:hover .product-image-wrapper img {
    transform: scale(1.06);
}

.product-info-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    height: 100%;
}

.product-info-main {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.plat-titre {
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 2px 0;
    line-height: 1.25;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 6px;
    overflow: hidden;
}

.plat-titre-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Badges Produits Intégrés Après le Nom */
.dish-inline-badges {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.dish-badge-tag {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-secondary) !important;
    background: transparent !important;
    padding: 0 2px;
    border: none !important;
    box-shadow: none !important;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: help;
}

.dish-badge-tag.badge-halal {
    font-family: 'Amiri', 'Segoe UI', Tahoma, sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    direction: rtl;
    color: var(--text-secondary) !important;
}

.dish-badge-tag.badge-kosher {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    direction: rtl;
    color: var(--text-secondary) !important;
}

/* Description avec Hauteur Exacte 2 Lignes Fixes */
.plat-desc {
    font-size: 0.80rem !important;
    color: var(--text-muted) !important;
    margin: 0 0 0px 0 !important;
    line-height: 1.35 !important;
    height: calc(1.35 * 0.80rem * 2) !important; /* Exactement 2 lignes */
    max-height: calc(1.35 * 0.80rem * 2) !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    word-break: break-word;
}

.plat-desc.empty-desc {
    visibility: hidden;
}

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    gap: 8px;
}

/* PRIX SANS BACKGROUND COLORÉ */
.plat-prix {
    font-size: 0.98rem !important;
    font-weight: 800 !important;
    color: var(--text-primary) !important;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    white-space: nowrap;
}

/* SÉLECTEUR COMPACT DE FORMAT SUR CARTE PRODUIT */
.card-price-var-group {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 1;
}

.card-select-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    max-width: 125px;
}

.card-variation-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: var(--bg-subtle);
    color: var(--text-primary);
    border: 1.5px solid var(--border-subtle);
    border-radius: 12px;
    padding: 5px 22px 5px 10px;
    font-size: 0.80rem;
    font-weight: 700;
    cursor: pointer;
    outline: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
    white-space: nowrap;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.card-variation-select:hover,
.card-variation-select:focus {
    border-color: var(--fiche-color);
    background: var(--bg-hover);
    box-shadow: 0 0 0 2px rgba(var(--fiche-color-rgb), 0.15);
}

body.dark-mode .card-variation-select {
    background: var(--bg-subtle);
    color: #f8fafc;
    border-color: rgba(255, 255, 255, 0.14);
}

body.dark-mode .card-variation-select:hover,
body.dark-mode .card-variation-select:focus {
    background: var(--bg-hover);
    border-color: var(--fiche-color);
}

.card-select-wrapper .select-chevron {
    position: absolute;
    right: 8px;
    pointer-events: none;
    font-size: 0.65rem;
    color: var(--text-muted);
    transition: transform 0.2s ease, color 0.2s ease;
}

.card-select-wrapper:hover .select-chevron {
    color: var(--fiche-color);
}

@media (max-width: 767.98px) {
    .card-select-wrapper {
        max-width: 95px;
    }
    .card-variation-select {
        font-size: 0.74rem;
        padding: 4px 18px 4px 8px;
        border-radius: 10px;
    }
    .card-price-var-group {
        gap: 6px;
    }
}

/* Badges dans la Modale Produit */
.modal-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    background: var(--bg-subtle);
    color: var(--text-secondary);
    padding: 4px 10px;
    border-radius: 12px;
    margin-right: 6px;
    margin-bottom: 6px;
    border: 1px solid var(--border-subtle);
    font-weight: 600;
}

.modal-badge-pill.badge-halal,
.modal-badge-pill.badge-kosher {
    font-weight: 700;
}

body.dark-mode .plat-prix {
    color: #f8fafc !important;
}

.btn-card-add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--bg-subtle);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.2s var(--ease-spring);
    flex-shrink: 0;
}

.plat-div:hover .btn-card-add {
    background: var(--fiche-color);
    color: #ffffff;
    border-color: var(--fiche-color);
    box-shadow: 0 3px 8px rgba(var(--fiche-color-rgb), 0.35);
}

.product-msg-badge {
    position: absolute;
    top: 0; right: 0;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    padding: 3px 10px;
    border-radius: 0 16px 0 10px;
    font-size: 0.68rem;
    font-weight: 700;
    z-index: 5;
    box-shadow: -2px 2px 6px rgba(0,0,0,0.12);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Plats sans image */
.plat-div.no-image {
    min-height: auto !important;
    height: auto !important;
}

.plat-div.no-image .product-card-content {
    height: auto !important;
    padding: 12px 14px;
}

.plat-div.no-image .product-info-wrapper {
    width: 100%;
}

/* ==========================================================================
   6.1 BENTO GRID LAYOUT (TABLETTE & PC - MIN-WIDTH: 768PX)
   ========================================================================== */
@media (min-width: 768px) {
    /* Grille Bento pour la liste des plats */
    .category-container-block > .category-dish-row,
    .category-container-block > .row {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 20px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .category-container-block > .category-dish-row > .dish-col-item,
    .category-container-block > .row > .dish-col-item {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        padding: 0 !important;
        margin-bottom: 0 !important;
        display: flex !important;
    }

    .subcategory-divider-wrapper {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 20px 0 8px 0 !important;
    }

    /* Carte Bento */
    .plat-div {
        border-radius: 22px !important;
        border: 1.5px solid var(--border-subtle) !important;
        background: var(--bg-surface) !important;
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04) !important;
        transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), 
                    box-shadow 0.28s ease, 
                    border-color 0.25s ease !important;
        width: 100% !important;
        height: 100% !important;
    }

    .plat-div:hover {
        transform: translateY(-5px) !important;
        border-color: rgba(var(--fiche-color-rgb), 0.65) !important;
        box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.12), 
                    0 0 0 1px rgba(var(--fiche-color-rgb), 0.3) !important;
    }

    body.dark-mode .plat-div {
        box-shadow: 0 4px 22px rgba(0, 0, 0, 0.25) !important;
    }

    body.dark-mode .plat-div:hover {
        box-shadow: 0 18px 42px -6px rgba(0, 0, 0, 0.45), 
                    0 0 24px rgba(var(--fiche-color-rgb), 0.20) !important;
    }

    /* Contenu Vertical Bento */
    .product-card-content {
        flex-direction: column !important;
        padding: 16px !important;
        gap: 12px !important;
        height: 100% !important;
    }

    /* Grande Image Supérieure Bento */
    .product-image-wrapper {
        width: 100% !important;
        min-width: 100% !important;
        height: 175px !important;
        border-radius: 14px !important;
        align-self: stretch !important;
        margin: 0 !important;
        background: var(--bg-subtle) !important;
        position: relative !important;
        overflow: hidden !important;
    }

    .product-image-wrapper img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    .plat-div:hover .product-image-wrapper img {
        transform: scale(1.06) !important;
    }

    /* Carte Bento sans image : hauteur réduite et compacte */
    .dish-col-item.dish-col-no-image,
    .dish-col-item:has(.plat-div.no-image) {
        align-self: start !important;
    }

    .plat-div.no-image {
        height: auto !important;
        min-height: auto !important;
        align-self: start !important;
    }

    .plat-div.no-image .product-card-content {
        padding: 16px 18px !important;
        gap: 8px !important;
        height: auto !important;
    }

    .plat-div.no-image .product-info-main {
        margin-bottom: 4px !important;
    }

    .plat-div.no-image .product-card-footer {
        margin-top: 10px !important;
        padding-top: 10px !important;
    }

    /* Informations du plat en Bento */
    .product-info-wrapper {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        flex: 1 !important;
        min-width: 0 !important;
        gap: 8px !important;
    }

    .product-info-main {
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
    }

    .plat-titre {
        font-size: 1.05rem !important;
        font-weight: 800 !important;
        line-height: 1.3 !important;
        margin: 0 !important;
    }

    .plat-desc {
        font-size: 0.82rem !important;
        line-height: 1.4 !important;
        height: calc(1.4 * 0.82rem * 2) !important;
        max-height: calc(1.4 * 0.82rem * 2) !important;
        margin: 0 !important;
    }

    /* Footer Bento : Prix + Bouton */
    .product-card-footer {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        margin-top: auto !important;
        padding-top: 12px !important;
        border-top: 1px solid var(--border-subtle) !important;
        gap: 8px !important;
    }

    .plat-prix {
        font-size: 1.12rem !important;
        font-weight: 800 !important;
        flex-shrink: 0 !important;
    }

    .btn-card-add {
        width: 38px !important;
        height: 38px !important;
        font-size: 1.22rem !important;
    }

    /* Badge Promo en Bento */
    .product-msg-badge {
        position: absolute !important;
        top: 10px !important;
        right: 10px !important;
        border-radius: 8px !important;
        z-index: 3 !important;
        padding: 4px 10px !important;
        font-size: 0.72rem !important;
        font-weight: 700 !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22) !important;
    }
}

/* GRILLE BENTO EN VUE PC / GRAND ÉCRAN (MIN-WIDTH: 1025PX) */
@media (min-width: 1025px) {
    .category-container-block > .category-dish-row,
    .category-container-block > .row {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 22px !important;
    }

    .product-image-wrapper {
        height: 185px !important;
    }

    .product-card-content {
        padding: 18px !important;
        gap: 14px !important;
    }
}

/* TRÈS GRANDS ÉCRANS (MIN-WIDTH: 1440PX) */
@media (min-width: 1440px) {
    .category-container-block > .category-dish-row,
    .category-container-block > .row {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 24px !important;
    }

    .product-image-wrapper {
        height: 175px !important;
    }
}

/* ==========================================================================
   7. FLOATING CART CAPSULE (BOTTOM DOCK)
   ========================================================================== */
.floating-cart-dock {
    position: fixed;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    width: auto;
    min-width: 290px;
    max-width: 360px;
    animation: slideUp 0.4s var(--ease-spring);
}

.cart-dock-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 18px 10px 14px;
    background: var(--fiche-color);
    color: #ffffff !important;
    border-radius: 50px;
    text-decoration: none !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
    transition: all 0.25s var(--ease-spring);
    font-weight: 700;
}

.cart-dock-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

.cart-dock-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-dock-badge {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.cart-dock-price {
    font-size: 0.98rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.2px;
    white-space: nowrap;
}

.cart-dock-right {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.92rem;
    white-space: nowrap;
    opacity: 0.95;
}

.cart-dock-action-long {
    display: inline;
}

.cart-dock-action-short {
    display: none;
}

@media (max-width: 440px) {
    .floating-cart-dock {
        min-width: 260px;
        max-width: 310px;
        bottom: 16px;
    }
    .cart-dock-btn {
        padding: 9px 14px 9px 12px;
        font-size: 0.88rem;
    }
    .cart-dock-action-long {
        display: none;
    }
    .cart-dock-action-short {
        display: inline;
    }
}

/* OVERLAY BOUTIQUE FERMÉE SUR MENU-GRID-BG */
.menu-grid-bg {
    position: relative;
}

.menu-grid-bg.blurred-menu #dishListContainer,
.menu-grid-bg.blurred-menu .category-container-block {
    filter: blur(8px);
    pointer-events: none;
    user-select: none;
    transition: filter 0.4s ease;
}

.boutique-closed-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 95; /* Reste en dessous de la barre sticky menu-controls (z-index: 100) */
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 24px;
    min-height: 480px;
    transition: opacity 0.3s ease;
}

.boutique-closed-modal {
    background: var(--bg-surface, #ffffff);
    border: 1px solid var(--border-subtle, #e2e8f0);
    border-radius: 22px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
    padding: 34px 28px;
    max-width: 460px;
    width: calc(100% - 32px);
    text-align: center;
    animation: modalPopIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: sticky;
    top: 145px; /* S'arrête nettement 20px avant la barre de menu sticky (hauteur ~125px) */
    margin-bottom: 40px;
}

@media (max-width: 480px) {
    .boutique-closed-modal {
        top: 135px;
        padding: 26px 20px;
    }
}

body.dark-mode .boutique-closed-modal {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.1);
    color: #f8fafc;
}

.closed-modal-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    margin: 0 auto 16px auto;
}

.closed-modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary, #0f172a);
}

body.dark-mode .closed-modal-title {
    color: #ffffff;
}

.closed-modal-text {
    font-size: 0.94rem;
    color: var(--text-secondary, #64748b);
    line-height: 1.5;
    margin-bottom: 22px;
}

.btn-dismiss-closed-overlay {
    background: var(--fiche-color, #3b82f6);
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.94rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-dismiss-closed-overlay:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
    opacity: 0.95;
}

/* ==========================================================================
   8. PRODUCT MODAL & OPTIONS (CENTERED & MODERN FOODTECH UX)
   ========================================================================== */
.modal-overlay {
    position: fixed !important;
    inset: 0 !important;
    z-index: 99999 !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(0, 0, 0, 0.75) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    padding: 16px !important;
    opacity: 0;
    transition: opacity 0.25s ease !important;
}

.modal-overlay.show {
    display: flex !important;
    opacity: 1 !important;
}

.click-collect-modal {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: scale(0.94) !important;
    opacity: 0;
    transition: transform 0.25s var(--ease-spring), opacity 0.25s ease !important;
    margin: auto !important;
    max-width: 560px !important;
    width: 100% !important;
    max-height: 90vh !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    background: var(--bg-surface) !important;
    box-shadow: var(--shadow-floating) !important;
    border: 1px solid var(--border-subtle) !important;
    display: flex !important;
    flex-direction: column !important;
}

.click-collect-modal.show {
    transform: scale(1) !important;
    opacity: 1 !important;
}

/* Croix de fermeture bien placée en haut à droite */
.modal-close-corner {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-subtle);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 20;
}

.modal-close-corner:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
    transform: scale(1.08);
}

.modal-content-wrapper {
    padding: 22px 24px;
    overflow-y: auto;
    flex: 1;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

/* Scrollbars Premium pour Modales & Listes */
.modal-content-wrapper::-webkit-scrollbar,
.options-scrollable::-webkit-scrollbar,
.qty-options-list::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.modal-content-wrapper::-webkit-scrollbar-track,
.options-scrollable::-webkit-scrollbar-track,
.qty-options-list::-webkit-scrollbar-track {
    background: transparent;
}

.modal-content-wrapper::-webkit-scrollbar-thumb,
.options-scrollable::-webkit-scrollbar-thumb,
.qty-options-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    transition: background 0.2s ease;
}

.modal-content-wrapper::-webkit-scrollbar-thumb:hover,
.options-scrollable::-webkit-scrollbar-thumb:hover,
.qty-options-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.38);
}

/* En-tête du Produit dans la Modale */
.product-header-modern {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding-right: 36px;
    margin-bottom: 16px;
}

/* CAROUSEL ADAPTÉ SANS ROGNAGE */
.product-carousel-wrapper {
    width: 120px;
    min-width: 120px;
    flex-shrink: 0;
}

.product-carousel-optimized {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-subtle);
    position: relative;
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    padding: 0 !important;
    display: none;
}

.carousel-image.active {
    display: block !important;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.70);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.carousel-arrow.prev { left: 4px; }
.carousel-arrow.next { right: 4px; }
.carousel-arrow:hover { background: rgba(0, 0, 0, 0.85); transform: translateY(-50%) scale(1.1); }

.product-meta-modern {
    flex: 1;
    min-width: 0;
}

.product-modal-title {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: var(--text-primary) !important;
    margin: 0 0 4px 0 !important;
    line-height: 1.25 !important;
}

.product-main-price,
body.dark-mode .product-main-price {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: var(--fiche-color) !important;
    margin: 0 0 6px 0 !important;
    text-shadow: none !important;
}

.product-modal-description {
    font-size: 0.88rem !important;
    color: var(--text-muted) !important;
    line-height: 1.45 !important;
    margin: 0 !important;
}

/* Variations (Tailles / Formules) */
.variations-heading {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.variation-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
}

.variation-option {
    position: relative;
}

.variation-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.variation-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 14px;
    background: var(--bg-surface) !important;
    border: 1.5px solid var(--border-subtle) !important;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    min-height: 64px;
    margin: 0;
}

.variation-label:hover {
    border-color: rgba(var(--fiche-color-rgb), 0.5) !important;
    background: var(--bg-subtle) !important;
}

.variation-option input[type="radio"]:checked + .variation-label {
    border-color: var(--fiche-color) !important;
    background: rgba(var(--fiche-color-rgb), 0.08) !important;
    box-shadow: 0 0 0 2px rgba(var(--fiche-color-rgb), 0.25) !important;
}

.variation-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.variation-price {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

.variation-option input[type="radio"]:checked + .variation-label .variation-name {
    color: var(--text-primary) !important;
}

.variation-option input[type="radio"]:checked + .variation-label .variation-price {
    color: var(--fiche-color) !important;
}

.add-to-cart-btn.btn-closed-disabled {
    width: 100% !important;
    background: var(--bg-subtle) !important;
    color: var(--text-muted) !important;
    cursor: not-allowed !important;
    opacity: 0.9 !important;
    border: 1.5px solid var(--border-subtle) !important;
    justify-content: center !important;
    font-weight: 700 !important;
    box-shadow: none !important;
    padding: 14px 20px !important;
    pointer-events: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

/* ==========================================================================
   ACCORDÉON DYNAMIQUE DES GROUPES D'OPTIONS (STYLE FOODTECH)
   ========================================================================== */
.option-group.accordion-group,
body.dark-mode .option-group.accordion-group {
    background: var(--bg-surface) !important;
    border: 1.5px solid var(--border-subtle) !important;
    border-radius: 16px !important;
    margin-bottom: 12px !important;
    padding: 0 !important;
    overflow: hidden;
    transition: all 0.25s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.option-group.accordion-group:hover {
    border-color: rgba(var(--fiche-color-rgb), 0.4) !important;
}

.option-group.accordion-group.accordion-open {
    border-color: var(--fiche-color) !important;
    box-shadow: 0 4px 16px rgba(var(--fiche-color-rgb), 0.12) !important;
}

.accordion-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 16px;
    cursor: pointer;
    user-select: none;
    background: var(--bg-subtle);
    transition: all 0.2s ease;
    gap: 10px;
    border-bottom: 1px solid transparent;
}

.accordion-group-header:hover {
    background: rgba(var(--fiche-color-rgb), 0.1);
}

.option-group.accordion-group.accordion-open .accordion-group-header {
    background: rgba(var(--fiche-color-rgb), 0.18) !important;
    border-bottom: 1.5px solid rgba(var(--fiche-color-rgb), 0.35) !important;
}

.option-group.accordion-group.accordion-open .accordion-group-title {
    color: var(--fiche-color) !important;
    font-weight: 800 !important;
}

.accordion-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    min-width: 0;
}

.accordion-group-title {
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--text-primary);
}

.accordion-group-req {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

.accordion-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.accordion-selected-summary {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--fiche-color);
    max-width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
}

.accordion-reset-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.15s ease;
}

.accordion-reset-btn:hover {
    background: var(--bg-surface);
    color: var(--fiche-color);
    transform: rotate(-45deg);
}

.accordion-chevron {
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-group.accordion-open .accordion-chevron {
    transform: rotate(180deg);
    color: var(--fiche-color);
}

.accordion-group-body {
    display: none;
    padding: 12px 14px 14px 14px;
    background: var(--bg-surface);
}

.accordion-group.accordion-open .accordion-group-body {
    display: block;
    animation: accordionFade 0.2s ease;
}

@keyframes accordionFade {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.radio-options-list,
.checkbox-options-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.radio-options-list.options-scrollable,
.checkbox-options-list.options-scrollable {
    max-height: 360px;
    overflow-y: auto;
    padding-right: 4px;
}

.radio-option-item,
.option-item {
    position: relative;
    cursor: pointer;
}

.option-row-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    cursor: pointer;
    gap: 12px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.option-row-price-badge {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    background: transparent;
    padding: 2px 6px;
    border-radius: 6px;
    white-space: nowrap;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

/* ==========================================================================
   BARRE DE RECHERCHE D'OPTIONS (STYLE PREMIUM)
   ========================================================================== */
.option-search-container {
    position: relative;
    margin: 8px 0 10px 0;
    width: 100%;
}

.option-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.92rem;
    pointer-events: none;
}

.option-search-input {
    width: 100%;
    height: 40px;
    padding: 0 14px 0 38px !important;
    background: var(--bg-subtle) !important;
    color: var(--text-primary) !important;
    border: 1.5px solid var(--border-subtle) !important;
    border-radius: 12px !important;
    font-size: 0.88rem !important;
    font-family: inherit;
    transition: all 0.2s ease;
    outline: none !important;
    box-sizing: border-box;
}

.option-search-input:focus {
    border-color: var(--fiche-color) !important;
    background: var(--bg-surface) !important;
    box-shadow: 0 0 0 3px rgba(var(--fiche-color-rgb), 0.18) !important;
}

/* ==========================================================================
   LISTE D'OPTIONS & CARTES DE SÉLECTION (STYLE GOURMET PRO)
   ========================================================================== */
.qty-options-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 360px;
    overflow-y: auto;
    padding-right: 4px;
    margin-top: 8px;
}

.option-row-item {
    background: var(--bg-surface);
    border: 1.5px solid var(--border-subtle);
    border-radius: 14px;
    padding: 11px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.option-row-item label,
.option-row-item .option-row-label,
.option-row-item .option-row-info,
.option-row-item .option-row-name,
.option-row-item:hover label,
.option-row-item:hover .option-row-label,
.option-row-item:hover .option-row-info,
.option-row-item:hover .option-row-name,
.option-row-item.active label,
.option-row-item.active .option-row-label,
.option-row-item.active .option-row-info,
.option-row-item.active .option-row-name,
.option-row-item.active:hover label,
.option-row-item.active:hover .option-row-label,
.option-row-item.active:hover .option-row-info,
.option-row-item.active:hover .option-row-name {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.option-row-item:hover {
    border-color: rgba(var(--fiche-color-rgb), 0.5);
    background: var(--bg-subtle);
}

.option-row-item.active {
    border-color: var(--fiche-color) !important;
    background: rgba(var(--fiche-color-rgb), 0.10) !important;
    box-shadow: 0 3px 12px rgba(var(--fiche-color-rgb), 0.16) !important;
}

.option-row-item.active:hover {
    background: rgba(var(--fiche-color-rgb), 0.16) !important;
    border-color: var(--fiche-color) !important;
}

.option-row-item .option-row-name span,
.option-row-item.active .option-row-name span,
body.dark-mode .option-row-item.active .option-row-name span,
body.dark-mode .option-row-item.active label span {
    color: var(--text-primary) !important;
    font-weight: 700 !important;
}

.option-row-item.active .option-row-price-badge,
.option-row-item.active .option-row-price {
    color: var(--fiche-color) !important;
    font-weight: 800 !important;
}

.option-radio-indicator {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--border-subtle);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--bg-surface);
}

.option-radio-indicator::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffffff;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.option-row-item.active .option-radio-indicator {
    border-color: var(--fiche-color) !important;
    background: var(--fiche-color) !important;
}

.option-row-item.active .option-radio-indicator::after {
    opacity: 1;
    transform: scale(1);
}

.option-row-thumb {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.option-row-item.hidden-search {
    display: none !important;
}

.option-row-info {
    flex: 1;
    min-width: 0;
}

.option-row-name {
    font-weight: 700;
    font-size: 0.94rem;
    color: var(--text-primary);
    line-height: 1.25;
    display: flex;
    align-items: center;
    gap: 6px;
}

.option-row-price {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 3px;
}

.option-row-item.active .option-row-price {
    color: var(--fiche-color);
    font-weight: 700;
}

.info-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 2px;
}

.info-trigger:hover {
    background: var(--fiche-color);
    color: #ffffff;
    transform: scale(1.1);
}

.option-desc-block {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.45;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px dashed var(--border-subtle);
    display: none;
}

/* Contrôles de Quantité pour Options */
.option-row-controls {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--bg-subtle);
    border: 1.5px solid var(--border-subtle);
    border-radius: 10px;
    padding: 3px;
    flex-shrink: 0;
}

.btn-qty-adj {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    border: none;
    background: var(--bg-surface);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.btn-qty-adj:hover {
    background: var(--fiche-color);
    color: #ffffff;
    transform: scale(1.06);
}

.btn-qty-adj:active {
    transform: scale(0.92);
}

.row-qty-display {
    min-width: 24px;
    text-align: center;
    font-weight: 800;
    font-size: 0.92rem;
    color: var(--text-primary);
}

.option-row-item.active .row-qty-display {
    color: var(--fiche-color);
}

/* Modal Footer & Modern Stepper */
.modal-footer {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 24px;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-subtle);
    flex-shrink: 0;
}

.quantity-stepper {
    display: flex;
    align-items: center;
    background: var(--bg-subtle);
    border: 1.5px solid var(--border-subtle);
    border-radius: 50px;
    padding: 4px;
    gap: 4px;
}

.btn-stepper {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-surface);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-stepper:hover {
    background: var(--fiche-color);
    color: #ffffff;
    border-color: var(--fiche-color);
}

.btn-stepper:active {
    transform: scale(0.92);
}

.stepper-value {
    min-width: 28px;
    text-align: center;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary);
}

.add-to-cart-btn {
    flex: 1;
    height: 48px;
    border-radius: 50px;
    background: var(--fiche-color);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(var(--fiche-color-rgb), 0.35);
    margin: 0 !important;
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(var(--fiche-color-rgb), 0.45);
}

/* ==========================================================================
   9. RESPONSIVE MOBILE
   ========================================================================== */
@media (max-width: 767.98px) {
    .product-card-content { display: flex !important; flex-direction: row !important; align-items: stretch !important; padding: 10px !important; gap: 10px !important; }
    .product-image-wrapper { width: 80px !important; min-width: 80px !important; height: 80px !important; border-radius: 10px !important; align-self: center !important; }
    .plat-div.no-image { min-height: auto !important; height: auto !important; }
    .plat-div.no-image .product-card-content { padding: 10px 12px !important; }
    .plat-titre { font-size: 0.95rem !important; }
    .plat-desc { font-size: 0.78rem !important; height: calc(1.35 * 0.78rem * 2) !important; max-height: calc(1.35 * 0.78rem * 2) !important; -webkit-line-clamp: 2 !important; margin: 0 0 0px 0 !important; }
    .plat-prix { font-size: 0.9rem !important; }
    
    .click-collect-modal {
        max-height: 85vh !important;
        border-radius: 20px !important;
        width: 95% !important;
    }
    
    .product-carousel-wrapper {
        width: 100px !important;
        min-width: 100px !important;
    }
    
    .modal-content-wrapper { padding: 18px 16px; }
    .modal-footer { padding: 12px 16px; }
    
    .variation-options {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .menu-search-input { height: 44px; font-size: 0.88rem; }
    .category-link { padding: 7px 14px; font-size: 0.82rem; }
    .floating-cart-dock { bottom: 15px; }
    .cart-dock-btn { padding: 9px 16px 9px 12px; font-size: 0.9rem; }
}

/* -------------------------------------------------------------
   NOUVELLE SCÈNE ANIMÉE "GOURMET CITY ODYSSEY" (CHOIX DU MODE)
------------------------------------------------------------- */

/* -------------------------------------------------------------
   ANIMATIONS DES PERSONNAGES GOURMANDS QUI DANSENT (SLIM BANNER)
------------------------------------------------------------- */
@keyframes danceWiggle {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-4px) rotate(3deg); }
}

@keyframes sideHop {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@keyframes armWaveLeft {
    0%, 100% { transform: rotate(-4deg); }
    50% { transform: rotate(18deg); }
}

@keyframes armWaveRight {
    0%, 100% { transform: rotate(4deg); }
    50% { transform: rotate(-18deg); }
}

@keyframes starPulse {
    0%, 100% { transform: scale(0.8); opacity: 0.4; }
    50% { transform: scale(1.3); opacity: 1; }
}

@keyframes fryPop {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* Classes appliquées sur les conteneurs internes (ne touchent pas au translate du conteneur parent) */
.anim-dance-wiggle {
    animation: danceWiggle 1.4s ease-in-out infinite;
    transform-origin: center bottom;
}

.anim-side-hop {
    animation: sideHop 1.2s ease-in-out infinite 0.2s;
    transform-origin: center bottom;
}

.anim-side-hop-alt {
    animation: sideHop 1.3s ease-in-out infinite 0.5s;
    transform-origin: center bottom;
}

.anim-arm-left {
    animation: armWaveLeft 1.4s ease-in-out infinite;
    transform-box: fill-box;
    transform-origin: right bottom;
}

.anim-arm-right {
    animation: armWaveRight 1.4s ease-in-out infinite;
    transform-box: fill-box;
    transform-origin: left bottom;
}

.fry-stick.f1 { animation: fryPop 1.1s ease-in-out infinite 0.1s; }
.fry-stick.f2 { animation: fryPop 1.3s ease-in-out infinite 0.3s; }
.fry-stick.f3 { animation: fryPop 1.2s ease-in-out infinite 0.2s; }

.star-pop.p1 { animation: starPulse 1.6s ease-in-out infinite; }
.star-pop.p2 { animation: starPulse 2.0s ease-in-out infinite 0.6s; }
.star-pop.p3 { animation: starPulse 1.8s ease-in-out infinite 1.2s; }
