/*
 * Sale prices — loaded after altification.css by inc/pricing.php.
 * Only has any effect while a discount is live (wp-admin → Pricing).
 */

/* Struck-through list price beside the reduced one */
.alt-price-was {
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0;
    color: #6b6760;
    text-decoration: line-through;
    vertical-align: middle;
    margin-right: 0.15em;
}

.topup-price .alt-price-was {
    font-size: 0.85rem;
}

.alt-price-was .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

/* "Black Friday — 30% off" line under the price */
.alt-sale-note {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1.35;
    color: #c9822a;
    background: #fdf3e7;
    padding: 3px 9px;
    border-radius: 10px;
    margin: 0.35rem 0 0.5rem;
}

/* Banner above the pricing cards and the dashboard top-up cards */
.alt-sale-banner {
    background: #fdf3e7;
    border: 1px solid rgba(201, 130, 42, 0.35);
    border-radius: 12px;
    color: #0f0e0c;
    font-size: 0.95rem;
    line-height: 1.45;
    padding: 0.85rem 1.25rem;
    margin: 0 auto 1.75rem;
    max-width: 760px;
    text-align: center;
}

.alt-sale-banner strong {
    color: #c9822a;
    font-weight: 700;
}

.alt-sale-banner span {
    color: #6b6760;
    white-space: nowrap;
}

.dashboard-section .alt-sale-banner {
    margin: 0 0 1.25rem;
    max-width: none;
    text-align: left;
}

@media (max-width: 600px) {
    .alt-sale-banner span {
        display: block;
        white-space: normal;
    }
}
