/**** WOOCOMMERCE ****/

:root{
    --theme-button-border-radius: 30px!important;
    --theme-font-family: 'Lexend'!important;
    --theme-letter-spacing : -1px!important;
}
.archive #main{
    position: relative;
}
.archive #main, .page-template-template-categorie-speciale #main, .page-template-template-cart #main, .woocommerce-cart #main{
    margin-bottom: 100px!important;
}

.archive #main, .page-template-template-categorie-speciale #main, .single-product #main, 
.woocommerce-cart #main, .page-template-template-cart #main, .woocommerce-checkout #main,
.woocommerce-account #main-container #main, .page-id-4709 #main{
    width: 100%;
    max-width: 2100px!important;
    margin: auto;
    padding-left: 60px;
    padding-right: 60px;
}
.ct-container{
    max-width: 2100px!important;
}

.woocommerce-message, .woocommerce-error, .woocommerce-info{
    display: block!important;
    margin: 10px auto 10px 0px!important;
    --theme-button-min-height:0!important;
    font-family: 'Lexend'!important;
    font-size: 18px!important; 
    line-height: normal!important;
    font-weight: 500!important; 
    border-radius: 0!important;
    list-style: none!important;
    min-height: fit-content!important;
    width: fit-content;
}
.woocommerce-info, .woocommerce-message,  .woocommerce-thankyou-order-received {
    color: var(--main-black)!important;
    padding: 10px 25px!important;
}
.woocommerce-message:first-child, .woocommerce-error:first-child, .woocommerce-info:first-child{
    margin: 50px auto 10px 0!important;
}
.woocommerce-info:before, .woocommerce-message:before, .woocommerce-thankyou-order-received:before {
    color: var(--main-black);
}
.woocommerce-thankyou-order-received:before{
    display: none!important;
}
.woocommerce-error{
    border: 1px solid var(--red-fly)!important;
    color: var(--red-fly)!important;
    padding: 10px 25px 10px 50px!important;
}
.woocommerce-message:before, .woocommerce-info:before{
    display: none!important;
}
.woocommerce-error:before{
    color: var(--red-fly)!important;
}
.woocommerce-message a, .woocommerce-message a.button {
    display: block!important;
    width: fit-content;
    min-height: 0 !important;
    margin-inline-start: 0!important;
    --theme-button-min-height: 0!important;
    --theme-button-padding:0!important;
    color: var(--main-black)!important;
    padding: 0!important;
    margin: 0!important;
    font-size: 18px!important;
    font-weight: 600!important;
    color: var(--main-red)!important;
}

.woo-listing-top {
    align-items: start!important;
}
.woocommerce-ordering {
    margin-inline-start: inherit!important;
}

.form-row label {
    font-weight: 400!important;
}
form.variations_form table.variations select, select, select, textarea, input[type=url], input[type=tel], input[type=text], input[type=time], input[type=date], input[type=datetime], input[type=datetime-local], input[type=email], input[type=number], input[type=search], input[type=password]{
    border-radius: 0!important;
}

@media screen and (min-width: 480px){
    .page .woocommerce-info .button, .page .woocommerce-info .showlogin, .page .woocommerce-info .restore-item, .page .woocommerce-error .button, .page .woocommerce-error .showlogin, .page .woocommerce-error .restore-item, .page .woocommerce-message .button, .page .woocommerce-message .showlogin, .page .woocommerce-message .restore-item, .page .woocommerce-thankyou-order-received .button, .page .woocommerce-thankyou-order-received .showlogin, .page .woocommerce-thankyou-order-received .restore-item{
        margin-inline-start: 0!important;
    }
    .woocommerce-info:before, .woocommerce-error:before, .woocommerce-message:before, .woocommerce-thankyou-order-received:before {
        top: 50%;
        transform: translateY(-50%);
    }
}

@media screen and (min-width:767px) and (max-width:1000px) {
    .archive #main, .page-template-template-categorie-speciale #main, 
    .woocommerce-checkout #main, .woocommerce-account #main-container #main, 
    .page-id-4709 #main{
        padding-left: 40px;
        padding-right: 40px;
    }
    .archive #main, .page-template-template-categorie-speciale #main, .page-template-template-cart #main, .woocommerce-cart #main{
        margin-bottom: 70px!important;
    }

    /*caroussels produits sans marges */
    .single-product #main, .page-template-template-cart #main, .woocommerce-cart #main{
        padding-left: 0px;
        padding-right: 0px;
    }
    .single-product #main .filArianne, .single-product #main .singleProduitWrap, .singleProduitWrap, .single-product #main .related-title,
    .page-template-template-cart #main  .filArianne, .page-template-template-cart  #main h1, .page-template-template-cart  #main .ct-woocommerce-cart-form,  .page-template-template-cart  #main .related-title, .page-template-template-cart #main>h2, .page-template-template-cart #main>p,
    .woocommerce-cart #main .filArianne,  .woocommerce-cart  #main h1, .woocommerce-cart  #main .ct-woocommerce-cart-form,  .woocommerce-cart  #main .related-title, .woocommerce-cart #main>h2, .woocommerce-cart #main>p,  .woocommerce-cart .return-to-shop, .woocommerce-cart h2.empty-cart, .woocommerce-cart [data-products].empty-cart
    {
        padding-left: 40px;
        padding-right: 40px;
    }

    .woocommerce-message:first-child, .woocommerce-error:first-child, .woocommerce-info:first-child{
        margin: 60px 40px 10px 40px!important;
    }
    .woocommerce-message, .woocommerce-info{
        margin: 10px 40px 10px 40px!important;
        width: calc(100% - 80px);
        border: 1px solid var(--main-black)!important;
    }
    .woocommerce-error{
        margin: 10px 40px 10px 40px!important;
        width: calc(100% - 80px);
        border: 1px solid var(--main-red)!important;
    }
}

@media screen and (max-width:767px)  {
    .archive #main, .page-template-template-categorie-speciale #main, 
    .woocommerce-cart #main, .woocommerce-checkout #main,
    .woocommerce-account #main-container #main, .page-id-4709 #main{
        padding-left: 20px;
        padding-right: 20px;
    }
    .archive #main, .page-template-template-categorie-speciale #main, .page-template-template-cart #main{
        margin-bottom: 70px!important;
    }
    .archive #main, .page-template-template-categorie-speciale #main, .page-template-template-cart #main{
        margin-bottom: 50px!important;
    }

    /*caroussels produits sans marges */
    .single-product #main, .page-template-template-cart #main, .woocommerce-cart #main {
        padding-left: 0px;
        padding-right: 0px;
    }
    /*.page-template-template-cart  #main .woocommerce-notices-wrapper*/
    .single-product #main .filArianne, .single-product #main .singleProduitWrap, .single-product #main .related-title,
    .page-template-template-cart #main  .filArianne,  .page-template-template-cart  #main>h1, .page-template-template-cart  #main .ct-woocommerce-cart-form,  .page-template-template-cart  #main .related-title, .page-template-template-cart #main>h2, .page-template-template-cart #main>p,
    .woocommerce-cart #main .filArianne,  .woocommerce-cart  #main h1, .woocommerce-cart  #main .ct-woocommerce-cart-form,  .woocommerce-cart  #main .related-title, .woocommerce-cart #main>h2, .woocommerce-cart #main>p,   .woocommerce-cart .return-to-shop, .woocommerce-cart h2.empty-cart, .woocommerce-cart [data-products].empty-cart
    {
        padding-left: 20px;
        padding-right: 20px;
    }
    .woocommerce-message:first-child, .woocommerce-error:first-child, .woocommerce-info:first-child{
        margin: 60px 20px 10px 20px!important;
    }
    .woocommerce-message, .woocommerce-info{
        margin: 10px 20px 10px 20px!important;
        width: calc(100% - 40px);
        border: 1px solid var(--main-black)!important;
    }
    .woocommerce-error{
        margin: 10px 20px 10px 20px!important;
        width: calc(100% - 40px);
        border: 1px solid var(--main-red)!important;
    }
}
@media screen and (max-width: 480px) {
    .woocommerce-error{
        padding: 10px 25px 10px 25px!important;
    }
}


/*** IVORY SEARCH ***/

.is-search-sections {
    font-family: 'Lexend';
    color: var(--main-black) !important;
}
.is-ajax-search-details a, .is-ajax-search-result a {
    color: var(--main-black) !important;
    font-weight: 700;
}
.is-ajax-search-items .is-prices {
    color: var(--main-black) !important;

}

/**** PAGES ARCHIVES ****/

.custom-attributes-filters{
    gap: 0px 10px;
    display: flex;
    /*flex-wrap: wrap;*/
}
.custom-filter a, .custom-filter a:hover{
    color: var(--main-black);
}
#filterLoader{
    display: none;
    width: fit-content;
}
#filterLoader img{
    width: 30px;
    height: 30px;
}


.custom-filter p.main-category{
    margin-bottom: 0!important;
}
.custom-filter span:not(.ui-slider-handle), .custom-filter p, #filters-mobile{
    height: fit-content;
    cursor: pointer;
    font-size: 15px!important;
    width: fit-content;
    margin: 0px 0px 7px 0!important;

}
#custom-product-sort{
    font-size: 15px!important;
    font-family: 'Lexend';
    font-weight: 300;
    max-width: 120px;
}

.mainSelected{
    background-color: var(--main-black);
    border-color: var(--main-black);
    color: white;
    opacity: 1;
}

/*Nb produits */
.custom-product-count {
    width: fit-content;
    display: inline-flex;
}

/*Filtres dropdown*/
div#filterAndOrder {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: start;
    gap: 10px 10px;
    z-index: 3;
    position: relative;
    margin-right: 10px;
}
select#custom-product-sort {
    width: fit-content;
    border-radius: 0;
    padding: 6px 24px 8px 24px!important;
    height: fit-content!important;
    border-radius: 30px !important;
}

.custom-filters-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 10px;
    align-items: center;
}

.custom-filter{
    position: relative;
}

.filters-dropdown {
    position: absolute;
    bottom: 0;
    left: 0;
    display: inline-grid;
    width: 250px;
    height: fit-content;
    z-index: 1;
    background: white;
    border-radius: 12px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    padding: 10px 20px;
    max-height: 350px;
    overflow-y: scroll;
    scrollbar-width: thin;
    scrollbar-color: var(--med-gray) white;
    transform: translateY(calc(100% - 20px));
    opacity: 0;
    transition: 0.3s ease-in-out;
    visibility: hidden;
}

