

/* Start:/local/templates/cargonomica/components/bitrix/news.list/home_map/style.css?17738186314267*/
/* Карта локаций на главной */
.home-map {
    padding: 0;
}

.home-map__wrap {
    position: relative;
}

.home-map__wrap #home-map {
    height: 44.479vw;
    width: 100%;
}

.home-map__block {
    width: 470px;
    max-height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.home-map__top {
    padding: 30px 30px 0;
    flex-shrink: 0;
}

.home-map__title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-weight: 600;
}

.home-map__title svg {
    display: none;
}

.home-map__category {
    position: relative;
    margin-bottom: 15px;
}

.home-map__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    border: 1px solid #e5e5e5;
    border-radius: 3px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.home-map__btn:hover {
    border-color: #191919;
}

.home-map__btn.active svg {
    transform: rotate(180deg);
}

.home-map__category-sel {
    background: #fff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.home-map__category-wrap {
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.home-map__category-wrap .filters-top__label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 3px;
    transition: background 0.2s;
}

.home-map__category-wrap .filters-top__label:hover {
    background: #f5f5f5;
}

.home-map__category-wrap .filters-top__input {
    display: none;
}

.home-map__category-wrap .filters-top__input:checked + span {
    color: #EF4004;
    font-weight: 600;
}

.home-map__list {
    overflow-y: auto;
    flex: 1;
    padding: 0 30px 30px;
}

.home-map__item {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid #e5e5e5;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
}

.home-map__item:hover {
    background: #f9f9f9;
}

.home-map__item.is-active {
    background: #FFF5F2;
    box-shadow: inset 3px 0 0 #EF4004;
}

.home-map__icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: #EF4004;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-map__icon img {
    filter: brightness(0) invert(1);
}

.home-map__cat {
    color: #EF4004;
    margin-bottom: 2px;
}

.home-map__name {
    font-weight: 600;
    margin-bottom: 4px;
}

.home-map__address {
    color: #666;
    margin-bottom: 8px;
}

.home-map__contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.home-map__phone {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #191919;
    text-decoration: none;
}

.home-map__phone:hover {
    color: #EF4004;
}

.home-map__way {
    color: #EF4004;
    text-decoration: none;
}

.home-map__way:hover {
    text-decoration: underline;
}

.home-map__city-mob {
    display: none;
}

/* Десктоп: flex-layout (панель слева, карта справа) */
@media screen and (min-width: 993px) {
    .home-map__wrap {
        display: flex;
    }

    .home-map__block {
        order: -1;
        flex-shrink: 0;
        width: 470px;
        height: 44.479vw;
        max-height: none;
    }

    .home-map__wrap #home-map {
        flex: 1;
        min-width: 0;
    }
}

/* Мобильная версия */
@media screen and (max-width: 992px) {
    .home-map__wrap #home-map {
        height: 82.943vw;
    }

    .home-map__city-mob {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 15px 20px;
        background: #fff;
        font-weight: 600;
        cursor: pointer;
    }

    .home-map__block {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        max-height: 100vh;
        z-index: 1020;
        transition: left 0.3s ease;
    }

    .home-map__block.show {
        left: 0;
    }

    .home-map__title {
        cursor: pointer;
    }

    .home-map__title svg {
        display: block;
    }
}

@media screen and (max-width: 480px) {
    .home-map__wrap #home-map {
        height: 179.167vw;
    }
}

/* End */
/* /local/templates/cargonomica/components/bitrix/news.list/home_map/style.css?17738186314267 */
