/* WHOOP-style homepage feature carousel + modal */

body.home {
	--scw-whoop-radius: 24px;
	--scw-whoop-gap: 30px;
	--scw-whoop-black: #000;
	--scw-whoop-white: #fff;
	--scw-whoop-font: "Manrope", sans-serif;
}

body.home.scw-whoop-modal-open {
	overflow: hidden;
}

/* Bleed past the boxed container so the last card clips off-screen */
body.home .elementor-element-7108c6c {
	overflow: hidden;
}

body.home .elementor-element-7108c6c > .e-con-inner {
	max-width: none !important;
	width: 100% !important;
	margin-inline: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

body.home .elementor-element-e210e24 {
	--scw-carousel-inset: max(40px, 12vw);
	margin-left: var(--scw-carousel-inset);
	width: calc(100% - var(--scw-carousel-inset)) !important;
	max-width: none !important;
	overflow: hidden;
}

body.home .elementor-element-e210e24 .e-n-carousel,
body.home .elementor-element-e210e24 .swiper,
body.home .elementor-element-e210e24 .swiper-wrapper {
	overflow: visible !important;
	width: 100%;
}

body.home .elementor-element-e210e24 .swiper-slide {
	height: auto;
	width: 392px !important;
	min-width: 392px !important;
	max-width: 392px !important;
	margin-right: 30px !important;
}

body.home .elementor-element-e210e24 .swiper-slide > .e-con {
	position: relative;
	height: 525px;
	border-radius: var(--scw-whoop-radius);
	overflow: hidden;
	cursor: pointer;
	background-position: center;
	background-size: cover;
}

body.home .elementor-element-e210e24 .swiper-slide > .e-con > .e-con-inner,
body.home .elementor-element-e210e24 .swiper-slide .elementor-widget-uael-modal-popup,
body.home .elementor-element-e210e24 .swiper-slide .elementor-widget-container {
	max-width: none !important;
	height: 100%;
	padding: 0;
	position: static;
}

/* Plus trigger — white circle, black plus, bottom-right */
body.home .elementor-element-e210e24 .uael-modal-action-wrap {
	position: absolute !important;
	top: auto !important;
	left: auto !important;
	right: 20px !important;
	bottom: 20px !important;
	z-index: 3;
	width: auto;
	margin: 0;
	pointer-events: none;
}

body.home .elementor-element-e210e24 .uael-modal-action {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: var(--scw-whoop-white) !important;
	border-radius: 50%;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
	color: var(--scw-whoop-black) !important;
}

body.home .elementor-element-e210e24 .uael-modal-action i {
	display: none;
}

body.home .elementor-element-e210e24 .uael-modal-action::before,
body.home .elementor-element-e210e24 .uael-modal-action::after {
	content: "";
	position: absolute;
	background: var(--scw-whoop-black);
	border-radius: 1px;
}

body.home .elementor-element-e210e24 .uael-modal-action::before {
	width: 14px;
	height: 1.5px;
}

body.home .elementor-element-e210e24 .uael-modal-action::after {
	width: 1.5px;
	height: 14px;
}

body.home .elementor-element-e210e24 .elementor-swiper-button {
	position: absolute;
	top: 260px !important;
	margin-top: 0 !important;
	width: 48px !important;
	height: 48px !important;
	padding: 0 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	background: var(--scw-whoop-white);
	border-radius: 50%;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
	color: var(--scw-whoop-black);
	transform: translateY(-50%);
}

body.home .elementor-element-e210e24 .elementor-swiper-button-next {
	right: 24px !important;
	left: auto !important;
}

body.home .elementor-element-e210e24 .elementor-swiper-button-prev {
	display: none;
}

body.home .elementor-element-e210e24 .elementor-swiper-button svg,
body.home .elementor-element-e210e24 .elementor-swiper-button i {
	width: 18px;
	height: 18px;
	font-size: 18px;
	line-height: 1;
	margin: 0 !important;
	position: static !important;
	color: var(--scw-whoop-black);
	fill: var(--scw-whoop-black);
}

body.home .elementor-element-e210e24 .swiper-pagination {
	position: relative;
	margin-top: 28px;
}

body.home .elementor-element-e210e24 .swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	background: #c8c8c8;
	opacity: 1;
}

body.home .elementor-element-e210e24 .swiper-pagination-bullet-active {
	background: var(--scw-whoop-black) !important;
	opacity: 1 !important;
}

/* Modal — only when open so UAEL hide/show still works */
.scw-whoop-modal.scw-whoop-open .uael-overlay {
	background: rgba(0, 0, 0, 0.8) !important;
	opacity: 1 !important;
	z-index: 100000 !important;
}

.scw-whoop-modal.scw-whoop-open .uael-modal {
	position: fixed !important;
	inset: 0 !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	max-width: none !important;
	height: 100% !important;
	margin: 0 !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	z-index: 100002 !important;
	background: transparent !important;
	pointer-events: none;
}

