* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body{
     font-family: "Noto Sans Arabic", sans-serif !important;
     font-optical-sizing: auto;
}

.top-bar {
    background-color: #023016;
    color: #fff;
    padding: 10px 0;
    font-size: 14px;
    display: block;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.subscription-text {
    margin: 0;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.top-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-links a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.top-links a:hover {
    color: #f4b400;
}

.top-links a i {
    font-size: 16px;
    margin-right: 5px;
    transition: transform 0.3s ease;
}

.top-links a:hover i {
    transform: scale(1.2);
}
.mobile-bar {
    display: none;
    background-color: #023016;
    color: #fff;
    padding: 10px 0;
    font-size: 14px;
}
.mobile-bar .sociel {
    text-align: center;
}
.mobile-bar .sociel a {
    font-size: 25px;
    color: #fff;
}

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

    .mobile-bar {
        display: block;
    }
}
/* end top bar */

/* تنسيق النافبار */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-around !important;
    margin-top: 10px;
   width: 100%;
}
.menu-icon {
    font-size: 24px;
    cursor: pointer;
    display: none;
}
/* تنسيق اللوجو */
.logo img {
    height: auto;
    font-size: 40px;
    width: 136px;
    margin-right: 20px;
}

/* تنسيق الحاوية الرئيسية لصندوق البحث */
.search-container {
    position: relative;
}

.search-form-flex {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 20px;
    overflow: hidden;
    height: 35px; /* نفس الارتفاع الذي كان لديك */
}

.search-input-field {
    height: 100%; /* اجعل الـ input يملأ الارتفاع */
    padding: 0 10px; /* تعديل الـ padding ليتناسب مع الارتفاع */
    border: none;
    outline: none;
    flex: 1; /* للسماح له بالتوسع */
    font-size: 0.9rem; /* تعديل حجم الخط إذا لزم الأمر */
}

.category-dropdown-custom {
    height: 100%; /* مهم لجعل الـ select يملأ الارتفاع */
    display: flex; /* لمركزة الـ select عموديا */
    align-items: center;
    background: #f5f5f5; /* لون الخلفية الذي كان لديك */
    border-left: 1px solid #ddd; /* فاصل بين الـ input والـ select */
}

.category-select-field {
    border: none;
    padding: 0 10px; /* تعديل الـ padding */
    height: 100%; /* اجعل الـ select يملأ الارتفاع */
    background: transparent; /* لجعل خلفية الـ select شفافة لتظهر خلفية الـ div */
    cursor: pointer;
    outline: none;
    font-size: 0.9rem; /* تعديل حجم الخط إذا لزم الأمر */
}

/* إزالة سهم الـ select الافتراضي في بعض المتصفحات (اختياري) */
.category-select-field::-ms-expand {
    display: none;
}
.category-select-field {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23333' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E"); /* سهم مخصص */
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px;
    padding-right: 30px; /* لترك مساحة للسهم المخصص */
}

.search-submit-btn {
    /* كان اسمه search-btn في الـ CSS القديم */
    background: #f26522; /* اللون من الزر السابق */
    color: #fff; /* لون أبيض للنص/الأيقونة */
    padding: 0 15px; /* تعديل الـ padding */
    border: none;
    cursor: pointer;
    height: 100%; /* اجعله يملأ الارتفاع */
    display: flex; /* لمركزة الأيقونة */
    align-items: center;
    justify-content: center;
}

.search-submit-btn:hover {
    background: #e05e1f; /* لون أغمق عند التمرير */
    color: #fff; /* تأكيد لون النص عند التمرير */
}

/* تنسيق نتائج البحث الفوري */
.live-search-results {
    position: absolute;
    top: 100%; /* ضعها أسفل حقل البحث */
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #ddd;
    background-color: #fff;
    display: none; /* مخفية في البداية */
    border-radius: 0 0 5px 5px; /* حواف دائرية في الأسفل */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* ظل خفيف */
}

.live-search-results .list-group-item {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    color: #333;
    text-decoration: none;
}

.live-search-results .list-group-item:last-child {
    border-bottom: none;
}

.live-search-results .list-group-item:hover {
    background-color: #f8f8f8;
    color: #f26522;
}

/* تعديل عرض أبعاد الايقونات في شريط البحث */
.search-input-field + .category-dropdown-custom .category-select-field {
}

.icons {
    display: flex;
    gap: 10px;
}

