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

.category-card {
    text-align: center;
    text-decoration: none;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-card img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 10px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card:hover img {
    transform: scale(1.05);
}

.category-name {
    font-size: clamp(14px, 3vw, 20px); /* Taille responsive entre 14px et 20px */
    font-weight: bold;
    margin-top: 8px;
    color: #222;
}

