@media (min-width:320px) and (max-width:768px) {

    /* .site-header {


        height: 70px !important;
       
    } */
/*  #ab6752 */
    .navbar-brand img {
        height: 35px;
        width: 60px;
    }


    #site-header.sticky {
        position: fixed;
        display: block;
        z-index: 1050;
        top: 0;
        left: 0;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        /* Add shadow for sticky effect */
        

        transform: translateY(-5px);
        /* Moves it slightly upwards */
        transition: opacity 0.9s ease, transform 0.5s ease;
    }
}

#site-header {

    display: none;
}





.navbar-brand img {
    height: 75px;
}

.social-link {
    color: #000;
    font-size: 1.3rem;

    text-decoration: none;
}

.nav-icon {
    margin: 0 10px;
    color: #000;
    font-size: 1.3rem;
}

#search-bar {
    position: absolute;
    width: 100%;
    background: white;
    z-index: 1000;
    top: 0;
    left: 0;
}

#search-bar .container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

#search-bar .form-control {
    border-radius: 4px;
    border: 1px solid #C54B8C;
    font-size: 16px;
}

#search-bar .form-control:focus {
    outline: none;
    border-color: #ab6752;
    box-shadow: 0 0 5px rgba(171, 103, 82, 0.1);
}

#nav-row {
    position: relative;
}

.navbar {
    position: relative;
   padding: 0;
background-color: #f5f5f5;

   
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #C54B8C !important;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 50%;
}

.nav-icon {
    position: relative;
}
.right-icons a,i {
	color: #6F1B4C;
}


/* Categories Menu */
.categories-menu {
    border-top: 3px solid #f5f5f5;
    padding-top: 1px ;
    padding-bottom: 1px ;
    background-color: #f5f5f5;
    
    
}

.category-list {
    display: flex;

    justify-content: center;
    list-style: none;
    gap: 20px;
}
.mobile-category-list{

    display: flex;
    flex-direction: column;

    justify-content: center;
    list-style: none;
    gap: 15px;
}
.mobile-category-list a{

    color: #000;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.category-list a {
    color: #951390;
    text-decoration: none;
    font-size: 16px;
  
    
    
}



/* Responsive Styles */
@media (max-width: 768px) {

    .nav-left,
    .nav-right {
        display: none;
        /* Hide social icons and right icons */
    }

    .navbar-brand img {
        height: 35px;
    }

    .categories-menu {
        display: none;
    }
}







/* Sidebars */
.cart-sidebar,
.mobile-menu {
    position: fixed;
    top: 0;
    height: 100vh;
    width: 50%;
    background: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    z-index: 1051;
}

@media (max-width:768px) {

    .cart-sidebar,
    .mobile-menu {
        width: 90%;
    }

}

.cart-sidebar {
    right: 0;
    transform: translateX(100%);
}
.cart-buttons .checkout-btn{
    background-color: #C34A8A;
}
.mobile-menu {
    left: 0;
    transform: translateX(-100%);
}

.cart-sidebar.active,
.mobile-menu.active {
    transform: translateX(0);
    z-index: 1051;
}

/* Headers */
.cart-header,
.menu-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-btn {
    border: none;
    background: none;
    font-size: 24px;
    cursor: pointer;
}

/* Cart and Menu Content */
.cart-items,
.menu-content {
    padding: 20px;
}

/* User Dropdown */
.user-dropdown {
    display: none;
    position: absolute;
    top: 70%;
    right: 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    width: 200px;
    z-index: 100;
}

.user-dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.user-dropdown li a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
}

.user-dropdown li a:hover {
    background: #f5f5f5;
}

@media (min-width: 768px) {
    #userIcon:hover+#userDropdown {
        display: block;
    }
}

/* Overlay */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}














        /* Scroll Navbar */
        .scroll-navbar {
            position:fixed;
            /* Makes it fixed instead of sticky */
            top: 0;
            left: 0;
            width: 100%;
            /* Full width */
            opacity: 0;
            /* Hidden initially */
            transform: translateY(-20px);
            /* Moves it slightly upwards */
            transition: opacity 0.5s ease, transform 0.5s ease;
            /* Smooth transition */
            z-index: 1000;
            /* Ensures it stays on top of other content */
            pointer-events: none;
            /* Prevents interaction when hidden */
        }

        .scroll-navbar.visible {
            opacity: 1;
            /* Makes it visible */
            transform: translateY(0);
            /* Moves it back to its original position */
            pointer-events: auto;
            /* Enables interaction */
        }

        .second-navbar {
            
           padding: 5px;


           background-color: #ece6e6;
/* This is mostly intended for prototyping; please download the pattern and re-host for production environments. Thank you! */

        }
        
        .scroll-navbar .scroll-logo img {
            height: 80px;
        }

        .scroll-navbar .scroll-categories {
            display: flex;
            gap: 30px;
        }

        .scroll-navbar .scroll-categories a {
            color: #6F1B4C;
            text-decoration: none;
            font-size: 12px;
            letter-spacing: 0.5px;
        }

        /* .scroll-navbar .scroll-categories a:hover {
    color: green;
} */

        .scroll-navbar .scroll-icons {
            display: flex;
            /* gap: 15px; */
            /* margin: 0 10px; */
            color: #000;
            /* font-size: 1.3rem; */
        }

        .scroll-navbar .scroll-icons a {
            color: #000;
            /* font-size: 20px; */
            text-decoration: none;
            transition: color 0.3s;
            text-decoration: none;
        }


         
 @media (max-width: 768px) {
    .scroll-navbar {
        display: none;
    } 
} 














.mobile-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-category-list li {
    border-bottom: 1px solid #eee;
}

.mobile-menu-item {
    display: block;
    padding: 5px 7px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s;
}

.mobile-menu-item:hover {
    background-color: #f5f5f5;
    color: #007bff;
}







#sticky-mobile-menu {
    position: fixed;
    top: 0;
    left: -250px;
    /* Sidebar starts off-screen */
    height: 100vh;
    width: 250px;
    /* Set the width of the sidebar */
    background-color: #f5f5f5;
    /* Sidebar background */
    color: #333;
    /* Text color */
    transition: left 0.3s ease;
    /* Smooth transition when sliding in/out */
    z-index: 1051;
    /* padding: 20px; */
}

#sticky-mobile-menu .menu-content {

    background-color: #f5f5f5;
}


#sticky-mobile-menu.open {
    left: 0;
    /* Sidebar slides in */
}


