/**
 * Homepage showcase sections — test3.ant elementor-element-7b4e2a5
 */

.home-showcases {
	width: 100%;
	max-width: 100%;
	background: #fffafa;
}

.home-showcase {
	width: 100%;
	max-width: 100%;
	background: #fffafa;
	overflow-x: clip;
	--hq-showcase-content-width: 28%;
	--hq-showcase-content-gap: 90px;
	--hq-showcase-inner-max: 360px;
	--hq-showcase-card-width: 66%;
}

.home-showcase__row {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 0;
	width: 100%;
	max-width: 100%;
	margin-inline: 0;
	padding: 70px 0;
	box-sizing: border-box;
}

.home-showcase--image-right .home-showcase__row {
	justify-content: flex-end;
}

.home-showcase__media {
	flex: 0 0 50%;
	max-width: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	align-self: stretch;
}

.home-showcase--image-left .home-showcase__portrait {
	transform: scaleX(-1);
	border-radius: 50px 0 50px 0;
}

.home-showcase__portrait {
	width: 100%;
	max-width: 1000px;
	height: 700px;
	object-fit: cover;
	object-position: center center;
	display: block;
	border-radius: 0 50px 0 50px;
}

.home-showcase__content {
	position: relative;
	flex: 0 0 var(--hq-showcase-content-width);
	max-width: var(--hq-showcase-content-width);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	align-self: stretch;
	margin: 0 0 0 var(--hq-showcase-content-gap);
	padding: 0;
	box-sizing: border-box;
}

.home-showcase--image-right .home-showcase__content {
	margin: 0 var(--hq-showcase-content-gap) 0 0;
}

.home-showcase--image-right .home-showcase__media {
	order: 2;
}

.home-showcase--image-right .home-showcase__content {
	order: 1;
}

.home-showcase__content-inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	width: 100%;
	max-width: var(--hq-showcase-inner-max);
	margin-inline: auto;
	gap: 0.75rem;
}

.home-showcase__headline {
	display: block;
	margin: 0;
	padding: 0;
	font-family: Andika, system-ui, sans-serif;
	font-size: 46px;
	font-weight: 700;
	line-height: 1.2;
	color: #54595f;
	text-align: center;
}

.home-showcase__headline--highlight {
	padding-bottom: 1.25rem;
	margin-bottom: 0.35rem;
}

.home-showcase__headline--highlight .home-showcase__headline-dynamic-wrapper {
	display: inline-block;
	position: relative;
	overflow: visible;
	text-align: inherit;
	vertical-align: bottom;
	padding-bottom: 0.15rem;
}

.home-showcase__headline--highlight .home-showcase__headline-dynamic-text {
	display: inline-block;
	position: relative;
	z-index: 1;
	color: #54595f;
}

/* Elementor highlight underline */
.home-showcase__headline--highlight .home-showcase__headline-dynamic-wrapper svg {
	position: absolute;
	top: 50%;
	left: 50%;
	width: calc(100% + 20px);
	height: calc(100% + 20px);
	overflow: visible;
	transform: translate(-50%, -50%);
	pointer-events: none;
	z-index: 2;
}

.home-showcase__headline--highlight .home-showcase__headline-dynamic-wrapper path {
	fill: none;
	stroke: #d19cd3;
	stroke-width: 8;
	stroke-linecap: round;
	stroke-linejoin: round;
	opacity: 0;
	stroke-dasharray: 0 1500;
	transition: opacity 0.3s ease;
}

.home-showcase__headline--highlight.e-animated .home-showcase__headline-dynamic-wrapper path {
	animation: hq-headline-dash forwards;
	animation-duration: var(--hq-headline-duration, 1.2s);
	animation-iteration-count: 1;
}

.home-showcase__headline--highlight.e-hide-highlight .home-showcase__headline-dynamic-wrapper path {
	opacity: 1;
	stroke-dasharray: 1500 1500;
	animation: hq-headline-hide 0.4s forwards;
	animation-iteration-count: 1;
}

@keyframes hq-headline-dash {
	0% {
		stroke-dasharray: 0 1500;
		opacity: 1;
	}

	100% {
		stroke-dasharray: 1500 1500;
		opacity: 1;
	}
}

