/* OneClickMalls Product Compare Price Styling */

/* Enhanced compare price (strikethrough) styling */
.oneclickmalls-compare-price {
    text-decoration: line-through !important;
    color: #6c757d !important;
    font-weight: normal !important;
    opacity: 0.85 !important;
}

/* Sale price styling for emphasis */
.oneclickmalls-sale-price {
    color: #28a745 !important;
    font-weight: bold !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .oneclickmalls-compare-price {
        font-size: 0.85em !important;
    }

    .oneclickmalls-sale-price {
        font-size: 1em !important;
    }
}

/* Product card specific styling */
.o_carousel_product_card .oneclickmalls-compare-price {
    color: #6c757d !important;
    opacity: 0.8 !important;
}

.o_carousel_product_card .oneclickmalls-sale-price {
    color: #28a745 !important;
    font-weight: bold !important;
}

/* Product grid item styling */
.oe_product_cart .oneclickmalls-compare-price {
    margin-right: 0.5rem !important;
}

/* Hover effects for better UX */
.oe_product_cart:hover .oneclickmalls-compare-price {
    opacity: 1 !important;
}

.oe_product_cart:hover .oneclickmalls-sale-price {
    color: #dc3545 !important;
    transition: color 0.2s ease-in-out;
}

/* Dynamic snippet specific styling */
.s_dynamic_snippet .oneclickmalls-compare-price {
    color: #6c757d !important;
    opacity: 0.8 !important;
    font-size: 0.9em !important;
    display: block !important;
    margin-bottom: 0.2rem !important;
}

.s_dynamic_snippet .oneclickmalls-sale-price {
    color: #28a745 !important;
    font-weight: bold !important;
    font-size: 1.1em !important;
}

/* Dynamic snippet product card layout */
.s_dynamic_snippet_products .o_carousel_product_card .oneclickmalls-compare-price {
    text-align: center;
    margin-bottom: 0.3rem;
}

.s_dynamic_snippet_products .o_carousel_product_card .oneclickmalls-sale-price {
    text-align: center;
    display: block;
}
