.mobile-header {
    padding: var(--pad);
    box-shadow: 0px 3px 6px 0px #00000040;
    max-height: 70px;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    position: fixed;
    z-index: 100;
    background: #fff;
}

.mobile-header h4 {
    font-size: 19px;
    font-weight: 600;
    color: #5F5F5F;
}

.mobile-header .back {
    /* background: var(--main-clr); */
    font-size: 20px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #5F5F5F;
}

.mobile-header i {
    font-size: 20px;
}

.marginTop {
    margin-top: 90px;
}


/* ================= */
.subcat-section {
    width: 100%;
    margin-top: var(--mt);
}

.subcat-grid {
    width: 100%;
    padding: var(--pad2);
    margin-top: var(--mt);
}

.subcat-box {
    width: calc(100%/4 - 45px/4);
    min-width: calc(100%/4 - 45px/4);
}

.subcat-box:nth-child(n+9) {
    display: none;
}

.subcat-img-box {
    width: 100%;
    aspect-ratio: 1/1;
    height: fit-content;
    padding: 3px 5px;
   
}

.uniqueCategory {
    padding: 0px !important;
    background: transparent;
    border-radius: 10px;
}

.subcat-img-box img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    background: var(--bg-clr);
    border-radius: 10px;
}

.uniqueCategory img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: unset;
    border-radius: 10px;
}

.subcat-box p {
    font-size: 14px;
    font-weight: 500;
    width: 100%;
    margin-inline: auto;
    text-align: center;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
    word-break: break-word;
}


.category-padding-bottom {
    padding-bottom: 80px;
}



@media (min-width:1024px) {
    .marginTop {
        margin-top: 194.2px;
    }

    .subcat-box {
        width: calc(100% / 8 - 120px / 8);
        min-width: calc(100% / 8 - 120px / 8);
        cursor: pointer;
    }
    .product-mobile-header {
        top:104px;
    }

    .mobile-header .back {
        height: fit-content;
        width: fit-content;
    }

    .cart-container {
        cursor: pointer;
        border-radius: 15px;
    }

    .cart-container.active {
        left: unset;
        right: 20px;
        bottom: 20px;
    }

    .main-section {
        min-height: 35vh;
    }
    
}


@media (min-width:1280px) {
    .subcat-grid {
        max-width: 1280px;
        padding-inline: 0;
        margin-inline: auto;
    }
}