/**
 * Styles pour le shortcode Gammes
 */

.gammes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-auto-rows: 380px;
    gap: 2rem;
    padding: 2rem 0;
}

.gammes-grid__item {
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.gammes-grid__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.gammes-grid__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gammes-grid__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #fff;
    font-family: "Garden Grown", cursive;
    font-size: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
    padding: 1rem;
    cursor: pointer;
}

.gammes-grid__overlay div.svg-icon-container {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.gammes-grid__overlay#boulangerie_gamme {
    background: #FEC44F;
}

.gammes-grid__overlay#viennoiserie_gamme {
    background: #F79446;
}

.gammes-grid__overlay#patisserie_gamme {
    background: #F15B73;
}

.gammes-grid__overlay#beignet_gamme {
    background: #F79446;
}

.gammes-grid__overlay#brioche_gamme {
    background: #F79446;
}

.gammes-grid__overlay#snacking_gamme {
    background: #FF7C69;
}

.gammes-grid__item:hover .gammes-grid__overlay {
    opacity: 1;
}

/* Exemple de média query pour responsive */
@media (max-width: 768px) {
    .gammes-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
        padding: 1rem 0;
    }

    .gammes-grid__item {
        /*padding: 1.5rem;*/
    }
}
