/* GFC 29/10/2026 (Raph) : liste maison à la place des <select> natifs des cartes de recherche et de la pop-up alternatifs
   (voir js/autoload/99-gfc-select-scroll-20261029a.js) : même aspect que l ancien select, mais la page défile normalement.
   v b (29/10, Raph : « le sélecteur devient orange au survol ») : le thème habille tous les <button> au survol -> fond blanc force.
   v c (29/10, Raph : « encadré orange, y avait pas avant ») : plus de liseré orange, meme liste ouverte : gris comme l ancien select. */
select.gfc-alt-decli.gfc-dd-natif { display: none !important; }
.gfc-dd { position: relative; width: 100%; }
.gfc-dd-btn {
    display: block; width: 100%; height: 30px; box-sizing: border-box; padding: 0 28px 0 8px; margin: 0;
    border: 1px solid #ccc; border-radius: 6px; background: #fff; color: #1d1d1d; text-align: left;
    font-size: 13px; line-height: 28px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer;
}
.gfc-dd-btn::after { content: ""; position: absolute; right: 10px; top: 50%; width: 7px; height: 7px; margin-top: -5px;
    border-right: 2px solid #555; border-bottom: 2px solid #555; transform: rotate(45deg); }
.gfc-dd-btn:hover, .gfc-dd-btn:focus, .gfc-dd-btn:active, .gfc-dd.gfc-dd-ouvert .gfc-dd-btn,
#skruptsearch .gfc-dd-btn:hover, .gfc-alt-pop .gfc-dd-btn:hover { background: #fff !important; color: #1d1d1d !important; border-color: #ccc !important; box-shadow: none !important; text-shadow: none !important; outline: none; }
.gfc-dd-list {
    position: absolute; left: 0; right: 0; top: 100%; z-index: 2147483200; margin: 2px 0 0; padding: 4px 0;
    list-style: none; background: #fff; border: 1px solid #ccc; border-radius: 6px; box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
    max-height: 220px; overflow-y: auto; text-align: left;
}
.gfc-dd.gfc-dd-haut .gfc-dd-list { top: auto; bottom: 100%; margin: 0 0 2px; }
.gfc-dd-opt { padding: 6px 10px; font-size: 13px; line-height: 1.3; color: #1d1d1d; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gfc-dd-opt:hover, .gfc-dd-opt.gfc-dd-cur { background: #f1f1f1; }
.gfc-dd-opt.gfc-dd-cur { font-weight: 700; }
.gfc-dd-opt.gfc-dd-off { color: #aaa; cursor: default; background: none; }
