/**
 * MOVIN Why Scroll Showcase Widget Styles
 * Reproduces the approved design from http://movin-website.local/movin-product-scroll-demo/
 */

.movin-why-scroll-wrapper {
	position: relative;
	width: 100%;
	min-height: 100vh;
	background-color: #FAF8F5;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}

/* Rail Layers */
.movin-why-scroll-rail {
	position: absolute;
	top: 0;
	bottom: 0;
	height: 100%;
	width: 35%;
	pointer-events: none;
	z-index: 10;
	overflow: visible;
}

.movin-why-scroll-rail-left {
	left: 0;
}

.movin-why-scroll-rail-right {
	right: 0;
}

/* Product Slots */
.movin-why-scroll-product-slot {
	position: absolute;
	width: 380px;
	height: 125px;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	user-select: none;
	will-change: transform;
	transform-origin: center center;
}

.movin-why-scroll-product-left {
	left: 0;
	transform: translate(-250px, 0px);
}

.movin-why-scroll-product-right {
	right: 0;
	transform: translate(250px, 0px);
}

/* Rotator & Product Image */
.movin-why-scroll-product-rotator {
	width: 125px;
	height: 380px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transform-origin: center center;
	will-change: transform;
}

.movin-why-scroll-product-rotator img {
	display: block;
	height: 100%;
	width: auto;
	max-height: 380px;
	max-width: 125px;
	object-fit: contain;
	filter: none !important;
	box-shadow: none !important;
	border: none !important;
	background: transparent !important;
	pointer-events: none;
	user-select: none;
}

/* Center Content Zone */
.movin-why-scroll-center {
	position: relative;
	width: 48%;
	max-width: 660px;
	text-align: center;
	z-index: 30;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 20px;
	pointer-events: auto;
	margin: 0 auto;
}

/* Nested Container Child Wrapper */
.movin-why-scroll-center-content {
	width: 100%;
	min-height: 200px;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	pointer-events: auto;
}

.movin-why-scroll-center-content > .e-con,
.movin-why-scroll-center-content > .elementor-element {
	width: 100% !important;
	max-width: 100% !important;
}

/* Center Box & Multicolor Heading Typography */
.movin-why-scroll-center-box {
	width: 100%;
	max-width: 620px;
	margin: 0 auto;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.movin-why-subtitle {
	font-size: 13.5px;
	font-weight: 600;
	letter-spacing: 0.06em;
	color: #294437;
	margin-bottom: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 7px 22px;
	border-radius: 50px;
	background: linear-gradient(135deg, #FFFFFF 0%, #FAF5EA 45%, #F4E6CB 100%);
	border: 1px solid rgba(211, 160, 74, 0.35);
	box-shadow: 0 2px 10px rgba(211, 160, 74, 0.08);
	text-transform: uppercase;
}

.movin-why-title {
	font-size: 42px;
	font-weight: 700;
	line-height: 1.15;
	color: #1E3A2B;
	margin: 0 0 16px 0;
	word-wrap: break-word;
}

.movin-why-title .movin-heading-accent {
	color: #C59B27;
	display: inline;
}

.movin-why-desc {
	font-size: 15px;
	line-height: 1.6;
	color: #4A544D;
	max-width: 520px;
	margin: 0 auto 20px auto;
}

.movin-why-tagline {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #28362D;
	margin-bottom: 24px;
}

.movin-why-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: #14281D;
	color: #FAF8F5;
	padding: 13px 30px;
	border-radius: 9999px;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
	border: none;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(20, 40, 29, 0.15);
}

.movin-why-btn:hover {
	background-color: #C59B27;
	color: #FAF8F5;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(197, 155, 39, 0.3);
}


/* ==========================================================================
   Elementor Editor Safe State
   Keeps editor interactive, avoids pin locking and canvas jumping.
   ========================================================================== */
.elementor-editor-active .movin-why-scroll-wrapper {
	height: auto;
	min-height: 800px;
	padding: 80px 0;
}

.elementor-editor-active .movin-why-scroll-center-content {
	min-height: 260px;
}

.elementor-editor-active .movin-why-scroll-product-slot {
	opacity: 0.9;
}

/* ==========================================================================
   Native Elementor Container Extension Mode
   ========================================================================== */
.e-con.movin-why-scroll-wrapper,
.e-con.movin-container-showcase {
	position: relative !important;
	width: 100% !important;
	min-height: 100vh !important;
	background-color: #FAF8F5 !important;
	overflow: hidden !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	box-sizing: border-box !important;
}

.e-con.movin-why-scroll-wrapper > .e-con-inner,
.e-con.movin-why-scroll-wrapper > .e-con,
.e-con.movin-container-showcase > .e-con-inner,
.e-con.movin-container-showcase > .e-con {
	position: relative !important;
	width: 48% !important;
	max-width: 660px !important;
	margin: 0 auto !important;
	z-index: 30 !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1200px) {
	.movin-why-scroll-product-slot {
		width: 310px;
		height: 105px;
	}
	.movin-why-scroll-product-rotator {
		width: 105px;
		height: 310px;
	}
	.movin-why-scroll-product-rotator img {
		max-height: 310px;
		max-width: 105px;
	}
	.movin-why-scroll-center {
		width: 52%;
	}
}

@media (max-width: 767px) {
	.movin-why-scroll-wrapper {
		height: auto !important;
		min-height: auto !important;
		padding: 60px 16px !important;
	}
	.movin-why-scroll-wrapper.mobile-hide-products .movin-why-scroll-rail {
		display: none !important;
	}
	.movin-why-scroll-center {
		width: 100% !important;
		max-width: 100% !important;
		padding: 0 !important;
	}
	.movin-why-subtitle {
		font-size: 13px !important;
		letter-spacing: 0.06em !important;
		margin-bottom: 8px !important;
	}
	.movin-why-title {
		font-size: clamp(22px, 6vw, 28px) !important;
		line-height: 1.25 !important;
		margin-bottom: 12px !important;
	}
	.movin-why-desc {
		font-size: 14px !important;
		line-height: 1.5 !important;
		margin-bottom: 16px !important;
	}
	.movin-why-tagline {
		font-size: 14px !important;
		margin-bottom: 20px !important;
	}
	.movin-why-btn {
		padding: 11px 26px !important;
		font-size: 13px !important;
	}
}

