/* START PAGE SHOP */

.container_wrap.container_wrap_first.main_color.sidebar_left.template-shop.shop_columns_4 {
    border: none;
    padding-top: 100px;
}

ul.products.columns-4 {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

div .products .product {
    margin: 0 4% 1% 0;
    width: 22%;
}

div.thumbnail_container {
    border-radius: 10px;
    background-color: #F0F0F0;
}

#top .thumbnail_container img {
    /*height: 300px !important;*/
    height: 350px !important;
    object-fit: cover;
}

main.template-shop div.inner_product_header_cell {
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
    align-items: baseline;
    width: 100%;
    height: 100%;
}

main.template-shop h2.woocommerce-loop-product__title {
    text-align: left;
    font-size: 16px !important;
    font-weight: 600 !important;
    /*padding-right: 10px;*/
}

main.template-shop span.price {
    /*
    display: flex !important;
    flex-direction: column;
    align-items: flex-end;
    */
    width: 100%;
    display: flex !important;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 5px;
}

main.template-shop span.woocommerce-Price-amount.amount {
    background-color: #F0F0F0;
    /*color: #2E3F77;*/
    border-radius: 20px;
    font-size: 16px !important;
    padding: 5px 15px;
}

span.yaydp-discounted-price span.yaydp-calculated-prices bdi {
    /*color: #e60c80;*/
}

/*
span.yaydp-calculated-prices {
    margin-top: 10px;
    margin-left: 5px;
}
*/

div#yaydp-offer-description {
    display: block !important;
}

/* Pour les produits simples 
main.template-shop span.yaydp-original-prices {
    display: none !important;
}
*/

/* START PAGINATION PAGE SHOP */

.pagination {
    float: right;
}

.pagination .pagination-meta {
    display: none;
    float: initial;
}

#top .pagination .current,
#top .pagination a {
    font-size: 16px;
    border-radius: 0px;
    border: 1px solid #DEE2E6;
}

.pagination .current {
    font-weight: 400;
    background-color: #2E3F77 !important;
    color: #fff !important;
    border: 1px solid #2E3F77 !important;
}

/* END PAGINATION PAGE SHOP */

@media only screen and (max-width: 1440px) {
    .responsive #top #main .products .product {
        margin: 0 3% 1% 0;
        width: 30% !important;
    }
}
    
@media only screen and (max-width: 1200px) {
    .responsive #top #main .products .product {
        margin: 0 1% 1% 0;
        width: 32% !important;
    }
}

@media only screen and (max-width: 992px) {
    .responsive #top #main .products .product {
        margin: 0 1% 1% 0;
        width: 49% !important;
    }

    .container_wrap.container_wrap_first.main_color.sidebar_left.template-shop.shop_columns_4 {
        padding-top: 60px;
    }
}

@media only screen and (max-width: 767px) {
    #top .thumbnail_container img {
        /*height: 250px !important;*/
        height: 300px !important;
    }

    main.template-shop h2.woocommerce-loop-product__title {
        padding: 10px 0;
        font-size: 14px !important;
    }
}

@media only screen and (max-width: 468px) {
    #top .thumbnail_container img {
        height: 250px !important;
    }

    main.template-shop h2.woocommerce-loop-product__title {
        padding: 8px 0;
        font-size: 12px !important;
    }

    main.template-shop span.woocommerce-Price-amount.amount {
        font-size: 15px !important;
        padding: 2px 10px;
    }

}
/* END PAGE SHOP */

/************************************** */

/* START PRODUITS SIMILAIRES CONTAINER */

div#av_section_1.avia-section.alternate_color.avia-section-small.container_wrap.fullsize {
    border: none;
}

/* END PRODUITS SIMILAIRES CONTAINER */

/************************************** */

/* START AFFICHAGE LOGO MARQUE SUR PRODUIT */

div.product_brand_logo_page_shop {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 90;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

div.product_brand_logo_page_shop img.logo_produit_shop {
    width: 30px !important;
    height: auto !important;
    margin: 0 !important;
}

    /* START AFFICHAGE LOGO MARQUE POUR COMPLETER LE LOOK ET PRODUITS SIMILAIRES */

    #top div.swiper_wrapper_look li.product div.product_brand_logo_page_shop img.logo_produit_shop {
        width: 30px !important;
        height: auto !important;
        margin: 0 !important;
    }

    #top div.swiper_wrapper_similaire li.product  div.product_brand_logo_page_shop img.logo_produit_shop {
        width: 30px !important;
        height: auto !important;
        margin: 0 !important;
    }

    @media only screen and (max-width: 767px) {
        div.product_brand_logo_page_shop {
            width: 30px;
            height: 30px;
        }

        div.product_brand_logo_page_shop img.logo_produit_shop,
        #top div.swiper_wrapper_look li.product div.product_brand_logo_page_shop img.logo_produit_shop,
        #top div.swiper_wrapper_similaire li.product  div.product_brand_logo_page_shop img.logo_produit_shop {
            width: 20px !important;
        }
    }

    /* END AFFICHAGE LOGO MARQUE POUR COMPLETER LE LOOK ET PRODUITS SIMILAIRES */

/* END AFFICHAGE LOGO MARQUE SUR PRODUIT */

/************************************** */

/* START TAG SOLDE SHOP */

div.woocommerce-product-gallery__wrapper div.thumbnails a div.yaydp-sale-tag {
    display: none !important;
}

.yaydp-sale-tag {
    top: 20px !important;
    right: 20px !important;
    flex-direction: row;
    justify-content: space-evenly;
    border-radius: 20px;
    /* background-color: #e60c80 !important;*/
    font-size: 15px;
    font-weight: 500;
}

