/* Ваш предыдущий код */
.t-name_md {
    font-size: 16px !important;
    margin-top: 0 !important;
}

/* Для текста "Итоговая сумма:" */
.t706__cartwin-totalamount-label {
    font-weight: 300 !important; /* Light */
}

/* Для суммы заказа */
.t706__cartwin-prodamount-price {
    font-weight: 300 !important; /* Light */
}

/* Для знака рубля */
.t706__cartwin-prodamount-currency {
    font-weight: 300 !important; /* Light */
}

}

#customdelivery {
    margin-top: 0 !important;
}

/* Убираем верхний отступ */
.t706__cartwin-totalamount-label {
    margin-top: 0 !important;
}

/* Убираем верхний отступ всегда */
.t706__cartwin-totalamount-label {
    margin-top: 0 !important;
}

@media (max-width: 768px) {
    /* Центрируем всю строку в родительском контейнере */
    .t706__cartwin-order-final,
    .t706__cartwin-footer,
    div:has(> .t706__cartwin-totalamount-label) {
        text-align: center !important;
        white-space: nowrap !important;
    }
    
    /* Делаем элементы inline */
    .t706__cartwin-totalamount-label,
    .t706__cartwin-totalamount,
    .t706__cartwin-prodamount-price,
    .t706__cartwin-prodamount-currency {
        display: inline !important;
        display: inline-block !important;
    }
    
    /* Небольшие отступы */
    .t706__cartwin-totalamount-label::after {
        content: " " !important;
    }
    
    .gradient .tn-atom {
    background: linear-gradient(270deg, #9517F9, #FF46CB, #09C4FF);
    background-size: 400% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
    animation: gradientMove 4s ease infinite;
    -webkit-animation: gradientMove 4s ease infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@-webkit-keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
    
    .t706__cartwin-prodamount-price::after {
        content: " " !important;
    }
    
}

/* Для суммы в корзине */
.t706__sidebar-totalamount,
.t706__sidebar-totalamount .t706__cartwin-prodamount-price,
.t706__sidebar-totalamount .t706__cartwin-prodamount-currency {
}

/* Выравнивание по центру на мобильных устройствах */
@media (max-width: 767px) {
  .t706 .delivery-full-address {
    text-align: center;
  }

/* Медиа-запрос для мобильных устройств */
@media (max-width: 767px) {
    .t706__cartwin-totalamount-info {
        text-align: center !important;
    }
    
/* Чтобы div внутри span тоже выравнивались по центру */
    .t706__cartwin-totalamount-info_value {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }
    
    .t706__cartwin-prodamount-price,
    .t706__cartwin-prodamount-currency {
        display: inline-block;
    }
    

.t-inputpromocode__btn {
    border-radius: 5px !important;
}

.t3112 .t-menusub__innermenu-list {
    padding-left: 0 !important;
}

@media (min-width: 1024px) {
    .t3112 .t-menusub__innermenu-list {
        padding-left: 0 !important;
    }
}

/* Прижимаем текст и стрелку к левому краю внутри обертки */
#rec5231882401 .t-menusub__link-wrapper {
    justify-content: flex-start !important;
    gap: 8px !important; /* Настройте это значение для идеального отступа */
}

/* Запрещаем ссылке растягиваться на всю ширину (из-за этого стрелка улетала вправо) */
#rec5231882401 .t-menusub__link-item {
    flex-grow: 0 !important;
    width: auto !important;
}

#rec5231882401 .t3112__close-button {
    right: 20px !important; /* Регулируйте этот отступ */
    left: auto !important;
}

@media screen and (max-width: 480px) {
    #rec2004376831 {
        padding-bottom: 0px !important;
    }
}