/* TEMP  */
.ui-card--image-scale .ui-card__image img.ui-card__img {
    object-fit: cover !important;
}

/* end TEMP  */

/* MAIN PAGE */
/* gaps  */
html body .drag-block.BIG_BANNER_INDEX .banners-big .maxwidth-banner {
    padding-top: 15px;
    padding-bottom: 24px;
}

html body .drag-block.TIZERS .tizers-list {
    padding-top: 0;
    padding-bottom: 0;
}

html body .drag-block.CATALOG_TAB .element-list {
    padding-top: 48px;
    padding-bottom: 48px;
}

html body .drag-block.CATALOG_SECTIONS .sections-block.main-template {
    padding-top: 30px;
    padding-bottom: 40px;
}

html body .drag-block.BRANDS .brands-list {
    padding-top: 48px;
    padding-bottom: 48px;
}

html body .drag-block.BOTTOM_BANNERS .image-banner-list {
    padding-top: 0;
    padding-bottom: 0;
}

html body .drag-block.COMPANY_TEXT .company-item.front_company-template {
    padding-top: 48px;
    padding-bottom: 48px;
}

html body .drag-block.COMPANY_TEXT .company-image-type:not(:last-child) {
    margin-bottom: 48px;
}

html body .drag-block.BLOG .news-list.news-list-template {
    padding-bottom: 48px;
}

html body .drag-block.CUSTOM_TAGS .chips {
    padding-bottom: calc(60px - 8px);
    /* - slider height */
}

.front_page .catalog-viewed {
    display: none;
}

