body.type-category .category-header {
    justify-content: start !important;
}

body.type-category .category-header-pagination::after {
    content: "|";
    padding: 10px;
}
body.type-category span.products-listing-order-heading {
    color: black;
    font-weight: 400;
    text-transform: uppercase;
}

body.type-category div#manufacturer-filter fieldset {
    display: flex;
    flex-direction: column;
}

body.type-category span.products-listing-order-heading:hover {
    color: #d42e11;
}

body.type-category .category-top .subcategories li a {
    justify-content: center;
    padding: 13px;
    border-radius: 5px !important;
}

body.type-category .category-top ul.subcategories>li:hover a {
    text-decoration: none !important;
}

body.type-category .category-top ul.subcategories>li a:hover,
body.type-category .category-top ul.subcategories>li:hover a .text:hover {
    text-decoration: none !important;
}

.custom-category-section {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    border-radius: 8px;
}

.custom-category-item {
    flex: 1;
    display: flex;
}

.custom-category-link:hover {
    background: #D42E11;
    color: white;
    border-color: #D42E11;
    text-decoration: none;
}

@media (max-width: 768px) {
    .custom-category-section {
        flex-direction: column;
        gap: 8px;
        padding: 12px;
    }

    .custom-category-link {
        min-height: 50px;
        font-size: 11px;
    }

    .blog-wrapper .homepage-group-title {
        margin-top: 0 !important;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .custom-category-section {
        padding: 10px;
        margin-bottom: 15px;
    }

    .custom-category-link {
        min-height: 45px;
        padding: 10px 6px;
        font-size: 10px;
    }
}

body.type-category .custom-top-category {
    display: flex;
    justify-content: space-between;
    text-align: center;
    align-items: center;
}

body.type-category .custom-top-category img {
    flex: 1;
    z-index: 2;
}

body.type-category .custom-top-category>div {
    flex: 2;
    z-index: 2;
}

body.type-category .custom-top-category h1 {
    font-size: 60px;
    font-weight: initial;
}

body.type-category .custom-top-category h1 b {
    font-weight: bold;
}

body.type-category .custom-top-category p {
    font-size: 23px !important;
}

.top-category-links {
    padding-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    text-transform: uppercase;
    font-size: 13px;
    flex-wrap: wrap;
}

@media (max-width: 767px) {
    body.type-category .custom-top-category {
        flex-direction: column;
    }

    body.type-category .subcategories {
        gap: 0;
        margin-bottom: 20px !important;
        padding-bottom: 0 !important;
    }

    .subcategories {
        justify-content: start !important;
    }

    body.type-category .custom-top-category p {
        font-size: 18px !important;
    }

    .category-perex {
        padding: 0 20px;
    }

    .products-inline.products-top>div {
        display: flex;
    }

    .products-inline.products-top>div.button-wrapper {
        display: flex;
        margin-inline: 0;
    }

    .products-top.products-inline .p {
        height: 100%;
        width: 100%;
        margin-inline: 10px;

    }

    #category-header .dropdown:nth-child(n+3) {
        text-align: left;
        border: 1px solid #d42e11;
        margin-top: 10px;
        border-radius: 5px !important;
    }

    #category-header .dropdown:nth-child(n+3) button#price-dropdown-btn {
        width: 100%;
        justify-content: space-between;
        display: flex;
        align-items: center;
    }

    .products-block>div .p .p-bottom>div .p-tools {
        height: initial;
    }

    .products-block>div .p .p-bottom>div .prices,
    .products-block>div .p .p-bottom>div .p-tools {
        width: 100% !important;
        margin: 8px 0;
    }

    .products-block>div .p .p-bottom>div {
        text-align: center;
    }

    .products-block .price-additional {
        width: 100%;
    }

    .products-block>div .p .p-in .p-in-in {
        text-align: center !important;
        height: 50px;
        align-items: center;
        justify-content: center;
    }

    .products-block>div .p .p-in .p-in-in a.name {
        width: 100%;
    }
}

.products-block>div .p .p-bottom>div .p-tools .btn,
.products-block>div .p .p-bottom>div .p-tools .btn.btn-cart {
    margin-right: auto !important;
}

.products-block>div .p .p-bottom>div .prices {
    height: 80px !important;
}

