 /* Bouton de filtre fixe */
 .filter-fab {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FF6B35, #FF5100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
    cursor: pointer;
    z-index: 9998;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.filter-fab:hover {
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.6);
}

.filter-fab:active {
    transform: translateX(-50%) scale(0.95);
}

.filter-fab i {
    color: white;
    font-size: 24px;
}

/* Animation du bouton quand il approche du footer */
.filter-fab.hidden {
    transform: translateX(-50%) translateY(100px);
    opacity: 0;
    pointer-events: none;
}

/* Overlay d'ombre */
.filter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 9997;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.filter-overlay.active {
    display: block;
    opacity: 1;
}

/* Panneau de filtre */
.filter-panel {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    max-width: 500px;
    height: 80vh;
    background: white;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.filter-panel.active {
    bottom: 0;
}

/* Header du panneau */
.filter-header {
    padding: 20px;
    background: linear-gradient(135deg, #FF6B35, #FF5100);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.filter-title {
    font-size: 20px;
    font-weight: 600;
}

.close-filter {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.close-filter:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Contenu du filtre */
.filter-content {
    padding: 20px;
    height: calc(80vh - 80px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Section de filtre */
.filter-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.filter-section:last-child {
    border-bottom: none;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: #FF6B35;
}

/* Boutons de catégorie */
.category-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.category-btn {
    padding: 8px 16px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 14px;
    color: #555;
    cursor: pointer;
    transition: all 0.3s;
}

.category-btn:hover {
    background: #eee;
}

.category-btn.active {
    background: #FF6B35;
    color: white;
    border-color: #FF6B35;
}

/* Range slider pour les prix */
.price-range {
    padding: 0 10px;
}

.range-values {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.range-value {
    font-size: 14px;
    color: #666;
}
.plage-mc{
	margin-top: 20px; 
	text-align: center; 
	font-size: 14px; 
	color: #666;
}

.range-slider {
    width: 100%;
    height: 4px;
    background: #ddd;
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
}

.range-slider::-webkit-slider-thumb {
    width: 20px;
    height: 20px;
    background: #FF6B35;
    border-radius: 50%;
    cursor: pointer;
    -webkit-appearance: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.range-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #FF6B35;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

/* Options de tri */
.sort-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sort-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #f9f9f9;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.sort-option:hover {
    background: #f0f0f0;
}

.sort-option.active {
    background: rgba(255, 107, 53, 0.1);
    border-color: #FF6B35;
}

.sort-option input {
    display: none;
}

.sort-option .custom-radio {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 50%;
    position: relative;
}

.sort-option.active .custom-radio {
    border-color: #FF6B35;
}

.sort-option.active .custom-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #FF6B35;
    border-radius: 50%;
}

.sort-text {
    flex: 1;
    font-size: 14px;
    color: #333;
}

/* Taille */
.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.size-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    color: #555;
    cursor: pointer;
    transition: all 0.3s;
}

.size-btn:hover {
    background: #eee;
}

.size-btn.active {
    background: #FF6B35;
    color: white;
    border-color: #FF6B35;
}

/* Boutons d'action */
.filter-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.apply-btn {
    flex: 1;
    padding: 15px;
    background: #FF6B35;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.apply-btn:hover {
    background: #FF5100;
    transform: translateY(-2px);
}

.reset-btn {
    flex: 1;
    padding: 15px;
    background: #f5f5f5;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.reset-btn:hover {
    background: #eee;
}

/* Badge de compteur sur le bouton FAB */
.filter-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #FF3B30;
    color: white;
    font-size: 12px;
    font-weight: 600;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .filter-panel {
        max-width: 100%;
        height: 85vh;
    }
    
    .filter-content {
        height: calc(85vh - 80px);
    }
    
    .filter-fab {
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    .filter-fab {
        width: 56px;
        height: 56px;
    }
    
    .filter-fab i {
        font-size: 22px;
    }
    
    .filter-header {
        padding: 15px;
    }
    
    .filter-content {
        padding: 15px;
    }
    
    .category-buttons {
        gap: 8px;
    }
    
    .category-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .apply-btn,
    .reset-btn {
        padding: 12px;
        font-size: 15px;
    }
}

/* Animation du badge */
@keyframes badgePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.filter-badge.pulse {
    animation: badgePulse 0.3s ease;
}