.search-bar__form {
    display: flex;
    align-items: stretch;
    flex: 1;
    min-width: 0;
}

.search-bar__field {
    position: relative;
    flex: 1;
    min-width: 0;
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    max-height: 500px;
    overflow-y: auto;
    z-index: 1050;
    display: none;
}

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

.suggestion-section {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.suggestion-section:last-child {
    border-bottom: none;
}

.suggestion-section-title {
    padding: 8px 15px;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    color: #666;
    background: #f8f9fa;
}

.suggestion-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    cursor: pointer;
    text-decoration: none;
    color: #333;
}

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

.suggestion-item-image {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 10px;
    flex-shrink: 0;
}

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

.suggestion-item-title {
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suggestion-item-subtitle {
    font-size: 12px;
    color: #666;
}

.suggestion-item-price {
    font-size: 14px;
    font-weight: 600;
    color: #007bff;
    margin-left: 10px;
}

.search-loading,
.search-no-results {
    padding: 15px;
    text-align: center;
    color: #666;
    font-size: 14px;
}

.search-summary {
    padding: 10px 15px;
    font-size: 12px;
    color: #666;
    background: #f8f9fa;
    border-bottom: 1px solid #ececec;
}

.search-view-all {
    display: block;
    padding: 10px 15px;
    font-weight: 600;
    font-size: 13px;
    color: #007bff;
    text-decoration: none;
    border-top: 1px solid #ececec;
}

.search-view-all:hover {
    background: #f8f9fa;
}

@media (max-width: 768px) {
    .search-suggestions {
        max-height: min(70vh, 420px);
    }
}
