@media screen and (min-width: 767px) {
    .cate-product .elementor-loop-container{
        width: 100%;
        -js-display: flex;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-flow: row wrap;
        flex-flow: row wrap;
        justify-content: center;
    }
    .cate-product .elementor-loop-container .e-loop-item {
        max-width: 23%;
        -ms-flex-preferred-size: 23%;
        flex-basis: 23%;
    }
}

@media screen and (min-width: 1366px) {
    body {
        overflow-x: hidden;
    }
}
@media screen and (max-width: 1280px) {
    .product-categories {
        grid-template-columns: repeat(5, 1fr);
    }
    .product-cat-item .term-name {
        font-size: 20px;
        line-height: 28px;
    }
    .product-cat-item .product-name {
        font-size: 18px;
        line-height: 26px;
    }
    .product-cat-item .toggle-arrow {
        font-size: 22px;
    }
}
@media screen and (max-width: 1024px) {
    .product-categories {
        grid-template-columns: repeat(4, 1fr);
    }
    .product-cat-item .term-name {
        font-size: 18px;
        line-height: 26px;
    }
    .product-cat-item .product-name {
        font-size: 16px;
        line-height: 24px;
    }
    .product-cat-item .toggle-arrow {
        font-size: 20px;
    }
}
@media screen and (max-width: 991px) {
    .product-categories {
        grid-template-columns: repeat(3, 1fr);
    }
    .cate-product .elementor-loop-container .e-loop-item {
       max-width: 31%;
      -ms-flex-preferred-size: 31%;
      flex-basis: 31%; 
    }
}
@media screen and (max-width: 767px) {
    .cate-product .elementor-loop-container .e-loop-item {
       max-width: 100%;
      -ms-flex-preferred-size: 100%;
      flex-basis: 100%; 
    }
    .product-categories {
        grid-template-columns: repeat(2, 1fr);
    }
    .elementor-product-category, .elementor-product-category:visited {
        font-size: 14px;
        line-height: 22px;
        padding: 10px;
    }
    /*.product-categories {
        display: flex;
        flex-direction: row;
        flex-shrink: 0;
        justify-content: start;
        align-items: center;
        gap: 10px;
        overflow-x: scroll;
        flex-wrap: nowrap;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }*/
}