.icons a {
    font-size: 18px;
    color: #333;
    transition: color 0.3s;
}

.icons a:hover {
    color: #f4b400;
}
.cart-count-badge,
.favorite-count-badge {
    /* أساسيات الدائرة */
    display: inline-flex; /* لجعل المحتوى يتوسط بشكل جيد */
    justify-content: center;
    align-items: center;
    background: #f26522;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    min-width: 20px;
    height: 20px;
    padding: 0 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    border: 2px solid #fff;
    position: absolute;
    top: 0px;
    right: -5px;
    transform: translate(50%, -50%);
    line-height: 1;
    z-index: 10;
}

/* mobile nav */

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

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100%;
    background: #fff;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    padding: 20px;
    z-index: 1001;
}
.sidebar a,
.sidebar p {
    display: block;
    padding: 10px;
    color: rgb(0, 0, 0);
    font-size: 20px;
    text-decoration: none;
    border-bottom: 1px solid #555;
}
.close-btn {
    font-size: 25px;
    cursor: pointer;
    text-align: right;
    transition: all0.3s ease;
    -webkit-transition: all0.3s ease;
    -moz-transition: all0.3s ease;
    -ms-transition: all0.3s ease;
    -o-transition: all0.3s ease;
}
.close-btn:hover {
    font-size: 27px;
}
.menu-buttons {
    display: flex;
    justify-content: space-around;
    margin-bottom: 15px;
}

.menu-buttons button.active {
    background: #f4b400;
}
.menu-buttons button {
    padding: 7px 20px;
    border-radius: 6px;
    margin: 3px;
    border: 1px solid #2f5a2a;
    background-color: #fff;
    transition: all 0.3s ease;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
}
.menu-buttons button:hover {
     background-color: #AACC7D; 
    transform: scale(1.05);
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -ms-transform: scale(1.05);
    -o-transform: scale(1.05);
}
.menu-section a:hover {
    background-color: #aacc7d;
}
.sidebar .login-register-button a{
    font-size: 12px;
}

/* الحاوية */
.login-register-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}
.login-register-button a {
    text-decoration: none;
    margin: 12px 1px;
    font-weight: bold;
    color: black;
}

.login-register-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: #685008;
    border: 2px solid #f4b400;
    border-radius: 15px;
    padding: 8px 15px;

    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 30px;
}
.login-register-button:first-child {
    margin-right: 10px;
}

.login-register-button:hover {
    background-color: #f4b400;
    color: white;
    border-color: #f4b400;
}

.login-register-button:active {
    transform: scale(0.98);
}

@media (max-width: 767px) {
    .login-register-container {
        display: none;
    }
    .login-register-button{
        margin-top: 10px;
    }
    .login-register-button a{
        margin: 12px 1px;
    }
}


.currency-select-wrapper {
    position: relative;
    display: inline-block;
}

.currency-select {
    display: flex;
    align-items: center;
    cursor: pointer;
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 5px;
    border: 1px solid #ccc;
    transition: background 0.3s;
}

.currency-select:hover {
    background: #e9ecef;
}

.currency-selected {
    display: flex;
    align-items: center;
    gap: 8px;
}

.currency-flag {
    width: 20px;
    height: 14px;
    background-size: cover;
    display: inline-block;
}

.currency-options {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #ddd;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 0;
    margin: 5px 0;
    display: none;
    width: 100%;
    border-radius: 5px;
    z-index: 10;
}

.currency-options.open {
    display: block;
}

.currency-options li {
    display: flex;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    transition: background 0.3s;
}

.currency-options li:hover {
    background: #f1f1f1;
}
.category-sidebar-toggle {
    height: 90%;
    background-color: rgb(7, 70, 7) !important;
    color: white !important;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
}
.category-sidebar-toggle {
    padding-bottom: 5px;
}

.category-sidebar-toggle:hover {
    background-color: darkgreen;
}
.category-sidebar-toggle .icon-one{
    padding-right: 10px;
}

/* nav links */
.main-nav {
    display: flex;
    width: 75%;
}
.main-nav .left-links {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-nav .left-links li {
    padding: 10px 15px;
    position: relative;
}
.main-nav .left-links:first-child {
    flex-grow: 1;
}

.main-nav .left-links li a {
    text-decoration: none;
    color: #525251;
    font-weight: bold;
    position: relative;
    transition: color 0.3s;
}

.main-nav .left-links li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: rgb(52, 224, 17);
    transition: width 0.5s ease;
}

