@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: 'Rubik', sans-serif;
}
#menu-btn,#close-btn{
    display: none;
}
#showMega{
    display: none;
}
nav{
position: fixed; 
 z-index: 99;
width: 100%;

background: #242526;
}


#account-div > a{
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-right: 15px;
    text-decoration: none;
    }
nav .wrapper{
position: relative;
width: 100%;
padding: 0px 30px;
height: 70px;
line-height: 70px;
margin: auto;
display: flex;
align-items: center;
justify-content: space-between;
}
.wrapper .logo a{
color: #f2f2f2;
font-size: 30px;
font-weight: 600;
text-decoration: none;
}
.wrapper .nav-links{
display: inline-flex;
}
.nav-links li{
list-style: none;
}
.nav-links li a{
color: #f2f2f2;
text-decoration: none;
font-size: 18px;
font-weight: 500;
padding: 9px 15px;
border-radius: 5px;
transition: all 0.3s ease;
}
.nav-links li a:hover{
background: #3A3B3C;
}
.nav-links .mobile-item{
display: none;
}
.nav-links .drop-menu{
position: absolute;
background: #242526;
width: 180px;
line-height: 45px;
top: 85px;
opacity: 0;
visibility: hidden;
box-shadow: 0 6px 10px rgba(0,0,0,0.15);
}
.nav-links li:hover .drop-menu,
.nav-links li:hover .mega-box{
transition: all 0.3s ease;
top: 70px;
opacity: 1;
visibility: visible;
}
.drop-menu li a{
width: 100%;
display: block;
padding: 0 0 0 15px;
font-weight: 400;
border-radius: 0px;
}
.mega-box{
position: absolute;
left: 0;
width: 100%;
padding: 0 30px;
top: 85px;
opacity: 0;
visibility: hidden;
}
.mega-box .content{
background: #242526;
padding: 25px 20px;
display: flex;
width: 100%;
justify-content: space-between;
box-shadow: 0 6px 10px rgba(0,0,0,0.15);
}
.mega-box .content .row{
width: calc(25% - 30px);
line-height: 45px;
margin: auto;

}
.content .row img{
width: 100%;
height: 100%;
object-fit: contain;
}
.content .row header{
color: #f2f2f2;
font-size: 20px;
font-weight: 500;
}
.content .row .mega-links{
margin-left: -40px;
border-left: 1px solid rgba(255,255,255,0.09);
}
.row .mega-links li{
padding: 0 20px;
}
.row .mega-links li a{
padding: 0px;
padding: 0 20px;
color: #d9d9d9;
font-size: 17px;
display: block;
}
.row .mega-links li a:hover{
color: #f2f2f2;
}
.wrapper .btn{
color: #fff;
font-size: 20px;
cursor: pointer;
display: none;
}
.wrapper .btn.close-btn{
position: absolute;
right: 30px;
top: 10px;
}
/* ***************************** bottom nav bottom nav *********************** */
#bottom-nav{
    padding-top: 30px;
    /* border: 3px solid red; */
    align-items: center;
    width: 95%;
    height: auto;
    /* box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px; */
    display: flex;
    margin-inline: auto;
    justify-content:space-between;
    
}
#bottom-nav>div:nth-child(2){
    display: none;
    width: 20%;
    /* border: 2px solid red; */
    align-items: center;
}
#bottom-nav>div:nth-child(2),#bottom-nav>div:nth-child(3){
    margin-top: 50px;
}
#bottom-nav >div{
    /* border: 2px solid green; */
    margin-right: 30px;
}

#bottom-nav >div:nth-child(2) span{
    padding: 12px 18px;
    display: flex;
    justify-content: center;
    align-items: center;
   
}
#bottom-nav >div:nth-child(2) form input{
    padding: 12px 18px;
    
}
#bottom-nav >div:nth-child(1){
    margin-top: 50px;
    padding: 12px 18px;
    display: flex;
    width: 25%;
  
    align-items: center;

}
#bottom-nav >div:nth-child(3){
    padding: 12px 18px;
    display: flex;
    width: 25%;
   
    align-items: center;
}

#bottom-nav >div:nth-child(1) a img{
    width: 80px;
    height: 80px;
   border-radius: 60%;

}


