.mebeldarsearch-form {
    position: relative;
}

.mebeldarsearch-panel {
    position: absolute;
    z-index: 10020;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    max-height: min(72vh, 620px);
    overflow: auto;
    background: #fff;
    border: 1px solid rgba(26, 26, 26, .12);
    border-radius: 14px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .18);
    color: #191919;
}

.mebeldarsearch-panel[hidden] {
    display: none !important;
}

.mebeldarsearch-section {
    padding: 10px;
}

.mebeldarsearch-section + .mebeldarsearch-section {
    border-top: 1px solid #eee;
}

.mebeldarsearch-heading {
    padding: 5px 10px 7px;
    color: #7b7b7b;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.mebeldarsearch-item {
    display: flex;
    min-width: 0;
    gap: 11px;
    align-items: center;
    padding: 9px 10px;
    border-radius: 9px;
    color: inherit;
    text-decoration: none;
    transition: background-color .12s ease;
}

.mebeldarsearch-item:hover,
.mebeldarsearch-item.is-active {
    background: #f5f6f7;
    color: inherit;
}

.mebeldarsearch-image {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    object-fit: contain;
    border-radius: 7px;
    background: #f7f7f7;
}

.mebeldarsearch-item-body {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 3px;
}

.mebeldarsearch-title {
    overflow: hidden;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    text-overflow: ellipsis;
}

.mebeldarsearch-meta {
    color: #777;
    font-size: 12px;
}

.mebeldarsearch-section--discovery {
    background: #faf8f2;
}

@media (max-width: 767px) {
    .mebeldarsearch-panel {
        position: fixed;
        top: 64px;
        right: 8px;
        bottom: 8px;
        left: 8px;
        max-height: none;
        border-radius: 12px;
    }
}

