/* fonts */
@media {
    @font-face {
        font-family: 'Montserrat Regular';
        src: url("/assets/fonts/Montserrat-Regular.woff");
    }
    @font-face {
        font-family: 'Montserrat Bold';
        src: url("/assets/fonts/Montserrat-Bold.woff");
    }
    @font-face {
        font-family: 'Montserrat ExtraBold';
        src: url("/assets/fonts/Montserrat-ExtraBold.woff");
    }
    @font-face {
        font-family: 'Montserrat Italic';
        src: url("/assets/fonts/Montserrat-Italic.woff");
    }
    @font-face {
        font-family: 'FontAwesome';
        src: url("/assets/fonts/fontawesome-webfont.woff2");
    }
    @font-face {
        font-family: 'Rouble';
        src: url("/assets/fonts/rouble.otf");
    }
}

/* body */
@media {
    body {
        font-family: Montserrat Regular, sans-serif;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        line-height: 1.5em;
    }

    body * {
        box-sizing: border-box;
    }
}

/* .header */
@media {
    .header {
        width: 100%;
        padding: 40px 30px 60px;
        position: relative;
        top: 0;
        left: 0;
        z-index: 2;
    }

    .header.--main {
        position: absolute;
    }

    .header .-float-menu {
        position: absolute;
        top: 0;
        left: -325px;
        max-width: 325px;
        width: 100%;
        padding: 130px 30px;
        background-color: #fafafa;
        transition: left 1s;
        z-index: 999;
    }

    .header .-float-menu.--visible {
        left: 0;
    }

    .header .-float-menu-close {
        width: 26px;
        height: 26px;
        background-image: url(/assets/images/float_menu_close.png);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
        cursor: pointer;
        position: absolute;
        top: 40px;
        right: 30px;
        transition: all 1s;
    }

    .header .-float-menu.--visible .-float-menu-close {
        transform: rotate(360deg);
    }

    .-float-menu-text {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin: 20px 0;
        letter-spacing: 2px;
        gap: 10px;
    }

    .-float-menu-text a {
        font-family: Montserrat Regular;
        font-size: 18px;
        text-decoration: none;
        color: black;
        margin-bottom: 12px;
    }

    .-float-menu-text span {
        font-size: 18px;
    }

    .-float-menu-bold-text {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin: 20px 0;
        letter-spacing: 2px;
    }

    .-float-menu-bold-text a {
        font-family: Montserrat Bold;
        font-size: 18px;
        text-decoration: none;
        color: black;
        margin-bottom: 15px;
    }

    .-float-menu-text a:not(:last-child),
    .-float-menu-bold-text a:not(:last-child) {
        margin-bottom: 15px;
    }

    .header .-top {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        position: relative;
    }

    .header .-menu-btn {
        width: 35px;
        height: 17px;
        background-image: url(/assets/images/burger.png);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
        cursor: pointer;
        top: 0;
        left: 0;
    }

    .header .-center {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        color: black;
        text-decoration: none;
    }

    .header .-logo {
        margin-bottom: 15px;
    }

    .header .content-wrapper {
        display: flex;
    }

    .header .-desc {
        font-family: Montserrat Bold;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 5px;
        line-height: 12px;
    }

    .header .-links {
        display: flex;
        align-items: center;
        position: absolute;
        top: -10px;
        right: 0;
        background: transparent;
        padding: 5px;
    }
    .header .-phone{
        color: #000;
        text-decoration: none;
        position: absolute;
        top: 30px;
        right: 0;
    }
    .header .-phone.white_phone{
        color: #f3eee8;
    }
    .header .-youtube {
        width: 35px;
        height: 26px;
        background-image: url(/assets/images/youtube.png);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center center;
        cursor: pointer;
        display: block;
    }
    .header .-rutube {
        width: 30px;
        height: 30px;
        background-image: url('/assets/images/Rutube_icon.svg');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center center;
        cursor: pointer;
        display: block;
        border-radius: 0;
    }

    .header .-insta {
        width: 30px;
        height: 30px;
        cursor: pointer;
        display: block;
        border-radius: 0;
        background-image: url(/assets/images/instagram.svg);
        -webkit-mask-image: url(/assets/images/instagram.svg);
        -webkit-mask-size: contain;
        -webkit-mask-repeat: no-repeat;
        -webkit-mask-position: center;
        mask-image: url(/assets/images/instagram.svg);
        mask-size: contain;
        mask-repeat: no-repeat;
        mask-position: center;
    }
    .header .-tg {
        width: 30px;
        height: 30px;
        background-image: url(/assets/images/telegram.svg);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center center;
        cursor: pointer;
        display: block;
        border-radius: 0;
    }
    .header .-vk {
        width: 30px;
        height: 30px;
        cursor: pointer;
        display: block;
        border-radius: 0;
        background-image: url(/assets/images/vk.svg);
        background-color: #0077FF;
        -webkit-mask-image: url(/assets/images/vk.svg);
        -webkit-mask-size: contain;
        -webkit-mask-repeat: no-repeat;
        -webkit-mask-position: center;
        mask-image: url(/assets/images/vk.svg);
        mask-size: contain;
        mask-repeat: no-repeat;
        mask-position: center;
    }

    .header .-bottom-menu {
        display: flex;
        align-items: center;
        width: 100%;
        justify-content: center;
        margin-top: 45px;
        max-width: 100%;
    }

    .header .-bottom-menu-link {
        font-family: Montserrat Bold;
        font-size: 14px;
        text-transform: uppercase;
        text-decoration: none;
        color: black;
        letter-spacing: 3px;
        padding: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        position: relative;
    }

    .header .-bottom-menu-link:after {
        content: '';
        position: absolute;
        left: 50%;
        bottom: 0;
        display: block;
        height: 3px;
        background: black;
        width: 0px;
        transition: all 0.5s;
    }

    .header .-bottom-menu-link:hover:after {
        left: 10%;
        width: 80%;
    }

    .header .-bottom-menu-link-3d {
        font-family: Montserrat Bold;
        font-size: 14px;
        text-transform: uppercase;
        text-decoration: none;
        color: black;
        letter-spacing: 3px;
        padding: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        position: relative;
        background-color: black;
        color: white;
        transition: all 1s;
    }

    .header .-bottom-menu-link-3d:hover {
        background-color: white;
        color: black;
    }

    @media (max-width: 1300px) {
        .header .-float-menu {
            padding: 90px 30px;
        }

        .-float-menu-text a,
        .-float-menu-text span,
        .-float-menu-bold-text a {
            font-size: 14px;
        }

        .header .-logo {
            margin-bottom: 10px;
        }

        .header .-desc {
            font-size: 8px;
        }

        .header .-bottom-menu {
            margin-top: 30px;
        }

        .header .-bottom-menu-link,
        .header .-bottom-menu-link-3d {
            font-size: 10px;
            padding: 8px 11px;
        }
    }
    @media (max-width: 1020px) {
        .header .-bottom-menu-link {
            display: none;
        }
    }
    @media (max-width: 580px) {
        .header .-phone{
            right: 0;
        }

        .header .-float-menu {
            left: -100%;
            min-width: 100%;
            max-width: 100%;
            padding: 30px;
        }

        .header .-logo {
            width: 125px;
        }

        .header .-desc {
            max-width: 200px;
            font-family: Montserrat ExtraBold;
        }
    }
}

/* .breadcrumbs */
@media {
    .breadcrumbs {
        width: 100%;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        padding: 0 30px;
    }

    .breadcrumbs__link {
        font-size: 14px;
        text-decoration: underline;
        color: black;
        letter-spacing: 2px;
    }

    .breadcrumbs__divider {
        color: #919191;
        margin: 0 5px;
    }

    .breadcrumbs__point {
        color: #b59d76;
        font-size: 14px;
        letter-spacing: 2px;
    }
}

/* .h1 */
@media {
    .h1 {
        letter-spacing: 5px;
        font-size: 30px;
        padding: 50px 30px;
        text-align: center;
        text-transform: uppercase;
        font-weight: bold;
    }
}

/* .det-h2 */
@media {
    .det-h2 {
        letter-spacing: 5px;
        font-size: 30px;
        padding: 60px 30px;
        text-align: center;
        text-transform: uppercase;
        font-weight: normal;
    }
}

