/* Todoluz Stock Badge - estilos */
.todoluzstock-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 14px;
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 60%, #4ade80 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    box-shadow: 0 6px 16px rgba(22, 163, 74, 0.35),
                0 0 0 1px rgba(255, 255, 255, 0.15) inset;
    position: relative;
    white-space: nowrap;
    vertical-align: middle;
}

.todoluzstock-badge__pulse {
    position: relative;
    display: inline-flex;
    width: 12px;
    height: 12px;
    align-items: center;
    justify-content: center;
}

.todoluzstock-badge__dot {
    position: relative;
    width: 10px;
    height: 10px;
    background: #ffffff;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.todoluzstock-badge__pulse::before,
.todoluzstock-badge__pulse::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ffffff;
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.7;
    animation: todoluzstock-pulse 1.6s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    z-index: 1;
}

.todoluzstock-badge__pulse::after {
    animation-delay: 0.8s;
}

.todoluzstock-badge__text {
    display: inline-block;
    transform: translateY(0.5px);
}

@keyframes todoluzstock-pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
    80% {
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.8);
        opacity: 0;
    }
}

/* Respeta a usuarios con preferencia de reducir movimiento */
@media (prefers-reduced-motion: reduce) {
    .todoluzstock-badge__pulse::before,
    .todoluzstock-badge__pulse::after {
        animation: none;
        opacity: 0;
    }
}
