

/* Start:/local/templates/main/css/stroy.css?17960710583702*/
/* Задача «Строящиеся объекты» — tasks/stroyshchiesya-obekty
   Изолированные стили (подключаются только шаблоном onesection-stroyshchiesya
   и шаблоном catalog.smart.filter/.default). Глобальные правила не меняются. */

.stroy-head {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 32px;
    margin-top: 24px;
}

.stroy-head__actions {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 24px;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
}

.stroy-counter {
    white-space: nowrap;
}

.stroy-subtitle {
    max-width: 780px;
    font-size: calc(14px + 4 * (100vw - 1280px)/ 640);
    line-height: 1.5;
    color: #161616;
}

.stroy-subtitle p {
    margin: 0;
}

.stroy-subtitle p + p {
    margin-top: 4px;
}

/* Кнопка масштабируется по той же шкале, что .button_medium / .button_small */
.stroy-btn {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    padding: 13px 21px;
    padding: clamp(10px, calc(13px + 7 * (100vw - 1280px)/ 640), 20px) clamp(18px, calc(21px + 11 * (100vw - 1280px)/ 640), 32px);
    border: 0;
    border-radius: 12px;
    background-color: #d5b38e;
    color: #161616;
    font-family: inherit;
    font-weight: 600;
    font-size: 12px;
    font-size: clamp(12px, calc(12px + 6 * (100vw - 1280px)/ 640), 18px);
    line-height: 16px;
    line-height: clamp(16px, calc(16px + 8 * (100vw - 1280px)/ 640), 24px);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    -webkit-transition: background-color .3s;
    -o-transition: background-color .3s;
    transition: background-color .3s;
}

.stroy-btn:hover {
    background-color: #c7a379;
}

/* кнопка вставлена в строку фильтров (страница «Готовые объекты») */
.catalog-filter .stroy-btn {
    margin-left: auto;
}

.catalog-filter .stroy-btn + .catalog-filter__counter {
    margin-left: 24px;
}

@media only screen and (max-width: 1279px) {
    .stroy-subtitle {
        font-size: 14px;
    }
}

@media only screen and (max-width: 1023px) {
    .stroy-head {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        gap: 16px;
        margin-top: 16px;
    }

    .stroy-head__actions {
        width: 100%;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        gap: 12px;
    }

    .stroy-btn {
        padding: 12px 24px;
    }

    .catalog-filter .stroy-btn + .catalog-filter__counter {
        margin-left: 12px;
    }
}

@media only screen and (max-width: 767px) {
    .stroy-btn {
        padding: 10px 18px;
        font-size: 12px;
        line-height: 16px;
        border-radius: 10px;
    }

    .stroy-head__actions {
        gap: 8px;
    }

    .stroy-counter {
        font-size: 12px;
    }
}

/* End */
/* /local/templates/main/css/stroy.css?17960710583702 */
