.link-mn-ct {
    font-weight: 700;
    font-size: 0.875rem;
    line-height: 1.5rem;
    cursor: pointer;
    padding: 1.25rem 0;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-cate-cp li a {
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.25rem;
    display: block;
    padding: 0.5rem 0;
    color: #74869b;
    position: relative;
    -webkit-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
}

.slide-cate-child {
    font-size: 0.75rem;
    text-align: center;
    color: #74869b;
}

.menu-cate-cp li a.active {
    color: #da291c !important;
    padding-left: 1rem !important;
    background-color: #fafafa !important;
}

.menu-cate-cp li a.active:before {
    font-family: "Font Awesome 6 Pro";
    content: "\27A4";
    position: absolute;
    left: 0;
    top: 25%;
}

.menu-cate-cp li a:hover {
    color: #333f48;
    background-color: #f4f5f6;
    padding-left: 1rem;
}

.menu-ls-cate {
    position: sticky;
    top: 6.0625rem;
    max-height: calc(100vh - 3.75rem);
    max-height: -moz-calc(100vh - 3.75rem);
    max-height: -webkit-calc(100vh - 3.75rem);
    max-height: -o-calc(100vh - 3.75rem);
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    margin-bottom: 3.75rem;
}

._itemAttrList,.menu-cate-cp{
    max-height: 300px;
    overflow-y: auto;
}

.ls-cate-child {
    display: flex;
    width: 100% !important;
    justify-content: start;
    align-items: center;
    flex-wrap: nowrap;
}

.ls-cate-child .item-cate-child {
    padding: 0.625rem;
    border-radius: 0.3125rem;
    max-height: 15.625rem;
    min-height: 15.625rem;
}

.item-cate-child .img-ct-child {
    height: 9.375rem;
    max-height: 12.5rem;
}

.item-cate-child img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ls-cateProduct {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.25rem;
    margin: 1.875rem 0;
}

.sort-by:hover .sort-item-content {
    display: flex;
    transition: all 0.2s ease-in-out;
}

.sort-item-content input[type="radio"] {
    transform: scale(1.5);
}

.sort-item-content {
    display: none;
    width: 250px;
    position: absolute;
    top: 102%;
    min-width: 100%;
    z-index: 600;
    max-height: 15.625rem;
    background: #fff;
    right: 0;
    align-items: start;
    flex-direction: column;
    justify-content: start;
    box-shadow: rgba(100, 100, 111, 0.2) 0 0.4375rem 1.8125rem 0;
}

.item-sort a {
    color: #333f48;
    font-size: 16px;
    padding: 10px;
    width: 100%;
}

.item-sort a.active {
    font-weight: 500;
    color: #000000;
}

.paginator .labelPages, .titlePages {
    display: none;
}

.paginator .currentPage {
    border-radius: 50%;
    padding: 0.625rem 1rem;
    border: 0.125rem solid #000000;
    background: #000;
    color: #fff;
    font-size: 1rem;
}

.paginator a {
    text-decoration: none;
    border-radius: 50%;
    border: 0.125rem solid #000000;
    color: #000;
    font-size: 1rem;
    font-weight: 400;
    padding: 0.625rem 1rem;
    min-width: 1rem;
}

.paginator .paging-last, .paging-first {
    display: none;
}

.paginator a.paging-next:before {
    content: "\f105";
    font-family: "Font Awesome 5 Pro";
}

.paginator a.paging-previous:before {
    content: "\f104";
    font-family: "Font Awesome 5 Pro";
}

.addClassListCate {
    min-width: 14%;
}

.sort-item-title {
    font-size: 1rem;
}

.pCateCheckLable {
    margin: 0 8px 8px 0;
    font-weight: 500;
    padding: 0.30rem !important;
    border: 1px solid #e6dede;
    border-radius: 4px;
    background: #fff;
}

.pCateCheckLable.active {
    border: 1px solid #000000;
}

.pCateCheckLable.active span {
    color: #000000 !important;
    font-weight: 500 !important;
}

.pCateCheckLable span {
    color: #74869B !important;
    font-size: 14px !important;
}

.bg-color-filter {
    width: 30px;
    height: 30px;
    border-radius: 100%;
}

/* Styles for the price input container */
::selection {
    color: #fff;
    background: #17a2b8;
}

.field .input-price-show {
    width: 100%;
    height: 100%;
    outline: none;
    font-size: 19px;
    border: none;
    text-align: center;
    -moz-appearance: textfield;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.price-input .separator {
    width: 130px;
    display: flex;
    font-size: 19px;
    align-items: center;
    justify-content: center;
}

.slider {
    height: 5px;
    position: relative;
    background: #ddd;
    border-radius: 5px;
}

.slider .progress {
    height: 100%;
    left: 0;
    right: 0;
    position: absolute;
    border-radius: 5px;
    background: #17a2b8;
}

.range-input {
    position: relative;
}

.range-input input {
    position: absolute;
    width: 100%;
    height: 5px;
    top: -5px;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    height: 17px;
    width: 17px;
    border-radius: 50%;
    background: #17a2b8;
    pointer-events: auto;
    -webkit-appearance: none;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
}

input[type="range"]::-moz-range-thumb {
    height: 17px;
    width: 17px;
    border: none;
    border-radius: 50%;
    background: #17a2b8;
    pointer-events: auto;
    -moz-appearance: none;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
}

/* Styles for the range thumb in WebKit browsers */
input[type="range"]::-webkit-slider-thumb {
    height: 18px;
    width: 18px;
    border-radius: 70%;
    background: #555;
    pointer-events: auto;
    -webkit-appearance: none;
}

.potion-filter_sp {
    width: 230px !important;
}

@media screen and (max-width: 1024px ) {
    .item-cate-child .img-ct-child {
        height: 6.25rem;
    }
}

@media screen and (max-width: 640px) {
    .ls-cateProduct {
        grid-template-columns: 1fr 1fr;
    }

    .potion-filter_sp {
        width: fit-content !important;
    }

    .sort-item-content {
        right: 0;
        left: unset;
    }

    .page-category {
        overflow: hidden;
    }
}

@media screen and (max-width: 540px) {
    .menu-cate-pro {
        height: 5rem;
        top: 0;
        position: sticky;
        left: 0;
        background-color: #fff;
        z-index: 666;
        width: 100%;
        transition: top 0.3s ease-in-out;
    }

    .top-cate-pro {
        height: 3rem;
        padding: 0.3125rem 1rem;
    }

    .top-cate-pro .product-description {
        font-size: 1rem;
    }

    .bot-cate-pro {
        height: 2.5rem;
        display: flex;
        justify-content: flex-end;
        padding-left: 1rem;
        background-color: #fff;
        z-index: 200;
        font-size: 0.75rem;
        top: 3.0625rem;
        border: 0.0625rem solid #edf1f5;
    }

    .item-mbCatePro {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.75rem;
    }

    .item-mbCatePro .sort-item-title {
        font-size: 0.75rem;
    }

    .sortModal-mbCatePro {
        border: 0.0625rem solid #edf1f5;
        border-top: 0;
        border-bottom: 0;
    }

    .item-mbCatePro-content {
        top: 110% !important;
    }

    .item-mbCatePro:hover .item-mbCatePro-content {
        display: flex;
    }

    .item-sort {
        padding: 0.3rem 0;
    }

    .item-sort a.active {
        font-weight: 500;
    }

    .item-sort a {
        font-size: 0.875rem;
    }

    .item-sort a input {
        transform: scale(1.5) !important
    }

    .modal-body .filter-list .form-check {
        padding: 0;
        margin-left: 1.25rem;
    }

    .link-mn-ct {
        padding-bottom: 0.3125rem;
    }

    .bg-color-filter {
        width: 25px;
        height: 25px;
    }
}
