/* FORCE ABSOLUTE - Styles with maximum possible specificity */
/* This file uses the highest possible CSS specificity to override all existing styles */

/* Reset Bootstrap and Impact styles completely */
html body main section,
html body section,
body main section,
body section,
main section,
section {
    all: unset !important;
    display: block !important;
    box-sizing: border-box !important;
}

/* Force Hero Section */
html[lang] body main section.modern-hero-section[class],
html[lang] body section.modern-hero-section[class],
html body main section.modern-hero-section[class],
html body section.modern-hero-section[class] {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
    min-height: 90vh !important;
    display: flex !important;
    align-items: center !important;
    padding: 4rem 0 6rem 0 !important;
    padding-top: 60px !important;
    margin: 0 !important;
    margin-top: 80px !important;
    width: 100% !important;
    position: relative !important;
    z-index: 1 !important;
}

/* Force Hero Title */
html[lang] body main section h1.modern-hero-title[class],
html[lang] body section h1.modern-hero-title[class],
html body main section h1.modern-hero-title[class],
html body section h1.modern-hero-title[class] {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 3.5rem !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    text-align: center !important;
    margin: 0 0 1.5rem 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.025em !important;
}

/* Force Hero Subtitle */
html[lang] body main section p.modern-hero-subtitle[class],
html[lang] body section p.modern-hero-subtitle[class],
html body main section p.modern-hero-subtitle[class],
html body section p.modern-hero-subtitle[class] {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 1.25rem !important;
    color: #6b7280 !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.6 !important;
}

/* Force Search Container */
html[lang] body main section div.modern-search-container[class],
html[lang] body section div.modern-search-container[class],
html body main section div.modern-search-container[class],
html body section div.modern-search-container[class] {
    background: white !important;
    border-radius: 12px !important;
    padding: 2.5rem !important;
    margin: 3rem auto 0 auto !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
    max-width: none !important;
    width: 100% !important;
    position: relative !important;
    z-index: 2 !important;
}