.filters-dropdown-open{
    visibility: visible;
    opacity: 1;
    transform: translateY(100%);
}

::-webkit-scrollbar-thumb {
    background: var(--main-beige); 
}

#filterMobile{
	display:none;
	width: fit-content;
	padding: 8px 24px!important;
	height: fit-content !important;
	font-size:15px!important;
	cursor:pointer;
}	
@media screen and (max-width:767px){
	.custom-filters-wrapper {
		display: none;
	}
	.visibleFilters{
		display:inline-flex!important;
	}
	#filterMobile{
		display:inline-flex!important;
	}	
	.custom-product-count{
		display:block!important;
		margin-top:10px;
	}
}


/* Filtres Checkboxes */
.filters-dropdown span {
    position: relative;
    padding-left: 25px;
    line-height: normal;
}
.filters-dropdown span:not(.ui-slider-handle):before{
    content: "";
    position: absolute;
    left: 0;
    top: calc(50% - 7.5px);
    width: 15px;
    height: 15px;
    border: 1px solid var(--main-black);
}
.filters-dropdown [data-filter-selected="selected"]:after{
    content: "";
    position: absolute;
    left: 0;
    top: calc(50% - 7px);
    width: 15px;
    height: 15px;
    background: var(--main-black);
}

/* Filtres Prix */
#customPrice span{
    padding: 0!important;
}
#price-slider .ui-slider-range {
    background: var(--main-black)!important;
    border-radius: 0;
}

#price-slider .ui-slider-handle {
    border-color: var(--main-black)!important;
    border-radius: 50%;
    background-color: var(--main-black);
    width: 15px;
    height: 15px;
    top: -6.5px;
}
.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active,
a.ui-button:active,
.ui-button:active,
.ui-button.ui-state-active:hover{
    border: 1px solid var(--main-black)!important;
    background: var(--main-black)!important;
    text-decoration: none!important;
}
.ui-slider-horizontal {
    height: 5px;
}
div#price-range {
    height: 30px;
    padding-top: 10px;
}

@media screen and (max-width:767px) {
    .filters-dropdown{
        width: 180px;
    }
    .custom-prices-filter .filters-dropdown {
        width: 250px;
    }
    .custom-prices-filter .filters-dropdown {
        position: relative;
        bottom: unset;
        left: unset;
        display: none;
    }
    .custom-prices-filter .filters-dropdown-open {
        transform: translateY(0%);
        display: inline-grid;
    }
}


/* Global archive (catégories normales) */

#productLoader{
    display: none;
    width: 30px;
    height: 30px;
    margin: 20px auto 0;
}

.archive ul.products.columns-4{
    margin-top: 20px;
}

/*hover*/
.produitSelection .linkImgProduit .imgWrapper img,
.produitSelection .infosProduitWrap{
    transition: 0.3s ease-in-out;
}
.imgWrapper{
    width: 100%;
    height: 100%; /*auto*/
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
/*
.produitSelection .linkImgProduit{
    overflow: hidden;
}
.produitSelection:hover .linkImgProduit .imgWrapper img{
    transform: scale(1.04);
}
*/

@media screen and (min-width:2200px) {
    .archive ul.products.columns-4, .page-template-template-categorie-speciale .columns-4{
        grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
        grid-column-gap : 40px;
    }
}
@media screen and (min-width:1800px) and (max-width:2200px) {
    .archive ul.products.columns-4, .page-template-template-categorie-speciale .columns-4{
        grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
        grid-column-gap : 50px;
    }
}
@media screen and (min-width:1200px) and (max-width:1800px) {
    .archive ul.products.columns-4, .page-template-template-categorie-speciale .columns-4{
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        grid-column-gap : 35px;
    }
}
@media screen and (min-width:990px) and (max-width:1200px) {
    .archive ul.products.columns-4, .page-template-template-categorie-speciale .columns-4{
        grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
        grid-column-gap : 30px;
    }
}
@media screen and (min-width:767px) and (max-width:990px) {
    .archive ul.products.columns-4, .page-template-template-categorie-speciale .columns-4{
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        grid-column-gap : 30px;
    }
}
@media screen and (min-width:320px) and (max-width:767px)  {
    .archive ul.products.columns-4, .page-template-template-categorie-speciale .columns-4{
        grid-template-columns: 1fr 1fr;
        grid-column-gap : 20px;
    }
}
@media screen and (max-width:320px)  {
    .archive ul.products.columns-4, .page-template-template-categorie-speciale .columns-4{
        display: flex;
        flex-direction: column;
    }
    
}
/* Paginations */
.woocommerce-archive .ct-pagination, [data-pagination=simple], [data-pagination=next_prev]{
    display: none!important;
}


/* PAGES Archive MAIN */
#main.site-main-category{
    margin-bottom: 0!important;
}
.site-main-category .filArianne, .site-main-category .filArianne a{
    color: white!important;
}
.site-main-category .filArianne svg path{
    stroke: white!important;
}

.site-main-category .custom-archive-header{
    height: 270px;
    width: 100%;
    display: flex;
    justify-content: center;
}
#main.site-main-category .custom-archive-header h1{
    text-transform: uppercase;
    color: white;
    align-self: center;
    margin-bottom: 90px !important;
}

.main-category-archive{
    max-width: 1280px;
    margin: auto;
    width: 100%;
}

@media screen and (min-width:767px) and (max-width:999px) {
    .site-main-category .custom-archive-header {
        height: 220px;
    }
}
@media screen and (max-width:767px){
    .site-main-category .custom-archive-header {
        height: 220px;
    }
}
@media screen and (max-width:500px){
    .custom-archive-header h1 {
        text-align: left!important;
    }
}
.gammeList h2{
    margin: 50px 0!important;
}

.gammesCategory {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 70px 30px;
}
.gamme{
    background-color: var(--light-gray);
    min-height: 300px;
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    aspect-ratio: 1 / 1;
}

.gammeTitre{
    background-color: var(--main-blue);
    color: white;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    min-height: 55px;
    min-width: 200px;
    width: fit-content;
    padding: 8px 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-transform: uppercase;
    font-weight: 400!important;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    transition: 0.3s ease-in-out;
}
.gammeTitre:hover{
    background-color: var(--main-black);
    transform: translate(-50%, 50%) scale(1.07);
}

@media screen and (min-width:990px) and (max-width:1200px) {
    .gammesCategory{
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        grid-column-gap : 70px 20px;
    }
}
@media screen and (min-width:768px) and (max-width:1000px) {
    .gammesCategory{
        grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
        grid-column-gap : 50px 20px;
    }
}
@media screen and (max-width:767px) {
    .gammesCategory{
        grid-template-columns: 1fr;
        width: calc(100vw - 20px) !important;
    }
    .gammesCategory .slick-list {
        overflow-y: visible;
    }
    .gammesCategory .slick-slide{
        padding-right: 20px;
    }
    .gammesCategory .slick-slide>div{
        height: 280px;
    }
    .gamme {
        aspect-ratio: unset;
        min-height: 240px;
    }
    .gammeTitre {
        min-width: unset;
        min-height: 42px;
    }
}
@media screen and (max-width:430px) {
    .gammesCategory .slick-slide>div{
        height: 230px;
    }
    .gamme {
        min-height: 190px;
    }
}
/*
@media screen and (max-width:767px) {
    .gammesCategory{
        grid-template-columns: 1fr 1fr;
        gap : 50px 15px;
    }
    .gamme {
        aspect-ratio: unset;
        min-height: 240px;
    }
    .gammeTitre {
        min-width: unset;
        min-height: 42px;
    }
}
@media screen and (max-width:430px) {
    .gamme {
        min-height: 190px;
    }
}
@media screen and (max-width:300px) {
    .gammesCategory{
        grid-template-columns: 1fr;
    }
}
*/

.infoMainCategory {
    display: grid;
    grid-template-columns: 48% 52%;
    margin: 100px 0;
}
.txtMainCat {
    justify-content: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 100px;
    padding-right: 50px;
    min-height: 400px;
}
.imgMainCat{
    position: relative;
    height: auto;
}
.imgMainCat img {
    position: absolute;
    left: 0;
    top: 0;
    width: 52vw;
    max-width: unset;
    height: 100%;
    object-fit: cover;
}


@media screen and (max-width:999px) {
    .infoMainCategory {
        display: grid;
        grid-template-columns: 1fr;
        margin: 100px 0 70px;
    }
    .txtMainCat{
        min-height: unset;
        padding-top: 0;
        padding-right: 0;
    }
    .imgMainCat{
        min-height: 400px;
        margin-top: 30px;
    }
    .imgMainCat img {
        width: 100%;
    }
}
@media screen and (max-width:767px) {
    .infoMainCategory {
        margin: 50px 0 50px!important;
    }
    .imgMainCat{
        min-height: 250px;
    }
}

.blogMainCategory{
    position: relative;
    padding: 75px 0 70px 0;
}
.blogMainCategory::after{
    content: '';
    background-image: linear-gradient(0deg, rgba(var(--brz-global-color8), 1) 49%, rgba(var(--brz-global-color8), 0.33) 67%);
    position: absolute;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    z-index: -1;
}
.blogMainCategory h2{
    text-align: center;
    margin-bottom: 35px!important;
}

.archiveArticlesWrap{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap:30px;
}
.archiveArticle{
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: start;
}

.archiveArticle img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 12;
    object-fit: cover;
}
.archiveArticle h3{
   font-weight: 800!important;
}
.archiveArticle p{
    display: -webkit-box!important;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;  
    overflow: hidden;
    color: rgba(35, 34, 56);
}
.archiveArticle a{
    padding: 6px 24px 6px 24px!important;
    border: 1px solid var(--main-blue);
    background-color: var(--main-blue);
    color: white!important;
}
.archiveArticle a:hover{
    border: 1px solid var(--main-black);
    background-color: var(--main-black);
}
.archiveArticle .date{
    font-weight: 300;
    font-size: 14px;
    line-height: 1;
    overflow: visible;
}
a.archiveBlogLink.mybtnFly {
    width: fit-content;
    margin: 50px auto 0;
    display: flex;
    background-color: var(--main-black);
    color: white;
}
.archiveBlogLink svg{
    margin-left: 10px;
}
@media screen and (min-width:767px) and (max-width:990px) {
    .archiveArticlesWrap{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap:30px;
    }
    .archiveArticle .date{
        font-family: 'Rubik', sans-serif;
        font-size: 15px;
        line-height: 1.3;
        font-weight: 400;
    }
}
@media screen and (max-width:767px) {
    .blogMainCategory {
        padding: 50px 0 40px 0;
    }
    .blogMainCategory::after{
        background-color: rgba(var(--brz-global-color3), 0.35);
    }
    .archiveArticlesWrap{
        display: grid;
        grid-template-columns: 1fr;
    }
    .archiveArticle .date{
        font-family: 'Rubik', sans-serif;
        font-size: 15px;
        line-height: 1.3;
        font-weight: 400;
    }
}




