/* Tooltip styles for featured items */
.featured-item-tooltip {
    position: fixed;
    z-index: 10000;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 12px;
    display: none;
    pointer-events: none;
    max-width: 350px;
}

.featured-item-tooltip.show {
    display: block;
}

.featured-item-tooltip-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.featured-item-tooltip-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
    background: #f8f9fa;
}

.featured-item-tooltip-text {
    flex: 1;
    min-width: 0;
}

.featured-item-tooltip-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: #212529;
    margin: 0 0 4px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.featured-item-tooltip-subtitle {
    font-size: 0.75rem;
    color: #6c757d;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* RTL support for tooltip */
[dir="rtl"] .featured-item-tooltip-content {
    flex-direction: row-reverse;
}
