.actorshop-category-carousel {
	--actorshop-category-carousel-gap: var(--actorshop-gutter, clamp(16px, 2vw, 28px));
	--actorshop-category-carousel-card-width: clamp(300px, 31vw, 470px);
	--actorshop-category-carousel-card-height: 250px;
	--actorshop-category-carousel-control-size: var(--actorshop-button-height, 44px);
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	margin-block: clamp(34px, 5vw, 74px);
}

.actorshop-category-carousel--spacing-gutter {
	margin-block: var(--actorshop-gutter, 16px) clamp(28px, 4vw, 58px);
}

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

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

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

.actorshop-category-carousel__header,
.actorshop-category-carousel__shell {
	width: min(100%, var(--actorshop-container, 1180px));
	margin-inline: auto;
}

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

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

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

.actorshop-category-carousel__header {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 10px;
	margin-bottom: clamp(16px, 2vw, 26px);
}

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

.actorshop-category-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-category-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-category-carousel__subtitle {
	max-width: 620px;
	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-category-carousel__shell {
	position: relative;
}

.actorshop-category-carousel__viewport {
	width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	overscroll-behavior-inline: contain;
}

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

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

.actorshop-category-carousel__card {
	position: relative;
	isolation: isolate;
	display: grid;
	flex: 0 0 var(--actorshop-category-carousel-card-width);
	width: var(--actorshop-category-carousel-card-width);
	height: var(--actorshop-category-carousel-card-height);
	min-height: 180px;
	overflow: hidden;
	color: var(--actorshop-on-ink, #fff);
	background: var(--actorshop-primary, #111);
	text-decoration: none;
	scroll-snap-align: start;
}

.actorshop-category-carousel__card .actorshop-category-carousel__media,
.actorshop-category-carousel__card .actorshop-category-carousel__shade,
.actorshop-category-carousel__card .actorshop-category-carousel__copy {
	grid-area: 1 / 1;
}

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

.actorshop-category-carousel__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.01);
	transition: transform 420ms ease, filter 240ms ease;
}

.actorshop-category-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(4rem, 9vw, 8rem);
	font-weight: 900;
	text-transform: uppercase;
}

.actorshop-category-carousel__shade {
	z-index: 1;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.54));
	pointer-events: none;
}

.actorshop-category-carousel__card .actorshop-category-carousel__copy {
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	min-width: 0;
	padding: clamp(18px, 2vw, 28px);
	text-align: center;
	text-transform: uppercase;
}

.actorshop-category-carousel__count {
	position: absolute;
	top: clamp(12px, 1.4vw, 18px);
	left: clamp(12px, 1.4vw, 18px);
	z-index: 4;
	display: inline-flex;
	align-items: center;
	min-height: 26px;
	padding: 0 9px;
	border: 1px solid rgba(255, 255, 255, 0.74);
	background: rgba(17, 17, 17, 0.22);
	color: #ffffff;
	font-size: var(--actorshop-size-label, 11px);
	font-weight: var(--actorshop-weight-label, 950);
	letter-spacing: 0;
	line-height: 1;
	backdrop-filter: blur(12px) saturate(1.15);
	-webkit-backdrop-filter: blur(12px) saturate(1.15);
}

.actorshop-category-carousel--text-center .actorshop-category-carousel__card .actorshop-category-carousel__copy {
	justify-content: center;
}

.actorshop-category-carousel--text-bottom .actorshop-category-carousel__card .actorshop-category-carousel__copy {
	justify-content: flex-end;
}

.actorshop-category-carousel__card .actorshop-category-carousel__copy strong {
	color: inherit;
	font-family: var(--actorshop-font-ui, inherit);
	font-size: clamp(0.98rem, 1.15vw, 1.18rem);
	font-weight: 900;
	letter-spacing: 0;
	line-height: 1.05;
	text-wrap: balance;
}

.actorshop-category-carousel__parent {
	color: rgba(255, 255, 255, 0.78);
	font-size: var(--actorshop-size-label, 0.72rem);
	font-weight: var(--actorshop-weight-label, 800);
	letter-spacing: 0;
}

.actorshop-category-carousel__parent {
	padding: 5px 8px;
	background: rgba(0, 0, 0, 0.28);
	line-height: 1;
}

.actorshop-category-carousel__card:hover .actorshop-category-carousel__image,
.actorshop-category-carousel__card:focus-visible .actorshop-category-carousel__image {
	transform: scale(1.055);
	filter: saturate(1.05);
}

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