/* Page ARCHIVE SPECIALE */
.custom-archive-header h1{
    text-align: center;
    margin-bottom: 80px!important;
}
@media screen and (min-width:767px) and (max-width:990px) {
    .custom-archive-header h1{
        margin-bottom: 70px!important;
    }
}
@media screen and (max-width:767px) {
    .custom-archive-header h1{
        margin-bottom: 50px!important;
    }
}

#bandeauCategorieArchive{
    grid-area : span 1 / span 2
}
#bandeauCategorieArchive img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-template-template-categorie-speciale .custom-archive-header{
    display: flex;
    position: relative;
}
.page-template-template-categorie-speciale .custom-archive-header h1{
    text-align: left;
    width: 50%;
}
.page-template-template-categorie-speciale .custom-archive-header h1 img{
    max-height: 40px;
    max-width: 100px;
    margin-left: 10px;
}

#specific-category-img {
    position: absolute;
    top: -80px;
    left: 50%;
    width: 50%;
    display: flex;
    height:45vh;
    justify-content: center;
}
#specific-category-img img{
    width: auto;
    object-fit: contain;
}

.page-template-template-categorie-speciale .columns-4{
    margin-top: 20px;
}


/**** PAGE PRODUIT ****/

.single-product h1.product_title{
	line-height: 1.2em !important;
    font-size: 32px;
    font-weight: 700 !important;
    letter-spacing: -1px !important;
}
@media screen and (min-width: 767px) and (max-width: 999px) {
    .single-product h1.product_title{
        line-height: 1em !important;
        font-size: 28px !important;
        letter-spacing: -1px !important;
    }
}
@media screen and (max-width: 767px) {
    .single-product h1.product_title {
        line-height: 1em !important;
        font-size: 24px !important;
        letter-spacing: -0.4px !important;
    }
}

/*produit masqué : pas de panier */
.hidden-product .single_add_to_cart_button {
    display: none !important;
}


.single-product .singleProduitWrap{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap:50px;
}
.single-product .singleProduitWrap.bundle-product {
    grid-template-columns: 2fr 3fr!important;
}

.woosb-products .woosb-product .variations_form .variations .variation {
    max-width: calc(50% - 6px);
    width: calc(50% - 6px);
    height: fit-content;
    align-self: center;
    border-width: 0px!important;
    padding: 0!important;
}
.cfvsw-swatches-container{
    grid-gap: 5px 0px!important;
    flex-flow: inherit!important;
}

@media screen  and (min-width:767px) and (max-width:1200px) {
    .woosb-products .woosb-product .variations_form .variations .variation {
        max-width: 100%;
        width: 100%;
    }
}
@media screen  and (max-width:300px) {
    .woosb-products .woosb-product .variations_form .variations .variation {
        max-width: 100%;
        width: 100%;
    }
}

@media screen and (min-width:1000px) and (max-width:1200px) {
    .single-product .singleProduitWrap{
        grid-template-columns: 4fr 3fr!important;
        gap:30px;
    }
    .single-product .singleProduitWrap.bundle-product {
        grid-template-columns: 2fr 3fr!important;
    }
    
}
@media screen and (min-width:767px) and (max-width:1000px) {
    .woosb-products.woosb-products-layout-grid-3 .woosb-product {
        width: calc(100% / 2 - 20px)!important;
    }
}

@media screen and (max-width:767px) {
.page-template-template-categorie-speciale .custom-archive-header h1{
        width: 100%!important;
    }
}

.separateur{
    width: 100%;
    height: 1px;
    background-color: var(--med-gray);
    margin: 20px 0;
}

@media screen and (max-width:767px) {
    .single-product .singleProduitWrap {
        grid-template-columns: 1fr!important;
        gap: 0px!important;
    }
    .single-product .singleProduitWrap.bundle-product {
        grid-template-columns: 1fr!important;
        gap: 0px!important;    
	}
}

/* Ordre Oney et panier */
.singleProduitDescriptions {
    display: flex;
    flex-direction: column;
}
.singleProduitDescriptions h1, .singleProduitDescriptions .singlePriceWrap, .singleProduitDescriptions form.cart{
    order: -1;
}
.singleProduitDescriptions .payplug-oney{
	order: 0;
}

/* Prix */

.singlePriceWrap{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 15px 0;
}   
/*
.singlePrice {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 0px 10px; 
}*/
.promoWrap{
    width: 100%;
}
.singlePrice .sale-price{
	display: block!important;
}
.sale-price del {
    font-size: 100%!important;
    align-self: end;
    order: 0!important;
}
.sale-price .amount bdi{
    display: flex;
    line-height: normal;
    font-weight: 600;
    color: var(--main-blue);
}

.woocommerce-product-rating {
    margin-bottom: 16px!important;
    margin-top: -10px!important;
}
.average-rating {
    display: none;
}
.product-avis .average-rating {
    display: flex!important;
}

.average-rating{
    justify-content: center;
    flex-direction: column;
}
.noteMoyenne h2{
    align-self: center;
}

@media screen and (max-width:1200px) {
    .singlePriceWrap .average-rating {
        flex-direction:row;
        order: 3;
        margin-top: 10px;
        gap: 5px;
    }
}


/* wishlist */
.single-product .singleProduitWrap .yith-wcwl-add-to-wishlist {
    display: flex;
    width: fit-content !important;
	margin-top: 0px!important;
	align-self: center!important;
	height: 20px!important;
}
.single-product .singleProduitWrap .yith-wcwl-add-button span{
	display:none!important;
}
.single-product .singleProduitWrap a.delete_item, .single-product .singleProduitWrap a.view-wishlist {
    color: transparent;
    cursor: default;
    visibility: hidden;
	height: 0px!important;
}

.single-product .singleProduitWrap a.delete_item svg, 
.single-product .singleProduitWrap a.delete_item i{
    cursor: pointer!important;
    visibility: visible!important;
}
.single-product .singleProduitWrap .yith-wcwl-add-button i {
    font-size: 24px;
	color: black!important;
}

/*prix */
.singlePriceWrap del{
    font-family: 'Lexend'!important;
	display:block!important;
}
.singlePrice br{
	display:none!important;
}
.promoSingle{
    padding: 10px;
    background: black;
    color: white;
    font-weight: 700!important;
    margin-left: 15px;
    font-family: 'Lexend'!important;

}
.saleSingle{
    line-height: 1em!important;
}
.single-product .price{
    height: fit-content;
    display: inline-flex;
    align-items: center;
    font-size: 30px !important;
}

.single-product .singlePrice ins .amount,
.single-product .singlePrice>.amount bdi{
    line-height: 1.2em !important;
    font-size: 32px!important;
    font-weight: 700 !important;
    letter-spacing: -1px !important;
    font-family: 'Lexend' !important;
    color: var(--main-blue) !important;
}

.single-product .singlePrice ins {
    display: inline-flex;
    align-items: end;
}

@media screen and (min-width: 767px) and (max-width: 1000px) {
    .single-product .singlePrice ins .amount, .single-product .singlePrice>.amount bdi {
        font-size: 25px !important;
    }
}
@media screen and (max-width: 767px) {
    .single-product .singlePrice ins .amount, .single-product .singlePrice>.amount bdi {
        font-size: 22px !important;
    }
}


.singlePriceDetails{
    margin-top: 5px;
    width: 100%;
}
.prixUnitaire{
    font-size: 14px!important;
    color: var(--main-blue);
    font-weight: 500 !important;
	display:inline;
	margin-left: 10px;
}
.eco-participation{
    font-size: 14px!important;
}

/* variations*/
form.variations_form .single_variation, form.variations_form .wc-no-matching-variations{
	margin-bottom: 0px!important;
}
.singleProduitWrap:not(.bundle-product) .singleProduitDescriptions .variations_form .variations{
    margin-bottom: 18px!important;
}
.singleProduitDescriptions .variations_form .variations tr{
    gap: 0px!important;
}
.singleProduitDescriptions .variations_form .variations tr:not(:last-child){
    margin-bottom: 15px!important;
}
table.variations .reset_variations{
	display:none!important;
}
/*
a.reset_variations {
    display: none!important;
}*/

div#boutique-stocks {
    margin-top: 0px;
    margin-bottom: 10px;
}
#boutique-stocks p, #boutique-stocks .formStock {
    display: none;
}

#boutique-stocks .formStock {
    flex-direction: column;
    margin-top: 20px;
    line-height: normal;
}
#boutique-stocks .formStock .gform-body.gform_body {
    margin-top: 5px;
}
.bundle-product .formStock{
    display: none!important;
}

#boutique-stocks .formStock .gform_wrapper.gravity-theme .gform_footer{
    margin: 0 !important;
    padding: 8px 0;
}
#boutique-stocks .formStock .gform_wrapper.gravity-theme .gform_footer input {
    padding: 4px 20px;
    min-height: 0;
    border-radius: 30px !important;
}

/* Délais Livraison  
.delaiLivraison{
    margin-bottom: 20px!important;
}*/
.delaiLivraison>span {
    display: inline-flex !important;
    gap: 0 5px;
    align-items: center;
    justify-content: left;
    flex-wrap: wrap;
}
.delaiLivraison>span> svg{
	margin-right:5px;
}
/* Choix magasin */
div#msgErreurCP{
    margin-top: 30px;
}

