@font-face {
    font-family: 'Eurostile';
    src: url('/promo_page/assets/fonts/OTF/Eurostile-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
.des_page {
    font-family: 'Eurostile', sans-serif;     
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 100px;
    color: #000;
}
.des_btn {
    font-weight: 700;
    font-size: 20px;
    line-height: 112.00000000000001%;
    text-align: center;
    width: 100%;
    padding: 18px 24px;
    border: 1px solid #000;
    color: #000;
}
.des_hero {
    display: flex;
}
.des_hero_left {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-right: 50px;
}
.des_hero_left .devider {
    margin: 20px 0;
    max-width: 210px;
    border-bottom: 10px solid #1E3B5C;
}
.des_hero_left h1 {
    font-family: 'Eurostile', sans-serif;
    font-weight: 700;
    font-size: 64px;
    line-height: 100%;
    margin: 0;
    margin-top: 10px;
}
.des_hero_img {
    width: 50%;
    background-image: url('/promo_page/for_designers/assets/img/1.webp');
    background-position: center center;
}
.des_3d, .des_catalog {
    display: flex;
    background-color: #F5F5F5;
}
.des_3d_left, .des_catalog_right {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 50px 100px;
}
.des_3d_left h2, .des_catalog_right h2, .des_dist h2 {
    font-family: 'Eurostile', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 100%;
    margin: 0;
}
.des_3d_img {
    width: 50%;
}
.des_catalog_left {
    display: flex;
    width: 50%;
}
.des_catalog_img {
    /*width: 100%;
    object-fit: contain;*/
}
.des_catalog_img:first-child {
    width: 65%; 
    height: auto;
    object-fit: contain;
    padding: 20px;
}
.des_catalog_img:last-child {
    width: 35%;
    height: auto;
    object-fit: contain;
    /* width: 70%;*/
}/*
.des_gallery {
    display: flex;
}
.des_gallery_img {
    width: 33.33%;
}*/
.des_desc {
    padding: 0 100px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.des_desc .devider {
    margin-top: 20px;
    max-width: 210px;
    border-bottom: 10px solid #1E3B5C;
}
.des_form {
    padding: 60px 100px;
    background-color: #F5F5F5;
}
.des_form h2 {
    font-family: 'Eurostile', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 100%;
    margin: 0;
}
.des_contacts {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}
.des_contacts h2 {
    font-family: 'Eurostile', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 100%;
    margin: 0;
    text-align: center;
}
.des_contacts a {
    color: #000;
    font-weight: 700;
}
.des_hero_img_mob {
        display: none;
}
.des_hero_img {
        display: block;
}
.des-btns {
    color: #000;
    display: flex;
    gap: 30px;
}
.des_dist {
    display: flex;
    flex-direction: column;
    gap: 100px;
}
.des_dist_head {
    padding: 0 100px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.des_map {
    display: flex;
    background-color: #F5F5F5;
}

/*map*/
[class*=ymaps][class*=-ground-pane] {  
    filter: grayscale(1);  
    -ms-filter: grayscale(1);  
    -webkit-filter: grayscale(1);  
    -moz-filter: grayscale(1);  
    -o-filter: grayscale(1);  
}
.des_map_marks {
    height: 600px;
    width: 100%;
}
.des_map_list {
    width: 60%;
    padding: 80px 100px;
}
.locations-list {
    height: 440px;
    overflow-y: scroll;
}
.locations-list .list-items {
    display: flex;
    flex-direction: column;
    padding-right: 30px;
}
.locations-list .list-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 30px 0;
    border-bottom: 1px solid #A8A8A8;

}
.locations-list .item-name {
    font-weight: 700;
    font-style: Bold;
    font-size: 16px;
    line-height: 100%;
}
.locations-list .item-address {
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
}
.locations-list .map-button {
    background-color: #00000000;
    border: 1px solid #000;
    color: #000;
    padding: 10px;
    margin-top: 10px;
    font-weight: 700;
    font-style: Bold;
    font-size: 16px;
    line-height: 112%;
    min-width: 180px;
    cursor: pointer;
}


.locations-list::-webkit-scrollbar
{
    background-color: #fff;
    border-radius: 8px;
    width: 7px;
    overflow: hidden;
}
.locations-list::-webkit-scrollbar-thumb
{
    background-color: #D9D9D9;
    border-radius: 8px;
}


/*form*/
.two-col-grid {
    margin-top: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}
.left-fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.field-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.field-label {
    font-weight: 500;
    font-size: 16px;
    line-height: 112%;
    color: #000;
}
.input-field {
    width: 100%;
    padding: 15px;
    background-color: #fff;
    border: 1px solid #000;
    font-family: 'Eurostile', sans-serif;
    font-size: 16px;
    color: #000;
    transition: 0.15s ease;
    outline: none;
}
.input-field:focus {
    border-color: #00000090;
    background-color: #ffffff;
    box-shadow: 0 0 0 0px rgba(0, 0, 0, 0);
}
.input-field::placeholder {
    color: #00000090;
    font-size: 16px;
}
.right-message {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 5px;
}
.message-textarea {
    font-family: 'Eurostile', sans-serif;
    width: 100%;
    background-color: #fff;
    border: 1px solid #000;
    padding: 15px;
    font-size: 16px;
    resize: vertical;
    min-height: calc(100% - 22px);
    line-height: 120%;
    color: #000;
    outline: none;
    transition: 0.15s ease;
}
.message-textarea:focus {
    border-color: #00000090;
    background-color: #ffffff;
    box-shadow: 0 0 0 0px rgba(0, 0, 0, 0);
}

.message-textarea::placeholder {
    font-family: 'Eurostile', sans-serif;
    color: #00000090;
    font-size: 16px;
}
.submit-section {
    margin-top: 36px;
    display: flex;
    justify-content: flex-start;
}
.submit-button {
    font-weight: 700;
    font-size: 20px;
    line-height: 112%;
    text-align: center;
    width: 100%;
    padding: 18px 24px;
    border: 1px solid #000;
    background-color: #F5F5F5;
    color: #000;
}

/* Стили для уведомлений */
.form-notification {
    transition: all 0.3s ease;
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    position: relative;
}

/* Анимация загрузки */
.submit-button:disabled::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    border: 2px solid #ffffff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: translateY(-50%) rotate(360deg); }
}

@media (min-width: 1024px) {
    .block-title-sm {
        font-size: 20px !important;
    }
    .mx-w620 {max-width: 620px;}
}




@media (max-width: 1024px) {

    .des_hero_img_mob {
        display: block;
    }
    .des_hero_img {
        display: none;
    }
    .des_btn {
        font-size: 3vw;
        padding: 2vw;
    }
    .des_page p {
        font-size: 3.5vw;
    }
    .des_page h2 {
        font-size: 5.5vw;
    }
    .des_hero svg {
        display: none;
    }


    .des_page {
        gap: 7.634vw;
    }
    .des_hero_left {
        width: 100%;
    }
    .des_hero_img {
        width: 100%;
        height: 67.891vw;
        object-fit: cover;
    }
    .des_hero_left h1 {
        font-size: 8.142vw;
        margin-top: 0px;
    }
    .des_3d_left, .des_catalog_right {
        width: 70%;
        gap: 2.545vw;
        padding: 5.089vw;
    }
    .des_hero_left {
        gap: 2.545vw;
        padding-right: 0;
    }
    .des_3d_img {
        width: 35%;
        min-height: 100%;
        object-fit: cover;
    }
    .des_catalog_left {
        width: 35%;
    }
    .des_catalog_img:first-child {
        display: none;
    }
    .des_catalog_img:last-child {
        width: 100%;
        min-height: 100%;
        object-fit: cover;
    }
    .des_desc {
        padding: 0;
        gap: 3.817vw;
    }
    .des_desc .devider, .des_hero_left .devider  {
        margin-top: 0;
        max-width: 25.445vw;
        border-bottom: 5px solid #1E3B5C;
    }
    .des_gallery_img {
        width: 33.33%;
    }
    .showroom-left {
        width: 50%;
    }
    .showroom-img {
        width: 50%;
        min-height: 100%;
        object-fit: cover;
    }
    .des_form {
        padding: 5.089vw;
    }
    .des_contacts {
        gap: 3.817vw;
    }
    /*form*/
    .two-col-grid {
        margin-top: 5.089vw;
        grid-template-columns: 1fr;
        gap: 5.089vw;
    }
    .field-label {
        font-size: 3.053vw;
    }
    .input-field {
        padding: 2.545vw;
        font-size: 4.071vw;
    }
    .message-textarea {
        padding: 2.545vw;
        font-size: 4.071vw;
    }
    .submit-button {
        font-size: 3.053vw;
        padding: 2.799vw;
    }
    .submit-section {
        margin-top: 2.545vw;
    }

    .des-btns {
        flex-direction: column;
        gap: 3vw;
    }
    .des_map {
        flex-direction: column;
    } 
    .des_dist {
        gap: 5.089vw;
    }
    .des_dist_head {
        padding: 5.089vw;
        gap: 3vw;
    }
    .des_map_list {
        width: 100%;
        padding: 5.089vw;
    }
    .des_map_marks {
        height: 400px;
    }

    .locations-list .map-button {
        background-color: #F5F5F5;
        color: #000;
        font-size: 3vw;
        padding: 2vw;
        font-weight: 700;
    }
    a {color: #000;}
}

#btn-popup-3d-models {
    cursor: pointer;
}

#popup-3d-models .popup-window-close-icon {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
}

#popup-3d-models .popup-window-close-icon:before {
    color: gray;
    content: "x"
}

#popup-3d-models .popup-window-close-icon span {
    display: none !important
}
