/*NOTE: This file is intended for programmers. Aspro technical support is not advised to work with him.*/

body:has(.body.index) {
    background: #e1e3d6;
}

/* Кастомная шапка по макету. */
.header_custom {
    --header-green: #768a71;
    --header-border: #c8d0c1;
    --header-orange: #e3642f;
    --header-text: #171717;
    background: transparent;
    color: var(--header-text);
}

.custom_no_tabs .tabs{
    display: none;
}
.float-banner-custom__button{
    background: #e3642f !important;
}
.status-icon.order{
    color: #768a71;
}

.sections-list__item-image-wrapper{
    display: none;
}

.status-icon.order:before{
    background-color: #768a71;
    border-color: #768a71;
}

.banners-big--detail{
    margin-top: 15px;
}

.header_custom .header_bg {
    display: flex;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    min-height: 114px;
    box-sizing: border-box;
    padding: 0;
    overflow: visible;
    border-radius: 0 0 30px 30px;
    background: #fff;
}

body:not(.front_page) .header_custom .header_bg {
    border: 1px solid var(--header-green);
}

.header_custom .header__logo {
    display: flex;
    align-items: center;
    flex: 0 0 220px;
    margin: 0;
    padding-left: 38px;
    box-sizing: border-box;
}

.header_custom .header__logo .logo {
    width: 182px;
    max-width: 182px;
    height: 64px;
}

.header_custom .header__inner {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    width: auto;
    min-width: 0;
}

.header_custom .header__top-part,
.header_custom .header__main-part {
    width: 100%;
    box-sizing: border-box;
    background: #fff;
    border: 0;
    padding-right: 28px;
}

.header_custom .header__top-part {
    flex: 0 0 46px;
    height: 46px;
    padding: 0 28px 0 4px;
}

.header_custom .header__top-inner {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    gap: 24px;
}

.header_custom__top-left,
.header_custom__center,
.header_custom__main-actions {
    display: flex;
    align-items: center;
}

.header_custom__top-left {
    flex: 0 1 auto;
    gap: 24px;
    min-width: 0;
}

.header_custom__center {
    z-index: 1;
    gap: 20px;
    margin-left: auto;
    margin-right: auto;
}

.header_custom__top-left .header__top-item,
.header_custom__phone,
.header_custom__right-block {
    margin: 0;
}

/*.header_custom .header__top-item {
    white-space: nowrap;
}*/

.header_custom .header__top-item .address,
.header_custom .header__top-item .phones,
.header_custom .header__top-item .phones__inner {
    color: var(--header-text);
}

.header_custom .header__top-item .address {
    font-size: 14px;
}

.header_custom .header__top-item .address:after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    margin: 0 0 2px 10px;
    border-top: 5px solid var(--header-green);
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}

.header_custom__social .social-icons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header_custom__social .social-icons a,
.header_custom__social .social-icons__item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: #e5e6dc;
}

