/* Disfrais - Reskin du header (sans toucher à la structure du thème) */

:root {
	--df-cream: #F8F3EA;
	--df-dark: #211D18;
	--df-gold: #C9973E;
	--df-gold-dark: #AD7F2E;
	--df-text: #2B2925;
}

/* Une seule ligne de nav, plus aérée mais sans retour à la ligne intempestif */
.elementor-nav-menu--main,
nav .elementor-nav-menu {
	display: flex !important;
	flex-wrap: nowrap !important;
	align-items: center;
	gap: 4px;
}
.elementor-nav-menu--main .elementor-item,
nav .elementor-nav-menu .elementor-item {
	padding: 8px 14px !important;
	white-space: nowrap;
	font-size: 13px;
	letter-spacing: .03em;
}

/* "Espace Pro" (dernier lien du menu) devient un vrai bouton plein, comme sur
   le site modèle, au lieu d'un lien de texte perdu sur sa propre ligne. */
.elementor-nav-menu--main > li:last-child > .elementor-item,
nav .elementor-nav-menu > li:last-child > .elementor-item {
	background: var(--df-gold);
	color: var(--df-dark) !important;
	border-radius: 999px;
	padding: 9px 20px !important;
	font-weight: 700;
	margin-left: 6px;
	transition: background .15s ease;
}
.elementor-nav-menu--main > li:last-child > .elementor-item:hover,
nav .elementor-nav-menu > li:last-child > .elementor-item:hover {
	background: var(--df-gold-dark);
}

/* Icône panier : bloc doré trop massif -> juste l'icône, badge discret */
.elementor-menu-cart__toggle_button.elementor-button {
	background: transparent !important;
	border: none !important;
	color: var(--df-dark) !important;
	padding: 6px !important;
	margin-left: 10px !important;
	box-shadow: none !important;
	min-height: auto !important;
}
.elementor-menu-cart__toggle_button .elementor-button-icon {
	color: var(--df-dark);
}
.elementor-menu-cart__toggle_button .elementor-button-text {
	display: none;
}

/* --- Footer (template Elementor 442, chargé sur tout le site) ------------
   Le bloc "Les retours de nos clients" est le carrousel Trustpilot de
   démonstration du thème (faux avis en anglais, "Sarah Smith", 3 442 reviews) :
   masqué tant que la maison n'a pas d'avis réels à y mettre. */
.elementor-442 .elementor-element-880bba2,
.elementor-442 .elementor-element-a8d7612,
.elementor-442 .elementor-element-320d189 {
	display: none !important;
}

/* --- Header commun : calage sur la maquette A ---------------------------
   Template Elementor 22, section #57fe852, quatre colonnes :
   #f4070d8 carré doré avec icône fromage (masqué), #60301c5 logo rond,
   #36660e6 menu, #d9d925b icônes (favoris #bda914a masqué, compte #23cb0c8,
   recherche #5291839) + panier #f05f770.
   Le mot-marque "La Maison Disfrais" à côté du logo est ajouté par header.js. */
.elementor-22 .elementor-element-57fe852 {
	min-height: 76px !important;
	background: #FFFFFF !important;
	border-bottom: 1px solid rgba(0,0,0,.08);
}
.elementor-22 .elementor-element-57fe852 > .elementor-container {
	min-height: 76px !important;
	padding: 0 32px !important;
	max-width: 100% !important;
	align-items: center !important;
}
.elementor-22 .elementor-element-f4070d8,
.elementor-22 .elementor-element-bda914a {
	display: none !important;
}
.elementor-22 .elementor-element-57fe852 .elementor-column > .elementor-widget-wrap {
	padding: 0 !important;
	background: transparent !important;
	align-items: center !important;
}

/* Logo + mot-marque */
.elementor-22 .elementor-element-60301c5 {
	width: auto !important;
	flex: 0 0 auto !important;
}
.elementor-22 .elementor-element-65df217 .elementor-widget-container {
	display: flex;
	align-items: center;
	gap: 14px;
}
.elementor-22 .elementor-element-65df217 img {
	width: 54px !important;
	height: 54px !important;
	max-width: none !important;
}
.df-wordmark {
	display: flex;
	flex-direction: column;
	gap: 3px;
	white-space: nowrap;
	text-decoration: none;
}
.df-wordmark__name {
	font-family: 'Cormorant', Georgia, serif;
	font-size: 21px;
	font-weight: 700;
	letter-spacing: .06em;
	line-height: 1;
	color: var(--df-dark);
}
.df-wordmark__tag {
	font-size: 9px;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: #6B655A;
}

