/* ==========================================================================
   Ingredients Showcase Section (Scroll-Driven Stack & Arched Guide Line)
   ========================================================================== */
html body .wp-block-blooopp-ingredients-showcase,
html body .blooopp-ingredients-showcase,
html body :where(.is-layout-constrained)>.wp-block-blooopp-ingredients-showcase,
html body :where(.is-layout-constrained)>.blooopp-ingredients-showcase,
html body :where(.is-layout-constrained)> :where(:not(.alignleft):not(.alignright)).wp-block-blooopp-ingredients-showcase,
html body :where(.is-layout-constrained)> :where(:not(.alignleft):not(.alignright)).blooopp-ingredients-showcase,
html body :where(.is-layout-flow)>.wp-block-blooopp-ingredients-showcase,
html body :where(.is-layout-flow)>.blooopp-ingredients-showcase {
	position: relative !important;
	width: 100vw !important;
	max-width: 100vw !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	left: 0 !important;
	right: 0 !important;
	background-color: #0a0a0a;
	overflow: visible;
	box-sizing: border-box;
}

.blooopp-ingredients-showcase-pin-wrap {
	position: -webkit-sticky !important;
	position: sticky !important;
	top: max(70px, calc(50vh - 270px));
	width: 100vw !important;
	min-height: 480px;
	height: auto;
	max-height: 600px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	padding: 20px 20px;
	box-sizing: border-box;
}

/* Full-Screen Arched 2px #ffffff Dashed Guide Line SVG passing through step numbers */
.blooopp-ingredients-arc-svg {
	position: absolute !important;
	top: 43% !important;
	left: -2% !important;
	width: 104% !important;
	height: 320px !important;
	transform: translateY(-84%) !important;
	pointer-events: none !important;
	z-index: 1 !important;
	display: block !important;
}

/* Floating Decorative Theme Images (e6.png & e7.png) at outer screen edges */
.blooopp-ing-decor {
	position: absolute;
	pointer-events: none;
	z-index: 2;
}

.decor-top-left {
	top: 14%;
	left: 4%;
}

.decor-bottom-left {
	bottom: 12%;
	left: 4%;
}

.decor-top-right {
	top: 16%;
	right: 4%;
}

.blooopp-decor-img {
	max-width: 150px;
	height: auto;
	object-fit: contain;
}

.decor-e6 {
	animation: bloooppFloat 5s ease-in-out infinite alternate;
}

.decor-e7 {
	animation: bloooppFloat 6s ease-in-out infinite alternate-reverse;
}

/* Slides Stage Container */
.blooopp-ingredients-stage {
	position: relative;
	width: 100%;
	max-width: 950px;
	margin: 0 auto;
	z-index: 10;
	min-height: 520px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Individual Slide Items */
.blooopp-ingredient-item-slide {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	transform: translate(-50%, -50%);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.45s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.45s ease;
	text-align: center;
	color: #ffffff;
}

.blooopp-ingredient-item-slide.is-active {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, -50%) scale(1);
}

.blooopp-ingredient-item-slide.is-prev {
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, -70%) scale(0.9);
}

.blooopp-ingredient-item-slide.is-next {
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, -30%) scale(0.9);
}

.blooopp-ing-slide-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

/* Big Outline Step Number */
.blooopp-ing-number-wrap {
	position: relative;
	display: inline-block;
	margin-bottom: 24px;
}

.blooopp-ing-number-text {
	font-family: 'Blacky', 'Blacky Modern Headline Food Font', var(--wp--preset--font-family--blacky-modern-headline-food-font), sans-serif;
	font-size: 15vw;
	line-height: 0.85;
	font-weight: 900;
	color: var(--wp--preset--color--secondary);
	-webkit-text-stroke: 4px #ffffff;
	letter-spacing: 0.02em;
	user-select: none;
}

/* Floating Illustration Icon next to Number */
.blooopp-ing-floating-icon {
	position: absolute;
	top: 15%;
	right: -80px;
	width: 110px;
	height: 110px;
	animation: bloooppFloat 4s ease-in-out infinite alternate;
}

.blooopp-ing-floating-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* Title White Pill */
.blooopp-ing-title-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding-top: var(--wp--preset--spacing--30);
	padding-right: var(--wp--preset--spacing--80);
	padding-bottom: var(--wp--preset--spacing--30);
	padding-left: var(--wp--preset--spacing--80);
	background-color: #ffffff;
	color: #000000;
	border-radius: 19px;
	font-family: 'Blacky', 'Blacky Modern Headline Food Font', var(--wp--preset--font-family--blacky-modern-headline-food-font), sans-serif;
	font-size: 3vw;
	font-weight: 900;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin-bottom: 24px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* Description Text */
.blooopp-ing-description {
	font-family: 'Sequel Sans', var(--wp--preset--font-family--sequel-sans), sans-serif;
	font-size: 1.81rem;
	line-height: 1.5;
	max-width: 820px;
	margin: 0 auto;
}

@keyframes bloooppFloat {
	0% {
		transform: translateY(0px) rotate(0deg);
	}

	50% {
		transform: translateY(-8px) rotate(3deg);
	}

	100% {
		transform: translateY(0px) rotate(0deg);
	}
}

@media (max-width: 768px) {
	.blooopp-ingredients-showcase {
		margin-top: 0 !important;
		margin-bottom: 0 !important;
	}

	.blooopp-ingredients-showcase-pin-wrap {
		position: -webkit-sticky !important;
		position: sticky !important;
		top: max(60px, calc(50svh - 180px)) !important;
		min-height: 340px !important;
		height: auto !important;
		max-height: 440px !important;
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		justify-content: center !important;
		box-sizing: border-box !important;
		padding-top: 10px !important;
		padding-bottom: 10px !important;
		padding-left: 16px !important;
		padding-right: 16px !important;
	}

	.blooopp-ingredients-stage {
		width: 100% !important;
		max-width: 100% !important;
		min-height: 340px !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		position: relative !important;
	}

	.blooopp-ing-number-wrap {
		margin-bottom: 12px !important;
		position: relative !important;
	}

	.blooopp-ing-number-text {
		-webkit-text-stroke: 2.5px #ffffff !important;
		line-height: 0.9 !important;
	}

	.blooopp-ing-floating-icon {
		width: 46px !important;
		height: 46px !important;
		right: -24px !important;
		top: 0% !important;
	}

	.blooopp-ing-title-pill {
		padding: 8px 20px !important;
		margin-bottom: 14px !important;
		border-radius: 14px !important;
	}

	.blooopp-ing-description {
		font-size: 1.18rem !important;
		line-height: 1.45 !important;
		max-width: 320px !important;
		margin: 0 auto !important;
		padding: 0 10px !important;
	}

	/* Scale down & reposition decor images so they never collide with text on mobile */
	.blooopp-decor-img {
		max-width: 55px !important;
		opacity: 0.3 !important;
	}

	.decor-bottom-left {
		bottom: 4% !important;
		left: -15px !important;
	}

	.decor-top-right {
		top: 95px !important;
		right: -15px !important;
	}

	.decor-top-left {
		display: none !important;
	}

	.blooopp-ingredients-arc-svg {
		top: 38% !important;
		height: 180px !important;
	}
}