/* ==========================================================================
   Egg Break Products Grid Section Elementor Widget Styling
   ========================================================================== */

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

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

.egg-break-products-section {
	position: relative;
	width: 100%;
	overflow: visible;
	padding: 40px 0 60px 0;
	box-sizing: border-box;
}

/* Main Grid Container */
.egg-break-products-grid-container {
	position: relative;
	z-index: 2;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 28px;
}

/* Top Row: 2 Columns (Equal Height Alignment) */
.egg-break-products-top-row {
	display: grid;
	grid-template-columns: 1fr 1.65fr;
	gap: 28px;
	align-items: stretch;
}

/* Right Column: Stacked Cards 2 & 3 */
.egg-break-products-right-col {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 28px;
	height: 100%;
}

/* Base Card Style */
.egg-break-product-card {
	position: relative;
	border-radius: 28px;
	padding: 36px;
	box-sizing: border-box;
	overflow: visible;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.egg-break-product-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

/* Card Content Area */
.egg-break-card-content {
	position: relative;
	z-index: 3;
	max-width: 54%;
}

/* Title Typography */
.egg-break-card-title {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.25;
	color: #2D2D2D;
	margin: 0 0 12px 0;
}

/* Description Typography */
.egg-break-card-desc {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.45;
	color: #3D3D3D;
	margin: 0 0 24px 0;
}

/* Button inside Cards */
.egg-break-card-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	color: #FFFFFF;
	padding: 12px 24px;
	border-radius: 15px;
	text-decoration: none;
	transition: all 0.3s ease;
	gap: 8px;
}

.egg-break-card-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	color: #FFFFFF;
}

.egg-break-card-btn-arrow {
	display: inline-block;
	transition: transform 0.3s ease;
}

.egg-break-card-btn:hover .egg-break-card-btn-arrow {
	transform: translateX(4px);
}

/* Base Image Wrapper */
.egg-break-card-image-wrap {
	position: absolute;
	z-index: 2;
	pointer-events: none;
}

.egg-break-card-image-wrap img {
	display: block;
}

/* ==========================================================================
   INDIVIDUAL CARD STYLING & FULL COVERAGE / OVERFLOW FIXES
   ========================================================================== */

/* Card 1: Liquid Eggs (Tall, Huge Centered Yolk Splash) */
.egg-break-product-card-1 {
	background-color: #7CB94D;
	height: 100%;
	min-height: 630px;
	justify-content: flex-end;
	padding: 300px 32px 40px 32px;
}

.egg-break-product-card-1 .egg-break-card-content {
	max-width: 100% !important;
	width: 100%;
	text-align: left;
}

.egg-break-product-card-1 .egg-break-card-image-wrap {
	top: -65px;
	left: 50%;
	right: auto;
	transform: translateX(-50%);
	width: 500px;
	max-width: 130%;
}

/* Cards 2 & 3: Right Column Cards Equal Height Split */
.egg-break-product-card-2,
.egg-break-product-card-3 {
	flex: 1;
	min-height: 250px;
}

/* Card 2: Frozen Egg Products (Transparent PNG Ice Mound - No Side Slicing) */
.egg-break-product-card-2 {
	background-color: #E23F97;
	overflow: visible;
}

.egg-break-product-card-2 .egg-break-card-image-wrap {
	top: -54px;
	right: 0px;
	bottom: 9px;
	width: 97%;
	height: calc(100% + 55px);
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	z-index: 2;
}

.egg-break-product-card-2 .egg-break-card-image-wrap img {
	height: 100%;
	width: auto;
	max-width: 100%;
	object-fit: contain;
	object-position: bottom right;
}

/* Card 3: Boiled & Peeled Eggs (Full Cover Card Background - No 50% Cut Seam) */
.egg-break-product-card-3 {
	background-color: #FBBE05;
	overflow: hidden;
	position: relative;
}

.elementor-widget-egg_break_products_grid .egg-break-product-card-3 .egg-break-card-btn,
.egg-break-product-card-3 .egg-break-card-btn {
	background-color: #FBBE05 !important;
}

.egg-break-product-card-3 .egg-break-card-image-wrap {
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 1;
	border-radius: 28px;
}

.egg-break-product-card-3 .egg-break-card-image-wrap img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	object-position: center right;
	border-radius: 28px;
}

/* Card 4: Farm-Fresh Eggs (Truélay) (Huge Hen & Chicks Crossing Top AND Bottom Borders) */
.egg-break-product-card-4 {
	background-color: #B5CFDF;
	min-height: 280px;
	overflow: visible;
}

.egg-break-product-card-4 .egg-break-card-content {
	max-width: 45% !important;
}

.egg-break-product-card-4 .egg-break-card-image-wrap {
	top: -75px;
	bottom: -65px;
	right: 15px;
	width: 580px;
	max-width: 60%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.egg-break-product-card-4 .egg-break-card-image-wrap img {
	width: 100%;
	height: auto;
	object-fit: contain;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
	.egg-break-products-top-row {
		grid-template-columns: 1fr;
	}
	.egg-break-product-card-1 {
		min-height: 480px;
		padding-top: 200px;
	}
	.egg-break-product-card-1 .egg-break-card-image-wrap {
		width: 380px;
	}
	.egg-break-card-content {
		max-width: 60% !important;
	}
	.egg-break-product-card-4 .egg-break-card-image-wrap {
		width: 440px;
		top: -45px;
		bottom: -40px;
	}
}

@media (max-width: 767px) {
	.egg-break-products-grid-container {
		gap: 20px;
	}
	.egg-break-product-card {
		padding: 28px 20px !important;
		min-height: auto !important;
		border-radius: 20px !important;
	}
	.egg-break-card-content {
		max-width: 100% !important;
	}
	.egg-break-card-title {
		font-size: 22px;
	}
	.egg-break-card-desc {
		font-size: 13px;
	}
	.egg-break-card-image-wrap {
		position: relative !important;
		top: 0 !important;
		right: 0 !important;
		bottom: 0 !important;
		left: 0 !important;
		width: 100% !important;
		max-width: 280px !important;
		margin: 16px auto 0 auto !important;
		transform: none !important;
	}
	.egg-break-card-image-wrap img {
		border-radius: 12px !important;
	}
}
