/* ========================================
   BOUTONS DE CATÉGORIES BOUTIQUE
   ======================================== */

.product-categories-buttons {
    margin: 40px 0;
    padding: 30px 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.category-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 180px;
}

.category-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-color: #666;
}

/* Style pour le bouton actif (catégorie sélectionnée) */
.category-button.active {
    background: #333;
    border-color: #333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.category-button.active .category-name {
    color: #fff;
    font-weight: 700;
}

.category-button.active .category-count {
    color: #ddd;
}

.category-button.active:hover {
    transform: translateY(-5px);
    background: #000;
    border-color: #000;
}

.category-button .category-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
}

.category-button .category-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.category-button:hover .category-name {
    color: #000;
}

.category-button .category-count {
    font-size: 14px;
    color: #777;
    font-weight: 400;
}

/* Responsive */
@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .product-categories-buttons {
        padding: 20px 10px;
        margin: 20px 0;
    }
    
    .category-button {
        padding: 20px 10px;
        min-height: 150px;
    }
    
    .category-button .category-image {
        width: 60px;
        height: 60px;
    }
    
    .category-button .category-name {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
}