.yaydp-sale-tag div {
    margin: 0 3px;
}

/* END TAG SOLDE SHOP */

/************************************** */

/* START FILTER SIDEBAR TRANSLATE */

/*
div.product-sorting {
    margin-top: 50px;
}
*/

div.product-sorting ul.sort-param.sort-param-order,
div.product-sorting ul.sort-param.sort-param-count {
    display: none;
}

div.product-sorting ul.filter_mobile {
    display: none;
}

button.button_close {
    display: none;
}

div.product-sorting {
    padding-bottom: 0;
}

@media only screen and (max-width: 767px) {
    div.product-sorting {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        align-items: center;
        flex-direction: row-reverse;
    }

    .sort-param>li>span {
        font-size: 12px;
        padding: 5px 40px 5px 10px;
        border-width: 0;
        border-style: unset;
        display: block;
        line-height: unset;
    }
    div.product-sorting ul.sort-param.sort-param-order.filter_mobile {
        display: block;
        padding: 0;
        width: 100%;
        position: fixed;
        /*top: 9%;*/
        bottom: 0;
        right: 0;
        margin: 0;
    }

    #close_sidebar {
    pointer-events: none;
}

.visible-sidebar #close_sidebar {
    pointer-events: auto;
}

    button.button_filter {
        width: 100%;
        height: 70px;
        color: #000;
        border: 0;
        padding: 14px 12px;
        /*padding: 10.5px 10px;*/
        margin-right: 0px;
        font-size: 18px;
        /*font-size: 12px;*/
        font-weight: 600;
        background-color: #f8f8f8;
        cursor: pointer;
    }

    .button_filter {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px; /* espace entre icône et texte */
    }

    .button_filter img {
        width: 18px;
        height: 18px;
    }

    aside.sidebar.sidebar_left.sidebar_align_left.smartphones_sidebar_active.alpha.units {
        position: fixed;
        z-index: 9997;
        top: 0;
        left: -103%;
        width: 100% !important;
        height: 100%;
        background-color: #fff;
        padding-top: 0;
        border-top: none !important;
        overflow-y: scroll !important;
        transition: left 0.3s ease;
    }
    
    /* Sidebar visible */
    aside.sidebar.sidebar_left.sidebar_align_left.smartphones_sidebar_active.alpha.units.visible-sidebar {
        left: 0; /* La sidebar devient visible en se déplaçant vers la droite */
    }
    
    aside.sidebar.sidebar_left.sidebar_align_left.smartphones_sidebar_active.alpha.units.visible-sidebar div.inner_sidebar.extralight-border {
        padding: 80px 20px 0 20px;
    }

    /* Style pour le bouton "Fermer" */
    button.button_close {
        display: block;
        position: absolute;
        /*bottom: 0;*/
        top: 9%;
        /* top: 80px; */
        /* right: 20px; */
        color: #000;
        border: 0;
        padding: 14px 12px;
        margin-right: 0px;
        font-size: 16px;
        font-weight: 600;
        background-color: #f8f8f8;
        cursor: pointer;
        z-index: 1000;
        width: 100%;
        height: 50px;
        margin-bottom: 0;
    }
}

@media only screen and (max-width: 468px) {
    div.product-sorting {
        flex-direction: column-reverse;
        align-items: flex-start;
    }
}

/* END FILTER SIDEBAR TRANSLATE */

/************************************** */

/* START PROMO VIA WP PAGE SHOP */

#top .onsale {
    display: none;
    z-index: 10;
    color: #fff;
    background: #e60c80 !important;
    top: -340px;
    right: 8px;
    margin: 0;
    min-width: 40px;
    font-size: 15px;
    font-weight: 500;
    padding: 2px 10px;
}

#top div .product_on_sale .inner_product_header {
    padding-right: 0px;
}

@media only screen and (max-width: 767px) {
    #top .onsale {
        top: -290px;
    }
}

@media only screen and (max-width: 468px) {
    #top .onsale {
        top: -240px;
    }

    /*
    div.inner_product_header_cell span.price {
        flex-direction: column;
    }
    */

    #top #wrap_all div.inner_product_header_cell span.price ins:before {
        display: none;
    }
}

/* END PROMO VIA WP PAGE SHOP */

/************************************** */

/* START PROMO VIA WP PAGE SINGLE SHOP*/

div.summary ins span.woocommerce-Price-amount.amount bdi {
    color: #e60c80 !important;
}

div.summary ins span.woocommerce-Price-amount.amount bdi span.woocommerce-Price-currencySymbol {
    color: #e60c80 !important;
}

#top div.single-product-main-image span.onsale {
    top: -70px;
    right: 270px;
}

@media only screen and (max-width: 992px) {
    .responsive #top div.single-product-main-image span.onsale {
        right: 10px;
    }
}

@media only screen and (max-width: 767px) {
    .responsive #top div.single-product-main-image span.onsale {
        top: -55px;
        right: 10px;
    }
}

@media only screen and (max-width: 468px) {
    .responsive #top div.single-product-main-image span.onsale {
        top: -45px;
    }
}

#top div.look_container .onsale {
    top: -430px;
    right: 15px;
}

@media only screen and (max-width: 767px) {
        #top div.look_container .onsale {
        top: -285px;
    }
}

@media only screen and (max-width: 368px) {
        #top div.look_container .onsale {
        top: -265px;
    }
}


/* END PROMO VIA WP PAGE SINGLE SHOP */

/************************************** */