/**
 * Charte graphique « Fier d'être Altiligérien » – tout le site.
 * Design system Figma « Boutique » : tokens, composants, header et footer.
 *
 * Chargé sur toutes les pages publiques. Les sélecteurs sont préfixés par .fda-site
 * (classe ajoutée au <body> par le mu-plugin fda-charte). Aucune règle ne cible les
 * formulaires de paiement : apparence uniquement.
 * Mobile-first : valeurs mobiles par défaut, valeurs desktop à partir de 1024px.
 */
/* ==========================================================================
   Tokens du design system
   ========================================================================== */

.fda-site {
	/* Couleurs – Foundation */
	--fda-white-500: #ffffff;
	--fda-green-500: #008974;
	--fda-green-700: #006152;
	--fda-noir-500: #1a1515;
	--fda-noir-300: #666262;
	--fda-noir-50: #e8e8e8;
	--fda-black-500: #222222;
	--fda-overlay-hero: rgb(0 0 0 / 0.5);
	--fda-overlay-card: rgb(0 0 0 / 0.3);
	--fda-shadow-text: 0 4px 4px rgb(0 0 0 / 0.25);

	/* Espacements – multiples de 4 */
	--fda-x1: 4px;
	--fda-x2: 8px;
	--fda-x3: 12px;
	--fda-x4: 16px;
	--fda-x6: 24px;
	--fda-x8: 32px;
	--fda-x12: 48px;
	--fda-x16: 64px;
	--fda-x24: 96px;
	--fda-x32: 128px;

	/* Typographie */
	--fda-font-title: "all-round-gothic", "Montserrat", sans-serif;
	--fda-font-body: "Montserrat", sans-serif;
	--fda-fs-h1: 44px;
	--fda-fs-h2: 40px;
	--fda-fs-h3: 20px;
	--fda-fs-body: 16px;
	--fda-fs-button: 18px;
	--fda-fs-caption: 14px;

	/* Composants */
	--fda-radius-pill: var(--fda-x16);
	--fda-radius-card: var(--fda-x6);
	--fda-radius-field: var(--fda-x3);
	--fda-radius-button: var(--fda-x1);
	--fda-btn-padding: var(--fda-x3) var(--fda-x6);
	--fda-section-padding: var(--fda-x12);
	--fda-header-height: 96px;
	--fda-transition: 0.2s ease;
}

@media (min-width: 1024px) {
	.fda-site {
		--fda-fs-h1: 72px;
		--fda-fs-h2: 60px;
		--fda-fs-h3: 32px;
		--fda-fs-body: 18px;
		--fda-btn-padding: var(--fda-x4) var(--fda-x8);
		--fda-section-padding: var(--fda-x24) var(--fda-x32);
		--fda-header-height: 104px;
	}
}

/* ==========================================================================
   Base des composants de la charte (header, footer, sections fda-*).
   Limitée à ces composants pour ne pas modifier le contenu Avada existant.
   ========================================================================== */

.fda-site :where(.fda-header, .fda-footer, .fda-main),
.fda-site :where(.fda-header, .fda-footer, .fda-main) *,
.fda-site :where(.fda-header, .fda-footer, .fda-main) *::before,
.fda-site :where(.fda-header, .fda-footer, .fda-main) *::after {
	box-sizing: border-box;
}

/* Base typographique propre au header et au footer : ne dépend pas des styles du <body>,
   qui diffèrent entre l'accueil et les pages Avada (espacement des lettres, interligne,
   taille de base hérités d'Avada). */
.fda-site :is(.fda-header, .fda-footer) {
	font-family: var(--fda-font-body);
	font-size: 16px;
	font-weight: 500;
	line-height: normal;
	letter-spacing: 0;
}

.fda-site :where(.fda-header, .fda-footer) :where(a, p, li, span, address, button) {
	letter-spacing: 0;
}

.fda-site :where(.fda-header, .fda-footer, .fda-main) img {
	display: block;
	max-width: 100%;
	height: auto;
}

/* Icônes : le SVG sert de masque, la couleur suit le texte (currentColor) */
.fda-site .fda-icon {
	display: inline-block;
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	background-color: currentColor;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	mask-size: contain;
}

.fda-site .fda-icon--search {
	width: 34px;
	height: 34px;
	-webkit-mask-image: url("../img/search.svg");
	mask-image: url("../img/search.svg");
}

.fda-site .fda-icon--cart {
	-webkit-mask-image: url("../img/cart.svg");
	mask-image: url("../img/cart.svg");
}

.fda-site .fda-icon--person {
	-webkit-mask-image: url("../img/person.svg");
	mask-image: url("../img/person.svg");
}

.fda-site .fda-icon--call {
	-webkit-mask-image: url("../img/call.svg");
	mask-image: url("../img/call.svg");
}

