/*
Theme Name: John and Yann's Premium Theme
Theme URI: https://johnandyanns.ch/
Description: Thème WordPress / WooCommerce sur-mesure, moderne, premium et chaleureux pour la marque de rhums arrangés artisanaux John and Yann's.
Version: 1.0.0
Author: Antigravity - Senior Developer
Author URI: https://github.com/google-deepmind
*/

:root {
	--bg-cream: #ebdcb9; /* Warm, elegant cream/light-beige background */
	--accent-gold: #ebb62c; /* Main golden yellow accent color */
	--accent-gold-dark: #d39c14;
	--text-dark: #121212; /* Rich dark grey/black for readability */
	--text-light: #ffffff;
	--font-brand: 'Satisfy', cursive;
	--font-sans: 'Roboto Condensed', sans-serif;
	--font-hand: 'Roboto Condensed', sans-serif;
	--font-clean: 'Roboto Condensed', sans-serif;
	--transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* 1. BASE RESET & GENERAL STYLES */
html {
	scroll-behavior: smooth;
}

*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	font-family: 'Roboto Condensed', sans-serif !important;
}

html, body {
	background: radial-gradient(circle, #f6ead6 20%, #ebd8bc 100%) !important;
	color: #121212 !important;
	font-family: var(--font-clean);
	overflow-x: hidden;
	min-height: 100vh;
	position: relative;
	-webkit-font-smoothing: antialiased;
}

a {
	color: inherit;
	text-decoration: none;
	transition: var(--transition-smooth);
}

/* 2. HEADER & NAVIGATION */
.site-header {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 100;
	padding: 15px 40px;
	background: transparent !important;
	background-color: transparent !important;
}

.header-container {
	width: 100%;
	max-width: 100% !important;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: transparent !important;
	background-color: transparent !important;
}

/* Logo Design - Exactly matching mockup */
.logo-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
}

.logo-main {
	font-family: 'Satisfy', cursive !important;
	font-size: 2.8rem;
	font-weight: 500;
	color: #121212 !important;
	line-height: 1;
	margin-bottom: 8px; /* Added spacing between title and subtitle */
}

.logo-sub {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 2px;
	font-family: var(--font-sans);
	font-weight: 800;
	font-size: 0.65rem;
	letter-spacing: 1.5px;
	color: #121212 !important; /* Force black color on ARRANGÉS AVEC PASSION */
}

.logo-sub .arrow-left,
.logo-sub .arrow-right {
	font-size: 0.7rem;
	color: #121212 !important; /* Force black color on the sub arrows */
}

/* Nav Menu */
.main-nav ul {
	display: flex;
	list-style: none;
	gap: 40px;
}

.nav-link {
	font-family: var(--font-sans);
	font-weight: bold !important; /* Enforce bold menu text */
	font-size: 1.12rem;
	letter-spacing: 2px;
	color: #121212 !important;
	position: relative;
	padding: 4px 0;
	text-transform: uppercase;
}

.nav-link::after {
	content: '';
	position: absolute;
	bottom: -4px;
	left: 0;
	width: 0;
	height: 2.5px;
	background-color: #121212;
	transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
	width: 100%;
}

/* Header Action Icons */
.header-actions {
	display: flex;
	align-items: center;
	gap: 20px;
}

.action-icon {
	color: var(--text-dark);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: var(--transition-smooth);
	position: relative;
}

.action-icon:hover {
	transform: scale(1.1);
	color: var(--accent-gold-dark);
}

.cart-icon {
	position: relative;
}

