﻿@import 'Root.css';



.navbar {
    grid-area: navbar;
    /*background: #4a98f7;*/
    /*background: var(--navbar-color);
    color: var(--white-color);*/
    color: var(--logo-color) !important;
    padding: 0px;
    justify-content: center;
    font-size: large;
}

    .navbar p6 {
        font-weight: 700;
        margin-left: 10px;
        letter-spacing: 3px;
    }

.navrow {
    display: grid;
    grid-template-columns: auto auto auto auto auto auto;
    grid-template-rows: 40px;
    align-items: center;
    box-sizing: border-box;
}

/*.navrow {
 position:static;
 z-index:1000;
}*/

.logo {
    padding: 10px 0px 0px 10px;
    /*width: 150px;
    height: 70px;*/
}

.navbar nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-around;
}

    .navbar nav ul li {
        display: inline;
    }

        .navbar nav ul li a {
            color: var(--primary-text-color);
            text-decoration: none;
        }

.navOpenBtn {
    display: none;
    /*grid-area: 1 / 4 / 2 / 5;
    justify-self: end;*/
}

#searchDisplayButton {
    display: none;
    background: none;
    border: none;
}

    /* search icon section start from here */
    .search-icon {
    color: white;
    font-size: 20px;
    cursor: pointer;
    position: relative;
    /*transform: translateX(-50%);*/
}



    .search-icon button,
    .navOpenBtn button,
    #filterBtn {
        background: none;
        border: none;
    }

.search-box {
    margin-top: 10vh;
    /*position: absolute;*/
    /*right: 250px;*/
    height: 45px;
    /*max-width: 555px;*/
    /*width: 100%;*/
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s linear;
    z-index: 0;
}

.navrow.openSearch .search-box {
    opacity: 1;
    pointer-events: auto;
}

.search-box .search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    left: 15px;
    /*color: #4a98f7;*/
    transform: translateY(-50%);
}

.search-box input {
    height: 100%;
    width: 100%;
    border: none;
    outline: none;
    border-radius: 6px;
    background-color: var(--white-color);
    padding: 0 15px 0 45px;
    box-shadow: var(--button-shadow);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

    .search-box input:hover {
        background-color: var(--button-hover-color);
        box-shadow: var( --button-hover-shadow);
        /*box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);*/
    }

/* sort popup window */
.popup {
    display: none;
}

/*profile image*/

.profile-pic-devtah {
    border-radius: 50%;
    position: relative;
    width: 24px;
    height: 24px; /* Adjust height as needed */
    object-fit: cover;
}

.productsection h6 {
    padding: 1% 0 0px 3%;
    margin: 0;
}



.faq-container h6 {
    padding: 1% 0 0 6%;
    margin: 0;
}

.footer {
    display: none;
}

#copyright-text-li {
    display: none;
}


