/* Sizing comes from CSS variables that Elementor sets per device,
   so the layout is correct on first paint (no flash/jump). */
.vr-pcc {
	--vr-view: 3;
	--vr-gap: 20px;
	position: relative;
	width: 100%;
	font-family: inherit;
	color: inherit;
}

.vr-pcc-viewport {
	width: 100%;
	overflow: hidden;
}

.vr-pcc-track {
	display: flex;
	will-change: transform;
	touch-action: pan-y;
	cursor: grab;
}

.vr-pcc-track.is-dragging {
	cursor: grabbing;
	user-select: none;
}

.vr-pcc-slide {
	flex: 0 0 calc((100% - var(--vr-gap) * (var(--vr-view) - 1)) / var(--vr-view));
	margin-right: var(--vr-gap);
	min-width: 0;
	box-sizing: border-box;
}

/* Card */
.vr-pcc-card {
	display: block;
	width: 100%;
	overflow: hidden;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 12px;
	text-decoration: none !important;
	color: inherit !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	-webkit-user-drag: none;
}

.vr-pcc--lift .vr-pcc-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

/* Image */
.vr-pcc-image {
	width: 100%;
	aspect-ratio: 1 / 0.72;
	overflow: hidden;
	background: #f5f5f5;
}

.vr-pcc-image img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	transition: transform 0.35s ease;
	-webkit-user-drag: none;
	user-select: none;
}

.vr-pcc--zoom .vr-pcc-card:hover .vr-pcc-image img {
	transform: scale(1.04);
}

/* Name: inherits theme font and color unless set in the widget */
.vr-pcc-name {
	padding: 14px 16px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
	color: inherit;
}

/* Arrows */
.vr-pcc-arrow {
	position: absolute;
	top: 42%;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: inherit;
	cursor: pointer;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
	transition: opacity 0.2s ease;
}

.vr-pcc-arrow.is-disabled {
	opacity: 0.35;
	pointer-events: none;
}

.vr-pcc-prev { left: -19px; }
.vr-pcc-next { right: -19px; }

/* Dots */
.vr-pcc-dots {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: 18px;
	color: inherit;
}

.vr-pcc-dot {
	width: 7px;
	height: 7px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: currentColor;
	opacity: 0.25;
	cursor: pointer;
}

.vr-pcc-dot.active {
	opacity: 1;
}