#bottom-nav >div:nth-child(1) span{
    font-size: 32px;
    color:rgb(255, 106, 106);
   font-family: Apple Chancery, cursive;
    font-weight: bold;
}
#bottom-nav>div:nth-child(2) #filterbtn{
    background-color: #FFC107;
    padding: 10px 18px;
    font-size: 23px;
    border: none;
    color: white;
    cursor: pointer;
    font-family: 'Courier New', Courier, monospace;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
}
#bottom-nav>div:nth-child(2) #productname{
    background-color: #ECEFF1;
    border: none;
    outline: none;
    font-size: 21px;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
}
#bottom-nav>div:nth-child(3) a{
    text-decoration: none;
} 
#bottom-nav>div:nth-child(3) a i{
    font-size: 46px;
    margin-right: 20px;
    color: #4CAF50;

}
#bottom-nav>div:nth-child(3) a span{
    /* border: 2px solid red; */
    color:gray;
    font-size: 24px;
    font-family: 'Rubik', sans-serif;
}
#bottom-nav>div:nth-child(3) #countspan{
    background-color: black;
    width: 30px;
    padding: 5px;
    margin-left: 30px;
    z-index: 90;
    position: absolute;
    margin-top: -20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    height: 30px;
}



#cartimg{
    width: 50px;
    height: 50px;
}


/* slider************************************************** */
.slider{
    align-content: center;
   
}
.slider img{
padding: auto;
    align-content: center;
    margin: auto;
    width: 75%;
   height: 400px;
   box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
}


.slider {
    display: flex;
    justify-content: center; /* Horizontal centering */
    align-items: center; /* Vertical centering */
 /* height: 100vh;  */
  background-color: pink;
  /* padding: 100px 100px 100px 100px; */
  width: 90%;
  margin: 0 auto;
  display: block;

}

.slider img {
    max-width: 100%;
    max-height: 100%;
    width: 90%;
    height: auto;
}


.slider {
    position: relative;
    text-align: center; /* Horizontal centering */
}

.slider img {
    max-width: 100%;
    height: auto;
}

.centered-text {
    position: absolute;
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Center both horizontally and vertically */
    /* background-color: rgba(192, 114, 114, 0.7); */
    /* color: white; */
    padding: 10px;
    font-size: 80px;
    color:rgb(255, 6, 6);
    /* font-family: Apple Chancery, cursive; */
   
    font-family:fantasy,cursive;
     font-weight: bold;
     border: 1px black;
     /* font-size: 18px; */
     /* color: #333; */
     transition: all 0.3s ease; /* Add a smooth transition effect */
     box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
display: none;
}
/* Menu cards of sweets  */



.grand-div{
    padding: 0px 0px;
    width: 100%;
}
.grand-div h1{
    text-align: center;
    margin: 30px 0px;
}

.grand-div > .grand-div-child{
    width: 95%;
    height: auto;
    /* margin-left: auto; */
    gap: 15px 15px;
    margin-right: 0px;
    display: flex;
    padding-left: 4%;
}
div#men-div.grand-div-child{
    margin: 0px;
    padding: 0px;
}

.grand-div-child > .card{
    width: 25%;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
}
.card .img_div {
    width: 100%;
    height: auto;
}
.card .img_div > img{
    width: 100%;
    height: 350px;
}
.card .img_div > img:hover{
    cursor: pointer;
}
.card > .desc{
    padding: 20px;
    /* border: 2px solid red; */
}
.card > .desc > h2,.card > .desc > .star-div{
    margin: 5px 0px;
}
.card > .desc > h2{
    font-size: 18px;
}
.desc > .star-div i{
    color: #F57C00;
}
.desc .button-div{
    width: 100%;
    display: flex;
    margin-top: 20px;
    justify-content: space-between;
}
.card .button-div {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    /* border: 2px solid green; */
}
.card .button-div button{
    background-color: #232F3E;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;

}







/* ***************************** footer footer *********************** */
footer{
    margin-top: 50px;
    padding: 30px 20px;
    width: 100%;
    background-color: #232F3E;
    margin-inline: auto;
    }
    footer > #footer-child{
    width: 95%;
    gap: 20px 15px;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    margin-inline: auto;
    }
    footer > #footer-child >div:nth-child(1) img{
    width: 151px;
    height: 101px;
    border-radius: 450%;

    }
    footer > #footer-child > div:nth-child(1) a{
    color: white;
     text-decoration: none; 
    color:rgb(255, 106, 106);
    font-family: Apple Chancery, cursive;
     font-weight: bold;
    }
    footer > #footer-child div ul li ,footer > #footer-child div ul li a{
    color: white;
    margin-top: 10px;
    text-decoration: none;
    }
    
    footer > #footer-child div h2{
    color: white;
    }
    
    #about-us p{
    color: white;
    margin-top: 10px;
    }
    #copyright{
        width: 100%;
        height: auto;
        background-color: #242526;
        text-align: center;
        padding: 20px 20px;
    }
    #copyright > a{
        text-decoration: none;
        color: white;
    }