.header_custom__social .social__items {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.header_custom__social .social__item {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header_custom__social .social__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: 0;
    overflow: hidden;
    border-radius: 6px;
    background: #e5e6dc;
    transition: opacity .2s ease, background-color .2s ease;
}

.header_custom__social .social__link:hover {
    opacity: .75;
}

.header_custom__social .social__link svg {
    display: block;
    width: 13px;
    height: 13px;
}

.header_custom__social .social__link svg path {
    fill: #2d2d2d !important;
    opacity: 1;
}

.header_custom__social .svg-inline-wh {
    display: block;
    width: 12px;
    height: 12px;
    background: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M5.95867 11.6334C4.81373 11.6334 4.28166 11.4655 3.35681 10.794C2.7718 11.5494 0.919298 12.1398 0.838504 11.1298C0.838504 10.3716 0.671358 9.73086 0.481927 9.0314C0.256289 8.16966 0 7.21 0 5.81949C0 2.49846 2.71331 0 5.92803 0C9.14554 0 11.6666 2.62157 11.6666 5.85026C11.6774 9.02902 9.12366 11.6164 5.95867 11.6334ZM6.00603 2.87057C4.44046 2.78944 3.2203 3.8778 2.95009 5.58447C2.72723 6.99738 3.1228 8.71804 3.45987 8.80757C3.62145 8.84674 4.02817 8.51659 4.28166 8.262C4.70084 8.55283 5.18897 8.72751 5.69682 8.7684C7.31902 8.84677 8.70513 7.60642 8.81404 5.97898C8.87745 4.34807 7.62846 2.96671 6.00603 2.87337V2.87057Z' fill='%232D2D2D'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
}

.header_custom__social .svg-inline-wh > svg {
    display: none;
}

.header_custom__email {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    color: var(--header-text);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.header_custom__email-value > div {
    display: inline;
}

.header_custom__email-value > div:not(:last-child)::after {
    content: ", ";
}

.header_custom__email-link {
    color: inherit;
    text-decoration: none;
}

.header_custom__email-link:hover {
    color: var(--header-green);
}

.header_custom__email-icon {
    display: block;
    flex: 0 0 13px;
    width: 13px;
    height: 13px;
    margin-right: 9px;
}

.header_custom__phone {
    flex: 0 0 auto;
    margin-left: auto;
}

.header_custom__phone .phones {
    gap: 18px;
}

.header_custom__phone .phones__callback {
    margin-left: 0;
    color: var(--header-green);
    font-size: 13px;
    font-weight: 600;
}

.header_custom__phone .phones__phone-link {
    font-size: 14px;
}

.header_custom__right-block {
    flex: 0 0 auto;
}

.header_custom .header__main-part {
    flex: 1 1 auto;
    height: 68px;
    min-height: 68px;
    border: 0;
    background: transparent !important;
}

.header_custom .header__main-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    min-width: 0;
    margin: 0;
}

.header_custom__catalog-toggle {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    width: 306px;
    min-width: 306px;
    height: 42px;
    margin-right: 34px;
    overflow: visible;
    border: 1px solid var(--header-green);
    border-radius: 8px;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
}

.header_custom__catalog-primary {
    display: flex;
    flex: 1 1 50%;
    align-items: center;
    height: 100%;
    min-width: 0;
    border-radius: 5px 0 0 5px;
}

.header_custom__catalog-trigger {
    display: inline-flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: 5px 0 0 5px;
    background: transparent;
    color: var(--header-text);
    cursor: pointer;
}

.header_custom__catalog-trigger.is-active {
    background: var(--header-green);
    color: #fff;
}

.header_custom__catalog-link {
    display: inline-flex;
    font-size: 12px;
    flex: 1 1 50%;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 100%;
    min-width: 0;
    padding: 0 12px;
    color: var(--header-text);
    border-radius: 5px;
    text-decoration: none;
    transition: color .2s ease, background-color .2s ease;
}

.header_custom__catalog-primary .header_custom__catalog-link {
    flex: 1 1 auto;
    padding-right: 6px;
    padding-left: 6px;
    border-radius: 0 5px 5px 0;
}

.header_custom__catalog-link.is-active {
    color: #fff;
    background: var(--header-green);
}

.header_custom__catalog-link:not(.is-active):hover {
    background: #dce1d5;
}

.header_custom__catalog-icon {
    flex: 0 0 auto;
    width: 20px;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
}

.header_custom__catalog-dropdown {
    position: absolute;
    z-index: 20;
    top: calc(100% - 1px);
    left: 50vw;
    width: min(1216px, calc(100vw - 32px));
    max-height: min(60vh, 480px);
    box-sizing: border-box;
    padding: 25px 40px;
    overflow: auto;
    border-radius: 0 0 8px 8px;
    background: #fff;
    box-shadow: 0 14px 28px rgba(23, 23, 23, .14);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    visibility: hidden;
}

.header_custom__catalog-dropdown[aria-hidden="false"] {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
    visibility: visible;
}

.header_custom__catalog-sections {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header_custom__catalog-section {
    min-width: 0;
    margin: 0;
    padding: 0;
}

.header_custom__catalog-section-title {
    margin: 0 0 10px;
    color: #333;
    font-size: 20px;
    font-weight: 400;
    line-height: 26px;
}

.header_custom__catalog-items {
    display: flex;
    flex-direction: column;
    gap: 0 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header_custom__catalog-item {
    margin: 0;
    padding: 0;
}

.header_custom__catalog-item-link {
    color: #333;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    text-decoration: none;
}

.header_custom__catalog-item-link:hover,
.header_custom__catalog-item-link:focus-visible {
    color: var(--header-green);
    text-decoration: none;
}

.header_custom__catalog-more {
    display: flex;
    flex-direction: column;
}

.header_custom__catalog-more-toggle {
    order: 2;
}

.header_custom__catalog-more .header_custom__catalog-items {
    order: 1;
}

.header_custom__catalog-more-toggle {
    width: fit-content;
    color: #c8a85d;
    cursor: pointer;
    font-size: 13px;
    line-height: 20px;
    list-style: none;
}

.header_custom__catalog-more-toggle::-webkit-details-marker {
    display: none;
}

.header_custom__catalog-more-toggle:hover,
.header_custom__catalog-more-toggle:focus-visible {
    color: var(--header-green);
}

.header_custom__catalog-more-close,
.header_custom__catalog-more[open] .header_custom__catalog-more-open {
    display: none;
}

.header_custom__catalog-more[open] .header_custom__catalog-more-close {
    display: inline;
}

.header_custom__catalog-more .header_custom__catalog-items {
    margin-top: 4px;
}

.header_custom__catalog-empty {
    color: #666;
    font-size: 14px;
}

.header_custom .header-menu {
    flex: 1 1 0;
    width: 0;
    min-width: 0;
    margin: 0;
    max-width: 645px;
    overflow: visible !important;
}

.header_custom .header-menu .mega-menu,
.header_custom .header-menu .catalog_icons_Y,
.header_custom .header-menu .catalog_icons_N {
    width: 100%;
    overflow: visible;
}

.header_custom .header-menu__wrapper {
    justify-content: flex-start;
    height: 68px;
    width: 100%;
    min-width: 0;
    overflow: visible;
    flex-wrap: nowrap;
}

.header_custom .header-menu__item {
    height: 68px;
    margin: 0 8px;
    flex: 0 0 auto;
}

.header_custom .header-menu__item--first {
    margin-left: 0;
}

.header_custom .header-menu__item--last {
    margin-right: 0;
}

.header_custom .header-menu__item--more-items {
    margin: 0 13.5px 0 0;
}

.header_custom .header-menu__title {
    text-transform: unset !important;
    font-size: 14px;
    font-weight: 500;
}

.header_custom__main-actions {
    flex: 0 0 auto;
    gap: 18px;
    margin-left: 24px;
    position: relative;
    z-index: 2;
}

.header_custom__main-actions .header-search,
.header_custom__main-actions .header-eyed,
.header_custom__main-actions > [data-ajax-load-block="HEADER_TOGGLE_EYED"],
.header_custom__main-actions > [data-ajax-load-block="HEADER_TOGGLE_SEARCH"] {
    display: none;
}

.header_custom__button {
    margin: 0;
}

.header_custom__button .header-button .btn,
.header_custom__button .header-button a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 243px;
    height: 40px;
    box-sizing: border-box;
    padding: 0 20px;
    border: 0;
    border-radius: 9px;
    background: var(--header-orange);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .2s ease, transform .2s ease;
}

.header_custom__button .header-button .btn:hover,
.header_custom__button .header-button a:hover {
    background: #d94f20;
    color: #fff;
    transform: translateY(-1px);
}

@media (max-width: 1250px) {
    .header_custom .header__logo {
        flex-basis: 190px;
        padding-left: 24px;
    }

    .header_custom .header__logo .logo {
        width: 166px;
    }

    .header_custom .header__top-part {
        padding-right: 18px;
    }

    .header_custom__catalog-toggle {
        width: 306px;
        min-width: 306px;
        margin-right: 18px;
    }

    .header_custom .header-menu__wrapper {
    }

    .header_custom .header-menu__item {
        margin-right: 8px;
        margin-left: 8px;
    }

    .header_custom .header-menu__item--first {
        margin-left: 0;
    }

    .header_custom .header-menu__item--last {
        margin-right: 0;
    }

    .header_custom .header-menu__item--more-items {
        margin-right: 8px;
    }

    .header_custom__main-actions {
        margin-left: 12px;
    }

    .header_custom__button .header-button .btn,
    .header_custom__button .header-button a {
        min-width: 210px;
    }
}

@media (max-width: 991px) {
    .header_custom .header_bg {
        min-height: 76px;
        border-radius: 0 0 18px 18px;
    }

    .header_custom .header__logo {
        flex-basis: 170px;
        padding-left: 18px;
    }

    .header_custom .header__logo .logo {
        width: 145px;
        height: 50px;
    }

    .header_custom .header__top-part {
        display: none;
    }

    .header_custom .header__main-part {
        height: 76px;
        min-height: 76px;
    }

    .header_custom__catalog-toggle,
    .header_custom .header-menu {
        display: none;
    }

    .header_custom__catalog-dropdown {
        display: none;
    }

    .header_custom__main-actions {
        margin-left: auto;
    }

    .header_custom__button .header-button .btn,
    .header_custom__button .header-button a {
        min-width: 190px;
    }
}

@media (max-width: 600px) {
    .header_custom .header__logo {
        flex-basis: 145px;
        padding-left: 14px;
    }

    .header_custom .header__logo .logo {
        width: 128px;
    }

    .header_custom__button .header-button .btn,
    .header_custom__button .header-button a {
        min-width: 0;
        width: 160px;
        padding: 0 10px;
        font-size: 12px;
    }
}

/* Кастомизация баннера. */

.banners-big .main-slider .main-slider__item{
    border-radius: 30px;
}

.banners-big.banners-big--paddings-32{
    padding: 15px;
}

/* Заголовок первого баннера по макету. */
.banners-big .banners-big__title.switcher-title {
    margin: 0;
    color: #000;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 40px;
    font-weight: 800;
    line-height: 125%;
    letter-spacing: .01em;
}

.banners-big .banners-big__text-block{
    font-size: 16px;
    line-height: 181%;
    color: #000;
}

.banners-big .banners-big__text{
    width: 45%;
}

.banners-big .banners-big__title.switcher-title span {
    display: inline;
    visibility: visible;
    opacity: 1;
    color: #768a71;
}

.banners-big__title.switcher-title.banners-big__title--small::highlight(banners-big-last-words) {
    color: #768a71;
}

.banners-big__buttons .btn{
    background: linear-gradient(272.42deg, #e3642f 68.51%, #ffa600 106.94%);
}

@media (max-width: 991px) {
    .banners-big .banners-big__title.switcher-title {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .main-slider__item,
    .banners-big__item{
        background-position: right;
    }

    .banners-big--adaptive-1 .banners-big__text,
    .banners-big--adaptive-3 .banners-big__text{
        width: 100%;
    }

    .index-block .banners-big--adaptive-1 .banners-big__text,
    .banners-big--adaptive-3 .banners-big__text{
        background: #ffffffa1;
        backdrop-filter: blur(3px);
    }

    .banners-big .maxwidth-banner .maxwidth-theme{
        background: #00000030;
    }
}

@media (max-width: 600px) {
    .banners-big .banners-big__title.switcher-title {
        font-size: 26px;
    }
}

/* Блок расчёта стоимости мебели. Фото используется единым фоном, панель контента лежит поверх него. */
.dh-appeal {
    --appeal-green: #768a71;
    --appeal-yellow: #ffc631;
    --appeal-orange: #e3642f;
    position: relative;
    min-height: 676px;
    overflow: hidden;
    border-radius: 30px;
    background: #fff url("/include/mainpage/components/appeal_block/calc-bg-bg.png") 20rem -23rem / cover no-repeat;
    isolation: isolate;
}

.dh-appeal::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg, rgba(24, 31, 23, .1), transparent 64%);
    pointer-events: none;
}

.index-block--padding-bottom-40>.dh-appeal__container,
.index-block--padding-bottom-40>.dh-container{
    padding-top: 16px;
    padding-bottom: 16px;
}

.dh-appeal__shape {
    position: absolute;
    z-index: 1;
    inset: 0 auto 0 0;
    color: var(--appeal-green);
    pointer-events: none;
}

.dh-appeal__shape svg {
    display: block;
    width: 100%;
    height: 100%;
}

.dh-appeal__panel {
    position: absolute;
    z-index: 2;
    inset: 0 auto 0 0;
    width: min(56%, 821px);
    color: #fff;
}

.dh-appeal__content {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    width: 560px;
    max-width: calc(100% - 98px);
    padding: 79px 0 40px 98px;
}

.dh-appeal__title {
    max-width: 497px;
    margin: 0;
    color: #fff;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.53;
    letter-spacing: .5px;
}

.dh-appeal__subtitle {
    margin: 16px 0 0;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 42px;
    letter-spacing: .5px;
}

.dh-appeal__list {
    display: grid;
    gap: 14px;
    margin: 22px 0 0;
    padding: 0;
    color: #fff;
    list-style: none;
}

.dh-appeal__list li {
    display: flex;
    align-items: flex-start;
    gap: 3px;
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
}

.dh-appeal__list li::before {
    display: none;
}

.dh-appeal__icon {
    flex: 0 0 19px;
    width: 19px;
    color: var(--appeal-yellow);
    font-size: 19px;
    line-height: 19px;
    text-align: center;
}

.dh-appeal__action {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 43px;
}

.dh-appeal__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 373px;
    min-height: 65px;
    box-sizing: border-box;
    padding: 8px 18px;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 8px;
    background: linear-gradient(90deg, var(--appeal-orange) 0%, #ffa600 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    text-align: center;
    text-decoration: none;
    transition: box-shadow .2s ease, transform .2s ease;
}

.dh-appeal__button:hover,
.dh-appeal__button:focus-visible {
    color: #fff;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(227, 100, 47, .35);
    transform: translateY(-1px);
}

.dh-appeal__emoji {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 35px;
    line-height: 43px;
    white-space: nowrap;
}

.dh-appeal__note {
    max-width: 396px;
    margin: 62px 0 0;
    color: #e1e3d6;
    font-size: 14px;
    font-weight: 500;
    line-height: 17px;
}

.dh-appeal__person {
    position: absolute;
    z-index: 2;
    right: -18px;
    bottom: 44px;
    display: flex;
    flex-direction: column;
    width: 341px;
    box-sizing: border-box;
    padding: 26px;
    border-radius: 20px;
    background: var(--appeal-yellow);
    color: #000;
}

.dh-appeal__person-name {
    color: #2d2d2d;
    font-size: 24px;
    line-height: 29px;
}

.dh-appeal__person-role {
    margin-top: 7px;
    color: #000;
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
}

.FORMS .index-block--padding-top-40>div {
    padding-top: 16px;
}

@media (max-width: 1399px) {
    .dh-appeal {
        background-position: center right;
    }

    .dh-appeal__panel {
        width: 56%;
    }

    .dh-appeal__content {
        width: auto;
        max-width: none;
        padding: 56px 40px 32px 60px;
    }

    .dh-appeal__title {
        max-width: none;
        font-size: 28px;
        line-height: 1.35;
    }

    .dh-appeal__subtitle {
        font-size: 14px;
        line-height: 28px;
    }

    .dh-appeal__list li {
        font-size: 14px;
    }

    .dh-appeal__button {
        width: 290px;
        min-height: 52px;
        font-size: 13px;
    }

    .dh-appeal__person {
        right: -12px;
        bottom: 32px;
        width: 280px;
        padding: 20px;
    }

    .dh-appeal__person-name {
        font-size: 20px;
        line-height: 25px;
    }

    .dh-appeal__person-role {
        font-size: 16px;
        line-height: 20px;
    }
}

@media (max-width: 991px) {
    .dh-appeal {
        min-height: 0;
    }

    .dh-appeal__panel {
        position: relative;
        width: 100%;
        min-height: 500px;
        background: rgba(118, 138, 113, .94);
    }

    .dh-appeal__shape {
        display: none;
    }

    .dh-appeal__content {
        width: auto;
        max-width: none;
        padding: 48px 46px 32px;
    }

    .dh-appeal__title {
        max-width: none;
        font-size: 28px;
        line-height: 36px;
    }

    .dh-appeal__person {
        display: none;
    }
}

@media (max-width: 767px) {
    .dh-appeal {
        border-radius: 20px;
        background-position: 68% center;
    }

    .dh-appeal__panel {
        min-height: 0;
    }

    .dh-appeal__content {
        padding: 32px 20px 24px;
    }

    .dh-appeal__title {
        font-size: 24px;
        line-height: 32px;
    }

    .dh-appeal__subtitle {
        font-size: 15px;
        line-height: 28px;
    }

    .dh-appeal__list {
        gap: 12px;
        margin-top: 18px;
    }

    .dh-appeal__list li {
        font-size: 14px;
    }

    .dh-appeal__action {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 28px;
    }

    .dh-appeal__button {
        width: 100%;
        min-height: 56px;
        font-size: 15px;
    }

    .dh-appeal__emoji {
        font-size: 32px;
        line-height: 36px;
    }

    .dh-appeal__note {
        margin-top: 24px;
        font-size: 12px;
    }
}

/* Кастомный footer по макету. */
.footer_custom {
    --footer-green: #768a71;
    --footer-border: #dededb;
    --footer-text: #171717;
    border: 0;
    background: #fff;
    color: var(--footer-text);
}

.footer_custom .maxwidth-theme {
    box-sizing: border-box;
    width: 100%;
    max-width: 1500px;
    padding-right: 42px;
    padding-left: 42px;
}

.footer_custom .footer__main-part-inner.footer_custom__main-part-inner {
    display: grid;
    grid-template-columns: 220px minmax(190px, 1.15fr) 150px minmax(300px, 2fr) minmax(270px, 1.45fr);
    align-items: center;
    gap: 28px;
    padding: 40px 0 20px;
}

.footer_custom__brand .logo {
    width: 190px;
    max-width: 100%;
    margin: 0;
}

.footer_custom__contacts,
.footer_custom__actions {
    min-width: 0;
}

.footer_custom__contacts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer_custom__contact-item {
    margin: 0;
}

.footer_custom__contact-item--address .address__text,
.footer_custom__contact-item--email,
.footer_custom__contact-item--email a {
    color: var(--footer-text);
    font-size: 14px;
    line-height: 18px;
}

.footer_custom__contact-item--address .icon-block__icon {
    flex: 0 0 12px;
    width: 12px;
    margin: 1px 10px 0 0;
}

.footer_custom__contact-item--address .icon-block__icon svg,
.footer_custom__contact-item--address .icon-block__icon svg * {
    fill: var(--footer-green);
}

.footer_custom__contact-item--email .icon-block__icon {
    flex: 0 0 12px;
    width: 12px;
    margin: 2px 10px 0 0;
}

.footer_custom__contact-item--email .icon-block__icon svg,
.footer_custom__contact-item--email .icon-block__icon svg * {
    fill: var(--footer-green);
    stroke: var(--footer-green);
}

.footer_custom .footer_custom__rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 96px;
    box-sizing: border-box;
    background: #fff;
    color: var(--footer-text);
    text-align: center;
}

.footer_custom__rating iframe {
    display: block;
    width: 150px;
    min-width: 150px;
    height: 50px;
    min-height: 50px;
    border: 0;
    overflow: hidden;
}

.footer_custom__menus {
    min-width: 0;
}

.footer_custom__menus .bottom-menu .items {
    padding: 0;
}

.footer_custom__menus .bottom-menu .items > .line-block {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(4, auto);
    align-items: start;
    gap: 12px 28px;
}

.footer_custom__menus .bottom-menu .line-block__item,
.footer_custom__menus .bottom-menu .item-link {
    min-width: 0;
    margin: 0;
}

.footer_custom__menus .bottom-menu .title,
.footer_custom__menus .bottom-menu .title a {
    color: var(--footer-text);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
}

.footer_custom__menus .bottom-menu .title a:hover {
    color: var(--footer-green);
}

.footer_custom__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer_custom__phone {
    margin: 0;
}

.footer_custom__phone .phones {
    align-items: flex-end;
    margin: 0;
}

.footer_custom__phone .phones__inner--big > .phones__phone-link {
    color: var(--footer-green) !important;
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    white-space: nowrap;
}

/* В макете footer показывает один номер без штатного dropdown Aspro. */
.footer_custom__phone .phones__inner:hover {
    z-index: auto;
}

.footer_custom__phone .phones__dropdown,
.footer_custom__phone .phones__inner:hover .phones__dropdown,
.footer_custom__phone .phones__dropdown.phones__dropdown--top {
    display: none !important;
}

.footer_custom__phone .more-arrow {
    display: none !important;
}

.footer_custom__brand .logo,
.footer_custom__brand .logo img {
    width: 157px;
    max-width: 157px;
    height: 64px;
}

.footer_custom__schedule {
    margin-top: 2px;
    color: #999;
    font-size: 12px;
    line-height: 16px;
}

.footer_custom__button {
    width: 100%;
    margin-top: 12px;
}

.footer_custom__button .footer_custom__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 58px;
    box-sizing: border-box;
    padding: 10px 18px;
    border: 0;
    border-radius: 9px;
    background: #e3642f;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    text-align: center;
    text-decoration: none;
    transition: background-color .2s ease, transform .2s ease;
}