@keyframes hq-headline-hide {
	0% {
		opacity: 1;
		stroke-dasharray: 1500 1500;
	}

	100% {
		filter: blur(10px);
		opacity: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.home-showcase__headline--highlight.e-animated .home-showcase__headline-dynamic-wrapper path {
		animation-duration: 0s;
		stroke-dasharray: 1500 1500;
		opacity: 1;
	}

	.home-showcase__headline--highlight.e-hide-highlight .home-showcase__headline-dynamic-wrapper path {
		animation: none;
		opacity: 1;
	}
}

.home-showcase__description {
	width: 100%;
	max-width: 100%;
	margin: 0;
	font-family: Andika, system-ui, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: #444;
	text-align: center;
}

.home-showcase__description p {
	margin: 0;
}

.home-showcase__card-wrap {
	position: relative;
	width: var(--hq-showcase-card-width);
	max-width: 100%;
	margin: 0.5rem auto 0;
	align-self: center;
}

.home-showcase__card-wrap::after {
	content: "";
	position: absolute;
	top: 49%;
	left: 57%;
	width: 14px;
	height: 14px;
	background: #fff;
	border-radius: 50%;
	transform: translate(-50%, -50%);
	animation: hq-card-pulse 1.5s infinite;
	z-index: 5;
	pointer-events: none;
}

@keyframes hq-card-pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
	}
	70% {
		box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
	}
}

.home-showcase__card-wrap .product-card {
	border-radius: 10px;
}

.product-card {
	position: relative;
	overflow: hidden;
	outline: none;
}

.product-card img {
	width: 100%;
	display: block;
	border-radius: 10px;
	transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
	will-change: transform;
	backface-visibility: hidden;
}

.product-card img.second-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: translateX(100%);
	z-index: 2;
}

.product-card:hover img.second-image,
.product-card.is-active img.second-image {
	transform: translateX(0);
}

.product-card:hover img.img1,
.product-card.is-active img.img1 {
	transform: translateX(-100%);
}

.dots {
	position: absolute;
	bottom: 12px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 6px;
	z-index: 10;
}

.dots span {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.4);
	transition: all 0.4s ease;
}

.dots span:first-child {
	width: 14px;
	background: #fff;
	border-radius: 10px;
}

.product-card:hover .dots span:first-child,
.product-card.is-active .dots span:first-child {
	width: 6px;
	background: rgba(255, 255, 255, 0.3);
}

.product-card:hover .dots span:last-child,
.product-card.is-active .dots span:last-child {
	width: 14px;
	background: #fff;
	border-radius: 10px;
}

.home-showcase__cta {
	margin: 0.5rem 0 0;
}

.home-showcase__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 15px 40px;
	border: 1px solid #222;
	background: #fff;
	color: #222;
	font-family: Andika, system-ui, sans-serif;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.home-showcase__button:hover,
.home-showcase__button:focus-visible {
	background: #eee9e9;
	color: #222;
	text-decoration: none;
}

/* Scroll-triggered bounce (Elementor bounceInLeft / bounceInRight) */
.hq-scroll-reveal {
	opacity: 0;
	will-change: transform, opacity;
}

.hq-scroll-reveal.is-revealed {
	opacity: 1;
}

.hq-scroll-reveal--from-left.is-revealed {
	animation: hq-bounce-in-left 1s both;
}

.hq-scroll-reveal--from-right.is-revealed {
	animation: hq-bounce-in-right 1s both;
}

.hq-scroll-reveal--from-bottom.is-revealed {
	animation: hq-bounce-in-up 1s both;
}

@keyframes hq-bounce-in-left {
	from,
	60%,
	75%,
	90%,
	to {
		animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
	}

	0% {
		opacity: 0;
		transform: translate3d(-3000px, 0, 0);
	}

	60% {
		opacity: 1;
		transform: translate3d(25px, 0, 0);
	}

	75% {
		transform: translate3d(-10px, 0, 0);
	}

	90% {
		transform: translate3d(5px, 0, 0);
	}

	to {
		transform: none;
	}
}