.fda-site .fda-icon--mail {
	-webkit-mask-image: url("../img/mail.svg");
	mask-image: url("../img/mail.svg");
}

.fda-site .fda-icon--euro {
	-webkit-mask-image: url("../img/euro.svg");
	mask-image: url("../img/euro.svg");
}

.fda-site .fda-icon--calendar {
	-webkit-mask-image: url("../img/calendar.svg");
	mask-image: url("../img/calendar.svg");
}

.fda-site .fda-icon--truck {
	-webkit-mask-image: url("../img/truck.svg");
	mask-image: url("../img/truck.svg");
}

/* Mot jamais coupé en fin de ligne (« t-shirt », voir fda_nowrap()) */
.fda-site .fda-nowrap {
	white-space: nowrap;
}

.fda-site .fda-icon--facebook {
	-webkit-mask-image: url("../img/facebook.svg");
	mask-image: url("../img/facebook.svg");
}

.fda-site .fda-icon--youtube {
	-webkit-mask-image: url("../img/youtube.svg");
	mask-image: url("../img/youtube.svg");
}

.fda-site .fda-icon--instagram {
	-webkit-mask-image: url("../img/instagram.svg");
	mask-image: url("../img/instagram.svg");
}

.fda-site .fda-title {
	margin: 0;
	font-family: var(--fda-font-title);
	font-weight: 700;
	font-style: normal;
	line-height: normal;
	letter-spacing: 0;
	text-transform: none;
	color: inherit;
}

.fda-site .fda-text {
	margin: 0;
	font-family: var(--fda-font-body);
	font-size: var(--fda-fs-body);
	font-weight: 500;
	line-height: normal;
	color: inherit;
}

.fda-site .fda-text a {
	color: inherit;
	text-decoration: underline;
	text-underline-position: from-font;
}

.fda-site .fda-visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.fda-site .fda-skip-link {
	position: absolute;
	top: -100px;
	left: var(--fda-x4);
	z-index: 9100; /* au-dessus du header fixe */
	padding: var(--fda-x3) var(--fda-x4);
	background: var(--fda-noir-500);
	color: var(--fda-white-500);
	font-weight: 700;
	text-decoration: none;
}

.fda-site .fda-skip-link:focus {
	top: var(--fda-x4);
}

.fda-site :focus-visible {
	outline: 3px solid var(--fda-green-500);
	outline-offset: 3px;
}

/* Bouton pilule (composant « Boutton Desktop ») */
/* position: relative : contient les textes .fda-visually-hidden (position absolue) ;
   sans cela, ceux des cartes du slider élargissaient la page en mobile. */
.fda-site .fda-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: var(--fda-btn-padding);
	border: 0;
	border-radius: var(--fda-radius-pill);
	background: var(--fda-green-500);
	color: var(--fda-white-500);
	font-family: var(--fda-font-body);
	font-size: var(--fda-fs-button);
	font-weight: 700;
	line-height: normal;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color var(--fda-transition), color var(--fda-transition);
}

.fda-site .fda-btn:hover,
.fda-site .fda-btn:focus-visible {
	background: var(--fda-green-700);
	color: var(--fda-white-500);
}

.fda-site .fda-btn--light {
	background: var(--fda-white-500);
	color: var(--fda-green-500);
}

.fda-site .fda-btn--light:hover,
.fda-site .fda-btn--light:focus-visible {
	background: var(--fda-noir-50);
	color: var(--fda-green-700);
}

/* En-tête de section (titre H2 + accroche) */
.fda-site .fda-section-head {
	display: flex;
	flex-direction: column;
	gap: var(--fda-x4);
	width: 100%;
}

.fda-site .fda-section-head .fda-title {
	font-size: var(--fda-fs-h2);
}

@media (prefers-reduced-motion: reduce) {
	.fda-site :where(.fda-header, .fda-footer, .fda-main) *,
	.fda-site :where(.fda-header, .fda-footer, .fda-main) *::before,
	.fda-site :where(.fda-header, .fda-footer, .fda-main) *::after,
	.fda-site .fda-header {
		transition: none !important;
		animation: none !important;
	}
}

/* ==========================================================================
   Header (Figma 2:26 desktop / 2:28 mobile)
   ========================================================================== */

/* Header fixe : masqué (glisse vers le haut) en scrollant vers le bas au-delà de 20vh,
   réaffiché (glisse vers le bas) dès que l'on remonte. Classes posées par accueil.js. */
body.fda-site {
	padding-top: var(--fda-header-height);
}