/* Menu : capitales noires, actif souligné d'or */
.elementor-22 .elementor-element-36660e6 {
	flex: 1 1 auto !important;
	width: auto !important;
}
.elementor-22 .elementor-element-36660e6 .elementor-nav-menu--main {
	justify-content: flex-end;
	gap: 2px;
}
.elementor-22 .elementor-nav-menu--main .elementor-item {
	padding: 8px 11px !important;
	font-size: 12px !important;
	font-weight: 500 !important;
	letter-spacing: .05em !important;
	text-transform: uppercase !important;
	color: var(--df-text) !important;
	border-bottom: 2px solid transparent;
	border-radius: 0;
	white-space: nowrap;
}
.elementor-22 .elementor-nav-menu--main .elementor-item:hover,
.elementor-22 .elementor-nav-menu--main .current-menu-item > .elementor-item,
.elementor-22 .elementor-nav-menu--main .current-menu-ancestor > .elementor-item,
.elementor-22 .elementor-nav-menu--main .elementor-item.elementor-item-active {
	color: var(--df-gold-dark) !important;
	font-weight: 700 !important;
	border-bottom-color: var(--df-gold);
	background: transparent !important;
}
/* Dernier élément = Espace Pro : pastille or (comme la maquette) */
.elementor-22 .elementor-nav-menu--main > li:last-child > .elementor-item {
	background: var(--df-gold) !important;
	color: var(--df-dark) !important;
	border-radius: 999px !important;
	padding: 10px 20px !important;
	font-weight: 700 !important;
	margin-left: 8px;
	border-bottom: none !important;
}
.elementor-22 .elementor-nav-menu--main > li:last-child > .elementor-item:hover,
.elementor-22 .elementor-nav-menu--main > li.current-menu-item:last-child > .elementor-item {
	background: var(--df-gold-dark) !important;
	color: #FFFFFF !important;
}

/* Icônes à droite : recherche, compte, panier */
.elementor-22 .elementor-element-d9d925b {
	flex: 0 0 auto !important;
	width: auto !important;
}
.elementor-22 .elementor-element-d9d925b > .elementor-widget-wrap {
	display: flex !important;
	flex-wrap: nowrap !important;
	gap: 2px;
	justify-content: flex-end !important;
}
.elementor-22 .elementor-element-d9d925b .elementor-widget-icon {
	width: 38px !important;
	margin: 0 !important;
}
.elementor-22 .elementor-element-d9d925b .elementor-widget-icon .elementor-icon {
	color: var(--df-dark) !important;
	fill: var(--df-dark) !important;
	font-size: 20px !important;
}
.elementor-22 .elementor-element-d9d925b .elementor-widget-icon svg {
	width: 20px;
	height: 20px;
}

/* Une seule rangée : les colonnes Elementor perdent leurs largeurs en
   pourcentage, seule celle du menu s'étire ; les <li> perdent leurs marges. */
.elementor-22 .elementor-element-57fe852 > .elementor-container {
	display: flex !important;
	flex-wrap: nowrap !important;
	gap: 20px;
}
.elementor-22 .elementor-element-57fe852 .elementor-column {
	width: auto !important;
	flex: 0 0 auto !important;
}
.elementor-22 .elementor-element-57fe852 .elementor-element-36660e6 {
	flex: 1 1 auto !important;
	min-width: 0;
}
.elementor-22 .elementor-element-36660e6 .elementor-nav-menu--main,
.elementor-22 .elementor-element-36660e6 .elementor-nav-menu--main > ul,
.elementor-22 .elementor-element-36660e6 ul.elementor-nav-menu {
	display: flex !important;
	flex-wrap: nowrap !important;
	align-items: center;
	justify-content: flex-end;
	gap: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}
.elementor-22 .elementor-element-36660e6 ul.elementor-nav-menu > li {
	margin: 0 !important;
	padding: 0 !important;
}
.elementor-22 .elementor-nav-menu--main .elementor-item {
	padding: 8px 9px !important;
	font-size: 11.5px !important;
	letter-spacing: .04em !important;
}
.elementor-22 .df-wordmark {
	display: flex !important;
	flex-direction: column !important;
	gap: 3px !important;
	line-height: 1 !important;
}
.elementor-22 .df-wordmark > span {
	display: block !important;
}
.elementor-22 .df-wordmark__name {
	color: var(--df-dark) !important;
}
.elementor-22 .elementor-element-f05f770 {
	width: auto !important;
	margin: 0 !important;
}

/* Panier : le bouton du thème ne rend que la pastille de compteur, l'icône
   elle-même ne s'affiche pas. On la dessine (même tracé que la maquette). */
.elementor-22 .elementor-menu-cart__toggle_button {
	display: inline-flex !important;
	align-items: center;
	gap: 6px;
	width: 38px;
	height: 38px;
	justify-content: center;
	position: relative;
}
.elementor-22 .elementor-menu-cart__toggle_button .elementor-button-icon {
	display: inline-block !important;
	width: 20px;
	height: 20px;
	background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23211D18' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><path d='M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'/><path d='M3 6h18'/><path d='M16 10a4 4 0 0 1-8 0'/></svg>") center / 20px 20px no-repeat;
	font-size: 0 !important;
}
.elementor-22 .elementor-menu-cart__toggle_button .elementor-button-icon-qty {
	position: absolute !important;
	top: 2px;
	right: 0;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	border-radius: 999px;
	background: var(--df-gold) !important;
	color: var(--df-dark) !important;
	font-size: 10px !important;
	font-weight: 700;
	line-height: 16px;
	text-align: center;
}

