/* 
 * Styles pour le widget Products Carousel
 */

.s4-products-carousel {
	margin: 40px 0;
}

.s4-products-carousel {
	position: relative;
}

.s4-products-carousel .carousel-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 30px;
	gap: 20px;
}

.s4-products-carousel .carousel-title {
	margin: 0;
	font-size: 2rem;
	font-weight: 700;
	color: #1D2B01;
	flex: 1;
}

/* Owl Carousel pour produits */
.s4-owl-carousel-products {
	position: relative;
}

.s4-owl-carousel-products .product {
	list-style: none;
}

/* Navigation du carousel */
.s4-owl-carousel-products .owl-nav {
	display: flex;
	gap: 10px;
	position: relative;
	top: auto;
	width: auto;
	transform: none;
	pointer-events: all;
	margin: 0;
}

/* Boutons custom de navigation */
.owl-custom-nav {
	display: flex;
	gap: 10px;
	flex-shrink: 0;
}

.owl-custom-nav button {
	background: white;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
	position: relative;
	z-index: 10;
}

.owl-custom-nav button:hover {
	transform: scale(1.1);
}

.owl-custom-nav button:hover span {
	color: white;
}

.owl-custom-nav button span {
	font-size: 24px;
	line-height: 1;
	color: #1D2B01;
	transition: color 0.3s ease;
}

/* Styles existants pour la navigation Owl (si nécessaire) */
.s4-owl-carousel-products .owl-nav button {
	background: white !important;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
	position: relative;
	z-index: 10;
}

.s4-owl-carousel-products .owl-nav button:hover {
	transform: scale(1.1);
}

.s4-owl-carousel-products .owl-nav button:hover span {
	color: white;
}

.s4-owl-carousel-products .owl-nav button span {
	font-size: 24px;
	line-height: 1;
	color: #1D2B01;
	transition: color 0.3s ease;
}

/* Dots de navigation */
.s4-owl-carousel-products .owl-dots {
	text-align: center;
	margin-top: 30px;
}

.s4-owl-carousel-products .owl-dots .owl-dot {
	display: inline-block;
	width: 10px;
	height: 10px;
	margin: 0 5px;
	background: #ddd;
	border-radius: 50%;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
}

.s4-owl-carousel-products .owl-dots .owl-dot.active {
	background: #FF9100;
	width: 30px;
	border-radius: 5px;
}

.s4-owl-carousel-products .owl-dots .owl-dot:hover {
	background: #FF9100;
	opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
	.s4-products-carousel .carousel-header {
		flex-direction: column;
		align-items: flex-start;
		margin-bottom: 20px;
	}

	.s4-products-carousel .carousel-title {
		font-size: 1.5rem;
	}

	/* Cacher les flèches de navigation sur mobile */
	.owl-custom-nav {
		display: none;
	}

	.s4-owl-carousel-products .owl-nav button {
		width: 40px;
		height: 40px;
	}

	.s4-owl-carousel-products .owl-nav button span {
		font-size: 20px;
	}
}
