﻿.search-container {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.search-wrapper {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 2px solid #f0f0f0;
}

.search-icon {
    width: 22px;
    height: 22px;
    margin-right: 14px;
    color: #667eea;
    flex-shrink: 0;
}

#searchInput {
    flex: 1;
    border: none;
    outline: none;
    font-size: 17px;
    color: #333;
}

    #searchInput::placeholder {
        color: #999;
    }

.autocomplete-items {
    max-height: 450px;
    overflow-y: auto;
}

.autocomplete-item {
    padding: 16px 24px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    gap: 16px;
}

    .autocomplete-item:last-child {
        border-bottom: none;
    }

    .autocomplete-item:hover,
    .autocomplete-item.active {
    }

.product-image {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.product-info {
    flex: 1;
    min-width: 0;
}

.product-name {
    font-weight: 600;
    font-size: 16px;
    color: #333;
    margin-bottom: 4px;
}

    .product-name strong {
        color: #667eea;
    }

.product-description {
}

    .product-description strong {
        color: #667eea;
    }

.product-category {
    font-size: 13px;
    color: #999;
    margin-bottom: 6px;
}

    .product-category strong {
        color: #667eea;
    }

.product-price-search {
    font-size: 18px;
    font-weight: 700;
    color: #667eea;
}

.no-results {
    padding: 30px;
    text-align: center;
    color: #999;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
