body {
    font-family: 'DM Sans', sans-serif;
    /* Setting DM Sans as the default font */
    margin-top: -2% !important;
}

/* Mobile View CSS Start */
.sidebar {
    position: fixed;
    top: 70px;
    left: -250px;
    width: 250px;
    height: calc(100vh - 55px);
    transition: 0.3s ease-in-out;
    z-index: 1000;
    padding-top: 18px;
    padding-bottom: 30px;
    background-color: white;
    box-shadow: 2px 0 4px rgb(0 0 0 / 0%);
}

.include-header-1 {
  
    position: sticky; /* Make the header sticky */
    top: 0;
    z-index: 1000; /* Ensure it is above other content */
   
}


.upper {
    background-color: white;
    padding: 10px 20px;
    height: auto;
}

.lower {
    background-color: #e6e6e6;
    padding: 10px 20px;
    height: 100%;
}

.sidebar.open {
    left: 0;
}

/* Default navbar settings */
.navbar {
    display: block;
}
.sticky-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}
  

/* Hide navbar on screens wider than 991px */
@media (min-width: 992px) {
    .navbar {
        display: none;
    }
}

/* Ensure navbar is visible on screens between 786px and 991px */
@media (min-width: 786px) and (max-width: 991px) {
    .navbar {
        display: block;
    }
}

.navbar-mobile {
    background-color: white;
    box-shadow: 0 1px 8px rgb(0 0 0 / 18%);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-desktop {
    width: 90%;
    /* justify-content: space-between; */
    background-color: white;
    /* box-shadow: 0 1px 8px rgb(0 0 0 / 18%); */
    box-shadow: 0 3px 5px rgb(0 0 0 / 18%);
    padding: 4px 0px;
    margin-left: 4%;
    margin-top: 2%;
    border-radius: 11px;
    font-size: 0.8rem;
    font-weight: bold;
}

.menu-icon {
    position: relative;
    width: 48px;
    height: 38px;
    padding: 10px;
    cursor: pointer;
}

.menu-icon input {
    display: none;
}

.menu-icon span {
    display: block;
    position: relative;
    height: 3px;
    width: 100%;
    background: black;
    border-radius: 10px;
    opacity: 1;
    left: 0;
    margin-bottom: 24%;
    transition: 0.3s ease-in-out;
}

.menu-icon span {
    transform-origin: left center;
}

.menu-icon input:checked~span {
    background: black;
    left: 5px;
    margin-bottom: 28%;
}

.menu-icon input:checked~span:nth-of-type(1) {
    transform: rotate(45deg);
}

.menu-icon input:checked~span:nth-of-type(2) {
    opacity: 0;
}

.menu-icon input:checked~span:nth-of-type(3) {
    transform: rotate(-45deg);
}

.sidebar li {
    margin-bottom: 25px;
}

.sidebar li a {
    color: black;
    font-weight: 500;
    font-size: 0.9rem;
}

.sidebar>.upper>ul>li.active>a {
    color: #f26d7b;
    text-decoration: none;
}

.cart-container {
    position: relative;
    margin-left: 100px;
}

.cart-link {
    color: #333;
    font-size: 1.4rem;
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #dc3545;
    color: #fff;
    font-size: 0.8rem;
    padding: 4px 6px;
    border-radius: 50%;
}

.horizontal-line {
    width: calc(100% + 50px);
    margin: 0 -30px;
    height: 0px !important;
    background-color: lightgrey;
    margin-top: 30px;
}

.mobile-dash p a {
    text-decoration: none;
    color: black;
    font-size: 12px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background-color: white;
    /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);*/
    z-index: 1000;
    /* padding: 5px 0; */
    margin: 0;
}

.dropdown-menu li {
    padding: 0px 10px;
}

.dropdown-menu li:hover {
    background-color: #f0f0f0;
}

.sidebar li:hover .dropdown-menu {
    display: block;
}

.dropdown-toggle::after {
    display: none !important;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
}

.dropdown-toggle i {
    margin-left: auto;
}

.sidebar>.upper>ul>li.active>a>i {
    color: black;
}

.menu-toggle {
    margin-right: 20px;
}

.navbar-brand {
    width: auto;
}

.cart-container {
    margin-left: auto;
}

@media only screen and (max-device-width: 568px) {
    .sidebar li a {
        font-size: 0.7rem;
        /* padding: 10px; */
    }
    
    .upper, .lower {
        padding: 10px !important;
    }
}

@media only screen and (max-device-width: 367px) {
    .sidebar li a {
        font-size: 0.7rem;
        /* padding: 10px; */
    }
}

.submenu {
    display: none;
    text-decoration: none;
    list-style-type: none;
}

.submenu.open {
    display: block;
    text-decoration: none;
}


.submenu li {
    padding: 0px 0px;
}

.nav__button_cart_mobile {
   /* padding-right: 0px; */
   position: relative;
}


