.pvse-slider {
	--pvse-gap: 18px;
	--pvse-desktop: 4;
	--pvse-tablet: 2;
	--pvse-mobile: 1;
	--pvse-ratio: .70;
	position: relative;
	width: 100%;
	box-sizing: border-box;
}

.pvse-slider *,
.pvse-slider *::before,
.pvse-slider *::after {
	box-sizing: border-box;
}

.pvse-track-wrap {
	width: 100%;
	overflow: hidden;
}

.pvse-track {
	display: flex;
	gap: var(--pvse-gap);
	margin: 0;
	padding: 0 2px 4px;
	will-change: transform;
	transition: transform .45s cubic-bezier(.22,.61,.36,1);
}

.pvse-slide {
	flex: 0 0 calc((100% - (var(--pvse-gap) * (var(--pvse-desktop) - 1))) / var(--pvse-desktop));
	min-width: 0;
}

.pvse-card {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: var(--pvse-ratio);
	overflow: hidden;
	background: #e9e9e9;
	color: inherit;
	text-decoration: none !important;
	border-radius: 16px;
	box-shadow: 0 8px 24px rgba(0,0,0,.12);
	-webkit-tap-highlight-color: transparent;
}

.pvse-card:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 3px;
}

.pvse-card-media {
	position: absolute;
	inset: 0;
	overflow: hidden;
	border-radius: inherit;
}

.pvse-media {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: center;
	transform: scale(1.001);
	transition: transform .55s ease;
}

.pvse-card:hover .pvse-media {
	transform: scale(1.025);
}

.pvse-media-shade {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(
			to bottom,
			rgba(0,0,0,.02) 0%,
			rgba(0,0,0,.00) 42%,
			rgba(0,0,0,.08) 55%,
			rgba(0,0,0, calc(var(--pvse-overlay) / 100)) 100%
		);
}

.pvse-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 4;
	padding: 5px 11px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: .01em;
	text-transform: uppercase;
	box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.pvse-badge-light {
	background: rgba(255,255,255,.95);
	color: #171717;
}

.pvse-badge-red {
	background: #e31b23;
	color: #fff;
}

.pvse-badge-dark {
	background: rgba(20,20,20,.9);
	color: #fff;
}

.pvse-video-state {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 4;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: rgba(35,35,35,.60);
	backdrop-filter: blur(4px);
	color: #fff;
	font-size: 17px;
	line-height: 1;
}

.pvse-speaker-off {
	display: block;
	transform: rotate(45deg);
	font-weight: 700;
}

.pvse-product-bar {
	position: absolute;
	left: 10px;
	right: 10px;
	bottom: 10px;
	z-index: 5;
	min-height: 54px;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 8px 7px 7px;
	border-radius: 9px;
	background: rgba(255,255,255,.97);
	color: #1d1d1d;
	box-shadow: 0 6px 20px rgba(0,0,0,.16);
}

.pvse-product-thumb {
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	overflow: hidden;
	border-radius: 6px;
	background: #eee;
}

.pvse-product-thumb img,
.pvse-thumb-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pvse-thumb-placeholder {
	background: linear-gradient(135deg,#ddd,#f5f5f5);
}

.pvse-product-info {
	min-width: 0;
	flex: 1 1 auto;
	line-height: 1.15;
}

.pvse-product-name {
	font-size: 12px;
	font-weight: 750;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-bottom: 3px;
}

.pvse-product-price {
	font-size: 11px;
	font-weight: 500;
	color: #666;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.pvse-product-price del {
	opacity: .6;
	margin-right: 3px;
}

.pvse-product-price ins {
	text-decoration: none;
	color: inherit;
}

.pvse-product-button {
	flex: 0 0 31px;
	width: 31px;
	height: 31px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: #101010;
	color: #fff;
	font-size: 18px;
	font-weight: 400;
	line-height: 1;
	transition: transform .2s ease, background .2s ease;
}

.pvse-card:hover .pvse-product-button {
	transform: translateX(2px);
	background: #000;
}

.pvse-arrow {
	position: absolute;
	z-index: 10;
	top: 50%;
	width: 42px;
	height: 42px;
	margin-top: -21px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: rgba(255,255,255,.96);
	color: #161616;
	box-shadow: 0 5px 18px rgba(0,0,0,.18);
	cursor: pointer;
	font-size: 31px;
	font-family: Arial, sans-serif;
	line-height: 1;
	transition: transform .2s ease, opacity .2s ease;
}

.pvse-arrow:hover {
	transform: scale(1.05);
}

.pvse-arrow:active {
	transform: scale(.96);
}

.pvse-prev {
	left: -14px;
}

.pvse-next {
	right: -14px;
}

.pvse-arrow:disabled {
	opacity: .35;
	cursor: default;
}

.pvse-arrow:disabled:hover {
	transform: none;
}

.pvse-empty {
	padding: 24px;
	border: 1px dashed #bbb;
	border-radius: 12px;
	text-align: center;
	color: #666;
	background: #fafafa;
}

@media (max-width: 1024px) {
	.pvse-slide {
		flex-basis: calc((100% - (var(--pvse-gap) * (var(--pvse-tablet) - 1))) / var(--pvse-tablet));
	}

	.pvse-prev { left: -10px; }
	.pvse-next { right: -10px; }
}

@media (max-width: 767px) {
	.pvse-slide {
		flex-basis: calc((100% - (var(--pvse-gap) * (var(--pvse-mobile) - 1))) / var(--pvse-mobile));
	}

	.pvse-track {
		padding-left: 0;
		padding-right: 0;
	}

	.pvse-arrow {
		width: 38px;
		height: 38px;
		margin-top: -19px;
		font-size: 28px;
	}

	.pvse-prev { left: 6px; }
	.pvse-next { right: 6px; }

	.pvse-product-bar {
		left: 8px;
		right: 8px;
		bottom: 8px;
	}

	.pvse-badge {
		top: 9px;
		left: 9px;
		font-size: 10px;
	}

	.pvse-video-state {
		top: 9px;
		right: 9px;
		width: 34px;
		height: 34px;
	}
}
