/* ==========================================================================
   Egg Break Tower Slider Widget Styling
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

.elementor-widget-egg_break_tower_slider {
	display: block;
	width: 100%;
}

.egg-break-tower-slider-wrapper {
	position: relative;
	width: 100%;
	max-width: 1380px;
	margin: 0 auto;
	padding: 40px 20px;
	box-sizing: border-box;
	font-family: 'Inter', sans-serif;
}

.egg-break-tower-title {
	font-family: 'Inter', sans-serif;
	font-size: 36px;
	font-weight: 800;
	color: #1E293B;
	text-align: left;
	margin-bottom: 32px;
	line-height: 1.2;
}

/* 3-Column Grid Layout */
.egg-break-tower-grid {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 36px;
	width: 100%;
}

.tower-col {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.tower-left-col,
.tower-right-col {
	position: relative;
	flex: 1 1 0%;
	max-width: none; /* Free width for text content to fit naturally */
	width: auto;
}

/* Single 1-line continuous vertical divider running down left & right columns */
.tower-left-col::before,
.tower-right-col::before {
	content: '';
	position: absolute;
	top: 8px;
	bottom: 8px;
	left: 186px;
	width: 1.5px;
	background-color: #CCCCCC;
	z-index: 2;
}

/* Center Column (Stacked Egg Tower Image - Scaled Bigger) */
.tower-center-col {
	flex: 0 0 280px;
	display: flex;
	align-items: center;
	justify-content: center;
	align-self: center;
}

.tower-center-img {
	width: 100%;
	max-width: 600px;
	height: auto;
	max-height: 1100px;
	object-fit: contain;
	display: block;
	transform: scale(1.12);
	transform-origin: center center;
}

/* Block Items (Fixed height budget matching Figma alignment across 4 rows) */
.tower-block-item {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	width: 100%;
	min-height: 145px; /* Fixed vertical height for every step row */
	box-sizing: border-box;
}

/* Image Box Wrap & Mini Pagination Dots */
.tower-img-box-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
	z-index: 3;
}

.tower-img-box {
	position: relative;
	width: 170px;
	height: 105px;
	border-radius: 14px;
	background-color: #7CB94D;
	overflow: hidden;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.tower-slide-img,
.tower-placeholder-content {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.6s ease-in-out;
}

.tower-slide-img.active,
.tower-placeholder-content.active {
	opacity: 1;
	visibility: visible;
}

.tower-dots-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	border: 1.5px solid #E23F97;
	background-color: transparent;
	display: inline-block;
	transition: all 0.3s ease;
	cursor: pointer;
}

.dot.active {
	background-color: #E23F97;
	transform: scale(1.15);
}

/* Text Content & Free Width Alignment */
.tower-text-content {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding-left: 16px;
	border-left: none; /* Replaced by single continuous line pseudo-element */
	flex: 1 1 auto;
	width: auto;
	max-width: none; /* Free width for unconstrained text layout */
	min-height: 105px;
	z-index: 3;
}

.tower-block-title {
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	font-weight: 700;
	color: #1A1A1A;
	margin: 0 0 2px 0;
	line-height: 1.35;
	display: block; /* Inline text flow so number and title sit together */
}

.tower-block-num {
	color: #1A1A1A;
	font-weight: 800;
	display: inline;
	margin-right: 5px;
}

.tower-block-name {
	display: inline;
}

.tower-block-desc {
	font-family: 'Inter', sans-serif;
	font-size: 13.5px;
	font-weight: 400;
	color: #64748B;
	margin: 0;
	line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 1024px) {
	.tower-left-col::before,
	.tower-right-col::before {
		display: none;
	}
	.tower-text-content {
		border-left: 1.5px solid #CCCCCC;
		padding-left: 16px;
	}
}

@media (max-width: 991px) {
	.egg-break-tower-grid {
		flex-direction: column;
		gap: 40px;
	}
	.tower-left-col,
	.tower-right-col {
		max-width: 100%;
		width: 100%;
	}
	.tower-center-col {
		order: -1;
		margin-bottom: 20px;
		max-height: 400px;
	}
}

@media (max-width: 600px) {
	.tower-block-item {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
	.tower-text-content {
		align-items: center;
		border-left: none;
		padding-left: 0;
	}
}