.cart-badge {
	position: absolute;
	top: -6px;
	right: -6px;
	background-color: var(--accent-gold);
	color: var(--text-dark);
	font-family: var(--font-sans);
	font-weight: 900;
	font-size: 0.65rem;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* 3. HERO LAYOUT */
.hero-wrapper {
	min-height: 100vh;
	width: 100%;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding-top: 140px;
	overflow: hidden;
}

/* Giant background typography with distressed/grunge filter applied */
.bg-text-container {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100vw;
	z-index: 1;
	pointer-events: none;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: visible;
}

.bg-text-svg {
	width: 96vw;
	height: auto;
	max-height: 90vh;
	object-fit: contain;
	display: block;
	opacity: 0.95;
	user-select: none;
}

/* Columns container */
.hero-content-area {
	display: grid;
	grid-template-columns: 1.2fr 2fr 1.2fr;
	width: 100%;
	max-width: 100% !important;
	margin: 0;
	flex-grow: 1;
	align-items: center;
	padding: 0 60px;
	position: relative;
	z-index: 2;
}

/* Left & Right columns styling */
.hero-left-column {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	height: 70%;
	padding-bottom: 60px;
}

.hero-right-column {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-end;
	height: 70%;
	padding-bottom: 60px;
}

.intro-block {
	position: absolute;
	left: 60px;
	bottom: 40px;
	z-index: 10;
	max-width: 350px;
}

.discover-text {
	font-family: var(--font-sans);
	font-weight: 800;
	font-size: 1.5rem; /* Increased from 1.25rem */
	color: var(--text-dark);
	letter-spacing: 0.5px;
}

.discover-text .highlight {
	color: var(--accent-gold-dark);
}

.discover-subtext {
	font-family: var(--font-sans);
	font-weight: 800;
	font-size: 1.25rem; /* Increased from 1.05rem */
	color: var(--text-dark);
	margin-top: 5px;
	margin-bottom: 25px;
	letter-spacing: 0.5px;
}

.cta-link {
	font-family: var(--font-sans);
	font-weight: 800;
	font-size: 1.1rem; /* Increased from 0.85rem */
	letter-spacing: 1px;
	color: var(--text-dark);
	display: inline-flex;
	align-items: center;
	gap: 15px;
	border-bottom: 2px solid var(--text-dark);
	padding-bottom: 6px;
	transition: var(--transition-smooth);
}

.cta-link:hover {
	color: var(--accent-gold-dark);
	border-color: var(--accent-gold-dark);
	transform: translateX(4px);
}

.arrow-indicator {
	font-size: 1.15rem; /* Increased from 0.9rem */
}

/* Center Bottle & Decoratives */
.hero-center-column {
	position: relative;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 5;
}

.liquid-splash-bg {
	position: absolute;
	width: 140%;
	height: auto;
	z-index: 3;
	pointer-events: none;
	opacity: 0.8;
	mix-blend-mode: multiply; /* Removes white background perfectly */
}

.bottle-container {
	position: relative;
	z-index: 6;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: -6vh; /* Shift bottle upwards to prevent overlap with the footer and sit closer to the menu */
}

.product-bottle {
	max-height: 82vh; /* Increased size to reach almost to the menu and sit just above the footer */
	width: auto;
	filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.22));
	transition: var(--transition-smooth);
}

.product-bottle:hover {
	transform: scale(1.02) rotate(-1deg);
	filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.28));
}

/* 4. FLOATING ELEMENTS & ANIMATIONS */
.floating-item {
	position: absolute;
	pointer-events: none;
	z-index: 7;
}

.floating-item img {
	width: 100%;
	height: auto;
	mix-blend-mode: multiply; /* Removes white edges seamlessly */
}

/* Specific elements placement & floating speeds */
.banana-slice-left {
	width: 90px;
	left: -80px;
	top: 35%;
	animation: floatSimple 6s ease-in-out infinite;
}

.banana-slice-right {
	width: 80px;
	right: -60px;
	bottom: 30%;
	animation: floatSlow 8s ease-in-out infinite;
}

.banana-slice-top-right {
	width: 70px;
	right: -100px;
	top: 15%;
	animation: floatSimple 5s ease-in-out infinite 1s;
}

.whole-banana-left {
	width: 260px;
	left: -240px;
	bottom: 5%;
	filter: blur(4px); /* Depth of field blur */
	opacity: 0.95;
	animation: floatSlow 9s ease-in-out infinite;
}

.whole-banana-right {
	width: 250px;
	right: -240px;
	bottom: 8%;
	animation: floatSimple 7s ease-in-out infinite 0.5s;
}

.vanilla-pod-right {
	width: 150px;
	right: -140px;
	top: 25%;
	transform: rotate(35deg);
	animation: floatSlow 10s ease-in-out infinite;
}

.vanilla-pod-left {
	width: 130px;
	left: -110px;
	bottom: 12%;
	transform: rotate(-25deg);
	animation: floatSimple 8s ease-in-out infinite;
}

/* Animation Keyframes */
@keyframes floatSimple {
	0% { transform: translateY(0) rotate(0deg); }
	50% { transform: translateY(-15px) rotate(3deg); }
	100% { transform: translateY(0) rotate(0deg); }
}

