.combination-price-range {
    margin: 5px 0;
}

/* Hide regular price and sale price when price range is shown */
.product-price-and-shipping:has(.combination-price-range) .regular-price,
.product-price-and-shipping:has(.combination-price-range) .price-sale,
.product-price-and-shipping:has(.combination-price-range) .price {
    display: none !important;
}

/* Make price range look like the original price display */
.price-range-values {
    font-weight: 600;
    color: #333;
}

/* Style min and max prices to match .price-sale style */
.price-min,
.price-max {
    font-weight: 700;
    font-size: inherit;
    color: inherit;
}

/* Match the sale price color if you want */
.combination-price-range .price-min,
.combination-price-range .price-max {
    color: var(--primary, #25b9d7);
}

.price-separator {
    margin: 0 5px;
    color: #999;
    font-weight: normal;
}

.price-range-note {
    display: block;
    font-size: 0.85em;
    color: #999;
    font-style: italic;
    margin-top: 2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .combination-price-range {
        font-size: 0.85em;
    }
}

/* Fallback for browsers that don't support :has() */
.combination-price-range-active .regular-price,
.combination-price-range-active .price-sale,
.combination-price-range-active .price {
    display: none !important;
}