/* Alignement vertical propre entre logo, nav et icônes */
#sub-header,
.site-header,
header .elementor-container {
	display: flex;
	align-items: center;
}

/* --- Header mobile / tablette (section #969db9c du template 22) ----------
   Maquette mobile : barre blanche, hamburger à gauche, logo + mot-marque,
   panier à droite ; pas de carré doré ni de barre de recherche. */
@media (max-width: 1024px) {
	.elementor-22 .elementor-element-969db9c {
		background: #FFFFFF !important;
		min-height: 60px !important;
		border-bottom: 1px solid rgba(0,0,0,.08);
	}
	.elementor-22 .elementor-element-969db9c > .elementor-container {
		display: flex !important;
		flex-wrap: nowrap !important;
		align-items: center !important;
		min-height: 60px !important;
		padding: 0 12px !important;
		gap: 8px;
	}
	.elementor-22 .elementor-element-2247485,
	.elementor-22 .elementor-element-5c3e0cb {
		display: none !important;
	}
	.elementor-22 .elementor-element-969db9c .elementor-column {
		width: auto !important;
		flex: 0 0 auto !important;
		background: transparent !important;
	}
	.elementor-22 .elementor-element-969db9c .elementor-widget-wrap {
		padding: 0 !important;
		background: transparent !important;
		align-items: center !important;
	}
	/* Hamburger en premier */
	.elementor-22 .elementor-element-d71a508 { order: 1; }
	.elementor-22 .elementor-element-36f44bc { order: 2; flex: 1 1 auto !important; }
	.elementor-22 .elementor-element-2af3568 { order: 3; }
	.elementor-22 .elementor-element-6eae1d2 .elementor-menu-toggle {
		width: 40px !important;
		height: 40px !important;
		background: transparent !important;
		color: #211D18 !important;
		border: 0 !important;
		margin: 0 !important;
	}
	.elementor-22 .elementor-element-5b31413 .elementor-widget-container {
		display: flex;
		align-items: center;
		gap: 10px;
	}
	.elementor-22 .elementor-element-5b31413 img {
		width: 40px !important;
		height: 40px !important;
		max-width: none !important;
	}
	.elementor-22 .elementor-element-5b31413 .df-wordmark__name { font-size: 17px; }
	.elementor-22 .elementor-element-5b31413 .df-wordmark__tag { font-size: 8px; }
	.elementor-22 .elementor-element-2c973d7 .elementor-menu-cart__toggle_button {
		background: transparent !important;
		border: 0 !important;
		color: #211D18 !important;
		padding: 6px !important;
		min-height: 0 !important;
	}
	.elementor-22 .elementor-element-2c973d7 .elementor-button-text { display: none; }
	.elementor-22 .elementor-element-2c973d7 .elementor-button-icon-qty {
		background: #C9973E !important;
		color: #211D18 !important;
		border-radius: 999px;
		font-size: 10px !important;
		font-weight: 700;
	}
	/* Menu déroulant mobile : fond crème, libellés en capitales */
	.elementor-22 .elementor-nav-menu--dropdown.elementor-nav-menu__container {
		background: #FFFFFF !important;
		border-top: 1px solid rgba(0,0,0,.08);
	}
	.elementor-22 .elementor-nav-menu--dropdown a {
		padding: 14px 20px !important;
		font-size: 13px !important;
		letter-spacing: .05em !important;
		text-transform: uppercase !important;
		color: #2B2925 !important;
		border-bottom: 1px solid rgba(0,0,0,.05);
	}
}
@media (max-width: 1024px) {
	/* Sur mobile, seul le bouton hamburger reste : le menu horizontal est
	   celui du desktop (forcé visible plus haut pour la version large). */
	.elementor-22 .elementor-element-6eae1d2 .elementor-nav-menu--main,
	.elementor-22 .elementor-element-969db9c nav.elementor-nav-menu--main { display: none !important; }
	.elementor-22 .elementor-element-6eae1d2 .elementor-menu-toggle { display: flex !important; align-items: center; justify-content: center; }
	.elementor-22 .elementor-element-969db9c,
	.elementor-22 .elementor-element-969db9c > .elementor-container,
	.elementor-22 .elementor-element-969db9c .elementor-column,
	.elementor-22 .elementor-element-969db9c .elementor-widget-wrap,
	.elementor-22 .elementor-element-969db9c .elementor-widget { background-color: transparent !important; background-image: none !important; }
	.elementor-22 .elementor-element-969db9c { background-color: #FFFFFF !important; }
	.elementor-22 .elementor-element-969db9c .elementor-nav-menu--dropdown { position: absolute; left: 0; right: 0; top: 60px; z-index: 50; }
}
@media (max-width: 1024px) {
	.elementor-22 .elementor-element-6eae1d2 .elementor-widget-container,
	.elementor-22 .elementor-element-6eae1d2 .elementor-menu-toggle { background: transparent !important; box-shadow: none !important; }
}
