.co8-member-discount {
    position: relative;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: max-content;
    max-width: 100%;
    margin: 8px auto;
    padding: 6px 10px;
    border: 1px solid rgba(149, 19, 214, .18);
    border-radius: 999px;
    background: linear-gradient(90deg, #f8ecff 0%, #fff4e9 100%);
    color: #7b18b6;
    font-size: 12px;
    font-weight: 850;
    line-height: 1.2;
    white-space: normal;
}

.co8-member-discount-icon {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #9513d6;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
}

.co8-member-discount-labels {
    display: grid;
    min-width: 0;
}

.co8-member-discount-message {
    grid-area: 1 / 1;
    display: block;
    max-width: 100%;
}

.co8-member-discount-message-discount {
    animation: co8-member-discount-primary 5.6s ease-in-out infinite;
}

.co8-member-discount-message-installment {
    animation: co8-member-discount-installment 5.6s ease-in-out infinite;
}

@keyframes co8-member-discount-primary {
    0%, 43% { opacity: 1; transform: translateY(0); }
    49%, 94% { opacity: 0; transform: translateY(-4px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes co8-member-discount-installment {
    0%, 43% { opacity: 0; transform: translateY(4px); }
    49%, 94% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-4px); }
}

@media (prefers-reduced-motion: reduce) {
    .co8-member-discount-message { animation: none; }
    .co8-member-discount-message-installment { display: none; }
}