.top-category-links {
    flex-direction: column;
}

@media (min-width: 768px) and (max-width: 1439px) {
    .custom-category-link {
        font-size: 11px;
    }

    body.type-category .custom-top-category p {
        font-size: 20px !important;
    }

    body.type-category .custom-top-category h1 {
        font-size: 40px;
    }

    .products-block>div .p .p-bottom>div .prices {
        height: 70px !important;
    }

    .products-block>div .p .p-bottom>div .p-tools .btn,
    .products-block>div .p .p-bottom>div .p-tools .btn.btn-cart {
        margin-right: auto !important;
    }


    .top-category-links {
        gap: 15px;
    }

    .top-category-links {
        font-size: 12px;
    }

    body.type-category h2 {
        font-size: 25px;
        margin-top: 40px;
        margin-bottom: 20px;
    }

    .sidebar-indented .content .category-top {
        width: 100%;
        margin: 0;
    }


    body.type-category .custom-top-category {
        flex-direction: column;
        gap: 30px;
    }

    .subcategories {
        justify-content: center;
    }

    .custom-category-section {
        flex-direction: column;
    }

    .products-inline.products-top>div {
        width: 100%;
    }

    .products-inline.products-top>div {
        display: flex;
    }

    .products-inline.products-top>div.button-wrapper {
        display: flex;
        margin-inline: 0;
    }

    .products-top.products-inline .p {
        height: 100%;
        width: 100%;
        margin-inline: 10px;

    }

    .products-block>div .p .p-bottom>div .p-tools {
        height: initial;
    }

    .products-block>div .p .p-bottom>div .prices,
    .products-block>div .p .p-bottom>div .p-tools {
        width: 100%;
        margin: 8px 0;
    }

    .products-block>div .p .p-bottom>div {
        text-align: center;
    }


    .products-block .price-additional {
        width: 100%;
    }

    .products-block>div .p .p-in .p-in-in {
        text-align: center;
    }

    .products-block>div .p .p-bottom>div .p-tools .btn,
    .products-block>div .p .p-bottom>div .p-tools .btn.btn-cart {
        margin-right: auto !important;
    }

    .products-block>div .p .p-bottom>div .prices {
        height: 80px !important;
    }

    .top-category-links {
        flex-direction: column;
    }
}

.custom-category-link:hover img {
    filter: invert(1)
}


.custom-top-category:before {
    content: url(/user/documents/pw/img/bg.png);
    position: absolute;
    z-index: 1;
}

.product-rank-number {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    font-size: 12px;
    border-radius: 4px;
    margin-right: 8px;
    margin-bottom: 4px;
    user-select: none;
    flex-shrink: 0;
    position: absolute;
    z-index: 1;
    left: -2Px;
    top: 20px;
    line-height: 25px;
}

.rank-gold {
    background: #e2c83d;
    color: #fff;
}

.rank-silver {
    background: #bebebe;
    color: #fff;
}

.rank-bronze {
    background: #9f7e66;
    color: #fff;
}

.rank-other {
    background: #222;
    color: #fff;
}


body.type-category .products-top div.product.active {
    position: relative;
}


div#productsTop .chevron-after.chevron-down-after:after {
    display: none;
}


div#productsTop .chevron-after.chevron-down-after:after {
    display: none;
}

a.chevron-after.chevron-down-after.toggle-top-products:before {
    content: "Pozrieť celý zoznam";
    font-size: 16px;
    color: black !important;
}

a.chevron-after.chevron-down-after.toggle-top-products {
    font-size: 0;
}


div#productsTop .button-wrapper {
    background: #ebebeb;
    padding-bottom: 10px;
    border-radius: 5px;
}



.products-inline>div .p .p-in .p-in-in .name {
    display: block;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
}

@media (min-width: 768px) and (max-width: 991Px) {
    .price.price-final {
        text-align: left;
        width: fit-content !important;
    }
}

@media (max-width: 767px) {
    body.type-category .category-top {
        margin-right: 0;
        margin-left: 0;
    }

    div#category-header {
        margin-inline: 10px;
        border-radius: 5px;
    }

    div#category-header button {
        border-radius: 5px;
    }
}

@media (max-width: 1200px) {
    .custom-top-category:before {
        display: none;
    }
}


