body { 
            padding-top: 70px; 
            padding-bottom: 70px; 
        }
        .navbar { 
            position: fixed; 
            top: 0; 
            left: 0; 
            width: 100%; 
            z-index: 1000;
            background: #e7fdf7;
        }
        .navbar-brand { 
            margin: 0 auto; 
        }
        .navbar-brand img { 
            height: 50px; 
        }
        .category-card { 
            cursor: pointer; 
            transition: transform 0.2s; 
        }
        .category-card:hover { 
            transform: scale(1.05); 
        }
        .category-icon { 
            width: 50px; 
            height: 50px; 
            object-fit: cover; 
            display: block; 
            margin: 0 auto 10px; 
        }
        .card-title { 
            text-align: center; 
            text-transform: capitalize; 
        }
        .basket-icon {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background-color: #ea1e29;
            color: white;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 1001;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        }
        .basket-icon .badge {
            position: absolute;
            top: -5px;
            right: -5px;
            background-color: #fff;
            color: #000;
            font-size: 12px;
            padding: 4px 8px;
        }
        .whatsapp-share { 
            background-color: #25D366; 
        }
        .whatsapp-share:hover { 
            background-color: #20bd57; 
        }
        .whatsapp-icon-btn { 
            background: none; 
            border: none; 
            padding: 0; 
        }
        .whatsapp-icon-btn img { 
            width: 35px; 
            height: 35px; 
        }
        .button-group { 
            display: flex; 
            justify-content: space-between; 
            align-items: center; 
            margin-top: 10px; 
        }
        .button-group .btn-sm { 
            margin: 0; 
        }
        .quantity-input { 
            width: 60px; 
        }
        .basket-table { 
            width: 100%; 
        }
        .basket-table th, .basket-table td { 
            padding: 8px; 
            text-align: center; 
        }
        .remove-from-basket {
            background: none;
            border: none;
            color: #dc3545;
            font-weight: bold;
            font-size: 16px;
            padding: 0;
            cursor: pointer;
        }
        .home-icon {
            position: absolute;
            left: 20px;
            background-color: #ea1e29;
            color: white;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 1001;
        }
        .remove-from-basket:hover { 
            color: #a71d2a; 
        }
        .login-button-container {
            position: absolute;
            right: 20px;
        }
        .login-icon {
            background-color: #ea1e29;
            color: white;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            border: 2px solid #fff;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
            text-decoration: none;
        }
        .login-icon:hover {
            background-color: #c81c26;
        }
        .translator-container {
            position: fixed !important;
            bottom: 20px !important;
            left: 20px !important;
            z-index: 1001 !important;
        }
        #google_translate_element {
            display: none; /* Hidden by default, shown via JS */
        }
        .translator-icon {
            background-color: #007bff;
            color: white;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        }
        .translator-icon:hover {
            background-color: #0056b3;
        }
        [dir="rtl"] .navbar-brand { 
            margin: 0 auto; 
        }
        [dir="rtl"] .basket-icon { 
            left: 20px; 
            right: auto; 
        }
        [dir="rtl"] .home-icon { 
            right: 20px; 
            left: auto; 
        }
        [dir="rtl"] .translator-container {
            right: 20px !important;
            left: auto !important;
        }
        [dir="rtl"] .login-button-container {
            left: 20px;
            right: auto;
        }
        [dir="rtl"] .text-center { 
            text-align: center;
            font-family: 'Georgia', sans-serif;
            font-size: 25px;
        }
        [dir="rtl"] .button-group { 
            flex-direction: row-reverse; 
        }
        
        /* Responsive adjustments */
        @media (max-width: 768px) {
            body { 
                padding-top: 60px; 
                padding-bottom: 60px; 
            }
            .navbar-brand img { 
                height: 40px; 
            }
            .home-icon, .basket-icon, .translator-icon {
                width: 40px;
                height: 40px;
            }
            .home-icon svg, .basket-icon svg, .translator-icon svg {
                width: 16px;
                height: 16px;
            }
            .basket-icon .badge {
                font-size: 10px;
                padding: 3px 6px;
            }
            .login-icon {
                width: 35px;
                height: 35px;
            }
            .login-icon svg {
                width: 16px;
                height: 16px;
            }
            .basket-table th, .basket-table td { 
                font-size: 12px; 
                padding: 4px; 
            }
            .basket-table .quantity-input { 
                width: 45px; 
                font-size: 12px; 
            }
            .category-card { 
                margin-bottom: 10px; 
            }
            .category-icon { 
                width: 40px; 
                height: 40px; 
            }
            .card-title { 
                font-size: 14px; 
            }
            .login-button-container {
                right: 10px;
            }
            [dir="rtl"] .login-button-container {
                left: 10px;
            }
        }
        @media (max-width: 576px) {
            .home-icon { 
                left: 10px; 
            }
            .basket-icon { 
                right: 10px; 
                bottom: 10px; 
            }
            .translator-icon {
                left: 10px;
                bottom: 10px;
            }
            [dir="rtl"] .translator-icon {
                right: 10px;
                left: auto;
            }
            .login-button-container {
                right: 5px;
            }
            [dir="rtl"] .login-button-container {
                left: 5px;
            }
            .title-new{
            font-family: 'Georgia', sans-serif;
            font-size: 15px;
        }
        }
        
        .whatsapp-chat-icon {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1001;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.whatsapp-chat-icon:hover {
    background-color: #20bd57;
}
[dir="rtl"] .whatsapp-chat-icon {
    left: 20px;
    right: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .whatsapp-chat-icon {
        width: 40px;
        height: 40px;
        bottom: 60px;
    }
    .whatsapp-chat-icon svg {
        width: 16px;
        height: 16px;
    }
}
@media (max-width: 576px) {
    .whatsapp-chat-icon {
        right: 10px;
        bottom: 55px;
    }
    [dir="rtl"] .whatsapp-chat-icon {
        left: 10px;
        right: auto;
    }
}


.login-button-container .dropdown-menu {
    min-width: 120px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    background-color: #fff;
}
.login-button-container .dropdown-item {
    font-size: 14px;
    padding: 8px 15px;
    color: #333;
}
.login-button-container .dropdown-item:hover {
    background-color: #ea1e29; /* Matches the red theme */
    color: #fff;
}
[dir="rtl"] .login-button-container .dropdown-menu {
    text-align: right;
    right: auto;
    left: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .login-button-container .dropdown-menu {
        min-width: 100px;
        font-size: 12px;
    }
    .login-button-container .dropdown-item {
        padding: 6px 12px;
    }
}

/* Style for the modal image */
.modal-img {
    max-width: 100%; /* Ensure image doesn’t exceed modal width */
    max-height: 80vh; /* Limit height to 80% of viewport height */
    width: auto; /* Maintain aspect ratio */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Remove any inline spacing */
    margin: 0 auto; /* Center the image horizontally */
}

/* Ensure modal body is scrollable if image is too large */
.modal-body {
    overflow-y: auto; /* Enable vertical scrolling if needed */
    padding: 1rem; /* Add padding for better spacing */
}

/* Adjust modal dialog for better image display */
.modal-dialog.modal-lg {
    max-width: 90%; /* Allow modal to use more width on large screens */
    margin: 1.5rem auto; /* Center with some margin */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .modal-dialog.modal-lg {
        max-width: 100%; /* Full width on smaller screens */
    }
    .modal-img {
        max-height: 60vh; /* Reduce max height on mobile */
    }
}

.title-new{
            font-family: 'Georgia', sans-serif;
            font-size: 25px;
}