/**
 * Comfy CSS Slider
 * White chevron arrows matching live site, 600px height, 10px radius
 */

.comfy-css-slider {
	--comfy-slide-h: 600px;
	position: relative;
	width: 100%;
	max-width: 1300px;
	margin: 0 auto;
	box-sizing: border-box;
}

.comfy-css-slider__viewport {
	position: relative;
	width: 100%;
	height: var(--comfy-slide-h);
	overflow: hidden;
	border-radius: 10px;
	touch-action: pan-y;
	user-select: none;
	-webkit-user-select: none;
}

.comfy-css-slider__track {
	display: flex;
	height: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
	transition: transform 0.45s ease;
	will-change: transform;
}

.comfy-css-slider__slide {
	flex: 0 0 100%;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
}

.comfy-css-slider__slide a {
	display: block;
	height: 100%;
}

.comfy-css-slider__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	border-radius: 10px;
	pointer-events: none;
}

/* Arrows – live-site style: simple white stroke chevrons */
.comfy-css-slider__btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	width: 48px;
	height: 72px;
	padding: 0;
	margin: 0;
	border: none;
	background: transparent;
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0.9;
	filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
	transition: opacity 0.2s ease;
}
.comfy-css-slider__btn:hover,
.comfy-css-slider__btn:focus {
	opacity: 1;
	outline: none;
}
.comfy-css-slider__btn--prev {
	left: 6px;
}
.comfy-css-slider__btn--next {
	right: 6px;
}
.comfy-css-slider__btn svg {
	display: block;
	width: 22px;
	height: 44px;
	overflow: visible;
}

/* Dots */
.comfy-css-slider__dots {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	padding: 12px 0 4px;
}
.comfy-css-slider__dot {
	width: 9px;
	height: 9px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: #ccc;
	cursor: pointer;
	transition: background 0.2s ease;
}
.comfy-css-slider__dot.is-active {
	background: #540d5e;
}
.comfy-css-slider__dot:hover {
	background: #888;
}
.comfy-css-slider__dot.is-active:hover {
	background: #540d5e;
}

@media (max-width: 768px) {
	.comfy-css-slider {
		/* Keep 600px height on handhelds (original behaviour) */
		--comfy-slide-h: 600px;
	}
	.comfy-css-slider__btn {
		width: 40px;
		height: 56px;
	}
	.comfy-css-slider__btn svg {
		width: 18px;
		height: 36px;
	}
	.comfy-css-slider__btn--prev { left: 2px; }
	.comfy-css-slider__btn--next { right: 2px; }
}