@media (min-width: 300px) and (max-width: 768px) {
    .nav-list {
        grid-template-columns: 100px 270px 190px;
    }

    .navbar {
        padding: 0px;
        align-content: center;
        border-radius: 0px 0px 9px 9px;
    }

    .navrow {
        display: grid;
        /*grid-template-columns: auto auto auto auto ;*/
        grid-template-columns: auto auto auto 40px 40px;
        grid-template-rows: 40px;
        column-gap:7px;
    }

    .navbar .navrow .nav-list {
        display: grid;
        grid-template-areas: "navlist";
        /*grid-template-rows: 10px 10px 10px 10px;*/
        grid-template-rows: repeat(auto-fill, 10px);
        grid-template-columns: auto;
        position: fixed;
        top: 0;
        left: -100vh;
        height: 100vh; /*max-width: 330px;*/
        width: 86vw;
        padding-top: 10px;
        row-gap: 30px;
        flex-direction: column;
        margin: 0;
        padding: 0;
        /*background-color: #11101d;*/
        /*background: var(--button-color);*/
        background: var(--nav-color);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        transition: all 0.4s ease;
        z-index: 10;
        /*grid-auto-flow: row dense;*/
        overflow-y: auto;
        justify-items: center;
    }


    .nav-list .dropdown-item a {
        display: none;
    }

        .nav-list .dropdown-item a.show {
            display: block;
        }

    .navOpenBtn {
        margin: 5px 20px 0 0;
        display: block;
        grid-area: 1 / 5 / 2 / 6;
        justify-self: end;
        /*padding: 6px 6px 0 0px;*/
        justify-self: center; /* Center horizontally within its grid cell */
        align-self: center;
        /*padding:20px;*/
    }




    .navOpenBtn button{
        padding:0;
    }


    .navbar nav ul {
    }

    .nav-list li {
        margin-top: 20px;
        /*grid-row-start:12;
        grid-row:auto;*/
        /*margin-top: 30px;*/ /* Add bottom margin to each list item for spacing */
        overflow-wrap: break-word;
        /*margin:20px;*/
    }


    /*social icon*/
    .social-icons {
        display: flex;
        gap: 10px;
        margin-top: 10px;
    }

    .social-icon svg {
        width: 24px;
        height: 24px;
    }

    #social-icon {
        /*justify-self: end;*/
        grid-row: auto / span 1;
    }

    /*copyright*/
    p#copyright-text {
        padding: 10px 0 0 0;
    }

    /* sort section start from here */
    .search-section {
        display: flex;
        flex-direction: column;
    }

    .sort-filter-container {
        display: flex;
        /*margin: 10px;*/
        margin: 7.5px 8px;
    }

    .sort-filter-text {
        flex-grow: 1;
        letter-spacing: 1px;
        font-weight: 600;
    }

    .sort-filter-options {
        display: flex;
        gap: 12px;
        /*font-size: 12px;*/
        font-size: var(--font-button);
    }

    .sort-option,
    .filter-option {
        border-radius: 6px;
        box-shadow: 1px 1px 16px 0px rgba(0, 0, 0, 0.08);
        background-color: #fff;
        display: flex;
        gap: 4px;
        padding: 4px 8px;
        align-items: center;
    }

    .sort-icon,
    .filter-icon {
        aspect-ratio: 1;
        object-fit: cover;
        width: 16px;
    }

    /* sort popup window */
    .popup {
        /*display: none;*/
        /* Hidden by default */
        position: fixed;
        z-index: 99;
        left: 0;
        top: 0;
        width: 100%;
        height: 400px;
        background-color: rgba(0, 0, 0, 0.4);
    }

    /* Pop-up content */

    #openPopupBtn, #filteropenPopupBtn, #filterBtn {
        padding: 0 6px 0 6px;
        border: none;
        border-radius: 6px;
        /*box-shadow: 1px 1px 16px 0px rgba(0, 0, 0, 0.08);*/
        /*box-shadow: 0 3px 7px rgba(0, 0, 0, 0.09), 0 1px 3px rgba(0, 0, 0, 0.05);*/
        /*background-color: #f5f5f5;*/
        text-transform: capitalize;
        display: flex;
        align-items: center;
        box-shadow: var(--button-shadow);
        background-color: var(--background-color);
        transition: background-color 0.3s ease, box-shadow 0.3s ease;
    }

        #openPopupBtn:hover, #filteropenPopupBtn:hover, #filterBtn:hover {
            background-color: var(--button-hover-color);
            box-shadow: var( --button-hover-shadow);
            /*box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);*/
        }

    .popup-content {
        position: relative;
        background-color: white;
        z-index: 99;
        margin: 15% auto;
        padding: 20px;
        border: 1px solid #888;
        width: 80%;
    }

    /* Close button */
    .close, .close1 {
        z-index: 99;
        color: #aaa;
        float: right;
        font-size: 28px;
        font-weight: bold;
    }

        .close:hover,
        .close:focus {
            z-index: 99;
            color: black;
            text-decoration: none;
            cursor: pointer;
        }

    /*category section*/
    .sidebar {
        padding: 0px;
        border-radius: 9px;
        /*margin-top: 9px;*/
        margin-bottom: 9px;
    }

    /*.sidebar ul {
            padding: 10px;
            display: flex;
        }*/

    /* categories start from here */
    .categories {
        /*background-color: #e1e1e1;*/
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        /*font-size: 15px;*/
        /*line-height: 3;*/
        /*padding: 8px;*/
        /*align-items:center;*/
    }

    /*.categories-container {
        display: flex;
        gap: 17px;
        overflow-x: auto;
    }

    .category-item {
        display: flex;
        flex-direction: column;
        align-items: center;
    }*/

    .categories-container {
        display: grid;
        grid-auto-flow: column;
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); /* Responsive grid */
        gap: 0px;
        padding: 0px;
    }

    .category-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        /*background-color: white;*/
        padding: 10px;
        border-radius: 8px;
        /*box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);*/
    }

    .category-icon {
        width: 56px;
        height: 56px; /* Ensure a square aspect ratio */
        border-radius: 50%;
        object-fit: cover;
        box-shadow: var(--button-shadow);
        background-color: var(--background-color);
        transition: background-color 0.3s ease, box-shadow 0.3s ease;
    }

        .category-icon:hover {
            background-color: var(--button-hover-color);
            box-shadow: var( --button-hover-shadow);
        }

    /* crousssel section start ffrom here  */
    .wrapper {
        width: 100vw;
        margin: 10px 0 10px 0;
        box-shadow: var(--box-shadow-default);
    }

    .carousel {
        aspect-ratio: 16/9;
        display: grid;
        grid-template-areas: "stack";
        max-height: 36rem;
        overflow: hidden;
        position: relative;
        width: 100%;
        border-radius: 6px;
    }


    .slide {
        display: block;
        grid-area: stack;
        height: 100%;
        opacity: 0;
        transition: opacity 2s ease-in-out;
        width: 100%;
    }

        .slide img {
            animation: panRight 10s ease-in-out infinite;
            height: 110%;
            position: absolute;
            width: 110%;
        }

    @keyframes panUp {
        0% {
            transform: translateY(0);
        }

        100% {
            transform: translateY(-10%);
        }
    }

    @keyframes panDown {
        0% {
            transform: translateY(-10%);
        }

        100% {
            transform: translateY(0);
        }
    }

    @keyframes panRight {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-10%);
        }
    }

    @keyframes panLeft {
        0% {
            transform: translateX(-10%);
        }

        100% {
            transform: translateX(0);
        }
    }

    /* deal of the day */
    .header-offer {
        display: flex;
        /*margin-top: 16px;*/
        margin: 10px 0 10px 0;
        width: 95%;
        /*padding-left: 16px;*/
        flex-direction: column;
        align-items: flex-start;
        box-shadow: var(--box-shadow-default);
    }

    .offer-bar {
        border-radius: 4px;
        background-color: #4392f9;
        display: flex;
        width: 100%;
        gap: 20px;
        color: #fff;
        justify-content: space-between;
        padding: 10px;
    }

    .offer-content {
        display: flex;
        flex-direction: column;
    }


    .time-remaining {
        display: flex;
        margin-top: 9px;
        gap: 4px;
        font-size: 12px;
        font-weight: 400;
        line-height: 1.33;
    }

    .time-remaining-icon {
        aspect-ratio: 1;
        object-fit: cover;
        width: 16px;
    }



    .offer-actions {
        display: flex;
        gap: 4px;
        font-size: 12px;
        font-weight: 600;
        text-align: center;
        line-height: 1.33;
        margin: auto 0;
        border-radius: 4px;
        border: 1px solid #fff;
        padding: 6px 10px;
    }


    .view-all-icon {
        aspect-ratio: 1;
        object-fit: cover;
        width: 16px;
    }
    /*product section iframe*/
    .productsection iframe {
        width: 100%;
        height: 500px;
        border: none;
    }
}


