/*
*  début style pour le shortcodes produit_coup_coeur
 */
#coup_coeur_slider.swiper{
    .swiper-slide{
        background: #F7F7F7 !important;
        padding: 40px;
        height: auto;
        display: flex    ;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;

        .product-image{
            display: block;
            margin: auto;
            aspect-ratio: 1/1;
        }

        .product-title {
            font-weight: 700;
            text-align: center;
            color: #000;
        }
        .product-price {
            text-align: center;
            color: #8D6C00;
        }
        .product-btn  {
            display: block;
            margin-top: 20px;
        }
        a.btn-produit {
            color: white;
            background-color: #407f00;
            padding: 5px 10px;
            margin-top: 20px;
            border: 1px solid #407f00;
            transition: all 500ms ease-in-out;
            cursor: pointer;
            display: flex;
            text-align: center;
            justify-content: center;
        }
        a.btn-produit:hover{
            color: #407f00;
            background-color: white;
        }
    }
}

.coup-coeur-product-button-next, .coup-coeur-product-button-prev {
    position: absolute;
    top: 50%;
    width: 27px;
    height: 44px;
    margin-top: -22px;
    z-index: 10;
    cursor: pointer;
    background-size: 27px 44px;
    background-position: center;
    background-repeat: no-repeat;
}

.coup-coeur-product-button-prev{
    background-image: url("/wp-content/uploads/prev-arrow.svg");
    left: auto ;
    right: 100%;
    margin-right: 20px;
}
.coup-coeur-product-button-next{
    background-image: url("/wp-content/uploads/next-arrow.svg");
    left: 100%;
    right: auto;
    margin-left: 20px;
}
/*
*  fin style pour le shortcodes produit_coup_coeur
 */

/*
*  début style pour le shortcodes infinite_text
 */
.infinite-text-wrapper{
    background-color: #3A554E;
    padding: 50px 0;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    position: relative;
    .infinite-text-content{
        display: flex;
        flex-direction: row;
        white-space: nowrap;
        width: max-content;
        gap: 30px;
        animation: scrollText 20s linear infinite;
    }
    .infinite-text{
        font-family: 'Dancing Script', sans-serif;
        font-size: clamp(1.25rem, 0.9606rem + 1.1574vw, 2.8125rem);
        line-height: 1.5em;
        display: flex;
        align-items: center;
        gap: 20px;
    }
    .color-white{
        color: white;
        width: fit-content;
    }
}

@keyframes scrollText {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 20px )); /* ajuster selon nb de clones */
    }
}