@keyframes floatSlow {
	0% { transform: translateY(0) rotate(0deg); }
	50% { transform: translateY(-25px) rotate(-4deg); }
	100% { transform: translateY(0) rotate(0deg); }
}

/* 5. SPEECH BUBBLES / STICKERS */
.speech-sticker {
	position: absolute;
	z-index: 10;
	transition: var(--transition-smooth);
}

.speech-sticker:hover {
	transform: translateY(-5px) scale(1.03);
}

.sticker-img {
	width: 26vw; /* Scales dynamically with the viewport width */
	max-width: 380px; /* Limits maximum size on very large screens */
	min-width: 140px; /* Prevents it from becoming too small */
	height: auto;
	display: block;
}

/* Positioning specific stickers relative to the bottle container */
.sticker-john {
	right: 76%; /* Increased spacing to prevent overlapping on resize */
	top: 32%;
}

.sticker-yann {
	left: 76%; /* Increased spacing to prevent overlapping on resize */
	top: 48%;
}

/* 6. HERO FOOTER */
.hero-footer {
	position: absolute;
	bottom: 40px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 10;
	padding: 0;
	margin: 0;
	display: flex;
	justify-content: center;
	align-items: center;
}

.order-block {
	position: absolute;
	right: 60px;
	bottom: 40px;
	z-index: 10;
}

.discover-universe {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	font-family: var(--font-sans);
	font-weight: 800;
	font-size: 0.95rem; /* Increased from 0.75rem */
	letter-spacing: 2px;
	color: var(--text-dark);
	opacity: 0.8;
	transition: var(--transition-smooth);
}

.discover-universe:hover {
	opacity: 1;
	transform: translateY(3px);
	color: var(--accent-gold-dark);
}

.chevron-down {
	font-size: 0.85rem; /* Increased from 0.6rem */
}

/* 7. RESPONSIVENESS */
@media (max-width: 1400px) {
	.sticker-john { left: 8%; }
	.sticker-yann { right: 8%; }
	.banana-slice-left { left: -40px; }
	.banana-slice-right { right: -30px; }
	.whole-banana-left { left: -180px; }
	.whole-banana-right { right: -180px; }
}

@media (max-width: 1100px) {
	.site-header {
		padding: 20px 30px;
	}
	
	.hero-content-area {
		grid-template-columns: 1fr;
		grid-template-rows: auto auto auto;
		gap: 40px;
		padding: 40px 30px 80px 30px;
		text-align: center;
	}

	.hero-left-column,
	.hero-right-column {
		align-items: center;
		justify-content: center;
		height: auto;
		padding-bottom: 0;
	}

	.intro-block {
		position: relative !important;
		left: auto !important;
		bottom: auto !important;
		margin: 20px auto;
	}

	.order-block {
		position: relative !important;
		right: auto !important;
		bottom: auto !important;
		margin: 20px auto;
	}

	.hero-footer {
		position: relative !important;
		bottom: auto !important;
		left: auto !important;
		transform: none !important;
		margin: 40px auto 20px auto;
	}

	.hero-center-column {
		margin: 40px 0;
	}

	.bg-title-row {
		font-size: 18vw;
	}



	.floating-item {
		display: none; /* Reduce visual clutter on tablet/mobile */
	}
}

@media (max-width: 1100px) {
	.sticker-john {
		right: 92% !important; /* Push John's bubble further left to prevent overlapping the narrow bottle neck */
	}
}

@media (max-width: 768px) {
	.main-nav {
		display: none; /* Hide nav links for simple burger or clean layout on small screens */
	}
	
	.bg-title-row {
		font-size: 22vw;
	}
	
	.product-bottle {
		max-height: 50vh;
	}
}

/* ==========================================================================
   SECTION 2: DEUX AMIS, DEUX VISIONS (STORY)
   ========================================================================== */