/* Media queries for desktop view */
@media (min-width: 768px) {

    /*.grid-container {
        display: grid;
        grid-template-areas: "navbar navbar" "sidebar wrapper" "sidebar wrapper" "content header-offer" "footerContainer footerContainer";
        grid-template-columns: 20% 80%;
        grid-template-rows: auto 1fr;*/ /* Sidebar auto width, wrapper takes remaining space */

    /*}*/

    /*.grid-container {
        display: grid;
        grid-template-columns: 18% 60% 18%;*/
    /*grid-template-rows: auto auto auto repeat(2, 1fr);*/
    /*grid-template-rows: repeat(7, auto);
        grid-column-gap: 21px;
        grid-row-gap: 6px;
        background-color: #F5F5F5;
    }*/

    .nav-list {
        grid-template-columns: 100px 270px 190px;
    }

    .navbar {
        grid-area: 1 / 1 / 2 / 4;
        padding: 0px;
        align-content: center;
        border-radius: 0px 0px 9px 9px;
    }

    /*.navrow {
        display: grid;*/
    /*grid-template-columns: auto auto auto auto;*/
    /*grid-template-columns: 20% repeat(3, 1fr);
        grid-template-rows: 60px;
    }*/

    .navrow {
        display: grid;
        /*grid-template-columns: auto auto auto auto;*/
        grid-template-columns: 20% 50% 10% 9% 11%;
        /*grid-template-columns: 20% repeat(auto-fill, minmax(0, 1fr));*/
        /*grid-template-columns: 20% auto;*/
        grid-template-rows: 50px;
        grid-column-gap: 9px;
        grid-row-gap: 9px;
        /*background-color:var(--background-color);*/
        background-color: #ffffff;
    }

    /*.navrow li {
            display: none;
        }*/

    .navbar nav ul li {
        display: none;
    }

    #signin-signout,
    #profile-pic-devtah-li {
        display: list-item;
    }

    #profile-pic-devtah-li {
        grid-area: 1 / 4 / 2 / 5;
    }

    #signin-signout {
        grid-area: 1 / 5 / 2 / 6;
    }

    .search-icon {
        grid-area: 1 / 3 / 2 / 4;
    }

    .search-box {
        grid-area: 1 / 2 / 2 / 3;
    }

    .search-container {
        grid-area: 1 / 2 / 2 / 4;
    }

    /*#searchInput {
        grid-area: 1 / 2 / 2 / 3;
    }*/

    #copyright-text-li {
        height: 50px;
        display: list-item;
        grid-area: 8 / 1 / 9 / 4;
        /*text-align: right;*/
        padding: 0 0 0 2%;
    }

    p#copyright-text {
    }

    .search-box {
        display: list-item;
        margin: 0;
    }




    /*.my-cart {
        grid-column: auto / span 1;
        white-space: nowrap;
    }*/
    /*logo*/
    .logo {
        flex-shrink: 0;
        /*height: 100px;
        width: 100px;*/
    }

    /*profile pic icon*/
    .profile-pic-devtah {
        /*height: 40px;
        width: 40px;*/
        /*display:none;*/
    }
    /*.navrow {*/
    /*display: flex;*/
    /*justify-content: space-between;*/
    /*align-items: center;*/
    /*}*/
    .nav-list {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
        white-space: nowrap;
    }

    .navbar nav ul {
    }

    .nav-list li {
        margin-left: 20px; /* Add bottom margin to each list item for spacing */
    }

        .nav-list li a {
            letter-spacing: var(--letter-spacing-loose);
            text-decoration: none;
            color: #007bff;
            font-size: 11px;
            padding: 2px 2px;
            transition: background-color 0.3s;
            font-size: var(--font-h6);
        }

    /*#termAndCodition, #social-icon, #copyright-text {
        display: none;
    }*/

    .search-icon button {
    }


    .categories {
        overflow-x: hidden; /* Disable horizontal scrolling for desktop view */
        white-space: normal; /* Allow wrapping to multiple lines */
    }

    .categories-container {
        display: grid;
        grid-template-columns: 1fr; /* Single column layout for categories */
        grid-auto-rows: auto; /* Adjust row height automatically */
    }

    .category-item {
        display: flex;
        justify-content: flex-start;
        flex-direction: row; /* Arrange items in a single row */
        align-items: center;
        background-color: white;
        padding: 5px;
        /*border-radius: 8px;*/
        /*box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);*/
        min-width: 100px; /* Ensure each item has a minimum width */
        font-size: var(--font-h6);
    }

    .category-icon {
        width: 40px;
        height: 40px; /* Ensure a square aspect ratio */
        border-radius: 50%;
        object-fit: cover;
        margin-right: 10px; /* Space between image and name */
    }

    .filter-section {
        /*grid-area: 5 / 1 / 6 / 2;*/
        /*grid-row-start: 4; abhi hataya h*/
    }

    .sort-filter-text {
        padding: 0 0 0 3%;
        letter-spacing: 1px;
        font-weight: var(--font-weight-medium);
        grid-area: 2 / 1 / 3 / 2; /*category name ka sirf*/
    }

    .sort-filter-options {
        display: none;
    }

    /*corusel*/
    .wrapper {
        grid-area: 2 / 2 / 4 / 3;
        /*grid-area: wrapper;*/
        aspect-ratio: 16/9;
        /*padding: 20px;*/
        margin-top: 0;
        /*width: 60vh;*/
        /*margin: 90px 0 0 0;*/
    }

    .carousel {
        aspect-ratio: 16/9;
        display: grid;
        grid-template-areas: "stack";
        /*max-height: 36rem;*/
        overflow: hidden;
        position: relative;
        width: 100%;
    }


    .slide {
        display: block;
        grid-area: stack;
        height: 100%;
        opacity: 0;
        transition: opacity 2s ease-in-out;
        width: 100%;
    }

        .slide img {
            animation: panRight 10s ease-in-out infinite;
            height: 100%;
            position: absolute;
            width: 100%;
        }

    @keyframes panUp {
        0% {
            transform: translateY(0);
        }

        100% {
            transform: translateY(-10%);
        }
    }

    @keyframes panDown {
        0% {
            transform: translateY(-10%);
        }

        100% {
            transform: translateY(0);
        }
    }

    @keyframes panRight {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-10%);
        }
    }

    @keyframes panLeft {
        0% {
            transform: translateX(-10%);
        }

        100% {
            transform: translateX(0);
        }
    }

    /* deal of the day */
    .header-offer {
        grid-area: 2 / 3 / 4 / 4;
        /*height: 400px;*/
        display: flex;
        /*margin-top: 16px;*/
        width: 100%;
        /*padding-left: 16px;*/
        flex-direction: column;
        align-items: flex-start;
    }

    .offer-bar {
        height: 100%;
        border-radius: 8px;
        background-color: #4392f9;
        display: flex;
        /*width: 100%;*/
        gap: 20px;
        color: #fff;
        justify-content: space-between;
        padding: 10px;
    }

    .offer-content {
        display: flex;
        flex-direction: column;
    }


    .time-remaining {
        display: flex;
        margin-top: 9px;
        gap: 4px;
        font-size: 12px;
        font-weight: 400;
        line-height: 1.33;
    }

    .time-remaining-icon {
        aspect-ratio: 1;
        object-fit: cover;
        width: 16px;
    }



    .offer-actions {
        display: flex;
        gap: 4px;
        font-size: 12px;
        font-weight: 600;
        text-align: center;
        line-height: 1.33;
        margin: auto 0;
        border-radius: 4px;
        border: 1px solid #fff;
        padding: 6px 10px;
    }


    .view-all-icon {
        aspect-ratio: 1;
        object-fit: cover;
        width: 16px;
    }
    /*product section iframe*/
    .productsection {
        background: var(--background-color);
        /*grid-area: 4 / 2 / 5 / 4;*/
        grid-area: 4 / 2 / 5 / 4;
    }

        .productsection iframe {
            width: 100%;
            height: 500px;
            border: none;
        }

        .productsection h6 {
            padding: 2% 0 0px 20px;
            margin: 0;
        }

    .faq-container {
        background: var(--background-color);
        grid-area: 5 / 2 / 6 / 3;
    }

        .faq-container h6 {
            padding: 1% 0 0 2%;
            margin: 0;
        }

    .footer {
        grid-area: 6 / 1 / 7 / 4;
        grid-template-rows: auto;
        background-color: #888;
    }

    .footer {
        margin-top: 10px;
        padding: 0 6% 0 6%;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        grid-template-rows: repeat(2, auto);
        grid-column-gap: 1%;
        grid-row-gap: 0px;
        justify-items: center; /* Center each column content horizontally */
        align-items: center; /* Align content vertically within the footer */
        text-align: center;
    }

        .footer div {
            display: grid;
            grid-template-rows: auto 1fr; /* Heading + List */
            align-items: start; /* Ensure content aligns from the top */
            text-align: center; /* Center-align text within the section */
            height: 100%; /* Ensures consistent height */
        }

        .footer h3 {
            margin-bottom: 10px; /* Space between heading and list */
            font-size: var(--font-nav);
            /*text-transform: uppercase;*/
        }

        .footer ul {
            list-style: none; /* Remove bullet points */
            padding: 0;
            margin: 0;
        }

            .footer ul li {
                font-size: var(--font-label);
                margin-bottom: 8px; /* Add space between items */
                white-space: nowrap;
            }

        .footer a {
            color: white;
            text-decoration: none;
            transition: color 0.3s ease;
            white-space: nowrap;
        }

            .footer a:hover {
                color: yellow; /* Hover effect */
            }
}


/*Image upload Modal styling */
.modal3 {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 12; /* Sit on top */
    /*padding-top: 60px;*/ /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100vh; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    /*background-color: rgb(0,0,0);*/ /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

.modal-body3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 90vh;
}

.modal-content3 {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

.save-btn3 {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    z-index: 6;
}

    .save-btn3:hover {
        background-color: #45a049;
    }


.close3 {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #4158d0;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    z-index: 99;
}

    .close3:hover,
    .close3:focus {
        color: #bbb;
        text-decoration: none;
        cursor: pointer;
    }

/* Add Animation */
@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.modal-content3 {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@media only screen and (max-width: 700px) {
    .modal-content3 {
        width: 100%;
    }
}


