.rabbit-hero-carousel,
.rabbit-hero-carousel * {
	box-sizing: border-box;
}

.rabbit-hero-carousel {
	position: absolute;
	inset: 0;
	z-index: 5;
	pointer-events: none;
	overflow: hidden;
}

.rhc-cluster {
	position: absolute;
	right: 4%;
	top: 14%;
	width: 46%;
	height: 72%;
	pointer-events: auto;
}

.rhc-face {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity 250ms linear;
}

.rhc-face.is-front {
	opacity: 1;
	pointer-events: auto;
	z-index: 1;
}

.rhc-face.is-back {
	z-index: 2;
}

.rhc-cluster.is-fading .rhc-face.is-back {
	opacity: 1;
}

.rhc-cluster.is-swap .rhc-face {
	transition: none;
}

.rhc-copy {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-end;
	text-align: right;
	padding: 8px 58px 8px 8px;
	color: #fff;
	text-decoration: none;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.92), 0 0 2px rgba(0, 0, 0, 0.9);
	cursor: pointer;
}

.rabbit-hero-carousel a.rhc-copy,
.rabbit-hero-carousel a.rhc-copy:hover,
.rabbit-hero-carousel a.rhc-copy:focus,
.rabbit-hero-carousel a.rhc-copy:visited,
.rabbit-hero-carousel a.rhc-copy .rhc-name,
.rabbit-hero-carousel a.rhc-copy:hover .rhc-name,
.rabbit-hero-carousel a.rhc-copy:focus .rhc-name,
.rhc-photo-link:hover,
.rhc-photo-link:focus {
	color: #fff;
	text-decoration: none;
	outline: none;
}

.rhc-name {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	font-size: clamp(20px, 2.2vw, 37px);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: 0.01em;
}

.rhc-price {
	display: block;
	margin-top: 0.35em;
	font-size: clamp(16px, 1.5vw, 28px);
	font-weight: 700;
	line-height: 1.15;
	color: #fff;
}

.rhc-price .amount,
.rhc-price bdi,
.rhc-price .woocommerce-Price-currencySymbol {
	color: #fff;
}

.rhc-price del {
	opacity: 0.72;
	font-weight: 500;
	margin-right: 0.35em;
}

.rhc-price ins {
	text-decoration: none;
	font-weight: 800;
}

.rhc-photo {
	position: relative;
	flex: 0 0 46%;
	height: 92%;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.rhc-frame {
	position: relative;
	display: inline-block;
	max-width: 100%;
	max-height: 100%;
	line-height: 0;
}

.rhc-photo-link {
	display: block;
	cursor: pointer;
}

.rhc-photo-link[hidden] {
	display: none;
}

.rhc-photo-link img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	pointer-events: none;
	transition: opacity 0.2s ease;
	transform-origin: center center;
}

.rabbit-hero-carousel.is-paused .rhc-face.is-front .rhc-photo-link img {
	animation: rhc-beat 1.4s ease-in-out infinite;
}

.rabbit-hero-carousel button.rhc-nav,
.rabbit-hero-carousel button.rhc-nav:hover,
.rabbit-hero-carousel button.rhc-nav:focus,
.rabbit-hero-carousel button.rhc-nav:active,
.rabbit-hero-carousel button.rhc-product,
.rabbit-hero-carousel button.rhc-product:hover,
.rabbit-hero-carousel button.rhc-product:focus,
.rabbit-hero-carousel button.rhc-product:active {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	box-sizing: border-box;
	width: 34px;
	height: 34px;
	min-width: 34px;
	min-height: 34px;
	max-width: 34px;
	margin: 0;
	padding: 0;
	border: 0;
	border-width: 0;
	border-radius: 50%;
	box-shadow: none;
	outline: none;
	appearance: none;
	-webkit-appearance: none;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
	font-size: 0;
	text-shadow: none;
	color: #fff;
	background: rgba(0, 0, 0, 0.55);
	cursor: pointer;
}

.rabbit-hero-carousel button.rhc-nav:hover,
.rabbit-hero-carousel button.rhc-nav:focus {
	background: rgba(0, 0, 0, 0.78);
}

.rabbit-hero-carousel button.rhc-nav svg,
.rabbit-hero-carousel button.rhc-product svg {
	display: block;
	width: 20px;
	height: 20px;
	margin: 0;
}

.rabbit-hero-carousel button.rhc-product,
.rabbit-hero-carousel button.rhc-product:hover,
.rabbit-hero-carousel button.rhc-product:focus,
.rabbit-hero-carousel button.rhc-product:active {
	width: 42px;
	height: 42px;
	min-width: 42px;
	min-height: 42px;
	max-width: 42px;
	z-index: 4;
}

.rabbit-hero-carousel.is-single .rhc-product {
	display: none;
}

.rhc-nav[hidden] {
	display: none;
}

.rhc-prev {
	left: 12px;
}

.rhc-next {
	right: 12px;
}

.rhc-product-prev {
	left: -50px;
}

.rhc-product-next {
	right: -50px;
}

@keyframes rhc-beat {
	0%,
	62%,
	100% {
		transform: scale(1);
	}
	12% {
		transform: scale(1.035);
	}
	24% {
		transform: scale(1);
	}
	38% {
		transform: scale(1.018);
	}
}

@media (max-width: 1024px) {
	.rhc-cluster {
		width: 56%;
		right: 4%;
		top: 12%;
		height: 76%;
	}

	.rhc-photo {
		flex-basis: 46%;
	}
}

@media (max-width: 767px) {
	.rhc-cluster {
		left: 6%;
		right: 4%;
		top: 5%;
		width: auto;
		height: 88%;
	}

	.rhc-face {
		flex-direction: column;
		justify-content: flex-start;
	}

	.rhc-photo {
		order: 1;
		flex: 0 0 62%;
		width: 100%;
		height: 62%;
		margin: 0;
		justify-content: center;
		padding: 0 54px;
	}

	.rhc-copy {
		order: 2;
		width: 100%;
		min-height: 0;
		align-items: center;
		text-align: center;
		padding: 10px 8px 0;
	}

	.rhc-name {
		font-size: clamp(22px, 6.6vw, 33px);
	}

	.rhc-price {
		font-size: clamp(18px, 5vw, 26px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.rhc-face,
	.rhc-photo-link img {
		transition: none;
		animation: none;
	}
}
