.main-section {
    width: 100%;
}

.h-header {
    border-radius: 0px 0px 25px 25px;
   background: linear-gradient(180deg, var(--main-clr) 0%, var(--secoundry-clr) 100%);
    padding-bottom: 60px;
    background-size: cover;
    background-position: top;

}

.header-upper {
    padding: var(--pad);
    padding-bottom: 0px;
    padding-top: 40px;
}

.address-section {
    color: var(--txt-clr);
    font-family: "Montserrat", sans-serif;
}

.address-section p {
    font-size: 25px;
    line-height: 30px;
    font-weight: 800;
    color: var(--txt-clr);
}

.address-section h3 {
    font-size: 16px;
    font-weight: 500;
    line-height: 15px;
    max-width: 250px;
    text-wrap: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--txt-clr);
}

.address-section .bi-geo-alt {
    font-size: 10px;
}

.user-section {
    width: 30px;
    min-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);
}

.header_right_section {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    justify-content: flex-end;
    flex-direction: column;
}

.delivery_time p {
    text-align: right;
    color: var(--txt-clr);
    font-size: 14px;
    font-weight: 800;
}

.delivery_time .deliveryTime {
    padding: 5px 10px;
    background: #fff;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
    margin-top: 5px;

}

.location_selection {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2px;
}

.location_selection i {
    font-size: 12px !important;
    color: var(--txt-clr);
}

.location_selection p {
    font-size: 14px;
    font-weight: 500;
}

.location_selection p span {
    font-size: 14px;
    font-weight: 700;
}

/* ============ 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;
}


@supports (top: env(safe-area-inset-top)) {
    .fixed {
        top: calc(env(safe-area-inset-top) - 12px);
    }
}

.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;
}

/* =============== hero banner section ============== */

.hero-banner-section {
    width: 100%;
    /* border: 1px solid red; */
    margin-top: 10px;

}

.hero-banner-section svg {
    width: 100%;
}

@media (min-width: 380px) {
    .hero-banner-section svg {
        width: 100%;
        /* border: 1px solid red; */
        height: 200px;
        /* background: red; */
    }
}

.hero_child_banner {
    width: 100%;
}

.hero_child_banner img {
    width: 100%;
}




/* ========= banner section ========== */

.banner-section {
    width: 100%;
    /* margin-top: -95px; */
    margin-top: var(--mt);
}

.banner-box {
    width: 100%;
    /* margin-inline: auto; */
}

.banner-box img {
    width: 100%;
    aspect-ratio: 170/80;
    object-fit: cover;
    /* margin-left: 5%; */
    border-radius: 10px;
}

.owl-theme .owl-nav.disabled+.owl-dots {
    width: fit-content;
    margin: 10px auto;
    background: #fff;
    height: 16px;
    padding: 0px 10px;
    border-radius: 100vw;
    box-shadow: 0px 0px 10px 0px #fbad462f;
}

.owl-theme .owl-dots .owl-dot span {
    width: 7px;
    height: 7px;
    margin: 5px 2px;
    background: #0c6c4434;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background: var(--main-clr);
    width: 20px;
    height: 7px;
    border-radius: 5px;
    transition: .5s;
}

.owl-theme .owl-dots .owl-dot.active span {
    position: relative;
}

.owl-theme .owl-dots .owl-dot.active span::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 0%;
    height: 100%;
    background: #00000049;
    border-radius: inherit;
    animation: activedots 4.7s linear;
}

