.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    z-index: 9999;
    display: none; 
    
    /* MỚI THÊM: Giới hạn chiều cao 350px và cuộn */
    max-height: 400px;
    overflow-y: auto; 
}

/* MỚI THÊM: Tùy chỉnh thanh cuộn cho mượt mà (Tùy chọn) */
.search-suggestions::-webkit-scrollbar {
    width: 6px;
}
.search-suggestions::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}
.search-suggestions::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

.suggest-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #f5f5f5;
    text-decoration: none;
    color: var(--text-dark);
    transition: background 0.2s;
}
.suggest-item:last-child { border-bottom: none; }
.suggest-item:hover { background: #f9f9f9; }

.suggest-img {
    width: 45px; height: 45px; 
    object-fit: cover; 
    border-radius: 4px; 
    margin-right: 12px;
    border: 1px solid #eee;
}
.suggest-info { flex: 1; overflow: hidden; }
.suggest-name { 
    font-size: 13px; 
    font-weight: 600; 
    color: #333;
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
    margin-bottom: 4px;
}
.suggest-price { 
    font-size: 13px; 
    color: var(--primary); 
    font-weight: bold; 
}
.suggest-view-all {
    display: block;
    text-align: center;
    padding: 12px;
    background: #fdfdfd;
    color: var(--primary);
    font-weight: bold;
    font-size: 13px;
    border-top: 1px solid #eee;
    border-bottom: 2px solid #eee;
}
.suggest-view-all:hover { background: #f0f0f0; }