/* z-index 1 hoger dan stretched-link. */
.widget-select-menu {
    container: category-search-container / inline-size;
    z-index: 2;
}

.widget-select-menu-product_list {
    position: absolute;
    z-index: 9;
    background-color: #fff;
    width: 80%;
    max-width: 80%;
    max-height: 200px;
    box-shadow: var(--shadow-md);
    overflow-y: auto;
}

.widget-select-menu-product-container:hover,
.widget-select-menu-product-container:focus {
    background-color: var(--grey-50);
}

.widget-select-menu-product {
    margin-inline: var(--st-spacing-md);
    padding-block: var(--st-spacing-xs);
    font-size: var(--text-size-sm);
}

.widget-select-menu-product-container:not(:last-child) .widget-select-menu-product {
    border-bottom: 1px solid var(--grey-100);
}

.widget-select-menu.card:not(:has(.card-body)) {
    padding-block-start: var(--bs-card-spacer-y);
}


@container category-search-container (max-width: 800px) {
    .widget-select-menu-product_list {
        width: -moz-available;
        width: -webkit-fill-available;
        max-width: calc(100% - (var(--st-spacing-md) * 2));
    }
}