.footer_custom__button .footer_custom__cta:hover {
    background: #d94f20;
    color: #fff;
    transform: translateY(-1px);
}

.footer_custom__button .footer_custom__cta:focus-visible {
    outline: 2px solid var(--footer-green);
    outline-offset: 3px;
}

.footer_custom__social {
    margin: 12px 0 0;
}

.footer_custom__social .social__items {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
    margin: 0;
}

.footer_custom__social .social__item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 41px;
    height: 41px;
    margin: 0;
    padding: 0;
    border-radius: 4px;
    background: #e5e6dc;
}

.footer_custom__social .social__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.footer_custom__social .social__link svg {
    width: 18px;
    height: 18px;
}

.footer_custom__optional-block {
    margin-top: 12px;
}

.footer_custom .footer_custom__bottom-part-inner {
    min-height: 42px;
    box-sizing: border-box;
    padding: 10px 0;
    border-top: 1px solid var(--footer-border);
}

.footer_custom__bottom-items {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    gap: 16px;
    margin: 0 !important;
}

.footer_custom__bottom-items > .footer__part-item {
    margin: 0;
}

.footer_custom__bottom-items > .footer__part-item:nth-child(2) {
    justify-self: center;
}

.footer_custom__bottom-items > .footer__developer {
    justify-self: end;
}

