/* =========================================================
   Texture · Menu mobile (panneau déplié depuis le burger)
   Ajouts : recherche en ligne + sélecteur de langue Polylang.
   Retravail : intégration du CTA newsletter (zeen_cta), déplacé
   sous la barre recherche/langue, avec la typo du site (Open Sans).
   Charger via functions.php (wp_enqueue_style).
   ========================================================= */

/* ---- A. Barre d'outils (recherche + langue) ---- */
.tx-mobmenu-tools{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:16px;
	margin-bottom:22px;
	padding-bottom:18px;
	border-bottom:1px solid rgba(255,255,255,.18);
}
.mob-menu-wrap.site-skin-1 .tx-mobmenu-tools{
	border-bottom-color:#e6e2db;
}

/* Recherche en ligne : loupe (bouton submit) + champ saisi directement */
.tx-mobmenu-search{
	display:flex;
	align-items:center;
	gap:8px;
	flex:1 1 auto;
	min-width:0;
	margin:0;
}
.tx-mobmenu-search-submit{
	flex:0 0 auto;
	background:none;
	border:0;
	padding:0;
	margin:0;
	color:inherit;
	cursor:pointer;
	line-height:1;
}
.tx-mobmenu-search-submit .tipi-i-search-thin{ font-size:16px; }
.tx-mobmenu .tx-mobmenu-search .tx-mobmenu-search-field{
	flex:1 1 auto;
	min-width:0;
	width:100%;
	background:transparent;
	border:0;
	border-bottom:1px solid transparent;
	border-radius:0;
	padding:2px 0;
	margin:0;
	color:inherit;
	font-family:"Open Sans", Lato, sans-serif;
	font-size:16px; /* ≥16px : évite le zoom auto d'iOS au focus */
	-webkit-appearance:none;
	appearance:none;
	box-shadow:none;
	outline:none;
}
.tx-mobmenu-search-field::placeholder{
	color:inherit;
	opacity:1;
	font-size:13px;
	letter-spacing:.04em;
	text-transform:uppercase;
}
.tx-mobmenu .tx-mobmenu-search .tx-mobmenu-search-field:focus{ border-bottom-color:currentColor; }
.tx-mobmenu-search-field:focus::placeholder{ opacity:.45; }
.tx-mobmenu-search-field::-webkit-search-cancel-button{ -webkit-appearance:none; }

.tx-mobmenu-lang{
	display:flex;
	align-items:center;
	gap:2px;
	margin:0;
	padding:0;
	list-style:none;
	font-family:"Open Sans", Lato, sans-serif;
	font-size:13px;
	letter-spacing:.04em;
}
.tx-mobmenu-lang li:not(:last-child)::after{
	content:"/";
	margin:0 6px;
	opacity:.45;
}
.tx-mobmenu-lang{ flex-wrap:nowrap; }
.tx-mobmenu-lang li{ display:flex; align-items:center; }
.tx-mobmenu-lang-link{
	color:inherit;
	text-decoration:none;
	opacity:.6;
	text-transform:uppercase;
}
.tx-mobmenu-lang-link:hover{ opacity:.85; }
.tx-mobmenu-lang-link--current{
	opacity:1;
	text-decoration:underline;
	text-underline-offset:3px;
}

/* ---- B. CTA newsletter, sous la barre d'outils ----
   Le conteneur Zeen est en flex ligne : seul le bouton doit y figurer
   pour occuper toute la largeur. */
.mob-menu-wrap .tx-mobmenu-newsletter{
	margin:0 0 22px;
}
/* Style n°4 : le 1er lien du menu a déjà 15px de padding haut → 7 + 15 = 22px visibles */
.site-mob-menu-4 .mob-menu-wrap .tx-mobmenu-newsletter{
	margin-bottom:7px;
}
.tx-mobmenu-newsletter .tipi-button-cta .button-text{
	font-family:"Open Sans", Lato, sans-serif;
	font-weight:600;
	letter-spacing:.03em;
}

/* ---- C. Alignement avec les catégories (style de menu mobile n°4) ----
   Zeen place le retrait sur les liens (.menu-mobile li a { padding:15px 20px })
   et non sur le conteneur : on reprend les mêmes 20px latéraux. */
.site-mob-menu-4 .mob-menu-wrap .tx-mobmenu-tools,
.site-mob-menu-4 .mob-menu-wrap .tx-mobmenu-newsletter{
	padding-left:20px;
	padding-right:20px;
}
