@media (max-width: 480px) {
    klmproduitsphares {

    }
    div.klmproduitsphares .products {
        gap: 0; /* Supprime l'espace entre les éléments en mobile */
        justify-content: unset;
    }
    div.klmproduitsphares .products li.js-product-miniature {
        min-width: 80%;
    }
    div.klmproduitsphares h2.h2 {
        text-align: center;
        font-size: 35px;
        font-family: Raleway, sans-serif;
    }

}
@media (min-width: 1200px) {
    .klmproduitsphares {
        margin: 0 100px;
    }

}

.klmproduitsphares h2.h2 {
    text-align: center;
    font-size: 42px;
    font-family: Raleway, sans-serif;
}

.klmproduitsphares p.p.explore-text {
    text-align: center;
    font-weight: 500;
}

.klmproduitsphares .products {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 0;
    scrollbar-width: thin;
    justify-content: center;
    width: 100%;
}

.klmproduitsphares .products ul{
	margin-top: 8px !important;
	
}

.klmproduitsphares .products li {
    list-style-type: none;
    flex: 1;
    font-size: 18px;
    display: flex;
	flex-wrap : wrap;
    align-items: self-end;
}
.klmproduitsphares .products li span {
    padding-left: 0!important;
    padding-right: 0!important;
	margin-left: 4px !important;
}

.klmproduitsphares .products li .kl-title-aff {
    background: transparent;
    border: solid 1px #F0F0F0 !important;
}

.klmproduitsphares .products .js-product-miniature .prdt_content .kl-img-xts {
    border: solid 1px #F0F0F0;
    border-bottom: 0;
}

.klmproduitsphares .item.kl-xts-item:hover > div {
    outline: unset;
}

.klmproduitsphares .products .js-product-miniature .prdt_content .kl-title-aff {
    min-height: 162px;
    /* max-height: 162px; */
    padding: 15px 22px;
}
.klmproduitsphares .products .js-product-miniature .prdt_content .kl-title-aff ul {
    width: 100%;
    padding-top: 0;
    
}
.klmproduitsphares .products .js-product-miniature .prdt_content .kl-title-aff a h3 {
    min-height: 57px;
}
.klmproduitsphares .products .js-product-miniature .prdt_content .kl-title-aff ul li.see-product {
    color: #00af50;
    font-size: 17px;
}
.klmproduitsphares .products .js-product-miniature .prdt_content .kl-title-aff ul li span {
    min-height: unset;
    color: #00af50;
    font-size: 18px;
    font-weight: bold;
}
.klmproduitsphares .products .js-product-miniature .prdt_content .kl-title-aff a {
    min-height: 60px;
}
.klmproduitsphares .products .js-product-miniature:hover .prdt_content .kl-img-xts {
    background: black;
}
.klmproduitsphares .products .js-product-miniature:hover .prdt_content .kl-img-xts img {
    opacity: 0.4;
}
.klmproduitsphares .products .js-product-miniature .prdt_content .kl-img-xts a {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -50%;
}
.klmproduitsphares .products .js-product-miniature:hover .prdt_content .kl-img-xts a {
    background-color: #00af50;
    border: unset;
    font-size: 14px;
    font-weight: 700;
    padding: 15px 40px;
    text-transform: uppercase;
    left: 49%;
    bottom: 40%;
}


/*.klmproduitsphares .product-miniature {*/
/*    flex: 0 0 auto;*/
/*    width: 250px;*/
/*    margin: 0;*/
/*    padding: 10px;*/
/*    transition: transform 0.3s ease;*/
/*    background: white;*/
/*    border-radius: 8px;*/
/*    box-shadow: 0 2px 5px rgba(0,0,0,0.1);*/
/*}*/

/*.klmproduitsphares .product-miniature:hover {*/
/*    transform: translateY(-5px);*/
/*    box-shadow: 0 5px 15px rgba(0,0,0,0.1);*/
/*}*/

/*.klmproduitsphares .thumbnail-container {*/
/*    position: relative;*/
/*    height: 100%;*/
/*    text-align: center;*/
/*}*/

/*.klmproduitsphares .product-description {*/
/*    padding: 10px 0;*/
/*}*/

/*.klmproduitsphares .product-title {*/
/*    margin: 10px 0;*/
/*    font-size: 1rem;*/
/*    text-align: center;*/
/*}*/

/*.klmproduitsphares .product-title a {*/
/*    color: #232323;*/
/*    text-decoration: none;*/
/*}*/

/*.klmproduitsphares .product-price-and-shipping {*/
/*    text-align: center;*/
/*    margin-top: 10px;*/
/*}*/

/*.klmproduitsphares .price {*/
/*    font-size: 1.125rem;*/
/*    font-weight: 600;*/
/*    color: #232323;*/
/*}*/

/*.klmproduitsphares .regular-price {*/
/*    text-decoration: line-through;*/
/*    color: #7a7a7a;*/
/*    margin-left: 5px;*/
/*}*/

/*!* Style de la barre de défilement *!*/
/*.klmproduitsphares .products::-webkit-scrollbar {*/
/*    height: 6px;*/
/*}*/

/*.klmproduitsphares .products::-webkit-scrollbar-track {*/
/*    background: #f1f1f1;*/
/*    border-radius: 3px;*/
/*}*/

/*.klmproduitsphares .products::-webkit-scrollbar-thumb {*/
/*    background: #888;*/
/*    border-radius: 3px;*/
/*}*/

/*.klmproduitsphares .products::-webkit-scrollbar-thumb:hover {*/
/*    background: #555;*/
/*}*/

/*!* Titre de la section *!*/
/*.klmproduitsphares .products-section-title {*/
/*    text-align: center;*/
/*    margin-bottom: 20px;*/
/*    font-size: 1.5rem;*/
/*    color: #232323;*/
/*    position: relative;*/
/*    padding-bottom: 10px;*/
/*}*/

/*.klmproduitsphares .products-section-title:after {*/
/*    content: '';*/
/*    position: absolute;*/
/*    bottom: 0;*/
/*    left: 50%;*/
/*    transform: translateX(-50%);*/
/*    width: 50px;*/
/*    height: 2px;*/
/*    background: #2fb5d2;*/
/*}*/

@media(min-width : 768px) and (max-width: 1800px){
	.klmproduitsphares .products > li{
		max-width : 25% !important;
		flex: auto !important;
	}
}

@media(min-width : 500px) and (max-width: 1024px){
	.klmproduitsphares .products > li{
		max-width : 47% !important;
		flex: auto !important;
	}
}
