/* Barre de tri : styles limites au catalogue, compatibles avec le menu Bootstrap du theme. */
#js-product-list-top.ba-catalogue-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin: 0 0 22px;
    padding: 14px 18px;
    border: 1px solid #e4dfd5;
    border-radius: 4px;
    background: #faf8f4;
    color: #3b3a35;
    text-align: left;
}
#js-product-list-top .ba-catalogue-count {
    flex: 0 1 auto;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: normal;
}
#js-product-list-top .ba-catalogue-count strong { font-weight: 600; }
#js-product-list-top .ba-sort-control {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    max-width: 100%;
}
#js-product-list-top .ba-sort-label {
    flex: 0 0 auto;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: normal;
}
#js-product-list-top .ba-sort-dropdown {
    position: relative;
    float: none;
    width: 260px;
    min-width: 0;
    max-width: 100%;
    padding: 0;
}
#js-product-list-top .ba-sort-dropdown .select-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 10px 14px;
    border: 1px solid #cec7bb;
    border-radius: 3px;
    background: #fff;
    color: #33332f;
    font: inherit;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: normal;
    text-transform: none;
    text-align: left;
    cursor: pointer;
}
#ba-sort-value {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
#js-product-list-top .ba-sort-chevron {
    flex: 0 0 7px;
    width: 7px;
    height: 7px;
    margin-top: -4px;
    border: solid currentColor;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
}
#js-product-list-top .ba-sort-dropdown .dropdown-menu {
    top: 100%;
    right: 0;
    left: auto;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    max-height: 60vh;
    overflow-y: auto;
    margin: 5px 0 0;
    padding: 4px 0;
    border: 1px solid #cec7bb;
    border-radius: 3px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(44, 38, 27, .12);
    text-align: left;
    list-style: none;
    z-index: 20;
}
#js-product-list-top .ba-sort-dropdown .dropdown-menu > li { margin: 0; padding: 0; }
#js-product-list-top .ba-sort-dropdown .select-list {
    display: block;
    min-height: 44px;
    margin: 0;
    padding: 11px 14px;
    color: #33332f;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: normal;
    text-transform: none;
    white-space: normal;
    overflow-wrap: anywhere;
    text-decoration: none;
}
#js-product-list-top .ba-sort-dropdown .select-list:hover,
#js-product-list-top .ba-sort-dropdown .select-list:focus,
#js-product-list-top .ba-sort-dropdown .select-list.current {
    color: #292b28;
    background: #f0ece3;
}
#js-product-list-top .ba-sort-dropdown .select-list.current { font-weight: 600; }
#js-product-list-top .ba-sort-dropdown .select-title:focus-visible,
#js-product-list-top .ba-sort-dropdown .select-list:focus-visible {
    outline: 2px solid #655a43;
    outline-offset: 2px;
}
@media (max-width: 575px) {
    #js-product-list-top.ba-catalogue-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 9px;
        margin-bottom: 16px;
        padding: 12px;
    }
    #js-product-list-top .ba-sort-control { width: 100%; gap: 10px; }
    #js-product-list-top .ba-sort-dropdown { flex: 1 1 0; width: auto; }
}