@media (min-width: 1200px) {
    html body .drag-block.BIG_BANNER_INDEX .banners-big .maxwidth-banner {
        padding-top: 35px;
        padding-bottom: 35px;
    }

    html body .drag-block.TIZERS .tizers-list {
        padding-top: 0;
        padding-bottom: 0;
    }

    html body .drag-block.CATALOG_TAB .element-list {
        padding-top: 64px;
        padding-bottom: 72px;
    }

    html body .drag-block.CATALOG_SECTIONS .sections-block.main-template {
        padding-top: 56px;
        padding-bottom: 96px;
    }

    html body .drag-block.BRANDS .brands-list {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    html body .drag-block.BOTTOM_BANNERS .image-banner-list {
        padding-top: 0;
        padding-bottom: 0;
    }

    html body .drag-block.COMPANY_TEXT .company-item.front_company-template {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    html body .drag-block.COMPANY_TEXT .company-image-type:not(:last-child) {
        margin-bottom: 64px;
    }

    html body .drag-block.BLOG .news-list.news-list-template {
        padding-bottom: 64px;
    }

    html body .drag-block.CUSTOM_TAGS .chips {
        padding-bottom: 100px;
    }
}

/* end gaps  */
/* big banners */
@media (min-width: 768px) {

    .banners-big__depend-height,
    .banners-big__wrapper {
        aspect-ratio: 1296 / 450;
        height: auto !important;
    }
}

@media (max-width: 767px) {

    body .banners-big--adaptive-2 .swiper-slide,
    body .banners-big--adaptive-3 .swiper-slide {
        aspect-ratio: 358 / 413;
    }
}

/* end big banners */
/* tizers */
html body div.tizers-list__item-image-wrapper {
    width: 120px;
    height: 120px;
}

@media (min-width: 1200px) {
    html body div.tizers-list__item-image-wrapper {
        width: 160px;
        height: 160px;
    }
}

/* end tizers */
/* Популярные категории */
.CATALOG_SECTIONS .ui-card__image {
    aspect-ratio: 1 / 1;
}

.CATALOG_SECTIONS .ui-card__image img {
    object-fit: contain;
}

/* end Популярные категории */
/* banners with images */
.image-banner-items [class*="image-banner--"] {
    aspect-ratio: 358 / 90;
    border-radius: 8px;
}

.image-banner-items [class*="image-banner--"] .image-banner__img {
    object-fit: contain;
}

@media (min-width: 1200px) {
    .image-banner-items [class*="image-banner--"] {
        aspect-ratio: 636 / 150;
        border-radius: 12px;
    }
}

/* end banners with images */
/* company */
.company-item__wrap__inner:not(:nth-last-of-type(1)) {
    margin-bottom: 48px;
}

.company-item__heading .company-item__title {
    padding-bottom: clamp(24px, 4vw, 24px);
}

.company-item__heading.flexbox.flexbox--justify-between {
    justify-content: unset;
}

.company-item__text.index-block__preview {
    margin-top: 16px;
    font-size: 15px;
    line-height: 25px;
}

@media (min-width: 992px) {
    .company-item__picture {
        min-height: 450px;
    }
}

@media (max-width: 991.98px) {
    .company-item__picture-wrapper {
        padding-top: 253px;
    }
}

@media (max-width: 991.98px) {
    .company-item__right.relative.flex-50 {
        order: -1;
    }
}

/* end company */
/* yandex widget */
.yandex-widget {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

@media (max-width: 991.98px) {
    .yandex-widget>iframe {
        min-height: 811px;
    }
}

/* end yandex widget */
/* chips start */
/* Отступ до тегов */
.catalog_page>.top-content-block>.section-block {
    margin-bottom: 60px;
}

.chips.chips__inner_page {
    margin: 0 0 60px;
}

.chips__wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 !important;
    padding: 0 !important;
}

.chips__item {
    font-size: 14px;
    line-height: 32px;
    text-decoration-line: none !important;
    color: #222;
    white-space: nowrap;
    padding: 5px 15px;
    border-radius: 100px;
    background-color: #F8F8FC;
    border: 1px solid #EBEBEE;
    display: inline-block;
    transition: all .3s ease-in-out;
    cursor: pointer;
    max-width: max-content;
}

.chips__item.active,
.chips__item:hover {
    border-color: #EA542B;
    background-color: #fff;
    color: #222;
}

@media (max-width: 1199.98px) {
    .chips__wrapper.mobile-scrolled {
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;
        overflow-y: hidden;
        overflow-x: auto;
        margin-left: -16px !important;
        margin-right: -16px !important;
        padding: 0 16px 8px !important;
    }

    .chips__wrapper.mobile-scrolled::-webkit-scrollbar {
        -webkit-appearance: none;
        width: 0;
        height: 0;
        background: transparent;
    }

    .chips__wrapper:not(.mobile-scrolled) .chips__item {
        font-size: 12px;
        line-height: 30px;
        padding: 2px 12px;
        border-radius: 21px;
        height: 36px;
    }
}

/* chips end */
/* developer logo */
i.svg.inline.svg-inline-developer_logo,
.developer__title,
.developer__logo img {
    display: none;
}

.developer__logo,
.logo-dev {
    width: 283px;
    height: 32px;
    background: url('../images/logo-dev.svg') no-repeat 50% 50% / contain;
    max-width: 100%;
    transition: all .3s ease-in-out;
}

.developer__logo:hover,
.logo-dev:hover {
    opacity: .8;
}

/* end developer logo */

/* end MAIN PAGE */

/* CATALOG */
/*
--section-image-size: 120px;
*/
/*
<div class="sections-list-full__items grid-list row-gap row-gap--24 column-gap column-gap--24  grid-list--items grid-list--items-2-from-601  grid-list--items-3-from-1200  grid-list--items-3-from-992 grid-list--items-1-to-600 sections-list-full__items--top-image">
<div class="sections-list-full__item line-block line-block--gap line-block--gap-40 line-block--align-normal grid-list__item line-block--column" id="bx_1847241719_306">
*/
.sections-list-full__items.grid-list.row-gap.grid-list--items.grid-list--items-2-from-601.grid-list--items-4-from-1200.grid-list--items-3-from-992.grid-list--items-2-to-600 {
    --items-count: 1;
}

@media (min-width: 768px) {
    .sections-list-full__items.grid-list.row-gap.grid-list--items.grid-list--items-2-from-601.grid-list--items-4-from-1200.grid-list--items-3-from-992.grid-list--items-2-to-600 {
        --items-count: 2;
    }
}

@media (min-width: 1200px) {
    .sections-list-full__items.grid-list.row-gap.grid-list--items.grid-list--items-2-from-601.grid-list--items-4-from-1200.grid-list--items-3-from-992.grid-list--items-2-to-600 {
        --items-count: 3;
    }
}

.sections-list-full__items--top-image .sections-list-full__item-image-wrapper--PICTURES {
    width: 240px;
    height: 206px;
    border-radius: 12px;
}

@media (min-width: 1200px) {
    .sections-list-full__items--top-image .sections-list-full__item-image-wrapper--PICTURES {
        width: 280px;
        height: 240px;
    }
}

.sections-list-full__item.line-block.line-block--gap.line-block--gap-20.line-block--align-normal.grid-list__item.line-block--column {
    gap: 24px;
}

@media (min-width: 1200px) {
    .sections-list-full__item.line-block.line-block--gap.line-block--gap-20.line-block--align-normal.grid-list__item.line-block--column {
        gap: 40px;
    }
}

/* 2 and 3 levels  */
#main .sections-list__inner.line-block.line-block--align-normal.line-block--flex-wrap.line-block--gap.line-block--gap-8-to-600.mobile-scrolled--items-auto.mobile-scrolled--small-offset.mobile-offset {
    flex-wrap: wrap !important;
}

#main .sections-list__inner .sections-list__item-link {
    max-width: 100%;
}

