/* Search Suggestions Styling */
.tt-menu {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 400px;
    overflow-y: auto;
    padding: 8px 0;
    margin-top: 4px;
    z-index: 1000;
}

.search-suggestion-item {
    border-bottom: 1px solid #f5f5f5;
    transition: background-color 0.2s ease;
}

.search-suggestion-item:last-child {
    border-bottom: none;
}

.search-suggestion-item:hover {
    background-color: #f8f9fa;
}

.search-suggestion-link {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.search-suggestion-link:hover {
    text-decoration: none;
    color: inherit;
}

.search-suggestion-image {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    margin-right: 12px;
    border-radius: 6px;
    overflow: hidden;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-suggestion-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.search-suggestion-content {
    flex: 1;
    min-width: 0;
}

.search-suggestion-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-suggestion-price {
    font-size: 13px;
    font-weight: 600;
    color: #28a745;
    line-height: 1.2;
}

/* Highlight matching text */
.tt-highlight {
    background-color: #fff3cd;
    padding: 1px 2px;
    border-radius: 2px;
}

/* Empty state */
.tt-empty {
    padding: 20px;
    text-align: center;
    color: #666;
    font-style: italic;
}

/* Loading state */
.tt-loading {
    padding: 20px;
    text-align: center;
    color: #666;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .search-suggestion-link {
        padding: 10px 12px;
    }
    
    .search-suggestion-image {
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }
    
    .search-suggestion-title {
        font-size: 13px;
    }
    
    .search-suggestion-price {
        font-size: 12px;
    }
}