/* packs */
.bundle-product .woosb-wrap{
    display: flex!important;
    flex-direction: column!important;
}
.bundle-product .woosb-wrap .woosb-summary {
    order: -1;
    justify-content: start!important;
    flex-wrap: wrap;
}
.bundle-product .woosb-wrap  .woosb-total-label{
    display: none;
}
.bundle-product  .woosb-wrap .woosb-summary .woosb-total{
    flex-grow: unset;
}
.bundle-product .woosb-count{
    width: 100%;
}

.bundle-product .woosb-products .woosb-product{
    flex-direction: row!important;
    flex-wrap: wrap;
}
.woosb-products[class*="woosb-products-layout-grid"] .woosb-product  .woosb-thumb{
    width: 100%;
}

.woosb-products[class*="woosb-products-layout-grid"] .woosb-product .woosb-title .woosb-price, 
.woosb-products[class*="woosb-products-layout-grid"] .woosb-product .woosb-title .woosb-name {
    text-align: left!important;
    line-height: normal;
}

.woosb-products[class*="woosb-products-layout-grid"] .woosb-product  .woosb-quantity .quantity{
   height: fit-content!important;
   border: 1px solid var(--light-gray);
    border-radius: 30px;
    min-height: 30px;
    align-items: center;
    display: flex;
}
.woosb-products[class*="woosb-products-layout-grid"] .woosb-product  .woosb-quantity .quantity[data-type=type-1] .ct-increase,
.woosb-products[class*="woosb-products-layout-grid"] .woosb-product  .woosb-quantity .quantity[data-type=type-1] .ct-decrease {
    inset-inline-end: 15px!important;
    width: fit-content!important;
}
.woosb-products[class*="woosb-products-layout-grid"] .woosb-product  .woosb-quantity {
    width: 40%!important;
    align-self: start!important;
}
.woosb-products[class*="woosb-products-layout-grid"] .woosb-product  div:last-child:not(.woosb-quantity, .cfvsw-swatches-option){
    width: calc(100% - 2px)!important;
}

.woosb-products .variations{
    justify-content: start!important;
    display: flex!important;
    flex-wrap: wrap!important;
}
.woosb-products .variation {
    border-radius: 30px!important;
}

.woosb-products .variation .label{
    display: none!important;
}
.woosb-title .boutique{
    margin-top: 10px;
}
.woosb-product select {
    font-size: 14px !important;
    font-weight: 300;
    padding-right: 12px !important;
}
p.boutique {
    text-align: left;
    line-height: normal;
}

@media screen and (min-width:767px) and (max-width:1000px) {
    .single-product .price{
        font-size: 25px !important;
    }
}

@media screen and (max-width:767px) {
    .singleProduitDescriptions {
        margin-top: 20px;
    }
    .singlePriceWrap {
        margin: 20px 0 !important;
    }
    .singleProduitDescriptions .singlePriceWrap .average-rating{
        display: none;
    }
    .single-product .price{
        font-size: 22px !important;
    }
    .singleProduitDescriptions .variations_form .variations tr:not(:last-child){
        margin-bottom: 10px !important;
    }
}


/* Ajout panier */
form.cart {
    width: fit-content;
}
.ct-cart-actions {
   --theme-button-min-height: 45px!important;
   width: fit-content;
	margin:10px 0;
}
.ct-cart-actions .quantity {
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.16);
    border-radius: 20px!important;
    overflow: hidden!important;
}
.shop_table .quantity, .ct-cart-actions .quantity{
    --quantity-height: fit-content!important;
    padding: 4px 0!important;
}
.quantity[data-type=type-1] input[type=number]{
    border-width: 0px!important;
    font-size:20px!important;
    font-size: 15px !important;
    min-height: fit-content;
    height: fit-content;
}
div.quantity .ct-increase, div.quantity .ct-decrease{
    justify-content: left!important;
}
.quantity[data-type=type-1] .ct-increase:before, .quantity[data-type=type-1] .ct-decrease:before {
    font-size: 10px!important;
}
button.single_add_to_cart_button{
    background: var(--main-blue)!important;
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.16);
    color: white!important;
    font-size:20px!important;
    height: fit-content !important;
    min-height: fit-content !important;
    padding: 0px 21px !important;
    transition: 0.3s ease-in-out!important;
    width: fit-content !important;
    flex: unset !important;

}
button.single_add_to_cart_button:hover{
    background: var(--main-black)!important;
    color: white!important;
}

@media screen and (max-width:1000px){
     [class*=ct-woocommerce] .shop_table .product-mobile-actions {
        display: none!important;
    }
    [class*=ct-woocommerce] .shop_table tr>.product-price, [class*=ct-woocommerce] .shop_table tr>.product-quantity, [class*=ct-woocommerce] .shop_table tr>.product-subtotal, [class*=ct-woocommerce] .shop_table tr>.product-remove{
        display:flex!important;
    }
    dd.variation-Descriptioncourte{
        display: none;
    }
    .ct-woocommerce-cart-form .cart_totals table td{
        width: 100%;
    }
}
@media screen and (max-width:500px){
    .product-subtotal, [class*=ct-woocommerce] .shop_table .product-subtotal  {
        position: relative;
        bottom: unset;
        right: unset;
        width: fit-content;
        margin-right: 0;
        margin-left: auto;
    }
}


/* Réassurance */

@media screen and (min-width:1300px) {
    .singleReassurance {
        display: grid;
        gap: 10px 10px;
        grid-template-columns: 1fr 1fr
    }
    .reassurance-item:first-child {
        grid-column: span 2;
    }
}
@media screen and (max-width:1299px) {
    .singleReassurance {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
    #singleFoundShop{
        display: block;
    }
}
@media screen and (max-width:767px) {
    .singleReassurance {
        margin-top: 20px;
    }
}

.reassurance-item {
    display: flex;
    gap: 10px;
}
.reassurance-item img {
    width: 35px;
    height: auto;
}
.reassurance-item p {
    font-weight: 400;
    align-self: center;
    line-height: normal!important;
}
#singleFoundShop{
    text-decoration: underline;
    font-weight: 600!important;
    color: var(--main-blue);
    cursor: pointer;
    padding: 0 5px!important;
}

#singleChooseShop{
    text-decoration: underline;
    font-weight: 600!important;
    color: var(--main-blue);
    cursor: pointer;
    display: inline-flex;
}
.woocommerce-cart #singleChooseShop{
    text-decoration: underline;
    font-weight: 700!important;
    color: var(--main-black);
    cursor: pointer;
}
@media screen and (max-width:767px) {
    .reassurance-item:not(:first-child) .reassurance-item img{
        display: none;
    }
    #singleFoundShop{
        padding: 0 !important;
    }
}


/* Attributs produits */

.product-long-description>div p {
    margin-bottom: 10px !important;
}

.product-attributs h2{
    margin-bottom: 10px!important;
}
.product-attributs h3{
    margin: 20px 0 10px!important;
}

.product-attributs table{
    display: flex;
    margin-bottom: 10px ;
}
.product-attributs tbody{
   /* padding: 10px!important;*/
    width: 100%;
    display: flex;
    flex-direction: column;
}
.product-attributs table, .product-attributs td {
    border-width: 0 !important;
    background: transparent!important;
}
.woocommerce-product-attributes tr{
    background: var(--light-gray);
    margin-bottom: 10px;
    display: flex;
    width: 100%;
}
.woocommerce-product-attributes tr:not(:last-child) {
    margin-bottom: 10px;
}
.woocommerce-product-attributes a{
    color: var(--main-black);
}
.product-attributs th{
    min-width: 150px;
    font-weight: 400!important;
    position: relative;
    border-width: 0px;
}
.product-attributs th:after{
    content: "";
    position: absolute;
    right: 0;
    width: 1px;
    top : 8px;
    bottom: 8px;
    background-color: var(--main-black);
}
tr.woocommerce-product-attributes-item.woocommerce-product-attributes-item--attribute_pa_couleur {
    order: -1;
}
.product-long-description br{
    display: none!important;
}
.accordeonMobTrigger1, .accordeonMobTrigger2 {
    cursor: pointer;
    width: 100%;
    justify-content: space-between;
    display: flex;
    margin-bottom: 10px !important;
}
.accordeonMobTrigger1 svg, .accordeonMobTrigger2 svg{
    display: inline-flex;
    transition: 0.3s ease-in-out;
    align-self: center;
}
.accordeonMobile1, .accordeonMobile2{
    height: 0;
    opacity: 0;
    transform: translateY(-100%);
    visibility: hidden;
}
.accordeonMobile2 table, .accordeonMobile2 table{
    margin-bottom: 0px !important;
}
.accordeonMobile2 h3{
    display: none;
}
.accordeonMobile2.accOpen h3{
    display: flex;
}
.accOpen{
    height: fit-content!important;
    opacity: 1!important;
    transform: translateY(0);
    visibility: visible;
}
.turnArrow{
    transform: rotate(180deg);
}

@media screen and (max-width:767px){
    .product-attributs h2, .product-long-description h2{
        margin-bottom: 0px !important;
    }
    .accordeonMobile1.accOpen p:first-child{
        margin-top: 10px!important;
    }
}

/*Commentaires */

.woocommerce-Reviews-title{
    display: none;
}

.noteMoyenne {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.noteMoyenne>div{
    align-items: end;
    display: flex;
    flex-direction: column;
}
.avisSingle{
    width: 100%;
}
#nbReviews{
    font-size: 12px;
    font-family: 'Rubik';
    text-align: end;
}

.woocommerce-Reviews .commentlist li{
    border-top: 0px !important;
}
.woocommerce-Reviews .comment_container:first-child {
    padding-top: 5px!important;
}
.woocommerce-Reviews .comment_container {
    padding-top: 20px!important;
    padding-bottom:10px!important;
}
p.woocommerce-verification-required {
    font-size: 12px!important;
}

.woocommerce-Reviews .comment-text {
    display: flex;
    flex-wrap: wrap;
}
.woocommerce-Reviews .comment-text .meta strong {
    font-weight: 500!important;
    font-size: 14px!important;
}
.woocommerce-Reviews .meta :is(time) {
    font-weight: 400!important;
}
.woocommerce-Reviews .description {
    font-weight: 400!important;
    font-size: 14px!important;
}
.woocommerce-Reviews .star-rating {
    float: unset!important;
    order: 2;
    margin-top: 0!important;
    margin-left: 15px;
}
.singleProduitWrap .star-rating{
    color: transparent;
    -webkit-text-stroke: 0.5px black;
}
.singleProduitWrap .star-rating span:before{
    color: var(--main-black)!important;
}
.woocommerce-Reviews .description {
    word-break: break-word;
    width: 100%;
    order: 3;
}