/* Force Search Form */
html[lang] body main section form.modern-search-form[class],
html[lang] body section form.modern-search-form[class],
html body main section form.modern-search-form[class],
html body section form.modern-search-form[class] {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Force Search Inputs Wrapper */
html[lang] body main section div.search-inputs-wrapper[class],
html[lang] body section div.search-inputs-wrapper[class],
html body main section div.search-inputs-wrapper[class],
html body section div.search-inputs-wrapper[class] {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 1rem !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
}

/* Force Search Input Groups */
html[lang] body main section div.search-input-group[class],
html[lang] body section div.search-input-group[class],
html body main section div.search-input-group[class],
html body section div.search-input-group[class] {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    flex: 1 !important;
    min-width: 0 !important;
    margin: 0 !important;
}

/* Force Modern Select */
html[lang] body main section select.modern-select[class],
html[lang] body section select.modern-select[class],
html body main section select.modern-select[class],
html body section select.modern-select[class] {
    width: 100% !important;
    padding: 1rem 1rem 1rem 3rem !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    background: white !important;
    color: #1a1a1a !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e") !important;
    background-position: right 0.5rem center !important;
    background-repeat: no-repeat !important;
    background-size: 1.5em 1.5em !important;
}

/* Force Modern Input */
html[lang] body main section input.modern-input[class],
html[lang] body section input.modern-input[class],
html body main section input.modern-input[class],
html body section input.modern-input[class] {
    width: 100% !important;
    padding: 1rem 1rem 1rem 3rem !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    background: white !important;
    color: #1a1a1a !important;
}

/* Force Search Button */
html[lang] body main section button.modern-search-btn[class],
html[lang] body section button.modern-search-btn[class],
html body main section button.modern-search-btn[class],
html body section button.modern-search-btn[class] {
    background: #F3324C !important;
    color: white !important;
    padding: 1rem 2rem !important;
    border-radius: 12px !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    border: none !important;
    width: 100% !important;
    min-height: 60px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

/* Force Search Button Hover */
html[lang] body main section button.modern-search-btn[class]:hover,
html[lang] body section button.modern-search-btn[class]:hover,
html body main section button.modern-search-btn[class]:hover,
html body section button.modern-search-btn[class]:hover {
    background: #e02a42 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
}

/* Force Featured Restaurants Section */
html[lang] body main section.featured-restaurants-section[class],
html[lang] body section.featured-restaurants-section[class],
html body main section.featured-restaurants-section[class],
html body section.featured-restaurants-section[class] {
    background: #f9fafb !important;
    padding: 5rem 0 !important;
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* Force Section Titles */
html[lang] body main section h2.section-title[class],
html[lang] body section h2.section-title[class],
html body main section h2.section-title[class],
html body section h2.section-title[class] {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin: 0 0 1rem 0 !important;
    text-align: center !important;
    line-height: 1.2 !important;
}

/* Force Section Subtitles */
html[lang] body main section p.section-subtitle[class],
html[lang] body section p.section-subtitle[class],
html body main section p.section-subtitle[class],
html body section p.section-subtitle[class] {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 1.125rem !important;
    color: #6b7280 !important;
    text-align: center !important;
    margin: 0 0 3rem 0 !important;
    line-height: 1.6 !important;
}

/* Force Restaurant Grid */
html[lang] body main section div.restaurants-grid[class],
html[lang] body section div.restaurants-grid[class],
html body main section div.restaurants-grid[class],
html body section div.restaurants-grid[class] {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 2rem !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Force Restaurant Cards */
html[lang] body main section div.restaurant-card[class],
html[lang] body section div.restaurant-card[class],
html body main section div.restaurant-card[class],
html body section div.restaurant-card[class] {
    background: white !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    position: relative !important;
}

/* Force Restaurant Card Hover */
html[lang] body main section div.restaurant-card[class]:hover,
html[lang] body section div.restaurant-card[class]:hover,
html body main section div.restaurant-card[class]:hover,
html body section div.restaurant-card[class]:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
}

/* Force Restaurant Card Images */
html[lang] body main section div.restaurant-card img.restaurant-image[class],
html[lang] body section div.restaurant-card img.restaurant-image[class],
html body main section div.restaurant-card img.restaurant-image[class],
html body section div.restaurant-card img.restaurant-image[class] {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}

/* Force Restaurant Card Content */
html[lang] body main section div.restaurant-card div.card-content[class],
html[lang] body section div.restaurant-card div.card-content[class],
html body main section div.restaurant-card div.card-content[class],
html body section div.restaurant-card div.card-content[class] {
    padding: 1.5rem !important;
    margin: 0 !important;
    background: white !important;
}

/* Force Restaurant Names */
html[lang] body main section h3.restaurant-name[class],
html[lang] body section h3.restaurant-name[class],
html body main section h3.restaurant-name[class],
html body section h3.restaurant-name[class] {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    margin: 0 0 0.5rem 0 !important;
    line-height: 1.4 !important;
}

/* Force Restaurant Meta */
html[lang] body main section div.restaurant-meta[class],
html[lang] body section div.restaurant-meta[class],
html body main section div.restaurant-meta[class],
html body section div.restaurant-meta[class] {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    margin: 0 0 1rem 0 !important;
    flex-wrap: wrap !important;
}

/* Force Restaurant Rating */
html[lang] body main section div.restaurant-rating[class],
html[lang] body section div.restaurant-rating[class],
html body main section div.restaurant-rating[class],
html body section div.restaurant-rating[class] {
    display: flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
    margin: 0 !important;
}

/* Force Star Icons */
html[lang] body main section i.fas.fa-star[class],
html[lang] body section i.fas.fa-star[class],
html body main section i.fas.fa-star[class],
html body section i.fas.fa-star[class] {
    color: #fbbf24 !important;
    font-size: 0.875rem !important;
}

/* Force Popular Badge */
html[lang] body main section span.popular-badge[class],
html[lang] body section span.popular-badge[class],
html body main section span.popular-badge[class],
html body section span.popular-badge[class] {
    background: #F3324C !important;
    color: white !important;
    padding: 0.25rem 0.75rem !important;
    border-radius: 9999px !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

/* Force Time Slots */
html[lang] body main section div.time-slots[class],
html[lang] body section div.time-slots[class],
html body main section div.time-slots[class],
html body section div.time-slots[class] {
    display: flex !important;
    gap: 0.5rem !important;
    margin: 1rem 0 !important;
    flex-wrap: wrap !important;
}

/* Force Time Slot Buttons */
html[lang] body main section button.time-slot[class],
html[lang] body section button.time-slot[class],
html body main section button.time-slot[class],
html body section button.time-slot[class] {
    background: #f3f4f6 !important;
    color: #374151 !important;
    border: 1px solid #d1d5db !important;
    border-radius: 6px !important;
    padding: 0.5rem 1rem !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

/* Force Time Slot Hover */
html[lang] body main section button.time-slot[class]:hover,
html[lang] body section button.time-slot[class]:hover,
html body main section button.time-slot[class]:hover,
html body section button.time-slot[class]:hover {
    background: #F3324C !important;
    color: white !important;
    border-color: #F3324C !important;
}

/* Force Reserve Button */
html[lang] body main section a.reserve-btn[class],
html[lang] body section a.reserve-btn[class],
html body main section a.reserve-btn[class],
html body section a.reserve-btn[class] {
    background: #F3324C !important;
    color: white !important;
    text-decoration: none !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    text-align: center !important;
    display: inline-block !important;
    transition: all 0.2s ease !important;
    width: 100% !important;
    margin: 1rem 0 0 0 !important;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    border: none !important;
}

/* Force Reserve Button Hover */
html[lang] body main section a.reserve-btn[class]:hover,
html[lang] body section a.reserve-btn[class]:hover,
html body main section a.reserve-btn[class]:hover,
html body section a.reserve-btn[class]:hover {
    background: #e02a42 !important;
    transform: translateY(-1px) !important;
}

/* CORRECTION ABSOLUE POUR NAVBAR FIXE - SPÉCIFICITÉ MAXIMALE ABSOLUE */

/* Fix pour la navbar fixe qui cache le titre hero - spécificité ultime */
html[lang] body main section.modern-hero-section[class],
html[lang] body section.modern-hero-section[class],
html body main section.modern-hero-section[class],
html body section.modern-hero-section[class] {
    margin-top: 80px !important;
    padding-top: 60px !important;
}

/* Fix spécifique pour le titre hero avec spécificité ultime */
html[lang] body main section.modern-hero-section[class] h1.modern-hero-title[class],
html[lang] body section.modern-hero-section[class] h1.modern-hero-title[class],
html body main section.modern-hero-section[class] h1.modern-hero-title[class],
html body section.modern-hero-section[class] h1.modern-hero-title[class] {
    margin-top: 20px !important;
    padding-top: 20px !important;
    position: relative !important;
    z-index: 10 !important;
}

/* Fix pour la première section hero */
html[lang] body main section.modern-hero-section[class]:first-of-type,
html[lang] body section.modern-hero-section[class]:first-of-type,
html body main section.modern-hero-section[class]:first-of-type,
html body section.modern-hero-section[class]:first-of-type {
    margin-top: 80px !important;
    padding-top: 60px !important;
}

/* Ajustements responsifs pour mobile avec spécificité ultime */
@media (max-width: 768px) {
    html[lang] body main section.modern-hero-section[class],
    html[lang] body section.modern-hero-section[class],
    html body main section.modern-hero-section[class],
    html body section.modern-hero-section[class] {
        margin-top: 70px !important;
        padding-top: 50px !important;
    }
    
    html[lang] body main section.modern-hero-section[class] h1.modern-hero-title[class],
    html[lang] body section.modern-hero-section[class] h1.modern-hero-title[class],
    html body main section.modern-hero-section[class] h1.modern-hero-title[class],
    html body section.modern-hero-section[class] h1.modern-hero-title[class] {
        margin-top: 15px !important;
        padding-top: 15px !important;
    }
    
    html[lang] body main section.modern-hero-section[class]:first-of-type,
    html[lang] body section.modern-hero-section[class]:first-of-type,
    html body main section.modern-hero-section[class]:first-of-type,
    html body section.modern-hero-section[class]:first-of-type {
        margin-top: 70px !important;
        padding-top: 50px !important;
    }
}

/* Assurer que la navbar reste au-dessus du contenu */
html[lang] body nav.navbar.fixed-top[class],
html body nav.navbar.fixed-top[class] {
    z-index: 1030 !important;
    position: fixed !important;
    top: 0 !important;
    width: 100% !important;
}

/* Assurer que le contenu principal a le bon z-index */
html[lang] body main[class],
html body main[class] {
    position: relative !important;
    z-index: 1 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    html[lang] body main section div.modern-search-container[class],
    html[lang] body section div.modern-search-container[class],
    html body main section div.modern-search-container[class],
    html body section div.modern-search-container[class] {
        width: 95% !important;
        padding: 2rem !important;
        margin: 2rem auto 0 auto !important;
    }
    
    html[lang] body main section h1.modern-hero-title[class],
    html body main section h1.modern-hero-title[class] {
        font-size: 2.5rem !important;
    }
    
    html[lang] body main section div.search-inputs-wrapper[class],
    html body main section div.search-inputs-wrapper[class] {
        grid-template-columns: 1fr 1fr !important;
    }
    
    html[lang] body main section div.restaurants-grid[class],
    html body main section div.restaurants-grid[class] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
}

/* CONTENEUR DE RECHERCHE À 100% - SPÉCIFICITÉ ULTIME */

/* Conteneur de recherche utilise toute la largeur disponible */
html[lang] body main section div.modern-search-container[class],
html[lang] body section div.modern-search-container[class],
html body main section div.modern-search-container[class],
html body section div.modern-search-container[class] {
    width: 100% !important;
    max-width: none !important;
    padding: 2.5rem !important;
    margin: 3rem auto 0 auto !important;
}

/* Force individual input groups to take equal width */
html[lang] body main section div.search-input-group[class],
html[lang] body section div.search-input-group[class],
html body main section div.search-input-group[class],
html body section div.search-input-group[class] {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    flex: 1 !important;
    min-width: 0 !important;
    margin: 0 !important;
}

/* Force inputs to take full width of their container */
html[lang] body main section select.modern-select[class],
html[lang] body main section input.modern-input[class],
html[lang] body section select.modern-select[class],
html[lang] body section input.modern-input[class],
html body main section select.modern-select[class],
html body main section input.modern-input[class],
html body section select.modern-select[class],
html body section input.modern-input[class] {
    width: 100% !important;
    padding: 1rem 1rem 1rem 3rem !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    background: white !important;
    color: #1a1a1a !important;
    flex-shrink: 0 !important;
    min-width: 150px !important;
}

/* Responsive behavior for mobile - still single row but smaller inputs */
@media (max-width: 768px) {
    html[lang] body main section div.search-inputs-wrapper[class],
    html[lang] body section div.search-inputs-wrapper[class],
    html body main section div.search-inputs-wrapper[class],
    html body section div.search-inputs-wrapper[class] {
        gap: 0.5rem !important;
    }
    
    html[lang] body main section select.modern-select[class],
    html[lang] body main section input.modern-input[class],
    html[lang] body section select.modern-select[class],
    html[lang] body section input.modern-input[class],
    html body main section select.modern-select[class],
    html body main section input.modern-input[class],
    html body section select.modern-select[class],
    html body section input.modern-input[class] {
        padding: 0.8rem 0.8rem 0.8rem 2.5rem !important;
        font-size: 0.9rem !important;
        min-width: 120px !important;
    }
}

/* For very small screens, maintain single row with horizontal scroll if needed */
@media (max-width: 480px) {
    html[lang] body main section div.search-inputs-wrapper[class],
    html[lang] body section div.search-inputs-wrapper[class],
    html body main section div.search-inputs-wrapper[class],
    html body section div.search-inputs-wrapper[class] {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }
    
    html[lang] body main section div.search-inputs-wrapper[class]::-webkit-scrollbar,
    html[lang] body section div.search-inputs-wrapper[class]::-webkit-scrollbar,
    html body main section div.search-inputs-wrapper[class]::-webkit-scrollbar,
    html body section div.search-inputs-wrapper[class]::-webkit-scrollbar {
        display: none !important;
    }
    
    html[lang] body main section select.modern-select[class],
    html[lang] body main section input.modern-input[class],
    html[lang] body section select.modern-select[class],
    html[lang] body section input.modern-input[class],
    html body main section select.modern-select[class],
    html body main section input.modern-input[class],
    html body section select.modern-select[class],
    html body section input.modern-input[class] {
        min-width: 100px !important;
        flex-shrink: 0 !important;
    }
}

/* Fix scroll indicator positioning - en bas de la section, plus espacé */
html[lang] body main section div.scroll-indicator-container[class],
html[lang] body section div.scroll-indicator-container[class],
html body main section div.scroll-indicator-container[class],
html body section div.scroll-indicator-container[class] {
    position: absolute !important;
    bottom: 1rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 10 !important;
    width: auto !important;
}

html[lang] body main section a.scroll-indicator[class],
html[lang] body section a.scroll-indicator[class],
html body main section a.scroll-indicator[class],
html body section a.scroll-indicator[class] {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 50px !important;
    height: 50px !important;
    background-color: var(--primary-color) !important;
    color: white !important;
    border-radius: 50% !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(243, 50, 76, 0.3) !important;
    position: relative !important;
    animation: bounce 2s infinite !important;
}

html[lang] body main section a.scroll-indicator[class]:hover,
html[lang] body section a.scroll-indicator[class]:hover,
html body main section a.scroll-indicator[class]:hover,
html body section a.scroll-indicator[class]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(243, 50, 76, 0.4) !important;
    color: white !important;
    text-decoration: none !important;
}

html[lang] body main section a.scroll-indicator[class] i,
html[lang] body section a.scroll-indicator[class] i,
html body main section a.scroll-indicator[class] i,
html body section a.scroll-indicator[class] i {
    font-size: 16px !important;
    color: white !important;
}

/* Animation bounce pour l'indicateur */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Assurer que la section hero a position relative pour l'indicateur */
html[lang] body main section.modern-hero-section[class],
html[lang] body section.modern-hero-section[class],
html body main section.modern-hero-section[class],
html body section.modern-hero-section[class] {
    position: relative !important;
    overflow: visible !important;
}

/* Ajouter plus d'espacement en bas de la section hero pour l'indicateur */
html[lang] body main section.modern-hero-section[class],
html[lang] body section.modern-hero-section[class],
html body main section.modern-hero-section[class],
html body section.modern-hero-section[class] {
    padding-bottom: 5rem !important;
    margin-bottom: 2rem !important;
}

/* ========== FORCE ABSOLUE BENEFITS GRID - SPÉCIFICITÉ MAXIMALE ========== */

/* Style ultra-spécifique pour forcer les 4 cartes sur la même ligne */
html[lang] body main section.modern-benefits-section div.benefits-grid,
html[lang] body section.modern-benefits-section div.benefits-grid,
html body main section.modern-benefits-section div.benefits-grid,
html body section.modern-benefits-section div.benefits-grid,
body main section.modern-benefits-section div.benefits-grid,
body section.modern-benefits-section div.benefits-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.5rem !important;
    margin-top: 3rem !important;
    width: 100% !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* Assurer que chaque carte prend l'espace disponible */
html[lang] body main section.modern-benefits-section div.benefits-grid div.benefit-card,
html[lang] body section.modern-benefits-section div.benefits-grid div.benefit-card,
html body main section.modern-benefits-section div.benefits-grid div.benefit-card,
html body section.modern-benefits-section div.benefits-grid div.benefit-card,
body main section.modern-benefits-section div.benefits-grid div.benefit-card,
body section.modern-benefits-section div.benefits-grid div.benefit-card {
    min-width: 0 !important;
    width: 100% !important;
    height: auto !important;
    min-height: 300px !important;
    box-sizing: border-box !important;
}

/* Responsive pour les écrans moyens (tablettes) - SEULEMENT EN DESSOUS DE 992px */
@media (max-width: 991px) {
    html[lang] body main section.modern-benefits-section div.benefits-grid,
    html[lang] body section.modern-benefits-section div.benefits-grid,
    html body main section.modern-benefits-section div.benefits-grid,
    html body section.modern-benefits-section div.benefits-grid,
    body main section.modern-benefits-section div.benefits-grid,
    body section.modern-benefits-section div.benefits-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
}

/* Responsive pour les petits écrans (mobiles) */
@media (max-width: 768px) {
    html[lang] body main section.modern-benefits-section div.benefits-grid,
    html[lang] body section.modern-benefits-section div.benefits-grid,
    html body main section.modern-benefits-section div.benefits-grid,
    html body section.modern-benefits-section div.benefits-grid,
    body main section.modern-benefits-section div.benefits-grid,
    body section.modern-benefits-section div.benefits-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
}

/* ========== FIN FORCE ABSOLUE BENEFITS GRID ========== */

/* ========== FORCE ULTRA SPÉCIFIQUE - 4 COLONNES ========== */

/* RÈGLE ULTRA-SPÉCIFIQUE pour forcer 4 colonnes */
html[lang="fr"] body.bg-body main section.modern-benefits-section.py-5.bg-gradient-light div.container div.benefits-grid,
html[lang="fr"] body main section.modern-benefits-section.py-5 div.container div.benefits-grid,
html[lang] body.bg-body main section.modern-benefits-section div.container div.benefits-grid,
html[lang] body main section.modern-benefits-section div.container div.benefits-grid,
html body.bg-body main section.modern-benefits-section div.benefits-grid,
html body main section.modern-benefits-section div.benefits-grid,
body.bg-body main section.modern-benefits-section div.benefits-grid,
body main section.modern-benefits-section div.benefits-grid,
main section.modern-benefits-section div.benefits-grid,
section.modern-benefits-section div.benefits-grid,
div.benefits-grid.benefits-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    grid-template-columns: 1fr 1fr 1fr 1fr !important;
    gap: 1.5rem !important;
    grid-gap: 1.5rem !important;
    width: 100% !important;
    margin: 2rem 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* Force chaque carte individuelle */
html[lang] body main section.modern-benefits-section div.benefits-grid > div.benefit-card,
html body main section.modern-benefits-section div.benefits-grid > div.benefit-card,
body main section.modern-benefits-section div.benefits-grid > div.benefit-card,
main section.modern-benefits-section div.benefits-grid > div.benefit-card,
section.modern-benefits-section div.benefits-grid > div.benefit-card,
div.benefits-grid > div.benefit-card {
    grid-column: span 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    flex: none !important;
    box-sizing: border-box !important;
}

/* ========== FIN FORCE ULTRA SPÉCIFIQUE ========== */

/* ========== TITRE "SOLUTION TOUT-EN-UN" - FIX ESPACEMENT ========== */

/* Titre de la section Benefits avec plus d'espacement */
html[lang] body main section.modern-benefits-section h2.section-title,
html[lang] body section.modern-benefits-section h2.section-title,
html body main section.modern-benefits-section h2.section-title,
html body section.modern-benefits-section h2.section-title {
    margin-top: 3rem !important; /* Plus d'espace au-dessus du titre */
    padding-top: 2rem !important; /* Padding supplémentaire */
    margin-bottom: 1.5rem !important;
    font-size: 2.75rem !important; /* Légèrement plus grand */
    line-height: 1.2 !important;
}

/* Container header avec plus d'espacement */
html[lang] body main section.modern-benefits-section .text-center.mb-5,
html[lang] body section.modern-benefits-section .text-center.mb-5,
html body main section.modern-benefits-section .text-center.mb-5,
html body section.modern-benefits-section .text-center.mb-5 {
    margin-bottom: 4rem !important; /* Plus d'espace après l'en-tête */
    padding-top: 2rem !important;
}

/* ========== FIN FIX ESPACEMENT TITRE ========== */

/* ========== FORCE ULTRA-SPÉCIFIQUE POUR RESTAURANTS PAGE ========== */

/* FORCE FEATURED RESTAURANTS SECTION TO OVERRIDE BOOTSTRAP */
html[lang] body main section#featured-restaurants[class],
html[lang] body section#featured-restaurants[class],
html body main section#featured-restaurants[class],
html body section#featured-restaurants[class],
html[lang] body main section.featured-restaurants-section[class],
html[lang] body section.featured-restaurants-section[class],
html body main section.featured-restaurants-section[class],
html body section.featured-restaurants-section[class] {
    background: #f9fafb !important;
    padding: 5rem 0 !important;
    margin: 0 !important;
    width: 100% !important;
    position: relative !important;
    z-index: 1 !important;
    display: block !important;
}

/* FORCE RESTAURANTS GRID TO OVERRIDE BOOTSTRAP ROW/COL - MAXIMUM SPECIFICITY */
html[lang] body main section div.restaurants-grid[class*="restaurants"],
html[lang] body section div.restaurants-grid[class*="restaurants"],
html body main section div.restaurants-grid[class*="restaurants"],
html body section div.restaurants-grid[class*="restaurants"],
html[lang] body main section div.restaurants-grid[class],
html[lang] body section div.restaurants-grid[class],
html body main section div.restaurants-grid[class],
html body section div.restaurants-grid[class] {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 2rem !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: none !important;
    flex: none !important;
    position: relative !important;
    box-sizing: border-box !important;
}

/* FORCE RESTAURANT CARD TO OVERRIDE BOOTSTRAP CARD - MAXIMUM SPECIFICITY */
html[lang] body main section div.restaurant-card[class*="restaurant"],
html[lang] body section div.restaurant-card[class*="restaurant"],
html body main section div.restaurant-card[class*="restaurant"],
html body section div.restaurant-card[class*="restaurant"],
html[lang] body main section div.restaurant-card[class],
html[lang] body section div.restaurant-card[class],
html body main section div.restaurant-card[class],
html body section div.restaurant-card[class] {
    background: white !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
    border: 1px solid #e5e7eb !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: none !important;
    max-width: none !important;
    height: auto !important;
}

html[lang] body main section div.restaurant-card[class]:hover,
html[lang] body section div.restaurant-card[class]:hover,
html body main section div.restaurant-card[class]:hover,
html body section div.restaurant-card[class]:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

/* FORCE RESTAURANT IMAGE */
html[lang] body main section img.restaurant-image[class],
html[lang] body section img.restaurant-image[class],
html body main section img.restaurant-image[class],
html body section img.restaurant-image[class] {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
}

/* FORCE CARD CONTENT */
html[lang] body main section div.card-content[class],
html[lang] body section div.card-content[class],
html body main section div.card-content[class],
html body section div.card-content[class] {
    padding: 1.5rem !important;
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
}

/* FORCE RESTAURANT NAME */
html[lang] body main section h3.restaurant-name[class],
html[lang] body section h3.restaurant-name[class],
html body main section h3.restaurant-name[class],
html body section h3.restaurant-name[class] {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    margin: 0 0 1rem 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
    font-family: 'Poppins', sans-serif !important;
}

/* FORCE RESTAURANT META */
html[lang] body main section div.restaurant-meta[class],
html[lang] body section div.restaurant-meta[class],
html body main section div.restaurant-meta[class],
html body section div.restaurant-meta[class] {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 1rem !important;
    padding: 0 !important;
}

/* FORCE RESTAURANT RATING */
html[lang] body main section div.restaurant-rating[class],
html[lang] body section div.restaurant-rating[class],
html body main section div.restaurant-rating[class],
html body section div.restaurant-rating[class] {
    display: flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
    margin: 0 !important;
    padding: 0 !important;
}

html[lang] body main section div.restaurant-rating[class] i,
html[lang] body section div.restaurant-rating[class] i,
html body main section div.restaurant-rating[class] i,
html body section div.restaurant-rating[class] i {
    color: #fbbf24 !important;
    font-size: 0.875rem !important;
}

/* FORCE POPULAR BADGE */
html[lang] body main section span.popular-badge[class],
html[lang] body section span.popular-badge[class],
html body main section span.popular-badge[class],
html body section span.popular-badge[class] {
    background: #F3324C !important;
    color: white !important;
    padding: 0.25rem 0.75rem !important;
    border-radius: 12px !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    margin: 0 !important;
}

/* FORCE TIME SLOTS */
html[lang] body main section div.time-slots[class],
html[lang] body section div.time-slots[class],
html body main section div.time-slots[class],
html body section div.time-slots[class] {
    display: flex !important;
    gap: 0.5rem !important;
    margin-bottom: 1.5rem !important;
    flex-wrap: wrap !important;
    padding: 0 !important;
}

html[lang] body main section button.time-slot[class],
html[lang] body section button.time-slot[class],
html body main section button.time-slot[class],
html body section button.time-slot[class] {
    padding: 0.5rem 0.75rem !important;
    background: #f9fafb !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 6px !important;
    font-size: 0.875rem !important;
    color: #1a1a1a !important;
    font-weight: 500 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    margin: 0 !important;
}

html[lang] body main section button.time-slot[class]:hover,
html[lang] body section button.time-slot[class]:hover,
html body main section button.time-slot[class]:hover,
html body section button.time-slot[class]:hover {
    background: #F3324C !important;
    color: white !important;
    border-color: #F3324C !important;
}

/* FORCE RESERVE BUTTON */
html[lang] body main section a.reserve-btn[class],
html[lang] body section a.reserve-btn[class],
html body main section a.reserve-btn[class],
html body section a.reserve-btn[class] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #F3324C !important;
    color: white !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    margin-top: auto !important;
    border: none !important;
    font-family: 'Poppins', sans-serif !important;
}

html[lang] body main section a.reserve-btn[class]:hover,
html[lang] body section a.reserve-btn[class]:hover,
html body main section a.reserve-btn[class]:hover,
html body section a.reserve-btn[class]:hover {
    background: #e02a42 !important;
    color: white !important;
    text-decoration: none !important;
    transform: translateY(-1px) !important;
}


/* OVERRIDE BOOTSTRAP CARDS ON RESTAURANTS PAGE - BUT NOT RESTAURANT CARDS */
html[lang] body main section div[class*="card"]:not(.restaurant-card),
html[lang] body section div[class*="card"]:not(.restaurant-card),
html body main section div[class*="card"]:not(.restaurant-card),
html body section div[class*="card"]:not(.restaurant-card) {
    all: unset !important;
    display: block !important;
}

/* FORCE RESTAURANT CARDS TO RESPECT GRID - ULTRA HIGH SPECIFICITY */
html[lang] body main section .restaurants-grid .restaurant-card,
html[lang] body section .restaurants-grid .restaurant-card,
html body main section .restaurants-grid .restaurant-card,
html body section .restaurants-grid .restaurant-card,
.restaurants-grid .restaurant-card {
    width: auto !important;
    max-width: none !important;
    flex: 1 !important;
    min-width: 0 !important;
}

/* ADDITIONAL GRID ENFORCEMENT */
html[lang] body main section .restaurants-grid,
html[lang] body section .restaurants-grid,
html body main section .restaurants-grid,
html body section .restaurants-grid,
section .restaurants-grid,
.restaurants-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.5rem !important;
    max-width: 1200px !important;
    margin: 2rem auto !important;
    padding: 0 1rem !important;
}

/* ========== FIN FORCE ULTRA-SPÉCIFIQUE RESTAURANTS ========== */