.main-nav .left-links li a:hover::after {
    width: 100%;
}

.main-nav .left-links li a:hover,
.main-nav .left-links li a.active {
    color: #abadab;
}

/* Sidebar Styles */
.list-group-item {
    color: #050202;
    border: none;
    transition: 0.3s;
    position: relative;
}

.list-group-item:hover {
    background: #d6eab7;
}

/* Links inside list group */
.list-group-item a {
    color: #050708 !important;
    text-decoration: none;
}
/* Popup box styling */
.list-group-item .popup-box {
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    width: 250px;
    background: #fcfcfc;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(207, 202, 202, 0.2);
    display: none;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

/* Remove default list styling */
.list-group-item .popup-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Show popup on hover */
.list-group-item:hover .popup-box,
.popup-box:hover {
    display: block;
    opacity: 1;
    visibility: visible;
}

/* List inside popup */
.list-group-item .popup-box ul li {
    position: relative;
    margin-bottom: 8px;
}

.list-group-item .popup-box ul li a {
    display: block;
    padding: 5px 10px;
    color: #000;
    transition: 0.2s;
}

.list-group-item .popup-box ul li a:hover {
    color: #2c6e49;
    background-color: #d6eab7;
    border-radius: 5px;
}

/* Arrow pointer to popup */
.list-group-item .popup-box::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -10px;
    transform: translateY(-50%);
    border-width: 10px;
    border-style: solid;
    border-color: transparent #070e09 transparent transparent;
}
/* end sider bar */

.carousel-item {
    position: relative;
    text-align: center;
}

.carousel-item .text-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    color: white;
}

.carousel-item .text-content h1 {
    font-size: 32px;
    font-weight: bold;
    color: #ffcc00;
}

.carousel-item .text-content h3 {
    font-size: 24px;
    color: #f8f9fa;
}

.carousel-item .text-content p {
    font-size: 18px;
    color: #ddd;
}

@media (max-width: 768px) {
    .menu-icon {
        display: block;
    }
    .currency-select-wrapper .currency-selected .currency-text {
        display: none;
    }

    /* To hide the arrow in the main currency selector */
    .currency-select-wrapper .currency-selected .fa-chevron-down {
        display: none;
    }

    /* NEW RULE: To hide the text inside the dropdown list itself */
    .currency-select-wrapper .currency-options .language-text {
        display: none;
    }

    .main-nav {
        display: none;
    }
    .category-sidebar-toggle {
        display: none !important;
    }
    .navbar {
        margin: auto;
    }
    .logo img{
        width: 120px;
    }
}
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1000;
}
/* nav and sidebar */

/* نهايه السكشن الاول لغايت السلايدر */

/* سكشن البرودكت */

.col-md-6 {
    display: flex;
    align-items: center;
    gap: 20px;
}
.col-md-6 .active {
    font-weight: bold;
    color: #28a745;
}
.products {
    margin-right: 5px;
    border-bottom: 2px solid rgb(2, 46, 2);
    display: inline-block;
    padding-bottom: 5px;
}

.tab-link {
    text-decoration: none;
    font-size: 18px;
    margin-right: 10px;
    color: #525251;
}

.nav-arrows {
    display: flex;
    gap: 10px;
    font-size: 20px;
    align-items: center;
    justify-content: flex-end !important;
    width: 100%;
}

.nav-arrows i {
    color: #9e9e92;
    border-radius: 50%;
    padding: 8px;
    transition: 0.3s;
    cursor: pointer;
}

.nav-arrows i:hover {
    background: #f3f2f0;
    color: black;
}

.products-group {
    display: none;
}

.products-group.active {
    display: block;
}

.product-card {
    position: relative;
    overflow: visible;
    z-index: 1;
    margin-bottom: 10px;
    border-radius: 8px;
    transition: height 0.3s ease-in-out, transform 0.3s ease-in-out,
        z-index 0s ease-in-out;
    /* box-shadow: 0px -4px 8px rgba(0, 0, 0, 0.1), 4px 0px 8px rgba(0, 0, 0, 0.1), -4px 0px 8px rgba(0, 0, 0, 0.1); */
}

.product-overlay {
    position: absolute;
    top: 100%; /* ينزل تحت الكرت */
    left: 0;
    right: 0;
    background-color: white;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transform: translateY(0);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 8px 8px;
}

.product-card:hover .product-overlay {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(10px); /* نزل شويه */
}