.section-story {
	padding: 100px 60px;
	background: radial-gradient(circle, #fbf5e8 20%, #ebd8bc 100%);
	border-top: 2px solid rgba(18, 18, 18, 0.08);
	position: relative;
	overflow: hidden;
}

.story-container {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 60px;
}

.story-visuals {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100vw;
	max-width: 100vw;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
}

.story-svg-john,
.story-svg-yann {
	width: 45%;
	max-height: 85vh;
	height: auto;
	object-fit: contain;
}

.story-svg-title {
	width: 25%;
	max-height: 35vh;
	height: auto;
	object-fit: contain;
	transform: translateY(-40%);
	z-index: 5;
	position: relative;
}

.story-svg-john {
	margin-right: -10%;
}
.story-svg-yann {
	margin-left: -10%;
}

@media (max-width: 768px) {
	.story-visuals {
		flex-direction: column;
		height: auto;
		gap: 40px;
		width: 100%;
		left: auto;
		transform: none;
	}
	
	.story-svg-title {
		width: 80%;
		height: auto;
		transform: none;
	}
	
	.story-svg-john,
	.story-svg-yann {
		width: 90%;
		height: auto;
		margin: 0;
	}
}
/* Timeline steps */
/* Timeline steps */
.story-steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	margin-top: 60px;
	position: relative;
	z-index: 10;
}

/* Dashed line connecting the timeline cards */
.story-steps::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 5%;
	right: 5%;
	height: 3px;
	background-image: linear-gradient(to right, #ebb62c 50%, transparent 50%);
	background-size: 20px 3px;
	z-index: -1;
	opacity: 0.3;
}

.story-step {
	background: #ffffff;
	border-radius: 20px;
	padding: 40px 30px;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	box-shadow: 0 15px 35px rgba(11, 32, 51, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.8);
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	overflow: hidden; /* contains the giant number */
}

.story-step:hover {
	transform: translateY(-15px);
	box-shadow: 0 25px 50px rgba(11, 32, 51, 0.12);
	background: #ffffff;
}

.step-num {
	position: absolute;
	top: -15px;
	right: -10px;
	font-family: 'Bebas Neue', sans-serif !important;
	font-size: 12rem;
	color: rgba(235, 182, 44, 0.1); /* Very subtle watermark */
	line-height: 1;
	z-index: 0;
	pointer-events: none;
	user-select: none;
	transition: all 0.4s ease;
}

.story-step:hover .step-num {
	color: rgba(235, 182, 44, 0.2);
	transform: scale(1.05) rotate(-3deg);
}

.step-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	font-size: 1.15rem;
	font-weight: 800;
	color: #0f223d;
	line-height: 1.4;
	z-index: 1; /* Stays above the watermark */
	position: relative;
}

.step-content p {
	margin: 0;
}

.step-icon {
	font-size: 2rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	background: #fbf5e8;
	padding: 15px 25px;
	border-radius: 50px;
	box-shadow: inset 0 2px 6px rgba(0,0,0,0.03), 0 4px 10px rgba(235, 182, 44, 0.1);
	margin: 10px 0;
}

.year-badge {
	font-family: 'Bebas Neue', sans-serif !important;
	background: #0f223d;
	color: #ebb62c;
	padding: 4px 12px;
	border-radius: 6px;
	font-size: 1.4rem;
	letter-spacing: 1px;
	box-shadow: 0 4px 10px rgba(15, 34, 61, 0.2);
}

@media (max-width: 992px) {
	.story-steps {
		grid-template-columns: 1fr;
		gap: 30px;
	}
	.story-steps::before {
		display: none;
	}
}

.highlight-orange {
	color: #d39c14;
}

/* Quotes */
.story-quotes {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 40px;
	background: rgba(15, 34, 61, 0.03);
	padding: 40px;
	border-radius: 16px;
	margin-top: 20px;
}

.quote-block {
	flex: 1;
	position: relative;
	padding: 0 20px;
}

.quote-block p {
	font-size: 1.35rem;
	font-weight: 700;
	color: #0f223d;
	line-height: 1.4;
	font-style: italic;
}

.quote-mark {
	font-family: 'Satisfy', cursive !important;
	font-size: 4rem;
	color: #ebb62c;
	line-height: 0;
	position: absolute;
	opacity: 0.5;
}

.quote-block:first-child .quote-mark {
	top: -10px;
	left: -10px;
}

.quote-block:last-child .quote-mark {
	bottom: -20px;
	right: -10px;
}

.quote-divider {
	width: 2px;
	height: 60px;
	background: rgba(15, 34, 61, 0.1);
}

/* Story Action Button */
.story-action {
	display: flex;
	justify-content: center;
	margin-top: 10px;
}

.cta-button {
	background: #0f223d;
	color: #ffffff;
	padding: 16px 40px;
	font-size: 1.2rem;
	font-weight: 800;
	border-radius: 50px;
	letter-spacing: 1px;
	display: inline-flex;
	align-items: center;
	gap: 15px;
	box-shadow: 0 8px 25px rgba(15, 34, 61, 0.2);
	transition: var(--transition-smooth);
}