.fda-site .fda-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	/* Au-dessus des conteneurs Fusion (z-index 2000 sur certaines pages, ex. FAQ),
	   sous les popups et visionneuses (MailPoet, lightbox). */
	z-index: 9000;
	margin: 0;
	background: var(--fda-white-500);
	transition: transform 0.35s ease, box-shadow var(--fda-transition);
}

/* Sous la barre d'administration uniquement quand elle est affichée (body.admin-bar) */
.fda-site.admin-bar .fda-header {
	top: var(--wp-admin--admin-bar--height, 32px);
}

/* Prolongement blanc au-dessus du header : si un décalage apparaît en haut d'écran
   (zoom, mise à l'échelle de l'écran, extension du navigateur…), le contenu ne se voit
   pas défiler entre le haut de la fenêtre et le header. */
.fda-site .fda-header::before {
	content: "";
	position: absolute;
	bottom: 100%;
	left: 0;
	right: 0;
	height: 64px;
	background: inherit;
	pointer-events: none;
}

/* Logo : légère pression au clic / toucher (retour visuel sur mobile) */
.fda-site :is(.fda-header__logo, .fda-footer__logo) {
	transition: transform 0.15s ease, opacity 0.15s ease;
	-webkit-tap-highlight-color: transparent;
}

.fda-site :is(.fda-header__logo, .fda-footer__logo):active,
.fda-site :is(.fda-header__logo, .fda-footer__logo).is-pressed {
	transform: scale(0.95);
	opacity: 0.8;
}

.fda-site .fda-header.is-scrolled {
	box-shadow: 0 4px 16px rgb(0 0 0 / 0.08);
}

.fda-site .fda-header.is-hidden {
	transform: translateY(calc(-100% - var(--wp-admin--admin-bar--height, 0px)));
	box-shadow: none;
}

/* --------------------------------------------------------------------------
   Bandeau Black Friday défilant (parts/black-friday-bandeau.php), en haut du
   header : il suit le header (masqué en descendant, réaffiché en remontant).
   -------------------------------------------------------------------------- */

.fda-site {
	--fda-bandeau-height: 40px;
}

body.fda-site.fda-has-promo {
	padding-top: calc(var(--fda-header-height) + var(--fda-bandeau-height));
}

/* Panneaux du header (recherche, menu mobile) : tenir sous le header + bandeau */
.fda-site.fda-has-promo .fda-header__panel {
	max-height: calc(100vh - var(--fda-header-height) - var(--fda-bandeau-height));
}

.fda-site .fda-bandeau {
	display: flex;
	align-items: center;
	height: var(--fda-bandeau-height);
	overflow: hidden;
	background: var(--fda-green-500);
	color: var(--fda-white-500);
	font-family: var(--fda-font-body);
	font-size: var(--fda-fs-caption);
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color var(--fda-transition);
}

.fda-site .fda-bandeau:hover,
.fda-site .fda-bandeau:focus-visible {
	background: var(--fda-green-700);
	color: var(--fda-white-500);
}

.fda-site .fda-bandeau:focus-visible {
	outline-color: var(--fda-white-500);
	outline-offset: -3px;
}

.fda-site .fda-bandeau[hidden] {
	display: none;
}

.fda-site .fda-bandeau__track {
	display: flex;
	width: max-content;
	animation: fda-bandeau-scroll 40s linear infinite;
}

/* Pause au survol et au focus clavier, pour pouvoir lire le code */
.fda-site .fda-bandeau:hover .fda-bandeau__track,
.fda-site .fda-bandeau:focus-visible .fda-bandeau__track {
	animation-play-state: paused;
}

.fda-site .fda-bandeau__group,
.fda-site .fda-bandeau__item {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.fda-site .fda-bandeau__item {
	gap: var(--fda-x6);
	padding-right: var(--fda-x6);
}

.fda-site .fda-bandeau__code {
	letter-spacing: 0.06em;
}

.fda-site .fda-bandeau__sep {
	opacity: 0.6;
}

@keyframes fda-bandeau-scroll {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

/* Mouvement réduit : le bandeau reste fixe (l'animation est coupée plus haut) ;
   on n'affiche que le premier message, centré. */
@media (prefers-reduced-motion: reduce) {
	.fda-site .fda-bandeau {
		justify-content: center;
	}

	.fda-site .fda-bandeau__group[aria-hidden],
	.fda-site .fda-bandeau__item + .fda-bandeau__item,
	.fda-site .fda-bandeau__item > .fda-bandeau__sep:last-child {
		display: none;
	}
}

.fda-site .fda-header__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--fda-header-height);
	padding: 0 var(--fda-x8);
}

.fda-site .fda-header__logo {
	display: flex;
	align-items: center;
}

.fda-site .fda-header__logo-img {
	width: 190px;
	height: auto;
}

.fda-site .fda-icon-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	background: none;
	color: var(--fda-black-500);
	cursor: pointer;
	transition: color var(--fda-transition);
}