/* .det-desc */
@media {
    .det-desc {
        width: 100%;
        max-width: 1570px;
        margin: 50px auto 30px;
        display: flex;
        flex-wrap: wrap;
    }

    .det-desc__main {
        width: 50%;
        border-right: 1px solid #b59d76;
        padding: 43px 35px;
    }

    .det-desc__main.--full {
        width: 100%;
        padding: 43px 35px;
        border: none;
    }

    .det-desc__main-title {
        letter-spacing: 5px;
        font-size: 30px;
        text-transform: uppercase;
        margin-bottom: 30px;
        display: block;
    }

    .det-desc__main-text {
        line-height: 25px;
        font-size: 18px;
        margin: 10px 0 45px;
    }

    .det-desc__main-price {
        font-size: 48px;
        letter-spacing: 5px;
        color: #b59d76;
        margin-bottom: 50px;
    }

    .det-desc__main-price-value {
        font-family: Montserrat Bold;
    }

    .det-desc__main-btns {
        display: flex;
        align-items: center;
        margin-bottom: 53px;
        font-size: 14px;
        letter-spacing: 2px;
        text-transform: uppercase;
        flex-wrap: wrap;
    }

    .det-desc__main-btns:last-child {
        margin-bottom: 0;
    }

    .det-desc__main-btn-1 {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        height: 60px;
        width: 290px;
        border: 2px solid black;
        cursor: pointer;
        transition: all 0.1s;
    }

    .det-desc__main-btn-2 {
        margin: 0 0 0 50px;
        padding-bottom: 3px;
        border-bottom: 1px dashed black;
        cursor: pointer;
        transition: all 0.1s;
        text-decoration: none;
        color: inherit;
    }

    .det-desc__main-btn-3 {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        height: 75px;
        width: 250px;
        background-color: #b59d76;
        cursor: pointer;
        transition: all 0.1s;
    }

    .det-desc__main-btn-4 {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        height: 75px;
        width: 250px;
        background-color: #f1ece5;
        cursor: pointer;
        transition: all 0.1s;
    }

    .det-desc__main-btn-1:hover,
    .det-desc__main-btn-3:hover,
    .det-desc__main-btn-4:hover {
        transform: scale(1.05);
    }

    .det-desc__main-btn-2:hover {
        color: #b59d76;
        border-bottom: 1px dashed #b59d76;
    }

    .det-desc__props {
        width: 50%;
        padding: 43px 35px;
    }

    .det-desc__prop {
        line-height: 25px;
        font-size: 18px;
        margin-bottom: 20px;
    }

    .det-desc__prop:last-child {
        margin-bottom: 0;
    }

    .det-desc__prop-title {
        font-family: Montserrat Bold;
    }

    @media (max-width: 1600px) and (min-width: 1001px) {
        .det-desc__main-btn-1,
        .det-desc__main-btn-3,
        .det-desc__main-btn-4 {
            width: 90%;
            margin-bottom: 30px;
        }

        .det-desc__main-btns {
            flex-direction: column;
        }
    }
    @media (max-width: 1000px) {
        .det-desc__main {
            width: 100%;
            border-right: 0;
            border-bottom: 1px solid #b59d76;
            padding: 43px 35px;
        }

        .det-desc__props {
            width: 100%;
        }
    }
    @media (max-width: 800px) {
        .det-gallery__point,
        .det-gallery-thumbs {
            display: none;
        }

        .det-desc__main {
            text-align: center;
        }

        .det-desc__main-price {
            font-size: 30px;
        }

        .det-desc__main-title {
            display: none;
        }

        .det-desc__main-text {
            margin-top: 0;
        }

        .det-desc__main-btn-1,
        .det-desc__main-btn-3,
        .det-desc__main-btn-4 {
            width: 90%;
            margin-bottom: 30px;
        }

        .det-desc__main-btns {
            flex-direction: column;
        }
    }
}

/* .det-full-text */
@media {
    .det-full-text {
        width: 990px;
        max-width: 100%;
        padding: 0 30px;
        text-align: center;
        margin: 0 auto;
        font-size: 18px;
        line-height: 30px;
    }

    @media (max-width: 800px) {
        .det-full-text {
            font-size: 14px;
        }
    }
}

/* .det-divider */
@media {
    .det-divider {
        height: 100px;
        width: 1px;
        margin: 45px auto;
        background-color: #b59d76;
    }

    @media (max-width: 800px) {
        .det-divider {
            height: 50px;
            margin: 35px auto;
        }
    }
}

/* footer */
@media {
    .footer {
        margin-top: 80px;
        font-size: 12px;
        font-weight: bold;
    }

    .footer__top {
        margin-bottom: 40px;
        display: flex;
        align-items: center;
        padding: 0 30px;
        justify-content: space-between;
    }

    .footer__copiright {
        width: 30%;
    }

    .footer__menu {
        width: 40%;
    }

    .footer__menu a {
        margin: 0 4px;
        text-decoration: none;
        color: black;
    }

    .footer__menu a:hover {
        text-decoration: underline;
    }

    .footer__call-us-button {
        width: 10%;
        text-decoration: underline;
        cursor: pointer;
    }

    .footer__social {
        width: 20%;
        display: flex;
        align-items: center;
    }

    .footer__bottom {
        width: 100%;
        background: #b59d76;
        display: flex;
        align-items: center;
        position: relative;
    }

    .footer__calc-btn {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        text-align: right;
        width: 40%;
        height: 50px;
        padding-right: 80px;
        border-right: 1px solid white;
    }

    .footer__measure-btn {
        height: 50px;
        padding-left: 80px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
        width: 60%;
    }

    .footer__calc-btn span,
    .footer__measure-btn span {
        font-size: 18px;
        cursor: pointer;
        letter-spacing: 3px;
        text-transform: uppercase;
        font-weight: 600;
    }

    .footer__calc-btn span:hover,
    .footer__measure-btn span:hover {
        color: white
    }

    .footer__social-line {
        width: 55px;
        height: 1px;
        background: black;
        margin: 0 13px;
        display: block;
    }

    .footer__social .-youtube {
        display: block;
        width: 35px;
        height: 26px;
        background-image: url(/assets/images/youtube.png);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center center;
        cursor: pointer;
        margin: 0 13px;
    }

    .footer__social .-insta {
        display: block;
        width: 28px;
        height: 28px;
        cursor: pointer;
        margin: 0 0 0 13px;
        border-radius: 0;
        background-image: url(/assets/images/instagram.svg);
        -webkit-mask-image: url(/assets/images/instagram.svg);
        -webkit-mask-size: contain;
        -webkit-mask-repeat: no-repeat;
        -webkit-mask-position: center;
        mask-image: url(/assets/images/instagram.svg);
        mask-size: contain;
        mask-repeat: no-repeat;
        mask-position: center;
    }

    .footer__social .-tg {
        width: 28px;
        height: 28px;
        background-image: url(/assets/images/telegram.svg);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center center;
        cursor: pointer;
        margin: 0 0 0 13px;
        display: block;
        border-radius: 0;
    }
    .footer__social .-vk {
        display: block;
        width: 28px;
        height: 28px;
        cursor: pointer;
        margin: 0 0 0 13px;
        border-radius: 0;
        background-image: url(/assets/images/vk.svg);
        background-color: #0077FF;
        -webkit-mask-image: url(/assets/images/vk.svg);
        -webkit-mask-size: contain;
        -webkit-mask-repeat: no-repeat;
        -webkit-mask-position: center;
        mask-image: url(/assets/images/vk.svg);
        mask-size: contain;
        mask-repeat: no-repeat;
        mask-position: center;
    }

    @media (max-width: 1800px) {
        .footer__menu {
            display: none;
        }

        .footer__copiright,
        .footer__call-us-button,
        .footer__social {
            display: flex;
            width: auto;
        }

        .footer__call-us-button,
        .footer__social {
            justify-content: flex-end;
        }
    }

    @media (max-width: 1024px) {
        .footer__social-line {
            display: none;
        }

        .footer__calc-btn,
        .footer__measure-btn {
            height: auto;
            text-align: center;
            padding: 0 10px;
            justify-content: center;
        }

        .footer__calc-btn span,
        .footer__measure-btn span {
            font-size: 11px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 10px 0;
        }
    }
    @media (max-width: 800px) {
        .footer__top {
            flex-direction: column;
            align-items: flex-start;
        }

        .footer__copiright,
        .footer__call-us-button,
        .footer__social {
            margin-bottom: 20px;
        }
    }
}

