/* 
Theme Name: Astra - Navailles
Theme URL: http://salonmobilier.live
Description: Theme enfant de Astra pour Navailles
Theme Author: Bruno DIENOT
Author URL: http://salonmobilier.live
Template: astra
Version: 1.0.0 
Text Domain: astra-child 
*/

/*
h2.widget-title {
    color: #ffffff;
    font-size: 16px;
    font-family: 'Abril Fatface', sans-serif;
    font-style: normal;
}
*/

/*drapeau français fixe*/
#page::before {
	content: "";
	background-image: url("/wp-content/uploads/2021/09/madeinfrance@2x.png");
	position: fixed;
	right: 0;
	z-index: 10000000;
	top: 20vh;
	height: 60px;
	width: 20px;
	background-size: contain;
}

.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
  /*width: 100% !important;*/
}

.product-remove, .product-thumbnail{
	/*max-width:100px !important;*/
}

.imageProductCarousel img {
	max-height: 400px;
    object-fit: cover;
    object-position: center center;
}

/*
#articleTableOfContent {
    position: sticky!important;
    top: 70px;
}
*/

/*
 * Custom Popup apres achat
 */
#pum-31127 .popmake-content>h2 {
	color:#ffffff!important;
}


/*Add Label next to product title on fauteuils-de-soin */

#productMedical h2.woocommerce-loop-product__title, #productMedicalTheia h2.woocommerce-loop-product__title {
    position: relative;
    margin-top:20px;
    width: max-content;
}

#productMedical h2.woocommerce-loop-product__title:not(.hemo):after, #productMedicalTheia h2.woocommerce-loop-product__title:after {
	/*background: center / contain no-repeat url("https://www.salonmobilier.live/wp-content/uploads/2021/11/Label-bleu.jpg");*/
	background: center / contain no-repeat url("https://bureau.salonmobilier.live/wp-content/uploads/2024/01/Logos_OFG_ofg_03-1.svg");
	
	content: "";
	width: 50px;
	right: -65px;
	top: -10px;
	position: absolute;
	display: inline-block;
	height: 50px;  
}

.woocommerce-cart table.cart .product-thumbnail {
    width:15%;
}

.woocommerce #content table.cart td, .woocommerce-page #content table.cart td.product-thumbnail > a > img {
    width:100%;
    max-width:inherit;
}

.ast-container {
	max-width:100%!important;
	padding:0!important;
}

.astra-shop-summary-wrap a.product_type_simple {
	display:none;
}

@media (max-width: 544px) {
    .woocommerce #content table.cart .product-thumbnail, .woocommerce-page #content table.cart .product-thumbnail {
        width: 50%;
        margin: auto;
        border: none;
    }
}


/* Page produit coloris */

#colorisList {
    width:100%;
}

#colorisList ul {
    list-style: none;
    display: flex;
    flex-wrap:wrap;
    margin: 0;
    width:100%
}

#colorisList ul > li {
    display: flex;
    flex-direction: column;
    margin:0 10px 0 10px;
    max-width: 100px;
}

#colorisList ul > li > img{
    width: 100%;
    min-width: 100px;
    height:100px;
}

@media (max-width: 1000px) { 
    #colorisList {
        width:100%;
    }
}