.cta-button:hover {
	background: #ebb62c;
	color: #0f223d;
	transform: translateY(-3px);
	box-shadow: 0 12px 30px rgba(235, 182, 44, 0.3);
}


/* ==========================================================================
   SECTION 3: HISTOIRE D'UNE OBSESSION (RECIPES SLIDER & TIMELINE)
   ========================================================================== */
.section-recipes {
	padding: 100px 60px;
	background: radial-gradient(circle, #fdf6e9 20%, #ebd8bc 100%);
	position: relative;
	overflow: hidden;
}

.recipes-container {
	max-width: 1400px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 320px 1fr;
	gap: 40px;
	align-items: center;
}

.recipes-left-panel {
	display: flex;
	flex-direction: column;
	gap: 25px;
}

.recipes-title {
	font-family: 'Bebas Neue', sans-serif !important;
	font-size: 3.8rem;
	color: #0f223d;
	line-height: 1.1;
	letter-spacing: 1px;
}

.recipes-intro {
	font-size: 1.2rem;
	line-height: 1.5;
	color: #2b3a4a;
}

.intro-p1 {
	font-weight: 700;
	margin-bottom: 20px;
}

.intro-p2 {
	font-weight: 400;
	font-style: italic;
	opacity: 0.9;
	margin-bottom: 20px;
}

.intro-divider {
	font-family: 'Bebas Neue', sans-serif !important;
	font-size: 1.5rem;
	color: #ebb62c;
	letter-spacing: 3px;
	margin-top: 10px;
}

.recipes-slider-area {
	display: flex;
	flex-direction: column;
	gap: 10px;
	position: relative;
	width: 100%;
}

/* Bottles Wrapper with horizontal flex layout */
.recipes-bottles-wrapper {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	padding: 20px 0;
	min-height: 320px;
	position: relative;
	overflow: visible;
}

/* Bottle Cards - Flex basis of 11.11% to fit 9 bottles side by side */
.recipe-bottle-card {
	flex: 1;
	cursor: pointer;
	position: relative;
	transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
	display: flex;
	justify-content: center;
	align-items: flex-end;
	text-align: center;
}

/* Bottle Images */
.slider-bottle-img {
	width: auto;
	height: auto;
	max-height: 240px;
	max-width: 90%;
	object-fit: contain;
	filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.15));
	transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
	transform-origin: bottom center;
}

.recipe-bottle-card:hover .slider-bottle-img {
	filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.2));
	transform: scale(1.1);
}

/* When a bottle is active, blur the others */
.recipes-slider-area.has-active .recipe-bottle-card:not(.active) .slider-bottle-img {
	filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.15)) opacity(0.5) blur(2px);
	transform: scale(0.95);
}

.recipes-slider-area.has-active .recipe-bottle-card:not(.active):hover .slider-bottle-img {
	filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.2)) opacity(0.8) blur(0px);
	transform: scale(1.05);
}

/* Active Bottle State */
.recipe-bottle-card.active .slider-bottle-img {
	max-height: 320px;
	filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.25)) opacity(1) !important;
	transform: scale(1.4) translateY(-10px);
	z-index: 5;
}

/* Active Detail Panel styling below/next to slider */
.recipe-detail-panel {
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(15px);
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 16px;
	padding: 25px;
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
	max-width: 600px;
	margin: 20px auto 0 auto;
	display: flex;
	flex-direction: column;
	gap: 12px;
	transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
	opacity: 0;
	pointer-events: none;
	transform: translateY(20px);
}