@keyframes activedots {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

/* ============ hero-category ============ */

.hero-category {
    width: 100%;
    margin-top: -60px;
    padding: var(--pad2);
    overflow: hidden;
    overflow-x: auto;
}

.hero-cat-box {
    width: calc(100%/3 - 30px/3);
    min-width: calc(100%/3 - 30px/3);
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1/1;
}

.hero-cat-box img {
    width: 100%;
    height: 100%;
}


/* ========== all-category======= */

.all-category {
    width: 100%;
    margin-top: var(--mt);
}

.all-category-grid {
    width: 100%;
    /* margin-top: var(--mt); */
    padding: var(--pad2);
    overflow: hidden;
    overflow-x: auto;
    gap: calc(100%/5 - 176px/5);
    border-bottom: .1px solid #faf9f94a;
    padding-bottom: 10px;
}

.all-category-box {
    width: 35px;
    min-width: 35px;
}

.all-category-box img {
    width: 100%;
    aspect-ratio: 1/1;
    /* border-radius: 5px; */
}

.all-category-box p {
    font-size: 8px;
    font-weight: 500;
    width: 100%;
    margin-inline: auto;
    text-align: center;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 2;
    color: var(--txt-clr);
}

/* ========= suggested-section ======== */

.suggested-section {
    width: 100%;
    margin-top: var(--mt);
}

.suggested-grid {
    width: 100%;
    margin-top: var(--mt);
    padding: var(--pad2);
    overflow: hidden;
    overflow-x: auto;
    max-height: 180px;
}

.suggested-box {
    width: calc(100% - 78px);
    min-width: calc(100% - 78px);
    padding: 10px;
    border-radius: 10px;
    background: var(--bg-clr);
    box-shadow: 0px 0px 5px 0px #00000037;
    position: relative;
}

.suggested-box-img {
    width: 62px;
    min-width: 62px;
    height: 62px;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    position: relative;
    box-shadow: 0px 1px 4px 0px #00000040;

}

.suggested-box-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.s-offer {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--main-clr);
    padding: 2px 8px;
    border-radius: 10px 0px 10px 0px;
}

.s-offer p {
    font-size: 6px;
    line-height: 6px;
    color: var(--txt-clr);
    font-weight: 400;
    margin-bottom: .5px;
}

.suggested-box-info {
    width: calc(100% - 72px);
}

.suggested-box-info .snamediv {
    width: 100%;
    margin-bottom: 5px;
}

.suggested-box-info h3 {
    font-size: 15px;
    font-weight: 500;
    width: 100%;
    text-wrap: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.snamediv p {
    font-size: 14px;
    color: #808080;
    font-weight: 450;
}

.snamediv i {
    font-size: 13px;
    color: #FBAD46;
}

.suggested-box-info h4 {
    font-size: 13px;
    font-weight: 400;
    color: #808080;
    width: 100%;
    text-wrap: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 5px;
}

.suggested-box-info h5 {
    font-size: 15px;
    font-weight: 500;
}

.s-addToCart {
    position: absolute;
    right: 0;
    bottom: 0;
    background: var(--main-clr);
    padding: 5px;
    /* aspect-ratio: 1/1; */
    padding: 3px 6px;
    border-radius: 10px 0px 10px 0px;
}

.s-addToCart i {
    font-size: 20px;
    line-height: 20px;
    color: var(--txt-clr);
}

.s-addToCart p {
    font-size: 20px;
    line-height: 20px;
    color: var(--txt-clr);
    font-weight: 600;
}

.s-addToCart-btn {
    width: 32px;
    display: none;
    opacity: 0;
    z-index: -10;
    transition: all .4s ease-in-out;
}


/* ======== first-banner-section ====== */

.first-banner-section {
    width: 100%;
    margin-top: var(--mt);
}

.first-banner-box {
    width: 100%;
}

.first-banner-box img {
    width: 100%;
    aspect-ratio: 278/81;
    object-fit: cover;
    border-radius: 13px;
}



/* ==== 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);
}

.subcat-box:nth-child(n+9) {
    display: none;
}

.subcat-img-box {
    width: 100%;
    aspect-ratio: 1/1;
    height: fit-content;
    padding: 3px 5px;

}

.subcat-img-box img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    background: var(--bg-clr);
    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;
}


/* ========== bestselling-section ======= */

.bestselling-section {
    width: 100%;
    margin-top: var(--mt);
}

.bestselling-grid {
    width: 100%;
    padding: var(--pad2);
    margin-top: var(--mt);
}

.bestselling-box {
    width: calc(100%/3 - 30px/3);
    min-width: calc(100%/3 - 30px/3);
    padding: 7px;
    border-radius: 8px;
    background: var(--bg-clr);

}

.bestselling-box:nth-child(n+7) {
    display: none;
}

.bestselling-box-imggrid {
    width: 100%;
    position: relative;
}

.bestselling-box-img {
    width: calc(50% - 5px/2);
    min-width: calc(50% - 5px/2);
    /* padding: 4px; */
    background: #fff;
    aspect-ratio: 1/1;
    border-radius: 5px;
}

.bestselling-box-img img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 5px;
}