.avisSingle p.woocommerce-verification-required,
.avisSingle .woocommerce-Reviews .woocommerce-noreviews {
    display: none;
}
.avisSingle .woocommerce-Reviews {
    row-gap: 0px;
}


/*Image produit */

.singleProduitImages .ct-media-container img, 
.singleProduitImages .ct-media-container video, 
.singleProduitImages .ct-media-container picture {
    aspect-ratio: unset!important;
}

/* Galerie produits */
.singleProduitImages {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: row-reverse;
    position: sticky;
    top: 145px;
    height: fit-content;
}
.product-images-slider{
    width: 80%;
    background: #F6F6F6!important;
    height: auto;
}


.product-thumbnails-slider{
    width: calc(20% - 20px);
    margin-right: 20px;
    height: auto;
}
.product-thumbnails-slider .slick-list {
    overflow: visible;
}
.product-thumbnails-slider .slick-list .slick-track{
    height: 100% !important;
    align-content: start;
}

.single-product-images-slider .slick-list, .product-thumbnails-slider .slick-list{
    width: 100%;
}

.product-thumbnails-slider .slick-prev, .product-thumbnails-slider .slick-next{
    position: absolute;
    left: 50%; 
    z-index: 1;
    transform: translateY(-50%);
    height: 30px;
    width: 30px;
}
.product-thumbnails-slider .slick-prev{
    top: 0%!important;
    transform: translate(-50%, 0%); 
}

.product-thumbnails-slider .slick-next{
    bottom: 0%;
    transform: translate(-50%, 0%);
    top: unset;
}
.product-thumbnails-slider .slick-prev:before, .product-thumbnails-slider .slick-next:before{
    content: "" !important;
    height: 30px;
    width: 30px;
    display: flex;
    background-size: 18px;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(/wp-content/uploads/2024/04/arrow-down.svg);
    background-color: var(--main-blue);
    opacity: 1;
    transition: 0.3s ease-in-out;
}
.product-thumbnails-slider .slick-prev:hover:before, .product-thumbnails-slider .slick-next:hover:before{
    background-size: 20px!important;
    background-color: var(--main-black);
}
.product-thumbnails-slider .slick-prev:before{
    transform: rotate(180deg);
}
.slick-vertical .slick-slide{
    border: 0px solid transparent!important;
}

.product-thumbnails-slider  .slick-current.slick-active img {
    border: 2px solid var(--main-blue)!important;
}
.productImgWrap{
    position: relative;
}

/* Lightbox */
@media screen and (min-width:768px) {
    a.zoom-icon{
        display: none;
    }
}
a.zoom-icon {
    position: absolute;
    color:transparent;
    bottom: 10px;
    right: 15px;
    z-index: 999999;
    background: white;
    background-image: url(/wp-content/uploads/2024/03/search.svg);
    background-position: center;
    background-size: 20px;
    background-repeat: no-repeat;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.16);
    margin: auto;
}
a.zoom-icon:hover {
    color:transparent;
}
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999999;
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.85);
}

#lightbox:target {
    display: flex;
}
span#close-lightbox{
    position:absolute; 
    right: 20px; 
    top: 20px; 
    cursor: pointer; 
    color: white; 
    font-size: 40px;
    font-weight: 200;
    line-height: 30px;
}

@media screen and (max-width:1000px) {
    .singleProduitImages{
        flex-direction: column;
        top: 115px;
    }
    .product-thumbnails-slider,.product-images-slider{
        width: 100%;
    }
    .product-thumbnails-slider .slick-prev {
        top: 50% !important;
        transform: translate(0%, -50%);
        left: 0%;
    }
    .product-thumbnails-slider .slick-next {
        top: 50%;
        bottom: unset;
        left: unset;
        right: 0;
        transform: translate(0%, -50%);
    }
    .product-thumbnails-slider .slick-prev:before {
        transform: rotate(90deg);
    }
    .product-thumbnails-slider .slick-next:before {
        transform: rotate(-90deg);
    }
    .product-thumbnails-slider{
        margin-right: 0;
        margin-top: 10px;
    }
    .product-thumbnails-slider .slick-list .slick-track .slick-slide>div {
        margin-right: 5px;
    }
}
@media screen and (max-width:767px) {
    .singleProduitImages{
        flex-direction: column;
        position: relative!important;
        top: unset !important;
    }
    .product-images-slider .slick-slide img {
        max-height: 40vh;
        margin: auto;
    }
    .product-thumbnails-slider .slick-slide img {
        max-height: 18vh;
        object-fit: cover;
        width: 100%;
    }
}

/* produits Liés */
.single-product .upsells.products{
    display: none;
}
.singleProduitRelated{
    position: relative;
    /*padding: 45px 0 70px 0;*/
    margin-top: 100px;
    display: flex;
    flex-direction: column;
}
/*.singleProduitRelated:before{
    content: "";
    position: absolute;
    top:0;
    left: 50%;
    bottom: 0;
    width: 100vw;
    transform: translateX(-50%);
    background-color: var(--light-gray);
    z-index: -1;
}*/
.related-wrap, .cross-sells-wrap{
	position: relative;
	padding: 40px 0;
    justify-content: center;
    display: flex;
    flex-direction: column;
}
.related-wrap:before{
	content: "";
    position: absolute;
    top: 0;
    left: 50%;
    bottom: 0;
    width: 100vw;
    transform: translateX(-50%);
    background-color: var(--main-beige);
    z-index: -1;	
}
.cross-sells-wrap:before{
	content: "";
    position: absolute;
    top: 0;
    left: 50%;
    bottom: 0;
    width: 100vw;
    transform: translateX(-50%);
    background-color: var(--light-gray);
    z-index: -1;	
}

#relatedLink{
    order: 3;
    width: fit-content;
    margin: 30px auto 0;
    background-color: var(--main-black);
    color: white;
    text-align: center;
}
.singleProduitRelated .related-title, .singleProduitRelated .cross-sells-title{
    text-align: center;
    margin-bottom: 40px!important;	
}
.related-products{
	margin-bottom:40px!important;
}
.singleProduitRelated .produitSelection h2{
    margin-bottom: 5px!important;
}

/*
.singleProduitRelated>.related .produitSelection{
    background-color: white;
    padding: 15px;
    box-shadow: 0px 0px 8px 0px rgba(41, 41, 41, 0.16);
}
*/
.related .produitSelection .infosProduitWrap>div {
    max-width: calc(100% - 45px);
    display: flex;
    flex-wrap: wrap;

}
.related .produitSelection .infosProduitWrap p {
    display: inline;
}
.related .produitSelection .infosProduitWrap .p6 {
    font-size: 18px !important;
    width: 100%;
}
/*
.singleProduitRelated>.related .produitSelection .yith-wcwl-add-to-wishlist {
    top: 10px!important;
    right: 10px!important;
}*/

@media screen and (max-width:1000px) {
    /*.singleProduitRelated{
        padding: 50px 0;
    }*/
    .singleProduitRelated .related.ct-hidden-md{
        display: block!important;
    }
    .singleProduitRelated .related .products{
        display: flex!important;
    }

}
@media screen and (max-width:767px) {
    .singleProduitRelated>.related h2{
        text-align: left;
    }
}

@media screen and (min-width:767px) and (max-width:1000px) {
    .singleProduitRelated .related .products .slick-slide{
        margin-left: 40px;
    }
}
@media screen and (max-width:767px)  {

    .singleProduitRelated .related .products {
        margin: 0 0px 0px 10px;
    }
    .singleProduitRelated .related .products .slick-slide{
        margin-right: 10px;
    }
}


/**** PANIER WOOCOMMERCE ****/

.woocommerce-cart .filArianne{
    margin: 70px 0 10px 0;
}
.woocommerce-cart #main h1{
    margin-top: 0!important;
    margin-bottom: 30px!important;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
}

.woocommerce-cart form.woocommerce-cart-form thead {
    display: none;
}
.ct-woocommerce-cart-form .woocommerce-cart-form table:first-child{
    margin-top: 0px!important;
}
.woocommerce-cart .ct-woocommerce-cart-form .cart_totals {
    padding: 30px 30px 150px 30px!important;
}

.woocommerce-cart  .ct-woocommerce-cart-form .cart_totals h2{
    display: none;
}

.woocommerce-cart  tr.woocommerce-cart-form__cart-item.cart_item{
    box-shadow: 0px 0px 8px 0px rgba(41, 41, 41, 0.16);
    display: flex;
    flex-wrap: wrap;
    position: relative;
}

.woocommerce-cart   table.shop_table tr{
    --theme-table-border-width :0px!important;
}

span#total_cart_count {
    font-size: 44px;
    align-self: end;
    margin-left: 5px;
    line-height: normal;
}

@media screen and (min-width:767px) and (max-width:1000px){
    span#total_cart_count {
        font-size: 40px;
    }
}
@media screen and (max-width:767px) {
    span#total_cart_count {
        font-size: 32px;
    }
    .woocommerce-cart .ct-woocommerce-cart-form .cart_totals{
        padding: 20px 20px 170px 20px!important;
    }
}
.woocommerce-cart .shop_table table, .woocommerce-cart .shop_table tbody{
    display: flex!important;
    flex-direction: column!important;
    width: 100%!important;
    border: 0px!important;
}
.woocommerce-cart table, .woocommerce-cart th, .woocommerce-cart td{
    border: 0!important;
}
.woocommerce-cart .woocommerce-cart-form__contents tbody{
    gap: 30px!important;
}

.woocommerce-cart .woocommerce-cart-form__cart-item.cart_item, .woocommerce-cart .cart_totals {
    box-shadow: 0px 0px 8px 0px rgba(41, 41, 41, 0.16);
    border: 0!important;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    
}

.woocommerce-cart .product-thumbnail{
    max-width: 45%!important;
    width: auto!important;
    padding: 16px!important;
    align-self: center;
}
.woocommerce-cart .product-thumbnail a {
    height: 100%;
    display: flex;
}
.woocommerce-cart .attachment-woocommerce_thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.woocommerce-cart .product-name{
    max-width: 65%!important;
    width: 65%!important;   
    padding: 16px!important;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    height: fit-content;
    gap: 15px;
}
.woocommerce-cart .product-name dl.variation{
    width: 100%!important;   
    margin: 0!important;
}