@media (min-width: 768px) {
    .sections-list__wrapper.line-block__item.stroke-theme-parent-all.colored_theme_hover_bg-block.animate-arrow-hover {
        width: calc((100% / 4) - (48px / 4));
    }

    .sections-list__item-link.d-block.dark_link.height-100 {
        padding: 26px 24px;
        border-radius: 12px;
    }

    .sections-list__item.height-100.outer-rounded-x.color-dark-parent-all.bordered.white-bg.shadow-hovered.shadow-no-border-hovered:hover {
        box-shadow: 0 5px 20px 1px #EBECEF !important;
        background: white;
    }

    span.sections-list__item-inner.line-block.line-block--gap.line-block--gap-24.line-block--gap-16-to-600.height-100 {
        flex-direction: column;
    }

    span.sections-list__item-image-wrapper.no-shrinked.line-block__item.line-block.line-block--gap.line-block--justify-center.sections-list__item-image-wrapper--PICTURES.rounded.relative.overflow-block {
        /*width: 100%;
        height: unset;*/
        width: 160px;
        height: 160px;
        aspect-ratio: 320 / 320;
        border-radius: 0;
    }

    img.sections-list__item-image.img.absolute.fit-image {
        width: 100%;
        height: 100%;
    }

}

@media (max-width: 767.98px) {
    .sections-list__wrapper.line-block__item.stroke-theme-parent-all.colored_theme_hover_bg-block.animate-arrow-hover {
        min-width: 100%;
    }

    span.sections-list__item-image-wrapper.no-shrinked.line-block__item.line-block.line-block--gap.line-block--justify-center.sections-list__item-image-wrapper--PICTURES.rounded.relative.overflow-block {
        border-radius: 0;
        width: 80px;
        height: 80px;
    }
}

/* end 2 and 3 levels  */

/* end CATALOG */

/* CATALOG DETAIL  */
.column-gap-8,
.column-gap-12 {
    display: flex;
    flex-direction: column;
}

.column-gap-8 {
    gap: 8px;
}

.column-gap-12 {
    gap: 12px;
}

.row-gap-10,
.row-gap-4 {
    display: flex;
}

.row-gap-4 {
    gap: 4px;
}

.row-gap-10 {
    gap: 10px;
}

.color_000 {
    color: #000;
}

a[class*="row-gap-"] {
    display: inline-flex;
}

.icon_16 {
    width: 16px;
    min-width: 16px;
    height: 16px;
}

.icon_22 {
    width: 22px;
    min-width: 22px;
    height: 22px;
}

.icon_24 {
    width: 24px;
    min-width: 24px;
    height: 24px;
}

/* Галерея */
.gallery__item--thumb.swiper-slide-thumb-active {
    border-color: transparent;
    box-shadow: 0 0 0 2px #EB532D inset;
}

/* Заголовок */
.grid-list.grid-list--items.gap.gap--16 {
    order: 0;
}

.grid-list.grid-list--items.gap.gap--16 .border-bottom {
    /* Убрать из разметки */
    display: none;
}

/* Характеристики */
.properties-wrapper.grid-list__item {
    order: 1;
}

