.sections.search-sts .tags-wrap.dop,
sections search-taps .tags-wrap.dop {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sections.search-sts .tags-wrap.dop a.button:hover {
    color: #fff;
    background: #f31599;
}

.sections.search-sts .tags-wrap.dop a.button {
    padding: 3px 5px;
}

.sections.search-sts .tags-wrap.dop a.button {
    margin: 0;
    font-weight: 400;
}

.search-wrapper .search-result .sections.search-sts, 
.search-wrapper .search-result .sections.search-taps {
    padding: 10px 15px;
}

.search-wrapper .search-result .sections.search-taps .search-suggestion-tap {
    margin-bottom: 0;
}

#searchResult .pickup-with-product img {
    margin-right: 10px;
}

@media screen and (max-width: 980px) {
    body:has(.fix-header .search-wrapper.open) {
        overflow: hidden;
    }

    .fix-header .limited-container .search-wrapper.open {
        position: fixed !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100dvh !important;
        margin: 0 !important;
        padding: 12px 15px 0 !important;
        padding-top: max(12px, env(safe-area-inset-top)) !important;
        border-radius: 0 !important;
        background: #fff !important;
        z-index: 100 !important;
        box-sizing: border-box;
        overflow: hidden !important;

        display: grid !important;
        grid-template-columns: auto 1fr auto;
        grid-template-rows: auto minmax(0, 1fr);
        align-items: center !important;
    }

    .fix-header .search-wrapper.open::before {
        display: none !important;
    }

    .fix-header .limited-container:has(.search-wrapper.open) > .fix-item,
    .fix-header .limited-container:has(.search-wrapper.open) > .logo,
    .fix-header .limited-container:has(.search-wrapper.open) > .link-basket {
        display: none !important;
    }

    /* лупа слева */
    .fix-header .search-wrapper.open .search-ico {
        grid-column: 1;
        grid-row: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        flex: none;
        width: 32px;
        height: 44px;
        padding: 0 4px 0 0;
        z-index: 9;
        pointer-events: none;
    }

    .fix-header .search-wrapper.open .search-ico svg {
        display: block;
        width: 16px;
        height: 16px;
    }

    .fix-header .search-wrapper.open .search-ico svg .fill {
        fill: #909090;
    }

    /* поле ввода */
    .fix-header .search-wrapper.open .search-inp {
        grid-column: 2;
        grid-row: 1;
        flex: none !important;
        width: auto !important;
        min-height: 44px;
        padding: 5px 10px !important;
        border: none;
        border-bottom: 1px solid #f1f1f1;
        border-radius: 0;
        background: transparent;
    }

    /* placeholder виден при фокусе, пока поле пустое (перебивает _reset.scss) */
    .fix-header .search-wrapper.open .search-inp:placeholder-shown::-webkit-input-placeholder {
        color: #a5a5a5;
        opacity: 1;
    }

    .fix-header .search-wrapper.open .search-inp:placeholder-shown::-moz-placeholder {
        color: #a5a5a5;
        opacity: 1;
    }

    .fix-header .search-wrapper.open .search-inp:placeholder-shown:-moz-placeholder {
        color: #a5a5a5;
        opacity: 1;
    }

    .fix-header .search-wrapper.open .search-inp:placeholder-shown:-ms-input-placeholder {
        color: #a5a5a5;
        opacity: 1;
    }

    .fix-header .search-wrapper.open .search-inp:placeholder-shown::placeholder {
        color: #a5a5a5;
        opacity: 1;
    }

    /* крестик справа */
    .fix-header .search-wrapper.open .search-close {
        grid-column: 3;
        grid-row: 1;
        flex: none !important;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 44px;
        padding: 0;
        margin: 0;
        border: none;
        background: transparent;
        cursor: pointer;
        z-index: 9;
    }

    .fix-header .search-wrapper.open .search-close svg {
        display: block;
        width: 14px;
        height: 14px;
    }

    .fix-header .search-wrapper.open .search-close svg .fill {
        fill: #1c1c1c;
    }

    /* старая кнопка submit со лупой — скрыть, если осталась в разметке */
    .fix-header .search-wrapper.open .search-but {
        display: none !important;
    }

    .fix-header .search-wrapper.open .search-result.mobile:not(.open) {
        display: none !important;
    }

    .fix-header .search-wrapper.open .search-result.mobile.open {
        grid-column: 1 / -1;
        grid-row: 2;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        min-height: 0 !important;
        max-height: 100% !important;
        height: 100% !important;
        width: 100% !important;
        margin-top: 8px;
        display: block !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        box-shadow: none !important;
        border-radius: 0 !important;
        background: #fff;
    }

    .fix-header .search-wrapper.open .search-result.mobile.open::before {
        display: none !important;
    }

    .fix-header .search-wrapper.open .search-result.mobile.open .tags-wrap {
        display: flex;
        flex-wrap: wrap;
        overflow-x: auto;
        gap: 8px;
        padding: 0;
        -webkit-overflow-scrolling: touch;
    }

    /* нижняя «Закрыть» не нужна — есть крестик в шапке */
    .fix-header .search-wrapper.open .search-result.mobile.open .all-search .cl-search {
        display: none !important;
    }

    .search-wrapper .search-result .sections.search-sts {
        padding: 10px 0;
    }

    

    .sections.search-sts .tags-wrap.dop a.button,
    .search-wrapper .search-result .sections.search-taps .search-suggestion-tap {
        margin: 0;
        font-weight: 400;
    }

    

    .search-wrapper .search-result .all-search {
        width: calc(100% - 20px);
    }

    .search-wrapper .search-result .sections.search-sts, .search-wrapper .search-result .sections.search-taps {
        padding: 15px 0;
    }

    .search-wrapper .search-result .sections a {
        padding: 15px 0;
    }

    .search-wrapper .search-result .line-tovar {
        padding: 10px 0;
    }

}