@keyframes hq-bounce-in-right {
	from,
	60%,
	75%,
	90%,
	to {
		animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
	}

	from {
		opacity: 0;
		transform: translate3d(3000px, 0, 0);
	}

	60% {
		opacity: 1;
		transform: translate3d(-25px, 0, 0);
	}

	75% {
		transform: translate3d(10px, 0, 0);
	}

	90% {
		transform: translate3d(-5px, 0, 0);
	}

	to {
		transform: none;
	}
}

@keyframes hq-bounce-in-up {
	from,
	60%,
	75%,
	90%,
	to {
		animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
	}

	0% {
		opacity: 0;
		transform: translate3d(0, 80px, 0);
	}

	60% {
		opacity: 1;
		transform: translate3d(0, -12px, 0);
	}

	75% {
		transform: translate3d(0, 6px, 0);
	}

	90% {
		transform: translate3d(0, -3px, 0);
	}

	to {
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hq-scroll-reveal {
		opacity: 1;
	}

	.hq-scroll-reveal.is-revealed {
		animation: none !important;
	}

	.product-card img,
	.product-card img.second-image {
		transition: none;
	}
}

@media (max-width: 1024px) and (min-width: 768px) {
	.home-showcase {
		--hq-showcase-content-width: 48%;
		--hq-showcase-content-gap: 0px;
		--hq-showcase-inner-max: 340px;
		--hq-showcase-card-width: 53%;
	}
}

@media (min-width: 768px) {
	.home-showcase__content-inner {
		gap: 1rem;
	}

	.home-showcase__headline {
		margin-top: 0;
	}

	.home-showcase__headline--highlight {
		padding-bottom: 1.5rem;
		margin-bottom: 0.25rem;
	}

	.home-showcase__description {
		margin-top: 0;
	}

	.home-showcase__card-wrap {
		margin-top: 0;
	}

	.home-showcase__cta {
		margin-top: 0;
	}
}

@media (max-width: 767px) {
	.home-showcase {
		--hq-showcase-content-width: 100%;
		--hq-showcase-content-gap: 0;
		--hq-showcase-inner-max: 100%;
		--hq-showcase-card-width: min(280px, 100%);
	}

	.home-showcase__row {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		padding: 30px 0 40px;
	}

	.home-showcase__media {
		flex: 0 0 auto;
		align-self: stretch;
		width: 100%;
		max-width: 100%;
		order: 1;
		margin: 0;
		padding: 0 0 24px;
		justify-content: center;
	}

	.home-showcase__content {
		flex: 0 0 auto;
		align-self: center;
		width: 100%;
		max-width: 100%;
		margin: 0;
		padding: 35px 1rem;
		order: 2;
		align-items: center;
	}

	.home-showcase--image-right .home-showcase__content,
	.home-showcase--image-left .home-showcase__content {
		margin: 0;
	}

	/* Mobile: always portrait image first, then headline/card (same as image-left rows). */
	.home-showcase--image-right .home-showcase__media,
	.home-showcase--image-left .home-showcase__media {
		order: 1;
	}

	.home-showcase--image-right .home-showcase__content,
	.home-showcase--image-left .home-showcase__content {
		order: 2;
	}

	.home-showcase__portrait {
		width: 100%;
		max-width: none;
		height: auto;
		aspect-ratio: auto;
		min-height: 280px;
		max-height: 70vh;
	}

	.home-showcase--image-left .home-showcase__portrait {
		transform: none;
		border-radius: 0 50px 0 50px;
	}

	.home-showcase__content-inner {
		align-items: center;
		justify-content: center;
		width: 100%;
		max-width: 100%;
		margin-inline: auto;
		gap: 1rem;
		padding-inline: 0;
		text-align: center;
	}

	.home-showcase__headline {
		font-size: 41px;
		margin: 0 auto;
		text-align: center;
	}

	.home-showcase__headline--highlight {
		padding-bottom: 1.1rem;
		margin-bottom: 0.5rem;
	}

	.home-showcase__description {
		margin: 0 auto;
		font-size: 15px;
		line-height: 1.55;
		text-align: center;
		max-width: 36rem;
	}

	.home-showcase__card-wrap {
		width: var(--hq-showcase-card-width);
		max-width: min(280px, 100%);
		margin: 0.25rem auto 0;
	}

	.home-showcase__cta {
		margin: 0.5rem auto 0;
		text-align: center;
	}
}
