/* 👇👇👇 кастомизация заголовков */

.t795__title 
{
    margin-bottom: 30px !important;
}

/* 👇👇👇 кастомизация корзины и error-боксов */

.t706__cartwin-content
{
   border-radius: 20px !important;
   border-style: solid !important;
}

@media screen and (max-width: 560px) {
.t706__cartwin-content
{
   border-top-left-radius: 20px !important;
   border-top-right-radius: 20px !important;
   border-bottom-left-radius: 0px !important;
   border-bottom-right-radius: 0px !important;
   border-style: solid !important;
}
}

.t706__product-title 
{
    color: #666666 !important;
    font-weight: 400 !important;
    padding-right:10px !important;
}
.t706 .t-form .t-input 
{
    height: 50px !important;
}

.t706 .t-submit
{
    height: 50px !important;
    font-weight: 400 !important;
    font-size:15px !important;
}

.t706__cartwin 
{
background-color:rgba(0, 0, 0, 0.4) !important;
}

.t-inputpromocode__btn 
{
background: #0091CF none repeat scroll 0% 0% !important;
font-weight: 400 !important;
font-size:15px !important;
}

.t-inputpromocode__btn:hover 
{
background: #FF7940 none repeat scroll 0% 0% !important;
font-weight: 400 !important;
transition: all 0.2s ease ≈;
}

.t706__product-amount--portion, .t706__product-amount 
{
    color: #666666 !important;
    font-weight: 400 !important;
}

.t706__cartwin-prodamount-wrap 
{
    font-weight: 400 !important;
    color: #FF7940 !important;
}

.t-form__errorbox-wrapper
{
 border-radius: 20px !important;
}

.t-form__errorbox-text
{
    font-weight: 400 !important;
    font-size:14px !important;
}

.t-form .js-error-control-box .t-input:not(.t-input-phonemask), .t-form .js-error-control-box .t-checkbox__control, .t-form .js-error-control-box .t-checkboxes__wrapper, .t-form .js-error-control-box .t-select, .t-form .js-error-control-box .t-radio__wrapper, .t-form .js-error-control-box .uploadcare-widget
{
    border-radius: 20px !important;
}

.tn-form__errorbox-popup 
{
    border-radius: 20px !important;
    box-shadow: 0 0 20px 0 rgb(0 0 0 / 0%) !important;
    z-index:111111111 !important;
}

.t706__form-bottom-text
{
    margin-top:0px !important;
    margin-bottom:0px !important;
}

.t706 .t-name_xl
{
    font-weight: 400 !important;
    font-size:24px !important;
    color: #0091CF !important;
}

.t706__cartwin-totalamount-wrap
{
    color: #666666 !important;
    font-weight: 400 !important;
    font-size: 18px !important;
    padding-bottom:20px !important;
}

.t-inputpromocode__wrapper .t-text
{
    color: #666666 !important;
    font-weight: 400 !important;
}

.t-input-phonemask__options-item
{
    color: #666666 !important;
    font-weight: 400 !important;
}

.t706 .t-radio__indicator
{
    opacity: 1 !important;
}

.t706 .t-text_xs
{
    font-size:14px !important;
}

.t706__product-del
{
    opacity: .3 !important;
}

.t706__product-del:hover
{
    opacity: .3 !important;
}

.t706__cartwin-top
{
    border-bottom: 1px solid #dedede !important;
}

.t706__cartwin-bottom
{
   border-top: 1px solid #dedede !important;
}

@media screen and (max-width: 560px) {
.t706 .t706__close-button
{
    background-color: #ffffff !important;
    border-radius: 30px !important;
    border: 1px solid !important;
    border-color: #dedede !important;
}
}

.t-input-phonemask__select-triangle
{
    border-color:#aaaaaa transparent transparent !important;
}

.t706 .t-select__wrapper:after
{
     border-color:#aaaaaa transparent transparent !important;
}

.t706 .t-select
{
     height: 50px !important;
}

.t706 .t-form__submit
{
    margin-top:0px !important;
}

.t706 .t-input-group
{
    margin-bottom: 20px !important;
    margin-top: 0px !important;
}

.t706 .t-radio__wrapper
{
     margin-top: 10px !important;
}

.t706 .t-radio__control.t-text_xs, .t-checkbox__control.t-text_xs
{
    line-height: 1.55;
}

.t-checkbox__control .t-checkbox__indicator {
    display: inline-block;
    opacity: 1;
    height: 28px;
    width: 56px;
    border: 1px solid #00000020;
    box-sizing: border-box;
    position: relative;
    border-radius: 20px;
    background: #ffffff;
    transition: background-color 0.3s cubic-bezier(0, 1, 0.5, 1);
}

.t-checkbox__control .t-checkbox__indicator:before {
    box-sizing: border-box;
    width: 40px;
    position: absolute;
    top: 0;
    left: 45px;
}