.footer_custom .footer__copy,
.footer_custom .footer__license,
.footer_custom .footer__license a,
.footer_custom .footer__developer {
    color: #999;
    font-size: 12px;
    line-height: 18px;
}

.footer_custom .footer__developer .developer {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    margin: 0;
    color: #8c9d83;
    font-size: 12px;
    line-height: 18px;
    white-space: nowrap;
}

.footer_custom .footer__developer .developer__title,
.footer_custom .footer__developer .developer__name {
    margin: 0;
}

.footer_custom .footer__developer .developer__name {
    font-weight: 500;
    color: inherit;
    text-decoration: none;
}

.footer_custom .footer__developer .developer:hover {
    color: var(--footer-green);
}

@media (max-width: 1300px) {
    .footer_custom .footer__main-part-inner.footer_custom__main-part-inner {
        grid-template-columns: 170px minmax(180px, 1.1fr) 140px minmax(270px, 1.8fr) minmax(230px, 1.4fr);
        gap: 20px;
    }

    .footer_custom__brand .logo {
        width: 165px;
    }

    .footer_custom__menus .bottom-menu .items > .line-block {
        gap: 12px 18px;
    }
}

@media (max-width: 1100px) {
    .footer_custom .footer__main-part-inner.footer_custom__main-part-inner {
        grid-template-columns: minmax(150px, .8fr) minmax(220px, 1.2fr) 140px minmax(260px, 1.5fr);
        row-gap: 28px;
    }

    .footer_custom__brand {
        grid-column: 1;
    }

    .footer_custom__contacts {
        grid-column: 2;
    }

    .footer_custom__rating {
        grid-column: 3;
    }

    .footer_custom__menus {
        grid-column: 1 / span 2;
    }

    .footer_custom__actions {
        grid-column: 3 / span 2;
        grid-row: 2;
    }
}

