/**
 * Price Block Styles
 * 
 * Styles for the custom price display block with discount information
 *
 * @package Cursusgroep
 */

.cg-price-wrap {
    display: grid;
    gap: 0.75rem;
    margin: 0.5rem 0 1.25rem;
}

.cg-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, rgba(235, 0, 50, 0.12), rgba(255, 0, 85, 0.18));
    border: 1px solid rgba(235, 0, 50, 0.35);
    backdrop-filter: blur(6px);
    font-weight: 700;
    line-height: 1;
}

.cg-badge__pct {
    font-size: 0.95rem;
}

.cg-badge__save {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 600;
}

.cg-price {
    display: grid;
    gap: 0.5rem;
    font-size: 1rem;
}

.cg-price__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
    padding: 0.6rem 0.8rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.cg-price__label {
    font-weight: 600;
    opacity: 0.8;
}

.cg-price__values {
    display: inline-flex;
    gap: 0.5rem;
    align-items: baseline;
}

.cg-price__regular {
    text-decoration: line-through;
    opacity: 0.55;
}

.cg-price__sale {
    font-weight: 800;
    font-size: 1.05rem;
}

@media (max-width: 420px) {
    .cg-price__row {
        padding: 0.5rem 0.65rem;
    }

    .cg-price__sale {
        font-size: 1rem;
    }
}

