.actorshop-collection-carousel {
	--actorshop-collection-carousel-gap: var(--actorshop-product-grid-column-gap, var(--actorshop-gutter, clamp(16px, 2.4vw, 32px)));
	--actorshop-collection-carousel-visible: var(--actorshop-collection-carousel-visible-desktop, 3);
	--actorshop-collection-carousel-card-width: clamp(
		260px,
		calc((100% - (var(--actorshop-collection-carousel-gap) * (var(--actorshop-collection-carousel-visible) - 1))) / var(--actorshop-collection-carousel-visible)),
		520px
	);
	--actorshop-collection-carousel-card-height: 360px;
	--actorshop-collection-carousel-control-size: var(--actorshop-button-height, 44px);
	box-sizing: border-box;
	min-width: 0;
	width: 100%;
	max-width: 100%;
	margin-block: clamp(34px, 5vw, 74px);
	color: var(--actorshop-text, #111);
}

.actorshop-collection-carousel.is-shop-context {
	overflow-x: hidden;
}

body.actorshop .actorshop-shop-content > .actorshop-collection-carousel.is-shop-context {
	width: 100%;
	max-width: none;
	margin-inline: 0;
}

.actorshop-collection-carousel--spacing-gutter {
	margin-block: var(--actorshop-gutter, 16px) clamp(30px, 4vw, 64px);
}

body.actorshop .actorshop-shop-content > .actorshop-collection-carousel--spacing-gutter {
	margin-block: var(--actorshop-gutter, 16px) var(--actorshop-product-grid-row-gap, clamp(20px, 2.6vw, 30px));
}

.actorshop-collection-carousel--spacing-compact {
	margin-block: clamp(18px, 2.6vw, 34px);
}

.actorshop-collection-carousel--spacing-standard {
	margin-block: clamp(34px, 5vw, 74px);
}

.actorshop-collection-carousel--spacing-none {
	margin-block: 0;
}

.actorshop-collection-carousel__header,
.actorshop-collection-carousel__shell {
	box-sizing: border-box;
	min-width: 0;
	width: min(100%, var(--actorshop-container, 1180px));
	margin-inline: auto;
}

body.actorshop .actorshop-shop-content > .actorshop-collection-carousel.is-shop-context .actorshop-collection-carousel__header,
body.actorshop .actorshop-shop-content > .actorshop-collection-carousel.is-shop-context .actorshop-collection-carousel__shell {
	width: 100%;
	max-width: none;
	margin-inline: 0;
}

.actorshop-collection-carousel:is(.actorshop-content--wide, .actorshop-section--wide) .actorshop-collection-carousel__header,
.actorshop-collection-carousel:is(.actorshop-content--wide, .actorshop-section--wide) .actorshop-collection-carousel__shell {
	width: min(100%, var(--actorshop-container-wide, 1420px));
}

.actorshop-collection-carousel:is(.actorshop-content--full, .actorshop-section--full) .actorshop-collection-carousel__header,
.actorshop-collection-carousel:is(.actorshop-content--full, .actorshop-section--full) .actorshop-collection-carousel__shell {
	width: calc(100% - (var(--actorshop-gutter, 20px) * 2));
	max-width: none;
}

.actorshop-collection-carousel:is(.actorshop-content--bleed, .actorshop-section--bleed) .actorshop-collection-carousel__header,
.actorshop-collection-carousel:is(.actorshop-content--bleed, .actorshop-section--bleed) .actorshop-collection-carousel__shell {
	width: 100%;
	max-width: none;
}

.actorshop-collection-carousel__header {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: clamp(16px, 2vw, 28px);
	align-items: end;
	margin-bottom: clamp(16px, 2vw, 28px);
}

.actorshop-collection-carousel__copy-head {
	max-width: 760px;
}

.actorshop-collection-carousel__eyebrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	min-height: 28px;
	margin: 0 0 12px;
	padding: 0 11px;
	background: var(--actorshop-primary, var(--actorshop-color-primary, #111));
	color: var(--actorshop-on-ink, #fff) !important;
	font-size: var(--actorshop-size-label, 0.72rem);
	font-weight: var(--actorshop-weight-label, 900);
	letter-spacing: 0;
	text-transform: uppercase;
}

.actorshop-collection-carousel__header h2 {
	margin: 0;
	color: var(--actorshop-text, #111);
	font-size: var(--actorshop-section-title-size, clamp(2rem, 3.35vw, 4.2rem));
	font-weight: var(--actorshop-section-title-weight, 900);
	line-height: var(--actorshop-section-title-line, 0.96);
	letter-spacing: 0;
}

.actorshop-collection-carousel__subtitle {
	max-width: 640px;
	margin: 10px 0 0;
	color: var(--actorshop-muted, rgba(17, 17, 17, 0.68));
	font-size: var(--actorshop-impact-copy-size, 1rem);
	font-weight: var(--actorshop-impact-copy-weight, 500);
	line-height: var(--actorshop-impact-copy-line, 1.5);
}

.actorshop-collection-carousel__all-link {
	display: inline-flex;
	gap: 14px;
	align-items: center;
	justify-content: center;
	min-height: var(--actorshop-button-height, 44px);
	padding: 0 clamp(16px, 2vw, 26px);
	border: 1px solid var(--actorshop-primary, #111);
	background: var(--actorshop-page, #fff);
	color: var(--actorshop-primary, #111);
	font-family: var(--actorshop-font-ui, inherit);
	font-size: var(--actorshop-button-font-size, 0.86rem);
	font-weight: var(--actorshop-button-font-weight, 850);
	letter-spacing: 0;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}

.actorshop-collection-carousel__all-link:hover,
.actorshop-collection-carousel__all-link:focus-visible {
	background: var(--actorshop-primary, #111);
	color: var(--actorshop-on-ink, #fff);
}

.actorshop-collection-carousel__all-link .actorshop-icon {
	width: 1em;
	height: 1em;
	font-size: 1em;
	transform: rotate(45deg);
}

.actorshop-collection-carousel__shell {
	position: relative;
}

.actorshop-collection-carousel__viewport {
	min-width: 0;
	width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	overscroll-behavior-inline: contain;
	clip-path: inset(0);
}

.actorshop-collection-carousel__viewport::-webkit-scrollbar {
	display: none;
}

.actorshop-collection-carousel__track {
	display: flex;
	align-items: stretch;
	gap: var(--actorshop-collection-carousel-gap);
	width: max-content;
	min-width: 100%;
	max-width: none;
}

.actorshop-collection-carousel__card {
	position: relative;
	isolation: isolate;
	display: grid;
	grid-template-rows: minmax(0, 1fr) auto;
	flex: 0 0 var(--actorshop-collection-carousel-card-width);
	width: var(--actorshop-collection-carousel-card-width);
	max-width: calc(100vw - (var(--actorshop-gutter, 16px) * 2));
	height: var(--actorshop-collection-carousel-card-height);
	min-height: 260px;
	overflow: hidden;
	background: var(--actorshop-primary, #111);
	color: var(--actorshop-on-ink, #fff);
	text-decoration: none;
	scroll-snap-align: start;
}

.actorshop-collection-carousel__media,
.actorshop-collection-carousel__shade,
.actorshop-collection-carousel__countdown {
	grid-area: 1 / 1;
}

.actorshop-collection-carousel__media {
	position: absolute;
	inset: 0;
	z-index: 0;
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background: var(--actorshop-primary, #111);
}

.actorshop-collection-carousel__image,
.actorshop-collection-carousel__video {
	position: absolute;
	inset: 0;
	display: block;
	width: 100% !important;
	max-width: none;
	height: 100% !important;
	min-height: 100%;
	object-fit: cover;
	object-position: center;
	transform: scale(1.01);
	transition:
		opacity 260ms ease,
		transform 560ms cubic-bezier(0.22, 1, 0.36, 1),
		filter 340ms ease;
}

.actorshop-collection-carousel__video {
	opacity: 0;
	transform: scale(1.045);
}

.actorshop-collection-carousel__placeholder {
	display: grid;
	width: 100%;
	height: 100%;
	place-items: center;
	color: rgba(255, 255, 255, 0.16);
	font-family: var(--actorshop-font-display, inherit);
	font-size: clamp(4.8rem, 9vw, 9rem);
	font-weight: 950;
	text-transform: uppercase;
}

.actorshop-collection-carousel__shade {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.1) 58%, rgba(0, 0, 0, 0.28) 100%);
	pointer-events: none;
}

.actorshop-collection-carousel__badge {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	width: fit-content;
	max-width: 100%;
	min-height: 30px;
	padding: 0 11px;
	border: 1px solid color-mix(in srgb, currentColor 46%, transparent);
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.08);
	color: inherit;
	font-family: var(--actorshop-font-ui, inherit);
	font-size: var(--actorshop-size-label, 0.72rem);
	font-weight: var(--actorshop-weight-label, 900);
	letter-spacing: 0;
	line-height: 1;
	text-transform: uppercase;
}

.actorshop-collection-carousel__badge span {
	width: 6px;
	height: 6px;
	border-radius: 999px;
	background: currentColor;
}

.actorshop-collection-carousel__copy {
	grid-row: 2;
	grid-column: 1;
	z-index: 2;
	align-self: end;
	display: grid;
	align-content: end;
	gap: clamp(7px, 0.8vw, 10px);
	min-width: 0;
	min-height: 0;
	padding: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(0, 0, 0, 0.34);
	color: var(--actorshop-on-ink, #ffffff);
	backdrop-filter: blur(18px) saturate(1.12);
	-webkit-backdrop-filter: blur(18px) saturate(1.12);
}

.actorshop-collection-carousel--text-center .actorshop-collection-carousel__copy {
	justify-items: stretch;
	text-align: left;
}

.actorshop-collection-carousel__copy > * {
	margin-inline: 15px;
}

.actorshop-collection-carousel__copy > :first-child {
	margin-top: 15px;
}

.actorshop-collection-carousel__copy > :last-child {
	margin-bottom: 15px;
}

.actorshop-collection-carousel__title-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 12px;
	align-items: center;
	width: calc(100% - 30px);
}

.actorshop-collection-carousel__copy :is(h3, h4, strong) {
	display: block;
	max-width: none;
	margin: 0;
	color: var(--actorshop-on-ink, #ffffff) !important;
	font-family: var(--actorshop-font-heading, inherit);
	font-size: clamp(22px, 1.7vw, var(--actorshop-h4-size, 24px));
	font-weight: var(--actorshop-h4-weight, 900);
	letter-spacing: 0;
	line-height: var(--actorshop-h4-line, 1.05);
	text-transform: uppercase;
	text-wrap: balance;
	overflow-wrap: normal;
}

.actorshop-collection-carousel__title-row h4 {
	color: var(--actorshop-on-ink, #ffffff) !important;
	font: inherit;
	font-family: var(--actorshop-font-heading, inherit);
	font-size: clamp(22px, 1.7vw, var(--actorshop-h4-size, 24px)) !important;
	font-weight: var(--actorshop-h4-weight, 900) !important;
	line-height: var(--actorshop-h4-line, 1.05) !important;
	text-transform: uppercase !important;
}

.actorshop-collection-carousel--text-center .actorshop-collection-carousel__copy :is(h3, h4, strong) {
	max-width: none;
}

.actorshop-collection-carousel__cta {
	display: inline-grid;
	align-self: center;
	width: auto;
	height: auto;
	place-items: center;
	border: 0;
	color: inherit;
	font-size: 22px;
	line-height: 1;
}

.actorshop-collection-carousel__cta .actorshop-icon {
	width: 1em;
	height: 1em;
	font-size: 1em;
	transform: rotate(45deg);
}

.actorshop-collection-carousel__countdown {
	z-index: 3;
	align-self: start;
	justify-self: start;
	display: inline-grid;
	grid-auto-flow: column;
	gap: clamp(6px, 0.8vw, 10px);
	align-items: end;
	max-width: calc(100% - 32px);
	margin: 16px;
	padding: clamp(8px, 0.9vw, 10px) clamp(12px, 1.3vw, 18px);
	border: 1px solid color-mix(in srgb, var(--actorshop-page, #ffffff) 42%, transparent);
	background: color-mix(in srgb, var(--actorshop-page, #ffffff) 76%, transparent);
	box-shadow: 0 12px 26px rgba(17, 17, 17, 0.12);
	color: var(--actorshop-text, #111111);
	backdrop-filter: blur(14px) saturate(1.12);
	-webkit-backdrop-filter: blur(14px) saturate(1.12);
}

.actorshop-collection-carousel__countdown span:not(.actorshop-collection-showcase-countdown__separator) {
	display: grid;
	gap: 3px;
	justify-items: center;
	min-width: 0;
	align-content: center;
}

.actorshop-collection-carousel__countdown strong {
	color: inherit;
	font-family: var(--actorshop-font-heading, inherit);
	font-size: clamp(14px, 1.15vw, 18px);
	font-weight: 950;
	letter-spacing: 0;
	line-height: 0.9;
}

.actorshop-collection-carousel__countdown em {
	color: var(--actorshop-muted, #666666);
	font-size: 7px;
	font-style: normal;
	font-weight: 850;
	letter-spacing: 0;
	line-height: 1;
	text-transform: uppercase;
}

.actorshop-collection-carousel__countdown .actorshop-collection-showcase-countdown__separator {
	display: none;
}

.actorshop-collection-carousel__card:hover .actorshop-collection-carousel__image,
.actorshop-collection-carousel__card:focus-visible .actorshop-collection-carousel__image {
	transform: scale(1.055);
	filter: saturate(1.06) contrast(1.04);
}

.actorshop-collection-carousel__card.has-video:hover .actorshop-collection-carousel__image,
.actorshop-collection-carousel__card.has-video:focus-visible .actorshop-collection-carousel__image {
	opacity: 0;
	transform: scale(1.075);
}

.actorshop-collection-carousel__card.has-video:hover .actorshop-collection-carousel__video,
.actorshop-collection-carousel__card.has-video:focus-visible .actorshop-collection-carousel__video {
	opacity: 1;
	transform: scale(1);
}

.actorshop-collection-carousel__card:focus-visible {
	outline: 2px solid var(--actorshop-primary, #111);
	outline-offset: 3px;
}

.actorshop-collection-carousel__control {
	position: absolute;
	z-index: 5;
	top: 50%;
	display: inline-grid;
	width: var(--actorshop-collection-carousel-control-size);
	height: var(--actorshop-collection-carousel-control-size);
	place-items: center;
	border: 1px solid var(--actorshop-control-border, var(--actorshop-color-border, #d8d8d8));
	border-radius: var(--actorshop-radius-button, 0);
	background: var(--actorshop-page, var(--actorshop-color-base-2, #fff));
	color: var(--actorshop-primary, var(--actorshop-color-primary, #111));
	box-shadow: none;
	cursor: pointer;
	transform: translateY(-50%);
	transition: background 160ms ease, color 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.actorshop-collection-carousel__control .actorshop-icon {
	width: var(--actorshop-ui-icon-size, 20px);
	height: var(--actorshop-ui-icon-size, 20px);
	font-size: var(--actorshop-ui-icon-size, 20px);
}

.actorshop-collection-carousel__control--prev {
	left: max(8px, calc(var(--actorshop-gutter, 16px) * -0.5));
}

.actorshop-collection-carousel__control--next {
	right: max(8px, calc(var(--actorshop-gutter, 16px) * -0.5));
}

.actorshop-collection-carousel__control:hover,
.actorshop-collection-carousel__control:focus-visible {
	background: var(--actorshop-primary, var(--actorshop-color-primary, #111));
	color: var(--actorshop-on-ink, var(--actorshop-color-base-2, #fff));
	border-color: var(--actorshop-primary, var(--actorshop-color-primary, #111));
}

.actorshop-collection-carousel__control:disabled,
.actorshop-collection-carousel.is-carousel-static .actorshop-collection-carousel__control {
	opacity: 0;
	pointer-events: none;
}

.actorshop-collection-carousel.is-controls-hidden .actorshop-collection-carousel__control {
	display: none;
}

.editor-styles-wrapper .wp-block-actorshop-hera-collection-carousel,
.editor-styles-wrapper .actorshop-collection-carousel {
	width: 100%;
	max-width: none;
}

.actorshop-collection-carousel-editor__collection-list {
	display: grid;
	gap: 2px;
	max-height: 260px;
	overflow: auto;
	padding: 8px;
	border: 1px solid #dcdcde;
	background: #fff;
}

@media (max-width: 900px) {
	.actorshop-collection-carousel {
		--actorshop-collection-carousel-gap: var(--actorshop-gutter-mobile, 12px);
		--actorshop-collection-carousel-visible: var(--actorshop-collection-carousel-visible-tablet, 2);
		--actorshop-collection-carousel-card-width: min(
			86vw,
			calc((100% - (var(--actorshop-collection-carousel-gap) * (var(--actorshop-collection-carousel-visible) - 1))) / var(--actorshop-collection-carousel-visible))
		);
		--actorshop-collection-carousel-card-height: min(var(--actorshop-collection-carousel-card-height), 420px);
		margin-block: 30px 44px;
	}

	.actorshop-collection-carousel--spacing-gutter {
		margin-block: var(--actorshop-gutter-mobile, 12px) 40px;
	}

	body.actorshop .actorshop-shop-content > .actorshop-collection-carousel--spacing-gutter {
		margin-block: var(--actorshop-gutter-mobile, 12px) var(--actorshop-product-grid-row-gap, clamp(20px, 2.6vw, 30px));
	}

	.actorshop-collection-carousel__header,
	.actorshop-collection-carousel__shell {
		width: calc(100% - (var(--actorshop-gutter-mobile, 12px) * 2));
	}

	body.actorshop .actorshop-shop-content > .actorshop-collection-carousel.is-shop-context .actorshop-collection-carousel__header,
	body.actorshop .actorshop-shop-content > .actorshop-collection-carousel.is-shop-context .actorshop-collection-carousel__shell {
		width: 100%;
		max-width: none;
		margin-inline: 0;
	}

	.actorshop-collection-carousel:is(.actorshop-content--bleed, .actorshop-section--bleed) .actorshop-collection-carousel__header,
	.actorshop-collection-carousel:is(.actorshop-content--bleed, .actorshop-section--bleed) .actorshop-collection-carousel__shell {
		width: 100%;
	}

	.actorshop-collection-carousel__header {
		grid-template-columns: minmax(0, 1fr);
		align-items: start;
	}

	.actorshop-collection-carousel__header h2 {
		font-size: var(--actorshop-section-title-size, clamp(1.9rem, 10vw, 3.2rem));
	}

	.actorshop-collection-carousel__all-link {
		justify-self: start;
		max-width: 100%;
		white-space: normal;
	}

	.actorshop-collection-carousel__control {
		--actorshop-collection-carousel-control-size: var(--actorshop-button-height, 44px);
	}

	.actorshop-collection-carousel__control--prev {
		left: 6px;
	}

	.actorshop-collection-carousel__control--next {
		right: 6px;
	}

	.actorshop-collection-carousel__copy > * {
		margin-inline: 14px;
	}

	.actorshop-collection-carousel__copy > :first-child {
		margin-top: 14px;
	}

	.actorshop-collection-carousel__copy > :last-child {
		margin-bottom: 14px;
	}

	.actorshop-collection-carousel__title-row {
		width: calc(100% - 28px);
	}

	.actorshop-collection-carousel__copy :is(h3, h4, strong) {
		font-size: clamp(1.4rem, 6.2vw, 2rem);
		line-height: 1;
	}

	.actorshop-collection-carousel__countdown {
		justify-self: start;
		margin: 12px;
		max-width: calc(100% - 24px);
	}
}

@media (max-width: 460px) {
	.actorshop-collection-carousel {
		--actorshop-collection-carousel-visible: var(--actorshop-collection-carousel-visible-mobile, 1);
		--actorshop-collection-carousel-card-width: min(86vw, 100%);
		--actorshop-collection-carousel-card-height: min(var(--actorshop-collection-carousel-card-height), 360px);
	}

	.actorshop-collection-carousel__copy :is(h3, h4, strong) {
		font-size: clamp(1.35rem, 7vw, 1.85rem);
	}

	.actorshop-collection-carousel__description {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.actorshop-collection-carousel__viewport {
		scroll-behavior: auto;
	}

	.actorshop-collection-carousel__image,
	.actorshop-collection-carousel__video,
	.actorshop-collection-carousel__control {
		transition: none;
	}
}
