/* ==========================================================================
   Best sellers — RTL swipeable product carousel
   ========================================================================== */

.lss-products {
	padding-block: 84px;
	position: relative;
	z-index: 1;
}

.lss-products__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 32px;
}

.lss-products__nav {
	display: flex;
	gap: 8px;
}

.lss-products__nav-btn {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--silver-100);
	transition: color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.lss-products__nav-btn:hover {
	color: var(--cyan-400);
	box-shadow: 0 0 16px rgba(56, 209, 255, 0.35);
	transform: translateY(-1px);
}

.lss-products__track {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: 8px;
	scrollbar-width: none;
}

.lss-products__track::-webkit-scrollbar {
	display: none;
}

.lss-product-card {
	flex: 0 0 auto;
	width: min(78vw, 300px);
	scroll-snap-align: start;
	border-radius: var(--radius, 18px);
	display: flex;
	flex-direction: column;
	transition: transform 0.5s var(--ease-premium);
}

.lss-product-card:hover {
	transform: translateY(-8px);
}

.lss-product-card__media {
	position: relative;
	display: block;
	height: 190px;
	border-radius: var(--radius, 18px) var(--radius, 18px) 0 0;
	overflow: hidden;
	background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
}

.lss-product-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--ease-premium);
}

.lss-product-card:hover .lss-product-card__media img {
	transform: scale(1.06);
}

.lss-product-card__badge {
	position: absolute;
	top: 12px;
	inset-inline-start: 12px;
	padding: 5px 12px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 800;
	color: #051019;
	background: linear-gradient(135deg, var(--blue-500), var(--cyan-400));
}

.lss-product-card__body {
	padding: 18px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.lss-product-card__stars {
	display: flex;
	gap: 3px;
	color: var(--cyan-400);
}

.lss-product-card__title {
	font-family: var(--font-display);
	font-size: 15px;
	font-weight: 700;
	color: var(--silver-100);
	margin: 0;
	min-height: 2.6em;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.lss-product-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 4px;
}

.lss-product-card__price {
	font-family: var(--font-display);
	font-size: 18px;
	font-weight: 800;
	direction: ltr;
}

.lss-product-card__price .woocommerce-Price-amount {
	color: inherit;
}

.lss-product-card__cart {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #051019;
	background: linear-gradient(135deg, var(--blue-500), var(--cyan-400));
	box-shadow: 0 0 18px rgba(46, 155, 255, 0.4);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	flex-shrink: 0;
}

.lss-product-card__cart:hover {
	transform: translateY(-2px) scale(1.05);
	box-shadow: 0 0 26px rgba(56, 209, 255, 0.6);
}

.lss-product-card__cart.loading {
	opacity: 0.6;
	pointer-events: none;
}

.lss-product-card__cart.added::after {
	display: none;
}

.lss-products__cta {
	display: flex;
	justify-content: center;
	margin-top: 40px;
}

@media (max-width: 640px) {
	.lss-products {
		padding-block: 56px;
	}

	.lss-products__head {
		align-items: center;
	}

	.lss-product-card {
		width: 78vw;
	}
}