/* Размер */
.grid-list__item.catalog-detail__offers {
    order: 2;
}

.sku-props--detail .sku-props__title {
    font-family: Golos Text;
    font-weight: 500;
    font-size: calc(1rem - 1px);
    line-height: calc(1em + 7px);
    color: #222;
}

.sku-props--detail .sku-props__js-size {
    display: none;
}

button.sku-props__value.font_16.sku-props__value {
    padding: 4px 16px;
    --sku-height: 32px;
}

button.sku-props__value.font_16.sku-props__value--active {
    &:not(.sku-props__value--pict) {
        box-shadow: 0 0 0 2px #EB532D inset;
    }
}

/* Описание */
.grid-list__item.catalog-detail__previewtext {
    order: 100;
}

/**/
.catalog-detail__custom_delivery svg {
    fill: #989898;
}

/**/
.catalog-detail__custom_order {
    padding: 24px 20px;
    display: flex;
    gap: 16px;
    background: #F8F8FC;
    border-radius: 12px;
}

.icon-64__custom_order {
    display: inline-block;
    width: 64px;
    min-width: 64px;
    height: 64px;
    background: url('../images/warehouse_cart.png') no-repeat 50% 50% / contain;
}

.catalog-detail__custom_order a {
    align-items: center;
    text-decoration: none;
}

.catalog-detail__custom_order a:not(:hover) {
    color: #555558;
}

.catalog-detail__custom_order a svg {
    fill: #B7BCC1;
}

/* end CATALOG DETAIL  */

/* DEALERS */
.dealers_wrapper {
    /* display: flex;
    flex-direction: column;
    gap: 16px;
        */
}

.dealers_wrapper>.clearboth {
    display: none;
}

.dealers_wrapper .other_dealers_block {
    margin-top: 32px;
}

.dealers_wrapper .other_dealers_item {
    margin-bottom: 16px;
}

.dealers_wrapper .region_name {
    font-size: 16px;
}

.dealers_wrapper .region {
    margin-bottom: 8px;
}

.dealers_wrapper .region_items .item {
    padding-bottom: 16px;
}

.dealers_list~.form.inline.aspro_premier_cheaper_s1 {
    display: none;
}

@media (min-width: 1200px) {
    .dealers_wrapper .other_dealers_block {
        margin-top: 16px;
    }
}

/*
.dealers_wrapper .form.inline.aspro_premier_cheaper_s1 {
    margin-top: 0;
    margin-bottom: 100px;
    padding-bottom: 16px;
    border-radius: var(--theme-button-border-radius);
}
.dealers_wrapper .aspro_premier_cheaper_s1 #captcha-container iframe {
    min-width: calc(100%  + 31px) !important;
    min-height: calc(100%  + 32px) !important;
    padding: 32px 0 0;
    margin: 116px -16px 0;
    position: relative !important;
    background: transparent !important;
    border-radius: var(--theme-button-border-radius) !important;
}
*/
.dealers_wrapper .contacts_map {
    border-radius: var(--theme-button-border-radius);
    overflow: hidden;
    border: 1px solid var(--input_border_color);
    margin-bottom: 80px;
}

@media (max-width: 767.98px) {
    .dealers_wrapper .contacts_map {
        margin-bottom: 48px;
    }
}

.store_item a {
    text-decoration: none;
}

.store_item a:hover {
    --underline-opacity: 16%;
    text-decoration-line: underline;
    text-decoration-thickness: 1px;
    text-decoration-color: color-mix(in oklab, var(--white_text_black) var(--underline-opacity), transparent);
    text-underline-offset: .2em;
}

/* DEALERS */

/* HELPERS */
.nowrap {
    white-space: nowrap;
}

.img-responsive {
    display: block;
    max-width: 100%;
}

.d-flex {
    display: flex;
}

.user-select-none {
    user-select: none;
}

.img_responsive {
    max-width: 100%;
    height: auto;
    display: block;
}

/* end HELPERS */
/* COMMON  */
.section_custom_top h2 {
    font-size: 20px;
    line-height: 30px;
}

.section_custom_gap {
    margin: 80px 0;
}

.section_custom_gap_bottom {
    margin: 0 0 80px;
}

.section_custom_top {
    margin-bottom: 40px;
}

