@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

@import url(/local/templates/ssd/css/_colors.css);
@import url(/local/templates/ssd/css/_variables.css);

@import url(/local/templates/ssd/css/nav.css);

@import url(/local/templates/ssd/css/hero-block.css);
@import url(/local/templates/ssd/css/trimming.css);
@import url(/local/templates/ssd/css/consultation.css);
@import url(/local/templates/ssd/css/cards.css);
@import url(/local/templates/ssd/css/purpose.css);
@import url(/local/templates/ssd/css/colors.css);
@import url(/local/templates/ssd/css/reviews.css);
@import url(/local/templates/ssd/css/order.css);
@import url(/local/templates/ssd/css/constructions.css);
@import url(/local/templates/ssd/css/about.css);
@import url(/local/templates/ssd/css/variants.css);
@import url(/local/templates/ssd/css/faq.css);
@import url(/local/templates/ssd/css/products.css);
@import url(/local/templates/ssd/css/product.css);
@import url(/local/templates/ssd/css/linear-progress.css);
@import url(/local/templates/ssd/css/gallery.css);
@import url(/local/templates/ssd/css/manufacturers.css);
@import url(/local/templates/ssd/css/carousel.css);
@import url(/local/templates/ssd/css/order-door.css);
@import url(/local/templates/ssd/css/company-progress.css);
@import url(/local/templates/ssd/css/footer.css);

@import url(/local/templates/ssd/css/pages/installation_and_disassembly.css);
@import url(/local/templates/ssd/css/pages/locks.css);
@import url(/local/templates/ssd/css/pages/door.css);
@import url(/local/templates/ssd/css/pages/doors.css);
@import url(/local/templates/ssd/css/pages/furniture.css);
@import url(/local/templates/ssd/css/pages/constructions.css);
@import url(/local/templates/ssd/css/pages/info.css);
@import url(/local/templates/ssd/css/pages/main.css);
@import url(/local/templates/ssd/css/pages/services.css);
@import url(/local/templates/ssd/css/pages/contacts.css);
@import url(/local/templates/ssd/css/pages/delivery.css);
@import url(/local/templates/ssd/css/pages/company.css);
@import url(/local/templates/ssd/css/pages/news.css);
@import url(/local/templates/ssd/css/pages/catalog.css);
@import url(/local/templates/ssd/css/pages/lock.css);
@import url(/local/templates/ssd/css/pages/portfolio.css);

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: Open Sans, sans-serif;
}

body {
    min-height: 100vh;
}

.no-overlow {
    overflow: hidden;
}

ul {
    list-style: none;
}

a {
    color: black;
    text-decoration: none;
}

h1 {
    color: var(--black-secondary);
    font-size: 62px;
    font-weight: 400;
    line-height: 120%;
    margin-top: 34px;
}

h2 {
    color: var(--black);
    font-size: 54px;
    font-weight: 400;
    line-height: 120%;
    margin-top: 80px;
    margin-bottom: 50px;
}

h3 {
    color: var(--black-secondary);
    font-size: 36px;
    font-weight: 200;
    line-height: 140%;
    margin: 27px 0px;
}

hr {
    border: 1px solid var(--white-secondary);
    margin: 80px 0px;
}

aside {
    position: sticky;
    top: 0;
    height: 100%;
    /* background-color: #E5EEF9; */
    background-color: #F5F7FC;
}

.wrapper {
    display: flex;
}

.sidebar {
    min-width: 310px;
    max-width: 310px;
    height: 100vh;
    padding: 16px 30px 40px 20px;
    overflow: auto;
    z-index: 7;
    transition: var(--tr);
}

.sidebar::-webkit-scrollbar {
    width: 4px;
    opacity: 0;
}
.sidebar:hover::-webkit-scrollbar {
    opacity: 1;                 /* Chrome, Safari, Edge */
}
.sidebar:hover::-webkit-scrollbar-thumb {
    background-color: #bbbbbb;
    border-radius: 20px;
    border: 2px solid #bbbbbb;
}

