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

    .site-header {


        height: 70
        px !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 */
        background-color:   #ab6752;

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

#site-header {

    display: none;
}



/* .site-header {
    position: absolute; 
    top: 0;
    left: 0;
    right: 0;
    background: white;
    z-index: 999;  
    transition: transform 0.3s ease-in-out;
} */

/* .site-header.hide {
    transform: translateY(-100%);
} */

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

.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 #ab6752;
    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;
   
        background-color: #ab6752;
   
}

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

.nav-icon {
    position: relative;
}
.right-icons a,i {
	color: #f5f5f5;
}
/* .cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: red;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 50%;
} */

/* Categories Menu */
.categories-menu {
    border-top: 1px solid #ddd;
    padding: 10px 0;
}

.category-list {
    display: flex;

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

    display: flex;

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

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

.category-list a {
    color: #000;
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 0.5px;
}

/* .category-list a:hover {
    color: green;
} */

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

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

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

    .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%);
}

.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;
}

.wishlist-sidebar {
    position: fixed;
    top: 0;
    right: 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: 1000;
    transform: translateX(100%);
}

@media (max-width:768px) {
    .wishlist-sidebar {
        width: 90%;
    }
}

.wishlist-sidebar.active {
    transform: translateX(0);
}

.wishlist-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wishlist-items {
    padding: 20px;
}