@media screen and (min-width: 992px) {
    .category-flex {
        gap: 20px !important;
    }

    .category-flex .filter-flex {
        flex: 0 0 222px !important;
        max-width: 222px !important;
        width: 222px !important;
    }

    .category-flex .content-flex {
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }

    .category-flex .filter-flex .filters {
        font-size: 12px;
    }

    .category-flex .filter-flex .filters .filter-section-header h3 {
        font-size: 13px;
    }

    .category-flex .filter-flex .filters .filter-section label,
    .category-flex .filter-flex .filters .filter-section .label-text,
    .category-flex .filter-flex .filters .filter-reset-btn button,
    .category-flex .filter-flex .filters .filter-section-options {
        font-size: 12px;
    }
}

.category-flex .filter-flex .filters .filter-section-options,
.category-flex .filter-flex .filters .filter-section-options form,
.category-flex .filter-flex .filters .filter-section-options ul,
.category-flex .filter-flex .filters .filter-section-options li,
.category-flex .filter-flex .filters .filter-section-options span,
.category-flex .filter-flex .filters .filter-section-options label {
    max-width: 100%;
    box-sizing: border-box;
}

.category-flex .filter-flex .filters .filter-section-options {
    overflow: hidden;
}

.category-flex .filter-flex .filters .filter-section-options .filter-section-options-size {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: flex-start;
}

.category-flex .filter-flex .filters .filter-section-options .size-inputs {
    flex: 0 0 auto;
}

.category-flex .filter-flex .filters .filter-section-options .filter-categories,
.category-flex .filter-flex .filters .filter-section-options .filter-category {
    width: 100%;
}

.category-flex .filter-flex .filters .filter-section-options .filter-category span {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
}

.category-flex .filter-flex .filters .filter-section-options label {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

@media screen and (max-width: 991px) {
    .category-flex {
        display: block !important;
    }

    .category-flex .filter-flex,
    .category-flex .content-flex {
        width: 100% !important;
        max-width: none !important;
    }
}

@media screen and (max-width: 767px) {
    .page-category .product-list-holder .product-list-slider:not(.slick-initialized) {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
    }

    .page-category .product-list-holder .product-list-slider:not(.slick-initialized) > div {
        width: calc(50% - 8px) !important;
        max-width: calc(50% - 8px) !important;
        flex: 0 0 calc(50% - 8px) !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box;
    }

    .page-category .product-list-holder .product-list-slider:not(.slick-initialized) > div .default-product {
        margin-bottom: 0;
    }

    .page-category .product-list-holder .product-list-slider:not(.slick-initialized) > div:last-child:nth-child(odd) {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
}

@media screen and (min-width: 768px) {
    .page-category .product-list-slider .c-4 {
        width: calc(25% - 12px) !important;
    }

    .page-category .product-list-slider > .c-4:last-child:nth-child(4n + 1) {
        width: 100% !important;
    }

    .page-category .product-list-slider > .c-4:nth-last-child(2):nth-child(4n + 1),
    .page-category .product-list-slider > .c-4:nth-last-child(1):nth-child(4n + 2) {
        width: calc(50% - 15px) !important;
    }

    .page-category .product-list-slider > .c-4:nth-last-child(3):nth-child(4n + 1),
    .page-category .product-list-slider > .c-4:nth-last-child(2):nth-child(4n + 2),
    .page-category .product-list-slider > .c-4:nth-last-child(1):nth-child(4n + 3) {
        width: calc(33.333333% - 15px) !important;
    }

    .page-category .product-list-slider .c-3 {
        width: calc(33.333333% - 15px) !important;
    }

    .page-category .product-list-slider .c-2 {
        width: calc(50% - 25px) !important;
    }

    .page-category .product-list-slider > .c-2:last-child:nth-child(odd) {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .page-category .product-list-slider .c-1 {
        width: 100% !important;
    }
}

.outlet-category-products {
    margin-top: 24px;
}

.category-filter-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 20px;
}

.category-filter-links a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 16px;
    border: 1px solid #111;
    color: #111;
    font-size: 13px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.category-filter-links a:hover {
    background: #111;
    color: #fff;
}

.page-category .default-product-image-holder {
    position: relative;
}

.page-category .default-product-image-holder .main-product-link {
    aspect-ratio: auto !important;
    overflow: visible;
    background: #ffffff;
}

.page-category .default-product-image-holder .main-product-image {
    width: 100%;
    height: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
}

.page-category .default-product-image-holder .sticker {
    position: absolute;
    top: 0px;
    right: 0px;
    left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    z-index: 0;
}

.page-category .default-product-image-holder .sticker img {
    display: block;
    margin: 0 !important;
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    max-width: 40px !important;
    width: 40px !important;
    height: auto !important;
}

.page-category .default-product-image-holder .discountsticker {
    position: absolute;
    top: 8px;
    right: 8px;
    left: auto;
    z-index: 3;
    transform: scale(0.8);
    transform-origin: top right;
}

.page-category .default-product-image-holder .sticker + .discountsticker {
    top: auto;
    bottom: 8px;
}

@media screen and (min-width: 992px) {
    .page-category .products-4-half-1 .products-4-half-1-featured-card > .default-product .default-product-image-holder {
        aspect-ratio: auto !important;
        overflow: hidden;
        height: 100% !important;
    }

    .page-category .products-4-half-1 .products-4-half-1-featured-card > .default-product .main-product-link {
        height: 100% !important;
        aspect-ratio: auto !important;
        overflow: hidden;
        width: 100% !important;
    }

    .page-category .products-4-half-1 .products-4-half-1-featured-card > .default-product .main-product-image {
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        object-fit: cover !important;
        object-position: center top !important;
    }
}