/* Проекты */
@media {
    .det-projects.swiper-container {
        width: calc(100% - 60px);
        margin-left: 30px;
        margin-right: 30px;
    }

    .det-projects .det-projects__title {
        margin: 40px 0 10px;
        font-size: 18px;
        font-weight: bold;
        letter-spacing: 4px;
        text-transform: uppercase;
    }

    .det-projects .swiper-wrapper {
        align-items: stretch;
    }

    .det-projects .swiper-slide {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
    }

    .det-projects .swiper-slide > div {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .det-projects .det-projects__text {
        color: #888888;
    }

    .det-projects .det-projects__image {
        max-width: 100%;
    }

    @media (max-width: 800px) {
        .det-projects .swiper-slide {
            align-items: center;
        }

        .det-projects .swiper-slide > div {
            align-items: center;
            text-align: center;
        }
    }
}

/* Разводящая */
@media {
    .product-list {
        max-width: 1640px;
        margin: 0 auto;
    }

    .product-list__block {
        width: calc(50% - 40px);
        padding: 25px;
        margin: 20px;
        cursor: pointer;
        text-decoration: none;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        transition: all 0.5s;
        color: inherit;
    }

    .product-list__block.--topped {
        margin-top: -125px;
    }

    .product-list__block.--no-hover {
        cursor: default;
        line-height: 28px;
        font-size: 18px;
    }

    .product-list__block:nth-child(odd) {
        float: left;
        align-items: flex-start;
    }

    .product-list__block:nth-child(even) {
        float: right;
        align-items: flex-end;
    }

    .product-list__block:not(.--no-hover):hover {
        opacity:0.7;
    }

    .product-list__image {
        max-width: 100%;
        min-height: 400px;
        margin: 0 auto 40px;
        object-fit: cover;
    }

    .product-list__info {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .product-list__desc {
        display: flex;
        flex-direction: column;
    }

    .product-list__title {
        font-size: 18px;
        font-weight: bold;
        letter-spacing: 4px;
        text-transform: uppercase;
    }

    .product-list__text {
        color: #888888;
        margin-top: 10px;
    }

    .product-list__price {
        font-size: 30px;
        letter-spacing: 5px;
        color: #b59d76;
        white-space: nowrap;
    }

    .product-list__price-value {
        font-family: Montserrat Bold;
    }

    @media (max-width: 1700px) {
        .product-list__block {
            width: calc(50% - 30px);
            padding: 15px;
            margin: 15px;
        }

        .product-list__info {
            flex-direction: column;
            align-items: flex-start;
        }

        .product-list__desc {
            margin-bottom: 20px;
        }
    }

    @media (max-width: 1000px) {
        .product-list__block {
            width: calc(100% - 30px);
            float: none !important;
        }

        .product-list__block.--topped {
            margin-top: 0;
        }
    }
}

/* .det-includes */
@media {
    .det-includes.swiper-container {
        width: calc(100% - 60px);
        margin-left: 30px;
        margin-right: 30px;
    }

    .det-includes .swiper-slide {
        display: flex;
        align-items: center;
        justify-content: space-around;
    }

    .det-includes .swiper-slide div:nth-child(1) {
        display: flex;
        align-items: center;
        flex-direction: column;
        text-align: center;
        padding: 5px;
    }

    .det-includes .swiper-slide div:nth-child(1) span {
        margin-top: 15px;
    }

    .det-includes .swiper-slide div:nth-child(2) {
        display: flex;
        align-items: center;
        flex-direction: column-reverse;
        text-align: center;
        padding: 5px;
    }

    .det-includes .swiper-slide div:nth-child(2) span {
        margin-bottom: 15px;
    }

    .det-includes .swiper-slide.--float {
        align-items: flex-start;
        justify-content: center;
    }

    .det-includes .swiper-slide.--float div:nth-child(1) {
        align-items: flex-end;
    }

    .det-includes .swiper-slide.--float div:nth-child(2) {
        align-items: flex-start;
    }

    .det-includes .swiper-slide.--float div:nth-child(1) span {
        margin-top: 40px;
        text-align: right;
    }

    .det-includes .swiper-slide.--float div:nth-child(2) span {
        margin-bottom: 40px;
        text-align: left;
    }

    .det-includes .swiper-slide img {
        max-width: 100%;
        width: 150px;
        max-height: 200px;
        object-fit: contain;
    }
}

/* .main-includes */
@media {
    .main-includes {
        width: calc(100% - 60px);
        margin-left: 30px;
        margin-right: 30px;
    }

    .main-includes__wrapper {
        display: flex;
        flex-wrap: wrap;
    }

    .main-includes__elem {
        width: 20%;
        display: flex;
        align-items: center;
        justify-content: space-around;
    }

    .main-includes__elem div:nth-child(1) {
        display: flex;
        align-items: center;
        flex-direction: column;
        text-align: center;
        padding: 5px;
    }

    .main-includes__elem div:nth-child(1) span {
        margin-top: 15px;
    }

    .main-includes__elem div:nth-child(2) {
        display: flex;
        align-items: center;
        flex-direction: column-reverse;
        text-align: center;
        padding: 5px;
    }

    .main-includes__elem div:nth-child(2) span {
        margin-bottom: 15px;
    }

    .main-includes_elem.--float {
        align-items: flex-start;
        justify-content: center;
    }

    .main-includes__elem.--float div:nth-child(1) {
        align-items: flex-end;
    }

    .main-includes__elem.--float div:nth-child(2) {
        align-items: flex-start;
    }

    .main-includes__elem.--float div:nth-child(1) span {
        margin-top: 40px;
        text-align: right;
    }

    .main-includes__elem.--float div:nth-child(2) span {
        margin-bottom: 40px;
        text-align: left;
    }

    .main-includes__elem img {
        max-width: 100%;
        width: 150px;
        max-height: 200px;
        object-fit: contain;
    }
    .main-products .swiper-container-autoheight, .swiper-container-autoheight .swiper-slide{
        height: 100%;
    }

    @media (max-width: 1400px) {
        .main-includes__elem {
            width: 25%;
        }
    }
    @media (max-width: 1100px) {
        .main-includes__elem {
            width: 33%;
        }
    }
    @media (max-width: 800px) {
        .main-includes__elem {
            width: 50%;
        }
    }
    @media (max-width: 500px) {
        .main-includes__elem {
            width: 100%;
        }
    }
}

@media {
    .swiper-pagination {
        position: relative;
        top: 0;
        margin-bottom: 40px;
    }

    .swiper-pagination-bullet {
        width: 130px;
        height: 4px;
        background: #b59d76;
        border-radius: 0;
    }

    .main-slider .swiper-pagination {
        position: absolute;
        bottom: 45px;
        top: auto;
        margin-bottom: 0;
    }

    .main-slider .swiper-pagination-bullet {
        width: 60px;
        height: 4px;
        background: white;
        border-radius: 0;
    }

    @media (max-width: 1280px) {
        .main-slider .swiper-button-next,
        .main-slider .swiper-button-prev {
            display: none;
        }
    }
}

/* .large */
@media {
    .large {
        font-size: 130px;
        font-family: 'Montserrat ExtraBold', sans-serif;
        display: flex;
        flex-direction: column;
        letter-spacing: 14px;
        line-height: 100px;
        margin: 90px auto;
        max-width: calc(100% - 30px);
        width: max-content;
    }

    .large span:nth-child(odd) {
        text-align: left;
    }

    .large span:nth-child(even) {
        text-align: right;
    }
    .large.text-uppercase{
        text-transform: uppercase;
        line-height: 120px;
    }
    @media (max-width: 1024px) {
        .large {
            font-size: 90px;
            line-height: 60px;
        }
        .large.text-uppercase{
            line-height: 85px;
        }
    }
    @media (max-width: 800px) {
        .large {
            font-size: 40px;
            line-height: 45px;
            margin: 35px auto;
        }
        .large.text-uppercase{
            line-height: 45px;
        }
    }
}

/* .catalog-filter (also .bx-filter) */
@media {
    .catalog-filter {
        width: 1640px;
        margin: 0 auto;
        padding: 0 30px;
        max-width: 100%;
    }

    .catalog-filter.--hidden .catalog-filter__block {
        background: transparent;
    }

    .catalog-filter.--hidden .catalog-filter__block:hover {
        transition: background-color 0.7s;
        background: #fafafa;
    }

    .catalog-filter__block {
        background: #fafafa;
        width: 100%;
        max-width: 324px;
        padding: 30px 18px 30px 30px;
        margin-left: -15px;
        position: relative;
    }

    .catalog-filter .bx-filter-title {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 18px;
        font-family: "Montserrat Bold", sans-serif;
        letter-spacing: 2px;
        cursor: pointer;
    }

    .catalog-filter .catalog-filter__icon {
        display: block;
        background-image: url(/assets/images/filter_icon.png);
        background-position: center center;
        background-size: contain;
        background-repeat: no-repeat;
        width: 38px;
        height: 38px;
    }

    .catalog-filter .bx-filter-parameters-box {
        position: relative;
        padding-bottom: 20px;
    }

    .catalog-filter .bx-filter-parameters-box-title {
        font-size: 13px;
        padding-bottom: 7px;
    }

    .catalog-filter .bx-filter-parameters-box-title span {
        color: black;
        cursor: pointer;
        font-size: 18px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .catalog-filter .bx-filter-parameters-box-title .catalog-filter__arrow {
        display: block;
        width: 20px;
        height: 10px;
        background-image: url(/assets/images/filter_array.png);
        background-position: center center;
        background-size: contain;
        background-repeat: no-repeat;
        transition: all 0.2s;
        transform: rotate(180deg);
    }

    .catalog-filter .bx-filter-parameters-box.bx-active .bx-filter-parameters-box-title .catalog-filter__arrow {
        transform: rotate(0deg);
    }

    .catalog-filter .bx-filter-title .catalog-filter__arrow {
        display: block;
        width: 20px;
        height: 10px;
        background-image: url(/assets/images/filter_array.png);
        background-position: center center;
        background-size: contain;
        background-repeat: no-repeat;
        transition: all 0.2s;
        transform: rotate(0deg);
    }

    .catalog-filter.--hidden .bx-filter-title .catalog-filter__arrow {
        transform: rotate(180deg);
    }

    .catalog-filter .bx-filter-parameters-box-title span:hover {
        border-color: #039be5;
    }

    .catalog-filter .bx-filter-block {
        display: none;
        transition: padding .3s ease;
        box-sizing: content-box;
    }

    .catalog-filter .bx-filter-button-box .bx-filter-block,
    .catalog-filter .bx-filter-parameters-box.bx-active .bx-filter-block {
        display: block;
    }

    .catalog-filter .bx-filter-parameters-box.bx-active .bx-filter-block i.bx-ft-sub {
        font-size: 14px;
        font-style: normal;
        display: block;
        padding-bottom: 5px;
    }

    .catalog-filter .bx-filter-parameters-box-container {
        padding-top: 20px;
    }

    .catalog-filter .bx-filter-input-checkbox {
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .catalog-filter .bx-filter-param-text {
        color: #7d7d7d;
        font-size: 18px;
    }

    .catalog-filter .bx-filter-input-checkbox input {
        width: 16px;
        height: 16px;
        margin-right: 10px;
        opacity: 0.5;
    }

    .catalog-filter .bx-filter-input-checkbox input:checked {
        opacity: 1;
    }

    .catalog-filter .bx-filter-parameters-box-container .checkbox:first-child {
        margin-top: 0;
    }

    .catalog-filter .bx-filter .bx-filter-parameters-box-container-block {
        font-size: 11px;
        color: #3f3f3f;
    }

    .catalog-filter .smartfilter {
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: #fafafa;
        padding: 0 20px 30px;
        z-index: 1;
    }

    .catalog-filter.--hidden .smartfilter {
        display: none;
    }

    .catalog-filter .catalog-filter__btns {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .catalog-filter #set_filter {
        width: 100%;
        height: 60px;
        background: transparent;
        font-size: 14px;
        text-transform: uppercase;
        margin-bottom: 20px;
        cursor: pointer;
        transition: transform 0.2s;
    }

    .catalog-filter #set_filter:hover {
        transform: scale(1.05);
    }

    .catalog-filter #set_filter:active {
        transform: scale(0.95);
    }

    .catalog-filter #del_filter {
        width: 100%;
        height: 60px;
        background: transparent;
        font-size: 14px;
        text-transform: uppercase;
        cursor: pointer;
        opacity: 0.5;
        transition: all 0.2s;
    }

    .catalog-filter #del_filter:hover {
        opacity: 1;
    }

    .catalog-filter #del_filter:active {
        transform: scale(0.9);
    }

    @media (max-width: 1700px) {
        .catalog-filter__block {
            margin-left: 0;
        }
    }
}

