.search-wrapper {
    position: relative;
}

.mbe-smart-search-menu {
    position: absolute;
    z-index: 1055;
    top: calc(100% + 4px);
    right: 0;
    left: 0;
    display: none;
    overflow: hidden;
    min-width: min(560px, 92vw);
    max-height: min(70vh, 560px);
    overflow-y: auto;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .13);
    border-radius: 10px;
    box-shadow: 0 14px 38px rgba(0, 0, 0, .18);
}

.mbe-smart-search-menu.is-open {
    display: block;
}

.mbe-smart-search-menu__hint {
    padding: .65rem .85rem;
    color: #4c4c4c;
    background: #f4f7f1;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    font-size: .86rem;
}

.mbe-smart-search-menu__item {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: .75rem;
    align-items: center;
    padding: .7rem .85rem;
    color: #202020;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, .07);
}

.mbe-smart-search-menu__item:hover,
.mbe-smart-search-menu__item.is-active {
    color: #161616;
    text-decoration: none;
    background: rgba(167, 231, 82, .18);
}

.mbe-smart-search-menu__image {
    width: 58px;
    height: 58px;
    object-fit: contain;
    background: #fff;
    border-radius: 6px;
}

.mbe-smart-search-menu__name {
    overflow: hidden;
    font-weight: 600;
    line-height: 1.25;
    text-overflow: ellipsis;
}

.mbe-smart-search-menu__price {
    white-space: nowrap;
    font-weight: 700;
}

.mbe-smart-search-menu__all {
    display: block;
    padding: .8rem;
    color: #222;
    text-align: center;
    background: rgb(167, 231, 82);
    font-weight: 700;
}

.mbe-smart-search-notice {
    display: flex;
    gap: .8rem;
    align-items: flex-start;
    margin: 0 0 1.25rem;
    padding: .9rem 1rem;
    color: #252525;
    background: rgba(167, 231, 82, .17);
    border: 1px solid rgba(112, 170, 37, .35);
    border-radius: 9px;
}

.mbe-smart-search-notice strong,
.mbe-smart-search-notice span {
    display: block;
}

.mbe-smart-search-notice span {
    margin-top: .15rem;
    color: #555;
    font-size: .92rem;
}

.mbe-smart-search-notice__icon {
    color: #4d7918;
    font-size: 1.45rem;
    line-height: 1;
}

@media (max-width: 767.98px) {
    .mbe-smart-search-menu {
        right: auto;
        left: 0;
        min-width: min(94vw, 520px);
    }

    .mbe-smart-search-menu__item {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .mbe-smart-search-menu__image {
        width: 48px;
        height: 48px;
    }

    .mbe-smart-search-menu__price {
        grid-column: 2;
    }
}
