﻿.num-title {
    /*color: #fff;*/
    font-size: clamp(1rem, 3vw, 1.4rem);
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.discount-container {
    position: relative;
    background: linear-gradient(45deg, #f37435, #fdb92e);
    border-radius: 12px;
    padding: 15px;
    margin: 10px 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    overflow: hidden;
    animation: pulse 2s infinite;
}

    .discount-container::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
        animation: shine 3s infinite;
        transform: rotate(45deg);
    }

.original-price {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    color: #fff;
    text-decoration: line-through;
    opacity: 0.8;
    margin-bottom: 5px;
}

.discount-price {
    font-size: clamp(1.4rem, 4vw, 2rem);
    color: #fff;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: flashPrice 1.5s infinite alternate;
}

.discount-text {
    font-size: clamp(0.7rem, 2vw, 0.9rem);
    color: #fff;
    margin-top: 5px;
    font-weight: bold;
    animation: glow 2s infinite alternate;
}

.flash-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    color: white !important;
    background: #ffd700;
    color: #ff6b6b;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: clamp(0.6rem, 1.5vw, 0.8rem);
    font-weight: bold;
    animation: bounce 1s infinite;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes flashPrice {
    0% {
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    }

    100% {
        text-shadow: 2px 2px 20px rgba(255,255,255,0.8), 2px 2px 4px rgba(0,0,0,0.5);
    }
}

@keyframes glow {
    0% {
        text-shadow: 0 0 5px rgba(255,255,255,0.5);
    }

    100% {
        text-shadow: 0 0 20px rgba(255,255,255,1);
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

@media (max-width: 480px) {
    .discount-container {
        padding: 12px 10px;
        margin: 8px 0;
    }

    .flash-badge {
        padding: 3px 6px;
        top: -6px;
        right: -6px;
    }
}