@media (min-width: 768px) and (max-width: 1439px) {

    #header .navigation-buttons span.cart-price,
    #header .navigation-buttons a[data-target=login] span {
        font-size: 10px;
    }

    #header .header-top-wrapper>div.navigation-buttons button#topNavigationDropdown {
        font-size: 10px;
    }

    #header .navigation-buttons span.cart-price,
    #header .navigation-buttons a[data-target=login] span {
        font-size: 10px !important;
        display: block !important;
    }

    .menu-helper {
        top: initial !important;
    }
}


@media (max-width: 767px) {
    body.type-product .content-wrapper.container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    body.type-category .category-top .subcategories li a {
        justify-content: center;
        padding: 0;
    }
}

@media(max-width: 767px) {
    .products-inline>div .p .p-in .p-in-in .name {
        height: auto !important;
    }

    .products-inline.products-top>div .p {
        align-items: flex-start !important;
        display: flex;
        flex-wrap: wrap;
    }

    div#productsTop .price.price-final {
        width: fit-content;
        display: flex;
        justify-content: flex-end;
        position: absolute;
        right: 20px;
        bottom: 25%;
    }


    .product-rank-number {
        width: 18px;
        height: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: normal;
        font-size: 10px;
        border-radius: 4px;
        margin-right: 8px;
        margin-bottom: 4px;
        user-select: none;
        flex-shrink: 0;
        position: absolute;
        z-index: 1;
        left: 10Px !important;
        top: 20px;
        line-height: 25px;
    }

    .products-inline>div .p .image {
        margin: 0 !important;
    }

    .category-content-wrapper {
        margin-top: 30px;
    }

    .benefitBanner__item:not(:first-of-type) {
        border-left: 0 !important;
    }
}





.box.box-bg-variant {
    background-color: inherit;
}

.sidebar-inner>div {
    border-color: #E4E4E4;
}

.sidebar-inner>div {
    margin: 0 0 10px 0;
    border-bottom-style: solid;
    border-bottom-width: 1px;
}

.box-categories,
.box-filters {
    background-color: #F6F6F6 !important;
    border: 1px solid #E4E4E4 !important;
}

#categories {
    position: relative;
    font-weight: 400;
}

.categories {
    position: relative;
}

.box-bg-variant .categories a {
    border-bottom-color: inherit;
    color: #24242E;
}

.categories .topic>a {
    padding: 16px 24px 16px 46px;
    font-size: 14px;
    font-weight: bold;
    line-height: 20px;
}

.categories a {
    color: #666;
}

.categories a {
    display: block;
    border-bottom-style: none;
    border-bottom-width: 0;
    line-height: 1.2;
    text-decoration: none;
}

#categories>a>span,
#categories .categories>.topic>a>span {
    color: #A3A3AF;
}

#categories .categories>.topic>a>span,
#categories ul .expandable a>span {
    color: #A3A3AF;
    left: 26px;
    top: 21px;
}

#categories ul .expandable a>span,
#categories .categories>.topic>a>span {
    z-index: 1;
    position: absolute;
    right: auto;
    bottom: auto;
    display: block;
    width: 7px;
    height: 12px;
    font-size: 9px;
    line-height: 12px;
    text-align: center;
    cursor: pointer;
}

.box-bg-variant .categories a {
    border-bottom-color: inherit;
    color: #24242E;
}

.categories .topic>a {
    padding: 16px 24px 16px 46px;
    font-size: 14px;
    font-weight: bold;
    line-height: 20px;
}

.categories.expandable.expanded {
    background-color: #fff;
}

.categories.active {
    border-left-width: 2px;
    border-left-style: solid;
    padding-left: 1px;
    margin-left: -1px;
    border-color: var(--color-secondary);
}

.categories .topic>a:hover,
.categories .topic.active>a {
    background-color: #fff;
}

.box-bg-variant .categories a {
    border-bottom-color: inherit;
    color: #24242E;
}

.categories .topic>a {
    padding: 16px 24px 16px 46px;
    font-size: 14px;
    font-weight: bold;
    line-height: 20px;
}

#categories>a>span,
#categories .categories>.topic>a>span {
    color: #A3A3AF;
}