.section_text_block:not(:nth-last-of-type(1)) {
    margin-bottom: 32px;
}

@media (max-width: 1199.98px) {
    .section_custom_gap {
        margin: 48px 0;
    }

    .section_custom_gap_bottom {
        margin: 0 0 48px;
    }

    .section_custom_top {
        margin-bottom: 32px;
    }
}

@media (min-width: 1200px) {
    .section_custom_top h2 {
        font-size: 24px;
        line-height: 32px;
    }

    .section_text_block:not(:nth-last-of-type(1)) {
        margin-bottom: 40px;
    }
}

/* end COMMON  */
/* FORM  */
.custom_form .form-group {
    margin-bottom: 15px;
    overflow: hidden;
}

.custom_form .filelabel_wrapper {
    margin-top: auto;
    width: 100%;
}

.custom_form .form-group.d-flex {
    flex-wrap: wrap;
}

.custom_form .licence_group {
    margin-bottom: 10px;
}

.custom_form .licence_group .licence_block {
    display: flex;
    align-items: flex-start;
    gap: 4px;
}

.custom_form .licence_group .licence_block input[type="checkbox"] {
    margin: 7px 0 0;
}

@media (max-width: 767.98px) {
    .custom_form .col-md-6:not(:nth-last-of-type(1)) {
        margin-bottom: 15px;
    }
}

@media (min-width: 768px) {
    .custom_form {
        border: 1px solid #d7d8da;
        border-radius: 24px;
        padding: 48px;
    }
}

/* end FORM */

/* MOSCOW */
/*
.capital_inner .shops {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.capital_inner .shops .region {
    width: 25%;
}
*/
.capital_inner .shops .region_name {
    font-family: Golos Text;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 36px;
    letter-spacing: 0%;
    text-decoration: underline;
    color: #222;
}

@media (any-hover: hover) {
    .capital_inner .shops .region_name:hover {
        color: #277abe;
        text-decoration: none;
        transition: all 0.3s ease;
    }
}

/* end MOSCOW */

/* ITEMS  */
.shops.list .item.wi {
    padding: 24px;
    border-bottom: 1px solid #EBECEF;
}

.shops.list .item.wi .rubber {
    display: flex;
    justify-content: space-between;
    gap: 32px;
}

.shops.list .item.wi .rubber .schedule_phone_email {
    width: 280px;
    min-width: 280px;
}

@media (any-hover: hover) {

    .shops.list .item.wi .rubber .title_metro:hover .title,
    .store_property a:hover,
    .schedule_phone_email a:hover {
        color: #277abe;
    }
}

.shops.list .item.wi .rubber .title_metro {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.shops.list .item.wi .rubber .title_metro {
    font-size: 16px;
    line-height: 24px;
}

.shops.list .item.wi .rubber .title_metro .title {
    font-weight: 500;
    color: #222;
}

.shops.list .item.wi .rubber .title_metro .metro:not(:hover),
.shops.list .item.wi .rubber .schedule_phone_email a:not(:hover),
.shops.list .item.wi .rubber .title_metro .address:not(:hover) {
    color: #555558;
}

.shops.list .item.wi .rubber .title_metro .metro {
    display: flex;
    align-items: center;
}

.store_property.metro .value {
    display: flex;
    align-items: center;
}

.store_property .value {
    color: #222;
}

.schedule_text br+br {
    display: none;
}

.store_property a,
.shops.list .item .rubber a {
    text-decoration: none;
}

.metro_icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    background: url('../images/svg/metro.svg') no-repeat 50% 50% / contain;
    margin-right: 8px;
}

@media (max-width: 767.98px) {
    .shops.list .item.wi .rubber {
        flex-direction: column;
        gap: 16px;
    }

    .shops.list .item.wi {
        padding: 16px 0;
    }

    .shops.list .item.wi .rubber .schedule_phone_email {
        width: 100%;
    }
}

/* end ITEMS  */

/* DETAIL  */
.wrapper_inner.shop.detail .back {
    margin-top: 24px;
    display: inline-block;
}

.wrapper_inner.shop.detail~.form {
    display: none;
}

/* end DETAIL  */

/* end DEALERS */

/* THEME BUG CALLING MODALS  */
.body>div>div {
    filter: unset !important;
}

