/**
 * CodeWeber Yandex Maps Styles
 *
 * @package Codeweber
 * @version 1.1.0
 */

.codeweber-yandex-map-wrapper {
    position: relative;
    min-height: 200px;
}

/* Sidebar — только позиционирование и видимость */
.codeweber-map-sidebar {
    position: absolute;
    top: 47px;
    width: calc(100% - 20px);
    max-width: 360px;
    max-height: calc(100% - 103px);
    z-index: 1000;
}

.codeweber-map-sidebar-left  { left: 10px; }
.codeweber-map-sidebar-right { right: 10px; }

/* Items — только интерактивность */
.codeweber-map-sidebar-item {
    cursor: pointer;
    transition: background 0.2s;
}

.codeweber-map-sidebar-item:hover  { background: var(--bs-gray-100); }
.codeweber-map-sidebar-item.active { background: var(--bs-primary-bg-subtle); }

/* Кнопка открытия (мобильные) */
.codeweber-map-sidebar-toggle {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 9999;
}

@media (max-width: 767px) {
    .codeweber-map-sidebar { max-width: none; }
}

/* Balloon */
.ymaps-2-1-79-balloon-content__header {
    font-weight: inherit !important;
}
