.type-category .ratings-wrapper {
    order: -1;
}

.type-detail .ratings-wrapper {
    order: -1;
}

.type-category .box.box-bg-default.box-sm.box-filters {
    display: none;
}

:where(body.ums_a11y_category_page--on) .category-header {
    align-items: center;
    -moz-column-gap: 16px;
    column-gap: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    margin-bottom: 0px;
}

:where(body.ums_a11y_category_page--on) .listSorting__control:focus-visible,
:where(body.ums_a11y_category_page--on) .listSorting__control:hover,
:where(body.ums_a11y_category_page--on) .sortingToggle:focus-visible,
:where(body.ums_a11y_category_page--on) .sortingToggle:hover {
    color: black;
}

.type-category .custom-filters-dropdown .dropdown-menu {
    top: 40px;
}

.type-category div#manufacturer-filter form>fieldset {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.type-category div#manufacturer-filter form>fieldset>div>label {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.type-category div#manufacturer-filter form>fieldset>div {
    width: 100% !important;
}

.type-category div#filters {
    display: none;
}

.custom-filters-dropdown span.products-listing-order-heading {
    font-size: 18px;
    font-weight: 600;
}

.custom-filters-dropdown span.icon-chevron-down {
    font-size: 14px !important;
    margin-left: 5px;
}

.custom-filters-dropdown button {
    display: flex;
    align-items: center;
    gap: 5px;
}

.filter-label .filter-count {
    display: inline-block;
    height: 20px;
    font-size: 12px;
    line-height: 22px;
    text-align: center;
    vertical-align: middle;
    width: auto !important;
    min-width: 20px !important;
    padding: 0 6px !important;
    border-radius: 10px !important;
}

span.filter-count {
    color: white;
}

.filter-count {
    background-color: #363530;
}

label.filter-label {
    display: flex !important;
    width: 100% !important;
}

.type-category fieldset {
    display: flex;
    flex-direction: column !important;
    width: 100% !important;
}

.type-category fieldset>div {
    display: flex !important;
    width: 100% !important;
}

.type-category .slider-wrapper {
    padding: 0px !important;
}

.type-category .filter-section {
    padding-bottom: 0;
    padding-top: 0;
}

.custom-filters-dropdown {
    gap: 0 10px !important;
    width: 100%;
    background-color: #ff9000;
    border-radius: 10px;
    padding-inline: 15px;
}

.type-category .custom-filters-dropdown .dropdown .dropdown-menu {
    left: auto !important;
    max-width: calc(100vw - 40px);
    box-sizing: border-box;
}

.subcategories li {
    padding-inline: 5px;
}

.subcategories li a {
    background: #ddeffc;
    border-radius: 10px;
    margin-bottom: 10px;
    padding: 5px 20px;
    height: 45px;
}

.subcategories li a .text {
    font-size: 16px;
    line-height: 1.2;
}

@media(max-width: 767px) {
    .subcategories {
        margin-left: -5px;
        margin-right: -5px;
        display: flex !important;
    }

    .subcategories li {
        padding-right: 7px;
        padding-left: 7px;
    }
}

.custom-filters-dropdown .dropdown {
    background: #ff9000;
    margin-bottom: 0px;
    border-radius: 10px;
}

.custom-filters-dropdown .btn.btn-plain {
    color: #ffffff;
}

.custom-filters-dropdown .btn.btn-xs {
    padding: 10px 10px;
}