/**
 * Search Dropdown Fix
 * Makes the entire search result item clickable in the navbar dropdown
 */

/* Style the search result item as a clickable link */
.search-result-item {
    display: flex !important;
    align-items: center !important;
    padding: 12px 15px !important;
    text-decoration: none !important;
    color: #333 !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    border-bottom: 1px solid rgba(106, 17, 203, 0.1) !important;
}

.search-result-item:last-child {
    border-bottom: none !important;
}

.search-result-item:hover {
    background-color: rgba(106, 17, 203, 0.05) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 2px 10px rgba(106, 17, 203, 0.07) !important;
    color: #333 !important;
    text-decoration: none !important;
}

/* Ensure the search result details are styled correctly */
.search-result-image {
    width: 50px !important;
    height: 50px !important;
    margin-right: 15px !important;
    flex-shrink: 0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 8px rgba(106, 17, 203, 0.1) !important;
}

.search-result-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.search-result-details {
    flex-grow: 1 !important;
}

.search-result-name {
    font-weight: 600 !important;
    margin-bottom: 4px !important;
    color: var(--primary-color) !important;
}

.search-result-price {
    color: var(--secondary-color) !important;
    font-weight: 600 !important;
} 