.search_form {
    display: flex;
    align-items: center;
    white-space: nowrap;
    position: relative;
}

.search_field {
    position: relative;
    flex: 1;
}

.search_area button {
    height: 3.6rem;
}

.search_form button {
    flex-shrink: 0;
}

.search-results-dropdown {
    position: absolute;
    right: 0;
    width: 600px;
    background: #fff;
    border: 1px solid #ccc;
    z-index: 1000;
    margin-top: 1px;
}

.search-results-dropdown h4 {
    font-size: 14px;
    color: #666;
    padding: 10px;
    background: #f5f5f5;
    margin: 0;
    border-bottom: 1px solid #ccc;
}

.search-results-dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-results-dropdown li {
    border-bottom: 1px solid #eee;
}

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

.search-results-dropdown li a {
    display: flex;
    align-items: center;
    color: #333;
    text-decoration: none;
    padding: 8px 10px;
    transition: background-color 0.2s;
}

.search-results-dropdown li a:hover {
    background-color: #f5f5f5;
}

.search-results-dropdown .img-wrapper {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-results-dropdown .img-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.search-results-dropdown span {
    flex: 1;
    font-size: 14px;
}

.search-loading {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #666;
}

.search-results-dropdown .view-all {
    display: block;
    text-align: center;
    padding: 8px;
    color: #333;
    text-decoration: none;
    background: #f5f5f5;
    border-top: 1px solid #ccc;
    font-size: 13px;
}

.search-results-dropdown .view-all:hover {
    background-color: #e9e9e9;
}

.categories-section,
.products-section {
    margin-bottom: 0;
}