.more-product {
    position: absolute;
    left: 50%;
    bottom: -1px;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #CACACA;
    padding: 2px 8px;
    border-radius: 100vw;
}

.more-product p {
    font-size: 10px;
    line-height: 10px;
    font-weight: 500;
    text-wrap: nowrap;
}

.bestselling-box h3 {
    font-size: 12px;
    font-weight: 600;
    width: 85%;
    margin-inline: auto;
    text-align: center;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 2;
    margin-top: 5px;
    min-height: 28px;
}

/* ====== secound-banner-sectio and third ====== */

.secound-banner-section,
.third-banner-section {
    width: 100%;
    margin-top: var(--mt);
}

.secound-banner-box,
.third-banner-box {
    width: 100%;
}

.secound-banner-box img,
.third-banner-box img {
    width: 100%;
    aspect-ratio: 262/157;
    object-fit: cover;
    border-radius: 25px;
}

/* ========== product-section ========= */



/* ===== brands-section===== */

.brands-section {
    width: 100%;
    margin-top: var(--mt);
}

.brands-grid {
    width: 100%;
    margin-top: var(--mt);
    padding: var(--pad2);
}

.brands-box {
    width: calc(100%/3 - 30px/3);
    min-width: calc(100%/3 - 30px/3);
    aspect-ratio: 91/140;
    background: linear-gradient(180deg, #FFEDBE 54%, var(--main-clr) 54%);
    border-radius: 15px;
}

.brands-box:nth-child(n+7) {
    display: none;
}

.b-product-img {
    width: 100%;
    height: 50%;
    min-height: 50%;
}

.b-product-img img {
    width: 70%;
    display: block;
    margin: 0px auto;
    aspect-ratio: 58/68;
}

.brand-info {
    width: 100%;
    height: 50%;
    min-height: 50%;
    position: relative;
    padding: 10px 10px;
}

.brand-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
}

