.sienna-search-autocomplete {
    position: relative;
}

.sienna-search-suggestions {
    position: absolute;
    z-index: 10020;
    top: calc(100% + 6px);
    left: 0;
    width: 100%;
    max-height: min(420px, 70vh);
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid #d8d8d8;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .14);
    color: #212121;
    text-align: left;
}

.sienna-search-suggestions[hidden] {
    display: none;
}

.sienna-search-suggestions__item,
.sienna-search-suggestions__all {
    box-sizing: border-box;
    display: flex;
    width: 100%;
    color: #212121;
    font-family: "Lato", sans-serif;
    text-decoration: none;
}

.sienna-search-suggestions__item {
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 54px;
    padding: 10px 14px;
    border-bottom: 1px solid #ececec;
}

.sienna-search-suggestions__item:hover,
.sienna-search-suggestions__item:focus-visible,
.sienna-search-suggestions__item.is-active {
    outline: none;
    background: #f3f0ee;
    color: #000;
}

.sienna-search-suggestions__content {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.sienna-search-suggestions__image {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
}

.sienna-search-suggestions__title {
    min-width: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
}

.sienna-search-suggestions__all {
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 14px;
    background: #212121;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.sienna-search-suggestions__all:hover,
.sienna-search-suggestions__all:focus-visible,
.sienna-search-suggestions__all.is-active {
    outline: none;
    background: #6f594c;
    color: #fff;
}

.sienna-search-suggestions__empty {
    margin: 0;
    padding: 15px 14px;
    color: #555;
    font-family: "Lato", sans-serif;
    font-size: 14px;
    line-height: 1.4;
}

.sienna-search-suggestions__empty--error {
    color: #9d1c1c;
}

.sienna-search-suggestions__empty--loading {
    color: #555;
}

.sweb-clean-template .sienna-search-suggestions__all {
    background: #212121;
    color: #fff;
}

.sweb-clean-template .sienna-search-suggestions__all:hover,
.sweb-clean-template .sienna-search-suggestions__all:focus-visible,
.sweb-clean-template .sienna-search-suggestions__all.is-active {
    background: #6f594c;
    color: #fff;
}

.sienna-search-suggestions__status {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 767px) {
    .sienna-search-suggestions {
        max-height: min(360px, 65vh);
    }

    .sienna-search-suggestions__item {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }
}