.scw-whoop-modal.scw-whoop-open .uael-content {
	pointer-events: auto;
	position: relative;
	display: flex;
	flex-direction: row;
	align-items: stretch;
	width: min(1100px, calc(100vw - 32px));
	max-height: min(761px, calc(100vh - 48px));
	padding: 50px 50px 0;
	background: var(--scw-whoop-white, #fff) !important;
	border-radius: 16px 16px 0 0;
	overflow: hidden;
	opacity: 1 !important;
	box-shadow: none;
}

.scw-whoop-modal .uael-modal-title-wrap {
	display: none !important;
}

.scw-whoop-modal .uael-modal-text,
.scw-whoop-modal .uael-text-editor {
	width: 100%;
	margin: 0;
}

.scw-whoop-modal .uael-text-editor.scw-whoop-ready {
	display: flex;
	align-items: flex-end;
	gap: 33px;
	width: 100%;
	min-height: 611px;
}

.scw-whoop-modal .scw-whoop-modal-media {
	flex: 0 0 450px;
	width: 450px;
	max-width: 45%;
	align-self: flex-end;
}

.scw-whoop-modal .scw-whoop-modal-media img {
	display: block;
	width: 100%;
	height: 657px;
	max-height: min(657px, calc(100vh - 140px));
	object-fit: cover;
	border-radius: 25px 25px 0 0;
	float: none !important;
	margin: 0 !important;
}

.scw-whoop-modal .scw-whoop-modal-copy {
	flex: 1 1 auto;
	min-width: 0;
	max-height: 580px;
	overflow-y: auto;
	padding: 0 8px 32px 0;
	font-family: var(--scw-whoop-font, "Manrope", sans-serif);
	color: #000;
}

.scw-whoop-modal .scw-whoop-modal-copy .product_title,
.scw-whoop-modal .scw-whoop-modal-copy h1 {
	margin: 0 0 24px;
	color: #000 !important;
	font-family: var(--scw-whoop-font, "Manrope", sans-serif) !important;
	font-size: clamp(32px, 3.2vw, 50px) !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	letter-spacing: -0.02em;
}

.scw-whoop-modal .scw-whoop-modal-copy .price {
	margin: 0 0 20px;
	color: #000;
	font-size: 24px;
	font-weight: 500;
}

.scw-whoop-modal .scw-whoop-modal-copy .woocommerce-product-details__short-description {
	color: #000;
	font-size: 24px;
	font-weight: 400;
	line-height: 1.3;
}

.scw-whoop-modal .scw-whoop-modal-copy .woocommerce-product-details__short-description p,
.scw-whoop-modal .scw-whoop-modal-copy .woocommerce-product-details__short-description li {
	font-size: 18px;
	line-height: 1.45;
	color: #111;
}

.scw-whoop-modal .scw-whoop-modal-copy hr.x-gap {
	display: none;
}

.scw-whoop-modal .scw-whoop-modal-copy a {
	color: #fa3375;
	font-weight: 600;
	text-decoration: none;
}

.scw-whoop-modal .uael-modal-close {
	pointer-events: auto;
	position: absolute;
	top: 24px;
	right: 48px;
	width: 64px;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #000 !important;
	border-radius: 50%;
	color: #fff !important;
	font-size: 22px;
	line-height: 1;
	z-index: 5;
	cursor: pointer;
	box-shadow: none;
}

.scw-whoop-modal .uael-modal-close i {
	color: #fff !important;
	font-size: 18px;
}

@media (max-width: 1024px) {
	body.home .elementor-element-e210e24 .swiper-slide > .e-con {
		height: 460px;
	}

	body.home .elementor-element-e210e24 .elementor-swiper-button {
		top: 230px !important;
	}

	.scw-whoop-modal.scw-whoop-open .uael-content {
		flex-direction: column;
		padding: 24px 20px 0;
		max-height: calc(100vh - 24px);
		border-radius: 16px 16px 0 0;
		overflow: auto;
	}

	.scw-whoop-modal .uael-text-editor.scw-whoop-ready {
		flex-direction: column;
		align-items: stretch;
		gap: 20px;
		min-height: 0;
	}

	.scw-whoop-modal .scw-whoop-modal-media {
		width: 100%;
		max-width: none;
		flex: none;
	}

	.scw-whoop-modal .scw-whoop-modal-media img {
		height: 280px;
		border-radius: 20px;
	}

	.scw-whoop-modal .scw-whoop-modal-copy {
		max-height: none;
		overflow: visible;
		padding-bottom: 28px;
	}

	.scw-whoop-modal .scw-whoop-modal-copy .product_title,
	.scw-whoop-modal .scw-whoop-modal-copy h1 {
		font-size: 32px !important;
	}

	.scw-whoop-modal .uael-modal-close {
		top: 16px;
		right: 16px;
		left: auto;
		width: 48px;
		height: 48px;
	}
}

@media (max-width: 767px) {
	body.home .elementor-element-e210e24 {
		--scw-carousel-inset: 20px;
	}

	body.home .elementor-element-e210e24 .swiper-slide > .e-con {
		height: 420px;
		border-radius: 20px;
	}

	body.home .elementor-element-e210e24 .elementor-swiper-button {
		top: 210px !important;
	}
}
