/* Prevent text blur during animations */
.product-card .card-title,
.product-card .product-title,
.product-card .category-name,
.product-card .current-price,
.product-card .original-price,
.product-card .price-save-badge,
.product-card .card-text,
.product-card .discount-percent {
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Use CSS-only transform for better text rendering */
.product-card.hover-enabled {
    will-change: transform;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Use a simple translateY transform for hover that doesn't cause blur */
.product-card.hover-enabled:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Fix for mobile devices */
@media (max-width: 767px) {
    .product-card:hover {
        transform: translateY(-3px) translateZ(0);
    }
}