.recipes-slider-area.has-active .recipe-detail-panel {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.detail-name {
	font-family: 'Bebas Neue', sans-serif !important;
	font-size: 2.5rem;
	color: #0f223d;
	letter-spacing: 1px;
	line-height: 1;
}

.detail-desc {
	font-size: 1.1rem;
	line-height: 1.5;
	color: #333;
}

.detail-badge {
	align-self: flex-start;
	background: #ebb62c;
	color: #0f223d;
	padding: 6px 14px;
	font-weight: 800;
	border-radius: 6px;
	font-size: 0.95rem;
	letter-spacing: 0.5px;
	box-shadow: 0 4px 10px rgba(235, 182, 44, 0.2);
}

.detail-more-btn {
	align-self: flex-start;
	font-weight: 800;
	font-size: 1rem;
	color: #0f223d;
	border-bottom: 2px solid #0f223d;
	padding-bottom: 4px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 5px;
}

.detail-more-btn:hover {
	color: #ebb62c;
	border-color: #ebb62c;
	transform: translateX(4px);
}

/* Timeline navigation at the bottom */
.recipes-timeline-nav {
	width: 100%;
	position: relative;
	padding: 15px 0;
	margin-top: 10px;
}

.timeline-line {
	position: absolute;
	top: 31px;
	left: 5%;
	width: 90%;
	height: 2px;
	background: rgba(15, 34, 61, 0.15);
	z-index: 1;
}

.timeline-nodes {
	display: flex;
	justify-content: space-between;
	position: relative;
	z-index: 2;
	width: 100%;
}

.timeline-node {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	cursor: pointer;
	text-align: center;
}

.node-num {
	width: 32px;
	height: 32px;
	color: #ffffff !important;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Bebas Neue', sans-serif !important;
	font-size: 1.25rem;
	font-weight: 400;
	transition: var(--transition-smooth);
	margin-bottom: 12px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.node-label {
	font-family: 'Bebas Neue', sans-serif !important;
	font-size: 0.95rem;
	color: #0f223d;
	opacity: 0.6;
	letter-spacing: 0.5px;
	transition: var(--transition-smooth);
	white-space: nowrap;
}

.timeline-node:hover .node-label {
	opacity: 1;
}

.timeline-node.active .node-num {
	transform: scale(1.25);
	box-shadow: 0 0 0 4px rgba(15, 34, 61, 0.2);
}

.timeline-node.active .node-label {
	opacity: 1;
	color: #0f223d;
	font-weight: 700;
}

/* Scroll Hint */
.recipes-hint {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	font-size: 0.95rem;
	font-weight: 700;
	color: #0f223d;
	opacity: 0.6;
	margin-top: 30px;
	text-align: center;
}

/* Timeline Node Flavor Colors */
.node-bv { background-color: #ebb62c; }
.node-ac { background-color: #75a34e; }
.node-fr { background-color: #d65a7f; }
.node-passion { background-color: #e09034; }
.node-mojito { background-color: #4d9265; }
.node-pc { background-color: #c94b30; }
.node-ocg { background-color: #d67923; }
.node-meurons { background-color: #5f3e7a; }
.node-cafe { background-color: #422b1e; }

/* ==========================================================================
   COLOR FLAVORS (CSS FILTERS)
   ========================================================================== */
/* The base files for BV, FR, FP, MO are already colored correctly, no color shift */
.flavor-bv, .flavor-fr, .flavor-passion, .flavor-mojito {
	filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.15)) opacity(0.5) blur(1px);
}
.recipe-bottle-card.active .flavor-bv,
.recipe-bottle-card.active .flavor-fr,
.recipe-bottle-card.active .flavor-passion,
.recipe-bottle-card.active .flavor-mojito {
	filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.25)) opacity(1);
}

/* Custom hue shifts on MASTER_FRONT_BV.png for the missing assets */
.flavor-ac {
	/* Ananas-Coco: Lighter greenish yellow */
	filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.15)) hue-rotate(-10deg) saturate(0.85) brightness(1.05) opacity(0.5) blur(1px);
}
.recipe-bottle-card.active .flavor-ac {
	filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.25)) hue-rotate(-10deg) saturate(0.85) brightness(1.05) opacity(1);
}

.flavor-pc {
	/* Pomme-Cannelle: Rich golden amber */
	filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.15)) hue-rotate(-20deg) saturate(1.1) brightness(0.85) opacity(0.5) blur(1px);
}
.recipe-bottle-card.active .flavor-pc {
	filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.25)) hue-rotate(-20deg) saturate(1.1) brightness(0.85) opacity(1);
}

.flavor-ocg {
	/* Orange-Clou de Girofle: Tangerine orange */
	filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.15)) hue-rotate(-12deg) saturate(1.7) brightness(1.0) opacity(0.5) blur(1px);
}
.recipe-bottle-card.active .flavor-ocg {
	filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.25)) hue-rotate(-12deg) saturate(1.7) brightness(1.0) opacity(1);
}