.fda-site .fda-icon-btn:focus-visible,
.fda-site .fda-icon-btn[aria-expanded="true"]:not(.fda-header__burger) {
	color: var(--fda-green-500);
}

/* Survol réservé aux appareils avec souris : sur écran tactile, :hover reste
   « collé » après un toucher et l'icône resterait verte. */
@media (hover: hover) {
	.fda-site .fda-icon-btn:hover {
		color: var(--fda-green-500);
	}
}

/* Zone de clic du burger : 56×56 (au-delà des 48px recommandés pour le tactile),
   l'icône restant alignée sur la marge du header (marge négative). */
.fda-site .fda-header__burger {
	width: 56px;
	height: 56px;
	margin-right: -14px;
	border-radius: 50%;
	-webkit-tap-highlight-color: transparent;
}

.fda-site .fda-header__burger:active {
	background: var(--fda-noir-50);
}

/* Burger : 3 barres (28×24, un peu plus grand que la maquette) qui se transforment en croix à l'ouverture */
.fda-site .fda-burger {
	position: relative;
	display: block;
	width: 28px;
	height: 24px;
}

.fda-site .fda-burger__line {
	position: absolute;
	left: 4px;
	width: 20px;
	height: 2.5px;
	border-radius: 2px;
	background-color: currentColor;
	transition: transform 0.25s ease, opacity 0.2s ease;
}

.fda-site .fda-burger__line:nth-child(1) {
	top: 5px;
}

.fda-site .fda-burger__line:nth-child(2) {
	top: 11px;
}

.fda-site .fda-burger__line:nth-child(3) {
	top: 17px;
}

.fda-site .fda-header__burger[aria-expanded="true"] .fda-burger__line:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.fda-site .fda-header__burger[aria-expanded="true"] .fda-burger__line:nth-child(2) {
	opacity: 0;
}

.fda-site .fda-header__burger[aria-expanded="true"] .fda-burger__line:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

.fda-site .fda-nav,
.fda-site .fda-header__icons {
	display: none;
}

.fda-site .fda-header__badge {
	position: absolute;
	top: -8px;
	right: -10px;
	min-width: 18px;
	height: 18px;
	padding: 0 var(--fda-x1);
	border-radius: var(--fda-x2);
	background: var(--fda-green-500);
	color: var(--fda-white-500);
	font-size: 11px;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
}

/* Panneaux dépliables : recherche + menu mobile */
.fda-site .fda-header__panel {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	max-height: calc(100vh - var(--fda-header-height));
	overflow-y: auto;
	padding: var(--fda-x6) var(--fda-x8);
	background: var(--fda-white-500);
	border-top: 1px solid var(--fda-noir-50);
	box-shadow: 0 12px 24px rgb(0 0 0 / 0.1);
}

.fda-site .fda-header__panel[hidden] {
	display: none;
}

.fda-site .fda-drawer__list {
	display: flex;
	flex-direction: column;
	gap: var(--fda-x4);
	margin: 0 0 var(--fda-x6);
	padding: 0;
	list-style: none;
}

.fda-site .fda-drawer__list a {
	color: var(--fda-noir-500);
	font-size: 18px;
	font-weight: 700;
	text-decoration: none;
}

.fda-site .fda-drawer__list .current-menu-item > a {
	color: var(--fda-green-500);
}

.fda-site .fda-search__form {
	display: flex;
	flex-wrap: wrap;
	gap: var(--fda-x3);
	max-width: 702px;
	margin: 0 auto;
}

.fda-site .fda-search__input {
	flex: 1 1 200px;
	min-width: 0;
	height: auto;
	margin: 0;
	padding: var(--fda-x3) var(--fda-x4);
	border: 1px solid var(--fda-noir-300);
	border-radius: var(--fda-radius-field);
	background: var(--fda-white-500);
	color: var(--fda-noir-500);
	font-family: var(--fda-font-body);
	font-size: 16px;
	font-weight: 500;
}