.sidebar__inner {
    position: relative;
}
.sidebar__subtitle{
    font-weight: 600;
    margin: 30px 0;
    font-style: italic;
    text-align: center;
}

.sidebar .button {
    margin-top: 10px;
    padding: 10px 10px 10px 20px;
}

.content {
    width: calc(100% - 310px);
    z-index: 5;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0px auto 0px auto;
}

.sidebar hr {
    margin-top: 40px;
    margin-bottom: 30px;
    width: 100%;
    display: block !important;
    border: 1px solid #353535;
}

.sidebar__info-text {
    color: var(--black-secondary);
    font-size: 14px;
    line-height: 170%;
    letter-spacing: 5%;
}

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

.sidebar__social {
    margin-top: 35px;
}

.social__items {
    display: flex;
    gap: 12px;
    width: 100%;
}

.section-blocks {
    width: 100%;
    display: flex;
}

.section-block {
    width: 50%;
    position: relative;
}

.section-block-background {
    flex: 1;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.section-block-container {
    padding-left: 40px;
    padding-right: 86px;
}

.section-block-container--left {
    padding-left: 40px;
}

.section-block-container--right {
    padding-right: 86px;
}

.section-block-100 {
    width: 100%;
}

.section-block-container.section-block-background {
    margin-left: 40px;
    padding-left: 0px;
    padding-right: 0px;
}

.sidebar .social__item.mobile {
    display: none;
}

.button,
.button input {
    font-size: 20px;
    font-weight: 500;
    line-height: 150%;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 20px;
    border: none;
    background: transparent;
    text-transform: uppercase;
    outline: 1px solid transparent;
    border: none;
    transition: var(--tr);
    width: max-content;
    cursor: pointer;
    color: var(--black-secondary);
}
.button input {
    background: unset;
    border: unset;
    padding: 0;
}
.product__warranty .button{
    outline: 2px solid #00c2a8;
  transition: var(--tr);
  border-radius: 10px;
}

.product__warranty .button:hover{
    background-color: #00c2a8;
    color: #fff;
}
.max__button-footer{
    width: 52px;
    height: 52px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999999999999;
}
@media (max-width:1000px){
   .max__button-footer{
    bottom: 80px;
   }
}
.button img {
    transform: translateX(0px);
    transition: var(--tr);
}

.button:hover img {
    transform: translateX(2px);
    transition: var(--tr);
}

.button:hover {
    outline: 1px solid var(--grey);
    transition: var(--tr);
}

.button-white {
    color: var(--white-secondary);
}

.button-white:hover {
    outline: 1px solid var(--white-secondary);
    transition: var(--tr);
}

.absolute-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 333;
}

.form {
    margin-bottom: 34px;
}

.form__text {
    font-size: 24px;
    line-height: 40px;
    color: var(--black);
    margin-bottom: 50px;
}

.form-catalog-block {
    margin: 40px 0px 0px;
}

.form-catalog-block .form__blocks {
    margin-top: 0px;
}

