/* Figma 7772:5352: Progressive slider, slider-arrow and 40px Arrow. */
.furpsy-slider-arrow {
	--slider-arrow-hover-color: var(--furpsy-color-primary-50);
	--slider-arrow-hover-bg: var(--furpsy-color-primary-10);
	--slider-arrow-active-color: var(--furpsy-color-opacity-white-100);
	--slider-arrow-active-bg: var(--furpsy-color-primary-50);
	--slider-arrow-disabled-color: var(--furpsy-color-grey-40);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	position: relative;
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
	padding: 0;
	border: 0;
	border-radius: 20px;
	background: transparent;
	color: var(--furpsy-color-grey-100);
	cursor: pointer;
	transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.furpsy-slider-arrow--contrast {
	--slider-arrow-hover-color: var(--furpsy-color-secondary-50);
	--slider-arrow-hover-bg: var(--furpsy-color-opacity-secondary-20);
	--slider-arrow-active-color: var(--furpsy-color-grey-100);
	--slider-arrow-active-bg: var(--furpsy-color-secondary-50);
	--slider-arrow-disabled-color: var(--furpsy-color-grey-70);
	color: var(--furpsy-color-opacity-white-100);
}

.furpsy-slider-arrow__icon {
	display: block;
	width: 24px;
	height: 24px;
	flex: 0 0 24px;
	background: currentColor;
	mask: var(--slider-arrow-svg) center / 24px 24px no-repeat;
	-webkit-mask: var(--slider-arrow-svg) center / 24px 24px no-repeat;
}

.furpsy-slider-arrow--left { --slider-arrow-svg: url('../../icons/slider-arrow-left.svg'); }
.furpsy-slider-arrow--right { --slider-arrow-svg: url('../../icons/slider-arrow-right.svg'); }

.furpsy-slider-arrow--large {
	--slider-arrow-hover-color: var(--furpsy-color-grey-100);
	--slider-arrow-hover-bg: var(--furpsy-color-grey-10);
	--slider-arrow-active-bg: var(--furpsy-color-grey-100);
	width: 40px;
	height: 40px;
	padding: 8px;
	border-radius: 36px;
	background: var(--furpsy-color-opacity-white-100);
	box-shadow: 0 0 0 1px var(--furpsy-color-grey-100);
}

.furpsy-slider-arrow--large.furpsy-slider-arrow--left { --slider-arrow-svg: url('../../icons/arrow-left.svg'); }
.furpsy-slider-arrow--large.furpsy-slider-arrow--right { --slider-arrow-svg: url('../../icons/arrow-right.svg'); }

@media (hover: hover) and (pointer: fine) {
	.furpsy-slider-arrow:hover:not(:disabled) {
		color: var(--slider-arrow-hover-color);
		background: var(--slider-arrow-hover-bg);
	}
}

.furpsy-slider-arrow:active:not(:disabled) {
	color: var(--slider-arrow-active-color);
	background: var(--slider-arrow-active-bg);
}

.furpsy-slider-arrow:focus-visible {
	outline: 2px solid var(--furpsy-color-primary-30);
	outline-offset: 0;
}

.furpsy-slider-arrow--large:focus-visible { outline-offset: 1px; }

.furpsy-slider-arrow:disabled {
	color: var(--slider-arrow-disabled-color);
	cursor: default;
	transition: none;
	background: transparent;
}

.furpsy-slider-arrow--large:disabled {
	background: var(--furpsy-color-opacity-white-100);
	box-shadow: 0 0 0 1px var(--furpsy-color-grey-40);
}

.furpsy-progressive-slider {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	color: var(--furpsy-color-grey-100);
	max-width: 100%;
}

.furpsy-progressive-slider[hidden] { display: none; }
.furpsy-progressive-slider__count { flex: 0 0 auto; white-space: nowrap; }
.furpsy-progressive-slider__count[data-carousel-stop] {
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
}
.furpsy-progressive-slider__count[data-carousel-stop]:focus-visible {
	outline: 2px solid var(--furpsy-color-primary-30);
	outline-offset: 0;
}
.furpsy-progressive-slider__progress {
	width: 210px;
	height: 2px;
	flex: 0 1 210px;
	min-width: 0;
	background: var(--furpsy-color-opacity-black-10);
	overflow: hidden;
}

.furpsy-progressive-slider__bar {
	display: block;
	width: 100%;
	height: 100%;
	background: currentColor;
	transform-origin: left;
}

.furpsy-progressive-slider__arrows { display: flex; gap: 8px; flex: 0 0 auto; }
.furpsy-progressive-slider--contrast { color: var(--furpsy-color-opacity-white-100); }
.furpsy-progressive-slider--contrast .furpsy-progressive-slider__progress { background: var(--furpsy-color-opacity-white-20); }

/* Reusable Embla geometry, independent of Hero content. */
.furpsy-carousel__viewport { overflow: hidden; touch-action: pan-y pinch-zoom; }
.furpsy-carousel__track { display: flex; }
.furpsy-carousel__slide { flex: 0 0 100%; min-width: 0; }
.furpsy-carousel:not([data-carousel-ready]) .furpsy-carousel__slide:not(:first-child) { visibility: hidden; }


@media (prefers-reduced-motion: reduce) {
	.furpsy-slider-arrow { transition: none; }
}
