@media(min-width:767px){
    .desktop-element{
        display: block;
    }
    .mobile-element{
        display: none;
    }
}
@media(max-width:767px){
    .desktop-element{
        display: none;
    }
    .mobile-element{
        display: block;
    }
    /* .headerSecondary, .headerPrimary{
        display: none;
    } */

    .topBar{
        background-color: #0547ff;
        padding: 20px;
    }
    .topBar i.fa-bars{
        font-size: 20px;
        color: white;
    }
    .topBar .notification-icon,
    .topBar .cart-icon{
        color: white;
        font-size: 26px;
    }
    .topBar p{
        color: white;
        font-size: 20px;
    }
    .topBar .top1{
        display: flex;
        justify-content: space-between;
    }
    .topBar .top2{
        position: relative;
    }
    .topBar .top2 input{
        background-color: white;
        width: 100%;
        border: none;
        font-size: 17px;
        padding: 10px 45px;
        border-radius: 5px;
    }
    .topBar .top2 i{
        position: absolute;
        top: 12px;
        font-size: 20px;
        color: black;
        left: 11px;
        font-weight: 400;
    }
    .top1 div{
        width: 10%;
    }
    .top1 div.items{
        width: 66%;
        padding-left: 20px;
    }
    .top1 .icons{
        width: 14%;
        text-align: right;
        position: relative;
        cursor: pointer;    
    }

    .top1 .icons span.icon-span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background-color: #ff3b30;
        color: white;
        font-size: 14px;
        font-weight: bold;
        border-radius: 50%;
        min-width: 24px;
        height: 24px;
        padding: 0 6px;
        line-height: 1;
        position: absolute;
        top: -14px;
        right: -10px;
    }

    .top1 div.items ul{
        list-style-type: none;
        position: absolute;
        top: 46px;
        background: #fede01;
        min-width: 200px;
        z-index: 100;
        padding:0;
    }
    .top1 div.items ul li{
        padding: 0;   
    }
    .top1 div.items ul li a{
        display: block;
        background: #ffffff;
        padding: 4px 15px;
        margin: 0;
        border-bottom: 1px solid #d8d8d8;
        box-shadow: 0 0 2px 0;
        transition: all .3s;
    }
    .top1 div.items ul li a:hover{
        background-color: #fede01;    
    }
    .category-items:hover > .toggle-category {
        display: block;
    }
    .toggle-category{
        display: none;
    }
    /* Custom bar css */
    /* Main container for the hamburger icon */
    .hamburger-icon {
        display: inline-block;
        cursor: pointer;
        width: 30px!important; /* Adjust width */
        height: 24px; /* Adjust height */
        position: relative;
    }

    /* Each bar styling */
    .hamburger-icon div {
        width: 100%;
        height: 3px;
        background-color: #fff;
        margin: 4px 0;
        border-radius: 2px;
        transition: all 0.3s ease;
        cursor: pointer;
    }

    /* Optional hover effect */
    .hamburger-icon:hover div {
        background-color: #fff; /* Change color on hover */
    }


    .sidebar{
        position: fixed;
        background: white;
        height: 100%;
        top: 0;
        width: 250px;        
        margin-left: 0px;
        transition: all .5s;
        margin-left: -250px;
        overflow: scroll;
    }
    .toggle-sidebar{    
        box-shadow: -2px 0px 20px 3px black;
        margin-left: 0px;
    }
    .sidebar ul{
        list-style: none;
        padding: 0;
    }
    .sidebar ul li{
        margin: 0;
    }
    .sidebar ul li a{
        font-size: 15px;
        display: block;
        padding: 9px 26px;
        border-top: 1px solid #0000001a;
    }
    .sidebar ul li a i{
        margin-right: 12px;
    }
    .dropdown .rightCaret{
        position: absolute;
        right: 0;
    }
    .sidebar-dropdown{
        height: 0;
        overflow: hidden;
        transition: all .5s;
    }
    .sidebar-dropdown li a{
        padding-left: 58px!important;
        background: #d3d3d33d;
        border-left: 2px solid #fede01;
    }
    .show-sidebar-dropdown{
        transition: all .5s;
        height: 100%;
    }
    .closeBtn{
        position: absolute;
        right: 12px;
        background: black;
        color: white;
        width: 31px;
        height: 31px;
        text-align: center;
        top: 13px;
        font-size: 20px;
        cursor: pointer;
    }

    .category-box{
        background: #e9edf6;
        margin: 6px;
        padding: 1px;
        border-radius: 13px;
        position: relative;
        display: grid;
    }
    .category-box div img {
        width: clamp(52px, 100vw, 50%);
        height: clamp(52px, 5vw, 50%);
        margin: 2px;
        /* height: 50px; */
        border-radius: 12px;
    }
    .category-box .name {
        margin: 0;
        font-size: clamp(15px, 2vw, 19px);
        font-family: system-ui;
        font-weight: 600;
        text-align: center;
    }               
    .category-box .tag {
        position: absolute;
        top: 48px;
        display: flex;
        width: 100%;
        justify-content: center;
    }
    .category-box .tag p{
        background: white;
        border-radius: 21px;
        text-align: center;
        width: 76%;
        font-size: clamp(10px, 4vw, 20px);
    }
    .heading{
        font-size: clamp(19px,2vw,21px);
        font-weight: bold;
        margin-top: 16px;
        margin-bottom: 6px;
        border-bottom: 1px solid #c6c6c6;
        padding-bottom: 2px;
        font-family: sans-serif;
    }

    .productSliders .productName {
        font-size: clamp(12px, 2vw, 16px);
        margin: 0;
        padding: 0;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2; /* Limit text to 3 lines */
        overflow: hidden; /* Hide the overflow */
        text-overflow: ellipsis; /* Add an ellipsis if needed */
        word-break: break-word; /* Ensure proper word breaking */
    }
    .productSliders ins{
        text-decoration: none;
        color: green;
        font-weight: bold;
    }
    .productSliders del{
        color: red;
        font-weight: bold;
    }
    .productSliders .owl-dots{
        text-align: center;
    }
    .productSliders .owl-dots .owl-dot span{
        color: black;
        background: blue;
        width: 10px;
        height: 10px;
        display: inline-block;
        border-radius: 100%;
        margin: 0 5px;    
    }
    .productSliders .owl-dots .owl-dot.active span{
        width: 13px!important;
        height: 13px!important;    
    }
    .view-more {
        background: #bbbbbb26;
        min-height: 158px;
        border-radius: 10px;
        display: flex;
        justify-content: center;
        align-items: center;
        box-shadow: 0 0 2px 0 lightgray;
    }
    .view-more a{
        background: #fede01;
        padding: 10px;
        border-radius: 5px;
        font-weight: bold;
    }
    .view-more a i{
        visibility: hidden;
    }
    .view-more a:hover, .view-more a i{
        visibility: visible;
        padding-left: 10px;
    }

    @media (min-width:768px){
        .notifications {
        position: absolute;
        z-index: 100;
        background: black;
        width: 395px;
        text-align: left;
        padding-top: 12px;
        padding-left: 13px;
        padding-right: 13px;
        max-height: 400px;
        padding-bottom: 18px;
        overflow: scroll;
        }
    }
    @media screen and (max-width: 768px) {
        .notifications {
            position: fixed;
            top: 62px;
            right: 0;
            width: 100%;
            height: 100%;
            max-height: none;
            background: black; /* Keep the background color */
            padding: 20px;
            overflow-y: auto;
            z-index: 1050;
            right: 0px;
        }
    }                
    .notifications li a {
        display: flex;
        border-top: 1px solid #ffffff8a;
        padding-top: 10px;
        padding-bottom: 6px;
    }
    .notifications li.top-header{
        list-style: none;
        color: white;
    }


    .notifications li a div h6{
        color: white;
        display: flex;
        justify-content: space-between;
        padding-left: 11px;
        margin-bottom: 0;
    }
    .notifications li a div p {
        font-size: 13px;
        padding-left: 12px;
        padding-top: 0!important;
        margin-top: 4px;
    }
    .notifications li a img {
        width: 50px;
        height: 50px!important;
    }

}