.cart-delay-info {
display: inline-flex;
    width: 100%;
    order: 100;
    gap: 0 8px;
    align-items: center;
    justify-content: left;
    word-break: break-word;
}
.cart-delay-info br {
    display: none;
}
.cart-delay-info * {
	font-weight:500;
}
.cart-delay-info p {
    display: inline-flex;
    width: fit-content;
}
.cart-delay-info svg {
    display: flex;
    width: 40px !important;
    height: 40px !important;
}
.cart-delay-info span.icon-delay {
    width: 38px;
    height: 38px;
    display: inline-flex;
    background-image: url(/wp-content/uploads/2025/01/livraison.svg);
	background-repeat:no-repeat;
	background-size:contain;
	background-position:center left;
}

@media screen and (max-width:550px){
	.cart-delay-info {
		flex-direction: column;
		align-items: start;
	}	
}


.woocommerce-cart .product-name p:empty {
    display: none;
}
.woocommerce-cart td.product-name>a.p5 {
    width: calc(100% - 60px)!important;
    max-width: unset!important;
}

[class*=ct-woocommerce] .shop_table .product-quantity, [class*=ct-woocommerce] .shop_table .product-subtotal {
    text-align: left!important;
    align-self: center;
}

.woocommerce-cart [class*=ct-woocommerce] .shop_table .product-quantity{
    border-radius: 24px;
    background: var(--White, #FFF);
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.16);
    width: fit-content;
    padding-right: 10px;
}

.woocommerce-cart .product-name a{
    font-size: 20px!important;
}

.woocommerce-cart .cart_item .woocommerce-Price-amount{
    color: var(--main-blue);
    font-weight: 700;
    font-size: 22px!important;
    line-height: normal;
    margin-bottom: 10px;
    /*display: flex;*/
}
.woocommerce-cart .shop_table .sale-price del .amount {
    color: var(--dark-gray)!important;
    font-size: 16px!important;
    font-weight: 500!important;
    display: block!important;
    line-height: normal;
    margin-bottom: 0!important;
}
/*
.woocommerce-cart .product-subtotal {
    position: absolute;
    bottom: 20px;
    right: 20px;
}
*/
.woocommerce-cart .product-subtotal .woocommerce-Price-amount.amount{
    font-size: 22px!important;
    margin-bottom: 0!important;
    margin-left: 15px!important;
}
.woocommerce-cart .shop_table .sale-price{
    display: block!important;
}

.cart_item .product-name .price, .cart_item .product-name .awdr_cart_strikeout_line {
    display: none;
}

.woocommerce-cart .product-remove {
    position: absolute;
    right: 20px;
    top: 20px;
    width: fit-content !important;
    display: flex;
    gap: 0px;
    padding: 0 !important;
    max-width: 50px;
}
.yith-wcwl-add-button{
    height: fit-content;
    line-height: normal;
}

.woocommerce-cart table .add_to_wishlist, .woocommerce-cart table .remove{
    --theme-icon-size: 18px!important;
    max-width: 20px;
    height: fit-content;
    line-height: normal;
}
.woocommerce-cart table .fa{
    font-size: 20px;
}


.woocommerce-cart  dt.variation-Prix, dt.variation-Descriptioncourte, 
.woocommerce-cart dt.variation-Ajouterlawishlist {
    display: none!important;
}
.woocommerce-cart dd.variation-Descriptioncourte {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2; 
            line-clamp: 2; 
    -webkit-box-orient: vertical;
}
 
.woocommerce-cart  dd.variation-Descriptioncourte {
    line-height: normal;
    margin-bottom: 20px;
    width: calc(100% - 60px);
}
.woocommerce-cart  dt.variation-Rfrence{
    display: flex!important;
}
.woocommerce-cart .cart_item .custom-variations-color{
    position: relative!important;
    right: unset;
    bottom: unset;
    margin-left: 10px;
    display: inline-flex!important;
}

/* Total panier */
.woocommerce-cart .cart_totals{
    padding-bottom: 130px!important;
}
.woocommerce-cart  .cart_totals table.shop_table {
    order: -1;
    margin-top: 30px;
}
.woocommerce-cart  .cart_totals table.shop_table tr.shipping th{
    display: block;
}

.shipping-calculator-form {
    display: flex;
    flex-direction: column!important;
}
p#calc_shipping_postcode_field {
    order: 1!important;
}
p#calc_shipping_city_field {
    order: 2!important;
}
.shipping-calculator-form p:last-of-type{
    order: 3!important;
}
.woocommerce-shipping-calculator [type=submit]{
    width: fit-content!important;;
    padding: 7px 20px!important;;
    min-height: fit-content!important;;
    margin-top: 7px!important;;
}
   
.woocommerce-cart  .ct-woocommerce-cart-form .cart_totals h2{
    display: none!important;
}
.woocommerce-cart tr.cart-subtotal, 
.woocommerce-cart tr.cart-discount,
.woocommerce-cart tr.order-total
{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.woocommerce-cart tr.cart-discount th,
.woocommerce-cart tr.cart-subtotal th, 
.woocommerce-cart tr.order-total th,
.woocommerce-cart tr.shipping th{
    padding: 0!important;
    margin-right: 20px;
}
.woocommerce-cart tr.cart-discount td,
.woocommerce-cart tr.cart-subtotal td, 
.woocommerce-cart tr.order-total td, 
.woocommerce-cart tr.shipping td{
    padding: 0!important;
}
.woocommerce-cart .woocommerce-shipping-destination, .woocommerce-cart .woocommerce-shipping-calculator{
    line-height: normal;
}
.woocommerce-cart .shipping-calculator-button{
    margin: 0!important;
}
.woocommerce-cart tr.order-total{
    margin-top: 20px;
}

.woocommerce-cart .cart_totals .shop_table tbody{
    gap: 5px!important;
}
.woocommerce-cart  tr.cart-subtotal td span.woocommerce-Price-amount{
    font-size: 16px !important;
    color: var(--main-black) !important;
    font-weight: 500 !important;
    line-height: normal !important;
} 
.woocommerce-cart  tr.order-total th{
    font-size: 22px !important;
    color: var(--main-black) !important;
    font-weight: 700 !important;
    line-height: normal !important;
} 
.woocommerce-cart  tr.order-total td strong .woocommerce-Price-amount {
    font-size: 22px !important;
    color: var(--main-black) !important;
    font-weight: 700 !important;
    line-height: normal !important;
}
.woocommerce-cart  .includes_tax{
    display: block!important;
}
.woocommerce-cart .includes_tax .woocommerce-Price-amount{
    font-size: 12px !important;
    font-weight: 400!important;
}
.woocommerce-cart .woocommerce-cart-form__contents .actions{
    text-align: left!important;
    display: none!important;
}
.woocommerce-cart .woocommerce-cart-form__contents .actions input, .woocommerce-cart .woocommerce-cart-form__contents .actions button {
    min-height: 0!important;
    height: fit-content;
    padding: 5px 20px;
}

.woocommerce-form-coupon-toggle {
    display: none!important;
}
.woocommerce-cart .ct-woocommerce-cart-form .cart_totals>p:not(.form-row-first, .form-row-last){
    display: none!important;
}

.woocommerce-cart .ct-woocommerce-cart-form .cart_totals [type=submit]{
    margin: 0!important;
}
.woocommerce-cart #coupon_code {
    border-radius: 30px;
    text-align: center;
    margin-inline-end:0!important;
    padding: 3.5px 20px;
}
.woocommerce-cart #coupon_code, .woocommerce-cart [name=apply_coupon], .woocommerce-cart [name=update_cart]{
    font-size: 18px !important;
    margin-bottom: 10px !important;
    line-height: normal !important;
    min-height: fit-content !important;
    height: fit-content!important;
    width: 100%;
    border-radius: 30px!important;
}

tr.cart-discount.coupon-vipfly25 {
    display: none!important;
}

.woocommerce-cart [name=apply_coupon]{
    margin: 0 10px;
}
a.woocommerce-remove-coupon {
    font-size: 22px;
}
.woocommerce-cart .ct-woocommerce-cart-form .cart_totals .wc-proceed-to-checkout{
    margin-top: 0!important;
    width: 100%!important;
}

.cart_totals .form-row.form-row-first {
    order: -2;
}
.cart_totals .form-row.form-row-last {
    order: -1;
}

/*
.cart_totals .coupon{
    position: absolute;
    top: -20px;
    right: 0px;
    left: 0px;
    transform: translate(0%, -100%);
    padding: 30px !important;
    box-shadow: 0px 0px 8px 0px rgba(41, 41, 41, 0.16);
}

.cart_totals .form-row.form-row-first {
    order: -2;
    position: absolute;
    top: 30px;
    left: 30px;
    right: 30px;
    width: unset;
}
.cart_totals .form-row.form-row-last {
    order: -1;
    position: absolute;
    top: 85px;
    left: 30px;
    right: 30px;
    width: unset;
}
*/
.woocommerce-cart .ct-woocommerce-cart-form .cart_totals .wc-proceed-to-checkout a{
    background-color: var(--main-blue);
    font-size: 22px !important;
    color: white!important;
    min-height: fit-content !important;
    height: fit-content !important;
    padding: 0;
}
.woocommerce-cart .ct-woocommerce-cart-form .cart_totals .wc-proceed-to-checkout a:hover{
    background-color: var(--main-black);
    color: white!important;
}
.payplug-oney{
    flex-wrap: wrap;
    margin-bottom: 0px;
    margin-top: 0px!important;
}

.woocommerce-cart .paiementsCart{
    background: var(--main-black);
    display: flex;
    flex-wrap: wrap;
    padding: 16px;
    justify-content: left;
    align-items: center;
    gap: 24px;
    align-self: stretch;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0px;
}
.woocommerce-cart .paiementsCart>* {
    color: white;
}
.woocommerce-cart .paiementsCart img {
    max-width: 200px!important;
    width: 100%;
}
.woocommerce-cart .ct-woocommerce-cart-form .cart_totals .form-row-first, 
.woocommerce-cart .ct-woocommerce-cart-form .cart_totals .form-row-last{
    width: 100%;
}