#categories .categories>.topic>a>span {
    color: #A3A3AF;
    left: 26px;
    top: 19px;
}


#categories ul .expandable a>span {
    color: #A3A3AF;
    left: 26px;
    top: 16px !important;
}


#categories ul .expandable a>span,
#categories .categories>.topic>a>span {
    z-index: 1;
    position: absolute;
    right: auto;
    bottom: auto;
    display: block;
    width: 7px;
    height: 12px;
    font-size: 9px;
    line-height: 12px;
    text-align: center;
    cursor: pointer;
}





@media(min-width: 768px) and (max-width: 1439px) {
    .type-category .products-block>div .p .p-bottom.single-button .prices {
        width: 100%;
    }

    .type-category .products-block .p-bottom>div .p-tools {
        margin-left: 0 !important;
    }

    .type-category .products-block>div .p .p-bottom>div .p-tools {
        height: 60px !important;
    }

    .type-category .products-block>div .p .p-bottom>div .prices,
    .products-block>div .p .p-bottom>div .p-tools {
        width: 100% !important;
    }

    :where(body.ums_a11y_category_page--off) .products-inline.products-top>div {
        display: flex;
    }

    .type-category .products-inline.products-top>div {
        width: 100%;
    }

    .type-category .products-block>div .p .p-bottom>div .p-tools .btn,
    .products-block>div .p .p-bottom>div .p-tools .btn.btn-cart {
        margin: 0 !important;
        width: 100%;
    }
}


@media (min-width: 768px) and (max-width: 991px) {
    body.type-category .products-inline.products-top>div .p .image {
        min-height: 60px !important;
        width: 60px !important;
    }

    body.type-category div#productsTop div.product .p {
        padding-bottom: 10Px !important;
    }


    body.type-category div#productsTop .availability {
        display: none;
    }

    body.type-category .products-inline.products-top>div .p .p-in {
        display: block;
        padding-left: 0 !important;
        width: calc(100% - 90px);
    }

    .product-rank-number {
        width: 18px;
        height: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: normal;
        font-size: 10px;
        border-radius: 4px;
        margin-right: 8px;
        margin-bottom: 4px;
        user-select: none;
        flex-shrink: 0;
        position: absolute;
        z-index: 9999;
        left: 15px;
        top: 15px;
        line-height: 25px;
    }
}


@media (min-width: 768px) and (max-width: 991px) {
    body.type-category .custom-top-category img {
        display: none;
    }
}


@media (min-width: 48px) and (max-width: 767px) {
    body.type-category .products-top div.product.active {
        width: 100% !important;
        position: relative;
    }
}


@media (min-width: 768px) and (max-width: 1200px) {
    body.type-category .category-header-pagination {
        display: none;
    }
}



.subcategories {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0 -6px 0 -6px;
    padding: 10Px 0 26px 0;
    position: relative;
}

.subcategories li {
    list-style: none;
    flex: 0 0 auto;
    padding: 10px !important;
}

@media (min-width: 1440px) {
    .col-xl-3 {
        width: 25%;
    }
}

.subcategories.with-image li a {
    display: flex;
    align-items: center;
}

.subcategories li a {
    position: relative;
    display: flex;
    align-items: center;
    /* height: 88px; */
    height: 77px;
    padding: 12px;
    font-weight: 500;
    color: #24242E;
    border: 1px solid #e4e4e4;
    box-shadow: 0px 2px 4px rgba(163, 163, 175, 0.22);
    text-decoration: none !important;
}

.subcategories.with-image li a .image {
    width: 90px;
    text-align: center;
}

.subcategories.with-image li a .image img {
    max-height: 64px;
}

.subcategories.with-image li a .text {
    width: calc(100% - 90px);
    padding-left: 5px;
    flex-grow: 0;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
}


.subcategories li a:hover {
    text-decoration: underline !important;
    color: #e87e72 !important;
}

.subcategories li a:hover {
    border-color: #e87e72;
}


.subcategories.with-image li a .text {
    width: calc(100% - 90px);
    padding-left: 5px;
    flex-grow: 0;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
}


.subcategories li a .text {
    font-size: 14px;
    font-weight: bold;
}


@media (min-width: 1440px) {
    .type-category .products-block>div {
        padding: 0 !important;
    }
}


