#search-suggestions {
    min-width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    z-index: 9999;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    padding: 0;
    margin-top: 2px;
}

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

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

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

.suggestion-item {
    z-index: 111111;
    display: flex;
    align-items: left;
    padding: 10px 14px;
    text-decoration: none;
    color: #222;
    border-bottom: 1px solid #f0f0f0;
    background: #fff;
    cursor: pointer;
    transition: background-color 0.2s;
    font-size: 15px;
}

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

.suggestion-item:hover, .suggestion-item:focus {
    background-color: #f8f9fa;
    color: #007bff;
}

.suggestion-image {
    width: 40px;
    height: 40px;
    margin-right: 12px;
    flex-shrink: 0;
}

.suggestion-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.suggestion-content {
    flex-grow: 1;
    min-width: 0;
    text-align: left;
}

.suggestion-name {
    font-weight: 500;
    margin-bottom: 2px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suggestion-price {
    color: #666;
    font-size: 0.95em;
}

.suggestion-type {
    color: #28a745;
    font-size: 0.85em;
    font-weight: 500;
}

.vendor-item .suggestion-image img {
    border-radius: 50%;
}

/* Search input container */
.search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

#product-search {
    width: 100%;
    padding: 10px 15px;
    font-size: 14px;
}

#product-search:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
}

/* Select2 styling for search bar */
.search-bar .select .select2-container {
    width: 100% !important;
}

.search-bar .select .select2-container--default .select2-selection--single {
    height: 50px;
    border: 0 !important;
    border-radius: 0;
    background: #ffffff;
    box-shadow: none;
    position: relative;
    padding: 0 45px 0 15px;
    line-height: 50px;
}

.search-bar .select .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 0;
    width: 100%;
    color: #666;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: inherit;
    text-align: left;
}

.search-bar .select .select2-dropdown {
    border-radius: 0;
    border: 1px solid #e5e5e5;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.select2-results__option {
    border-bottom: 1px solid #e5e5e5;
    cursor: pointer;
}

.search-bar .select2-selection__arrow {
    display: none;
}

.search-bar .select .select2-selection__clear {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #bbb;
    font-size: 18px;
    line-height: 1;
    margin: 0;
}

.search-bar .select .select2-selection__clear:hover {
    color: #F6921E;
}
    