.vpba-root {
	--vpba-gap: 24px;
	--vpba-columns-desktop: 2;
	--vpba-columns-tablet: 2;
	--vpba-columns-mobile: 1;
	--vpba-divider-color: #fff;
	--vpba-divider-width: 3px;
	--vpba-handle-size: 54px;
	--vpba-handle-bg: #15828b;
	--vpba-handle-icon: #fff;
	--vpba-label-offset: 16px;
	position: relative;
	width: 100%;
}

.vpba-root,
.vpba-root * {
	box-sizing: border-box;
}

.vpba-viewport {
	width: 100%;
}

.vpba-layout-carousel .vpba-viewport {
	overflow: hidden;
}

.vpba-track {
	display: flex;
	align-items: stretch;
	gap: var(--vpba-gap);
}

.vpba-layout-grid .vpba-track {
	display: grid;
	grid-template-columns: repeat(var(--vpba-columns-desktop), minmax(0, 1fr));
}

.vpba-layout-carousel .vpba-track {
	will-change: transform;
	transition: transform 0.48s cubic-bezier(.22,.61,.36,1);
}

.vpba-slide {
	min-width: 0;
	overflow: hidden;
}

.vpba-layout-carousel .vpba-slide {
	flex: 0 0 calc((100% - (var(--vpba-columns-desktop) - 1) * var(--vpba-gap)) / var(--vpba-columns-desktop));
}

.vpba-card {
	background: #fff;
}

.vpba-compare {
	--vpba-position: 50%;
	--vpba-position-y: 50%;
	position: relative;
	width: 100%;
	height: 430px;
	overflow: hidden;
	cursor: ew-resize;
	touch-action: pan-y;
	-webkit-user-select: none;
	user-select: none;
	outline: none;
	isolation: isolate;
}

.vpba-orientation-vertical .vpba-compare {
	cursor: ns-resize;
	touch-action: pan-x;
}

.vpba-compare:focus-visible {
	box-shadow: inset 0 0 0 3px rgba(21,130,139,.65);
}

.vpba-image,
.vpba-before-layer {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.vpba-image {
	display: block;
	max-width: none;
	object-fit: cover;
	object-position: center;
	pointer-events: none;
}

.vpba-before-layer {
	z-index: 2;
	overflow: hidden;
	clip-path: inset(0 calc(100% - var(--vpba-position)) 0 0);
}

.vpba-orientation-vertical .vpba-before-layer {
	clip-path: inset(0 0 calc(100% - var(--vpba-position-y)) 0);
}

.vpba-before-image {
	width: 100%;
	height: 100%;
}

.vpba-label {
	position: absolute;
	z-index: 6;
	top: var(--vpba-label-offset);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	max-width: calc(50% - (var(--vpba-label-offset) * 2));
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	pointer-events: none;
}

.vpba-label-before {
	left: var(--vpba-label-offset);
}

.vpba-label-after {
	right: var(--vpba-label-offset);
}

.vpba-orientation-vertical .vpba-label-before {
	top: var(--vpba-label-offset);
	left: var(--vpba-label-offset);
}

.vpba-orientation-vertical .vpba-label-after {
	top: auto;
	right: var(--vpba-label-offset);
	bottom: var(--vpba-label-offset);
}

.vpba-divider {
	position: absolute;
	z-index: 4;
	top: 0;
	bottom: 0;
	left: var(--vpba-position);
	width: var(--vpba-divider-width);
	background: var(--vpba-divider-color);
	transform: translateX(-50%);
	pointer-events: none;
}

.vpba-orientation-vertical .vpba-divider {
	top: var(--vpba-position-y);
	right: 0;
	bottom: auto;
	left: 0;
	width: auto;
	height: var(--vpba-divider-width);
	transform: translateY(-50%);
}

.vpba-handle {
	position: absolute;
	z-index: 5;
	top: 50%;
	left: var(--vpba-position);
	display: grid;
	place-items: center;
	width: var(--vpba-handle-size);
	height: var(--vpba-handle-size);
	border: 2px solid var(--vpba-divider-color);
	border-radius: 50%;
	background: var(--vpba-handle-bg);
	color: var(--vpba-handle-icon);
	transform: translate(-50%, -50%);
	pointer-events: none;
}

.vpba-orientation-vertical .vpba-handle {
	top: var(--vpba-position-y);
	left: 50%;
}

.vpba-handle svg {
	width: 58%;
	height: 58%;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2.25;
}

.vpba-handle-vertical {
	display: none;
}

.vpba-orientation-vertical .vpba-handle-horizontal {
	display: none;
}

.vpba-orientation-vertical .vpba-handle-vertical {
	display: block;
}

.vpba-info {
	padding: 24px;
}

.vpba-case-title {
	margin: 0 0 10px;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.25;
}

.vpba-price {
	margin: 0;
	font-family: Oswald, sans-serif;
	font-size: 34px;
	font-weight: 400;
	line-height: 1.1;
}

.vpba-details {
	display: grid;
	row-gap: 10px;
}

.vpba-detail {
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
	align-items: start;
	column-gap: 18px;
	padding-bottom: 0;
}

.vpba-has-separators .vpba-detail {
	padding-bottom: 10px;
	border-bottom: 1px solid #e9e9e9;
}

.vpba-has-separators .vpba-detail:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.vpba-detail-label,
.vpba-detail-value {
	font-family: Montserrat, sans-serif;
	font-size: 14px;
	line-height: 1.45;
}

.vpba-detail-value {
	font-weight: 500;
}

.vpba-navigation {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-top: 22px;
}

.vpba-arrows {
	display: flex;
	gap: 10px;
}

.vpba-arrow {
	display: inline-grid;
	place-items: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid;
	border-radius: 50%;
	cursor: pointer;
	transition: color .2s ease, background-color .2s ease, border-color .2s ease, opacity .2s ease;
}

.vpba-arrow svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

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

.vpba-dots {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
}

.vpba-dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	transition: width .2s ease, border-radius .2s ease, background-color .2s ease;
}

.vpba-dot.is-active {
	width: 24px;
	border-radius: 999px;
}

.vpba-empty {
	padding: 24px;
	border: 1px dashed #b7c9ca;
	background: #f4fbfb;
	color: #40595b;
	text-align: center;
}

@media (max-width: 1024px) {
	.vpba-layout-grid .vpba-track {
		grid-template-columns: repeat(var(--vpba-columns-tablet), minmax(0, 1fr));
	}

	.vpba-layout-carousel .vpba-slide {
		flex-basis: calc((100% - (var(--vpba-columns-tablet) - 1) * var(--vpba-gap)) / var(--vpba-columns-tablet));
	}
}

@media (max-width: 767px) {
	.vpba-layout-grid .vpba-track {
		grid-template-columns: repeat(var(--vpba-columns-mobile), minmax(0, 1fr));
	}

	.vpba-layout-carousel .vpba-slide {
		flex-basis: calc((100% - (var(--vpba-columns-mobile) - 1) * var(--vpba-gap)) / var(--vpba-columns-mobile));
	}

	.vpba-detail {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
	}

	.vpba-navigation {
		gap: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vpba-layout-carousel .vpba-track,
	.vpba-arrow,
	.vpba-dot {
		transition-duration: 0.001ms !important;
	}
}