/* .content-wrapper */
@media {
    .content-wrapper {
        width: calc(100% - 60px);
        max-width: 1280px;
        margin: 0 auto;
    }
}

/* .main-slider-content */
@media {
    .main-slider-content {
        display: flex;
        position: absolute;
        bottom: 0;
        width: 100%;
        margin: 0 auto;
        z-index: 2;
        justify-content: center;
        padding: 0 20px;
    }

    .main-slider-content__box {
        background-color: rgba(243, 238, 232, 0.8);
        width: 800px;
        max-width: 100%;
        padding: 70px 30px 100px;
        text-align: center;
    }

    .main-slider-content__title {
        font-size: 36px;
        letter-spacing: 8px;
        color: #b59d76;
        font-family: "Montserrat ExtraBold", sans-serif;
        text-transform: uppercase;
    }

    .main-slider-content__text {
        letter-spacing: 2px;
        font-size: 17px;
        text-transform: uppercase;
        max-width: 384px;
        margin: 40px auto 65px;
    }

    .main-slider-content__btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 290px;
        max-width: 100%;
        height: 60px;
        text-align: center;
        border: 2px solid black;
        text-decoration: none;
        color: black;
        margin: 0 auto;
        letter-spacing: 2px;
        font-size: 14px;
        text-transform: uppercase;
        font-weight: bold;
        transition: all 0.2s;
        background: linear-gradient(to right, black 50%, transparent 50%);
        background-size: 200% 100%;
        background-position:right bottom;
    }

    .main-slider-content__btn:hover {
        color: white;
        background-size: 200% 100%;
        background-position:left bottom;
    }

    .main-slider-content__btn:active {
        transform: scale(0.95);
    }

    @media (max-width: 630px) {
        .main-slider-content__title {
            font-size: 18px;
            letter-spacing: 2px;
        }

        .main-slider-content__text {
            font-size: 14px;
            margin: 20px auto 30px;
        }
    }
}

/* swiper-buttons */
@media {
    .swiper-button-next, .swiper-button-prev {
        --swiper-navigation-color: #b59d76;
        background: #e9e9e9;
        height: 60px;
        width: 50px;
    }

    .swiper-button-next {
        border-radius: 0 50% 50% 0;
        right: 50px;
        left: auto;
    }

    .swiper-button-prev {
        border-radius: 50% 0 0 50%;
        right: 100px;
        left: auto;
    }

    .swiper-button-next::after, .swiper-button-prev::after {
        font-size: 25px;
        font-weight: bold;
    }

    @media (max-width: 800px) {
        .swiper-button-next.--hide-small,
        .swiper-button-prev.--hide-small,
        .swiper-pagination.--hide-small {
            display: none;
        }
    }

    @media (min-width: 801px) {
        .swiper-button-next.--hide-large,
        .swiper-button-prev.--hide-large,
        .swiper-pagination.--hide-large {
            display: none;
        }
    }
}

/* .main-btn */
@media {
    .main-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 290px;
        max-width: 100%;
        height: 60px;
        text-align: center;
        border: 2px solid black;
        text-decoration: none;
        color: black;
        margin: 60px auto;
        letter-spacing: 2px;
        font-size: 14px;
        text-transform: uppercase;
        font-weight: bold;
        transition: all 0.2s;
        cursor: pointer;
        background: linear-gradient(to right, black 50%, white 50%);
        background-size: 200% 100%;
        background-position:right bottom;
    }

    .main-btn:hover {
        color: white;
        background-size: 200% 100%;
        background-position:left bottom;
    }

    .main-btn:active {
        transform: scale(0.95);
    }
}

/* .types */
@media {
    .types {
        position: relative;
        padding: 140px 30px 70px;
        margin-bottom: 175px;
    }

    .types__title-box {
        background: linear-gradient(160deg, #f4ede4 0%, #ede5d8 100%);
        position: absolute;
        top: 0;
        width: 820px;
        margin: 0 auto;
        height: 100%;
        left: calc(50% - 410px);
        border-left: 1px solid rgba(181,157,118,0.18);
        border-right: 1px solid rgba(181,157,118,0.18);
    }

    .types__title {
        width: 100%;
        text-align: center;
        font-size: 28px;
        letter-spacing: 6px;
        text-transform: uppercase;
        padding: 55px 30px 20px;
        position: relative;
    }
    .types__title::after {
        content: '';
        display: block;
        width: 60px;
        height: 2px;
        background: #b59d76;
        margin: 18px auto 0;
        border-radius: 2px;
    }

    .types__list-slide a{
        opacity: 1;
        transition: all 0.4s ease;
        display: block;
    }
    .types__list-slide:hover a {
        opacity: 0.85;
        transform: translateY(-4px);
    }

    .types__list-slide a img,
    .types__list-slide a > div {
        border-radius: 6px;
        overflow: hidden;
    }

    .types__list-slide-name {
        margin-top: 22px;
        font-size: 17px;
        text-transform: uppercase;
        letter-spacing: 3px;
        font-weight: 700;
        color: #2b2b2b;
    }

    .types__list-slide-desc {
        margin-top: 8px;
        font-size: 13px;
        color: #9a8f84;
        letter-spacing: 0.5px;
    }

    @media (max-width: 800px) {
        .types {
            margin-bottom: 50px;
            padding: 120px 16px 50px;
        }

        .types__title-box {
            width: 100%;
            left: 0;
            border-left: none;
            border-right: none;
        }
    }
}

/* .outsale */
@media {
    .outsale {
        width: 100%;
        padding: 0 30px;
        display: flex;
        flex-wrap: wrap;
        margin: 100px 0;
    }

    .outsale__box {
        width: 50%;
        display: flex;
        align-items: stretch;
        justify-content: center;
        text-align: center;
        flex-wrap: wrap;
    }

    .outsale__box:first-child {
        background-image: url(/assets/images/outsale.png);
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        color: white;
        flex-direction: column;
    }

    .outsale__desc {
        font-size: 30px;
        line-height: 1.3;
        padding-bottom: 115px;
        letter-spacing: 2px;
        text-transform: uppercase;
    }

    .outsale__item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 50%;
        border: 1px solid white;
        background-color: #f1ece5;
        padding: 50px 15px;
    }

    .outsale__price {
        color: #b59d76;
        font-family: "Montserrat ExtraBold", sans-serif;
        font-size: 100px;
        line-height: 1;
    }

    .outsale__field {
        font-size: 18px;
        letter-spacing: 2px;
        margin: 30px auto;
        font-weight: bold;
        text-transform: uppercase;
    }

    .outsale__text {
        color: #7f7c78;
    }

    @media (max-width: 1280px) {
        .outsale__item {
            width: 100%;
            padding: 15px;
        }

        .outsale__field {
            margin: 10px;
        }

        .outsale__desc {
            font-size: 20px;
        }
    }
    @media (max-width: 1000px) {
        .outsale__box {
            width: 100%;
        }

        .outsale__box .large {
            line-height: 50px !important;
        }
    }
    @media (max-width: 500px) {
        .outsale__box {
            width: 100%;
        }

        .outsale__desc {
            font-size: 15px;
        }
    }
}

/* .popup */
@media {
    .popup {
        position: fixed;
        width: 100vw;
        max-height: 100vh;
        overflow: auto;
        background: #f3eee8;
        top: auto;
        bottom: -100vh;
        left: 0;
        transition: all 0.5s;
        z-index: 999999;
        padding-top: 30px;
    }

    .popup.--visible {
        bottom: 0;
    }

    .popup__close {
        width: 26px;
        height: 26px;
        background-image: url(/assets/images/float_menu_close.png);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
        cursor: pointer;
        position: absolute;
        top: 30px;
        right: 30px;
        transition: all 0.5s;
        transform: rotate(720deg);
    }

    .popup.--visible .popup__close {
        transform: rotate(-720deg);
    }

    .popup__description {
        text-align: center;
        align-items: center;
        justify-content: center;
        display: none;
        width: 1160px;
        padding: 0 30px;
        max-width: 100%;
        text-transform: uppercase;
        margin: 0 auto 50px;
        font-size: 18px;
        letter-spacing: 2px;
    }

    .popup .large {
        display: none;
    }

    .popup .large.--visible,
    .popup__description.--visible{
        display: flex;
    }

    .popup__inputs {
        padding: 0 30px;
        width: 100%;
        max-width: 1600px;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        margin: 0 auto;
    }

    .popup__input-box {
        width: 30%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 30px;
    }

    .popup__input-box.--full-size {
        width: 100%;
    }

    .popup__input {
        width: 100%;
        font-size: 16px;
        border: none;
        background: transparent;
        border-bottom: 1px solid #b59d76;
        font-style: italic;
        outline: none;
        text-align: center;
    }
    .popup__input.--error{
        border-bottom: 1px solid red;
        background: #ff000014;
    }

    .popup__desc {
        font-size: 14px;
        color: #797979;
        margin-top: 15px;
    }

    .popup__btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 290px;
        max-width: 100%;
        height: 60px;
        text-align: center;
        border: 2px solid black;
        text-decoration: none;
        color: black;
        margin: 60px auto;
        letter-spacing: 2px;
        font-size: 14px;
        text-transform: uppercase;
        font-weight: bold;
        transition: all 0.2s;
        cursor: pointer;
    }

    .popup__btn:hover {
        background: black;
        color: white;
    }

    .popup__btn:active {
        transform: scale(0.95);
        background: black;
        color: white;
    }

    .popup__btn.--sended,
    .popup__btn.--sended:hover,
    .popup__btn.--sended:active {
        border: 2px solid #b59d76;
        background: #b59d76;
        color: white;
        cursor: default;
    }

    @media (max-width: 800px) {
        .popup__input-box {
            width: 100%;
        }
    }
}

