/* az2.smartsearch — выпадающие подсказки. Нейтральные цвета: должны смотреться на любом шаблоне. */
.az2ss {
    position: absolute;
    z-index: 10050;
    box-sizing: border-box;
    max-height: min(70vh, 560px);
    overflow-y: auto;
    padding: 6px 0;
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
    font-size: 14px;
    line-height: 1.35;
    color: #222;
    text-align: left;
}
.az2ss[hidden] { display: none; }

.az2ss__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 12px;
    color: inherit;
    text-decoration: none;
}
.az2ss__item:hover,
.az2ss__item.is-active { background: #f4f5f7; }

.az2ss__pic {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: #f6f6f6;
    overflow: hidden;
}
.az2ss__pic img { max-width: 100%; max-height: 100%; object-fit: contain; }

.az2ss__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.az2ss__title { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.az2ss__offer { font-size: 12px; color: #888; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.az2ss__price { flex: 0 0 auto; font-weight: 600; white-space: nowrap; }

.az2ss__item--text { padding-top: 6px; padding-bottom: 6px; }
.az2ss__head {
    margin: 6px 12px 2px;
    padding-top: 8px;
    border-top: 1px solid #eee;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #999;
}
.az2ss__note { padding: 4px 12px 8px; font-size: 13px; color: #666; }
.az2ss__empty { padding: 10px 12px; color: #888; }
.az2ss__all {
    display: block;
    margin-top: 4px;
    padding: 10px 12px 6px;
    border-top: 1px solid #eee;
    font-weight: 600;
    color: inherit;
    text-decoration: none;
}
.az2ss__all:hover,
.az2ss__all.is-active { background: #f4f5f7; }

@media (max-width: 600px) {
    .az2ss { border-radius: 0 0 10px 10px; font-size: 15px; }
}