.form__blocks {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form__accord {
    color: #D9D9D9;
    font-size: 13px;
    font-weight: 500;
    line-height: 40px;
}

.input {
    color: var(--grey);
    width: 100%;
    font-size: 20px;
    line-height: 150%;
    padding: 10px 20px;
    outline: 1px solid var(--white-secondary);
    border: none;
}

.breadcrumbs {
    margin-top: 40px;
}

.breadcrumbs__text {
    color: var(--grey);
    font-size: 16px;
    font-weight: 200;
    line-height: 140%;
}

.tabs {
    width: 95%;
    position: relative;
}

.tabs-swiper {
    width: 100%;
}
.doors .tabs {
    width: calc(100% - 80px);
    margin: 0 0 auto;
    padding-right: 0;
}
.doors .tabs:has(.swiper-button-lock) {
    width: 100%;
}
.doors .tabs .swiper-button-next {
    right: -40px
}
.tabs-swiper-slide {
    width: max-content !important;
    flex-shrink: initial !important;
}

.tabs__items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tabs__item {
    color: var(--black-secondary);
    font-size: 18px;
    line-height: 28px;
    padding: 10px 23px;
    border: 1px solid var(--grey);
    background-color: transparent;
    cursor: pointer;
    display: inline-block;
    white-space: nowrap;
    transition: var(--tr);
}
.tabs__item:has(input[checked="checked"]),
.tabs__item.active2 {
    background: var(--black-secondary);
    color: #fff;
}
.tabs .swiper-button-next,
.tabs .swiper-button-prev {
    width: 30px;
    height: 30px;
    background-image: url('/local/templates/ssd/icons/gallery-icon-right.svg') !important;
    background-repeat: no-repeat;
    background-size: cover;
    top: auto;
    right: 47.5px;
    bottom: 10px;
}
.tabs .swiper-button-prev {
    transform: rotate(180deg);
    left: -40px;
}
.tabs .swiper-button-next::after,
.tabs .swiper-button-prev::after{
    display: none;
}

.tabs__item.active {
    border: 1px solid transparent;
}

.text {
    color: var(--black-secondary);
    font-size: 18px;
    line-height: 150%;
}

.text-absolute {
    position: absolute;
}

.swiper-slide {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.card-slider__inner {
    position: relative;
}

.swiper-button-next.swiper-card-slider-swiper-button-next,
.swiper-button-prev.swiper-card-slider-swiper-button-prev {
    top: auto !important;
    bottom: 0;
    width: 60px;
    height: 60px;
    background-image: url('/local/templates/ssd/icons/slider-big-arrow-circle.svg') !important;
    background-repeat: no-repeat;
    background-size: cover;
}

.swiper-button-next.swiper-card-slider-swiper-button-next::after,
.swiper-button-prev.swiper-card-slider-swiper-button-prev::after {
    display: none;
}

.swiper-button-prev.swiper-card-slider-swiper-button-prev {
    transform: rotate(180deg);
    left: 45px;
}

.swiper-button-next.swiper-card-slider-swiper-button-next {
    right: auto;
    left: 135px;
}

.menu-up {
    display: none;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: var(--white-secondary);
    height: 70px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.menu-up__inner {
    width: 100%;
    height: 100%;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-up__block {
    display: flex;
    align-items: center;
}

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

.menu-bottom {
    display: none;
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    z-index: 1000;
    background-color: var(--white-secondary);
    height: 70px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.menu-bottom__inner {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.menu-up__logo {
    height: 40px;
}

.menu-up__icon {
    width: 20px;
}

.menu-up__icon.location {
    margin-left: 15px;
    transform: translateY(-2px);
}

.menu-bottom__text {
    font-size: 12px;
    line-height: 150%;
    margin-top: 6px;
    color: var(--black-secondary);
}

.menu-bottom__link {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.menu-bottom__icon {
    height: 16px;
}

.menu-up__close {
    display: none;
    height: 22px;
    margin-left: 10px;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    background-color: #FCFCFC;
    opacity: 0;
    visibility: hidden;
    user-select: none;
    transition: var(--tr);
}

.modal.active {
    opacity: 1;
    visibility: visible;
    user-select: auto;
    transition: var(--tr);
}

.modal__inner {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0px auto;
    position: relative;
}

.modal__close {
    position: absolute;
    top: 15vh;
    right: 15vw;
    cursor: pointer;
}

.modal form {
    width: 725px;
    text-align: center;
}

.modal form h2 {
    margin-bottom: 10px;
    margin-top: 0px;
    max-width: 100%;
}

.modal form .form__button {
    margin: 0 auto;
}

.modal form .form__block:last-child {
    text-align: left;
}

.content>.portfolio #portfolio__book {
    margin-top: 60px;
    margin-bottom: 60px;
    z-index: 1000;
}
#portfolio__book::after {
    content: "";
    position: absolute;
    width: 160px;
    height: 188px;
    background: url(/local/templates/ssd/icons/portfolio.svg) center center no-repeat;
    background-size: cover;
    right: 5%;
    top: 10%;
    pointer-events: none;
    transition: 0.25s;
    opacity: 0;
}
#portfolio__book.active::after {
    opacity: 1;
}
.sidebar__hr {
    height: 1px;
    background-color: #2A2A2AF0;
    width: 100%;
    margin-bottom: 28px;
    margin-top: 42px;
}

.form__block:last-child {
    display: flex;
    align-items: center;
}

.form__custom-checkbox {
    position: relative;
    color: #D9D9D9;
    font-size: 13px;
    font-weight: 500;
    line-height: 40px;
    padding-left: 25px;
    cursor: pointer;
}

.form__custom-checkbox__input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.form__custom-checkbox__checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 18px;
    width: 18px;
    border: 1px solid #7c7c7c;
    border-radius: 3px;
    transform: translateY(10px);
    cursor: pointer;
}

.form__custom-checkbox__checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.form__custom-checkbox__input:checked~.form__custom-checkbox__checkmark:after {
    display: block;
}

.form__custom-checkbox__checkmark:after {
    left: 5px;
    top: 6%;
    width: 3px;
    height: 8px;
    border: solid #7c7c7c;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.menu-up__address {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
}

.menu-up__address-label {
    font-size: 12px;
    font-weight: 600;
    line-height: 120%;
    color: var(--grey);
    opacity: 50%;
}

.menu-up__address-text {
    font-size: 12px;
    font-weight: 600;
    line-height: 140%;
    color: var(--grey);
    width: 150px;
}


.products__card-price__old {
    text-decoration: line-through;
    color: #D9D9D9;
}
.tabs-content {
    margin-top: 20px;
    border-top: 1px solid var(--grey);
    padding-top: 20px;
}
.tabs-content__item {
    display: none;
}

.tabs-content__item.active {
    display: block;
}
.tabs-content__item iframe {
    max-width: 100%;
}
.fake-checkboxes-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.fake-checkbox-wrap {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.fake-checkboxes {
    width: 49%;
}
.fake-checkbox {
    width: 20px;
    height: 20px;
    border: 1px solid #ccc;
    margin-right: 10px;
    position: relative;
    cursor: pointer;
}

.fake-checkbox.active::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/local/templates/ssd/icons/146095.svg') center center no-repeat;
    background-size: contain;
}
.fake-checkboxes-title {
    color: var(--black-secondary);
  font-size: 18px;
  line-height: 150%;
    font-weight: 500;
    margin-bottom: 10px;
}
.fake-checkbox-wrap span {
    font-size: 14px;
}
.ul {
    list-style: disc inside;
    margin: 15px 0;
}
.product__colors-palette-color.active {
    border-width: 5px;
}
.gallery .swiper-slide img.recolor,
.gallery .swiper-slide img.shpon {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: none;
}
.gallery .swiper-slide img.shpon {
    opacity: 60%;
}
.docs{margin:0;}
.docs .xls, .docs .doc, .docs .pdf, .docs .jpg, .docs .png, .docs .ppt, .docs .tif, .docs .txt{margin-bottom:10px;line-height:19px;min-height:43px;padding-left:58px;color:#707f88;font-size:14px;}
.docs .xls a, .docs .doc a, .docs .pdf a, .docs .jpg a, .docs .png a, .docs .ppt a, .docs .tif a, .docs .txt a{display:block;text-overflow:ellipsis;/*! overflow:hidden; */font-size:19px;margin-bottom:3px;white-space:nowrap;}
.docs .xls{background:url("/local/templates/ssd/images/docs/xls.png") no-repeat;}
.docs .doc{background:url("/local/templates/ssd/images/docs/doc.png") no-repeat;}
.docs .pdf{background:url("/local/templates/ssd/images/docs/pdf.png") no-repeat;}
.docs .jpg{background:url("/local/templates/ssd/images/docs/jpg.png") no-repeat;}
.docs .png{background:url("/local/templates/ssd/images/docs/png.png") no-repeat;}
.docs .ppt{background:url("/local/templates/ssd/images/docs/ppt.png") no-repeat;}
.docs .tif{background:url("/local/templates/ssd/images/docs/tif.png") no-repeat;}
.docs .txt{background:url("/local/templates/ssd/images/docs/txt.png") no-repeat;}
.docs {
    display:flex;
    flex-wrap: wrap;
    gap: 50px;
}
.logo__image {
    max-width: 100%;
}
.sitemap-wrap {
    margin: 30px 0;
    display: flex;
    flex-wrap: wrap;
}
.sitemap {
    width: 50%;
}
.sitemap ul {
    padding-left: 15px;
}
.sitemap a:hover {
    text-decoration: underline;
}
.nav__list .nav__elem:first-child .nav__dropdown-title a,
.nav__list .nav__elem:first-child .nav__dropdown-title__text {
    font-weight: 700;
}
.company-swiper--main {
    padding-bottom: 90px !important;
}
.search-form {
    margin-top: 30px;
    position: relative;
}
.search-form .input {
    padding-right: 50px;
    font-size: 16px;
    border: 1px solid #CCCDD1;
}
.search-form input[name="s"] {
    position: absolute;
    border: unset;
    width: 20px;
    height: 20px;
    background: url(/local/templates/ssd/icons/search-icon.png) #fff center center no-repeat;
    background-size: contain;
    right: 10px;
    top: 13px;
    z-index: 1;
    cursor: pointer;
}
.search-page {
    margin: 50px 0;
}
.search-page hr {
    margin: 20px 0px;
}
.hero-block__slider-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.section-blocks--sticky {
    align-items: start;
}
.section-blocks--sticky .section-block-container--left {
    position: sticky;
    top: 0;
}

.newcolor .products__actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.newcolor .products__actions button{
    outline: 2px solid #00c2a8;
    border-radius: 10px;
    background: #00c2a8;
    color: #fff;
    width: 100%;
    justify-content: center;
}
.newcolor .products__card-price{
    font-size: 34px;
  font-weight: 700;
  padding: 0;
  margin: 0;
}
.newcolor .products__actions .button{
    justify-content: center;
    width: 100%;
    outline: 2px solid #00c2a8;
    border-radius: 10px;
  &:hover{
    background: #00c2a8;
    color: #fff;
  }
}
@media screen and (max-width: 1600px) {
    h2 {
        font-size: 60px;
    }

    .section-block-container {
        padding-right: 60px;
    }
}

@media screen and (max-width: 1500px) {
    .content {
        width: calc(100% - 250px);
    }
    .sidebar {
        min-width: 250px;
        max-width: 250px;
    }
    h1 {
        font-size: 48px;
    }

    h2 {
        font-size: 42px;
        margin-top: 40px;
        margin-bottom: 40px;
    }

    h3 {
        font-size: 30px;
    }

    hr {
        margin: 70px 0px;
    }

    .section-block-container {
        padding-right: 30px;
    }

    .section-block-container {
        padding-left: 30px;
    }

    .text {
        font-size: 17px;
    }

    .input {
        font-size: 19px;
    }


    .button,
    .button input {
        font-size: 18px;
    }

    .tabs__item {
        font-size: 17px;
    }

    .products__card-title {
        font-size: 17px;
        max-width: 70%;
    }



}


@media screen and (max-width: 1250px) {
    .tabs {
        /*! padding-right: 90px; */
    }

    .tabs-swiper-slide {
        width: auto !important;
        flex-shrink: 0;
    }
}

@media screen and (max-width: 1200px) {


    .sidebar .form__button {
        max-width: 100%;
        font-size: 16px;
        padding: 10px 10px 10px 10px;
        margin-top: 40px;
    }
    #portfolio__book::after {
        width: 80px;
        height: 94px;
    }
    hr {
        display: none;
    }

    .section-blocks {
        flex-direction: column;
        gap: 40px;
    }

    .section-block {
        width: 100%;
    }

    .section-block-container,
    .section-block-container--right,
    .section-block-container--left {
        padding: 0px 30px;
    }

    .section-block-background {
        flex: auto;
        width: 100%;
        height: 50vw;
    }

    .swiper-button-prev.swiper-card-slider-swiper-button-prev {
        left: 30px;
    }

    .swiper-button-next.swiper-card-slider-swiper-button-next {
        left: 110px;
    }

    .modal__close {
        top: 100px;
        right: 100px;
    }

    .form__text {
        font-size: 20px;
    }
}

@media screen and (max-width: 1000px) {

    h2 {
        font-size: 38px;
    }

    .content {
        width: 100%;
    }

    .sidebar {
        max-width: 50%;
        min-width: 50%;
        position: fixed;
        top: 67px;
        left: -100%;
        z-index: 1001;
        padding-bottom: 100px;
    }

    .footer {
        border-top-left-radius: 30px;
        border-top-right-radius: 30px;
    }

    .nav__dropdown-elem__dropdown-list {
        width: 50%;
        left: -100%;
    }

    .nav__dropdown-elem__dropdown-list.active {
        left: 50%;
    }

    .sidebar__info {
        margin-top: 15px;
    }

    .sidebar .logo {
        display: none;
    }

    .sidebar.active {
        left: 0;
        top: 69px;
    }

    .text {
        max-width: 100% !important;
    }

    .form {
        width: 100%;
    }

    .tabs {
        width: 90%;
        padding-right: 50px;
    }

    .tabs .swiper-button-next {
        right: 10px;
    }

    .menu-up {
        display: block;
    }

    .menu-bottom {
        display: block;
    }

    .breadcrumbs {
        margin-top: 110px;
    }

    .modal__close {
        right: 50px;
    }
}

@media screen and (max-width: 768px) {
    .company-swiper--main {
        padding-bottom: 60px !important;
    }
    .modal form {
        width: auto;
        padding: 0 10px;
    }
    h3 {
        margin-bottom: 20px;
    }

    .button {
        width: 100%;
        outline: 1px solid var(--grey);
        justify-content: space-between;
    }

    .sidebar {
        min-width: 100%;
        max-width: 100%;
    }

    .sidebar .social__item.mobile {
        display: block;
    }

    .sidebar .social__items {
        gap: 22px;
    }

    .wrapper {
        padding-bottom: 70px;
    }

    .swiper-button-next.swiper-card-slider-swiper-button-next,
    .swiper-button-prev.swiper-card-slider-swiper-button-prev {
        width: 40px;
        height: 40px;
    }

    .swiper-button-next.swiper-card-slider-swiper-button-next {
        left: 90px;
    }

    .nav__dropdown-elem__dropdown-list {
        position: static;
        width: max-content;
        overflow: hidden;
        max-height: 0;
        height: auto;
        gap: 12px;
        padding: 0px;
        margin-left: 15px;
        margin-top: 0;
        background-color: transparent;
        left: auto;
        transition: max-height 0.4s ease, margin-top 0.4s ease;
    }

    .nav__dropdown-elem__dropdown-list.active {
        max-height: 3000px;
        margin-top: 1.6rem;
    }

    .modal__close {
        right: 20px;
    }

    .modal .form {
        margin: 0px 20px;
    }

    .form__text {
        font-size: 18px;
        margin-bottom: 30px;
        line-height: 25px;
    }
}

@media screen and (max-width: 475px) {
    .sitemap {
        width: 100%;
    }
    .fake-checkboxes {
        width: 100%;
    }
    #portfolio__book::after {
        width: 60px;
        height: 70px;
    }
    h1 {
        font-size: 32px;
        line-height: 120%;
        margin-top: 30px;
        max-width: 100%;
    }

    h2 {
        font-size: 26px;
        margin-top: 10px;
        margin-bottom: 40px;
    }

    h3 {
        font-size: 20px;
        margin-top: 10px;
        margin-bottom: 30px;
    }

    .menu-up__address-text {
        width: 120px;
    }


    .button,
    .button input {
        font-size: 16px;
    }

    .text {
        font-size: 15px;
    }

    .section-block-container,
    .section-block-container--right,
    .section-block-container--left {
        padding: 0px 15px;
    }

    .services__description {
        padding-bottom: 0px;
    }

    .d
@media (max-width: 1000px){
    aside.sidebar{
        position: fixed !important;
        top: 70px !important;
        left: -100% !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        height: calc(100vh - 70px) !important;
        z-index: 1001 !important;
        background: #F5F7FC !important;
        overflow-y: auto !important;
        transition: left .3s ease !important;
        padding-bottom: 100px !important;
    }

    aside.sidebar.active{
        left: 0 !important;
    }

    .menu-up__burger{
        display: block;
        cursor: pointer;
    }

    .menu-up__close{
        display: none;
        cursor: pointer;
    }
}

.block__best-container{
  display: flex;
  gap: 18px;
}
.block__best-item{
  border-radius: 25px;
  background: #EFEFEF;
  padding: 22px 45px 39px 45px;
  min-height: 300px;
  width: 100%;
}
.best__item-title h3{
  color: #000;
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 22px;
  margin-top: 25px;
  margin-bottom: 20px;
}
.best__item-text p{
  color: #000;
  font-size: 16px;
  font-weight: 400;
  max-width: 413px;
}
.block__best-item:nth-of-type(1) .best__item-img img{
  width: 66px;
  height: 66px;
}
.block__best-item:nth-of-type(2) .best__item-img img{
  width: 65px;
  height: 68px;
}
.block__best-item:nth-of-type(3) .best__item-img img{
  width: 66px;
  height: 78px;
}

@media screen and (max-width: 1500px) {
  .best__main-title h2{
    font-size: 42px;
  }
}
@media screen and (max-width: 1200px) {
  .ssd__block-best{
    padding: 0 30px;
  }
}
@media screen and (max-width: 1000px) {
  .best__main-title h2{
    font-size: 38px;
    margin-bottom: 30px;
  }
  .best__main-subtitle p{
    font-size: 20px;
  }
}
@media screen and (max-width: 475px) {
  .best__main-title h2{
    font-size: 26px;
    margin-bottom: 20px;
    margin-top: 15px;
    margin-bottom: 10px;
  }
  .best__main-subtitle p{
    font-size: 14px;
  }
  .ssd__block-best{
    padding: 0 15px;
  }
}
@media (max-width:1200px){
   .block__best-item {
    min-height: 300px;
    height: auto;
    max-width: 48%;
  }
  .block__best-container {
    flex-wrap: wrap;
    justify-content: space-around;
  }
}
@media (max-width:767px){
   .block__best-container {
    flex-wrap: wrap;
    justify-content: space-around;
    flex-direction: column;
  }
  .block__best-item {
    min-height: unset;
    height: auto;
    max-width: 100%;
  }
}
@media (min-width: 768px){
    .hero-block,
    .hero-block__inner,
    .hero-block__slider {
        min-height: 650px;
    }

    .gallery,
    .gallery-swiper {
        min-height: 725px;
    }

    .gallery-swiper .swiper-slide {
        min-height: 725px;
    }

    .product__image,
    .product__gallery,
    .door__image {
        min-height: 650px;
    }
}

.hero-block img,
.gallery-swiper img,
.product__image img,
.product__gallery img,
.door__image img {
    max-width: 100%;
    height: auto;
    display: block;
}

.gallery-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Мобильное меню */

@media screen and (max-width: 1000px){

    .sidebar{
        position: fixed !important;
        top: 70px !important;
        left: -100% !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;

        height: calc(100vh - 70px) !important;

        background: #F5F7FC !important;

        overflow-y: auto !important;

        z-index: 1001 !important;

        transition: left .3s ease !important;

        padding-bottom: 100px !important;
    }

    .sidebar.active{
        left: 0 !important;
    }

    .menu-up__burger{
        display: block;
        cursor: pointer;
    }

    .menu-up__close{
        display: none;
        cursor: pointer;
    }
}
@media screen and (max-width: 1000px){
    .sidebar{
        position: fixed !important;
        top: 70px !important;
        left: -100% !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        height: calc(100vh - 70px) !important;
        background: #F5F7FC !important;
        overflow-y: auto !important;
        z-index: 1001 !important;
        transition: left .3s ease !important;
        padding-bottom: 100px !important;
    }

    .sidebar.active{
        left: 0 !important;
    }

    .menu-up__burger{
        display: block;
        cursor: pointer;
    }

    .menu-up__close{
        display: none;
        cursor: pointer;
    }
}
@media screen and (max-width: 1000px){
    .sidebar{
        pointer-events: auto !important;
    }

    .sidebar a,
    .sidebar button{
        pointer-events: auto !important;
        position: relative;
        z-index: 1000002;
    }

    .menu-bottom{
        z-index: 900 !important;
    }

    .sidebar.active{
        z-index: 1000001 !important;
    }
}
@media screen and (max-width: 1000px){
    .nav__dropdown-list{
        overflow: hidden;
        height: 0;
        margin-top: 0;
        transition: height .3s ease, margin-top .3s ease;
    }

    .nav__dropdown-list.active{
        overflow: hidden;
    }

    .nav__dropdown-elem__dropdown-list{
        overflow: hidden;
        max-height: 0;
        margin-top: 0;
        transition: max-height .3s ease, margin-top .3s ease;
    }

    .nav__dropdown-elem__dropdown-list.active{
        overflow: hidden;
    }
}
/* Крутящийся логотип на мобильной версии */

@media (max-width: 768px){
    .menu-up__logo{
        animation: mobileLogoSpin 8s linear infinite;
        transform-style: preserve-3d;
        transform-origin: center center;
    }
}

@keyframes mobileLogoSpin{
    from{
        transform: rotateY(0deg);
    }
    to{
        transform: rotateY(360deg);
    }
}
/* Кнопка назад для мобильной версии */

.mobile-back-btn{
    display:none;
}

@media (max-width:768px){

   .mobile-back-btn{
    display:flex;
    align-items:center;
    justify-content:center;

    position:fixed;
    left:12px;
    top:50%;
    transform:translateY(-50%);

    width:46px;
    height:46px;

    border-radius:50%;

    background:rgba(0,0,0,0.10);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);

    border:1px solid rgba(0,0,0,0.12);

    color:#111;

    font-size:30px;
    text-decoration:none;

    transition:all .25s ease;

    z-index:99999;
}
.mobile-back-btn:hover{
    background:rgba(255,255,255,0.18);
}

    .mobile-back-btn:hover{
        color:#000;
    }
}
@media screen and (max-width: 1000px){
    .nav__dropdown-list{
        overflow: hidden !important;
        height: 0;
        margin-top: 0;
        transition: height .3s ease, margin-top .3s ease;
    }

    .nav__dropdown-list.active{
        overflow: hidden !important;
    }
}
.nav__dropdown-list{
    overflow:hidden;
    max-height:0;
    transition:max-height .3s ease;
}

.nav__dropdown-list.active{
    overflow:hidden;
}