/**
 * Button Hover Fix
 * Consistent button hover states and transitions
 */

/* Primary button hover */
.btn:hover,
.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Prevent color change on hover for primary buttons */
.btn.btn-primary:hover {
    background-color: #2D3493;
    border-color: #2D3493;
    color: #fff;
}

/* Add to cart button hover */
.add-to-cart-btn:hover,
.btn-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background: #232a75 !important; /* Darker blue hover */
    color: #fff !important;
    border-color: #232a75 !important;
}

/* Universal Add to Cart Button Sizing - Consistent across all cards */
.add-to-cart-btn {
    min-height: 48px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    padding: 0 20px !important;
}

/* Wishlist button hover */
.add-to-wishlist-btn:hover {
    color: #f74b81 !important;
}

/* Remove button hover */
.cart-remove-btn:hover,
.wishlist-remove-btn:hover {
    color: #ff0000 !important;
    transform: scale(1.1);
}

/* Smooth transitions for all buttons */
.btn,
.add-to-cart-btn,
.add-to-wishlist-btn,
.cart-remove-btn,
.wishlist-remove-btn {
    transition: all 0.3s ease;
}
