/* Ваш предыдущий код */
.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 {
    color: #EAB147 !important;
}

/* Выравнивание по центру на мобильных устройствах */
@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;
    }