.brand-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.brand-info h3 {
    font-size: 15px;
    color: var(--txt-clr);
    font-weight: 600;
    margin-top: 10px;
    width: 100%;
    text-wrap: nowrap;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-info p {
    font-size: 12px;
    color: var(--txt-clr);
    font-weight: 500;
    margin-top: 3px;
}

/* ======== today-section ======== */

.today-section {
    width: 100%;
    margin-top: var(--mt);
}

.today-section-grid {
    width: 100%;
    margin-top: var(--mt);
    padding: var(--pad2);
}

.today-box {
    width: calc(100%/4 - 45px/4);
    min-width: calc(100%/4 - 45px/4);
}

.today-box img {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 10px;
}

/* ===== last-banner ========== */

.last-banner {
    width: 100%;
    margin-top: var(--mt);
}

.last-banner img {
    width: 100%;
}

.home-padding-bottom {
    padding-bottom: 60px;
}


/* ============ new line added ================ */

.brands_new_design {
    width: 100%;
    margin-top: var(--mt);
    background: linear-gradient(to bottom, #5D0002, #E84506);
    padding-block: 20px;
}

.brands_header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    /* padding-inline: var(--pad2); */
    width: 90%;
    overflow: hidden;
    margin: 0px auto;
    /* border: 2px solid #fff; */
}

.brands_header svg {
    width: 100%;
}

.brands_header h3 {
    font-size: 24px;
    line-height: 24px;
    font-family: "Jost", sans-serif;
    font-weight: 700;
    color: #fff;
    text-align: center;
    text-wrap: nowrap;
}

.swiper {
    margin-top: 20px;
}

.new_brands_box {
    width: 100%;
    min-width: 100%;
    aspect-ratio: 119/154;
    min-height: 154px;
    border-radius: 10px;
    background: #fff;
    /* padding: 10px; */
    position: relative;
}

.n_b_product_img {
    width: 100% !important;
}

.n_b_product_img img {
    width: 100% !important;
    border-radius: 10px;
    /* aspect-ratio: 1/1; */
}



.new_brand_info {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    padding-bottom: 10px;
}

.new_brand_info h3 {
    font-size: 15px;
    font-weight: 800;
    text-align: center;
}

.new_brand_info p {
    font-size: 10px;
    font-weight: 700;
    text-align: center;
    color: #fff;
    width: 90%;
    background: linear-gradient(to right, #5D0002, #E84506);
    margin: 0px auto;
    margin-top: 5px;
    padding: 3px 8px;
    border-radius: 100vw;
}


/* ========= responsive  ========== */


.website-footer {
    display: none;
}

.website-banner-container {
    display: none;
}


.website-all-category {
    display: none;
}

@media (min-width:1024px) and (max-width : 1280px) {

    .today-section-grid,
    .brands-grid,
    .bestselling-grid,
    .subcat-grid {
        flex-wrap: unset;
        overflow-x: auto;
    }

    .subcat-grid .subcat-box {
        width: calc(100% / 4 - 60px / 4);
        min-width: calc(100% / 4 - 60px / 4);
    }

    .brands-box,
    .bestselling-grid .bestselling-box {
        width: calc(100% / 4 - 60px / 4);
        min-width: calc(100% / 4 - 60px / 4);
    }

    .product-box {
        width: 33%;
        min-width: 33%;
    }
}

@media (min-width:1024px) {

    .marginTop {
        margin-top: 194px;
    }

    /* hero-category */

    .hero-category {
        display: none;
    }

    .suggested-grid {
        align-content: flex-start;
    }

    .suggested-box {
        width: calc(100% / 3 - 15px);
        min-width: calc(100% / 3 - 15px);
    }

    .product-box {
        width: calc(100% / 5 - 20px) !important;
        min-width: calc(100% / 5 - 20px) !important;
    }

    .cart-container {
        cursor: pointer;
        border-radius: 15px;
    }

    .cart-container.active {
        left: unset;
        right: 20px;
        bottom: 20px;
    }

}

@media (min-width:1280px) {




    .product-box:nth-child(3n) {
        margin-right: 0%!important;
    }

    .suggested-box {
        width: calc(100% / 4 - 60px / 3);
        min-width: calc(100% / 4 - 60px / 3);
    }

    .today-section-grid,
    .brands-grid,
    .bestselling-grid,
    .subcat-grid {
        flex-wrap: wrap;
    }

    .today-box,
    .subcat-grid .subcat-box {
        width: calc(100% / 8 - 120px / 8);
        min-width: calc(100% / 8 - 120px / 8);
    }

    .brands-box,
    .bestselling-box {
        width: calc(100% / 6 - 90px / 6);
        min-width: calc(100% / 6 - 90px / 6);
    }

    .bestselling-box2 {
        width: calc(100% / 6 - 50px / 6) !important;
        min-width: calc(100% / 6 - 50px / 6) !important;
    }

    .product-box {
        width: calc(100% / 8 - 80px / 8) !important;
        min-width: calc(100% / 8 - 80px / 8) !important;
        cursor: pointer;

    }


    /* ========= website banner  ========== */



    .website-banner-container {
        width: 100%;
        padding: 20px 0;
        padding-bottom: 0;
        display: block;
        max-width: 1280px;
        margin-inline: auto;

    }

    .website-banner-content {
        width: 100%;
    }

    .website-banner-content img {
        max-width: 100%;
        border-radius: 20px;
        /* height: 400px; */
    }


    /* <!-- ========== Bestselling ============= --> */
    /* <!-- ========== product section ============= --> */



    .suggested-section,
    .website-footer,
    .last-banner,
    .today-section,
    .brands-section,
    .product-section,
    .subcat-section,
    .bestselling-section,
    .bestselling_section2,
    .website-bestselling-section,
    .brands_new_design {
        max-width: 1280px;
        margin-inline: auto;
    }

    .suggested-grid,
    .today-section-grid,
    .brands-grid,
    .product-grid,
    .bestselling-grid,
    .bestselling_grid2,
    .subcat-grid,
    .header {
        padding-inline: 0 !important;
    }


    /* <!-- ========== owl-carousel ============= --> */



    .third-banner-section,
    .secound-banner-section,
    .first-banner-section,
    .main-banner {
        max-width: 1280px;
        margin-inline: auto;
    }




}