.product-card:hover {
    z-index: 1000;
    transform: scale(1.05);
}

.product-card:hover .product-overlay {
    max-height: 200px; /* حسب ما يناسب المحتوى */
    padding: 15px;
}

.product-image {
    position: relative;
}

.product-image img {
    width: 100%;
    display: block;
    height: 216px;
}

.discount-circle {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ff0000;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8em;
    font-weight: bold;
    z-index: 1;
}

.product-details {
    padding: 15px;
    text-align: center;
}

.name-category {
    font-weight: bold;
    margin-bottom: 5px;
}

.category {
    color: #777;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.price {
    font-size: 1.1em;
}

.old-price {
    color: #999;
    text-decoration: line-through;
    margin-right: 5px;
}

.product-overlay {
    padding: 0px;
    text-align: center;
    max-height: 0; /* إخفاء الأوفرلاي افتراضيًا */
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
}

.product-card:hover .product-overlay {
    max-height: 500px; /* أو أي قيمة مناسبة لطول المحتوى */
    padding-top: 20px;
    padding-bottom: 20px;
}

.product-description {
    margin-bottom: 15px;
    color: #333;
    /* لا حاجة لإخفائه بشكل منفصل إذا كان داخل الأوفرلاي المخفي */
}

.product-actions {
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-actions i {
    font-size: 1.2em;
    margin: 0 10px;
    color: #555;
}

.product-actions button {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
}

.product-actions button:hover {
    background-color: #1e7e34;
}

.left-icon,
.right-icon {
    font-size: 1.5em;
}

.left-icon {
    margin-right: auto;
}

.right-icon {
    margin-left: auto;
}

.product-actions button {
    margin: 0 10px;
}

/* سكشن Bundles */
.title-with-underline {
    text-align: center;
    position: relative;
}

.title-with-underline::after {
    /* margin-bottom: 10px; */
    content: "";
    display: block;
    width: 15%;
    height: 3px;
    background-color: red; /* هنا غيرنا اللون للأحمر */
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
}
.bundle-section {
    text-align: center;
    background-image: url("../images/background.jpg");
    background-size: cover;
    background-position: center;
    padding: 50px 0;
}

.bundle-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 40px;
    margin-bottom: 40px;

    gap: 30px;
    padding: 0 20px;
}

.bundle-card {
    width: 100%;
    max-width: 400px;
    background-color: white;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    position: relative;
    -webkit-transition: transform 0.3s ease-in-out;
    -moz-transition: transform 0.3s ease-in-out;
    -ms-transition: transform 0.3s ease-in-out;
    -o-transition: transform 0.3s ease-in-out;
}

.bundle-card:hover {
    transform: scale(1.05);
}