/* end THEME BUG CALLING MODALS  */
/* BLOG */
.top-meta .line-block__item .category-separator-sibling.category-separator-sibling--inline.category-separator-sibling--padding-right:first-child,
.top-meta .line-block__item .category-separator.category-separator--no-margin-left,
.news-list.news-list-template .sticker.sticker--offset-16 {
    display: none;
}

.news-list.news-list-template .ui-card--image-scale .ui-card__image:before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .05);
    z-index: 1;
}

/* end BLOG */
/* SLIDER BRANDS */
.custom_brands .brands-list .brands-list__item {
    --box_shadow: var(--stroke_black);
    border: none;
    box-shadow: inset 0 0 0 1px var(--box_shadow);
    background-color: #FFF;
}

.custom_brands .brands-list img.brands-list__image {
    max-width: 100%;
    max-height: 100%;
}

@media (min-width: 992px) {
    .custom_brands .brands-list .brands-list__image-wrapper {
        max-width: 130px;
        min-width: 130px;
        height: 70px;
    }
}

/* end SLIDER BRANDS */

/* DOWNLOAD DOCS */
.file-type {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px
}

.file-type--inline {
    display: inline-block
}

.file-type__icon {
    width: 40px;
    height: 40px;
    display: inline-block;
    background: url("/bitrix/templates/aspro-premier/css/../images/svg/docs.svg") 0px -84px no-repeat;
    float: left;
}

.file-type__icon--jpg {
    background-position: -42px -42px
}

.file-type__icon--rtf {
    background-position: 0px -42px
}

.file-type__icon--tiff {
    background-position: -84px -42px
}

.file-type__icon--ppt {
    background-position: -84px -126px
}

.file-type__icon--pdf {
    background-position: 0px -0px
}

.file-type__icon--word {
    background-position: -42px 0
}

.file-type__icon--png {
    background-position: -84px -84px
}

.file-type__icon--txt {
    background-position: -42px -84px
}

.file-type__icon--excel {
    background-position: -84px 0
}

.file-type__icon--gif {
    background-position: 0px -126px
}

.file-type__icon--bmp {
    background-position: -42px -126px
}

.file-type .file-type__icon-hover {
    position: absolute;
    opacity: 0;
    visibility: hidden
}

@media (any-hover: hover) {
    .file-type-parent--with-hover:hover .file-type {
        background: var(--darkerblack_bg_black)
    }

    .file-type-parent--with-hover:hover .file-type__icon {
        opacity: 0;
        visibility: hidden
    }

    .file-type-parent--with-hover:hover .file-type__icon-hover {
        opacity: 1;
        visibility: visible
    }
}

@media (prefers-reduced-motion:no-preference) {

    .file-type-parent--with-hover .file-type,
    .file-type-parent--with-hover .file-type__icon {
        transition: .2s ease background
    }

    .file-type-parent--with-hover .file-type__icon,
    .file-type__icon-hover {
        transition: .2s ease opacity, .2s ease visibility
    }
}

/* end DOWNLOAD DOCS */

/* CUSTOM UL */
[class*="custom_ul"]:not(.mb) {
    margin-bottom: 0;
}

[class*="custom_ul"] li {
    margin-left: 16px;
}

[class*="custom_ul"] li:before {
    margin-left: -16px;
}

.custom_ul_left_space {
    margin-left: 16px;
}

/* end CUSTOM UL */

/* FIX серой заливки на карточках при :hover */
.shadow-hovered.shadow-no-border-hovered,
.shadow-no-border-hovered__target {
    background: #FFF;
}

/* end FIX серой заливки на карточках при :hover */

/* SERVICES */
.services-detail__bottom-info .detail-block.ordered-block.dops h3 {
    display: none;
}

@media (max-width: 1199.98px) {
    .services-detail__bottom-info .order-info-block .line-block__item.flex-1 {
        display: none;
    }

    .services-detail__bottom-info .order-info-block .line-block {
        flex-wrap: nowrap;
        min-width: 100%;
    }

}

/* end SERVICES */

/* CONTACTS */
.contacts-detail__image {
    width: 100%;
    height: 460px;
    overflow: hidden;
}

