/* ==========================================================================
   Spartan Variant Price Display — Front-End Styles
   ========================================================================== */

.svpd-price-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 10px 0 16px;
    padding: 0;
    list-style: none;
}

/* Each variant row */
.svpd-line {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #f9f9f9;
    transition: background 0.15s ease, border-color 0.15s ease;
    flex-wrap: wrap;
}

/* Highlighted when that variant is selected */
.svpd-line.svpd-active {
    background: #eaf5ff;
    border-color: #43B0F1;
    box-shadow: 0 0 0 2px rgba(67, 176, 241, 0.2);
}

/* Variant name label */
.svpd-label {
    font-weight: 600;
    color: #333;
    font-size: 0.95em;
    min-width: 140px;
}

/* The dash separator */
.svpd-sep {
    color: #999;
    font-size: 0.9em;
}

/* Price display */
.svpd-price {
    color: #001F3F;
    font-weight: 700;
    font-size: 1em;
}

/* Sale price inside the price span */
.svpd-price del {
    color: #999;
    font-weight: 400;
    margin-right: 4px;
}

.svpd-price ins {
    text-decoration: none;
    color: #c0392b;
}

/* Active state label color */
.svpd-line.svpd-active .svpd-label {
    color: #001F3F;
}

/* Responsive: stack label above price on small screens */
@media ( max-width: 480px ) {
    .svpd-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .svpd-sep {
        display: none;
    }

    .svpd-label {
        min-width: unset;
    }
}