@media (min-width: 1024px) {
	.fda-site .fda-header__bar {
		padding: 0 var(--fda-x16);
	}

	.fda-site .fda-header__logo {
		padding: var(--fda-x6) var(--fda-x3);
	}

	.fda-site .fda-header__logo-img {
		width: 226px;
	}

	.fda-site .fda-header__burger,
	.fda-site .fda-drawer {
		display: none;
	}

	/* La nav occupe toute la hauteur du header : le survol de « Nos produits »
	   reste actif jusqu'au méga-menu, collé sous le header. */
	.fda-site .fda-nav {
		display: flex;
		align-items: center;
		align-self: stretch;
		gap: var(--fda-x12);
		padding: 0 10px;
	}

	.fda-site .fda-nav__list {
		display: flex;
		align-self: stretch;
		gap: var(--fda-x12);
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.fda-site .fda-nav__list > li {
		display: flex;
		align-items: center;
	}

	.fda-site .fda-nav__list > li > a {
		display: inline-flex;
		align-items: center;
		gap: var(--fda-x1);
		color: #000000;
		font-family: var(--fda-font-body);
		font-size: 16px;
		font-weight: 700;
		line-height: normal;
		text-decoration: none;
		white-space: nowrap;
		transition: color var(--fda-transition);
	}

	.fda-site .fda-nav__list > li > a:hover,
	.fda-site .fda-nav__list > li > a:focus-visible,
	.fda-site .fda-nav__list > .fda-has-mega:hover > a {
		color: var(--fda-green-500);
	}

	/* color: inherit car un style global (Avada) donne une couleur propre aux a::after */
	.fda-site .fda-nav__list > .menu-item-has-children > a::after {
		content: "";
		color: inherit;
		width: 24px;
		height: 24px;
		background-color: currentColor;
		-webkit-mask: url("../img/chevron.svg") center / contain no-repeat;
		mask: url("../img/chevron.svg") center / contain no-repeat;
		transition: transform var(--fda-transition);
	}

	.fda-site .fda-nav__list > .menu-item-has-children:hover > a::after,
	.fda-site .fda-nav__list > .menu-item-has-children:focus-within > a::after {
		transform: rotate(180deg);
	}

	.fda-site .fda-header__icons {
		display: flex;
		align-items: center;
		gap: 28px;
	}

	.fda-site .fda-header__panel {
		padding: var(--fda-x6) var(--fda-x16);
	}

	/* ----- Méga-menu « Nos produits » (reprise de l'ancien méga-menu Avada) ----- */

	.fda-site .fda-mega {
		position: absolute;
		top: 100%;
		left: 50%;
		width: min(1184px, 100% - var(--fda-x16) * 2);
		padding: var(--fda-x8);
		border-top: 1px solid var(--fda-noir-50);
		border-radius: 0 0 var(--fda-radius-card) var(--fda-radius-card);
		background: var(--fda-white-500);
		box-shadow: 0 24px 48px rgb(0 0 0 / 0.12);
		opacity: 0;
		visibility: hidden;
		transform: translate(-50%, calc(var(--fda-x2) * -1));
		/* fermeture légèrement différée pour laisser le temps de rejoindre le panneau */
		transition: opacity var(--fda-transition), transform var(--fda-transition), visibility 0s linear 0.2s;
	}

	.fda-site .fda-has-mega:hover > .fda-mega,
	.fda-site .fda-has-mega:focus-within > .fda-mega {
		opacity: 1;
		visibility: visible;
		transform: translate(-50%, 0);
		transition: opacity var(--fda-transition), transform var(--fda-transition), visibility 0s;
	}

	/* Fermé après un clic sur un lien interne (ex. bouton BIENVENUE10 → #newsletter) */
	.fda-site .fda-has-mega.is-closed > .fda-mega {
		opacity: 0;
		visibility: hidden;
		transition: none;
	}

	.fda-site .fda-nav__list > .fda-has-mega.is-closed > a::after {
		transform: none;
	}

	.fda-site .fda-mega__grid {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: var(--fda-x8);
		align-items: start;
	}

	.fda-site .fda-mega__card {
		display: flex;
		flex-direction: column;
		overflow: hidden;
		border-radius: var(--fda-radius-card);
		background: var(--fda-green-700);
		color: var(--fda-white-500);
		text-decoration: none;
	}

	.fda-site .fda-mega__card .fda-mega__img {
		width: 100%;
		/* Carré comme l'ancien méga-menu : la photo « sweat » contient des bandes blanches latérales */
		aspect-ratio: 1 / 1;
		object-fit: cover;
		transition: transform 0.4s ease;
	}

	.fda-site .fda-mega__card:hover .fda-mega__img,
	.fda-site .fda-mega__card:focus-visible .fda-mega__img {
		transform: scale(1.04);
	}

	.fda-site .fda-mega__card-body {
		position: relative;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: var(--fda-x4);
		padding: var(--fda-x6) var(--fda-x4);
		background: var(--fda-green-700);
		text-align: center;
	}

	.fda-site .fda-mega__card-title {
		font-size: 24px;
		color: var(--fda-white-500);
	}

	.fda-site .fda-mega__card .fda-mega__card-btn {
		padding: var(--fda-x3) var(--fda-x6);
		font-size: 16px;
	}

	.fda-site .fda-mega__card:hover .fda-mega__card-btn,
	.fda-site .fda-mega__card:focus-visible .fda-mega__card-btn {
		background: var(--fda-noir-50);
		color: var(--fda-green-700);
	}

	.fda-site .fda-mega__col {
		display: flex;
		flex-direction: column;
		gap: var(--fda-x6);
		padding-top: var(--fda-x2);
	}

	.fda-site .fda-mega__col-title {
		font-size: 24px;
		color: var(--fda-noir-500);
	}

	/* Intitulé cliquable : mène à la boutique de la catégorie */
	.fda-site .fda-mega__col-title a {
		color: inherit;
		text-decoration: none;
		transition: color var(--fda-transition);
	}

	.fda-site .fda-mega__col-title a:hover,
	.fda-site .fda-mega__col-title a:focus-visible {
		color: var(--fda-green-500);
	}

	.fda-site .fda-mega__links {
		display: flex;
		flex-direction: column;
		gap: var(--fda-x4);
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.fda-site .fda-mega__links a {
		color: var(--fda-noir-500);
		font-family: var(--fda-font-body);
		font-size: 16px;
		font-weight: 500;
		text-decoration: none;
		transition: color var(--fda-transition);
	}

	.fda-site .fda-mega__links a:hover,
	.fda-site .fda-mega__links a:focus-visible {
		color: var(--fda-green-500);
	}

	.fda-site .fda-mega__promo {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: var(--fda-x6);
		margin-top: var(--fda-x8);
		padding: var(--fda-x4) var(--fda-x4) var(--fda-x4) var(--fda-x6);
		border-radius: var(--fda-radius-field);
		background: var(--fda-noir-50);
	}

	.fda-site .fda-mega__promo-text {
		font-size: 16px;
		font-weight: 700;
	}

	.fda-site .fda-mega .fda-mega__promo-btn {
		padding: var(--fda-x3) var(--fda-x6);
		font-size: 16px;
	}
}

/* Grands écrans : header aligné sur les marges des sections (128px) */
@media (min-width: 1280px) {
	.fda-site .fda-header__bar {
		padding: 0 var(--fda-x32);
	}
}

/* ==========================================================================
   Footer (Figma 4:451 desktop / 4:453 mobile)
   ========================================================================== */

/* Ombre portée vers le haut, symétrique de celle du header au scroll ; position relative
   pour qu'elle passe au-dessus du bas du contenu qui précède. */
.fda-site .fda-footer {
	position: relative;
	z-index: 1;
	box-shadow: 0 -4px 16px rgb(0 0 0 / 0.08);
	background: var(--fda-white-500);
	color: #000000;
	font-family: var(--fda-font-body);
	font-size: var(--fda-fs-body);
}

.fda-site .fda-footer__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--fda-x6);
	padding: var(--fda-x4) var(--fda-x12) var(--fda-x12);
}

