.uc-popup-calc .t390__descr {
    margin-top: 20px;
}
.uc-calculator .t678 .t-input-subtitle {
    font-size: 16px;
}
.uc-calculator .t-input-group_fr {
    display: flex;
    flex-direction: column;
}
.uc-calculator .t-input-group_fr .t-input-title {
    order:0;
}
.uc-calculator .t-input-group_fr .t-input-subtitle {
    order:2;
    padding-bottom: 0;
    padding-top: 15px;
}
.uc-calculator .t-input-group_fr .t-input-block {
    order:1;
}
.uc-calculator .t-input-group_rd {
    border-top: 1px solid #e0e0e0;
    padding-top: 25px;
}
.uc-calculator .t-input-group_fr {
    border: 1px dashed #aa8a33;
    text-align: center;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 0 !important;
    margin-top: 50px !important;
    box-sizing: border-box;
    
}
.uc-calculator a{
    border-bottom: 1px solid #aa8a33;
}   
.uc-calculator .t678 .t-form__submit{
    display:none !important;
}
.uc-calculator .t678 .t-form__inputsbox_vertical-form .t-input-group {
    margin-bottom: 30px;
}
/* Контейнер: выстраиваем в ряд без переноса */
.uc-calculator .t-radio__wrapper {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important; 
    gap: 8px;                     /* Отступ между кнопками */
    overflow-x: auto;             /* Добавляем прокрутку, если не влезет */
    -webkit-overflow-scrolling: touch;
}

/* Прячем полосу прокрутки, чтобы было эстетично */
.uc-calculator .t-radio__wrapper::-webkit-scrollbar {
    display: none;
}

/* Скрываем стандартный кружок */
.uc-calculator .t-radio__wrapper .t-radio__indicator {
    display: none !important;
}

/* Стилизация кнопки */
.uc-calculator .t-radio__wrapper .t-radio__item {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 10px 18px !important;
    border: 1px solid #e0e0e0;   /* Светлая рамка */
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    background-color: #ffffff;
    white-space: nowrap;         /* Текст внутри кнопки не переносится */
    margin: 0 !important;
    flex-shrink: 0;              /* Чтобы кнопки не сжимались */
}

/* Скрываем нативный input */
.uc-calculator .t-radio__wrapper .t-radio {
    display: none !important;
}

/* Эффект при наведении */
.uc-calculator .t-radio__wrapper .t-radio__item:hover {
    border-color: #353535;
}

/* Стиль активной кнопки */
.uc-calculator .t-radio__wrapper .t-radio__item:has(input:checked) {
    background-color: #353535 !important;
    color: #ffffff !important;
    border-color: #353535 !important;
}

/* Для мобильных: убираем лишние отступы у span */
.uc-calculator .t-radio__wrapper .t-radio__item span {
    margin: 0 !important;
    padding: 0 !important;
}

.uc-calculator .t-input-block:not(.t-input-block_rd-flex) .t-radio__control {
    width: auto !important;
}
.uc-calculator .t678 .t-col_12 {
    max-width: 1100px;
    margin-left: 50px;
    margin-right: 50px;
}
.t886 {
    left: calc(50% - 170px);
}
.t390__btn {
    font-size: 16px;
    height: 60px;
}
a[href='#popup:region'] {
    white-space: nowrap;
}
.t390 .t-popup__container,
.t868 .t-popup__container,
.t702 .t-popup__container{
    border-radius: 8px;
}
.t702 .t702__text-wrapper {
    margin-bottom: 30px;
}
.uc-quiz {
    position:relative;
    z-index:9;
}
.bg-slider {
    pointer-events:none;
}
.bg-slider .t-slds__main,
.main-left-cart div{
    border-radius:8px 0 0 8px !important;
}
.main-top-cart div {
    border-radius: 0px 8px 0 0 !important;
}
.main-right-cart div{
    border-radius: 0 8px 0 0 !important;
}
.geo-btn {
    width: auto !important;
}
.form-right-img div {
    border-radius: 0 8px 8px 0 !important;
}
.geo-btn a{
    padding-left: 35px;
    padding-right: 20px;
}
.uslugi-cart:before {
    content: "";
    background: #2d281b;
    opacity: .7;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius:8px;
    z-index: 1;
    pointer-events:none;
}
.pr-cart-bottom:before {
    content: "";
    background: #2d281b;
    background: linear-gradient(#eee0 40%, #2d281b);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius:8px;
}
.pr-cart-top:before,
.pr-cart-top-2:before {
    content: "";
    background: #2d281b;
    background: linear-gradient(#2d281b, #eee0 50%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius:8px;
    z-index:1;
}
.t-upwidget{
    margin-bottom:0 !important;
}
.t-upwidget .t-upwidget-container__button {
    line-height: 50px !important;
}
.pr-cart-left-top div{
    border-radius: 8px 0 0 0 !important;
}
.pr-cart-left-bottom div{
    border-radius: 0 0 0 8px !important;
}
.pr-cart-right-top div{
    border-radius: 0 8px 0 0 !important;
}
.pr-cart-right-bottom div{
    border-radius: 0 0 8px 0 !important;
}
.t450__logowrapper {
    margin-bottom: 45px;
}
.bg-blur div {
    backdrop-filter: blur(4px);
}
.bg-blur2 div {
    backdrop-filter: blur(10px);
}
.uc-scroll .t396__artboard::-webkit-scrollbar{
    display: none !important;
}
#rec732941143 .tn-elem[data-elem-id="1712856467503"] {
    z-index: 37 !important;
}
.t702 .t702__form-bottom-text {
    opacity: .5;
    font-size:13px;
}
.t702 .t702__title {
    margin-bottom: 20px;
}
#rec732534156 .tn-elem[data-elem-id="1712735032438"],
#rec732534156 .tn-elem[data-elem-id="1712731942789"]{
    z-index: 11 !important;
}

@media screen and (max-width: 960px) {
    .uc-calculator .t-text,
    .uc-calculator .t678 .t-input-subtitle {
        font-size: 14px;
    }
    .uc-calculator .t678 .t-col_12 {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}
    
@media (max-width:959px){
    .bg-slider .t-slds__main,
    .main-left-cart div{
        border-radius:0 !important;
    }
    .main-top-cart div {
        border-radius:0 !important;
    }
    .main-right-cart div{
        border-radius:0 !important;
    }
    .link-underline-border div {
        border-bottom: 1px solid #aa8a33 !important;
        padding-bottom: 5px;
    }
}


@media screen and (max-width: 560px){
    .t702 .t-popup__block-close {
        background: #aa8a33;
    }
    .t702 .t-popup__container{
        border-radius: 0;
    }
    .t702 .t702__form-bottom-text {
        font-size:12px;
    }
}

@media (max-width:479px) {
    .video-proekt video {
        height:320px !important;
    }
    .video-case video{
        height:200px !important;
    }
    .video-quiz video {
        height:181px !important;
    }
    .video-quiz2 video {
        height:166px !important;
    }
    .pr-cart-top-2 video {
        height:280px !important;
        object-position: 0 -70px !important;
    }
    .pr-cart-top video {
        height:444px !important;
    }
    .form-right-img div {
        border-radius: 0 0px 8px 8px !important;
    }
    .uc-preimushestva .pr-cart-left-top div {
        border-radius: 8px 8px 0 0 !important;
    }
    .uc-preimushestva .pr-cart-right-top div,
    .uc-preimushestva .pr-cart-left-bottom div{
        border-radius: 0 !important;
    }
    .uc-preimushestva .pr-cart-right-bottom div {
        border-radius: 0 0 8px 8px !important;
    }
}