/* Media queries */


@media only screen and (max-width: 1201px)  {
                    #bottom-nav {
                        display: block;
                        width: 100%;
                    }
                
                    #bottom-nav >div{
                        width: 90%;
                        margin-inline: auto;
                        display: flex;
                        justify-content: center;
                        width: 100%;
                    } 
                
                    .grand-div > .grand-div-child{
                        width: 95%;
                        height: auto;
                        margin-inline: auto;
                        gap: 15px 10px;
                        display: flex;
                        flex-wrap: wrap;
                    }
                    .grand-div > .grand-div-child >div{
                        width: 48%;
                    }
                
                    #bottom-nav>div:nth-child(2),#bottom-nav>div:nth-child(3){
                        margin-top: 0px;
                    }
                
                    #bottom-nav>div:nth-child(3){
                        margin-top: 20px;
                    }
                
                }
                
                @media screen and (max-width: 970px) {
                .wrapper .btn{
                display: block;
                }
                .wrapper .nav-links{
                position: fixed;
                height: 100vh;
                width: 100%;
                max-width: 350px;
                top: 0;
                left: -100%;
                background: #242526;
                display: block;
                padding: 50px 10px;
                line-height: 50px;
                overflow-y: auto;
                box-shadow: 0px 15px 15px rgba(0,0,0,0.18);
                transition: all 0.3s ease;
                }
                /* custom scroll bar */
                ::-webkit-scrollbar {
                width: 10px;
                }
                ::-webkit-scrollbar-track {
                background: #242526;
                }
                ::-webkit-scrollbar-thumb {
                background: #3A3B3C;
                }
                #menu-btn:checked ~ .nav-links{
                left: 0%;
                }
                #menu-btn:checked ~ .btn.menu-btn{
                display: none;
                }
                #close-btn:checked ~ .btn.menu-btn{
                display: block;
                }
                .nav-links li{
                margin: 15px 10px;
                }
                .nav-links li a{
                padding: 0 20px;
                display: block;
                font-size: 20px;
                }
                .nav-links .drop-menu{
                position: static;
                opacity: 1;
                top: 65px;
                visibility: visible;
                padding-left: 20px;
                width: 100%;
                max-height: 0px;
                overflow: hidden;
                box-shadow: none;
                transition: all 0.3s ease;
                }
                #showDrop:checked ~ .drop-menu,
                #showMega:checked ~ .mega-box{
                max-height: 100%;
                }
                .nav-links .desktop-item{
                display: none;
                }
                .nav-links .mobile-item{
                display: block;
                color: #f2f2f2;
                font-size: 20px;
                font-weight: 500;
                padding-left: 20px;
                cursor: pointer;
                border-radius: 5px;
                transition: all 0.3s ease;
                }
                .nav-links .mobile-item:hover{
                background: #3A3B3C;
                }
                .drop-menu li{
                margin: 0;
                }
                .drop-menu li a{
                border-radius: 5px;
                font-size: 18px;
                }
                .mega-box{
                position: static;
                top: 65px;
                opacity: 1;
                visibility: visible;
                padding: 0 20px;
                max-height: 0px;
                overflow: hidden;
                transition: all 0.3s ease;
                }
                .mega-box .content{
                box-shadow: none;
                flex-direction: column;
                padding: 20px 20px 0 20px;
                }
                .mega-box .content .row{
                width: 100%;
                margin-bottom: 15px;
                border-top: 1px solid rgba(255,255,255,0.08);
                }
                .mega-box .content .row:nth-child(1),
                .mega-box .content .row:nth-child(2){
                border-top: 0px;
                }
                .content .row .mega-links{
                border-left: 0px;
                padding-left: 15px;
                }
                .row .mega-links li{
                margin: 0;
                }
                .content .row header{
                font-size: 19px;
                }
                
                nav input{
                display: none;
                }
                
                #mega-menu{
                    background-color: green;
                    display: none;
                }
                #top-div div:nth-child(2) >a:hover #mega-menu{
                    display: block;
                    width: 100%;
                    height: 400px;
                    background-color: teal;
                } 
                
/* new nav qyurrwes */
/* new nav qyurrwes */
/* new nav qyurrwes */



/* Default styles for larger screens */

