.cart-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
    background-color: #FFF;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

.my-cart-icon {
    font-size: 24px;
    z-index: 10002;
}

.my-cart-badge {
    background-color: #4A786D;
    color: #fff;
    padding: 1px 6px 1px 6px;
    font-size: 12px;
    position: absolute;
    top: 23px;
    right: 6px;
    width: 10px; 
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.cart-sidebar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100%;
    background-color: #fff;
    border-radius: 0px 25px 25px 0px;
    z-index: 1001;
}


.cart-sidebar.show {
    right: 0; 
}

.cart-content {
    padding: 20px;
}

#closeCartBtn{
    color: #333;
    padding: 10px;
    border: none;
    margin-bottom: 10px;
    cursor: pointer;
    border-radius: 5px;
}

#clearCartBtn {
    background-color: #d9534f;
    color: #fff;
    padding: 10px;
    border: none;
    margin-bottom: 10px;
    cursor: pointer;
    border-radius: 5px;
}

#clearCartBtn {
    background-color: #444;
    float: left;
}

h4 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: bold;
    margin-top: 20px;
}

#cartItemsList {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 320px; 
    overflow: auto; 
}

#cartItemsList li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #ddd;
    font-size: 13px;
    margin-right: 10px;
}

#cartItemsList img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    margin-right: 10px;
    border-radius: 5px;
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-details h3 {
    margin: 0;
    font-size: 1.2em;
}

.cart-item-details p {
    margin: 5px 0;
    color: #666;
}

.cart-item-details .price {
    font-weight: bold;
}

.quantity-controls {
    display: flex;
    align-items: center;
    font-family: IRANSans;
}