@media screen  and (max-width:1280px) {
    .paiementsCart h4 br{
        display: none;
    }
}
@media screen  and (min-width:1000px)  and (max-width:1280px) {
    .woocommerce-cart .paiementsCart{
        gap: 14px;
    }
}
@media screen  and (min-width:767px)  and (max-width:1000px) {
    .woocommerce-cart #coupon_code, .woocommerce-cart [name=apply_coupon], .woocommerce-cart [name=update_cart],
    .ct-woocommerce-cart-form .cart_totals .wc-proceed-to-checkout a{
        min-width: 300px!important;
        width: fit-content!important;
    }   
    .woocommerce-cart .ct-woocommerce-cart-form .cart_totals .form-row-last{
        width: fit-content;
    }
}

/* Complétez panier */
.cross-sells>h2 {
    display: none;
}
h2#flyCrossSells {
    margin-top: 100px;
    text-align: center;
}
.cross-sells{
    position: relative;
    padding-top: 50px!important;
    margin-top: 0px!important;
}
.cross-sells::before{
    content: "";
    position: absolute;
    bottom: -100px;
    background: linear-gradient(0deg, var(--main-beige) 70%, transparent 100%);
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    height: calc(100% + 100px);
    z-index: -1;
}

.cross-sells .produitSelection .price del {
    font-size: 12px!important;
    margin-left: 0px!important;
}

.cross-sells .produitSelection .custom-variations{
    display: none;
}
.woocommerce-cart .woocommerce-cart-form__cart-item.cart_item{
    height: fit-content;
}
.woocommerce-cart .product-thumbnail{
    height: 100%;
}
.woocommerce-cart .product-thumbnail a {
    height: 175px;
}

@media screen and (max-width:1000px) {
    .woocommerce-cart .cart_totals{
        padding-bottom: 150px!important;
    }
    .woocommerce-cart .cross-sells [data-products] {
        display: flex !important;
    }
    .woocommerce-cart .cross-sells .products .slick-slide{
        height: auto;
    }
    .woocommerce-cart .cross-sells .products .slick-slide>div>.produitSelection{
        height: 100%;
        /*display: flex!important;*/
    }
    .woocommerce-cart .cross-sells::before{
        height: calc(100% + 200px);
    }
    .ct-woocommerce-cart-form{
        grid-row-gap: 20px!important;
    }
    
}
@media screen and (min-width:767px) and (max-width:1000px) {
    .woocommerce-cart .cross-sells .products .slick-slide>div{
        height: 100%;
        margin-left: 40px;
    }
    .woocommerce-cart #coupon_code, .woocommerce-cart [name=apply_coupon], .woocommerce-cart [name=update_cart]{
        font-size: 20px!important;
    }
}
@media screen and (max-width:767px)  {
    .woocommerce-cart .cross-sells .products{
        margin: 0px 0px 0px 10px!important;
    }
    .woocommerce-cart .cross-sells .products .slick-slide>div {
        margin-right: 10px!important;
    }
    .woocommerce-cart .cross-sells .products .slick-slide>div{
        height: 100%;
    }
    .woocommerce-cart .woocommerce-cart-form__contents .actions{
        display: block;
    }
    .woocommerce-cart-form__contents .coupon{
        width: 100%;
        flex-direction: column;
        margin-bottom: 10px;;
    }
    .woocommerce-cart #coupon_code, .woocommerce-cart [name=apply_coupon], .woocommerce-cart [name=update_cart]{
        width: 100%;
        font-size: 18px!important;
    }
    .woocommerce-cart [name=apply_coupon]{
        margin: 0!important;
    }

	.woocommerce-cart .product-name{
		max-width: 55%!important;
		width: 55%!important;   
	}
    .woocommerce-cart td.product-name>a.p5{
        width: 100%!important;
    }
    
    .woocommerce-cart .product-name, .woocommerce-cart .product-thumbnail{
        height: fit-content!important;
    }
    .woocommerce-cart .product-thumbnail a{
        height: 100%;
    }
    .woocommerce-cart .product-name{
        padding: 46px 16px 16px 0!important;
    }
    .woocommerce-cart .quantity[data-type=type-1] input[type=number] {
        border-width: 0px !important;
        font-size: 16px !important;
    }
    .woocommerce-cart .shop_table .quantity {
        --quantity-height: 33px;
    }

    .woocommerce-cart .shop_table .sale-price del .amount{
        font-size: 14px!important;
    }
    .woocommerce-cart .shop_table .product-subtotal{
        margin-top: 10px;
    }
    .woocommerce-cart .product-name .variation .woocommerce-Price-amount{
        color: var(--main-black);
        font-size: 18px !important;
    }
    .woocommerce-cart .product-subtotal .woocommerce-Price-amount.amount{
        font-size: 20px !important;
    }
    .woocommerce-cart .ct-woocommerce-cart-form .cart_totals .wc-proceed-to-checkout a{
        font-size: 18px !important;
    }
    .woocommerce-cart table.shop_table_responsive .order-total td[data-title]:before{
        font-size: 22px !important;
        font-weight: 700 !important;
        line-height: normal;
    }
}
/*
@media screen and (max-width:500px)  {
	.product-subtotal, [class*=ct-woocommerce] .shop_table .product-subtotal{
		margin-left:0!important;
	}
	.woocommerce-cart .product-subtotal .woocommerce-Price-amount.amount{
		margin-left:0!important;
	}
}*/
@media screen and (max-width:450px)  {
    .woocommerce-cart .product-name, .woocommerce-cart .product-thumbnail {
        max-width: 100% !important;
        width: 100% !important;
    }
    .woocommerce-cart .product-name{
        padding: 16px!important;
        gap: 8px!important;
    }
}

/*** CHECKOUT ***/
@media screen and (min-width:480px) {
    .woocommerce-form-login-toggle .woocommerce-info .showlogin{
        margin-inline-start: 10px!important;
    }
}

.woocommerce-form-login-toggle .woocommerce-info {
    border: 1px solid var(--main-blue);
    border-radius: 30px !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    background: var(--main-blue);
    color: white !important;
    padding: 8px 24px !important;
    transition: 0.3s ease-in-out;
}
.woocommerce-form-login-toggle .woocommerce-info:hover {
    background: var(--main-black);
    color: white !important;
    border-color: var(--main-black)!important;
}
.woocommerce-form-login-toggle .woocommerce-info:hover a{
    color: white !important;
}

.woocommerce-shipping-totals td:before{
    display: none!important;
}

.woocommerce-checkout h1{
    text-align: center;
}
.woocommerce-checkout form.woocommerce-checkout{
    margin: 50px 0!important;
}
.woocommerce-checkout .woocommerce-error li {
    font-weight: 700;
    font-size: 20px;
}

.woocommerce-checkout  .variation-Descriptioncourte{
    display: none;
}

.woocommerce-checkout td.product-name{
    font-weight: 700;
}

.custom_delay{
    font-weight: 300 !important;
    font-size: 14px !important;
    line-height: normal !important;
}

.woocommerce-checkout dl.variation {
    font-weight: 500!important;
}
.woocommerce-checkout dl.variation dt.variation-Couleur{
    float: unset;
}
.woocommerce-checkout dd.variation-Couleur {
    display: inline-flex;
}
.woocommerce-checkout .custom-variations-color{
    position: relative;
    display: inline-flex;
    right: unset;
    bottom: unset;
}
.woocommerce-checkout  dt.variation-Rf {
    display: none !important;
}

.woocommerce-checkout-review-order#order_review td.product-name .variation {
    display: none;
}

.woocommerce-checkout-review-order#order_review  td.product-name {
    width: 70%;
}
.woocommerce-checkout dd.variation-Rf p:before {
    content: "Réf:";
    display: inline;
    position: relative;
    padding-right: 5px;
}
.woocommerce-checkout ul#shipping_method li:not(:last-child){
    margin-bottom: 0!important;
}
.woocommerce-checkout ul#shipping_method li:last-child{
    margin-bottom: 10px!important;
}
.woocommerce-checkout .woocommerce-shipping-totals td:before{
    margin-top: 10px!important;
    margin-bottom: 0!important;
}

form.woocommerce-checkout #woocommerce-NoticeGroup,
form.woocommerce-checkout .woocommerce-NoticeGroup-checkout {
    grid-column: 1 / -1; 
}

.woocommerce-checkout .ct-order-review {
    border: 0px;
    box-shadow: 0px 0px 8px 0px rgba(41, 41, 41, 0.16);
}
.woocommerce-checkout .form-row label {
    margin: 14px 0 0 0;
}
.woocommerce-order-received #main{
    margin-top: 70px ;
    margin-bottom: 70px;
}

.woocommerce-checkout-payment .place-order button[type=submit]{
    width: fit-content!important;
}

.woocommerce-checkout select, .woocommerce-checkout textarea, .woocommerce-checkout input[type=tel], .woocommerce-checkout input[type=text], .woocommerce-checkout input[type=email], .woocommerce-checkout input[type=number], .woocommerce-checkout fieldset .wc-stripe-elements-field, .woocommerce-checkout span.select2-container .select2-selection--single, .woocommerce-checkout span.select2-container .select2-selection--multiple{
    border-radius: 0;
}

/* Date picker */
div#custom_store_pickup_field {
    height: fit-content;
    display: inline-block;
    width: 100%;
}
.ui-state-default, .ui-widget-content .ui-state-default {
    border-width: 0!important;
}
.ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl {
    border-top-left-radius: 0 !important;
    border-bottom-right-radius: 0!important;
    border-bottom-left-radius:0!important;
    border-top-right-radius :0!important;
}
a.ui-datepicker-prev .ui-icon{
    transform: rotate(90deg);
}
a.ui-datepicker-next .ui-icon{
    transform: rotate(-90deg);
}
.ui-widget-header .ui-icon{
    background-size: contain;
    background-image:url('/wp-content/uploads/2024/04/down.svg');
    background-position: center;
    background-repeat: no-repeat;
}
.ui-widget-header{
    background-color: white;
    border-width: 0!important;
    font-family: 'Lexend';
}
.ui-datepicker-calendar{
    font-family: 'Lexend';
}
.ui-widget-content .ui-state-focus, .ui-widget-content .ui-state-hover{
	background:  var(--main-blue);
	font-weight: normal;
}
.ui-widget-header .ui-state-hover, .ui-widget-header .ui-state-focus{
	border-width: 0!important;
	background:  white;
	font-weight: normal;
	color: var(--main-black);
}
.ui-datepicker-header .ui-datepicker-prev-hover,
.ui-datepicker-header .ui-datepicker-next-hover {
	top: 2px!important;
    cursor: pointer;
}