.wrap_contacts .contacts_map {
    border-radius: 12px;
    overflow: hidden;
}

.contacts_wrapper {
    gap: 16px;
}

.contacts_add {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 10px;
}

@media (max-width: 600px) {
    .wrap_contacts .contacts_cards {
        margin-top: 8px;
    }
}

/* end CONTACTS */

/* ADVANTAGES */
.advantages_block .advantages_item:not(:nth-last-of-type(1)) {
    margin-bottom: 16px;
}

.advantages_title {
    font-weight: 700;
}

/* end ADVANTAGES */

/**/
@media (any-hover: hover) {
    .brightness:hover {
        animation: brightness .8s ease forwards
    }
}

@keyframes brightness {
    10% {
        filter: brightness(.7)
    }
}

/**/

/* TEMP  */
/* Кнопка Загрузить на десктопе  */
@media (min-width: 1200px) {
    .CATALOG_TAB .bottom_nav.hide-600 {
        display: block !important;
    }

    .CATALOG_TAB .bottom_nav.hide-600 .ajax_load_btn {
        display: block !important;
    }
}

/* end Кнопка Загрузить на десктопе  */
/* Выравнивание заголовков */
@media (min-width: 600px) {
    .CATALOG_SECTIONS .ui-cards .ui-card__info {
        align-items: flex-start;
    }

    .CATALOG_SECTIONS .ui-cards .ui-card__info .ui-card__title {
        min-height: 48px !important;
    }

    .CATALOG_SECTIONS .ui-cards .ui-card__info .svg.arrow {
        margin-top: 8px !important;
    }
}

/* end Выравнивание заголовков */
/* Табы  */
.custom_tabs ul {
    border-block-style: none;
}

.custom_tabs ul:before {
    display: none;
}

.custom_tabs ul li {
    margin: 0;
}

.custom_tabs ul li:before {
    display: none;
}

.custom_tabs .tabs .nav-tabs .nav-tabs__item a {
    border-style: none !important;
    cursor: pointer;
    display: block;
    color: var(--fill_dark_lite_white_hover);
    background-color: var(--secondary-black-dark-light-bg);
    padding: 12px 20px;
    border-radius: var(--theme-button-border-radius);
    text-decoration: none;
    font-size: calc(1rem - 2px);
    line-height: calc(1em + 6px);
}

.custom_tabs .tabs .nav-tabs .nav-tabs__item.active a {
    color: var(--button_color_text);
    cursor: default;
}

.custom_tabs .tabs .nav-tabs .nav-tabs__item {
    padding: 0;
}

.custom_tabs .tabs .nav-tabs .nav-tabs__item {
    background-color: transparent !important;
}

.custom_tabs .tabs .nav-tabs .nav-tabs__item.active a {
    background-color: #EA542B !important;
}

.custom_tabs .items.region_items {
    display: block;
}

@media (max-width: 1199.98px) {
    .custom_tabs .tabs .nav-tabs {
        padding: 0 16px 8px !important;
    }
}

/* end Табы  */

/* IFRAME  */
.custom_iframe_wrapper {
    position: relative;
    overflow: hidden;
    height: 450px;
}

.custom_iframe_wrapper .custom_iframe {
    height: 460px;
    max-width: calc(100% + 10px);
    min-width: calc(100% + 10px);
    position: absolute;
    inset: -5px;
}

/* end IFRAME  */

/* PAGE TITLE COUNTER GAP FIX  */
.topic__inner .element-count-wrapper .element-count {
    margin-left: 0;
}

/* end PAGE TITLE COUNTER GAP FIX  */

/* INLINE FORM */
.r4_form_inline .form-error.alert {
    width: 100%;
}

.r4_form_inline .form-inner.form-inner--popup {
    margin: auto;
}

@media (min-width: 768px) {
    .r4_form_inline .form-body {
        display: flex;
        flex-direction: row;
        column-gap: 32px;
        flex-wrap: wrap;
    }

    .r4_form_inline .form-body>.row {
        width: calc(50% + 16px);
    }

    .r4_form_inline .form-body>.form-checkbox {
        min-width: 100%;
    }
}

@media (max-width: 767.98px) {
    .r4_form_inline .form-footer .btn {
        width: 100%;
    }
}

/* end INLINE FORM */