/* Точечная перекраска подключаемых сторонних библиотек (Chosen, Fotorama)
   под фирменную тему AVTODOSKA. Сами библиотеки не редактируются. */

.chosen-container-single .chosen-single {
    height: 44px; line-height: 44px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-2);
}
.chosen-container-single .chosen-single span { color: var(--text); }
.chosen-container-single .chosen-default { color: var(--text-3); }
.chosen-container .chosen-drop { border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 16px 40px rgba(var(--backdrop-rgb),.16); margin-top: 4px; overflow: hidden; }
.chosen-container-single .chosen-drop { border-radius: 10px; }
.chosen-container .chosen-results li.highlighted { background: var(--accent); color: var(--on-accent); }
.chosen-container .chosen-results li.no-results { color: var(--text-3); background: var(--surface); }
.chosen-container-multi .chosen-choices { border: 1px solid var(--border); border-radius: 10px; background: var(--surface-2); min-height: 44px; padding: 4px 6px; }
.chosen-container-multi .chosen-choices li.search-choice { background: var(--accent-soft); border: 1px solid var(--accent-soft-2); color: var(--accent-dark); border-radius: 999px; padding: 3px 20px 3px 10px; }
.chosen-container-active.chosen-with-drop .chosen-single, .chosen-container-active .chosen-choices { border-color: var(--accent); }
.chosen-container { width: 100% !important; }

.fotorama__nav__frame--thumb .fotorama__thumb { border-radius: 8px; overflow: hidden; }
.fotorama__wrap { border-radius: inherit; }

.chosen-container .chosen-drop, .chosen-container .chosen-search input { background: var(--surface); color: var(--text); }