.quantity-controls button {
    background-color: #ddd;
    color: #444;
    border: none;
    padding: 3px 8px 3px 8px;
    margin: 0 5px;
    cursor: pointer;
    overflow: hidden;
    width: 23px;
    height: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.remove-item {
    text-decoration: none;
    cursor: pointer;
    background-color: transparent;
    border: none;
    font-size: 14px;
}

#totalPrice {
    display: block;
    margin-top: 20px;
    font-size: 1.2em;
    font-weight: bold;
}
#explainCustomer {
    position: fixed;
    bottom: 0;
    display: block;
    margin-top: 20px;
    font-size: 18px;
    margin-bottom: 60px;
    color: #333;
    font-weight: lighter;
    text-align: center;
    margin-left: 17px;
}
.add-to-cart-btn {
    background-color: #F1F5F9;
    color: #000;
    padding: 8px;
    border: 1px solid #9DB7B3;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    border-radius: 10px;
    transition: background-color 0.3s ease; 
    font-family: IRANSans;
    font-size: 12px;
    
    
}
.add-to-cart-btn i {
    font-size: 14px;
    vertical-align: middle;

}
.add-to-cart-btn:hover {
    background-color: transparent; 
}
#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px); 
    z-index: 1000;
}
       * {


        }

        ::-webkit-scrollbar {
            width: 12px; 
        }
        
        ::-webkit-scrollbar-track {
            background-color: #F0F0F1; 
        }
        
        ::-webkit-scrollbar-thumb {
            background-color: #C0C2C5; 
            border-radius: 15px; 
            border: 3px solid #F0F0F1; 
        }
        ::-webkit-scrollbar-thumb:hover {
            background-color: #B3B5B8;
        }

        .submenu-title-container {
            scroll-behavior: smooth;
        }

        body {
            direction: rtl;
            font-family: 'Arial', sans-serif;
            margin-bottom: 0px;
            padding-bottom: 0px;
            font-family: IRANSans;
            transition: transform 0.65s;
            background-color: #FFF;
        }

        .menu-container {
            margin: auto;
            width: 97%;
            margin-top: 12px;
            overflow-x: hidden;
            position: sticky;
            top: 10px;
            z-index: 1000;
            background-color: rgba(74, 120, 109, 0.2); 
            backdrop-filter: blur(30px); 
            -webkit-backdrop-filter: blur(30px); 
            border: 2px solid #4A786D;
            border-radius: 25px;
            user-select: none; 
           -webkit-user-select: none; 
           -ms-user-select: none;
        }
        
        .menu {
            display: flex;
            flex-direction: row;
            background: transparent;
            color: #fff; 
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
            padding: 10px;
            white-space: nowrap;
            width: 100%;
            box-sizing: border-box;
        }
        


        .category {
            flex: 1;
            text-align: center;
            cursor: pointer;
            transition: background-color 0.3s;
            padding: 8px 27px 8px 27px;
            background-color: rgba(0, 0, 0, 0.15);  
            background-color: -webkit-rgba(0, 0, 0, 0.15);
            backdrop-filter: blur(30px); 
            -webkit-backdrop-filter: blur(30px); 
            border-radius: 25px;
            transform: scale(0.75);
            

        }

        .category:hover {
            background-color: rgba(0, 0, 0, 0.28); 
            background-color: -webkit-rgba(0, 0, 0, 0.28);
            backdrop-filter: blur(20px); 
            -webkit-backdrop-filter: blur(20px);  
        }
        
        .category.selected {
            background-color: rgba(0, 0, 0, 0.35); 
            background-color: -webkit-rgba(0, 0, 0, 0.35);
            backdrop-filter: blur(20px); 
            -webkit-backdrop-filter: blur(20px); 
            transform: scale(1);
        }
        
        .category img {
            width: 60px;
            height: 60px;
            object-fit: cover;
            border-radius: 3px;
            margin-bottom: 10px;
        }
        .logo-menu {
            width: 100px;
            margin-right: 20px;
        }
        .submenu {
            display: grid; 
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); 
            gap: 10px;
            row-gap: 20px;
            overflow-x: hidden;
        }

        .submenu-title-container {
            width: 100%;
            text-align: center;
            margin-bottom: 20px;
            position: relative;
            margin: 0 auto;

        }

        .submenu-title {
            display: inline-block;
            padding: 15px;
            background-color: #FFF;
            font-size: 1em;
            position: relative;
            z-index: 1;
            color: #5F5B5B;
        }

        .horizontal-line {
            border: 1px solid #5F5B5B;
            width: calc(100% - 50px);
            margin: 0 auto;
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            left: 0;
            right: 0;
            z-index: 0;
        }
        .submenu-item {
            display: flex; 
            flex-direction: row;
            align-items: center;
            height: 200px;
            width: 100%;
            background-color: #E5DCDC;
            border-radius: 15px;
            overflow: hidden;
            transition: transform 0.3s;
            cursor: pointer;
        }



        .submenu-item img {
            width: 40%;
            height: 120px;
            object-fit: cover;
            margin-right: 15px;
            border-radius: 8px;
        }

        .submenu-item-content {
            padding: 15px;
            width: 60%;
        }


        .submenu-item-content p {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-align: justify;
            position: relative;
            font-size: 11px;
        }

        .price {
            display: block;
            font-weight: bold;
            color: #000;
            font-size: 18px;

        }
        .pricetext {
            font-weight: 200;
            font-size: 13px;
        }


        h2 {
            margin-top: 0;
            font-size:16px;
        }
        .add-crt-prc {
            align-items: center;
            display: flex;
            justify-content: space-between;
        }
        body.popup-open {
            overflow: hidden;
            
        }

        .popup {
            position: fixed;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            background-color: #fff;
            padding: 20px;
            border: 1px solid #ddd;
            z-index: 1000;
            width: 95%;
            border-radius: 12px 12px 0px 0px;
            text-align: justify;
            
        }

        .popup-content {
            text-align: center;
            padding-bottom: 0px;
        }

        .popup-image {
            margin: auto;
            max-height: 400px;
            width: 310px;
            border-radius: 5px;
            margin-bottom: 10px;
        }

        .popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            -webkit-backdrop-filter: blur(5px);
            backdrop-filter: blur(5px);
            z-index: 999;
            display: none;
        }

        .popup-open .popup-overlay {
            display: block;
        }

        .header {
            margin-top: 20px;
            align-items: center;
            display: flex;
            background-color: #4A786D;
            color: #FFF;
            margin: auto;
            width: 80%;
            border-bottom: 1px solid #666;
            border-radius: 50px;
        }

        .header img {
            width: 70px;
            margin-right: 10px;
        }
        .header-item {
            padding-left: 50px;
            width: 200px;
            margin: auto;
            align-items: center;
        }
        .header-item p:first-child {
            padding-top: 10px;
            padding-bottom: 15px;
            font-weight: bold;
            font-size: 14px;
        }
        .header-item p {
            font-size: 13px;
        }
        .header h2 {
            text-align: center;
            margin-top: -30px;
        }

        .header p {
            text-align: center;
            margin-top: 15px;
            width: 90%;
            margin: auto;
        }

        .header h3 {
            font-size: 24px;
            margin-top: -20px;
        }

        .header p {
            margin-top: -11px;
        }

        footer {
            margin-top: 30px;
            background-color: #426C62;
            color: #fff;
            padding: 20px 0;
            text-align: center;
            border-radius: 25px 25px 0px 0px;
        }

        .footer-container {
            display: flex;
            flex-direction: column;
            margin: 0 auto;
            width: 350px;
            text-align: right;
            font-size: 12px;
        }

        .location,
        .contact {
            margin-bottom: 10px;
        }

        .location p:first-child {
            margin-top: 2px;
        }

        .location p {
            margin-top: 10px;
            border-bottom: 1px dashed #4A786D;
            padding-bottom: 10px;
        }

        .location p i,
        .contact p i {
            margin-right: 5px;
            vertical-align: middle;
        }
        .footer-container a {
         -webkit-text-decoration: none;
         text-decoration: none;
         color: #FFF;
        }
        .copyright {
            margin-top: 20px;
            font-size: 11px;
        }

        .devl {
            background-color: #4A786D;
            color: #fff;
            padding: 2px 0;
            text-align: center;
            font-size: 11px;
        }

        .devl a {
            text-decoration: none;
            color: #eee;
        }

        #pageloader {
            position: fixed;
            top: 0;
            left: 0;
            background: rgba(74, 120, 109, 1);
            width: 100%;
            height: 100%;
            opacity: 100;
            z-index: 2000;
            -webkit-position: fixed;
            -webkit-top: 0;
            -webkit-left: 0;
            -webkit-background: rrgb(243, 244, 246, 1);
            -webkit-width: 100%;
            -webkit-height: 100%;
            -webkit-opacity: 1;
            -webkit-z-index: 2000;

        }

        #pageloader_el {
            direction: ltr;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            opacity: 1;
            color: #2e2e2e;
            display: block;
            width: 100%;
            justify-content: center;
            align-items: center;
        }

        #pageloader_el2 img {
            width: 35px;
            animation: rotationload 2s linear infinite;
        }

        #pageloader_el2 {
            position: relative;
            margin-top: 10px;
        }

        @keyframes rotationload {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        #pageloader_el p {
            margin: 0;
            vertical-align: middle;
            font-family: IRANSans;
            direction: rtl;
            text-align: center;
            font-size: 12px;
            font-weight: bold;
            margin-right: 9px;
        }

        #pageloader_el p:first-child {
            font-size: 24px;
        }

        #pageloader_el i {
            margin-bottom: 9px;
        }

        .brand_loader img {
            width: 120px;
            display: block;
            margin: 0 auto;
        }

        img.lazy {
            background-image: url('img/22.gif');
            background-repeat: no-repeat;
            background-position: 50% 50%;
        }
        img.lazy-popup {
            background-image: url('img/33.gif');
            background-repeat: no-repeat;
            background-position: 50% 50%;
        }

