

/* Start:/local/components/bitrix/breadcrumb/templates/.default/style.css?1782705470776*/
.breadcrumbs {
    margin-top: 40px;
    margin-bottom: 20px
}

.breadcrumbs {
    width: 100%;
    max-width: -moz-max-content;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    border-radius: 10px;
    flex-wrap: wrap;
    vertical-align: center;
    grid-row-gap: 20px;
    margin-top: 50px;
    margin-bottom: 30px
}

@media(max-width:360px) {
    .breadcrumbs {
        /* width: 100vw;
        margin-left: calc(-50vw + 50%);
        padding-left: 16px;
        padding-right: 16px;
        border-radius: 0; */
        max-width: none;
        margin-top: 40px;
        margin-bottom: 20px
    }
    .product__details {
        padding: 20px !important;
    }
}

@media(min-width:361px) {
    .breadcrumbs {
        max-width: max-content;
    }
}
/* End */


/* Start:/local/components/profmaster/objects/templates/.default/style.css?17876643112307*/
:root {
    --space-content: 100px;
}
/* Затемненный фон */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.popup-overlay.active {
    display: flex;
}

/* Контент попапа */
.popup-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

/* Изображение */
.popup-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    padding: 5px;
    background-color: white;
}

/* Кнопка закрытия */
.popup-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 40px;
    height: 40px;
    background: #fccb06;
    border: 2px solid #fff;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    margin: 20px;
}

.popup-close:hover {
    background-color: white;
}

.our-projects {
    margin-top: var(--space-content);
}

/* Для мобильных устройств */
@media (max-width: 1279.5px) {
    :root {
        --space-content: 80px;
    }
}
@media (max-width: 768px) {
    .popup-close {
        top: -50px;
        right: 10px;
    }
}

@media (max-width: 999.5px) {
    :root {
        --space-content: 64px;
    }
}

/* Текст описания в карточке объекта не обрезается на уровне PHP,
   а визуально «уходит» в белый градиент только на мобильной версии
   (<=767.5px — мобильный брейкпоинт сайта).
   Полный текст остаётся в DOM (доступен в модальном окне). */
@media (max-width: 767.5px) {
    .project-card__text {
        position: relative;
        height: 112px;
        overflow: hidden;
    }

    .project-card__text::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 48px;
        background: linear-gradient(to top, #fff 0%, rgba(255, 255, 255, 0) 100%);
        pointer-events: none;
    }
}

/* End */
/* /local/components/bitrix/breadcrumb/templates/.default/style.css?1782705470776 */
/* /local/components/profmaster/objects/templates/.default/style.css?17876643112307 */
