.card-shop__tag_newyear {
    background: linear-gradient(45deg, #d50000, #ff1744, #ff4081);
    color: #fff;
    font-weight: bold;
    position: relative;
    overflow: hidden;
    animation: newyearGlow 2s infinite alternate;
    padding-right: 40px; /* Добавляем место для шара */
}

.card-shop__tag_newyear:before {
    content: "❄️";
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
}

.card-shop__tag_newyear:after {
    content: "";
    position: absolute;
    top: -5px; /* Смещаем выше для красивого расположения */
    right: -5px;
    width: 30px;
    height: 30px;
    background: radial-gradient(circle at 30% 30%, #ffebee, #d50000);
    border-radius: 50%;
    box-shadow: 
        0 0 10px #ff0000,
        inset 2px 2px 5px rgba(255, 255, 255, 0.5),
        inset -2px -2px 5px rgba(0, 0, 0, 0.3);
    border: 2px solid #ffebee;
    animation: ballShine 3s infinite alternate;
}

/* Декоративный блик на шаре */
.card-shop__tag_newyear:after::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 6px;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    filter: blur(1px);
}

/* Крючок для шара */
.card-shop__tag_newyear:after::after {
    content: "";
    position: absolute;
    top: -8px;
    right: 12px;
    width: 8px;
    height: 8px;
    background: linear-gradient(45deg, #ffd600, #ffab00);
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    transform: rotate(45deg);
}

@keyframes newyearGlow {
    0% {
        box-shadow: 0 0 5px #ff0000;
    }
    100% {
        box-shadow: 0 0 15px #ff0000, 0 0 20px #ff6b00;
    }
}

@keyframes ballShine {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        box-shadow: 
            0 0 10px #ff0000,
            inset 2px 2px 5px rgba(255, 255, 255, 0.5),
            inset -2px -2px 5px rgba(0, 0, 0, 0.3);
    }
    50% {
        transform: translate(2px, -2px) rotate(5deg);
        box-shadow: 
            0 0 15px #ff0000,
            inset 3px 3px 6px rgba(255, 255, 255, 0.6),
            inset -3px -3px 6px rgba(0, 0, 0, 0.4);
    }
}