.flavor-meurons {
	/* Meurons: Deep wild blackberry purple */
	filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.15)) hue-rotate(-115deg) saturate(1.6) brightness(0.55) opacity(0.5) blur(1px);
}
.recipe-bottle-card.active .flavor-meurons {
	filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.25)) hue-rotate(-115deg) saturate(1.6) brightness(0.55) opacity(1);
}

.flavor-cafe {
	/* Café: Dark coffee brown */
	filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.15)) hue-rotate(-30deg) saturate(0.65) brightness(0.38) opacity(0.5) blur(1px);
}
.recipe-bottle-card.active .flavor-cafe {
	filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.25)) hue-rotate(-30deg) saturate(0.65) brightness(0.38) opacity(1);
}

/* ==========================================================================
   RESPONSIVE LAYOUT FOR SECTIONS 2 & 3
   ========================================================================== */
@media (max-width: 1200px) {
	.story-profiles {
		flex-direction: column;
		align-items: center;
		gap: 30px;
	}
	.profile-card {
		width: 100%;
		max-width: 600px;
	}
	.story-steps {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	.recipes-container {
		grid-template-columns: 1fr;
		gap: 40px;
		text-align: center;
	}
	.recipes-left-panel {
		align-items: center;
	}
	.recipes-bottles-wrapper {
		overflow-x: auto;
		justify-content: flex-start;
		gap: 15px;
	}
	.recipe-bottle-card {
		flex: 0 0 80px;
	}
	.timeline-nodes {
		overflow-x: auto;
		padding-bottom: 15px;
		gap: 15px;
		justify-content: flex-start;
		-ms-overflow-style: auto;
		scrollbar-width: auto;
	}
	.timeline-nodes::-webkit-scrollbar {
		display: block;
		height: 6px;
	}
	.timeline-node {
		flex: 0 0 100px;
	}
	.timeline-line {
		display: none;
	}
}

@media (max-width: 768px) {
	.section-story, .section-recipes {
		padding: 60px 20px;
	}
	.story-main-title {
		font-size: 2.5rem;
	}
	.profile-name {
		font-size: 3rem;
	}
	.recipes-title {
		font-size: 3rem;
	}
	.recipe-bottle-card {
		flex: 0 0 65px;
	}
	.recipe-bottle-card.active .slider-bottle-img {
		transform: scale(1.3) translateY(-5px);
	}
	.story-quotes {
		flex-direction: column;
		gap: 20px;
		padding: 20px;
	}
	.quote-divider {
		width: 80%;
		height: 2px;
	}
}

/* ==========================================================================
   SECTION 5: MOODS (Aujourd'hui, tu cherches quoi ?)
   ========================================================================== */
.section-moods {
	padding: 100px 0; /* Remove horizontal padding so the grid spans full width */
	background: #fbf5e8; /* Soft beige to match */
	position: relative;
	/* Removed overflow: hidden to prevent clipping the absolute hint */
}

.moods-container {
	width: 100%;
}

.moods-header {
	text-align: center;
	margin: 0 auto 60px auto;
	padding: 0 40px;
	max-width: 1400px;
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
}

.moods-title-svg {
	max-width: 1200px;
	width: 100%;
	height: auto;
	display: block;
}

.moods-hint {
	position: absolute;
	right: 5%;
	bottom: -40px;
	top: auto;
	z-index: 10;
}

.moods-hint-svg {
	max-width: 250px;
	width: 20vw;
	min-width: 150px;
	height: auto;
	display: block;
}

.moods-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 20px;
	padding: 0 20px;
}

.mood-card {
	border-radius: 24px;
	overflow: visible; /* Let shadows bleed */
	cursor: pointer;
	position: relative;
	background: transparent;
	/* Aspect ratio for perfect squares */
	aspect-ratio: 1 / 1;
}

.mood-card img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
	transition: transform 0.6s ease, filter 0.6s ease;
	filter: drop-shadow(0 15px 25px rgba(0,0,0,0.1));
}

.mood-card:hover img {
	transform: scale(1.05) translateY(-10px);
	filter: drop-shadow(0 25px 35px rgba(0,0,0,0.15));
}

@media (max-width: 1200px) {
	.moods-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 30px;
		padding: 0 30px;
	}
	.moods-header {
		flex-direction: column;
	}
	.moods-hint {
		position: static;
		margin-left: 0;
		text-align: center;
		transform: none;
		margin-top: 30px;
		display: flex;
		justify-content: center;
	}
}