.t-checkbox__control .t-checkbox__indicator:after {
    display: inline-block;
    box-sizing: border-box;
    width: 24px;
    height: 24px;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    border: none; /* ← ВОТ ЭТО ИСПРАВЛЕНИЕ */
    position: absolute;
    top: 1px;
    left: 1px;
    background:#ff7940;
    color: #eee;
    transition: transform 0.3s cubic-bezier(0, 1, 0.5, 1);
    transform: rotate(0deg);
}

 .t-checkbox__control input[type="checkbox"]:checked + .t-checkbox__indicator {
    background-color: #ff7940;
    opacity: 1;
}

 .t-checkbox__control input[type="checkbox"]:checked + .t-checkbox__indicator:after {
    background: #ffffff;
    transform: translate3d(28px, 0, 0);
}

 .t-checkbox__control input[type="checkbox"]:not(:disabled) + .t-checkbox__indicator:hover {
    cursor: pointer;
}

/* 👇👇👇 кастомизация блоков BF103 (блок с фиксированной внизу экрана кнопкой на страницах программ) */

.t943__btn {
    width: auto !important;          /* убираем растягивание */
    display: inline-flex !important; /* чтобы не тянулась */
    padding: 15px 30px !important;   /* регулируй размер */
    height: 60px !important;
}

.t943__buttonwrapper {
    width: auto !important;
    text-align: center;
    bottom: 20px !important;
}

.t943 {
    pointer-events: none;
}

.t943__btn {
    pointer-events: auto;
}

/* 👇👇👇 кастомизация блоков CL22 (блок на начальном экране программ) */

.uc-bgcustom,
.uc-bgcustom > [id*=nav] {
    background-color: unset !important;
    background-image: url("https://static.tildacdn.com/tild3131-6239-4532-b161-396139653936/Group_127.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.uc-bgcustom .t433__mainblock,
.uc-bgcustom .t433__col,
.uc-bgcustom .t433__contentbox,
.uc-bgcustom .t570__mainblock,
.uc-bgcustom .t570__col,
.uc-bgcustom .t570__contentbox {
    background-color: unset !important;
}

@media screen and (max-width: 640px) {
    .uc-bgcustom,
    .uc-bgcustom > [id*=nav] {
        background-attachment: initial;
    }
}

@media screen and (min-width: 641px) {
    .uc-bgcustom,
    .uc-bgcustom > [id*=nav] {
        background-attachment: initial;
    }
}

.t165__uptitle {
    letter-spacing: normal !important;
}

@media screen and (min-width:640px) and (max-width:960px) {

    .t165 .t-container {
        display: flex !important;
        flex-direction: column !important;
    }

    .t165 .t165__textwrapper {
        padding-bottom: 40px !important;
    }
}

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

    .t165 .t165__textwrapper {
        text-align: center !important;
    }
}

.t165__btn-wrapper {
    padding-top: 20px !important;
}

.t165__textwrapper span[style*="font-family: Commissioner;"] {
    font-family: 'Commissioner', Arial, sans-serif;
    font-size: 15px !important;
    width: max-content !important;
    padding: 5px 10px 5px 10px !important;
    border-radius: 12px !important;
    display: inline-block !important;
    color: #666666 !important;
    margin-top: 0px !important;
    font-weight: 400 !important;
}

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

.t165__title {
    padding-bottom: 10px !important;
}

.label-wrap {
    display: flex !important;
    flex-flow: row wrap !important;
    gap: 10px !important;
    margin-bottom: 15px !important;
}

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

    .label-wrap {
        justify-content: center !important;
    }
}

/* 👇👇👇 кастомизация блоков FR205 (блок с преимуществами «О нашем центре) */

.t491__col {
    margin-bottom: 20px !important;
}

/* 👇👇👇 кастомизация блоков SV202 (Карточка, чаще всего «Для кого») */

.t858__bgimg {
    margin-bottom: 15px !important;
}

/* 👇👇👇 кастомизация блоков SV303 (Преимущества) */

.t841__imgwrapper,
.t841__bgimg {
    margin-right: 15px !important;
}

/* 👇👇👇 кастомизация блоков TE900E (Слайдер с программой чаще всего) */

.t1196__slider {
    --slider-gap: 20px !important;
}

/* 👇👇👇 кастомизация блоков GL21 (Сертификаты на программах) */

.t-slds__bgimg {
    border: 1px solid #dedede;
    border-radius: 20px !important;
}

/* 👇👇👇 кастомизация всех заголовков*/

.t795__title {
    line-height: 1.55 !important;
}

/* 👇👇👇 кастомизация блоков CL21N (тренеры на страницах программ) */

.t799__button {
    margin-top: 10px !important;
}

.t799__title {
    margin-bottom: 10px !important;
}

/* 👇👇👇 кастомизация блоков PL115N (тарифы программ) */

.t1071 .t-card__descr li {
    border-bottom: 1px solid #eeeeee !important;
}

/* 👇👇👇 кастомизация блоков TX20 (уточнения внизу страниц программ) */

.t265__icon {
    display: none !important;
}

.t265__wrapper {
    position: static !important;
    display: block !important;
    padding: 20px !important;
    box-sizing: border-box;
    border: 1px solid #dedede;
    border-radius: 20px;
}