.item-count-mobile {
   position: absolute;
   top: 46%;
   left: 50%;
   transform: translate(-50%, -50%);
   color: black;
   border-radius: 50%;
   width: 16px;
   height: 16px;
   font-size: 0.9rem;
   line-height: 20px;
   text-align: center;
}

.item-count-mobile {
   display: block;
}

.phone_img{
    vertical-align: middle;
    border-style: none;
    padding-left: 22%;
}

/* .user-login{
    color: black;
    font-size: 0.9rem; 
    font-weight: bold; 
    margin-top: 20px;
} */

.user-login{
    color: black;
    font-size: 0.75rem; 
    /* font-weight: bold;  */
    margin-top: 20px;
}
/* Mobile View CSS End */

.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

/* Prevent scrolling when sidebar is open */
html.sidebar-open {
    overflow: hidden;
  }

/* Desktop CSS Start */
.nav {
    position: fixed;
    width: 90%;
    background-color: white;
    box-shadow: 0 3px 5px rgb(0 0 0 / 18%);
    padding: 4px 0px;
    margin-left: 5%;
    margin-top: 2%;
    border-radius: 11px;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    top: 0;
    z-index: 1000;
}

.nav__logo img {
    vertical-align: middle;
    margin-left: 1vw;
}

.nav__item a {
    color: #000;
    text-decoration: none;
}

.nav__items {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
    justify-content: space-evenly;
    margin-left: 0;
}

.nav__item {
    margin-right: 5vw;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 270px;
    z-index: 1;
    top: calc(100% + 23.5px);
}

.show-dropdown .dropdown-content {
    display: block;
}

.dropdown i {
    color: #000;
}

.dropdown-content a {
    display: block;
    padding: 10px 22px;
}

.nav__buttons {
    display: flex;
    align-items: center;
}

.nav__button {
    margin-left: 20px;
    color: #000;
    text-decoration: none;
}

.nav__button_login {
    background-color: #f05969;
    padding: 12px 24px;
    color: white;
    border-radius: 12px;
    font-weight: lighter;
}

.nav__button_cart {
    padding-right: 28px;
    position: relative;
}

.cart-icon {
    position: relative;
    display: inline-block;
}

.item-count {
    position: absolute;
    top: 46%;
    left: 31%;
    transform: translate(-50%, -50%);
    color: black;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.9rem;
    line-height: 20px;
    text-align: center;
}

.item-count {
    display: block;
}

.nav__item.active>a {
    color: #f26d7b !important;
}

@media screen and (max-width: 1300px) {
            .nav__items {
                margin-left: 0;
                font-size: 0.7rem;
            }
            .nav__item {
                margin-right: 3vw;
            }
            
        }

#checkbox {
    display: none;
}

.toggle {
    position: relative;
    width: 1.2rem;
    height: 1rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition-duration: .5s;
    margin-top: 10px;
}

.bars {
    width: 100%;
    height: 2px;
    background-color: BLACK;
    border-radius: 4px;
}

#bar2 {
    transition-duration: .8s;
}

#bar1,
#bar3 {
    width: 100%;
}

#checkbox:checked+.toggle .bars {
    position: absolute;
    transition-duration: .5s;
}

#checkbox:checked+.toggle #bar2 {
    transform: scaleX(0);
    transition-duration: .5s;
}

#checkbox:checked+.toggle #bar1 {
    width: 100%;
    transform: rotate(45deg);
    transition-duration: .5s;
}

#checkbox:checked+.toggle #bar3 {
    width: 100%;
    transform: rotate(-45deg);
    transition-duration: .5s;
}

#checkbox:checked+.toggle {
    transition-duration: .5s;
    transform: rotate(180deg);
}

.nav {
    transition: top 0.3s ease-in-out; /* Smooth transition for top position */
}

/* Desktop CSS End */
.nav__button_login {
    background-color: #f05969;
    padding: 12px 24px;
    color: white;
    border-radius: 12px;
    font-weight: lighter;
    position: relative;
}

.nav__button_login:hover {
    color: white;
}
.username {
    color: black;
    font-size: 0.9rem;
    font-weight: bold;
    margin-top: 20px;
    word-wrap: break-word;
    white-space: normal;
    display: inline-block;
    max-width: 150px;
}
.login-dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 270px;
    z-index: 1;
    top: calc(100% + 10px);
    left: 0;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}
.login-dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}
.login-dropdown-content a:hover {
    background-color: #ddd;
}
.show-login-dropdown .login-dropdown-content {
    display: block;
}

@media (min-width: 992px) and (max-width: 1200px) {
    .nav {
        width: 94% !important;
        margin-left: 3% !important;
    }
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* 80% black overlay */
    backdrop-filter: blur(0px); /* Blur effect */
    z-index: 999; /* Ensure it's below the sidebar but above other content */
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none; /* Prevents clicks */
}

.sidebar.open + .sidebar-overlay {
    opacity: 1;
    pointer-events: auto; /* Enables clicks when visible */
}
