@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Winky+Sans:ital,wght@0,300..900;1,300..900&display=swap');

.my-text{
    font-family: "Winky Sans", sans-serif;
}

.myContainer{
    transition: transform .5s;
    background-color: #FFF0DC;
}

body{
    margin: 0;
    font-family: "Winky Sans", sans-serif;
}

/*All categories Btn*/


.category-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
    font-family: "Winky Sans", sans-serif;
}

.category-nav button {
    background-color: #F0BB78;
    color: black;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 20px;
    cursor: pointer;
    filter: drop-shadow(0 1px 2px #0009);
}

.category-nav button:hover {
    background-color: #F0BB78;
}


/*container for products*/

.container {
    margin: auto;
    max-width: 100vw;
    text-align: center;
    padding-top: 10px;
}



/*END container for products*/

/* Start nav bar */

.navbar{
    background-color: #FFF0DC;
}

.navbar .icon-cart{
    position: relative;
    
}

.navbar .icon-cart span{
    display: flex;
    width: 25px;
    height: 25px;
    background-color: red;
    justify-content: center;
    align-items: center;
    color: #fff;
    border-radius: 50%;
    position: absolute;
    bottom: 75%;
    right: -20px;
}

.container{
    padding-inline: 1.5rem;
    
}

/* ops */
.icon-cart{
    margin-top: 0.9rem;
}

.datebtn{
    background-color: #F0BB78;
    border: none;
    border-radius: 13px;
    padding: .5rem;
    font-family: "Winky Sans", sans-serif;
}

.applybtn{
    background-color: #F0BB78;
    border: none;
    border-radius: 7px;
          /*top, right, bot, left*/
    padding: 5px 20px 5px 20px;
}

.modal-body{
    padding-top: 0%;
    padding-bottom: 0%;
    padding-top: 20px;
}

.clear-dates{
    display: flex;
    justify-content: flex-end;
    padding: 10px 25px;
}


.btnclear{
    border: none;
    background: none;
    
}

/* END nav bar */

/* Product List*/

.listProduct .item img {
    width: 90%;
    filter: drop-shadow(0 5px 10px #0009);
    display: block;
    margin-left: auto;
    margin-right: auto;

}

.listProduct{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding: 20px;
    font-family: "Winky Sans", sans-serif;
}

.listProduct .item{
    background-color: #FFF0DC;
    padding: 20px;
    border-radius: 20px;
    filter: drop-shadow(0 1px 4px #0009);
}

.listProduct .item h2{
    margin-top: 1rem;
    font-weight: 500;
    font-size: larger;
    padding-top: 1rem;
}

.listProduct .item .price{
    letter-spacing: 0px;
    font-size: large;
}

.listProduct .item button{
    background-color: #F0BB78;
    color: #000;
    border: none;
    padding: 5px 10px;
    margin-top: 10px;
    border-radius: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    filter: drop-shadow(0 2px 2px #0009);
}

/*END Product List*/


/* Cart */

.cartTab{
    width: 410px;
    background-color: #353432;
    color: #eee;
    position: fixed;
    inset: 0 -410px 0 auto;
    display: grid;
    grid-template-rows: 70px 1fr 70px;
    transition:  .5s;
    font-family: "Winky Sans", sans-serif;
}

body.showCart .cartTab{
    inset: 0 0 0 auto;
}

body.showCart .myContainer{
    transform: translateX(-420px);
}

.cartTab h1{
    padding: 10px 0 0 25px ;
    margin: 0;
    font-weight: 300;
    background-color: #F0BB78;
    color: #000;
}

.cartTab .btn{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    padding-right: 1%;
    padding-left: 1%;
    
}

.cartTab .btn button{
    background-color: #F0BB78;
    border: none;
    font-family: Poppins;
    font-weight: 500;
    cursor: pointer;
    border-radius: 10px;
    font-family: "Winky Sans", sans-serif;
}



.cartTab .btn .close{
    background-color: #eee;
    font-family: "Winky Sans", sans-serif;
}

.cartTab .btn .clearCart{
    background-color: #eee;
    font-family: "Winky Sans", sans-serif;
}


.cartTab .listCart .item img{
    width: 100%;
}

.cartTab .listCart .item{
    display: grid;
    grid-template-columns: 70px 140px 70px 1fr;
    gap: 10px;
    text-align: center;
    align-items: center;
    padding-top: .5rem;
    padding-bottom: .5rem;
}

.listCart .quantity span {
    display: inline-block;
    width: 25px;
    height: 25px;
    background-color: #eee;
    border-radius: 50%;
    color: #555;
    cursor: pointer;
}

.listCart .quantity span:nth-child(2) {
    background-color: transparent;
    color: #eee;
    cursor: auto;
    
}

.listCart .item:nth-child(even){
    background-color: #eee1;
}

.listCart {
    overflow: auto;
    padding: .2rem;
    margin: .2rem;
    padding-top: 1rem;
}

.listCart::-webkit-scrollbar {
    width: 0;
}

/* END Cart */

/* Mobile-specific adjustments for cart tab start*/

@media (max-width: 768px) {
    .cartTab {
        width: 100%; /* Full width on mobile */
        inset: 0 -100% 0 auto; /* Adjust off-screen position */
    }
    
    body.showCart .cartTab {
        inset: 0 0 0 auto; /* Full screen when visible */
    }
    
    .cartTab .btn {
        grid-template-columns: 1fr 1fr 1fr; /* Keep 3 columns but make them flexible */
        gap: 5px;
        padding: 10px;
        overflow-x: auto; /* Allow horizontal scrolling if needed */
    }
    
    .cartTab .btn button {
        min-width: 100px; /* Minimum width for buttons */
        padding: 8px 5px; /* Adjust padding */
        font-size: 14px; /* Slightly smaller font */
        white-space: nowrap; /* Prevent text wrapping */
    }
    
    .listCart {
        padding-bottom: 20px; /* Extra space at bottom */
    }
    
    /* Ensure checkout button is always visible */
    .cartTab .btn .checkOut {
        position: relative;
        z-index: 1;
        background-color: #F0BB78; /* Maintain your gold color */
        color: #000;
    }
}


/* Mobile-specific adjustments end*/

/*category filtering start*/

.category-nav button.active {
    background-color: #FFF0DC;
    color: black;
    border: 1px solid #353432;
    
}

/*category filtering start*/

/* Start Admin_Login */

.error-message {
    color: red;
    text-align: center;
    margin-bottom: 10px;
    font-family: "Roboto Slab", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.admin-login-body{
    display: flex;
    justify-content: center;
    background: linear-gradient(to right, #fffaf3, #fdd5a2);
    color: #333;
    margin: 15% 0 0 0 ;
}

.login-container{
    margin: 0 15px;
}

.form-box{
    width: 100%;
    max-width: 450px;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow:  0 0 10px rgba(0, 0, 0, 0.1);
}

.h2-login{
    font-size: 34px;
    text-align: center;
    margin-bottom: 20px;
    font-family: "Roboto Slab", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

.login-input{
    width: 100%;
    padding: 12px;
    background: #eee;
    border-radius: 6px;
    border: none;
    outline: none;
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
}

.register-input,select{
    width: 100%;
    padding: 12px;
    background: #eee;
    border-radius: 6px;
    border: none;
    outline: none;
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
}

.register-input::placeholder{
    font-family: "Roboto Slab", serif;
    font-optical-sizing: auto;
    font-weight: 350;
    font-style: normal;}

.login-btn{
    width: 100%;
    padding: 12px;
    background: #F0BB78;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #fff;
    font-weight: 500;
    margin-bottom: 20px;
    transform: 0.5s;
    font-family: "Roboto Slab", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.login-btn:hover{
    background: #ffbf6b;
}
/**/

.password-container {
    position: relative;
    width: 100%;
}

.password-container input {
    width: 100%;
    padding-right: 40px;
    /* Space for the eye icon */
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #6c757d;
    /* Bootstrap secondary color */
}

.password-toggle:hover {
    color: #495057;
    /* Darker on hover */
}

.forgot-password {
 
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
}

.forgot-password a {
    color: #007bff;
    /* Bootstrap primary color */
    text-decoration: none;
}

.forgot-password a:hover {
    text-decoration: underline;
}
/* End Admin_Login */

/*Start Sticky Navbar*/
.sticky-navbar{
    background-color: #F0BB78;
    position: relative;
    top: 0;
    overflow: hidden;
    width: 100%;
    display: flex;
    justify-content: center;
}

.sticky-navbar a {
    color: black;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    font-family: "Winky Sans", sans-serif;
}

/*End Sticky Navbar*/


/* FOOTER */
.ers-footer-16 .container-fluid .row.footer-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
    background-color: #FFF0DC;
    font-family: 'Inter', sans-serif;
}

.ers-footer-16 .container-fluid .row .col-md-3 {
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center; 
    padding: 20px; 
    margin-bottom: 20px; 
}

.footer-logo img {
    width: 100%;
    max-width: 150px;
}

.social-icons {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.social-icons a {
    margin-right: 10px;
}

/* Media query for medium screens */
@media (min-width: 768px) {
    .ers-footer-16 .container-fluid .row.footer-row {
        justify-content: center;
    }
}

/* Media query for small screens */
@media (max-width: 768px) {
    .ers-footer-16 .container-fluid .row.footer-row {
        justify-content: center;
    }

    .ers-footer-16 .container-fluid .row .col-md-3 {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}

.footer-menu {
    color: #000000;
}

.footer-contactus {
    color: #000000;
}

.footer-menu h3{
    font-size: 28px;
    margin-bottom: 15px;
    text-align: center;
}

.footer-contactus h3{
    font-size: 28px;
    margin-bottom: 15px;
    text-align: center;
}

.footer-content ul{
    text-align: center;
}
.footer-menu .list{
    padding: 0;
}
.footer-menu .list li{
    width: auto;
    text-align: center;
    list-style-type:none;
    padding: 4px;
    position: relative;
}
.footer-menu .list li::before{
    position: absolute;
    transform: translate(-50%,-50%);
    left: 50%;
    top: 100%;
    width: 0;
    height: 2px;
    background: #F0BB78;
    transition-duration: .5s;
}
.footer-menu .list li:hover::before{
    width: 70px;
}
.social-icons{
    text-align: center;
    padding: 0;
}
.social-icons li{
    display: inline-block;
    text-align: center;
    padding: 5px;
}

.footer-menu a{
    text-decoration: none;
    color: #000000;
}
.footer-menu a:hover{
    color: #F0BB78;
}

.copyright {
    background-color: #000000;
    color: #ffffff;
}



/* mobile */


@media only screen and (max-width: 992px) {
    .listProduct {
        grid-template-columns: repeat(3, 1fr);
    }
}


@media only screen and (max-width: 768px) {
    .listProduct {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* end mobile */

/* Checkout Validation Modal Styles */
.checkout-validation-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
  }
  
  .validation-modal-content {
    background-color: #FFF0DC;
    margin: 20% auto;
    padding: 30px;
    width: 80%;
    max-width: 400px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  }
  
  #validation-message {
    color: #353432;
    margin: 20px 0;
    font-size: 1.5rem; /* Bigger text */
    font-weight: bold;
    font-family: "Winky Sans", sans-serif;
  }
  
  .validation-modal-btn {
    background-color: #F0BB78;
    color: #000;
    border: none;
    padding: 12px 25px;
    font-size: 1.1rem;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
  }
