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

/*.search-input-wrapper {*/
/*    position: relative;*/
/*    display: flex;*/
/*}*/

/*#search-input {*/
/*    flex: 1;*/
/*    padding: 10px 15px;*/
/*    border: 1px solid #ddd;*/
/*    border-radius: 4px 0 0 4px;*/
/*    font-size: 16px;*/
/*}*/

/*.search-button {*/
/*    padding: 10px 20px;*/
/*    background-color: #007bff;*/
/*    color: white;*/
/*    border: none;*/
/*    border-radius: 0 4px 4px 0;*/
/*    cursor: pointer;*/
/*    font-size: 16px;*/
/*}*/

.search-button:hover {
    background-color: #0069d9;
}

.clear-search {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 20px;
    color: #999;
    padding: 0 10px;
}

.clear-search:hover {
    color: #333;
}

.search-results-dropdown {
    display: none;
    position: absolute;
    z-index: 1000;
    width: 450px;
    max-height: 600px;
    overflow-y: auto;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 5px;
}

.search-results-dropdown .search-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

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

.search-results-dropdown .item-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    margin-right: 15px;
}

.search-results-dropdown .item-name {
    flex: 1;
}

.search-results-dropdown .view-all {
    padding: 10px;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    background-color: #f8f9fa;
}

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

/* Мобильные стили */
@media (max-width: 767px) {
    .search-results-dropdown {
        width: 100%;
        max-height: 500px;
    }

    .clear-search {
        right: 50px;
    }

    .search-button {
        padding: 10px 15px;
    }
}