@media (max-width: 767px) {
    .footer_custom .maxwidth-theme {
        padding-right: 24px;
        padding-left: 24px;
    }

    .footer_custom .footer__main-part-inner.footer_custom__main-part-inner {
        grid-template-columns: minmax(0, 1fr) minmax(120px, .8fr);
        align-items: start;
        gap: 24px 16px;
        padding: 28px 0 24px;
    }

    .footer_custom__brand {
        grid-column: 1 / -1;
    }

    .footer_custom__brand .logo {
        width: 180px;
    }

    .footer_custom__contacts {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
    }

    .footer_custom .footer_custom__rating {
        grid-column: 1 / -1;
        grid-row: 3;
        display: none;
        align-items: flex-start;
        min-height: 50px;
    }

    .footer_custom__menus {
        grid-column: 1 / -1;
        grid-row: 4;
    }

    .footer_custom__menus .bottom-menu .items > .line-block {
        grid-template-rows: repeat(4, auto);
        gap: 12px 18px;
    }

    .footer_custom__actions {
        grid-column: 1 / -1;
        grid-row: 5;
        align-items: stretch;
    }

    .footer_custom__phone .phones {
        align-items: flex-start;
    }

    .footer_custom__social .social__items {
        justify-content: flex-start;
    }

    .footer_custom .footer_custom__bottom-part-inner {
        padding: 14px 0;
    }

    .footer_custom__bottom-items {
        grid-template-columns: 1fr;
        justify-items: start;
        gap: 8px;
    }

    .footer_custom__bottom-items > .footer__part-item:nth-child(2),
    .footer_custom__bottom-items > .footer__developer {
        justify-self: start;
    }
}

