/**
 * Header + Footer Omalamise (toutes les pages sauf front)
 */

:root {
	--cream: #FAF6F0;
	--cream-dark: #F0E9DF;
	--gold: #C4A35A;
	--gold-light: #DFC080;
	--gold-pale: #F5ECD7;
	--brown: #3A2B1A;
	--brown-mid: #6B4F35;
	--text: #2C1F0E;
	--text-light: #7A6550;
	--white: #FFFFFF;
}

/* ===== HEADER ===== */
body .oml-site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	padding: 0 5%;
	height: 72px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: rgba(250, 246, 240, 0.92);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(196, 163, 90, 0.2);
	transition: all 0.3s ease;
}

body .oml-site-header .oml-logo {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 1.7rem;
	font-weight: 500;
	color: var(--brown);
	letter-spacing: 0.04em;
	text-decoration: none;
}
body .oml-site-header .oml-logo span {
	color: var(--gold);
}

body .oml-site-header nav {
	display: flex;
	gap: 2.5rem;
	align-items: center;
}
body .oml-site-header nav a {
	font-size: 0.78rem;
	font-weight: 400;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--text-light);
	text-decoration: none;
	transition: color 0.2s;
}
body .oml-site-header nav a:hover {
	color: var(--gold);
}

body .oml-site-header .oml-header-actions {
	display: flex;
	gap: 1.2rem;
	align-items: center;
}
body .oml-site-header .oml-header-actions a {
	color: var(--brown);
	text-decoration: none;
	font-size: 0.8rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
body .oml-site-header .oml-cart-btn {
	background: var(--gold);
	color: var(--white) !important;
	padding: 0.5rem 1.2rem;
	border-radius: 2px;
	transition: background 0.2s !important;
}
body .oml-site-header .oml-cart-btn:hover {
	background: var(--brown-mid) !important;
	color: var(--white) !important;
}

/* Logo desktop */
body .oml-logo-img {
	height: 70px !important;
	width: auto !important;
}

/* Hamburger — caché par défaut sur desktop */
body .oml-hamburger {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 4px;
}
body .oml-hamburger span {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--brown);
	border-radius: 2px;
}

/* Announcement bar */
body .oml-announce-bar {
	background: var(--brown);
	color: var(--gold-light);
	text-align: center;
	padding: 0.55rem 1rem;
	font-size: 0.72rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	margin-top: 72px;
}
body .oml-announce-bar .oml-announce-mobile {
	display: none;
}

@media (max-width: 768px) {
	body .oml-announce-bar {
		font-size: 10px;
		letter-spacing: 0.10em;
		padding: 0.45rem 0.75rem;
	}
	body .oml-announce-bar .oml-announce-desktop {
		display: none !important;
	}
	body .oml-announce-bar .oml-announce-mobile {
		display: inline !important;
	}
	body .oml-announce-bar #oml-announce-mobile-text {
		display: inline-block;
		white-space: nowrap;
	}
}

/* Espace sous le header fixe pour le contenu */
body.admin-bar .oml-announce-bar { margin-top: 112px; }
body:not(.luxe-home) #main-container { padding-top: 0; }

/* ===== FOOTER ===== */
body .oml-site-footer {
	background: #1A100A;
	color: rgba(250, 246, 240, 0.5);
	padding: 4rem 5% 2rem;
}
body .oml-site-footer .oml-footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 3rem;
	max-width: 1200px;
	margin: 0 auto 3rem;
}
body .oml-site-footer .oml-footer-brand .oml-logo {
	color: var(--cream);
	display: block;
	margin-bottom: 1rem;
}
body .oml-site-footer .oml-footer-desc {
	font-size: 0.78rem;
	line-height: 1.8;
	font-weight: 300;
	margin-bottom: 1.5rem;
	max-width: 280px;
}
body .oml-site-footer .oml-footer-socials {
	display: flex;
	gap: 0.8rem;
}
body .oml-site-footer .oml-social-btn {
	width: 34px;
	height: 34px;
	border: 1px solid rgba(196, 163, 90, 0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--gold-light);
	text-decoration: none;
	font-size: 0.75rem;
	transition: border-color 0.2s, color 0.2s;
}
body .oml-site-footer .oml-social-btn:hover {
	border-color: var(--gold);
	color: var(--gold);
}
body .oml-site-footer .oml-footer-col h4 {
	font-size: 0.68rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--gold-light);
	margin-bottom: 1.2rem;
	font-weight: 400;
}
body .oml-site-footer .oml-footer-col ul {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	margin: 0;
	padding: 0;
}
body .oml-site-footer .oml-footer-col ul li a {
	font-size: 0.78rem;
	color: rgba(250, 246, 240, 0.45);
	text-decoration: none;
	font-weight: 300;
	transition: color 0.2s;
}
body .oml-site-footer .oml-footer-col ul li a:hover {
	color: var(--gold-light);
}
body .oml-site-footer .oml-footer-bottom {
	border-top: 1px solid rgba(196, 163, 90, 0.12);
	padding-top: 1.5rem;
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.68rem;
	letter-spacing: 0.1em;
}
body .oml-site-footer .oml-footer-bottom a {
	color: rgba(250, 246, 240, 0.3);
	text-decoration: none;
}
body .oml-site-footer .oml-footer-bottom a:hover {
	color: var(--gold-light);
}

@media (max-width: 1024px) {
	body .oml-site-footer .oml-footer-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 768px) {
	/* Header mobile */
	body .oml-site-header {
		padding: 0 16px;
		height: 60px;
		justify-content: space-between;
	}

	/* Logo mobile */
	body .oml-logo-img {
		height: 55px !important;
		width: auto !important;
	}

	/* Cacher nav desktop */
	body .oml-site-header nav {
		display: none !important;
	}

	/* Actions à droite : hamburger + panier uniquement */
	body .oml-site-header .oml-header-actions {
		position: static;
		display: flex;
		align-items: center;
		gap: 0.8rem;
	}

	/* Cacher "Compte" sur mobile */
	body .oml-site-header .oml-header-actions a:not(.oml-cart-btn) {
		display: none !important;
	}

	/* Afficher hamburger */
	body .oml-hamburger {
		display: flex !important;
	}

	/* Panier visible */
	body .oml-cart-btn {
		display: inline-flex !important;
		padding: 0.4rem 0.8rem !important;
		font-size: 0.72rem !important;
	}

	body .oml-announce-bar {
		margin-top: 60px;
		font-size: 10px !important;
		letter-spacing: 0.10em;
	}

	body .oml-mobile-menu:not(.open) {
		left: -100% !important;
	}

	body .oml-hero-title,
	body .oml-baby-title,
	body .oml-tunnel-title {
		font-size: clamp(1.4rem, 6vw, 1.9rem) !important;
	}
	body .oml-hero-subtitle,
	body .oml-baby-subtitle {
		font-size: 0.85rem !important;
	}
	body .oml-site-footer .oml-footer-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
	body .oml-site-footer .oml-footer-bottom {
		flex-direction: column;
		gap: 0.5rem;
		text-align: center;
	}
}