/* .main-custom */
@media {
    .main-custom {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        text-align: center;
        width: 100%;
        padding: 0 30px;
    }

    .main-custom__1 {
        letter-spacing: 2px;
        width: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-transform: uppercase;
        color: black;
        background: #b59d76;
        font-size: 30px;
        padding: 40px 20px;
        cursor: pointer;
        opacity: 0.8;
    }

    .main-custom__2 {
        color: black;
        letter-spacing: 2px;
        width: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-transform: uppercase;
        background: #f1ece5;
        font-size: 30px;
        padding: 40px 20px;
        cursor: pointer;
        opacity: 0.8;
    }

    .main-custom__1:hover,
    .main-custom__2:hover {
        opacity: 1;
    }

    @media (max-width: 800px) {
        .main-custom__1,
        .main-custom__2 {
            width: 100%;
            font-size: 15px;
        }
    }
}

/* .rouble */
@media {
    .rouble {
        font-family: Rouble, sans-serif;
        font-size: 0.7em;
    }
}

/* .reviews */
@media {
    .reviews {
        width: 100%;
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 30px;
    }
    .content-wrapper .reviews {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0;
    }

    .reviews__item {
        margin-bottom: 30px;
        padding: 15px;
    }

    .reviews__item:nth-child(odd) {
        background: #f1ece5;
    }

    .reviews__item:nth-child(even) {
        background: #b59d76d1;
    }

    .reviews__header {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        margin-bottom: 15px;
    }

    .reviews__info {
        display: flex;
        flex-direction: column;
    }

    .reviews__date {
        margin-bottom: 15px;
    }

    .reviews__photo {
        max-width: 100px;
        margin-right: 15px;
        margin-bottom: 15px;
    }

    .reviews__name {
        margin-right: 15px;
        margin-bottom: 15px;
        font-family: Montserrat Bold;
    }
}

/* .main-tabs */
@media {
    .main-tabs{
        width: 100%;
        max-width: 800px;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-around;
        margin: 0 auto 50px;
    }
    .main-tabs__item{
        margin: 15px;
        text-transform: uppercase;
        color: #7f7f7f;
        font-size: 18px;
        cursor: pointer;
    }
    .main-tabs__item.--active{
        color: black;
        font-weight: bold;
    }
    .main-content-tab__text{
        max-width: 1280px;
        width: 100%;
        padding: 0 15px;
        text-align: center;
        margin: 0 auto;
    }
}

/* .custom-swiper-buttons */
@media {
    .custom-swiper-buttons.--right{
        position: absolute;
        left: auto;
        top: 0;
        height: 100%;
        right: 0;
        width: 200px;
        opacity:0;
        transition: all 0.5s;
        z-index: 2;
    }
    .custom-swiper-buttons.--left{
        position: absolute;
        right: auto;
        top: 0;
        height: 100%;
        left: 0;
        width: 200px;
        opacity:0;
        transition: all 0.5s;
        z-index: 2;
    }
    .custom-swiper-buttons:hover{
        opacity:1;
    }
}