/* Media query for medium-sized screens */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Hide the navigation links */
        flex-direction: column; /* Stack links vertically */
        position: absolute;
        top: 60px; /* Adjust the top position as needed */
        left: 0;
        background-color: #333; /* Background color for the mobile menu */
        width: 100%; /* Full width */
        text-align: center;
    }

    .nav-links.active {
        display: flex; /* Show the links when the menu is active */
    }

    .desktop-item, .mobile-item {
        display: block; /* Display menu items as blocks */
        padding: 10px;
        color: #fff;
        text-decoration: none;
    }

    /* Add styles for the mobile menu icon/button */
    .menu-btn {
        display: block; /* Show the menu button */
    }

    .close-btn {
        display: none; /* Hide the close button by default */
        position: absolute;
        top: 20px;
        right: 20px;
        cursor: pointer;
        color: #fff;
        font-size: 20px;
    }

    /* Show the close button when the menu is active */
    .nav-links.active + .close-btn {
        display: block;
    }
}

/* Media query for small screens */
@media (max-width: 480px) {
    .wrapper {
        padding: 0; /* Reduce padding for small screens */
    }

    /* Adjust the top position of the mobile menu */
    .nav-links {
        top: 50px; /* Adjust the top position as needed */
    }
}
















                    /* **************************** bottom bottom ************ */
                    #bottom-nav {
                        display: block;
                        width: 100%;
                    }
                    #bottom-nav >div{
                        width: 90%;
                         margin-inline: auto;
                        display: flex;
                        justify-content: center;
                         /* display: block;
                         width: 100%; */
                    }
                
                    #bottom-nav >div{
                        width: 90%;
                        margin-inline: auto;
                        display: flex;
                        justify-content: center;
                        width: 100%;
                    } 
                
                    footer #footer-child{
                        gap: 20px 0px;
                        grid-template-columns: repeat(2,1fr);
                    }
                    .grand-div > .grand-div-child{
                        width: 95%;
                        height: auto;
                        margin-inline: auto;
                        gap: 15px 10px;
                        display: flex;
                        flex-wrap: wrap;
                    }
                    /* .grand-div{
                
                    } */
                    .grand-div > .grand-div-child >div{
                        width: 44%;
                    }
                
                    #bottom-nav>div:nth-child(2),#bottom-nav>div:nth-child(3){
                        margin-top: 0px;
                    }
                    #bottom-nav>div:nth-child(2){
                        width: 80%;
                    }
                    #bottom-nav>div:nth-child(3){
                        width: 80%;
                    }
                
                    #bottom-nav>div:nth-child(3){
                        margin-top: 20px;
                    }
                }
                
                
                @media only screen and (max-width: 600px)  {
                 #bottom-nav >div:nth-child(2) > form {
                    display: flex;
                    justify-content: center;
                     /* border: 4px solid green; */
                 } 
                
                 #bottom-nav >div:nth-child(2) > form {
                    width: 100%;
                 }
                
                 footer #footer-child{
                        gap: 20px 0px;
                        grid-template-columns: repeat(1,1fr);
                    }
                    .grand-div > .grand-div-child{
                        width: 95%;
                        height: auto;
                        margin-inline: auto;
                        gap: 15px 10px;
                        display: flex;
                        flex-wrap: wrap;
                    }
                    .grand-div > .grand-div-child >div{
                        width: 95%;
                    }
                    #bottom-nav>div:nth-child(3){
                        /* border: 2px solid red; */
                        width: 100%;
                    }
                    #bottom-nav>div:nth-child(3) a i{
                        font-size: 30px;
                        margin-right: 20px;
                        color: #4CAF50;
                        
                    }
                    #bottom-nav>div:nth-child(3) a span{
                        /* border: 2px solid red; */
                        color: gray;
                        font-size: 24px;
                        font-family: 'Rubik', sans-serif;
                    }
                    #bottom-nav>div:nth-child(3) #countspan{
                        margin-top: -20px;
                        margin-left: 15px;
                        width: 25px;
                        height: 25px;
                        padding: 5px;
                    }
                
                }
                @media (max-width: 768px) {
                    .slider {
                        height: 70vh;
                    }
                }
                
                @media (max-width: 480px) {
                    .slider {
                        height: 50vh;
                    }
                }
                @media (max-width: 768px) {
                    .centered-text {
                        font-size: 14px;
                    }
                }
                @media (max-width: 768px) {
                    .centered-text {
                        font-size: 14px;
                    }
                }
                