/* Recherche sur le site : popin (maquette 07) et page de résultats. Échelle × 0,75. */

/* ---------- Résultats (communs à la popin et à la page) ---------- */
.lbt-sr-list { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.lbt-sr-item { display: flex; align-items: center; gap: 22px; padding: 10px 26px 10px 10px; border-radius: 12px; background: #FBF8F4; color: #2E2D2C; text-decoration: none !important; transition: background-color .15s, color .15s; }
.lbt-sr-item__thumb { flex: none; width: 136px; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background: #E8C9A0; }
.lbt-sr-item__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lbt-sr-item__ph { display: grid; place-items: center; width: 100%; height: 100%; background: #E8C9A0; color: #7F3A12; font-family: Lora, serif; font-size: 26px; font-style: italic; }
.lbt-sr-item__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.lbt-sr-item__kicker { font-family: Inter, sans-serif; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: #2E2D2C; }
.lbt-sr-item__title { font-family: Lora, serif; font-size: 21px; line-height: 1.25; color: #D03C16; }
.lbt-sr-item__desc { font-family: Inter, sans-serif; font-size: 13px; line-height: 1.45; color: #2F2F2F; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lbt-sr-item__chev { flex: none; font-size: 40px; line-height: 1; color: #D03C16; }
.lbt-sr-item mark { margin: 0; padding: 0; background: none; color: inherit; font-weight: 700; }
.lbt-sr-item:hover, .lbt-sr-item:focus-visible, .lbt-sr-item.is-active { background: #D03C16; outline: none; }
.lbt-sr-item:hover *, .lbt-sr-item:focus-visible *, .lbt-sr-item.is-active * { color: #fff; }
@media (max-width: 640px) {
	.lbt-sr-item { gap: 12px; padding: 8px 12px 8px 8px; }
	.lbt-sr-item__thumb { width: 84px; }
	.lbt-sr-item__title { font-size: 17px; }
	.lbt-sr-item__chev { font-size: 30px; }
}

/* ---------- Filtres en pastilles ---------- */
.lbt-sr-pills, .lbt-sr__pills { display: flex; flex-wrap: wrap; gap: 12px; }
.lbt-sr-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px; border: 0; border-radius: 999px; background: #FBF8F4; color: #2E2D2C; font-family: Inter, sans-serif; font-size: 13px; font-weight: 600; line-height: 1.3; text-decoration: none !important; cursor: pointer; transition: background-color .15s, color .15s; }
.lbt-sr-pill:hover { background: #F3EBE1; }
.lbt-sr-pill__n { display: inline-grid; place-items: center; min-width: 22px; padding: 1px 6px; border-radius: 6px; background: #E7E3DE; color: #2E2D2C; font-size: 12px; }
.lbt-sr-pill.is-active, .lbt-sr-pill[aria-pressed="true"] { background: #D03C16; color: #fff; }
.lbt-sr-pill.is-active .lbt-sr-pill__n, .lbt-sr-pill[aria-pressed="true"] .lbt-sr-pill__n { background: #fff; color: #D03C16; }
.lbt-sr-pill.is-empty { opacity: .55; }
.lbt-sr-pill:focus-visible { outline: 2px solid #D03C16; outline-offset: 2px; }

/* ---------- Popin ---------- */
html.lbt-sr-open { overflow: hidden; }
.lbt-sr[hidden] { display: none; }
.lbt-sr, .lbt-sr * { box-sizing: border-box; }
.lbt-sr { position: fixed; inset: 0; z-index: 100000; display: flex; justify-content: center; align-items: flex-start; padding: 56px 20px 24px; overflow-y: auto; }
.lbt-sr__backdrop { position: fixed; inset: 0; background: rgba(46,37,33,.55); backdrop-filter: blur(2px); }
.lbt-sr__panel { position: relative; box-sizing: border-box; width: 100%; min-width: 0; max-width: 980px; padding: 44px 56px 40px; border-radius: 20px; background: #fff; box-shadow: 0 24px 80px rgba(0,0,0,.25); font-family: Inter, sans-serif; animation: lbt-sr-in .18s ease-out; }
@keyframes lbt-sr-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lbt-sr__panel { animation: none; } }
/* Boutons de la popin verrouillés dans tous leurs états (le thème stylise button:hover / :focus / :active). */
.lbt-sr .lbt-sr__close, .lbt-sr .lbt-sr__close:hover, .lbt-sr .lbt-sr__close:focus, .lbt-sr .lbt-sr__close:active { position: absolute; top: 16px; right: 16px; left: auto; bottom: auto; width: 46px; height: 46px; min-width: 0; margin: 0; padding: 0; border: 0; border-radius: 50%; background: #FBF8F4; box-shadow: none; transform: none; color: #5A361F; cursor: pointer; }
.lbt-sr__close span, .lbt-sr__clear span { position: relative; display: block; width: 100%; height: 100%; }
.lbt-sr__close span::before, .lbt-sr__close span::after, .lbt-sr__clear span::before, .lbt-sr__clear span::after { content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 2px; margin: -1px 0 0 -11px; background: #5A361F; border-radius: 2px; transform: rotate(45deg); }
.lbt-sr__close span::after, .lbt-sr__clear span::after { transform: rotate(-45deg); }
.lbt-sr .lbt-sr__close:hover { background: #F3EBE1; }
.lbt-sr__close:focus-visible, .lbt-sr__clear:focus-visible { outline: 2px solid #D03C16; outline-offset: 2px; }
.lbt-sr__title { margin: 0 0 22px; font-family: Lora, serif; font-weight: 700; font-size: 38px; line-height: 1.15; color: #2E2D2C; }
.lbt-sr__form { position: relative; margin: 0 0 22px; }
/* Sélecteurs renforcés : le thème parent stylise tous les champs de formulaire. */
.lbt-sr .lbt-sr__form input.lbt-sr__input { box-sizing: border-box; width: 100%; height: 62px; margin: 0; padding: 0 64px 0 28px; border: 1.5px solid #D03C16; border-radius: 999px; background: #fff; box-shadow: none; color: #2E2D2C; font-family: Inter, sans-serif; font-size: 17px; line-height: normal; outline: none; -webkit-appearance: none; appearance: none; }
.lbt-sr__input::-webkit-search-cancel-button { display: none; }
.lbt-sr .lbt-sr__form input.lbt-sr__input:focus { border-color: #D03C16; box-shadow: 0 0 0 4px rgba(208,60,22,.12); }
.lbt-sr .lbt-sr__clear, .lbt-sr .lbt-sr__clear:hover, .lbt-sr .lbt-sr__clear:focus, .lbt-sr .lbt-sr__clear:active { position: absolute; right: 18px; left: auto; top: 50%; width: 30px; height: 30px; min-width: 0; margin: -15px 0 0; padding: 0; border: 0; border-radius: 50%; background: none; box-shadow: none; transform: none; cursor: pointer; }
/* Pastilles (boutons) : le thème colore tous les button:hover / :focus en rouge avec bordure et position relative. */
.lbt-sr button.lbt-sr-pill, .lbt-sr button.lbt-sr-pill:hover, .lbt-sr button.lbt-sr-pill:focus, .lbt-sr button.lbt-sr-pill:active { position: static; border: 0; box-shadow: none; transform: none; background: #FBF8F4; color: #2E2D2C; outline: none; }
.lbt-sr button.lbt-sr-pill:hover { background: #F3EBE1; }
.lbt-sr button.lbt-sr-pill[aria-pressed="true"], .lbt-sr button.lbt-sr-pill[aria-pressed="true"]:hover, .lbt-sr button.lbt-sr-pill[aria-pressed="true"]:focus { background: #D03C16; color: #fff; }
.lbt-sr button.lbt-sr-pill:focus-visible, .lbt-sr .lbt-sr__close:focus-visible, .lbt-sr .lbt-sr__clear:focus-visible { outline: 2px solid #D03C16; outline-offset: 2px; }
.lbt-sr__clear span::before, .lbt-sr__clear span::after { width: 15px; margin-left: -7.5px; height: 1.5px; background: #2E2D2C; }
.lbt-sr__pills { margin-bottom: 18px; }
.lbt-sr__status { min-height: 1.2em; margin: 0 0 10px; font-size: 13px; color: #7A8697; }
.lbt-sr__status:empty { margin: 0; min-height: 0; }
.lbt-sr__hint { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; color: #7A8697; }
.lbt-sr__hint[hidden] { display: none; }
.lbt-sr__results:empty { display: none; }
.lbt-sr__all { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 11px 22px; border-radius: 999px; background: #D03C16; color: #fff !important; font-weight: 700; font-size: 14px; text-decoration: none !important; }
.lbt-sr__all:hover { background: #A94217; }
.lbt-sr__all[hidden] { display: none; }
@media (max-width: 768px) {
	.lbt-sr { padding: 0; }
	.lbt-sr__panel { min-height: 100%; padding: 64px 16px 24px; border-radius: 0; }
	.lbt-sr__title { font-size: 28px; }
	.lbt-sr .lbt-sr__form input.lbt-sr__input { height: 52px; font-size: 16px; padding-left: 20px; }
	.lbt-sr__pills { flex-wrap: nowrap; overflow-x: auto; margin-left: -16px; margin-right: -16px; padding: 0 16px 4px; }
	.lbt-sr__pills .lbt-sr-pill { flex: none; }
}

/* ---------- Page de résultats ---------- */
.lbt-sr-ref { margin: 14px 0 0; font-family: Inter, sans-serif; font-size: 14px; color: #7A8697; }
.lbt-sr-ref strong { color: #D03C16; }
.lbt-sr-pills + .lbt-sr-list, .lbt-sr-pills + .lbt-sr-section, .lbt-sr-ref + .lbt-sr-section, .lbt-sr-ref + .lbt-sr-list { margin-top: 32px; }
.lbt-sr-section + .lbt-sr-section { margin-top: 44px; }
.lbt-sr-section__title { margin: 0 0 16px; font-family: Lora, serif; font-weight: 700; font-size: 26px; color: #2E2D2C; }
.lbt-sr-section__title span { font-family: Inter, sans-serif; font-size: 14px; font-weight: 600; color: #7A8697; }
.lbt-sr-more { display: inline-block; margin-top: 14px; font-family: Inter, sans-serif; font-weight: 600; font-size: 14px; color: #D03C16; text-decoration: none; }
.lbt-sr-more:hover { text-decoration: underline; }
.lbt-sr-empty { font-family: Inter, sans-serif; font-size: 16px; color: #2F2F2F; }
.lbt-sr-empty a { color: #D03C16; }
.lbt-sr-pages { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.lbt-sr-page { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 10px; border-radius: 8px; background: #FBF8F4; color: #2E2D2C; font-family: Inter, sans-serif; font-weight: 600; font-size: 14px; text-decoration: none; }
.lbt-sr-page:hover { background: #F3EBE1; }
.lbt-sr-page.is-current { background: #D03C16; color: #fff; }