.fda-site .fda-footer__brand {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 30px;
	width: 100%;
}

.fda-site .fda-footer__logo {
	display: flex;
	align-items: center;
	height: 80px;
	padding: var(--fda-x6) var(--fda-x3);
}

.fda-site .fda-footer__logo-img {
	width: 226px;
}

.fda-site .fda-footer__address {
	width: 100%;
	font-style: normal;
	font-weight: 500;
	line-height: 24px;
}

.fda-site .fda-footer__address strong {
	font-weight: 700;
}

.fda-site .fda-footer__col {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--fda-x4);
}

/* La maquette mobile ne reprend pas la navigation (accessible via le burger) */
.fda-site .fda-footer__nav {
	display: none;
}

.fda-site .fda-footer__title {
	font-size: var(--fda-fs-h3);
	color: #000000;
}

.fda-site .fda-footer__list {
	display: flex;
	flex-direction: column;
	gap: var(--fda-x4);
	margin: 0;
	padding: 0;
	list-style: none;
}

.fda-site .fda-footer__list a {
	color: #000000;
	font-weight: 400;
	line-height: var(--fda-x6);
	text-decoration: none;
}

.fda-site .fda-footer__list a:hover,
.fda-site .fda-footer__list a:focus-visible {
	color: var(--fda-green-500);
}

.fda-site .fda-footer__contact li {
	display: flex;
	align-items: flex-start;
	gap: var(--fda-x3);
}

.fda-site .fda-footer__contact a {
	font-weight: 500;
	overflow-wrap: anywhere;
}

.fda-site .fda-footer__social {
	display: flex;
	gap: var(--fda-x4);
	margin: var(--fda-x2) 0 0;
	padding: 0;
	list-style: none;
}

/* Note de l'astérisque « Livraison sous 3 à 5 jours* » */
.fda-site .fda-footer__note {
	margin: 0;
	padding: 0 var(--fda-x6) var(--fda-x4);
	color: var(--fda-noir-300);
	font-size: 13px;
	text-align: center;
	scroll-margin-top: var(--fda-header-height);
}

