/* ===================================================================
   MOBILE COMPARISON FIX - À charger en DERNIER
   =================================================================== */

@media (max-width: 767px) {
    /* FORCER le flex sur comparison (pas grid) */
    .comparison {
        display: flex !important;
        flex-direction: row !important;
        grid-template-columns: none !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        gap: 0.5rem !important;
        padding: 0 5% !important;
        margin: 0 -5% !important;
    }
    
    /* Cacher scrollbar */
    .comparison::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }
    
    /* Forcer largeur des cartes */
    .comparison-side {
        flex: 0 0 90% !important;
        min-width: 90% !important;
        max-width: 90% !important;
        width: 90% !important;
        scroll-snap-align: center !important;
        scroll-snap-stop: always !important;
        box-sizing: border-box !important;
    }
    
    /* Wrapper */
    .comparison-wrapper {
        overflow: hidden !important;
        margin: 0 -1.25rem !important;
        padding: 0 1.25rem !important;
    }
    
    /* Afficher dots */
    .comparison-dots {
        display: flex !important;
        justify-content: center !important;
        gap: 0.75rem !important;
        margin-top: 2rem !important;
    }
    
    .comparison-dots .dot {
        width: 10px !important;
        height: 10px !important;
        border-radius: 50% !important;
        background: #D1D5DB !important;
        transition: background 0.3s ease !important;
        cursor: pointer !important;
    }
    
    .comparison-dots .dot.active {
        background: var(--primary-color) !important;
    }
    
    /* Swipe hint */
    .swipe-hint {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.5rem !important;
        margin-top: 1rem !important;
        color: var(--text-secondary) !important;
        font-size: 0.875rem !important;
    }
}