@media (min-width: 992px) {

    body.type-category.columns-3 .products-block>div,
    .columns-4 .products-block>div {
        width: calc(33.333333% - 13.4px);
    }

    .type-category .products-block {
        gap: 20px !important;
    }
}


.sidebar h4,
.sidebar .h4 {
    font-size: 14px !important;
    margin-bottom: 20Px;
    font-weight: 600;
    text-transform: uppercase;
}

ol.top-products {
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 0;
}


ol.top-products li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

ol.top-products>li {
    list-style: none;
}

ol.top-products li::before {
    color: #fff;
}

ol.top-products li::before {
    counter-increment: top;
    content: counter(top);
    flex: 0 0 20px;
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
}


ol.top-products li::before {
    background-color: #e87e72 !important;
}

ol.top-products li a.top-products-image {
    flex: 0 0 50px;
    display: block;
}

ol.top-products li a {
    color: #666;
}

ol.top-products li a {
    color: #666;
}

ol.top-products li a {
    display: block;
    padding-left: 10px;
}



ol.top-products li a .top-products-name {
    display: block;
    font-size: 13px;
    font-weight: 400 !important;
    transition: color 0.3s ease-out;
}


.top-products li .top-products-content strong {
    color: black !important;
    font-size: 16px !important;
}


.box.box-bg-variant.box-categories {
    border-radius: 5px;
}


.category-header-pagination {
    display: none;
}



@media (min-width: 1200px) and (max-width: 1439px) {
    div.category-top ul.subcategories.with-image .col-lg-3 {
        width: 33.333%;
    }
}


@media (min-width: 768px) and (max-width: 1199px) {
    body.type-category div#category-header .dropdown {
        width: 100%;
        display: flex !important;
    }

    body.type-category .products-inline.products-top>div .p .price-additional {
        display: block !important;
        font-size: 12Px !important;
        width: fit-content !important;
    }

    body.type-category .category-header {
        justify-content: start !important;
    }
}


@media (min-width: 421px) and (max-width: 767px) {
    div.category-top ul.subcategories.with-image .col-xs-6 {
        width: calc(50% - 10px);
    }
}

@media (max-width: 420px) {
    div.category-top ul.subcategories.with-image .col-xs-6 {
        width: 100%;
    }
}


body.type-category div#productsTop div.product:last-of-type .p {
    border: none !important;
}


#categories {
    border-radius: 5px !important;
}



#categories div.categories {
    border-radius: 5px !important;
}

@media (min-width: 768px) and (max-width: 1199px){
div#category-header form {
    width: 100%;
}

div#category-header form .dropdown {
    width: 100%;
    border: 1Px solid #d42e11;
    border-radius: 5px;
    margin: 10px 0;
}

:where(body.ums_a11y_category_page--off) .category-header .dropdown button {
    font-size: 14px;
    text-transform: none;
}

:where(body.ums_a11y_category_page--off) .category-header .dropdown-menu {
    width: 100%;
}
}


button.sortingToggle {
    text-transform: uppercase;
    font-weight: 400 !important;
    font-size: 14px;
}

div.custom-filters-dropdown div.dropdown-menu{
    top: 50px !important;
}


div.custom-filters-dropdown label.filter-label {
    display: flex !important;
    flex-direction: row;
    gap: 10px;
}


@media (max-width: 1199px){
        body.type-category .category-header {
        justify-content: start !important;
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .custom-filters-dropdown {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start !important;
        margin-top: 10px;
    }

   .custom-filters-dropdown  .dropdown {
    width: 100%;
    border-radius: 5px;
        border: 1px solid var(--color-secondary);
}


   .custom-filters-dropdown button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

button.sortingToggle {
    border: 1px solid var(--color-secondary) !important;
    border-radius: 5Px  !important;
}

.listSorting.listSorting--dropdown.js-listSorting{
    width: 100% !important;
}
}


@media(min-width: 768px) and (max-width: 1199px){
      :where(body.ums_a11y_category_page--on) .sortingToggle .icon-sort {
        left: 10px !important;
    }


    :where(body.ums_a11y_category_page--on) .sortingToggle {
        border-color: transparent;
        font-weight: 400;
        padding-left: 30px !important;
    }
}