.fda-site .fda-footer__note a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.fda-site .fda-footer__note a:hover,
.fda-site .fda-footer__note a:focus-visible {
	color: var(--fda-green-500);
}

.fda-site .fda-footer__legal {
	padding: var(--fda-x4) var(--fda-x6);
	border-top: 1px solid var(--fda-noir-50);
}

.fda-site .fda-footer__legal-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--fda-x2) var(--fda-x6);
	margin: 0;
	padding: 0;
	list-style: none;
}

.fda-site .fda-footer__legal-list a {
	color: var(--fda-noir-300);
	font-size: var(--fda-fs-caption);
	text-decoration: none;
}

.fda-site .fda-footer__legal-list a:hover,
.fda-site .fda-footer__legal-list a:focus-visible {
	color: var(--fda-noir-500);
	text-decoration: underline;
}

@media (min-width: 1024px) {
	.fda-site .fda-footer__inner {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: var(--fda-x16);
		max-width: 1440px;
		margin: 0 auto;
		padding: var(--fda-x16) var(--fda-x24);
	}

	.fda-site .fda-footer__brand {
		align-items: flex-start;
		width: 284px;
	}

	.fda-site .fda-footer__address {
		white-space: nowrap;
	}

	.fda-site .fda-footer__nav {
		display: flex;
		width: 203px;
	}

	.fda-site .fda-footer__col {
		gap: var(--fda-x8);
		align-self: flex-start;
	}

	.fda-site .fda-footer__col:last-child {
		width: 340px;
	}

	.fda-site .fda-footer__list a {
		font-size: 18px;
	}

	.fda-site .fda-footer__list .fda-footer__mail {
		text-decoration: underline;
		text-underline-position: from-font;
	}
}

/* ==========================================================================
   Popup newsletter MailPoet (toutes les pages) : même habillage que la section
   newsletter de l'accueil. MailPoet écrit ses styles en attributs style="" :
   les !important sont limités à la popup. Le formulaire et son envoi ne changent pas.
   ========================================================================== */

.fda-site .mailpoet_form_popup {
	overflow: hidden;
	border-radius: var(--fda-radius-card) !important;
	background: var(--fda-noir-50) !important;
}

.fda-site .mailpoet_form_popup form.mailpoet_form {
	display: flex;
	flex-direction: column;
	gap: var(--fda-x4);
}

.fda-site .mailpoet_form_popup .mailpoet-heading {
	margin: 0 !important;
	color: var(--fda-noir-500) !important;
	font-family: var(--fda-font-title) !important;
	font-size: 64px !important;
	font-weight: 700;
	line-height: 1.1 !important;
	text-align: center !important;
}

.fda-site .mailpoet_form_popup .mailpoet-heading + .mailpoet-heading {
	margin-top: calc(var(--fda-x2) - var(--fda-x4)) !important;
	font-size: var(--fda-fs-h3) !important;
}

.fda-site .mailpoet_form_popup .mailpoet-heading + .mailpoet_form_paragraph {
	margin-top: var(--fda-x2);
}

.fda-site .mailpoet_form_popup :is(.mailpoet-heading, .mailpoet_form_paragraph) :is(.mailpoet-has-font, strong) {
	font-family: inherit !important;
	font-weight: inherit;
}

.fda-site .mailpoet_form_popup .mailpoet_form_paragraph {
	margin: 0;
	color: var(--fda-noir-500) !important;
	font-family: var(--fda-font-body);
	font-size: 16px !important;
	font-weight: 700;
	line-height: normal !important;
	text-align: center !important;
}

.fda-site .mailpoet_form_popup .mailpoet_paragraph + .mailpoet_form_paragraph {
	font-size: var(--fda-fs-caption) !important;
	font-weight: 500;
}

.fda-site .mailpoet_form_popup .mailpoet_paragraph {
	margin: 0;
}

/* Rayons portés par le conteneur (MailPoet impose border-radius en style="… !important") */
.fda-site .mailpoet_form_popup .mailpoet_paragraph:has(.mailpoet_text) {
	overflow: hidden;
	border-radius: var(--fda-radius-field);
}

.fda-site .mailpoet_form_popup .mailpoet_paragraph:has(.mailpoet_submit) {
	overflow: hidden;
	border-radius: var(--fda-radius-button);
}

.fda-site .mailpoet_form_popup .mailpoet_text {
	padding: var(--fda-x4) !important;
	border: 0 !important;
	background: var(--fda-white-500) !important;
	font-family: var(--fda-font-body) !important;
	font-size: 16px !important;
	font-weight: 500;
	line-height: normal !important;
}

