/* Additional Wishlist Styles for Enhanced UX */

/* Tooltip improvements */
.tooltip {
    z-index: 10000 !important;
}

.tooltip-inner {
    background-color: rgba(33, 37, 41, 0.95) !important;
    color: white !important;
    font-size: 12px !important;
    padding: 6px 10px !important;
    border-radius: 6px !important;
    font-weight: 500 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
}

.tooltip.bs-tooltip-top .arrow::before {
    border-top-color: rgba(33, 37, 41, 0.95) !important;
}

.tooltip.bs-tooltip-bottom .arrow::before {
    border-bottom-color: rgba(33, 37, 41, 0.95) !important;
}

.tooltip.bs-tooltip-left .arrow::before {
    border-left-color: rgba(33, 37, 41, 0.95) !important;
}

.tooltip.bs-tooltip-right .arrow::before {
    border-right-color: rgba(33, 37, 41, 0.95) !important;
}

/* Wishlist button hover effects */
.wishlist-btn:hover,
.wishlist:hover {
    transform: scale(1.05) !important;
    transition: all 0.2s ease !important;
}

.wishlist-btn.wishlisted:hover i,
.wishlist.wishlisted:hover i {
    color: #c0392b !important;
}

/* Product card wishlist button positioning */


.product-actions .wishlist-btn {
    background: rgba(255, 255, 255, 0.95) !important;
    border: none !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    transition: all 0.3s ease !important;
}

.product-actions .wishlist-btn:hover {
    background: rgba(255, 255, 255, 1) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
    transform: scale(1.1) !important;
}

.product-actions .wishlist-btn i {
    font-size: 16px !important;
    color: #666 !important;
    transition: all 0.3s ease !important;
}

.product-actions .wishlist-btn.wishlisted i {
    color: #e74c3c !important;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .product-actions {
        top: 8px;
        right: 8px;
        gap: 6px;
    }
    
    .product-actions .wishlist-btn {
        width: 36px !important;
        height: 36px !important;
    }
    
    .product-actions .wishlist-btn i {
        font-size: 14px !important;
    }
    
    .tooltip-inner {
        font-size: 11px !important;
        padding: 4px 8px !important;
    }
}

/* Loading state for wishlist buttons */
.wishlist-btn:disabled,
.wishlist:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

.wishlist-btn:disabled:hover,
.wishlist:disabled:hover {
    transform: none !important;
}