@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 (min-width: 769px) {
    .desk-none{
        display:none;
    }
}
@media screen and (max-width: 768px) {
    .mob-none{
        display:none;
    }
    /* top header section */
    .header-content{
        justify-content: space-between;
        padding: 9px 10px;
        flex-direction: column;
        align-items: flex-start;
        gap:0px;
    }
    .header-content form{
        width: 100%;
    }
    .search-bar>input {
        width: 100%;
        padding: 12px 12px 12px 40px;
        color: #000;
        border-radius: 50px;
        background-color: #efefef;
        border: 1px solid #efefef;
    }
    .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;
    }
    .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));
    }
    .checkout-card-section .checkout-btn{
        margin-top:0px;
    }
    
    .cart-summary.checkout-mob-item-box {
        background-color: #F5F5F5;
        padding: 20px;
        gap: 20px;
        /* border-radius: 20px; */
        border: none;
    }
    .checkout-card-section .custom-hr, .checkout-mob-item-box .custom-hr{
        margin: 10px 0px;
    }
    .gift-cards.ship-text h4{
        font-weight:400;
    }
}

/* Default desktop behavior */
.search-wrapper {
    position: relative;
}

.close-modal {
    display: none;
}
.mob-only{
    display: none;
}

/* Mobile modal style */
@media (max-width: 600px) {
    .mob-only{
    display: block;
}

    .mob-filter-search-box {
        display: block;
        position:relative;
        width:100%;
    }
    .search-wrapper {
        display: none;
        position: fixed;
        inset: 0;
        background: rgb(255 255 255);
        z-index: 9999;
        padding: 54px 11px 0px 11px;
    }

    .search-wrapper.active {
        display: flex;
        justify-content: center;
        align-items: flex-start;
    }

    .search-bar {
        /*background: #fff;*/
        /*padding: 20px;*/
        /*width: 90%;*/
        /*max-width: 400px;*/
        /*border-radius: 10px;*/
        /*position: relative;*/
    }
    .close-modal {
        display: block;
        position: absolute;
        top: -10px;
        right: 9px;
        font-size: 40px;
        color: #000000;
        cursor: pointer;
    }
    #suggestionsMain{
        box-shadow:none;
        border:none;
    }
    .search-icon{
        left:9px;
    }
    .new-style-search {
        width: 100%;
        padding: 12px 12px 12px 16px;
        color: #000;
        border-radius: 50px;
        background-color: #efefef;
        border: 1px solid #efefef;
        text-align: left;
    }
    .search-icon-mob{
        position: absolute;
        right: 12px;
        top: 12px;
        width: 18px;
    }
    #suggestions li{
        position:relative;
    }
    #suggestions li::after {
        content: '';
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 80 80'%3E%3Cline x1='17' y1='10' x2='15' y2='63' stroke='%23bbb' stroke-width='14'/%3E%3Cline x1='10' y1='10' x2='65' y2='10' stroke='%23bbb' stroke-width='14'/%3E%3Cline x1='16' y1='10' x2='75' y2='70' stroke='%23bbb' stroke-width='14'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-size: contain;
        position: absolute;
        right: 0px;
        width: 10px;
        height: 10px;
    }
    
    .profile-section {
        padding: 10px 0 !important;
    }
    .profile-sidebar{
        display:none;
    }
    .profile-content-card { 
        border: none !important;
        border-radius: 0px !important;
        padding: 0px !important;
    }
    .btn-dark-pill{
        padding: 10px 7px !important;
        width: 160px !important;
        font-size: 12px !important;
    }
}
.btn-dark-pill{
    text-align:center;
}
/* Desktop only */
@media (min-width: 601px) {
    .mob-filter-search-box {
        display: none;
    }
}


@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;
    }
}