@media screen and (max-width: 1440px) {
    .newly-arrived-list {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
    .newly-arrived-list .card-header {
        padding: 20px;
    }
}

@media screen and (max-width: 768px) {
    /* top header section */
    .header-content{
        justify-content: space-between;
        padding: 9px 10px;
        flex-direction: column;
        align-items: flex-start;
    }
    .header-content form{
        width: 100%;
    }
    .search-bar>input {
        width: 100%;
        padding: 12px 12px 12px 40px;
        color: #000;
        border-radius: 50px;
        background-color: var(--theme-color-white);
        border: 1px solid #BABABA;
    }
    .only-mobile-float {
        position: absolute;
        right: 11px;
    }
    .login, .register{
        font-size: 12px;
        line-height: 7px !important;
    }
    .register{
        padding: 15px 24px;
    }
    .logo img {
        width: 96px;
        height: 30px;
        margin: 5px 0px 5px 0px;
    }
    .user-actions { min-width: 150px;}
    /* mega menu */
    .main-mega-menu {
        display: flex;
        gap: 15px;
        width: 100%;
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        justify-content: flex-start;
        background-color: var(--theme-color-white);
    }
    .main-mega-menu > li > a {
        border: 1px solid var(--theme-color-dark);
        color: var(--theme-color-dark);
        border-radius: 50px;
        padding: 5px 17px;
        font-size: 12px;
        background-color: var(--theme-color-white);
        text-wrap: nowrap;
    }
    .main-mega-menu >li:hover>a {
        color: var(--theme-color-yellow);
        border: 1px solid var(--theme-color-yellow);
    }
    .sm-menu-title {
        position: relative;
        font-size: 17px;
        margin-bottom: 14px;
        margin-top: 0;
    }
    .sub-menu-content{
        flex-direction: column;
    }
    .sub-menu-content .sub-menu-content-left {
        width: 100%;
    }
    .sub-menu-content .sub-menu-content-right {
        width: 100%;
        margin-top: 15px;
    }
    .img-featured>img {
        border-radius: 15px;
    }


    .category-menu {
        padding-bottom: 8px;
    }

    .banner-content{
        flex-direction: column;
    }
    .banner-content>a {
        width: 100%;
    }

    .category-section {
        background-color: #FAFAFA;
        padding: 20px 16px;
    }
    .category-list {
        margin-bottom: 0px;
    }
    .category-title>h2 {
        font-size: 20px;
        color: var(--theme-color-dark);
        margin: 0px 0px 0px 0px;
    }
    .category-list ul{
        grid-template-columns: repeat(auto-fill, minmax(31.28%, 1fr));
    }
    .category-list ul li a>span {
        font-size: 16px;
        padding: 16px;
        background-color: #F2F2F2;
        border-radius: 50%;
    }
    .category-list ul li a {
        width: 115px;
        height: 115px;
        font-size: 12px;
    }
    .category-list ul li a>span>img {
        width: 56px;
        height: 56px;
    }
/*===== start NEWLY ARRIVED PRODUCTS start =====*/
    .newly-arrived-section {
        background-color: #FAFAFA;
        padding: 20px 16px;
    }
    .newly-arrived-section .newly-arrived-title {
        justify-content: space-between;
        align-items: self-start;
        margin-bottom: 20px;
    }
    .newly-arrived-title h2 {
        font-size: 20px;
        color: var(--theme-color-dark);
        margin: 0px 0px 0px 0px;
    }
    .view-all {
        width: 120px;
        font-size: 12px;
        line-height: 16px;
        margin: auto;
    }
    .newly-arrived-list {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 12px;
    }
    .newly-arrived-list .card-header {
        padding: 10px;
    }
    .card-details .card-title{
        font-size: 12px;
        font-weight: 400;
    }
    .card-details{
        padding: 0px 10px;
    }
    
     /*Product offer section start*/
    .product-offer-content {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    }
}

@media screen and (max-width: 370px) {
    /* top header section */
    .only-mobile-float {
        position: absolute;
        right: 11px;
        min-width: 130px;
    }
    
    .newly-arrived-list {
        grid-template-columns: repeat(auto-fill, minmax(136px, 1fr));
        gap: 12px;
    }
}