/* GENERAL */

.cross-selling {
    margin-right: 15px;
    margin-left: 15px;
}

.h2:before {
    background: url('../../../../themes/emiles/assets/img/emile_bleu.svg') no-repeat!important;
}

/* MODAL */

.modal-content {
    margin-left: auto;
    margin-right: auto;
}

#modal-finish-cart .modal-infos .col-4 {
    display: flex;
    align-items: center;
}

#modal-finish-cart .modal-infos {
    display: flex;
    padding: 30px 50px;
}

#modal-finish-cart a {
    text-decoration: none!important;
}

@media (width<576px) {
    #modal-finish-cart .modal-infos {
        width: 100%;
    }
    #modal-finish-cart .row {
        margin: 0!important;
    }
    #modal-finish-cart label {
        text-align: center;
    }
}

#modal-finish-cart .buttons {
    justify-content: center!important;
    width: unset!important;
    gap: 1.5em;
}

/* SLIDERS */

.slick-list {
    height: auto!important;
}



.linked_products .card {
    border-radius: 8px;
    width: 240px;
    background: #fff;
}

.linked_products object, .linked_products img {
    object-fit: contain;
    padding-bottom: 7px;
    height: 240px;
    width: 100%;
}

.linked_products img, .linked_products object, .linked_products .bloc-inner:before  {
    border-radius: 8px 8px 0 0!important;
}

.linked_products .card span {
    color: #005B89;
    font-weight: bold;
    padding: 20px;
}

.linked_products .bloc-inner:before {
    height: calc(100% - 7px)!important; /* le 7px est lié au padding de ".linked_products .bloc-inner, .linked_products .card" juste en dessous */
    padding-bottom: 7px!important;
    z-index: 1!important;
}

.linked_products .bloc-inner {
    height: 240px;
}

.linked_products .bloc-inner, .linked_products .card {
    padding-bottom: 7px;
}

.linked_products .bloc-inner span {
    position: absolute;
    z-index: 11;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    margin: auto;
    color: #fff;
    transition: all 0.3s linear;
    text-align: center;
    top: 70%;
    padding: 0!important;
}

.linked_products .bloc-inner:hover span {
    opacity: 1;
    transition: all 0.3s linear;
}

.cross-selling .section-carrousel {
    display: block!important;
}

/* ACCUEIL */

.content-type-5 {
    margin: 50px 0;
}

@media (width<576px) {
    .cross-selling .slick-dots {
        display: none!important;
    }
}

.products {
    padding-top: 2em;
}

#button-to-top {
    position: fixed;
    z-index: 11;
    right: 2vw;
    top: 80vh;
    transform: translateY(0) rotate(-90deg);
}

#button-to-top.slick-arrow-shown {
    -webkit-animation: slide-top 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation: slide-top 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

#button-to-top.slick-arrow-hidden {
    pointer-events: none;
    -webkit-animation: fade-out 0.3s ease-out both;
    animation: fade-out 0.3s ease-out both;
}

.section-5.reassurance {
    padding-bottom: 50px;
}

/* ACCUEIL HAUT */

.section-regie .linked_products {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-regie .linked_products .card {
    max-width: inherit;
    width: 100%;
}

@media (min-width: 992px) {
    .section-regie .linked_products .card {
        width: 50%;
    }
}

@media (min-width: 1200px) {
    .section-regie .linked_products .card {
        width: 100%;
    }
}

.section-regie .slick-arrow.slick-next {
    background: url('../../../../themes/emiles/assets/img/fleche_diapo_droite.png') #fff no-repeat center -10px;
    height: 48px;
    width: 48px;
    border-radius: 100%;
    box-shadow: 0 2px 12px 0 rgba(0, 91, 137, 0.2);
    z-index: 1;
}

#index .modal-backdrop {
    z-index: 999;
}

.section-regie .slick-arrow.slick-next:before {
    color: unset;
}

#cs-offre a {
    padding-left: 20px;
    padding-right: 20px;
}

#button-to-bottom-offers {
    transform: rotate(90deg);
    top: unset;
    bottom: -5px;
    z-index: 1;
}

#span-to-offers {
    color: #A61866;
}

/* ACCUEIL BAS */

/* PRODUIT */

#product .text-left {
    display: flex;
    gap: 1.5em;
    align-items: center;
}

#cs-product {
    padding-top: 4em;
}

#product.main_product_type_4 #wrapper .product-information-section {
    background: white!important;
}

/* PANIER */



/* ANIMATIONS */

@-webkit-keyframes slide-top {
    0% {
        -webkit-transform: translateY(100px) rotate(-90deg);
        transform: translateY(100px) rotate(-90deg);
    }
    100% {
        -webkit-transform: translateY(0) rotate(-90deg);
        transform: translateY(0) rotate(-90deg);
    }
}
@keyframes slide-top {
    0% {
        -webkit-transform: translateY(100px) rotate(-90deg);
        transform: translateY(100px) rotate(-90deg);
    }
    100% {
        -webkit-transform: translateY(0) rotate(-90deg);
        transform: translateY(0) rotate(-90deg);
    }
}

@-webkit-keyframes fade-out {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
@keyframes fade-out {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}