/* Recherche globale — icône header + panneau overlay + résultats du hero homepage */

.lgs-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border: none; background: transparent;
    cursor: pointer; padding: 0; color: inherit;
}
.lgs-toggle:hover { opacity: .75; }

#lgs-overlay {
    position: fixed; inset: 0; z-index: 100000;
    background: rgba(20, 30, 20, .55);
    display: flex; align-items: flex-start; justify-content: center;
    padding: 12vh 16px 16px;
}
#lgs-overlay[hidden] { display: none; }

#lgs-panel {
    width: 100%; max-width: 560px; background: #fff; border-radius: 12px;
    box-shadow: 0 20px 50px -12px rgba(0,0,0,.5); padding: 14px;
    position: relative;
}
#lgs-panel-form { display: flex; gap: 8px; }
#lgs-panel-input {
    flex: 1; min-width: 0; border: 1px solid #e2e8e2; border-radius: 8px;
    padding: 11px 14px; font-size: 15px; outline: none;
}
#lgs-panel-input:focus-visible { outline: 2px solid #2d6a4f; outline-offset: 1px; }
#lgs-panel-close {
    border: none; background: transparent; font-size: 20px; cursor: pointer;
    width: 38px; height: 38px; flex-shrink: 0; color: #444;
}
#lgs-panel-results { position: relative; margin-top: 8px; }

@media (max-width: 640px) {
    #lgs-overlay { padding: 0; }
    #lgs-panel { max-width: none; height: 100%; border-radius: 0; padding-top: 18px; }
}

/* Sections de résultats (partagées header + hero) */
.lgs-heading, .ll-hero-v2-sr-heading {
    padding: 8px 10px 4px; font-size: .72rem; letter-spacing: .04em;
    text-transform: uppercase; color: #6b7a6b;
}
.lgs-item, .ll-hero-v2-sr-item {
    padding: 9px 10px; font-size: .92rem; color: #1a2e1a; cursor: pointer; border-radius: 6px;
}
.lgs-item:hover, .ll-hero-v2-sr-item:hover { background: #f0fdf4; }
.lgs-empty { padding: 12px 10px; font-size: .88rem; color: #6b7a6b; }