.actorshop-category-carousel__control {
	position: absolute;
	z-index: 5;
	top: 50%;
	display: inline-grid;
	width: var(--actorshop-category-carousel-control-size);
	height: var(--actorshop-category-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, transform 160ms ease;
}

.actorshop-category-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-category-carousel__control--prev {
	left: var(--actorshop-gutter, 16px);
}

.actorshop-category-carousel__control--next {
	right: var(--actorshop-gutter, 16px);
}

.actorshop-category-carousel__control:hover,
.actorshop-category-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-category-carousel__control:disabled,
.actorshop-category-carousel.is-carousel-static .actorshop-category-carousel__control {
	opacity: 0;
	pointer-events: none;
}

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

.actorshop-category-carousel--shop-auto {
	--actorshop-category-carousel-card-height: clamp(280px, 18vw, 340px);
	margin-top: clamp(18px, 3vw, 42px);
	margin-bottom: clamp(30px, 4vw, 64px);
}

.actorshop-category-carousel--shop-auto .actorshop-category-carousel__track {
	width: 100%;
}

.actorshop-category-carousel--shop-auto .actorshop-category-carousel__card {
	grid-template-rows: minmax(0, 1fr) var(--actorshop-button-height, 44px);
	border: 1px solid var(--actorshop-line, #dddddd);
	background: var(--actorshop-surface, #f7f7f7);
	color: var(--actorshop-text, #111111);
}

.actorshop-category-carousel--shop-auto .actorshop-category-carousel__media,
.actorshop-category-carousel--shop-auto .actorshop-category-carousel__shade,
.actorshop-category-carousel--shop-auto .actorshop-category-carousel__copy {
	grid-area: 1 / 1;
}

.actorshop-category-carousel--shop-auto .actorshop-category-carousel__media {
	min-height: 0;
	background: var(--actorshop-surface-alt, #eeeeee);
}

.actorshop-category-carousel--shop-auto .actorshop-category-carousel__image {
	--actorshop-category-carousel-shop-image-scale: 1.18;
	object-fit: cover;
	object-position: center;
	transform: scale(var(--actorshop-category-carousel-shop-image-scale));
	transform-origin: center;
}

.actorshop-category-carousel--shop-auto .actorshop-category-carousel__shade {
	display: none;
}

.actorshop-category-carousel--shop-auto .actorshop-category-carousel__card .actorshop-category-carousel__copy {
	align-items: flex-start;
	justify-content: flex-end;
	gap: 8px;
	padding: clamp(20px, 2vw, 28px) clamp(18px, 1.7vw, 24px);
	color: var(--actorshop-text, #111111);
	text-align: left;
	pointer-events: none;
}

.actorshop-category-carousel--shop-auto .actorshop-category-carousel__card .actorshop-category-carousel__copy strong {
	color: color-mix(in srgb, var(--actorshop-text, #111111) 74%, transparent);
	font-size: clamp(1.18rem, 1.35vw, 1.7rem);
	font-weight: var(--actorshop-weight-display, 950);
	line-height: 0.96;
	text-wrap: balance;
}

.actorshop-category-carousel--shop-auto .actorshop-category-carousel__count {
	border: 1px solid color-mix(in srgb, var(--actorshop-text, #111111) 55%, transparent);
	background: rgba(255, 255, 255, 0.72);
	color: color-mix(in srgb, var(--actorshop-text, #111111) 70%, transparent);
}

.actorshop-category-carousel__gender-links {
	position: relative;
	z-index: 3;
	display: grid;
	grid-row: 2;
	grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
	border-top: 1px solid var(--actorshop-line, #dddddd);
	background: var(--actorshop-page, #ffffff);
}

.actorshop-category-carousel__gender-links a {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--actorshop-button-gap, 8px);
	min-width: 0;
	padding: 0 clamp(14px, 1.4vw, 20px);
	color: var(--actorshop-text, #111111);
	font-family: var(--actorshop-font-ui, inherit);
	font-size: var(--actorshop-size-label, 11px);
	font-weight: var(--actorshop-weight-label, 950);
	letter-spacing: 0;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
}

.actorshop-category-carousel__gender-links a + a {
	border-left: 1px solid var(--actorshop-line, #dddddd);
}

.actorshop-category-carousel__gender-links .actorshop-icon {
	width: var(--actorshop-button-inline-icon-size, 16px);
	height: var(--actorshop-button-inline-icon-size, 16px);
	font-size: var(--actorshop-button-inline-icon-size, 16px);
	flex: 0 0 auto;
}

.actorshop-category-carousel__gender-links a:hover,
.actorshop-category-carousel__gender-links a:focus-visible {
	background: var(--actorshop-text, #111111);
	color: var(--actorshop-on-ink, #ffffff);
}

.actorshop-category-carousel--shop-auto .actorshop-category-carousel__card:hover .actorshop-category-carousel__image,
.actorshop-category-carousel--shop-auto .actorshop-category-carousel__card:focus-within .actorshop-category-carousel__image {
	transform: scale(1.205);
	filter: saturate(1.02);
}

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

@media (max-width: 900px) {
	.actorshop-category-carousel {
		--actorshop-category-carousel-gap: var(--actorshop-gutter-mobile, 12px);
		--actorshop-category-carousel-card-width: min(86vw, 480px);
		--actorshop-category-carousel-card-height: min(var(--actorshop-category-carousel-card-height), 235px);
		margin-block: 30px 44px;
	}

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

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

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

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

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

	.actorshop-category-carousel__control--prev {
		left: var(--actorshop-gutter-mobile, 12px);
	}

	.actorshop-category-carousel__control--next {
		right: var(--actorshop-gutter-mobile, 12px);
	}

	.actorshop-category-carousel__copy {
		padding: 18px;
	}

	.actorshop-category-carousel--shop-auto {
		--actorshop-category-carousel-card-height: min(320px, 86vw);
	}

	.actorshop-category-carousel--shop-auto .actorshop-category-carousel__card .actorshop-category-carousel__copy {
		padding: 20px;
	}

	.actorshop-category-carousel--shop-auto .actorshop-category-carousel__card .actorshop-category-carousel__copy strong {
		font-size: clamp(1.2rem, 6vw, 1.55rem);
	}
}

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

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