@media screen and (max-width:1000px) {
    .woocommerce-checkout ul.woocommerce-error {
       margin-bottom: 0!important;
    }
    .woocommerce-checkout {
        grid-row-gap: 0px;
    }
}



/*** COMPTE ***/

.woocommerce-account #main-container{
    min-height: calc(70vh + var(--header-height))!important;
}

.woocommerce-account #main-container #main {
    min-height: 70vh;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}


.woocommerce-account #main {
    padding: 100px 0 200px;
}
.woocommerce-account h1{
    margin-bottom: 30px !important;
}

.woocommerce-account .ct-acount-nav{
    box-shadow: 0px 0px 8px 0px rgba(41, 41, 41, 0.26);
    border-radius: 0;
}



#customer_login{
    gap:30px;
}

#customer_login>div {
    background: white;
    padding: 30px;
    height: fit-content;
}

#customer_login>div, .woocommerce.ct-woo-unauthorized {
    margin: 0 auto;
    width: 100%;
}
.woocommerce-lost-password .woocommerce.ct-woo-unauthorized{
    background: white;
}
.woocommerce-lost-password .woocommerce.ct-woo-unauthorized {
    width: 100%;
    padding: 30px;
    height: fit-content;
}
.woocommerce-lost-password .woocommerce.ct-woo-unauthorized form p {
    margin-bottom: 25px !important;
}
.ct-woo-unauthorized>.woocommerce-ResetPassword button[type=submit] {
    width: fit-content!important;
}
.ct-woo-unauthorized>.woocommerce-ResetPassword button {
    background-color: var(--main-blue)!important;
}
.ct-woo-unauthorized>.woocommerce-ResetPassword button:hover {
    background-color: var(--main-black)!important;
}
.ct-woo-unauthorized>.woocommerce-form-login, .ct-woo-unauthorized>.woocommerce-ResetPassword {
    max-width: 100%!important;
}

#customer_login>div a{
    color: var(--main-black);
}

#customer_login .woocommerce-form-login__submit, #customer_login .woocommerce-form-register__submit {
    min-height: 0 !important;
    height: fit-content !important;
    padding: 1px 20px !important;
    font-size: 20px !important;
    background-color: var(--main-blue);
}
#customer_login .woocommerce-form-login__submit:hover, #customer_login .woocommerce-form-register__submit:hover {
    background-color: var(--main-black);
    color: white!important;
}
@media screen and (max-width:767px) {
    #customer_login>div, .woocommerce.ct-woo-unauthorized {
        width: 100%;
    }
}

.ct-woo-unauthorized .col2-set>*:first-child{
    border: 0!important;
}

#customer_login>div h2{
    font-size: 26px!important;
    font-weight: 700!important;
}
.woocommerce-form-register label, .woocommerce-form-login label{
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
    margin-bottom: 5px !important;
    margin-top: 15px;
}
.woocommerce-form-register input, .woocommerce-form-login input {
    border-radius: 0 !important;
}
.woocommerce-account .woocommerce-form-login .form-row:nth-child(3), .woocommerce-form-register .form-row:last-child{
    display: flex;
}

.woocommerce-form-register__submit,  .woocommerce-form-login__submit{
    font-size: 22px!important;
    margin: 20px 0 auto auto;
}
.woocommerce-form-register__submit:hover,  .woocommerce-form-login__submit:hover{
    color: var(--main-black)!important;
}
.woocommerce-privacy-policy-text {
    font-size: 13px!important;
    font-family: 'Rubik';
    line-height: normal;
}

.woocommerce-account #main .ct-container-full {
    width: 100% !important;
    max-width: 100%!important;
    padding: 0!important;
    margin: 0!important;
}
[data-link=type-2] .entry-content p>a, [data-link=type-2] .entry-content em>a, [data-link=type-2] .entry-content strong>a, [data-link=type-2] .entry-content>ul a, [data-link=type-2] .entry-content>ol a, [data-link=type-2] .wp-block-table a, [data-link=type-2] .ct-link-styles {
    font-weight: 600;
}
.woocommerce-MyAccount-content fieldset:not(:last-child) {
    margin-top: 2em;
}

.jq-icon-success{
    background-color: black!important;
    border-radius: 0!important;
    padding: 20px!important;
    color: white!important;
    background-image:none!important;
}
.jq-toast-single{
    background-color: black!important;
    border-radius: 0!important;
}

p.woocommerce-notice.woocommerce-notice--error.woocommerce-thankyou-order-failed-actions {
    margin: 20Px 0 !important;
}

@media screen and (max-width:1000px) {
    .woocommerce-account .form-row {
        width: 100%;
        flex-wrap: wrap;
    }
    .woocommerce-account .woocommerce-LostPassword{
        margin-top: 10px!important;
    }
    .woocommerce-account #main {
        padding: 100px 0 50px;
    }
}

@media screen and (max-width:767px) {
    #customer_login>div {
        padding: 20px;
    }
}




/*** WISHLIST ***/
.page-id-4709 h1{
    margin-top: 0 !important;
    margin-bottom: 30px !important;
    justify-content: center;
    display: flex;
}

.wishlist_table tr td.product-remove, .wishlist_table tr th.product-remove{
    display: none!important;
}
.wishlist_table tr td, .wishlist_table tr th.product-checkbox, .wishlist_table tr th.wishlist-delete {
    text-align: left;
}
table.wishlist_table tbody td {
    padding: 0px 12px;
}


.wishlist_table .product-add-to-cart a.button{
    background-color: transparent;
    color: var(--main-black);
    border-radius: 0;
    height: fit-content;
    min-height: 0!important;
    margin-bottom: 0px !important;
}
.wishlist_table .product-add-to-cart a.add_to_cart_button {
    display: flex !important;
    flex-wrap: wrap;
    background: var(--main-blue);
    color: white;
    padding: 7px !important;
    font-size: 30px;
    transition: 0.3s ease-in-out;
}
.wishlist_table .product-add-to-cart a.add_to_cart_button:hover {
    transform: scale(1.1);
    background: var(--main-black);
}
.wishlist_table .product-stock-status span.wishlist-in-stock{
    font-weight: 700;
    color: var(--main-blue)!important;
}
.wishlist_table  td.product-name a{
    font-weight: 700;
    color: var(--main-black)!important;
}

.wishlist_table tr td.product-thumbnail a{
    max-width: 180px!important;
    width: 180px!important;
}
.wishlist_table td.product-add-to-cart {
    display: flex!important;
    height: 180px!important;
    align-items: center!important;
}

@media screen and (max-width:1000px) {
    .wishlist_table tr td.product-thumbnail a{
        max-width: 100px!important;
        width: 100px!important;
    }
    .wishlist_table .product-add-to-cart a.add_to_cart_button{
        margin-right: 10px !important;
        font-size: 25px;
    }
    .wishlist_table.mobile {
        position: relative;
        padding-inline-start:0!important;
    }
    .wishlist_table.mobile .product-name h3 {
        font-size: 18px !important;
    }
    .wishlist_table.mobile .item-details-table .label, .wishlist_table.mobile .item-details-table .value{
        font-size: 16px !important;
        min-width: fit-content;
    }
    .wishlist_table.mobile  .additional-info-wrapper .label,.wishlist_table.mobile  .additional-info-wrapper .value{
        font-size: 16px !important;
    }
    .wishlist_table.mobile .additional-info-wrapper {
        display: flex;
        gap: 20px;
        align-items: center;
        justify-content: space-between;
        position: relative;
    }
    .wishlist_table.mobile .additional-info-wrapper>*{
        width: fit-content;
    }    
    .wishlist_table.mobile li .additional-info-wrapper .product-remove {
        text-align: center;
    }
}
@media screen and (max-width:767px) {
    .wishlist_table.mobile li{
        display: flex;
    }
    .wishlist_table.mobile li .item-wrapper{
        display: flex;
    }
    .wishlist_table.mobile li .item-wrapper .product-thumbnail {
        display: flex;
        align-items: center;
    }
    .wishlist_table.mobile .additional-info-wrapper {
        justify-content: start;
        flex-direction: column;
    }
    .wishlist_table.mobile li {
        padding: 10px;
        margin-bottom: 25px;
        box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    }
    .wishlist_table table.additional-info {
        display: none;
    }
    .wishlist_table .item-details-table tr{
        display: flex;
    }
    .wishlist_table .item-details-table tr{
        width: fit-content!important;
    }
}

/**** POPUP TROUVER SON MAGASIN ****/
form#formFlyShop {
    flex-direction: column;
    display: flex;
    align-items: center;
}

#formFlyShop [type=text] {
    border-radius: 0;
    margin-bottom: 10px;
    width: fit-content;
    min-width: 500px;
}

#formFlyShop [type=submit]{
    width: fit-content;
} 

#resultMagasin {
    text-align: center;
    margin-top: 30px;
    font-size: 20px !important;
    font-weight: 500!important;
}

#resultMagasin span{
    font-weight: 700!important;
}

#iconeRetrait h5, #iiconeLivraison h5{
    align-self: center;
}

#iconeRetrait h5 strong{
    font-weight: 500!important;
}

@media screen and (min-width:767px) {
    #iconeLivraison>div>div{
        position: relative;
        padding-left: 45px;
        width: fit-content;
        min-height: 30px;
        display: flex;
    }
    #iconeRetrait>div>div{
        position: relative;
        padding-left: 45px;
        width: fit-content;
        min-height: 25px;
        display: flex;
    }
    #iconeLivraison>div>div:after, #iconeRetrait>div>div:after{
        content: "";
        position: absolute;
        left: 0;
        top:0;
        bottom: 0;
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
    }
    #iconeLivraison>div>div:after{
        width: 30px;
        background-image: url(/wp-content/uploads/2024/04/voiture-de-livraison.png);
    }
    #iconeRetrait>div>div:after{
        width: 30px;
        background-image: url(/wp-content/uploads/2024/04/magasin.png);
    }
    
}

/*** SUIVI DE COMMANDE ***/
.page-id-199734 .pi_reorder {
    margin-top: 20px;
}
.page-id-199734 a.pi_cancel_request_form {
    margin-left: 8px;
}