/* .loader */
@media {
    .loader {
        font-size: 5px;
        margin: 50px auto;
        text-indent: -9999em;
        width: 11em;
        height: 11em;
        border-radius: 50%;
        background: linear-gradient(to right, #b59d76 10%, rgba(181,157,118, 0) 42%);
        position: relative;
        animation: load3 1.4s infinite linear;
        transform: translateZ(0);
    }
    .loader:before {
        width: 50%;
        height: 50%;
        background: #b59d76;
        border-radius: 100% 0 0 0;
        position: absolute;
        top: 0;
        left: 0;
        content: '';
    }
    .loader:after {
        background: #ffffff;
        width: 75%;
        height: 75%;
        border-radius: 50%;
        content: '';
        margin: auto;
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
    }
    @keyframes load3 {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }
}

/* fix-pages */
@media{
    .content-wrapper[data-page='/page/works/'],
    .content-wrapper[data-page='/page/constructor/']{
        max-width: none;
    }
}

/* Проекты (разводящая) */
@media {
    .page-projects {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .page-projects__title {
        margin: 40px 0 10px;
        font-size: 18px;
        font-weight: bold;
        letter-spacing: 4px;
        text-transform: uppercase;
    }

    .page-projects__item {
        width: 25%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
        margin-bottom: 60px;
        padding: 10px;
    }

    .page-projects__item > div {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .page-projects__text {
        color: #888888;
    }

    .page-projects__image {
        max-width: 100%;
    }

    @media (max-width: 1280px) {
        .page-projects__item {
            width: 33.3333%;
        }
    }

    @media (max-width: 1024px) {
        .page-projects__item {
            width: 50%;
        }
    }

    @media (max-width: 800px) {
        .page-projects__item {
            width: 100%;
            align-items: center;
        }

        .page-projects__item > div {
            align-items: center;
            text-align: center;
        }
    }
}

/* Каталог (индекс) */
@media {
    .cat-index {
        width: 100%;
        display: flex;
        align-items: stretch;
        justify-content: flex-start;
        flex-wrap: wrap;
        padding:0 15px;
    }

    .cat-index__title {
        margin: 40px 0 10px;
        font-size: 18px;
        font-weight: bold;
        letter-spacing: 4px;
        text-transform: uppercase;
    }

    .cat-index__item {
        text-decoration: none;
        color: inherit;
        width: 33.33%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        margin-bottom: 60px;
        padding: 10px;
        opacity: 1;
    }
    .cat-index__item:hover{
        opacity: 0.7;
    }

    .cat-index__item > div {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .cat-index__text {
        color: #888888;
    }

    .cat-index__image {
        max-width: 100%;
    }

    @media (max-width: 1024px) {
        .cat-index__item {
            width: 50%;
        }
    }

    @media (max-width: 800px) {
        .cat-index__item {
            width: 100%;
            align-items: center;
        }

        .cat-index__item > div {
            align-items: center;
            text-align: center;
        }
    }
}

/* таблицы */
@media  {
    table{
        border-spacing: 0;
        border: 1px solid black;
    }
    table p {
        margin: 5px 0;
    }
}

#ajax_next_page{
    display: block;
    width: 100%;
    height: 110px;
    overflow: hidden;
}
/* page-shops */
.address-wrap{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.address-item p{
    font-weight: 700;
}
img{
    max-width: 100%;
    height: auto;
}
.delivery-assembling{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
@media(min-width: 768px){
    .delivery-assembling_img{
        width: 48%;
    }
    .delivery-assembling_text{
        width: 48%;
    }
}

.delivery-assembling_text a{
    text-decoration: none;
    color: inherit;
}

.video-slider_wrap{
    max-width: 1170px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.video-slider .swiper-slide{
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.10);
    display: flex;
    flex-direction: column;
}

.video-slider-item_mp4{
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
    background: #000;
    flex-shrink: 0;
}
.video-slider-item_mp4 video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.video-slider-item_head{
    margin: 0;
    padding: 12px 14px 14px;
    font-size: 14px;
    line-height: 1.4;
    color: #222;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media(max-width: 1170px){
    .video-slider_wrap{
        padding: 0 10px;
    }
}

/* ─────────────────────────────────────────────────
   БЛОК КНОПОК В ШАПКЕ
   ───────────────────────────────────────────────── */
.top_btn-block {
    margin: auto 5px auto 50px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.top_btn.main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: unset;
    height: unset;
    padding: 8px 20px;
    margin: 0;
    font-size: 11px;
    font-family: 'Montserrat Bold', sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid rgba(243, 238, 232, 0.42);
    border-radius: 0;
    background: transparent;
    color: rgba(243, 238, 232, 0.82);
    box-shadow: inset 0 0 0 0 transparent;
    transition:
        box-shadow 0.5s cubic-bezier(0.76, 0, 0.24, 1),
        color 0.36s ease,
        border-color 0.3s ease,
        letter-spacing 0.3s ease,
        transform 0.15s ease;
    -webkit-font-smoothing: antialiased;
}

.top_btn.main-btn:hover {
    box-shadow: inset 220px 0 0 0 #f3eee8;
    color: #111;
    border-color: rgba(243, 238, 232, 0.95);
    letter-spacing: 2.6px;
}

.top_btn.main-btn:active {
    transform: scale(0.97);
}

.top_btn.main-btn.black_btn {
    color: rgba(0, 0, 0, 0.56);
    border-color: rgba(0, 0, 0, 0.24);
    box-shadow: inset 0 0 0 0 transparent;
}

.top_btn.main-btn.black_btn:hover {
    box-shadow: inset 220px 0 0 0 #1c1a18;
    color: #f3eee8;
    border-color: rgba(0, 0, 0, 0.7);
    letter-spacing: 2.6px;
}

.top_btn.main-btn.delivery {
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 2px;
    color: rgba(243, 238, 232, 0.82);
    border-color: rgba(243, 238, 232, 0.42);
    box-shadow: inset 0 0 0 0 transparent;
    transition:
        box-shadow 0.5s cubic-bezier(0.76, 0, 0.24, 1),
        color 0.36s ease,
        border-color 0.3s ease,
        letter-spacing 0.3s ease,
        transform 0.15s ease;
}

.top_btn.main-btn.delivery:hover {
    box-shadow: inset 220px 0 0 0 #f3eee8;
    color: #111;
    border-color: rgba(243, 238, 232, 0.95);
    letter-spacing: 2.6px;
}

.top_btn.main-btn.delivery:active {
    transform: scale(0.97);
}

.top_btn.main-btn.delivery.black_btn {
    color: rgba(0, 0, 0, 0.56);
    border-color: rgba(0, 0, 0, 0.24);
    box-shadow: inset 0 0 0 0 transparent;
}

.top_btn.main-btn.delivery.black_btn:hover {
    box-shadow: inset 220px 0 0 0 #1c1a18;
    color: #f3eee8;
    border-color: rgba(0, 0, 0, 0.7);
    letter-spacing: 2.6px;
}

/* АКЦИИ — ЖИВОЕ ЗОЛОТО */
.top_btn.main-btn.action-btn {
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        110deg,
        #c9ae82 0%,
        #9e7d4c 18%,
        #e0c88e 36%,
        #b59d76 52%,
        #ccb07e 68%,
        #9e7d4c 82%,
        #dec48c 100%
    ) !important;
    background-size: 280% 100% !important;
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: none !important;
    letter-spacing: 2.5px;
    font-weight: 700;
    animation:
        ac-aurora 4.5s ease-in-out infinite,
        ac-breathe 3.2s ease-in-out infinite;
    transition: transform 0.22s ease, letter-spacing 0.3s ease !important;
}

.top_btn.main-btn.action-btn::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 7px;
    height: 7px;
    border-top: 1.5px solid rgba(255, 255, 255, 0.7);
    border-left: 1.5px solid rgba(255, 255, 255, 0.7);
    pointer-events: none;
    animation: ac-bracket 3.2s ease-in-out infinite;
}

.top_btn.main-btn.action-btn::after {
    content: '';
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 7px;
    height: 7px;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.7);
    border-right: 1.5px solid rgba(255, 255, 255, 0.7);
    pointer-events: none;
    animation: ac-bracket 3.2s ease-in-out infinite 0.4s;
}

.top_btn.main-btn.action-btn:hover {
    transform: scale(1.07) !important;
    letter-spacing: 3px !important;
}

@keyframes ac-aurora {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes ac-breathe {
    0%, 100% { box-shadow: 0 0 0 0 rgba(181, 157, 118, 0); }
    50%       { box-shadow: 0 0 16px 2px rgba(181, 157, 118, 0.55); }
}

@keyframes ac-bracket {
    0%, 100% { opacity: 0.52; }
    50%       { opacity: 1; }
}
@media(max-width: 995px){
    .top_btn-block{
        display: flex;
        position: absolute;
        bottom: -50px;
        margin: 0;
    }
}
@media(max-width: 360px){
    .top_btn-block .main-btn.top_btn{
        padding: 5px 10px;
    }
}
@media(max-width: 670px){
    .header .-phone{
        font-size: 14px;
    }
}
@media(max-width: 617px){
    .header .-phone{
        font-size: 13px;
        font-weight: 700;
        top: 25px;
        right: 0;
    }
    .header .-phone.white_phone{
        color: #000;
    }
}
@media(max-width: 460px){
    .header .-links,
    .header .-phone{
        right: -20px;
    }
}
@media(max-width: 430px){
    .header .-center.logo_wrap{
        margin-right: 80px;
    }
}
@media(max-width: 350px){
    .header .-center.logo_wrap{
        max-width: 150px;
        margin-right: 60px;
    }
}
@media(max-width: 1145px){
    .footer__social-line{
        display: none;
    }
}
@media(max-width: 1180px) and (min-width: 994px){
    .header .-phone{
        font-size: 14px;
        right: -18px; 
    }
}


/* ════════════════════════════════════════════════════════════
   СТРАНИЦА АКЦИЙ — PREMIUM REDESIGN
   ════════════════════════════════════════════════════════════ */

/* ── Hero-блок акций ── */
.actions-hero {
    text-align: center;
    padding: 80px 30px 50px;
    position: relative;
}

.actions-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 50% 20%, rgba(181,157,118,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.actions-hero__label {
    font-family: 'Montserrat Regular', sans-serif;
    font-size: 11px;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #b59d76;
    margin-bottom: 24px;
    opacity: 0;
    animation: act-fadeUp 0.8s ease forwards 0.2s;
}

.actions-hero__title {
    font-family: 'Montserrat ExtraBold', sans-serif;
    font-size: clamp(32px, 6vw, 60px);
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.1;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0;
    animation: act-fadeUp 0.8s ease forwards 0.35s;
}

.actions-hero__title em {
    font-style: italic;
    color: #b59d76;
    font-family: 'Montserrat Italic', sans-serif;
    font-weight: 400;
}

.actions-hero__line {
    width: 60px;
    height: 2px;
    background: #b59d76;
    margin: 0 auto 20px;
    opacity: 0;
    transform: scaleX(0);
    animation: act-scaleX 0.8s ease forwards 0.5s;
}

.actions-hero__sub {
    font-size: 14px;
    color: #7f7c78;
    letter-spacing: 1px;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.8;
    opacity: 0;
    animation: act-fadeUp 0.8s ease forwards 0.6s;
}

/* ── Карточки акций — новый стиль ── */
.actions-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 10px 0 40px;
}

.actions-list_item-link {
    display: block;
    width: 100%;
    margin: 0;
    text-decoration: none;
    color: inherit;
    opacity: 0;
    transform: translateY(30px);
    animation: act-cardIn 0.7s ease forwards;
}

.actions-list_item-link:nth-child(1) { animation-delay: 0.1s; }
.actions-list_item-link:nth-child(2) { animation-delay: 0.2s; }
.actions-list_item-link:nth-child(3) { animation-delay: 0.3s; }
.actions-list_item-link:nth-child(4) { animation-delay: 0.4s; }
.actions-list_item-link:nth-child(5) { animation-delay: 0.5s; }
.actions-list_item-link:nth-child(6) { animation-delay: 0.6s; }
.actions-list_item-link:nth-child(7) { animation-delay: 0.7s; }
.actions-list_item-link:nth-child(8) { animation-delay: 0.8s; }

.actions-list_item {
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: transform 0.5s cubic-bezier(0.25,0,0.25,1), box-shadow 0.5s ease;
}

.actions-list_item:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(0,0,0,0.15);
}

/* Убираем старый ::before/::after overlay — заменяем на новый */
.actions-list_item:before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 6px;
    background: linear-gradient(to top, rgba(20,18,15,0.85) 0%, rgba(20,18,15,0.3) 45%, transparent 100%);
    transition: opacity 0.5s ease;
    z-index: 10;
    opacity: 1;
    visibility: visible;
}

.actions-list_item:hover:before {
    opacity: 0.7;
    visibility: visible;
}

/* Убираем белую подложку при ховере */
.actions-list_item:after {
    display: none;
}

/* Изображение — высокое качество */
.actions-list_item-bg {
    height: 420px;
    position: relative;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transition: transform 0.8s cubic-bezier(0.25,0,0.25,1);
    /* Рендеринг высокого качества */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.actions-list_item:hover .actions-list_item-bg {
    transform: scale(1.05);
}

/* Лейбл категории */
.actions-list_item-label {
    padding: 6px 16px;
    background: #b59d76;
    color: #fff;
    font-family: 'Montserrat Bold', sans-serif;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 20;
    border-radius: 2px;
}

/* Контент поверх изображения */
.actions-list_item-inner {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 20;
    padding: 0;
    transition: none;
}

.actions-list_item:hover .actions-list_item-inner {
    bottom: 0;
}

.actions-list_item-text-wrapper {
    padding: 24px 28px;
}

.actions-list_item-title {
    font-family: 'Montserrat Bold', sans-serif;
    font-size: clamp(20px, 2.5vw, 32px);
    line-height: 1.15;
    color: #fff;
    margin: 0 0 8px;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.actions-list_item:hover .actions-list_item-title {
    color: #f3eee8;
}

.actions-list_item-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    line-height: 1.5;
    margin-bottom: 6px;
}

.actions-list_item-date {
    font-size: 11px;
    letter-spacing: 1px;
    color: #b59d76;
}

/* Кнопка «Подробнее» — плавное появление */
.actions-list_item-more {
    position: relative;
    display: block;
    height: 52px;
    background-color: #b59d76;
    border-radius: 0 0 6px 6px;
    line-height: 52px;
    color: white;
    font-family: 'Montserrat Bold', sans-serif;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    border: 0;
    padding: 0;
    cursor: pointer;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25,0,0.25,1), opacity 0.3s ease;
}

.actions-list_item:hover .actions-list_item-more {
    max-height: 52px;
    opacity: 1;
}

@media(max-width: 768px){
    .actions-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .actions-list_item-bg {
        height: 260px;
    }

    .actions-list_item-title {
        font-size: 18px;
        margin: 0 0 6px;
    }

    .actions-list_item-text-wrapper {
        padding: 16px 18px;
    }

    .actions-list_item-more {
        max-height: 52px;
        opacity: 1;
    }
}

/* Анимации для страницы акций */
@keyframes act-fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes act-scaleX {
    to { opacity: 1; transform: scaleX(1); }
}

@keyframes act-cardIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}


/* Детальная акция */
.actions-detail_img,
.actions-detail_text{
    margin-bottom: 30px;
}
.actions-detail_back{
    color: #000;
    text-decoration: none;
}