/* Bundle icons */
.bundle-icons {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.bundle-card:hover .bundle-icons {
    opacity: 1;
}

.bundle-icons i {
    background: white;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.bundle-icons i:hover {
    background: #ffcc00;
    color: white;
}

/* Select Option Button */
.selected-option {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(215, 203, 72, 0.5);
    color: white;
    border: none;
    padding: 12px 0;
    text-align: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: opacity 0.3s ease-in-out;
}

.bundle-card:hover .selected-option {
    display: block;
}

.selected-option:hover {
    background-color: #ffcc00;
    color: transparent;
}

.selected-option:hover::after {
    content: "\f07a";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: black;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.bundle-section .btn-end {
    padding: 0px 12px; /* العرض والطول */
    background: #638259;
    border-radius: 5px; /* بيضاوي بدل 40% */
    text-align: center;
    border: none;
    color: white;
    font-size: 20px;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    list-style: none;
}
.bundle-section .btn-end:hover {
    background-color: #8cbf5d;
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .bundle-wrapper {
        flex-direction: column;
        align-items: center;
    }
}

.footer {
    background-color: #023016;
}
.footercontainer {
    width: 100%;
    /* padding: 25px 30px 20px; */
}

.social-icons {
    display: flex;
    justify-content: center;
}

.social-icons a {
    text-decoration: none;
    padding: 10px;
    margin: 10px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}

.social-icons a i {
    font-size: 26px;
    text-align: center;
    opacity: 0.9;
    color: white;
}

.social-icons a:hover {
    background-color: #2f5a2a;
    transition: 0.5s;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -ms-transition: 0.5s;
    -o-transition: 0.5s;
}

.social-icons a:hover i {
    color: #ffcc00;
    transition: 0.5s;
}

.footernav {
    /* margin: 30px 0; */
}

.footernav ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

.footernav ul li a {
    color: rgb(255, 255, 255);
    margin: 20px;
    font-size: 19px;
    opacity: 0.7;
    transition: 0.5s;
    font-weight: bold;
}

.footernav ul li a:hover {
    opacity: 1;
}

.footerbootem {
    /* background-color: white; */
    /* margin-top: 20px; تعديل الهامش العلوي */
    padding: 20px 0;
    color: white; /* إضافة لون نص افتراضي إذا لزم الأمر */
}

.footerbootem .logo img {
    width: 150px;
    height: auto;
    text-align: center;
    transition: transform 0.3s ease;
}

.footerbootem .buy {
    display: flex;
    justify-content: flex-end; /* لمحاذاة الصور إلى اليمين في الشاشات الكبيرة */
    align-items: center; /* لمحاذاة الصور عموديًا */
}

.footerbootem .buy img {
    height: auto;
    margin-left: 21px;

    transition: transform 0.3s ease;
}
.img-insta {
    width: 90px;
}

.img-pp {
    width: 104px;
}

.img-nbe {
    width: 100px;
}

.img-voda {
    width: 140px;
    margin-right: -25px;
}

.img-binance {
    width: 108px;
}

.footerbootem .logo img:hover,
.footerbootem .buy img:hover {
    transform: scale(1.1);
}

@media (max-width: 780px) {
    /* للحفاظ على الأيقونات الاجتماعية بجانب بعضها البعض */
    .social-icons {
        display: flex;
        justify-content: center;
    }
    .footernav ul li a {
        font-size: 10px;
    }
    /* لعرض عناصر القائمة footernav بشكل أفقي */
    .footernav ul {
        flex-direction: row; /* تم التغيير من column إلى row */
        flex-wrap: wrap; /* للسماح للعناصر بالنزول إلى سطر جديد إذا لم يكن هناك مساحة */
        justify-content: center;
        align-items: center;
    }

    .footernav ul li {
        width: auto; /* لعدم جعل كل عنصر يأخذ عرض 100% */
        text-align: center;
        /* margin: 7px; */
        padding: -1px;
    }

    /* للتحكم في الأيقونات الخاصة بالدفع */
    .footerbootem .buy {
        display: flex; /* لعرض الأيقونات بجانب بعضها البعض */
        flex-wrap: wrap; /* للسماح للعناصر بالنزول إلى سطر جديد */
        justify-content: center; /* توسيط الأيقونات أفقيًا */
        align-items: center;
        margin-top: 15px;
    }

    .footerbootem .buy img {
        margin: -13px -2px; /* تقليل الهوامش الجانبية */
        width: 40px; /* تقليل حجم الصور بشكل أكبر */
        height: auto;
    }

    .footerbootem .logo {
        margin-bottom: 15px;
        justify-content: center;
    }
}
.button-up i {
    position: fixed;
    bottom: 20px;
    right: 40px;
    background-color: #28a745;
    padding: 7px 10px;
    border-radius: 50%;
    cursor: pointer;
    transition: opacity 0.3s ease-in-out;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    z-index: 1100;
    font-size: 41px;
    color: #fff;
    opacity: 0;
    pointer-events: none;
}
.button-up i:hover {
    background-color: #28a746b6;
    transition: 0.5s;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -ms-transition: 0.5s;
    -o-transition: 0.5s;
}
.favorite-icon {
            color: black;
            cursor: pointer;
            transition: color 0.3s;
        }

        .favorite-icon.favorited {
            color: red;
            /* اللون لما يبقى مفضل */
        }

        .language-dir {
            flex-direction: row-reverse;
            justify-content: flex-end;

        }

        .language-dir li.navli {
            margin-left: 15px;
            margin-right: 0;
        }

        #loading-screen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #ffffff;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            transition: opacity 1s ease-out;
        }

        /*
         * نمط مؤشر التحميل الدوار
         */
        .spinner {
            border: 8px solid #f3f3f3;
            border-top: 8px solid #3498db;
            border-radius: 50%;
            width: 60px;
            height: 60px;
            animation: spin 2s linear infinite;
            /* تشغيل الأنميشن */
            margin-bottom: 20px;
        }

        /*
         * أنميشن الدوران
         */
        @keyframes spin {
            0% {
                transform: rotate(0deg);
            }

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