/* ─── Variant Pricing Styles ─── */
.price-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.price-mrp {
    font-size: 15px;
    color: #a0a0b0;
    text-decoration: line-through;
    text-decoration-color: #e74c3c;
    text-decoration-thickness: 2px;
    font-weight: 500;
}

.price-discount {
    font-size: 13px;
    color: #1a7a2a;
    background: #d4f4db;
    border: 1px solid #a8e6b4;
    padding: 3px 10px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* Variant selector button styling */
#variant-selector .attribute-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 10px 18px;
    min-width: 80px;
    transition: all 0.25s ease;
}

#variant-selector .attribute-option small {
    font-size: 11px;
    opacity: 0.7;
    font-weight: 400;
}

#variant-selector .attribute-option.active small {
    opacity: 1;
}

/* Store links as clickable anchors */
.store-link {
    display: inline-block;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.store-link:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

/* Price transition animation */
#variant-price {
    transition: all 0.3s ease;
}

/* Mobile: keep MRP + off pill together so they don't orphan */
@media (max-width: 768px) {
    .price-row {
        gap: 8px;
    }

    .price-amount {
        font-size: 1.7rem;
    }

    .price-mrp {
        font-size: 13px;
    }

    .price-discount {
        font-size: 12px;
        padding: 2px 8px;
    }
}
