html.lec-search-open,body.lec-search-open{overflow:hidden!important}
.lec-search-modal[hidden]{display:none!important}
.lec-search-modal{position:fixed;inset:0;z-index:999999}
.lec-search-modal__backdrop{position:absolute;inset:0;background:rgba(255,255,255,.98)}
.lec-search-modal__dialog{position:absolute;inset:0;overflow:auto;padding:34px 24px 60px}
.lec-search-modal__close{position:fixed;right:24px;top:18px;z-index:2;border:0;background:transparent;font-size:34px;line-height:1;cursor:pointer}
.lec-search-modal__inner{width:min(1220px,100%);margin:0 auto}
.lec-search-modal h2{text-align:center;font-size:27px;margin:0 0 22px}
.lec-search-modal__form{width:min(720px,100%);margin:0 auto}
.lec-search-modal__field{display:flex;align-items:center;border:1px solid #171717;border-radius:999px;height:50px;background:#fff;overflow:hidden}
.lec-search-modal__field input{flex:1!important;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;height:48px!important;padding:0 20px!important;font-size:15px!important;min-width:0}
.lec-search-modal__field button{width:54px;height:48px;border:0;background:transparent;font-size:23px;cursor:pointer}
.lec-search-modal__starter{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;margin:12px auto 26px;font-size:12px;color:#6c665e}
.lec-search-modal__starter button{border:1px solid #ded8cf;background:#fff;border-radius:999px;padding:5px 10px;cursor:pointer}
.lec-search-modal__results{border-top:1px solid #e7e0d6;padding-top:22px}
.lec-search-modal__result-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:16px}
.lec-search-modal__result-head small{display:block;color:#b66d15;text-transform:uppercase;font-weight:800;letter-spacing:.07em;font-size:11px}
.lec-search-modal__result-head h3{font-size:25px;margin:3px 0 0}
.lec-search-modal__result-head>a{font-size:13px;font-weight:800}
.lec-search-modal__products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.lec-search-modal__products article{min-width:0}
.lec-search-modal__image{display:block;aspect-ratio:1/1;border-radius:12px;overflow:hidden;background:#f4f0e9}
.lec-search-modal__image img{width:100%;height:100%;display:block;object-fit:cover}
.lec-search-modal__products article>div>small{display:block;color:#b66d15;text-transform:uppercase;font-weight:800;font-size:10px;margin-top:8px}
.lec-search-modal__products h4{font-size:15px;line-height:1.25;margin:3px 0}
.lec-search-modal__products p{font-size:12px;line-height:1.35;color:#69635c;margin:4px 0}
.lec-search-modal__products strong{font-size:14px}
.lec-search-modal__posts{display:grid;grid-template-columns:160px 1fr;gap:18px;margin-top:22px;padding-top:17px;border-top:1px solid #ece5dc}
.lec-search-modal__posts>div{display:flex;flex-wrap:wrap;gap:8px 20px}
.lec-search-modal__posts a{font-size:13px;text-decoration:underline}
.lec-search-modal__footer{text-align:center;margin:24px 0 8px}
.lec-search-modal__footer a{display:inline-flex;padding:12px 20px;border-radius:999px;background:#111;color:#fff!important;font-weight:800}
.lec-search-modal__loading,.lec-search-modal__empty{text-align:center;padding:38px 10px}
.lec-search-modal__empty strong{font-size:18px}.lec-search-modal__empty p{margin:5px 0 10px}
@media(max-width:800px){
 .lec-search-modal__dialog{padding:24px 15px 45px}
 .lec-search-modal__products{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 10px}
 .lec-search-modal__result-head{align-items:start;flex-direction:column;gap:5px}
 .lec-search-modal__posts{grid-template-columns:1fr}
}

/* 1.2.0 — finition UX */
.lec-search-modal__recent{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;margin:-16px 0 22px;font-size:12px;color:#777}
.lec-search-modal__recent button{border:0;background:transparent;text-decoration:underline;cursor:pointer;padding:3px 2px;color:#555}
.lec-search-modal__result-head p{font-size:12px;color:#777;margin:4px 0 0}
.lec-search-modal__products a.lec-search-keyboard-active{outline:3px solid currentColor;outline-offset:3px;border-radius:10px}
.lec-search-modal__skeleton{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;padding-top:2px}
.lec-search-modal__skeleton i{display:block;aspect-ratio:1/1;border-radius:12px;background:linear-gradient(90deg,#f1eee9 25%,#faf8f5 50%,#f1eee9 75%);background-size:200% 100%;animation:lecSearchSkeleton 1.1s linear infinite}
@keyframes lecSearchSkeleton{to{background-position:-200% 0}}
@media(max-width:800px){
 .lec-search-modal__skeleton{grid-template-columns:repeat(2,minmax(0,1fr))}
 .lec-search-modal__starter{justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px}
 .lec-search-modal__starter span{display:none}
 .lec-search-modal__starter button{white-space:nowrap}
 .lec-search-modal__recent{justify-content:flex-start}
}

/* 1.3.0 — produits + recettes comme deux intentions égales */
.lec-search-modal__tabs{display:flex;gap:6px;margin:-2px 0 22px;border-bottom:1px solid #e9e3da}
.lec-search-modal__tabs button{border:0;background:transparent;padding:10px 13px 11px;font-weight:800;cursor:pointer;border-bottom:2px solid transparent}
.lec-search-modal__tabs button.is-active{border-bottom-color:#111}
.lec-search-modal__tabs span{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#f2eee8;font-size:10px;margin-left:4px}
.lec-search-modal__section{margin-bottom:26px}
.lec-search-modal__section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.lec-search-modal__section-title h4{font-size:18px;margin:0}
.lec-search-modal__section-title button{border:0;background:transparent;text-decoration:underline;font-weight:700;cursor:pointer}
.lec-search-modal__recipes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.lec-search-modal__recipe{min-width:0}
.lec-search-modal__recipe-image{display:block;aspect-ratio:16/10;border-radius:12px;overflow:hidden;background:#f2eee8}
.lec-search-modal__recipe-image img{width:100%;height:100%;object-fit:cover;display:block}
.lec-search-modal__recipe-image span{height:100%;display:flex;align-items:center;justify-content:center;font-weight:800;color:#777}
.lec-search-modal__recipe>div>small{display:block;color:#b66d15;text-transform:uppercase;font-weight:800;font-size:10px;margin-top:8px}
.lec-search-modal__recipe h4{font-size:15px;line-height:1.3;margin:3px 0 7px}
.lec-search-modal__recipe-link{font-size:12px;font-weight:800;text-decoration:underline}
@media(max-width:800px){
 .lec-search-modal__tabs{overflow-x:auto}
 .lec-search-modal__tabs button{white-space:nowrap}
 .lec-search-modal__recipes{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 10px}
}

/* 1.3.1 — isolation visuelle vis-à-vis des styles Glozin */
.lec-search-modal,
.lec-search-modal *{
	box-sizing:border-box;
}
.lec-search-modal__starter button,
.lec-search-modal__recent button,
.lec-search-modal__tabs button,
.lec-search-modal__section-title button{
	color:#171717!important;
	-webkit-text-fill-color:#171717!important;
	opacity:1!important;
	text-shadow:none!important;
}
.lec-search-modal__starter button{
	background:#fff!important;
	border:1px solid #d9d3ca!important;
	box-shadow:none!important;
	font-size:12px!important;
	line-height:1.2!important;
	font-weight:700!important;
	min-height:30px!important;
	height:auto!important;
	padding:7px 12px!important;
}
.lec-search-modal__starter button:hover{
	background:#f6f2ec!important;
	border-color:#171717!important;
}
.lec-search-modal__tabs{
	min-height:46px!important;
	align-items:flex-end!important;
}
.lec-search-modal__tabs button{
	display:inline-flex!important;
	align-items:center!important;
	gap:5px!important;
	background:transparent!important;
	box-shadow:none!important;
	border-left:0!important;
	border-right:0!important;
	border-top:0!important;
	border-radius:0!important;
	font-size:14px!important;
	line-height:1.2!important;
	min-height:42px!important;
	height:auto!important;
}
.lec-search-modal__tabs button b{
	display:inline!important;
	color:#171717!important;
	-webkit-text-fill-color:#171717!important;
	font-weight:800!important;
	font-size:14px!important;
}
.lec-search-modal__tabs button span{
	color:#171717!important;
	-webkit-text-fill-color:#171717!important;
	background:#f0ebe4!important;
}
.lec-search-modal__tabs button.is-active{
	border-bottom:2px solid #171717!important;
}
.lec-search-modal__result-head{
	min-height:54px;
}
.lec-search-modal__result-head h3,
.lec-search-modal__result-head small,
.lec-search-modal__result-head p{
	color:#171717!important;
	-webkit-text-fill-color:#171717!important;
	opacity:1!important;
}
.lec-search-modal__result-head small{
	color:#b66d15!important;
	-webkit-text-fill-color:#b66d15!important;
}
.lec-search-modal__result-head>a{
	color:#171717!important;
	-webkit-text-fill-color:#171717!important;
}
.lec-search-modal__section-title h4{
	color:#171717!important;
	-webkit-text-fill-color:#171717!important;
}
.lec-search-modal__recipe h4,
.lec-search-modal__recipe h4 a,
.lec-search-modal__products h4,
.lec-search-modal__products h4 a{
	color:#171717!important;
	-webkit-text-fill-color:#171717!important;
}

/* 1.3.2 — CTA Conseiller renforcé */
.lec-search-modal__advisor-cta{
	display:inline-flex!important;
	align-items:center!important;
	gap:10px!important;
	padding:10px 14px!important;
	border-radius:14px!important;
	background:#171717!important;
	color:#fff!important;
	text-decoration:none!important;
	box-shadow:0 6px 18px rgba(0,0,0,.10)!important;
	transition:transform .15s ease, box-shadow .15s ease!important;
	white-space:nowrap!important;
}
.lec-search-modal__advisor-cta:hover{
	transform:translateY(-1px)!important;
	box-shadow:0 8px 22px rgba(0,0,0,.14)!important;
}
.lec-search-modal__advisor-cta,
.lec-search-modal__advisor-cta *{
	color:#fff!important;
	-webkit-text-fill-color:#fff!important;
}
.lec-search-modal__advisor-icon{
	display:flex!important;
	align-items:center!important;
	justify-content:center!important;
	width:28px!important;
	height:28px!important;
	border-radius:999px!important;
	background:rgba(255,255,255,.14)!important;
	font-size:14px!important;
	flex:0 0 auto!important;
}
.lec-search-modal__advisor-cta>span:last-child{
	display:flex!important;
	flex-direction:column!important;
	line-height:1.1!important;
}
.lec-search-modal__advisor-cta strong{
	font-size:13px!important;
	font-weight:800!important;
}
.lec-search-modal__advisor-cta small{
	margin-top:3px!important;
	font-size:10px!important;
	font-weight:600!important;
	opacity:.78!important;
}
@media(max-width:800px){
	.lec-search-modal__advisor-cta{
		width:100%!important;
		justify-content:center!important;
		margin-top:4px!important;
	}
}
