.massimo-cart-bestsellers-slider {
	position: relative;
	margin: 34px 0 10px;
	padding: 0;
	border-radius: 0;
	background: #ffffff;
	border: 0;
	overflow: visible;
}

.massimo-cart-bestsellers-slider__header {
	margin-bottom: 10px;
	padding: 0;
	text-align: center;
	border-radius: 0;
	background: transparent;
	border: 0;
}

.massimo-cart-bestsellers-slider__title {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.25;
	color: #5c4d85;
}

.massimo-cart-bestsellers-slider__subtitle {
	max-width: 520px;
	margin: 8px auto 0;
	font-size: 14px;
	line-height: 1.5;
	color: rgba(47, 42, 63, 0.72);
}

.massimo-cart-bestsellers-slider__slider-wrap {
	position: relative;
}

.massimo-cart-bestsellers-slider__track {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	touch-action: pan-x;
	padding-bottom: 4px;
}

.massimo-cart-bestsellers-slider__track::-webkit-scrollbar {
	display: none;
}

.massimo-cart-bestsellers-slider__item {
	flex: 0 0 calc((100% - 48px) / 4);
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
	padding: 12px;
	border-radius: 15px;
	background: #f8f6fb;
	border: 1px solid rgba(92, 77, 133, 0.1);
	text-decoration: none;
	color: inherit;
	scroll-snap-align: start;
	transition: transform 0.18s ease, border-color 0.18s ease;
	-webkit-user-drag: none;
	user-select: none;
}

.massimo-cart-bestsellers-slider__item:hover {
	transform: translateY(-2px);
	border-color: rgba(92, 77, 133, 0.26);
	text-decoration: none;
}

.massimo-cart-bestsellers-slider__image {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 13px;
	overflow: hidden;
	background: #ffffff;
	pointer-events: none;
}

.massimo-cart-bestsellers-slider__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	pointer-events: none;
	-webkit-user-drag: none;
	user-select: none;
}

.massimo-cart-bestsellers-slider__content {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
	pointer-events: none;
}

.massimo-cart-bestsellers-slider__name {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 38px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	color: #2f2a3f;
}

.massimo-cart-bestsellers-slider__price {
	display: block;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.25;
	color: #5c4d85;
}

.massimo-cart-bestsellers-slider__price del {
	opacity: 0.55;
	font-weight: 400;
}

.massimo-cart-bestsellers-slider__price ins {
	text-decoration: none;
}

/* Săgeți desktop */
.massimo-cart-bestsellers-slider__control {
	position: absolute;
	top: 44%;
	z-index: 30;
	width: 34px;
	height: 46px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border-radius: 999px;
	border: 1px solid rgba(92, 77, 133, 0.18);
	background: #ffffff;
	color: #5c4d85;
	font-size: 26px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	box-shadow: none;
	transform: translateY(-50%);
	transition: background 0.18s ease, color 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
	pointer-events: auto;
}

.massimo-cart-bestsellers-slider__control:hover {
	background: #5c4d85;
	color: #ffffff;
	transform: translateY(-50%) scale(1.04);
}

.massimo-cart-bestsellers-slider__control:disabled {
	opacity: 0.25;
	cursor: default;
	pointer-events: none;
}

.massimo-cart-bestsellers-slider__control--prev {
	left: -17px;
}

.massimo-cart-bestsellers-slider__control--next {
	right: -17px;
}

/* Ascundem bulinele de paginare */
.massimo-cart-bestsellers-slider__dots {
	display: none !important;
}

/* Indicator swipe */
.massimo-cart-bestsellers-slider__slider-wrap::after {
	content: "Folosește săgețile sau glisează";
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 8px;
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
	color: rgba(92, 77, 133, 0.65);
	letter-spacing: 0.02em;
	opacity: 0.75;
}

/* Mobil: deasupra cupoanelor, 2 produse compacte pe pagină */
@media (max-width: 768px) {
	.massimo-cart-bestsellers-slider {
		margin: 10px 0 14px;
		padding: 0;
		border-radius: 0;
		background: #ffffff;
		border: 0;
		overflow: hidden;
	}

	.massimo-cart-bestsellers-slider.is-mobile-coupon-position {
		margin-top: 6px;
		margin-bottom: 14px;
	}

	.massimo-cart-bestsellers-slider__header {
		margin-bottom: 8px;
		padding: 0;
		text-align: left;
		border-radius: 0;
		background: transparent;
		border: 0;
	}

	.massimo-cart-bestsellers-slider__title {
		font-size: 13px;
		line-height: 1.3;
		color: #5c4d85;
	}

	.massimo-cart-bestsellers-slider__subtitle {
		display: none;
	}

	.massimo-cart-bestsellers-slider__track {
		gap: 8px;
		padding-bottom: 2px;
	}

	.massimo-cart-bestsellers-slider__item {
		flex: 0 0 calc((100% - 8px) / 2);
		display: grid;
		grid-template-columns: 52px 1fr;
		align-items: center;
		gap: 7px;
		min-width: 0;
		padding: 7px;
		border-radius: 11px;
		background: #f8f6fb;
		border: 1px solid rgba(92, 77, 133, 0.1);
	}

	.massimo-cart-bestsellers-slider__item:hover {
		transform: none;
	}

	.massimo-cart-bestsellers-slider__image {
		width: 52px;
		height: 52px;
		aspect-ratio: auto;
		border-radius: 9px;
		overflow: hidden;
		background: #ffffff;
	}

	.massimo-cart-bestsellers-slider__image img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		display: block;
	}

	.massimo-cart-bestsellers-slider__content {
		display: flex;
		flex-direction: column;
		justify-content: center;
		gap: 3px;
		min-width: 0;
	}

	.massimo-cart-bestsellers-slider__name {
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		min-height: 0;
		font-size: 10.8px;
		font-weight: 600;
		line-height: 1.25;
		color: #2f2a3f;
	}

	.massimo-cart-bestsellers-slider__price {
		display: block;
		font-size: 10.8px;
		font-weight: 700;
		line-height: 1.2;
		color: #5c4d85;
	}

	.massimo-cart-bestsellers-slider__price del {
		opacity: 0.55;
		font-weight: 400;
	}

	.massimo-cart-bestsellers-slider__price ins {
		text-decoration: none;
	}

	.massimo-cart-bestsellers-slider__control {
		display: none;
	}

	.massimo-cart-bestsellers-slider__slider-wrap::after {
		content: "Glisează →";
		margin-top: 7px;
		font-size: 11px;
		opacity: 1;
	}
}
