.main-section {
    width: 100%;
}

.h-header {
    background: linear-gradient(180deg, var(--main-clr) 0%, var(--secoundry-clr) 100%);
    padding-bottom: 20px;
    border-radius: 0px 0px 25px 25px;
}

.header-upper {
    padding: var(--pad);
    padding-bottom: 0px;
}

.address-section {
    color: var(--txt-clr);
    font-family: "Montserrat", sans-serif;
}

.address-section p {
    font-size: 10px;
    line-height: 12px;
    font-weight: 600;
}

.address-section h3 {
    font-size: 16px;
    font-weight: 500;
    line-height: 15px;
    max-width: 250px;
    text-wrap: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.deliveryTime{
    font-size: 19px!important;
    font-weight: 900!important;
    line-height: 15px!important;
    margin-block: 5px;
    font-family: "Montserrat", sans-serif;
}

.address-section .bi-geo-alt {
    font-size: 10px;
}

.user-section {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #0000004D;
    
    color: var(--main-clr);
    font-size: 22px;
    box-shadow: 0px 0px 10px 0px #0000002f;
}

.user-section svg{
    width: 20px;
    aspect-ratio: 1/1;
    color: var(--txt-clr);
}
.username{
    font-size: 17px;
    text-transform: capitalize;
    font-weight: 500;
    color: var(--txt-clr);
}
/* ============ search-section ============= */

.search-section-layer {
    width: 100%;
    margin-top: 10px;
    padding: 15px 5%;
    transition: position 0.3s ease, top 0.3s ease; 
    padding-bottom: 0px;
}
.fixed {
    position: fixed;
    top: -12px;
    width: 100%; 
    z-index: 1000; 
    background: var(--main-clr);
    padding-block:25px;
    border-radius: 0px 0px 20px 20px;
}

.search-section {
    width: 100%;
    background: #fff;
    padding: 9px 15px;
    border-radius: 8px;
}

.search-section input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 16px;
    color: #808080;
    font-weight: 400;
    font-family: "Jost", sans-serif;
}

.search-section i {
    font-size: 18px;
    color: #808080;
}
/* ==== best-discount-deal-section ===== */

.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);
    cursor: pointer;
}
.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: 140px;
}


/* ========= responsive  ========== */


.website-header {
    display: none;
}

.website-all-category {
    display: none;
}


@media (min-width:1024px) and (max-width : 1280px) {

    .subcat-grid {
        flex-wrap: unset;
        overflow-x: auto;
    }
}

@media (min-width:1024px){
    .mobile-header {
        margin-top: 104px;
    }

     .cart-container {
        cursor: pointer;
        border-radius: 15px;
    }

    .cart-container.active {
        left: unset;
        right: 20px;
        bottom: 20px;
    }
    .category-padding-bottom {
        padding-bottom: 50px;
    }
}

@media (min-width:1280px) {

    .subcat-grid {
        flex-wrap: wrap;
    }
    .subcat-box {
        width: calc(100% / 8 - 120px / 8);
        min-width: calc(100% / 8 - 120px / 8);
    }


    /* > > > > header-code < <  < < */


    .website-header {
        display: block;
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 999;
        background-color: #fff;
        padding-bottom: 0;
    }

    .website-header-logo {
        display: flex;
        align-items: center;
    }

   

    .website-all-category {
        /* margin-top: 0px; */
        display: block;
        max-width: 1200px;
        margin-inline: auto;
        margin-top: 110px;

    }

    .website-category-box {
        display: flex;
        width: 100px;
        min-width: 100px;
        align-items: center;
    }

    .website-category-box img {
        width: 35px;
    }

    .website-search-section-layer {
        width: 60%;
        padding: 0;
        margin-top: 0;
    }

    .website-header-upper {
        justify-content: space-between;
        padding: 20px 5%;
    }

    .website-all-category-grid {
        gap: 20px;
        justify-content: center;
    }

    .website-header-hide {
        display: none;
    }

    .all-category {
        max-width: 1280px;
        margin-inline: auto;
    }

    .all-category .header {padding-inline: 0;}
    .all-category .subcat-grid {padding-inline: 0;}
    

}