.fda-site .mailpoet_form_popup .mailpoet_submit {
	padding: var(--fda-x4) var(--fda-x3) !important;
	border: 0 !important;
	background: var(--fda-noir-500) !important;
	color: var(--fda-white-500) !important;
	font-family: var(--fda-font-body) !important;
	font-size: var(--fda-fs-button) !important;
	font-weight: 700 !important;
	line-height: normal !important;
	cursor: pointer;
}

.fda-site .mailpoet_form_popup .mailpoet_submit:hover,
.fda-site .mailpoet_form_popup .mailpoet_submit:focus-visible {
	background: var(--fda-green-700) !important;
}

/* Popup MailPoet sur mobile : MailPoet limite sa hauteur à 100vh - 60px, mesure qui inclut
   la zone de la barre d'adresse ; la popup dépassait de la partie visible et son bas était
   coupé. Hauteur limitée à la zone réellement visible (dvh) et contenu plus compact. */
@media (max-width: 640px) {
	/* MailPoet affiche en mobile un panneau collé en bas (top calculé, bottom: 0) :
	   recentré et limité à la zone réellement visible, défilement interne si besoin. */
	/* #mp_form_popup1 : MailPoet impose sa largeur mobile avec une règle sur l'identifiant
	   du formulaire (popup « Remise de bienvenue », formulaire 1). */
	.fda-site div.mailpoet_form_popup,
	.fda-site #mp_form_popup1 {
		top: 50% !important;
		bottom: auto !important;
		left: 50% !important;
		right: auto !important;
		transform: translate(-50%, -50%) !important;
		width: calc(100% - 32px) !important;
		min-width: 0 !important;
		max-width: 420px !important;
		height: auto !important;
		max-height: calc(100vh - 32px) !important;
		max-height: calc(100dvh - 32px) !important;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		animation: fda-popup-in 0.3s ease !important;
	}

	@keyframes fda-popup-in {
		from {
			opacity: 0;
		}

		to {
			opacity: 1;
		}
	}

	.fda-site .mailpoet_form_popup form.mailpoet_form {
		gap: var(--fda-x3);
		padding: var(--fda-x8) var(--fda-x6) !important;
	}

	.fda-site .mailpoet_form_popup .mailpoet-heading {
		font-size: 48px !important;
	}

	.fda-site .mailpoet_form_popup .mailpoet_text,
	.fda-site .mailpoet_form_popup .mailpoet_submit {
		padding-top: var(--fda-x3) !important;
		padding-bottom: var(--fda-x3) !important;
	}
}

/* ==========================================================================
   Bandeau des garanties (parts/garanties.php) : fiches produits et accueil.
   Reprend le bandeau Avada d'origine : fond vert, icônes cerclées de blanc.
   ========================================================================== */

.fda-site .fda-garanties {
	box-sizing: border-box;
	width: 100%;
	padding: var(--fda-x16) var(--fda-x6);
	background: var(--fda-green-700);
	color: var(--fda-white-500);
}

/* Pages Avada (fiche produit) : le contenu a une marge latérale ; comme les conteneurs
   Fusion pleine largeur, le bandeau la compense pour aller d'un bord à l'autre. */
.fda-site .width-100 .fda-garanties {
	width: auto;
	margin-right: var(--hundredp_padding-hundred_percent_negative_margin, 0);
	margin-left: var(--hundredp_padding-hundred_percent_negative_margin, 0);
}

.fda-site .fda-garanties *,
.fda-site .fda-garanties *::before,
.fda-site .fda-garanties *::after {
	box-sizing: border-box;
}

.fda-site .fda-garanties__list {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--fda-x12);
	max-width: 1216px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}

.fda-site .fda-garanties__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--fda-x6);
	margin: 0;
	padding: 0;
	text-align: center;
}

.fda-site .fda-garanties__item::before {
	content: none; /* puces éventuelles du thème */
}

.fda-site .fda-garanties__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border: 2px solid var(--fda-white-500);
	border-radius: 50%;
}

.fda-site .fda-garanties__icon .fda-icon {
	width: 30px;
	height: 30px;
}

.fda-site .fda-garanties__title {
	margin: 0;
	color: var(--fda-white-500);
	font-size: 20px;
	line-height: 1.3;
}

.fda-site .fda-garanties__note {
	color: inherit;
	text-decoration: none;
}

.fda-site .fda-garanties__note:hover,
.fda-site .fda-garanties__note:focus-visible {
	text-decoration: underline;
}

@media (min-width: 768px) {
	.fda-site .fda-garanties__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: var(--fda-x8);
	}
}

@media (min-width: 1024px) {
	.fda-site .fda-garanties {
		padding: var(--fda-x16) var(--fda-x12);
	}

	.fda-site .fda-garanties__title {
		font-size: 22px;
	}
}
