/* Category autocomplete stays anchored to the existing responsive search field. */
.az-header .az-category-suggestions {
    position: absolute;
    inset-inline: -1px;
    inset-block-start: calc(100% + 6px);
    z-index: 60;
    padding: 6px;
    background: #fff;
    border: 1px solid #e6e6eb;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgb(0 0 0 / .12);
    max-height: min(460px, 60dvh);
    overflow-y: auto;
    overscroll-behavior-y: contain;
    text-align: start;
}
.az-header .az-category-suggestions[hidden] { display: none; }
.az-header .az-category-suggestions ul { list-style: none; margin: 0; padding: 0; }
.az-header .az-category-suggestions li { margin: 0; padding: 0; }
.az-header .az-category-suggestions a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    min-height: 44px;
    border-radius: 6px;
    color: #27272d;
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: anywhere;
    cursor: pointer;
}
.az-header .az-category-suggestions a:hover,
.az-header .az-category-suggestions a:focus-visible,
.az-header .az-category-suggestions a[aria-selected=true] {
    color: #b7060a;
    background: #fff0f0;
}
.az-category-search-status { margin: 0; padding: 12px; font-size: 13px; line-height: 1.5; color: #65656d; }
.az-category-search-status:empty { display: none; }

.az-header .az-category-suggestions img {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    object-fit: contain;
    border-radius: 5px;
    background: #f6f6f8;
}
.az-header .az-category-suggestions a span { min-width: 0; }