@media (max-width: 768px) {
	.moods-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
		padding: 0 20px;
	}
}
@media (max-width: 480px) {
	.moods-grid {
		grid-template-columns: 1fr;
		padding: 0 20px;
	}
}

/* ==========================================================================
   MOODS POPUP
   ========================================================================== */
.moods-grid {
	position: relative;
}

.moods-grid.has-active-card .mood-card {
	transition: filter 0.4s ease, transform 0.4s ease, opacity 0.4s ease;
}

.moods-grid.has-active-card .mood-card:not(.active) {
	filter: blur(5px);
	opacity: 0.5;
	transform: scale(0.95);
	z-index: 1;
}

.moods-grid.has-active-card .mood-card.active {
	transform: scale(1.05) translateY(10px);
	z-index: 20;
	filter: drop-shadow(0 25px 35px rgba(0,0,0,0.3));
}

.mood-popup-wrapper {
	grid-column: 1 / -1; /* Span full width when inside grid */
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 1s cubic-bezier(0.25, 1, 0.5, 1), margin-top 1s cubic-bezier(0.25, 1, 0.5, 1);
	position: relative;
	z-index: 30;
	margin-top: 0;
}

.mood-popup-wrapper.active {
	grid-template-rows: 1fr;
	margin-top: -30px; /* Overlap with the cards */
}

.mood-popup {
	min-height: 0;
	overflow: hidden;
	background-color: #03121e;
	border-radius: 20px 20px 0 0;
	opacity: 0;
	transition: opacity 0.8s ease-out 0.2s;
	box-shadow: 0 -10px 40px rgba(0,0,0,0.2);
}

.mood-popup-wrapper.active .mood-popup {
	opacity: 1;
}

.mood-popup-content {
	display: grid;
	grid-template-columns: 250fr 380fr 380fr 380fr;
	gap: 20px;
	padding: 40px 40px 50px 40px; /* Reduced top padding */
	align-items: center;
}

.popup-col {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 20px;
}

.product-btn {
	font-family: 'Bebas Neue', cursive;
	font-size: 1.3rem;
	letter-spacing: 1px;
	text-decoration: none;
	padding: 8px 30px;
	border-radius: 6px;
	border: 1px solid;
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
}

.product-btn.btn-ananas {
	color: #dfaa2a;
	border-color: #dfaa2a;
}
.product-btn.btn-ananas:hover {
	background-color: rgba(223, 170, 42, 0.1);
	transform: translateY(-2px);
}

.product-btn.btn-passion {
	color: #d75086;
	border-color: #d75086;
}
.product-btn.btn-passion:hover {
	background-color: rgba(215, 80, 134, 0.1);
	transform: translateY(-2px);
}

.product-btn.btn-mojito {
	color: #8bc34a;
	border-color: #8bc34a;
}
.product-btn.btn-mojito:hover {
	background-color: rgba(139, 195, 74, 0.1);
	transform: translateY(-2px);
}

.popup-svg {
	width: 100%;
	height: auto;
	display: block;
}

.mood-popup-footer {
	background-color: #fbf5e8;
	padding: 20px 40px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
}

.mood-popup-footer::before {
	content: '';
	flex: 1;
}

.footer-center {
	flex: 1;
	text-align: center;
}

.footer-right {
	flex: 1;
	text-align: right;
}

.collection-link {
	font-family: var(--font-sans);
	font-weight: 800;
	font-size: 1.1rem;
	letter-spacing: 1px;
	color: var(--text-dark);
	display: inline-flex;
	align-items: center;
	gap: 15px;
	border-bottom: 2px solid var(--text-dark);
	padding-bottom: 6px;
	text-decoration: none;
	transition: var(--transition-smooth);
}

.collection-link:hover {
	color: var(--accent-gold-dark);
	border-color: var(--accent-gold-dark);
	transform: translateX(4px);
}

@media (max-width: 1024px) {
	.mood-popup-content {
		grid-template-columns: 1fr 1fr;
		padding: 60px 20px 40px 20px;
	}
}

@media (max-width: 768px) {
	.mood-popup {
		margin-top: -20px;
	}
	.mood-popup-content {
		grid-template-columns: 1fr;
		padding: 50px 20px 30px 20px;
	}
	.mood-popup-footer {
		flex-direction: column;
		gap: 20px;
	}
	.mood-popup-footer::before {
		display: none;
	}
	.footer-right {
		text-align: center;
	}
}
