.search-wrapper {
    position: relative;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 500px;
    overflow-y: auto;
    z-index: 1000;
    margin-top: 8px;
    display: none;
}

.search-results.active {
    display: block;
}

.search-results-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background-color 0.2s;
    text-decoration: none;
    color: inherit;
}

.search-results-item:hover {
    background-color: #f8f9fa;
}

.search-results-item:last-child {
    border-bottom: none;
}

.search-results-item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 12px;
    flex-shrink: 0;
}

.search-results-item-content {
    flex: 1;
    min-width: 0;
}

.search-results-item-name {
    font-weight: 500;
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-results-item-price {
    font-size: 13px;
    color: #666;
}

.search-results-empty {
    padding: 20px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

.search-results-loading {
    padding: 20px;
    text-align: center;
    color: #999;
    font-size: 14px;
}
