.t-popup__container {
    border-radius: 20px;
}

.t-popup {
    
    background-image: linear-gradient(0.898turn, rgb(0 0 81) 0%, rgba(34, 117, 207, 0.8) 100%);
} 

.t-popup:before {
    background-image: url(https://static.tildacdn.com/tild3239-3134-4936-b832-616433303266/bg.png);
    background-size: cover;
    content: ' ';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
} 


.t-section__topwrapper {
    margin-bottom: 0px !important;
}

li::marker {
    color: #000;
}


.t-title_xs {
    font-size: 36px !important;
}

.t450 {
    border-radius: 25px 0px 0px 25px;
}

.t450__logowrapper a {
    display: flex;
    justify-content: center;
}

.t-menusub__list {
    text-align: left !important;
}

.zero-form button, .btn-hov, .uc-popap-form .t-submit, .zero-form-footer button, .t850__inner-col, .t-form__submit button, .t859 .t-btn {
    box-shadow: inset 0 -3px 2px 0 rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
}

.zero-form button, .btn-hov, .uc-popap-form .t-submit, .zero-form-footer button, .t400__wraptwo button, .t942__buttonwrapper, .t844__img_circle, .t-btn, .t850__inner-col, .t-form__submit button{
    transition: scale ease-in-out 0.3s !important;
}

.zero-form button:hover, .btn-hov:hover, .uc-popap-form button:hover, .zero-form-footer button:hover, .t400__wraptwo button:hover, .t942__buttonwrapper:hover, .t844__img_circle:hover, .t-btn:hover, .t850__inner-col:hover, .t-form__submit button:hover {
    scale: 103%;
    /*transform: translateY(-8px);*/
}

.t966__tooltip-menu {
        left: 100px !important;
}

.t050__descr {
    padding-top: 22px !important;
}


/*---------- Стили для прайса основных услуг -----------*/

.t774__wrapper {
    display: flex;
}

.t774__imgwrapper {
    max-width: 47% !important;
}

.t774 .t-card__btn {
    width: 100%;
    font-size: 13px !important;
}

.t774__bgimg {
    margin: 10px 0 10px 10px;
    border-radius: 10px;
}

/*---------- Все типы окон -----------*/
.t851__col {
    border-radius: 20px;
    margin: 0;
}

.t851__container {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.t851__textwrapper {
    padding: 10px !important;
}

.t851__separator {
    display: none;
}


/*---------- Неисправности окон -----------*/

.t845__separator, .t845__container:before, .t845__container:after {
        display: none;
}

.t845__container {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.t845__col {
    background-color: #fff;
    border-radius: 15px;
    display: flex;
    align-items: center;
    padding: 10px;
    margin: 0px !important;
    width: auto !important;
}

.t845__item {
    display: flex;
    align-items: center;
}

.uc-problemy-okna {
    padding-bottom: 20px !important;
}

/*---------- Бренды -----------*/

.uc-brend .t594__img {
    transition: all ease-in-out 0.3s;
    border-radius: 40px;
}

.uc-brend .t594__img:hover {
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.2);
}

/*---------- Мастера -----------*/


.t923 .t-card__descr {
    display: grid;
    justify-content: center;
    justify-items: stretch;
    align-items: center;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-flow: row;
    gap: 10px 0px;
    text-align: left;
}

.t-card__descr strong {
    text-align: right !important;
}

.t923 .t-card__descr br {
    display: none;
}

.t923__bgimg {
    margin: 15px;
    border-radius: 10px;
}


/*---------- Отзывы -----------*/

.t948__circle {
    display: none;
}

.t948__title {
    margin-top: 0px !important;
}

.t948__img {
    max-width: 130px !important;
    display: flex !important;
    margin: 0 !important;
}
.t948__textwrapper {
    padding: 30px 30px !important;
    min-height: 293px;
}

.t1015__content, .t1015__wrapper {
    border-radius: 20px;
}

.t1015__input-wrapper {
    padding-top: 20px;
}



/*---------- Общие медиа стили -----------*/
        
@media screen and (max-width: 1200px) {
    
    .t966__tooltip-menu {
        left: 10px !important;
    }
    
.t491__container {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.t491__col {
    max-width: 280px !important;
}
    .t-title_xxl {
        font-size: 32px !important;
    }
    
    .t851__container {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.t845__container {
    grid-template-columns: repeat(3, 1fr);
}

}




@media screen and (max-width: 960px){
    .t844__container {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
   
   .t844{
        margin: 0 20px;
    }
    

    
    .t491__container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
   
   .t491 .t-section__title {
    margin-bottom: 40px !important;
}
    .t851__container {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.t851__col {
    width: 100% !important;
    padding: 0 !important;
}

.t851__textwrapper {
    padding: 8px !important;
}

}

@media screen and (max-width: 680px){
    
    .t491 {
        margin: 0 20px;
    }
    .t851__container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.t845__container {
    grid-template-columns: repeat(2, 1fr);
}
}


@media screen and (max-width: 640px){
    .t844__container {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    .t845 {
        padding: 0 10px;
    }
    
    .t-slds__arrow-withbg .t-slds__arrow_body {
        width: 8px !important;
    }
    
    .t-slds__arrow-withbg {
        width: 35px !important;
        height: 35px !important;
    }
    
}

@media screen and (max-width: 480px){
    .t-title_xs {
        font-size: 28px !important;
    }
    
    .t851 .t-card__link {
        font-size: 16px !important;
    }
    
    .t844__container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .t491__wrapper {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        text-align: center;
    }   
    
    .t491 .t-card__title {
        margin-top: 10px !important;
    }
    .t491__bgimg {
        margin: 0px !important;
    }

    .t491__col {
    justify-content: center;
}

.t845__container {
    grid-template-columns: repeat(1, 1fr);
}

    .t845 {
        padding: 0 20px;
    }
    
    .t845__col {
        padding: 20px;
    }
    
    .t859 .t-card__btn-wrapper {
        width: 100%;
    }
    
    .t859 .t-card__btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .t859__separator {
        margin-bottom: 0 !important;
    }

}



/* --- Исправление косяков переноса с Тильды  --- */
    .t-form-success-popup {
        z-index: 99999999;
    }
    .t-form__errorbox-link {
        color:#ffffff !important;
    }
    .t-popup {
    z-index: 9999 !important;
    }
    
    .tn-form_horiz .t-form__inputsbox {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: end;
        -ms-flex-align: end;
        align-items: flex-end;
        -webkit-transition: max-height .3s cubic-bezier(.19,1,.22,1), opacity .3s linear;
        transition: max-height .3s cubic-bezier(.19,1,.22,1), opacity .3s linear;
        max-height: 5000px;
    }
    
    .t-form__errorbox-middle {
        width: initial;
    }