.search__row {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    height: 50px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.search__row::before {
    content: "";
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    border: 1px solid #292929;
    -webkit-transition: 0.3s linear;
    -o-transition: 0.3s linear;
    transition: 0.3s linear;
}

.search__row::after {
    content: "";
    position: absolute;
    z-index: 2;
    left: 0;
    top: 14px;
    width: 2px;
    height: 20px;
    background: #fff;
}

.search__row * {
    box-sizing: content-box;
    line-height: 1.3;
}

.search__input {
    position: relative;
    z-index: 10;
    width: calc(100% - 49px);
    padding-inline: 15px;
    border: none;
    border-right: 1px solid #292929;
    background-color: transparent;
    font-family: Rubik, sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #292929;
    -webkit-transition: 0.3s linear;
    -o-transition: 0.3s linear;
    transition: 0.3s linear;
}

.search__icon {
    position: relative;
    z-index: 12;
    width: 49px;
    padding: 0;
    border: 1px solid transparent;
    border-left: none;
    border-radius: 0 11px 11px 0;
    background-color: #ffd504;
    background-clip: content-box;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search__icon::before {
    content: "";
    position: absolute;
    left: -1px;
    top: 14px;
    width: 1px;
    height: 20px;
    background: #fff;
}

.search__icon svg {
    width: 24px;
    height: 23px;
    fill: #292929;
    opacity: 0.5;
    -webkit-transition: 0.3s linear;
    -o-transition: 0.3s linear;
    transition: 0.3s linear;
}

.search__text {
    font-family: Rubik, sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #292929;
    margin-bottom: 10px;
}

.catalog-search {
    max-width: 500px;
}

.search__row_catalog {
    display: flex;
    flex-direction: row;
    gap: 30px;
    justify-content: flex-start;
    padding-right: 20px;
}

.search__row_catalog > :not(.search_section) {
    order: 0;
}

.search__row_catalog > .search_section {
    order: 1;
    margin-left: auto;
    width: 100%;
    max-width: 350px;
}

.search__row_catalog .search__row{
    max-width: 350px;
}

.hero__menu .search__row{
    max-width: 360px;
}

@media (hover: hover) {

    .search__row:hover::before,
    .search__row:hover .search__input {
        border-color: #ffd504;
    }

    .search__row:hover svg {
        opacity: 1;
    }
}

@media screen and (max-width: 1559px) {
    .search__row_catalog {
        padding-right: 0;
    }
}

@media screen and (max-width: 1023px) {
    .search__row_catalog{
        gap: 20px;
        flex-direction: column;
    }

    .search__row_catalog .search__row{
        max-width: none;
    }

    .search__row{
        height: 40px;
    }

    .search__input{
        font-size: 14px;
    }

    .search__icon svg{
        width: 18px;
        height: 18px;
    }

    .search__row::after{
        top: 10px;
    }

    .search__icon::before{
        top: 10px;
    }

    .search__text{
        font-size: 14px;
    }
}