.top-block{
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.top-block_item {
    width: calc(49% - 20px);
    margin: 10px;
}
.top-block_item._text{
    display: flex;
    flex-direction: column;
}
.top-block_item_text{
    margin: auto 0;
}
.top-block_item._img img{
    max-width: 650px;
    width: 100%;
}
.middle-block{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.middle-block_img{
    flex-grow: 1;
    flex-shrink: 0;
    margin-right: 40px;
}
.middle-block_img-wrap{
    max-width: 390px;
    width: 100%;
    height: 390px;
    border-radius: 100%;
}
.middle-block_img-wrap img{
    width: 100%;
    height: 100%;
    border-radius: 100%;
    object-fit: cover;
}
.middle-block_text{
    flex-grow: 2;
}
.top-block,
.middle-block,
.designer-slider-block,
.advantages-block{
    margin-bottom: 40px;
}
.designer-slider_item{
    height: 500px;
}
.designer-slider_item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.advantages-block_head{
    margin-bottom: 40px;
}
.advantages-block_wrap{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.advantages-block_item{
    width: 30%;
    margin-bottom: 30px;
}
.advantages-block_item-inside{
    display: flex;
    align-items: flex-start;
}
.advantages-block_item._item-4 .advantages-block_item-inside,
.advantages-block_item._item-5 .advantages-block_item-inside{
    justify-content: center;
}
.advantages-block_item._item-4,
.advantages-block_item._item-5{
    width: 47%;
    margin: 0 auto;
}
.advantages-block_item-icon{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 100%;
    border: 2px solid #a1a1a1;
    margin-right: 30px;
    flex-shrink: 0;
}
.advantages-block_item-icon span{
    display: block;
    width: 34px;
    height: 34px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.advantages-block_item-text{
    width: 70%;
}
.advantages-block_item-head{
    margin-top: 0;
}
.bottom-form_container{
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    padding: 0 30px;
}
.bottom-form{
    position: relative;
}
.bottom-form:not(.active) .popup__close{
    display: none;
}
.bottom-form.active{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    z-index: 999;
    overflow: scroll;
}
.bottom-form.active #message{
    position: absolute;
    width: 350px;
    height: 35px;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    margin: auto;
}
.bottom-form_head{
    font-size: 95px;
    font-family: 'Montserrat ExtraBold', sans-serif;
    color: #b59d76;
    text-transform: uppercase;
    letter-spacing: 14px;
    line-height: 1;
    word-break: break-all;
}
.form-input_wrap{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.form-input_wrap._center{
    justify-content: center;
}
.form-input_box{
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 30px;
}    
.form-input_item{
    width: 100%;
    font-size: 16px;
    border: none;
    background: transparent;
    border-bottom: 1px solid #b59d76;
    font-style: italic;
    outline: none;
    text-align: center;
}
.form-input_box label{
    font-size: 14px;
    color: #797979;
}

.form-input_item.form-portf{
    text-align: left;
}
.form-input_box._last{
    margin-left: 60px;
}
    
#message{
    color: green;
    font-weight: 700;
}
.popup__btn._designer{
    margin: 50px 0 0 0;
}
@media(max-width: 992px){
    .middle-block_img-wrap{
        max-width: 250px;
        height: 250px;
    }
}
@media(max-width: 900px){
    .advantages-block_item-inside{
        flex-wrap: wrap;
        flex-direction: column;
        align-items: center;
    }
    .advantages-block_item-text{
        width: 100%;
        text-align: center;
    }
    .advantages-block_item-icon{
        margin: 0 0 10px 0;
    }
}
@media(max-width: 800px){
    .bottom-form_head{
        font-size: 40px;
        line-height: 45px;
        margin: 35px auto;
    } 
}
@media(max-width: 655px){
    .form-input_box{
        width: 100%;
    } 
    .form-input_box._last{
        margin-left: 0;
    }
    .top-block_item {
        width: 100%;
    }
    .popup__btn._designer{
        margin: 20px auto;
    }
    .middle-block_img-wrap{
        max-width: 350px;
        height: 350px;
        margin: 0 auto;
    }
    .middle-block{
        flex-wrap: wrap;
    }
    .middle-block_img,
    .middle-block_text{
        width: 100%;
    }
    .middle-block_img{
        order: 2;
    }
    .top-block,
    .middle-block,
    .designer-slider-block,
    .advantages-block{
        margin-bottom: 20px;
    }
    .top-block{
        justify-content: center;
    }
    .advantages-block_item{
        width: 48%;
    }
    .header .-links{
        top: auto;
        bottom: -100px;
        left: 0;
        right: 0;
        margin: 0;
        max-width: 100%;
        width: 100%;
        padding: 0;
        justify-content: space-between;
    }
    .header .-links .soc-icons-wrap {
        width: 100%;
        justify-content: space-between;
    }
    .header .-rutube{
        margin-right: 0;
    }
    .actions-list{
        padding-top: 60px;
    }
}
@media(max-width: 567px){
    .designer-slider_item{
        height: 300px;
    }
    .advantages-block_item,
    .advantages-block_item._item-4, 
    .advantages-block_item._item-5{
        width: 100%;
        margin-bottom: 10px;
    }
    .footer__bottom{
        margin-top: 80px;
    }
    .footer__bottom .org{
        max-width: 300px;
        position: absolute;
        top: -77px;
        left: 0;
        right: 0;
        margin: auto;
        width: 100%;
        justify-content: center;
        align-items: center;
    }
}
@media(max-width: 400px){
    .middle-block_img-wrap{
        max-width: 250px;
        height: 250px;
    }
}
@media(max-width: 350px){
    .header .-links{
        bottom: -105px;
    }
}
.org{
    width: 40%;
    display: flex;
    flex-wrap: wrap;
    margin-left: 30px;
}
.org span:not(last-of-type){
    margin-right: 10px;
}
.messages_cookies {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #f1ece5;
    z-index: 1000;
    color: #7f7c78;
    padding: 15px 0;
    display: none;
}
.messages_cookies.active {
    display: block;
}
.messages_cookies-text p{
    margin: 0 0 10px;
}
.messages_cookies-text a{
    color: black;
    text-decoration: none;
}
.messages_cookies-btn {
    margin: 10px auto 10px 0;
    width: 150px;
    height: 30px;
}
.checkbox-item a{
    color: #797979;
}
.checkbox-item input[type="checkbox"] {
    appearance: none;
    width: 15px;
    height: 15px;
    border: 1px solid #797979;
    border-radius: 3px;
    background-color: #fff;
    cursor: pointer;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    margin: 0;
}
.checkbox-item input[type="checkbox"]:checked{
    background-color: #b59d76;
    border-color: #b59d76;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}
.checkbox-item input[type="checkbox"].error{
    border: 1px solid red;
    background-color: #ff000014;
}
.checkbox-item input[type="checkbox"].error:checked{
    background-color: #b59d76;
    border-color: #b59d76;
}
.footer__bottom-link{
    padding: 10px 30px 5px 30px;
}
.footer__bottom-link a{
    color: black;
    text-decoration: none;
}
.footer__bottom-link a:first-of-type{
    margin-right: 10px;
}
.footer__bottom-text{
    padding: 5px 30px;
    font-weight: 300;
}
@media(max-width: 768px){
    .footer__bottom-link a{
        display: block;
    }
}
.header .-logo{
    max-width: 220px;
    width: 100%;
    height: 35px;
}
@media(max-width: 580px){
    .header .-logo{
        max-width: 125px;
    }
}

/* SOCIAL ICONS — HEADER */
.soc-icons-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.soc-icons-wrap > a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border-radius: 8px;
    text-decoration: none;
    overflow: visible;
    opacity: 0.82;
    transform: translateY(0) scale(1);
    transition:
        opacity    0.3s ease,
        transform  0.38s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.3s ease,
        filter     0.3s ease,
        background-color 0.3s ease;
    will-change: transform, opacity;
}

.soc-icons-wrap > a:hover {
    opacity: 1;
    transform: translateY(-6px) scale(1.14);
}

.soc-icons-wrap > a:active {
    transform: translateY(-2px) scale(1.04);
    transition-duration: 0.1s;
}

.soc-icons-wrap > a.-vk:hover {
    background-color: #005fcc;
    box-shadow:
        0 0 0 2px rgba(0, 119, 255, 0.45),
        0 8px 24px rgba(0, 119, 255, 0.55),
        0 2px 8px rgba(0, 80, 200, 0.35);
    filter: brightness(1.08);
}

.soc-icons-wrap > a.-tg:hover {
    box-shadow:
        0 0 0 2px rgba(38, 165, 228, 0.5),
        0 8px 24px rgba(38, 165, 228, 0.5),
        0 2px 8px rgba(38, 165, 228, 0.3);
    filter: brightness(1.06);
}

.soc-icons-wrap > a.-insta:hover,
.soc-icons-wrap > a.-instagram:hover {
    box-shadow:
        0 0 0 2px rgba(220, 39, 67, 0.45),
        0 8px 24px rgba(224, 60, 90, 0.5),
        0 2px 8px rgba(244, 100, 40, 0.35);
    filter: brightness(1.08) saturate(1.1);
}

.soc-icons-wrap > a.-rutube:hover {
    box-shadow:
        0 0 0 2px rgba(204, 30, 30, 0.5),
        0 8px 24px rgba(204, 30, 30, 0.45);
    filter: brightness(1.06);
}

.soc-icons-wrap > a.-youtube:hover,
.soc-icons-wrap > a.-yt:hover {
    box-shadow:
        0 0 0 2px rgba(255, 0, 0, 0.5),
        0 8px 24px rgba(255, 0, 0, 0.45);
    filter: brightness(1.06);
}

.header:not(.--main) .soc-icons-wrap > a {
    opacity: 0.70;
}
.header:not(.--main) .soc-icons-wrap > a:hover {
    opacity: 1;
}

@media (max-width: 900px) {
    .soc-icons-wrap {
        gap: 6px;
    }
    .soc-icons-wrap > a {
        width: 28px;
        height: 28px;
    }
}
.ya-badge {
    display: inline-flex;
    align-items: center;
    margin-left: 10px;
    opacity: 0.9;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.ya-badge:hover {
    opacity: 1;
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    .soc-icons-wrap {
        gap: 4px;
    }
}

.phone-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 768px) {
    .phone-wrap {
        flex-direction: column;
        align-items: flex-end;
        gap: 2px;
        position: absolute;
        right: 0;
        top: 55px;
    }

    .phone-wrap .-phone {
        position: static;
    }
}

/* XM-BADGE */
@keyframes xm-bounce {
    0%, 100% { transform: translateY(0) scale(1); }
    30%       { transform: translateY(-10px) scale(1.05); }
    55%       { transform: translateY(-4px) scale(1.02); }
    75%       { transform: translateY(-7px) scale(1.04); }
    90%       { transform: translateY(-2px) scale(1.01); }
}

@keyframes xm-glow-pulse {
    0%, 100% { filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.6)); }
    50%       { filter: drop-shadow(0 0 14px rgba(255, 215, 0, 0.95)); }
}

.xm-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-decoration: none;
    animation: xm-bounce 2.8s ease-in-out infinite;
    position: relative;
    z-index: 1;
    margin-top: 2px;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.xm-badge:hover {
    animation: xm-glow-pulse 1s ease-in-out infinite;
    transform: translateY(-4px) scale(1.12) rotate(-2deg);
    filter: drop-shadow(0 6px 18px rgba(255, 180, 0, 0.75));
}

.xm-badge__img {
    display: block;
    width: 80px;
    height: auto;
    transition: width 0.25s ease;
}

@media (max-width: 1300px) {
    .xm-badge__img { width: 70px; }
}

@media (max-width: 900px) {
    .xm-badge__img { width: 56px; }
}

@media (max-width: 768px) {
    .xm-badge {
        position: absolute;
        top: 4px;
        right: 0;
        z-index: 20;
        margin: 0;
    }
    .xm-badge__img { width: 56px; }
}

/* Скрываем H1 внутри главного слайдера */
.main-slider .h1 {
    color: transparent;
    user-select: none;
    pointer-events: none;
    visibility: visible;
    display: block;
}

/* КАРТОЧКА ТОВАРА — МОБИЛЬНАЯ */
@media(max-width: 800px){
    .det-gallery{
        overflow: visible !important;
        margin-bottom: 50px;
    }

    .det-gallery.swiper-container-horizontal .swiper-pagination.--hide-large{
        bottom: -38px !important;
        top: auto !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .det-desc{
        margin-top: 30px;
    }
}

/* НАВИГАЦИЯ СЛАЙДЕРОВ */
.types__list .swiper-button-prev,
.types__list .swiper-button-next,
.video-slider .swiper-button-prev,
.video-slider .swiper-button-next{
    display: none !important;
}

@media(max-width: 800px){
    .custom-swiper-buttons.--left,
    .custom-swiper-buttons.--right{
        pointer-events: none;
    }
}

.types-nav-prev,
.types-nav-next,
.video-nav-prev,
.video-nav-next{
    position: absolute;
    top: 38%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.96);
    border: 2px solid #b59d76;
    box-shadow: 0 4px 16px rgba(0,0,0,0.14);
    cursor: pointer;
    z-index: 50;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.types-nav-prev::after,
.video-nav-prev::after{
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-left: 2.5px solid #b59d76;
    border-bottom: 2.5px solid #b59d76;
    transform: rotate(45deg);
    margin-left: 4px;
    transition: border-color 0.2s;
}
.types-nav-next::after,
.video-nav-next::after{
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-right: 2.5px solid #b59d76;
    border-top: 2.5px solid #b59d76;
    transform: rotate(45deg);
    margin-right: 4px;
    transition: border-color 0.2s;
}

.types-nav-prev:hover,
.types-nav-next:hover,
.video-nav-prev:hover,
.video-nav-next:hover{
    background: #b59d76;
    border-color: #b59d76;
    box-shadow: 0 6px 22px rgba(181,157,118,0.4);
    transform: translateY(-50%) scale(1.08);
}
.types-nav-prev:hover::after,
.types-nav-next:hover::after,
.video-nav-prev:hover::after,
.video-nav-next:hover::after{
    border-color: #fff;
}
.types-nav-prev:active,
.types-nav-next:active,
.video-nav-prev:active,
.video-nav-next:active{
    transform: translateY(-50%) scale(0.95);
}

.types-nav-prev.swiper-button-disabled,
.types-nav-next.swiper-button-disabled,
.video-nav-prev.swiper-button-disabled,
.video-nav-next.swiper-button-disabled{
    opacity: 0.3;
    pointer-events: none;
}

@media(max-width: 575px){
    .types-nav-prev,
    .types-nav-next,
    .video-nav-prev,
    .video-nav-next{
        width: 36px;
        height: 36px;
    }
}

.types-nav-prev{ left: 8px; }
.types-nav-next{ right: 8px; }
.video-nav-prev{ left: 8px; }
.video-nav-next{ right: 8px; }

@media(min-width: 1101px){
    .types-nav-prev,
    .types-nav-next,
    .video-nav-prev,
    .video-nav-next{
        width: 50px;
        height: 50px;
        top: 38%;
    }
    .types-nav-prev::after,
    .video-nav-prev::after{
        width: 12px;
        height: 12px;
        border-left-width: 3px;
        border-bottom-width: 3px;
        margin-left: 5px;
    }
    .types-nav-next::after,
    .video-nav-next::after{
        width: 12px;
        height: 12px;
        border-right-width: 3px;
        border-top-width: 3px;
        margin-right: 5px;
    }
    .types-nav-prev{ left: -62px; }
    .types-nav-next{ right: -62px; }
    .video-nav-prev{ left: 4px; }
    .video-nav-next{ right: 4px; }
    .video-slider_wrap{
        padding: 0 66px;
        box-sizing: border-box;
    }
}

@media(max-width: 1024px){
    .header .-phone {
        display: none !important;
    }
}/* ================================================================
   styles-fixes.css — исправления адаптивности
   Подключать ПОСЛЕ основного styles.css:
   Asset::getInstance()->addCss('/assets/css/styles-fixes.css');
   ================================================================ */


/* ──────────────────────────────────────────────────────────────
   1. ФОРМАТИРОВАНИЕ ИЗОБРАЖЕНИЙ 16:9 — все блоки / все версии
   ────────────────────────────────────────────────────────────── */

/* Разводящая страница каталога */
.product-list__image {
    aspect-ratio: 16 / 9;
    width: 100%;
    min-height: unset;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Карточки акций — фоновый div с background-image */
.actions-list_item-bg {
    height: auto;
    aspect-ratio: 16 / 9;
}
@media (max-width: 768px) {
    .actions-list_item-bg {
        height: auto;
    }
}

/* Свайпер проектов на детальной странице */
.det-projects .det-projects__image {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Страница проектов */
.page-projects__image {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Каталог / индекс категорий */
.cat-index__image {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Галерея типов на главной (swiper) */
.types__list-slide a img {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Слайдер дизайнеров */
.designer-slider__item {
    height: auto;
}
.designer-slider__item img {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Видео-слайдер */
.video-slider-item__mp4 {
    aspect-ratio: 16 / 9;
}


/* ──────────────────────────────────────────────────────────────
   2. СТРАНИЦА ДЕТАЛИ АКЦИИ
      — изображения во весь экран (полная ширина + 16:9)
      — блок контента без ограничения ширины
   ────────────────────────────────────────────────────────────── */

/* Снимаем ограничение content-wrapper на детальных страницах акций */
.content-wrapper[data-page*="/page/action"] {
    max-width: 100%;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

/* Все изображения в контенте акции — полная ширина + 16:9 */
.actions-detail img {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
    display: block;
    margin-bottom: 30px;
    border-radius: 0;
}

/* Текстовые блоки внутри акции — возвращаем внутренние отступы */
.actions-detail__text,
.actions-detail .det-full-text {
    padding-left: 30px;
    padding-right: 30px;
}


/* ──────────────────────────────────────────────────────────────
   3. ИКОНКИ СОЦИАЛЬНЫХ СЕТЕЙ — адаптивное поведение
   ────────────────────────────────────────────────────────────── */

/*
 * ≤ 768px — иконки уходят ПОД кнопки (Расчёт / Акции / Доставка)
 *   Расширяем существующее правило max-width: 655px до 768px
 */
@media (max-width: 768px) {
    .header .-links {
        position: absolute;
        top: auto;
        bottom: -100px;
        left: 0;
        right: 0;
        margin: 0;
        max-width: 100%;
        width: 100%;
        padding: 0;
        justify-content: space-between;
        background: transparent;
    }
    .header .-links .soc-icons-wrap {
        width: 100%;
        justify-content: space-between;
    }
    .header .-rutube {
        margin-right: 0;
    }
    .actions-list {
        padding-top: 60px;
    }
}

/*
 * 769px – 1024px — иконки выравниваются ПО КНОПКАМ «Расчёт» и пр.
 *   Позиционируются справа на той же вертикали (bottom: -50px),
 *   что и блок кнопок .top_btn-block
 */
@media (max-width: 1024px) and (min-width: 769px) {
    .header .-links {
        position: absolute;
        top: auto;
        bottom: 100px;
        right: -19px;
        left: auto;
    }
}

/* > 1024px — без изменений, оригинальное поведение сохраняется */