.t265__text {
    margin-left: 0 !important;
}

@media (max-width:640px) {
    .t265 {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* 👇👇👇 кастомизация блоков BF502N и eror + успех (поп-ап с формой) */

#allrecords .t-form__errorbox-wrapper .t-form__errorbox-item a,
#allrecords .t-form__errorbox-wrapper .t-form__errorbox-item a:hover,
#allrecords .t-form__errorbox-wrapper .t-form__errorbox-item a:active,
#allrecords .t-form__errorbox-wrapper .t-form__errorbox-item a:focus {
    color: #ffffff !important;
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
}

#allrecords .t-form__errorbox-text,
#allrecords .t-form__errorbox-item {
    color: #ffffff !important;
}

@media screen and (max-width: 640px) {
    .t-form-success-popup_new .t-form-success-popup__wrapper {
        border-radius: 20px 20px 0 0 !important;
    }
}

.t-form-success-popup_new .t-form-success-popup__wrapper {
    border-radius: 20px;
}

.t-form-success-popup_new .t-form-success-popup__button {
    margin-top: 0px !important;
}

#tildaformsuccesspopupbtn-new,
.t-form-success-popup_new .t-form-success-popup__button {
    background-color: #666666 !important;
    color: #ffffff !important;
    border-radius: 20px !important;
    border-style: none !important;
    border-width: 0px !important;
    box-shadow: none !important;
    font-family: 'Commissioner', Arial, sans-serif !important;
    font-weight: 400 !important;
    font-size: 15px !important;
    text-transform: uppercase !important;
    letter-spacing: 0px;
    padding: 18px 44px !important;
    min-width: 130px;
    cursor: pointer;
    transition-duration: 0.2s !important;
    transition-property: background-color, color, border-color, box-shadow, opacity, transform, gap !important;
    transition-timing-function: ease-in-out !important;
    outline: none !important;
}

@media (hover:hover) {

    #tildaformsuccesspopupbtn-new:hover,
    .t-form-success-popup_new .t-form-success-popup__button:hover {
        background-color: #737373 !important;
        color: #ffffff !important;
    }
}

#tildaformsuccesspopupbtn-new:focus-visible,
.t-form-success-popup_new .t-form-success-popup__button:focus-visible {
    background-color: #737373 !important;
}

.t702 .t-submit {
    height: 60px !important;
}

.t702 .t-input__vis-ph {
    top: 22px !important;
}

.t702 .t-input {
    height: 60px !important;
}

.t702 .t-form__inputsbox_horizontal.t-form__screen .t-form__submit,
.t702 .t-form__inputsbox_vertical-form .t-form__submit {
    margin-top: 15px !important;
}

.t-input-error {
    color: #f95d51 !important;
}

.t-input-group_cb:is(.t-form .js-error-control-box:has(.t-input-block+.t-input-error)) .t-checkbox__control,
.t-input-group_rd:is(.t-form .js-error-control-box:has(.t-input-block+.t-input-error)) .t-input-block,
.t-input-group_rs:is(.t-form .js-error-control-box:has(.t-input-block+.t-input-error)) .t-input-block,
:is(.t-form .js-error-control-box:has(.t-input-block+.t-input-error)) .t-input:not(.t-input-phonemask):not(.t-input-ownanswer):not(.t-input__own-answer),
:is(.t-form .js-error-control-box:has(.t-input-block+.t-input-error)) .t-select,
:is(.t-form .js-error-control-box:has(.t-input-block+.t-input-error)) .uploadcare-widget {
    border: 1px solid #f95d51 !important;
}

.t-form-success-popup__content-icon-background {
    fill: #fe7940 !important;
}

.t-form-success-popup_new .t-form-success-popup__text {
    font-size: 16px !important;
    line-height: 1.55 !important;
    margin-bottom: 20px !important;
}

.t-form-success-popup_new .t-form-success-popup__title {
    line-height: 1.55 !important;
    margin-bottom: 10px !important;
}

.t-form-success-popup_new .t-form-success-popup__content-icon {
    margin-bottom: 10px !important;
}

.t702 .t702__title {
    margin-bottom: 10px !important;
}

.t702 .t702__text-wrapper {
    margin-bottom: 20px !important;
}

@media screen and (max-width: 560px) {
    .t-popup {
        background-color: rgba(0, 0, 0, 0) !important;
    }
}

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

@media screen and (max-width: 560px) {
    .t-popup__container {
        border-radius: 0px !important;
    }
}

.t702 .t-popup__block-close {
    background-color: rgba(0, 0, 0, 0) !important;
}

@media screen and (max-width: 560px) {
    .t702 .t-popup__block-close-button {
        background-color: #ffffff !important;
        border-radius: 30px !important;
        border: 1px solid !important;
        border-color: #666666 !important;
    }
}

.t702 .t-input-title {
    font-size: 16px !important;
    line-height: 1.55 !important;
}

.t702 .t-text_xs {
    font-size: 14px !important;
    line-height: 1.55 !important;
}

.t702 .t-form__inputsbox_vertical-form .t-input-group {
    margin-bottom: 15px !important;
}