/* ===========================================
   أنماط البحث المتقدم
   Advanced Search Styles
   =========================================== */

/* Search Suggestions Dropdown */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    margin-top: 8px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
}

.search-suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s;
    border-bottom: 1px solid #f3f4f6;
}

.search-suggestion-item:last-child {
    border-bottom: none;
}

.search-suggestion-item:hover {
    background: #f8fafc;
}

.search-suggestion-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f0f4f8, #e2e8f0);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-suggestion-icon i {
    font-size: 18px;
    color: #0A2463;
    opacity: 0.7;
}

.search-suggestion-info {
    flex: 1;
}

.search-suggestion-name {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 2px;
}

.search-suggestion-category {
    font-size: 0.8rem;
    color: #6b7280;
}

.search-suggestion-price {
    font-weight: 700;
    color: var(--red-main, #DC2626);
    font-size: 0.9rem;
}

.search-no-results {
    padding: 24px;
    text-align: center;
    color: #6b7280;
}

.search-no-results i {
    font-size: 32px;
    margin-bottom: 8px;
    color: #d1d5db;
}

.search-view-all {
    display: block;
    padding: 12px;
    text-align: center;
    background: #f8fafc;
    color: #0A2463;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0 0 12px 12px;
    transition: all 0.3s;
}

.search-view-all:hover {
    background: #0A2463;
    color: white;
}

.search-highlight {
    background: #fef3c7;
    padding: 0 2px;
    border-radius: 2px;
}