@media (max-width: 480px) {
    .footer_custom .maxwidth-theme {
        padding-right: 24px;
        padding-left: 24px;
    }

    .footer_custom__menus .bottom-menu .items > .line-block {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(4, auto);
        gap: 10px 12px;
    }

    .footer_custom__menus .bottom-menu .title,
    .footer_custom__menus .bottom-menu .title a {
        font-size: 13px;
    }
}

.footer_custom__brand .logo,
.footer_custom__brand .logo img {
    width: 157px !important;
    max-width: 157px !important;
    height: 64px !important;
}

/* Footer — белая карточка на кремовом фоне страницы. */
body:has(.body.index),
body.front_page {
    background-color: #e1e3d6 !important;
}

body.front_page .body.index {
    background: transparent !important;
}

.footer_custom {
    width: calc(100% - 32px);
    max-width: 1500px;
    margin: 32px auto 0;
    overflow: hidden;
    border-radius: 30px 30px 0 0;
    background: #fff !important;
    border: 1px solid var(--footer-green);
}

.footer_custom .footer__main-part,
.footer_custom .footer__bottom-part {
    background: #fff;
}

body.front_page .main > .container > .FORMS {
    position: relative;
    z-index: 1;
    margin-bottom: -109px;
    padding-bottom: 25px;
}

body.front_page #footer.footer_custom {
    position: relative;
    z-index: 2;
}

@media (max-width: 767px) {
    .footer_custom {
        width: calc(100% - 24px);
        margin-top: 32px;
        padding-bottom: 12px !important;
        border-radius: 20px 20px 0 0;
    }

    body.front_page .main > .container > .FORMS{
        padding-bottom: 50px;
    }
}


.header_custom__catalog-section-picture{
    display: none;
}

.banners-big--detail .banners-big__text{
    background: #0000005c;
    backdrop-filter: blur(2px);
    padding: 30px;
}

.banners-big--detail .banners-big__text-block{
    color: white;
}

body>.body:not(.index)>.main{
    padding-bottom: 20px;
}
