
 *{
    -webkit-tap-highlight-color: tran
    parent;
    touch-action: manipulation;
}

body{
    font-family: "Cairo", "Beiruti",serif;
    text-align: center; /* محاذاة النص في المنتصف */
    background-color: #FFFDED;
    padding: 5px;
    margin: 0; /* إزالة الهوامش الافتراضية */
    height: 200vh; /* جعل ارتفاع الصفحة يملأ نافذة العرض */
    user-select: none;
    background-size: cover; /* جعل الصورة تغطي كامل الصفحة */
    background-repeat: no-repeat; /* منع تكرار الصورة */
    background-position: center; /* محاذاة الصورة في المركز */
    background-attachment: fixed; /* تثبيت الصورة */
    overflow: scroll;
    -webkit-overflow-scrolling: touch;

 
    

}

/* منع التحديد على جميع العناصر في الصفحة */
* {
    user-select: none;  /* يمنع تحديد النصوص */
    -webkit-user-select: none;  /* للمتصفحات التي تعتمد على WebKit مثل Safari */
    -moz-user-select: none;  /* لمتصفح Firefox */
    -ms-user-select: none;  /* لمتصفح IE/Edge */
    outline: none;  /* إزالة التحديد عند الضغط على العناصر */
    -webkit-tap-highlight-color: transparent;  /* إزالة التأثير الأزرق في شاشات اللمس */
}




/* إزالة التأثيرات عند النقر على الأزرار */
button, a {
    outline: none;  /* إزالة التحديد الأزرق */
    -webkit-tap-highlight-color: transparent;  /* إزالة التأثيرات على الشاشات التي تدعم اللمس */
}

/* إضافة إذا أردت تخصيص التنسيق على شاشات اللمس فقط */
@media (pointer: coarse) {
    button, a {
        -webkit-tap-highlight-color: transparent;  /* إزالة التأثيرات على الأجهزة التي تدعم اللمس */
    }
}


html {
    scroll-behavior: smooth;
}

html, body {
    overflow: auto;
    height: 100%;       /* تأكد أن الصفحة تغطي كامل الطول */
    -webkit-overflow-scrolling: touch; /* دعم التمرير السلس على أجهزة Android */
    touch-action: pan-y; /* السماح بالتمرير العمودي فقط */
}

.navbar {
    position: fixed; /* تثبيت العنصر في أعلى الصفحة */
    top: 0; /* تحديد المسافة من أعلى الصفحة */
    left: 0; /* تحديد المسافة من اليسار */
    right: 0; /* تحديد المسافة من اليمين */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color:#000000 ;
    color: white;
    padding: 1px;
    border-radius: 0px; /* إضافة زوايا دائرية في الأسفل فقط */
    width: 100%; /* عرض الشريط كامل */
    box-sizing: border-box; /* التأكد من احتساب الحواف في العرض */
    z-index: 1000; /* ضمان أن الشريط يظهر فوق باقي المحتويات */
    height: 50PX;
    margin-bottom: 300px;
    overflow: hidden;
   
   
}


.navbar .form-group {
    display: flex;
    align-items: center;
    gap: 10px;
    

}

.navbar input[type="text"] {
    position: absolute;
    padding: 12px;
    border: 2px solid #F42C04;
    border-radius: 15px;
    width: 40px;
    height: 10px;
    font-size: 18px;
    background-color: #ffffff12;
    color: #fafffb;
    text-align: center;
    transition: all 0.3s ease;
    appearance: none;
    justify-content: center;
    text-align: center;
    left: 102px;
    bottom: 7px;
    
    
}



.navbar input[type="text"]::placeholder{
    position: absolute;
    top: 3px;
    left: 5px;
    right: 5px;
    bottom: 6px;
    font-family: "Cairo", "Beiruti",serif;
    color: white;
    font-size: 14px;
    

    
    
}

.navbar input[type="text"]:focus {
    border-color: #000000;
    outline: none;
    background-color: #2d3333;
}

.navbar .navbb button{
    position: absolute;
    right: 3%;
    top: 13%;
    font-family: "Cairo", "Beiruti",serif;
    padding: 0px;
    background-color: #F42C04;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
    height: 35px;
    width: 60px;
    text-align: center;
    justify-content: center;
    z-index: 5;
    
   
    
}
.navbar .navbb button.active {

    transition: background-color 1s ease;
    animation: donescalebutton 0.5s ease-in-out;
                                                                     
}


@keyframes donescalebutton {
    0% {
        transform: scale(1);
        background-color:#F42C04;
    }
    10% {
        transform: scale(0.8);
        background-color:#FCA311;
    }
    100% {
        transform: scale(1);
        background-color:#F42C04;
    }
}














/*666666666666666666666666666666666666666666666666666666666*/








/* تأثير تكبير الزر */
@keyframes sala2scaleButton {
    0% {
        transform: scale(0.9); /* الحجم الأصلي */
    }

    35% {
        transform: scale(1.4); /* تكبير الزر بنسبة 20% */
    }

    50% {
        transform: scale(1.4); /* تكبير الزر بنسبة 20% */
    }

    100% {
        transform: scale(1.1); /* تكبير الزر بنسبة 20% */
    }
}

#sala2 {
    transition: transform 0.9s ease;
    cursor: pointer;
}

/* تطبيق التأثير عند إضافة الكلاس */
#sala2.scaled {
    animation: sala2scaleButton 2s ease-in-out forwards; /* تطبيق التأثير على الزر */
}

/* توسيط العناصر داخل .sala */
.navbar .sala {
    display: flex;
    flex-direction: column; /* ترتيب العناصر عموديًا */
    align-items: center; /* توسيط أفقي */
    justify-content: center; /* توسيط عمودي */
    position: relative;
    z-index: 2;
}

/* الرسوم المتحركة فوق الزر */
/* الرسوم المتحركة فوق الزر */
.ani {
    height: 50px;
    width: 50px;
    position: absolute;
    top: -20%;
    pointer-events: none; /* يمنع استقبال النقرات */
    z-index: 2;
   
}

/* زر #sala2 */
.navbar .sala button {
    background-color: #f42c048b;
    color: white;
    border: 1px;
    border-radius: 100px;
    cursor: pointer;
    font-size: 18px;
    height: 35px;
    width: 60px;
    transition: transform 0.5s ease, background-color 0.5s ease;
    z-index: 1;
    box-shadow: 0 0 20px 2px #F42C04;
    filter: blur(15px);

}
/*6666666666666666666666666666666666666666666666666666666666666666666666666666666*/


















.sala3-image {
    position: absolute;
    
    width: 140%;  /* يمكنك تعديل هذا الحجم */
    height: 140%; /* يمكنك تعديل هذا الحجم */
    z-index: 1;
}




/* تأثير عند وجود أكثر من عنصر في السلة */
.navbar .sala button.cart-full {
    background-color: #FCA311; /* تغيير اللون عندما تكون السلة تحتوي على أكثر من عنصر */
    transform: scale(1.1); /* تكبير الزر عندما تكون السلة تحتوي على أكثر من عنصر */
    transition-delay: 0.5s;
}

/* تأثير عند الضغط على الزر */
.navbar .sala button.active {
    transform: scale(0.7); /* تصغير الزر عند الضغط */
    background-color: #FCA311; /* تغيير اللون عند الضغط */
    animation: sala4salabutton 3s ease-in-out !important; /* تطبيق الأنيميشن */
}

/* تأثير الحركات */
@keyframes sala4salabutton {
    0% {
        transform: scale(1);
        background-color: #F42C04;
    }
    50% {
        transform: scale(1.3);
        background-color: #FCA311;
    }
    100% {
        transform: scale(1);
        background-color: #F42C04;
    }
}







.navbar .jojo{
    position: absolute;
    justify-content: center;
    left: 2%;
    font-size: 40px;
    color: #F42C04;
    font-weight: 650;
    z-index: 5;
    



}


.total-price {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center; /* توسيط المحتوى أفقيًا */
    align-items: center; /* توسيط المحتوى عموديًا */
    gap: 10px; /* إضافة مسافة بين الحقل والنص */
    margin: 2px;
    color: #F42C04;
    width: 150px; /* يمكن تعديل العرض حسب الحاجة */
    height: 55px; /* تحديد ارتفاع العنصر */
    
}

input::placeholder {
    color: rgb(255, 255, 255); /* اللون الجديد للنص */
    font-size: 15px;
    opacity: 1; /* التأكد من وضوح النص */
    font-family: "Cairo", "Beiruti",serif;

}



.total-price input {
    position: relative;
    gap: 2px;
    width: 35px; /* عرض الحقل */
    padding: 5px;
    font-size: 16px;
    text-align: center;
    border-radius: 5px;
    border: 2px solid #F42C04;
    background-color:#ffffff12;
    color: #ffffff;
    height: 15px; /* تأكد من أن الحقل يملأ العنصر عموديًا */
    pointer-events: none; /* منع التفاعل مع الحقل */
    transition: all 1s;

    
    
}




.total-price input:not(:placeholder-shown) {
    border-color: #FCA311; /* تغيير اللون عند الكتابة */
    background-color:#FCA311; /* تغيير اللون الخلفي */
    box-shadow: 0 0 30px 2px #F42C04 ;
    width: 45px;
    transition: all 1s;
}


.total-price .price-text {
    font-size: 16px; /* حجم النص */
    color: #F42C04; /* لون النص */
    font-weight: bold; /* جعل النص غامقًا */
    bottom: 30px;
    
}








.item-total  {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center; /* توسيط المحتوى أفقيًا */
    align-items: center; /* توسيط المحتوى عموديًا */
    gap: 10px; /* إضافة مسافة بين الحقل والنص */
    margin: 2px;
    color: #F42C04;
    width: 150px; /* يمكن تعديل العرض حسب الحاجة */
    height: 55px; /* تحديد ارتفاع العنصر */
    
}

input::placeholder {
    color: rgb(255, 255, 255); /* اللون الجديد للنص */
    font-size: 15px;
    opacity: 1; /* التأكد من وضوح النص */
    font-family: "Cairo", "Beiruti",serif;

}











/*----------------------------------------------------------------------------------------------------*/





 /*-------------------------------------------------------------------------------------------------*/
.price {
    font-size: 16px;
    color: #333;
    margin-top: 10px;
}



.confirmation-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    
}

.confirmation-window {
    background-color: rgb(164, 155, 155);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 300px;
}

.confirmation-overlay.show {
    display: flex;
}

/*------------------------------------*/





/*-----------رسالة------------*/
.alert {
    text-align: center;
    margin-top: 20px;
    padding: 10px;
    border-radius: 5px;
    display: none;
    position: fixed; /* يضمن أن العنصر يبقى في مكانه حتى عند التمرير */
    top: 80px; /* يمكنك تعديل هذه القيمة حسب المكان الذي تريده */
    left: 50%;
    transform: translateX(-50%); /* لضمان أن العنصر في المنتصف */
    z-index: 2000; /* التأكد من أن العنصر يظهر فوق العناصر الأخرى */
    width: 100%;
}
.alert.success {
    background-color: #4caf4f44;
    color: white;
    z-index: 2000;
}

.alert.error {
    background-color: #1f84133c;
    color: white;
    
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    color: white;
    cursor: pointer;
}






/* نافذة الرسالة */
.alert-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    
}

.alert-window {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 300px;
}

.alert-overlay.show {
    display: flex;
}

.alert-overlay button {
    padding: 10px 20px;
    background-color: #4caf50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.alert-overlay button:hover {
    background-color: #45a049;
}
/*---------رسالة-------------------------------------------------------*/
/*---------رسالة-------------------------------------------------------*/
/*---------رسالة-------------------------------------------------------*/
/*---------رسالة-------------------------------------------------------*/
/*---------رسالة-------------------------------------------------------*/
/*---------رسالة-------------------------------------------------------*/
/*---------رسالة-------------------------------------------------------*/




.form-group {
    margin-top: 1px;
}

.menu-options2 {
    position: absolute;
    top: 99%;
    left: 0;
    right: 0;
    width: 100%;
    border-radius: 0px 0px 7px 7px;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.7s ease, opacity 0.2s ease, visibility 0.5s ease, height 0.3s ease;
    box-sizing: border-box;
    display: flex; /* استخدام Flexbox لترتيب العناصر */
    flex-direction: column; /* ترتيب العناصر عموديًا */
    gap: 15px; /* مسافة بين العناصر */
    align-items: center; /* محاذاة العناصر في المنتصف */
    justify-content: center; /* توزيع العناصر بالتساوي */
    z-index: 15;
    min-height: 28px;
    box-shadow: inset 0px 40px 40px 1px #f42c048e, 0 40px 60px 6px rgba(11, 11, 11, 0.892);
    background-color: #5c6b73e1;
    transform: translateY(0%);

}

.menu-options2.visible {
    opacity: 1;
    visibility: visible;
    transition: transform 0.8s ease-in-out, opacity 0.1s ease, visibility 0.5s ease, height 0.7s ease;
    z-index: 100;
    transform: translateY(580%);
    box-shadow: inset 0px -20px 30px 1px #fca211b8, 0 40px 60px 6px rgba(11, 11, 11, 0.892);
    background-color: #5c6b73c0;
}


.menu-options2 > * {
    transform: scale(0);
    transition: transform 1s ease;
}

.menu-options2.visible > * {
    transform: scale(1);
}

.menu-options2:not(.visible) > * {
    transform: scale(0);
    transition: transform 0s ease;
}

/* تصميم الأزرار */
.menu-options2 .tosala {
    position: absolute;
    top: 4px;
    left: 5px;
    width: 58%;
    height: 20px;
    display: flex;
    justify-content: center;
}

.menu-options2 .tosala .add-to-cart {
    width: 110px;
    height: 20px;
    line-height: 0.2px;
    text-align: end;
    font-family: "Cairo","Beiruti",serif;
    border: 2px solid #F42C04;
    background-color: #ffffff12;
    box-shadow: 0 0 5px 2px  #F42C04;
    box-sizing: border-box; /* لتجنب أي مشاكل في المساحة */
    padding: 7px 4px; /* تأكد من إضافة padding كافٍ */

    color: white;
    border: none;
    border-radius: 5px;
    font-size: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.menu-options2 .add-to-cart.active {
    box-shadow: 0 0 0 0 #F42C04;
    background-color: #FCA311;
    transform: scale(1.1);
}

.add-to-cart::after {
    content: ''; /* لا شيء مرئي */
    position: absolute;
    top: -5px; /* توسيع المسافة العلوية */
    left: -25px; /* توسيع المسافة الجانبية */
    right: -1px; /* توسيع المسافة الجانبية الأخرى */
    bottom: -25px; /* توسيع المسافة السفلية */
    z-index: -1; /* يجعله خلف الزر */
}

/* تصميم item-total */
.item-total {
    pointer-events: none; /* تجنب التفاعل مع النص */
    position: absolute;
    margin-right: 2px;
    top: -2px; 
    left:21%;    
    width: 100%;
    height: 20px;
    display: flex;
    justify-content: center;

}

.item-total input {
    left: 10%;
    all: unset;
    gap: 2px;
    width: 25px;
    height: 10px;
    padding: 1px 3px;
    text-align: start;
    border-radius: 5px;
    background-color: #ffffff12;
    box-shadow:inset 0 0 5px 2px  #f42c0443;
    font-size: 10px;
    color: #ffffff;
    pointer-events: none;
    transition: all 0.4s;
}

.currency{
    position: absolute;
    transform: translateX(101%);
    font-size: 8px;
    color: #F42C04;
    font-weight: bold;
    margin-left: 1px;
    transition: all 1s;

}



.item-total input::placeholder {
    position: absolute;
    left: 8px;
    color: #F42C04;
    height: 19px;
    line-height: 60px;
    font-size: 10px;


}



.item-total input:not(:placeholder-shown) {
    border-color: #f42c044a;
    background-color: #ffffff12;
    box-shadow: inset 0 0 5px 1px  #f42c0451;
    width: 37px;
    height: 10px;
    left: -27px;
    font-size: 10px;
    transition: all 0.1s ease-in-out;
}

.item-total .price-text {
    font-size: 1px;
    color: #F42C04;
    font-weight: bold;
}




.menu-options {
    position: absolute; 
    top: 101%;
    left: 0;
    right: 0;
    width: 100%; /* تعديل العرض ليكون متناسقًا */
    padding: 20px 8px 8px 8px;
    opacity: 0;
    visibility: hidden;
    transition: height 0.3s ease, opacity 0.2s ease, visibility 2s ease;
    box-sizing: border-box; /* يجعل الحواف الداخلية ضمن العرض */
    z-index: 15;
    height: 0px;
    box-shadow: inset 0px 40px 40px 1px #f42c048e, 0 40px 60px 6px rgba(11, 11, 11, 0.892);
    background-color: #5c6b73e1;
    border-radius: 0px 0px 0px 0px;
}




.menu-options.visible {
    opacity: 1;
    visibility: visible;
    height: 160px;
    transition: height 0.7s ease-in-out , opacity 0.1s ease, visibility 0.5s ease;
    z-index: 100;
    transform: scale(1);
    box-shadow: inset 0px -20px 30px 1px #f42c04e6, 0 40px 60px 6px rgba(11, 11, 11, 0.892);
    background-color:#5c6b73f4;
    
}

.menu-options > * {
    transform: scale(0.0); /* العناصر تبدأ صغيرة */
    transition: transform 0.2s ease; /* التأثير التدريجي للتحجيم */
}

.menu-options.visible > * {
    transform: scale(1); /* العناصر تكبر إلى الحجم الطبيعي */
}

.menu-options:not(.visible) > * {
    transform: scale(0); /* تصغير العناصر عند الخروج */
    transition: transform 0s ease; /* التأثير التدريجي للتحجيم */
}







.menu-options label input[type="checkbox"] {
    box-sizing: border-box; /* يجعل الحواف الداخلية ضمن العرض */
    width: 120px; /* العرض الثابت */
    display: none;
    

}



.menu-options label:nth-child(2) {

    transition-delay: 0.2s ; /* تأخير العنصر الثاني */
}


.menu-options label:nth-child(3) {
    transition-delay: 0.3s; /* تأخير العنصر الثاني */
}

.menu-options label:nth-child(4) {
    transition-delay: 0.4s; /* تأخير العنصر الثالث */
}



.menu-options label {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 5px;
    cursor: pointer;
    justify-content: flex-start; /* محاذاة العناصر إلى اليسار */
    direction: rtl; /* ضبط اتجاه النص من اليمين لليسار */
    font-size: small;
    color: #fff8f8;

    
    
}

.menu-options label .custom-checkbox {
    width: 14px; /* عرض المربع */
    height: 14px; /* ارتفاع المربع */
    border: 1px solid #F42C04; /* إطار المربع */
    border-radius: 6px; /* زوايا دائرية */
    background-color: #fca2114a; /* لون الخلفية */
    display: inline-block;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease-in-out; /* تأثير التغيير */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* إضافة ظل */
    display: flex;
    align-items: center;
    justify-content: center; /* لضمان محاذاة الـ "checkmark" في المنتصف */
    margin-left: 4px; /* إضافة مسافة بين النص والـ checkbox */
    justify-items: flex-end;
    color: #fffdfd;
    
}



.menu-options label input[type="checkbox"] {
    display: none;
}

.menu-options label input[type="checkbox"]:checked + .custom-checkbox {
    border-color: #073807; /* لون الإطار عند التحديد */
    background-color: #042c05; /* لون الخلفية عند التحديد */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* تكثيف الظل */
   
    
}

.menu-options label input[type="checkbox"]:checked + .custom-checkbox::after {
    content: "\2714"; /* رمز الصح */
    color: rgb(255, 255, 255); /* لون علامة الصح */
    font-size: 10px; /* حجم العلامة */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* محاذاة العلامة في المنتصف */
    font-weight: bold;
    
    
}

.menu-options label input[type="checkbox"]:checked + .custom-checkbox {
    animation: scaleCheckbox 0.3s ease-in-out;
}

@keyframes scaleCheckbox {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
    }
}

.menu-options label .plit {
    color: #FCA311; /* لون النص */
    font-size: 12px; /* حجم النص */
    font-weight: 500; /* جعل النص عريضًا */
    margin-left: 2px; /* مسافة بين النص السابق */
}
















.menu-options textarea {
    justify-content: center;
    display: flex;
    align-items: center;
    box-sizing: border-box; /* يجعل الحواف الداخلية ضمن العرض */
    width: 80%;
    height: 20px;
    padding: 10px;
    background-color: #5c6b7346;
    border-radius: 3px;
    margin-bottom: 10px;
    font-family: "Cairo", "Beiruti",serif;
    text-align: end;
    
    transition-delay: 0.5s;
    box-shadow: inset 0 0 15px 1px rgba(0, 0, 0, 0.94), 0 -2px 20px 1px #F42C04;
    border: 1px solid #FCA311; /* البرواز */
    
    display: block; /* يجعل العنصر يتصرف كبلوك لتمكين التوسيط */
    margin:10px auto; /* يوسّط العنصر أفقيًا */

}


.menu-options textarea:focus {
    box-sizing: border-box; /* يجعل الحواف الداخلية ضمن العرض */
    width: 100%;
    height: 22px;
    padding: 10px;
    
    border-color:  #F42C04;
    background-color: #5C6B73;
    border-radius: 3px;
    margin-top: 10px;
    font-family: "Cairo", "Beiruti",serif;
    justify-content: center;
    transition: 1s;
    outline: none; /* إزالة الإطار الافتراضي */
    transform: scale(1.1);
    transition-delay: 0s; /* تأخير خاص بحالة التركيز */
    box-shadow: inset 0 0 15px 2px rgba(0, 0, 0, 0.94), 0 -2px 20px 1px #F42C04;

    font-size: 10px;
    
    
}
.menu-options textarea::placeholder {
    position: absolute;
    left: 25%;
    font-size: 12px;
    top: 1%;
    color: #000000;
    
  
    

}

.menu-options textarea:not(:placeholder-shown) {
    border-color: rgb(52,77,52); /* تغيير اللون عند الكتابة */
    background-color: #a8a8a8; /* تغيير اللون الخلفي */
    box-shadow: inset 0 0 15px 0px rgba(0, 0, 0, 0.94), 0 -2px 20px 1px #F42C04;

}


/* حالة العنصر بعد فقدان التركيز (blur) */


.quantity-group {
    width: 40%;
    position: absolute;
    margin-top: 6px;
    display: flex;
    gap: 5px;
    transition-delay: 0.1s; /* تأخير العنصر الثاني */
    box-sizing: border-box; /* يجعل الحواف الداخلية ضمن العرض */
    justify-content: center; /* تحريك المحتوى إلى اليسار */
    margin-bottom: 6px;
    justify-content: center;
    justify-items: center;
    right: 1px;
    border-radius: 7px;
    
    box-sizing: border-box;
}

.quantity-group label {
    font-size: 18px;
    color: #333;
}

.quantity {
    color: #ffffff;
    width: 14px;
    height: 3px;
    padding:5px 1px 5px 1.2px;
    font-size: 11px;
    border: 2px solid #F42C04 ;
    border-radius: 4px;
    background-color: #fca21162;
    display: flex;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0px 0px 10px 3px #68836c00;
    font-family: "Cairo", "Beiruti",serif
    
    
    

    
}






.quantity:focus {
    border-color: #4caf50;
    background-color: #e8f5e9;
    outline: none;
}

.quantity::-webkit-outer-spin-button,
.quantity::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-buttons {
    position: relative;
    width: 100%;
    display: flex;
    gap: 1px;
    justify-self: center;
    justify-content: center;
    align-items: center; /* محاذاة الأزرار عموديًا في المنتصف */
    }


.button1 {

    font-size: 18px;
    padding: 5px 5px 7px 5.4px; /* زيادة الحشو لتسهيل الضغط على الأزرار */
    border: none;
    background-color: #F42C04;
    color: white;
    border-radius: 5px 0 0px 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 20px;
    height: 15px;
    display: flex; /* استخدام flexbox */
    justify-content: center; /* توسيط النص أفقيًا */
    align-items: center; /* توسيط النص عموديًا */
    text-align: center; /* التأكد من محاذاة النص داخل الزر */
}

.button2 {

    font-size: 18px;
    padding: 5.1px 5px 5.2px 5.5px; /* زيادة الحشو لتسهيل الضغط على الأزرار */
    border: none;
    background-color: #F42C04;
    color: white;
    border-radius:0 5px 5px 0 ;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 20px;
    height: 15px;
    display: flex; /* استخدام flexbox */
    justify-content: center; /* توسيط النص أفقيًا */
    align-items: center; /* توسيط النص عموديًا */
    text-align: center; /* التأكد من محاذاة النص داخل الزر */
}
    



.quantity-buttons button:active {
    
    
    animation: scalebuttons 0.3s ease-in-out;
}

@keyframes scalebuttons {
    0% {
        transform: scale(1);
        background-color:#F42C04;
    }
    50% {
        transform: scale(1.3);
        background-color:#FCA311;
    }
    100% {
        transform: scale(1);
        background-color:#F42C04;
    }
}





.size-buttons {
    position: absolute;
    left: 3.5px;
    right: 1px;
    top: 2px;
    display: flex;
    width: 96%; 
    gap: 2px; /* مسافة بين الأزرار */
}

.size-button {
    all: unset;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative; /* مهم لجعل الدائرة تتبع الزر */
    background-color: #00000051;
    height: 22px;
    width: 100%;
    border: 1px solid #f42c04;
    font-family: "Cairo", "Beiruti", serif;
    border-radius: 4px;
    color: white;
    transition: background-color 0.5s ease-in-out, transform 0.5s ease-in-out, border 0.5s ease-in-out;
    text-align: center;
}











/* الدائرة الخارجية */
.circle {
    position: absolute;
    left: 5px; /* محاذاة إلى الزاوية اليسرى */
    top: 50%; /* جعله في المنتصف */
    transform: translate(-40% , -107%); /* توسيطه عموديًا */

    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid #F42C04;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s ease-in-out;
}

/* الدائرة الداخلية */
.inner-circle {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: transparent;
    opacity: 0;
    transform: scale(0);
    transition: background-color 0.3s ease-in-out, opacity 0.3s ease-in-out, transform 0.7s ease-in-out;
}

/* التأثير عند التحديد */
.size-button.selected .circle {
    border-color: #FCA311;
}

.size-button.selected .inner-circle {
    background-color: #FCA311;
    opacity: 1;
    transform: scale(1.15);
}













/* التأثير عند التحويل */
.size-button:hover {
    background-color: #FCA311;
}

.size-button.selected {
    background-color: #fca21120;
    border-color: #FCA311;
    transform: scale(1.05);
}

/* تعديل النصوص */
.sizek {
    position: absolute;
    left: 20px; /* لضبط المحاذاة مع الدائرة */
    bottom: 40%;
    font-size: 8px;
}

.sizep {
    position: absolute;
    bottom: -1px;
    font-size: 7px;
    color: #72B01D;
}



/*----------------------------------------------------------------------------*/


.menu-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0px;
    gap: 4px;
    
} 

/*------------------------------------------*/


/*----------------------------------------------------------------------------*/
.menu-item {
    position: relative;
    display: flex;
    justify-content: center; /* توسيط المحتوى عموديًا */
    align-items: center; /* توسيط المحتوى أفقيًا */
    flex-direction: column; /* لتحديد ترتيب العناصر داخل كل صنف */
    padding: 15px; /* فراغ داخلي */
    background-color:#5c6b73d7;
    border-radius: 7px 7px 7px 7px;
    transition: transform 0.2s ease-in-out, box-shadow 0.3s ease, height 1s ease  ;  /* تأثير التحجيم والظل */
    box-shadow: inset 0px 20px 40px 5px #F42C04, /* الظل الداخلي */
    0 0 18px 2px #00000070; /* الظل الخارجي */
    cursor: pointer;        
    height: 140px; /* ضبط الارتفاع تلقائيًا */
    width: 2%; /* العرض الثابت */
    
    z-index: 10;
    top: 50px;  
    transition: z-index 0.3s ease, transform 0.5s ease;
  

    
    
}



/* بالنسبة للشاشات الصغيرة (الهواتف) */
@media (max-width: 768px) {
.menu-item {
    width: calc(50% - 10px); /* عرض العنصر 50% مع خصم المسافة بين العناصر */
    margin-bottom: 9px; /* إضافة مسافة بين العناصر */
    margin-left: auto; 
    margin-right: auto; 
    box-sizing: border-box; /* تأكد من أن البُعد يشمل الحواف */
    transition: transform 0.7s ease-in-out, box-shadow 0.8s ease-in-out;

}
}


/* التابلت */
@media (min-width: 769px) and (max-width: 1024px) {
    .menu-item {
        width: calc(50% - 10px); /* عرض العنصر 50% مع خصم المسافة بين العناصر */
        margin-bottom: 15px;
        
    }
}

/* الكمبيوتر */
@media (min-width: 1025px) {
    .menu-item {
        width: 10%; /* عرض بنسبة 30% */
        margin-bottom: 20px;
    }
}

.menu-item .price{
    position: absolute;
    right: 2px;
    top: 2px;
    text-align: center;
    color: #ffffff;
    margin: 5px;
    font-size: 15px;
    background-color: #18151580;
    border-radius: 20px;
    width: 50px;
    



}


.menu-item .kind{
    position: absolute;
    left: 2%; /* 10% من عرض الشاشة */
    top: 2%;
    text-align: center;
    color: #ffffff;
    margin: 5px;
    font-size: 15px;
    background-color: #00000048;
    border-radius: 20px;
    width: 50px;
    transition: all 1s ease;
    transform: translate(0, 0); /* موضع البداية */

    



}


.menu-item.focused .kind{
    transform: translate(calc(55vw - 100px),5vh); /* الانتقال إلى الجهة اليمنى */

    text-align: center;
    color: #ffffff;
    transition: all 1s ease;
    font-size: 15px;
    background-color: #00000048;
    border-radius: 20px;
    width: 50px;
    
}


.menu-item .kindt{
    position: absolute;
    left: 2%; /* 10% من عرض الشاشة */
    top: 2%;
    text-align: center;
    color: #ffffff;
    margin: 5px;
    font-size: 14px;
    background-color: #00000048;
    border-radius: 20px;
    width: 62px;
    transition: all 1s ease;
    transform: translate(0, 0); /* موضع البداية */

    



}



.menu-item.focused .kindt{
    transform: translate(calc(55vw - 100px),5vh); /* الانتقال إلى الجهة اليمنى */

    text-align: center;
    color: #ffffff;
    transition: all 1s ease;
    font-size: 10px;
    background-color: #00000048;
    border-radius: 20px;
    width: 50px;
    
}




.menu-item .kindts{
    position: absolute;
    left: 2%; /* 10% من عرض الشاشة */
    top: 2%;
    text-align: center;
    color: #ffffff;
    margin: 5px;
    font-size: 14px;
    background-color: #00000048;
    border-radius: 20px;
    width: 79px;
    transition: all 1s ease;
    transform: translate(0, 0); /* موضع البداية */

    



}



.menu-item.focused .kindts{
    transform: translate(calc(55vw - 100px),5vh); /* الانتقال إلى الجهة اليمنى */

    text-align: center;
    color: #ffffff;
    transition: all 1s ease;
    font-size: 10px;
    background-color: #00000048;
    border-radius: 20px;
    width: 50px;
    
}


.menu-item .kindts2{
    position: absolute;
    left: 2%; /* 10% من عرض الشاشة */
    top: 2%;
    text-align: center;
    color: #ffffff;
    margin: 5px;
    font-size: 14px;
    background-color: #00000048;
    border-radius: 20px;
    width: 120px;
    transition: all 1s ease;
    transform: translate(0, 0); /* موضع البداية */

    



}



.menu-item.focused .kindts2{
    transform: translate(calc(55vw - 100px),5vh); /* الانتقال إلى الجهة اليمنى */

    text-align: center;
    color: #ffffff;
    transition: all 1s ease;
    font-size: 8px;
    background-color: #00000048;
    border-radius: 20px;
    width: 50px;
    
}





.menu-item .kindts3{
    position: absolute;
    left: 2%; /* 10% من عرض الشاشة */
    top: 2%;
    text-align: center;
    color: #ffffff;
    margin: 5px;
    font-size: 12px;
    background-color: #00000048;
    border-radius: 20px;
    width: 120px;
    transition: all 1s ease;
    transform: translate(0, 0); /* موضع البداية */

    



}






.menu-item.focused .kindts4{
    transform: translate(calc(55vw - 100px),5vh); /* الانتقال إلى الجهة اليمنى */

    text-align: center;
    color: #ffffff;
    transition: all 1s ease;
    font-size: 6px;
    background-color: #00000048;
    border-radius: 20px;
    width: 50px;
    
}









.menu-item .kindts4{
    position: absolute;
    left: 2%; /* 10% من عرض الشاشة */
    top: 2%;
    text-align: center;
    color: #ffffff;
    margin: 5px;
    font-size: 11px;
    background-color: #00000048;
    border-radius: 20px;
    width: 120px;
    transition: all 1s ease;
    transform: translate(0, 0); /* موضع البداية */

    



}





.menu-item .info{
    position: absolute;
    bottom: 0px;
    text-align: center,top;
    color: #ffffff;
    margin: 5px;
    font-size: 10px;
    background-color: #5C6B73;
    width: 100%;
    height:0px;
    border-radius: 0px 0px 0px 0px;
    box-shadow: 0px -20px 25px 0px #000000a8;
    box-sizing: border-box;
    opacity: calc(0);
    transition: all 0.6s ease;



}

.menu-item.focused .info{
    position: absolute;
    bottom: 1px;
    text-align: center,top;
    color: #ffffff;
    margin: 0px;
    font-size: 10px;
    
    background-color: #fca2118f;
    width: 100%;
    height:30px;
    border-radius: 2px 2px 0px 0px;
    box-shadow:inset 0 0px 10px 1px #f42c0453 ,0px -20px 25px 0px #000000a8;
    opacity: 1;
    transition: all 0.6s ease;
    



}






.menu-item.right.focused {
    z-index: 10;
    box-shadow: inset 0px 60px 40px 1px #f42c04, 0 40px 60px 6px rgba(11, 11, 11, 0.892);
    transform: scale(1.6) translateX(-33%) translateY(40%); /* تحريك العنصر إلى منتصف اليمين */ /* تحريك العنصر إلى منتصف العنصر الأب */
    transition: transform 0.5s ease, height 1s ease; /* تأثير التحجيم والظل */
    border-radius: 7px 7px 0px 0px;
   
    background-color: #5c6b73e1;
}

.menu-item.left.focused {
    z-index: 10;
    transform: scale(1.6) translateX(34%) translateY(40%); /* تحريك العنصر إلى منتصف اليسار */ /* تحريك العنصر إلى منتصف العنصر الأب */
    transition: transform 0.5s ease, height 1s ease ,border-radius 1s ease, box-shadow 1s ease, background-color 1.4s ease ; /* تأثير التحجيم والظل */
    border-radius: 7px 7px 0px 0px;
    box-shadow: inset 0px 60px 40px 1px #f42c04, 0 40px 60px 6px rgba(11, 11, 11, 0.892);
    background-color: #5c6b73e1;
    
}


.menu-item.mid.focused {
    z-index: 10;
    transform: scale(1.4)translateY(40%); /* تحريك العنصر إلى منتصف اليسار */ /* تحريك العنصر إلى منتصف العنصر الأب */
    transition: transform 0.5s ease, height 1s ease ,border-radius 1s ease, box-shadow 1s ease, background-color 1.4s ease ; /* تأثير التحجيم والظل */
    border-radius: 7px 7px 0px 0px;
    box-shadow: inset 0px 60px 40px 1px #f42c04, 0 40px 60px 6px rgba(11, 11, 11, 0.892);
    background-color: #5c6b73e1;
    
}


.menu-item .image-wrapper {
    position: relative; /* لضبط الصورة داخل حاوية مرنة */
    width: 100%;
    height: 100%;
}

.menu-item img {
    position: absolute;
    margin-top: 20px ;
    width: 80%;
    height: auto;
    border-radius: 10px;
    transition: transform 1s ease, bottom 1s ease, right 1s ease; /* حركات تدريجية للتحجيم والموقع */
    object-fit: cover; /* لضبط الصورة بشكل مناسب داخل العنصر */
    z-index: 5;
    
}  


.menu-item.focused img {

    transform: scale(1.4) translateY(-35px) translatex(-35px) ;
    opacity: 100%;


  
    

}    








.menu-item.selected {
    background-color:  #f4743b ;
    transition:  all 1s ease;

}






.overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    z-index: 5; /* Make sure it's above other content */
    transition:  opacity 0.2s ease;
    opacity: 0;
}





.overlay.visible {
    
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.402); /* Semi-transparent background */
    z-index: 7; /* Make sure it's above other content */
    transition:  opacity 0.2s ease;
    opacity: 1;
}


#image1, #image2, #image3, #image4, #image5, #image6 {
    position: absolute;
    opacity: (0.6); /* الصور غير مرئية في البداية */
    width: 50%;
    height: 50%;
}

/* مواضع البداية */
#image1 {
    bottom: 550px;
    left: -300px; /* خارج الشاشة من اليسار */
    opacity: (0.6); /* الصور غير مرئية في البداية */
}

#image2 {
    top: 20px;
    right: -300px; /* خارج الشاشة من اليمين */
    opacity: (0.6); /* الصور غير مرئية في البداية */
}

#image3 {
    top: 200px;
    left: -400px; /* خارج الشاشة من اليسار */
    opacity: (0.6); /* الصور غير مرئية في البداية */
}

#image4 {
    top: 300px;
    right: -400px; /* خارج الشاشة من اليمين */
    opacity: (0.6); /* الصور غير مرئية في البداية */
}

#image5 {
    top: 500px;
    left: -400px; /* خارج الشاشة من اليسار */
    opacity: (0.6); /* الصور غير مرئية في البداية */
}

#image6 {
    top: 600px;
    right: -400px; /* خارج الشاشة من اليمين */
    opacity: (0.6); /* الصور غير مرئية في البداية */
}

/* حركات الدخول */
@keyframes fadeInImage1 {
    0% {
        left: -300px;
        opacity: 0.6;
        transform: rotate(80deg);
        
       
    }
    50% {
        left: -20px;
        opacity: 0.6;
        transform: rotate(75deg);
        
    }
    100% {
        left: -29px;
        opacity: 0.6;
        transform: rotate(80deg);
        
 
    }
}

@keyframes fadeInImage2 {
    0% {
        right: -300px;
        opacity: 0.6;
        transform: rotate(-50deg);
    }
    50% {
        right: -20px;
        opacity: 0.6;
        transform: rotate(-45deg); /* دوران الصورة */
    }
    100% {
        right: -29px;
        opacity: 0.6;
        transform: rotate(-50deg);
        
    }
}

@keyframes fadeInImage3 {
    0% {
        left: -250px;
        opacity: 0.6;
        transform: rotate(60deg);

    }
    50% {
        left: -29px;
        opacity: 0.6;
        transform: rotate(55deg);

    }
    100% {
        left: -39px;
        opacity: 0.6;
        transform: rotate(60deg);

    }
}

@keyframes fadeInImage4 {
    0% {
        right: -200px;
        opacity: 0.6;
        transform: rotate(-4deg);
 
    }
    50% {
        right: -37px;
        opacity: 0.6;
        transform: rotate(-12deg);
  
    }
    100% {
        right: -44px;
        opacity: 0.6;
        transform: rotate(-8deg);

    }
}

@keyframes fadeInImage5 {
    0% {
        left: -300px;
        opacity: 0.6;
        transform: rotate(40deg);
    }
    50% {
        left: -29px;
        opacity: 0.6;
        transform: rotate(50deg); /* دوران عكسي للصورة */
    }
    100% {
        left: -39px;
        opacity: 0.6;
        transform: rotate(40deg);
    }
}

@keyframes fadeInImage6 {
    0% {
        right: -300px;
        opacity: 0.6;
        transform: rotate(-30deg);
    }
    50% {
        right: -20px;
        opacity: 0.6;
        transform: rotate(-25deg);
    }
    100% {
        right: -29px;
        opacity: 0.6;
        transform: rotate(-30deg);
    }
}

/* حركات الخروج ********************************************/
@keyframes fadeOutImage1 {
    0% {
        left: -29px;
        opacity: 0.6;
        transform: rotate(80deg);
    }
    100% {
        left: -300px;
        opacity: 0.6;
        transform: rotate(80deg);
    }
}

@keyframes fadeOutImage2 {
    0% {
        right: -29px;
        opacity: 0.6;
        transform: rotate(-50deg);

    }
    100% {
        right: -300px;
        opacity: 0.6;
        transform: rotate(-50deg);

    }
}

@keyframes fadeOutImage3 {
    0% {
        left: -39px;
        opacity: 0.6;
        transform: rotate(60deg);

    }
    100% {
        left: -250px;
        opacity: 0.6;
        transform: rotate(60deg);


    }
}

@keyframes fadeOutImage4 {
    0% {
        right: -44px;
        opacity: 0.6;
        transform: rotate(-8deg);

    }
    100% {
        right: -250px;
        opacity: 0.6;
        transform: rotate(-4deg);

    }
}

@keyframes fadeOutImage5 {
    0% {
        left: -39px;
        opacity: 0.6;
        transform: rotate(40deg);

    }
    100% {
        left: -300px;
        opacity: 0.6;
        transform: rotate(40deg);

    }
}

@keyframes fadeOutImage6 {
    0% {
        right: -29px;
        opacity: 0.6;
        transform: rotate(-30deg);
   
    }
    100% {
        right: -300px;
        opacity: 0.6;
        transform: rotate(-30deg);


    }
}

/* تطبيق الحركات عند إضافة أو إزالة الصنف visible */
.overlay.visible #image1 {
    animation: fadeInImage1 2s ease-in-out forwards;
}

.overlay.visible #image2 {
    animation: fadeInImage2 3s ease-in-out forwards;
}

.overlay.visible #image3 {
    animation: fadeInImage3 2.4s ease-in-out forwards;
}

.overlay.visible #image4 {
    animation: fadeInImage4 2.3s ease-in-out forwards;
}

.overlay.visible #image5 {
    animation: fadeInImage5 2.4s ease-in-out forwards;
}

.overlay.visible #image6 {
    animation: fadeInImage6 2.6s ease-in-out forwards;
}

.overlay:not(.visible) #image1 {
    animation: fadeOutImage1 0.7s ease-in-out forwards;
}

.overlay:not(.visible) #image2 {
    animation: fadeOutImage2 0.7s ease-in-out forwards;
}

.overlay:not(.visible) #image3 {
    animation: fadeOutImage3 0.7s ease-in-out forwards;
}

.overlay:not(.visible) #image4 {
    animation: fadeOutImage4 0.7s ease-in-out forwards;
}

.overlay:not(.visible) #image5 {
    animation: fadeOutImage5 0.7s ease-in-out forwards;
}

.overlay:not(.visible) #image6 {
    animation: fadeOutImage6 0.7s ease-in-out forwards;
}













.navbars {
    top: 50px;
    position: fixed;
    display: flex;
    justify-content: space-between;
    background-color: #00000047;
    left: 0;
    right: 0;
    top: 50px;
    color: white;
    z-index: 1000;
    margin-bottom: 50px;
    line-height: 20px;
    flex-direction: row; /* ترتيب الأزرار بشكل عمودي */
    align-items: center;
    height: 40px;
    

}

.navs-button {
    cursor: pointer;
    padding: 10px 20px;
    background-color: #00000087;
    color: white;
    border: none;
    border-radius: 0px;
    text-align: center;
    width: 100%;

}

.navs-button:hover {
    background-color: #00000000;
}







/***************777777777777777777*****************/
/* لإخفاء السلة */
.cart-hidden {
    display: none;
}

/* لإظهار السلة */
.cart-visible {
    display: block;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 400px;
    background-color: #000000ac;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    padding: 50px 20px 0px 20px;
    z-index: 1000;
}

/* إضافة تأثير عند الظهور */
.cart-visible {
    animation: fadeIn 0.7s ease-in-out;
}

/* تأثيرات الحركة */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.cart-item-image {
    top: 8%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 150px; /* عرض الصورة */
    height: auto; /* ارتفاع الصورة */
}











/*تنسيق العنوان والمجموع الكلي*/

/* تنسيق العنوان */
.cart h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-align: center;
    color: #ffffff;
}

/* تنسيق المجموع الكلي */
.cart-total {
    font-size: 1.2rem;
    text-align: center;
    color: #444;
    font-weight: bold;
}

/* تنسيق نص المجموع الكلي */
.mmoon {
    color: #ffffffee;
}











/*تنسيق عناصر السلة*/


/* تنسيق العناصر داخل السلة */
#cartItems {
    top: 100px;
    max-height: 500px;
    overflow-y: auto;
    margin-bottom: 20px;
    padding: 10px;
    border: 2px solid #FCA311;
    border-radius: 5px;
    background-color: #ffffff16;
    min-width: 280px;
}

/* تنسيق كل عنصر داخل السلة */
.cart-item {
    position: relative;
    display: grid;
    max-height: 400px;
    height: 100vh;   
    margin-bottom: 10px;  /* إضافة مسافة بين العناصر */
    background-color: #5c6b73ea;
    border-radius: 7px;
    box-shadow: inset 0 0 30px 10px #F42C04;
}









/* تنسيق الخيارات والملاحظات*/


/* تنسيق للخيار */
.khacart {
    position: absolute;
    top: 180px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 250px;
    min-height: 50px; /* اجعل له ارتفاعًا مناسبًا */
    padding-top: 1px;
    
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* توسيط أفقي */
    
    text-align: center;

    gap: 0px 10px;
    border: 1px solid #f42c0492;
    border-radius: 5px;
    font-size: 14px;
    color: #ff0000;

    word-wrap: break-word;
    word-break: break-word;
    overflow-y: auto;
}



/* تنسيق قائمة الخيارات */
.options-list {
    list-style-type: none;
    width: 200px;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
}

/* تنسيق كل خيار داخل القائمة */
.option-item {
   
    background-color: #e9ecef00;
    border-radius: 5px;
    font-size: 12px;
    color: #FCA311;
    transition: background-color 0.3s;
    margin-bottom: 5px;
    flex-basis: 48%;
    box-sizing: border-box;
    text-align: center;
    font-weight: 800;
}



.alkha{
    color: #FCA311;
    position: absolute;
    top: 153px;
    left: 50%;
    transform: translateX(-50%);



}

.option-price{
    color: #72B01D;


}

/* عرض النص إذا لم توجد خيارات */
.khacart p {
    display: flex;
 
    text-align: center;
    color: #fd0000;
    font-style: italic;
    width: 100%; /* تأكد من أن العنصر يأخذ كامل العرض */
    height: 100%; /* تأكد من أنه يأخذ ارتفاع العنصر الأب */


}












/* تنسيق مربع الملاحظات */
.cart-item-notes-box {
    position: absolute;

    bottom: 50px;
    display: block;
    width: 90%;
    left: 50%;
    transform: translateX(-50%);
    height: 60px;
    padding: 8px;
    border: 1px solid #FCA311;
    border-radius: 5px;
    background-color: #f42c043a;
    font-size: 17px;
    font-weight: 800;
    resize: vertical;
    overflow: auto;
    box-sizing: border-box;
  
}

/* تنسيق الملاحظات عند عدم السماح بالتعديل */
.cart-item-notes-box[readonly] {
    display: flex;
    text-align: center;
    background-color: #fca2116c;
    cursor: default;
    border-color: #F42C04;
    font-weight: bold;

}









/*************السعر والعدد****************/



.adadcart {
    color: #FCA311;
    position: absolute;
    left: 49%;
    background-color: #00000000;
    transform: translateX(-51%);
    bottom: 350px;
 }
 
 .porig2 {
    position: absolute;
    left: 7px;
    height: 20px;
    width: 65px;
    background-color: #00000000;
    border-radius: 5px;
    font-weight: 700;
    color: #72B01D;
    bottom: 360px;
 }
 
 .pricecart {

   
        position: absolute; /* تأكد من أن العناصر داخله تأخذ مرجع التموضع منه */
        width: 97%;
        bottom:350px;
        left: 5px;
        padding-right: 10px;
        
        height: 30px; /* زيادة الارتفاع إن لزم الأمر */
        background-color: #0000005b;
        border-radius: 5px;
        color: #FCA311;
        box-shadow: inset 0px 2px 10px 1px #f42c04, 0 0 15px 2px #000000;
        box-sizing: border-box;
        text-align: end;
        
   
    
 }
 
 .pcr {
    position: absolute;
    right: 15px;
    bottom: 5px;
    color: #72B01D;
    background-color: #00000071;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    width: 120px;
 }
 
/*nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn*/

 .confirmationdelet-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.confirmationdelet-box {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

.confirmationdelet-buttons {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.confirmationdelet-buttons button {
    padding: 8px 16px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
}

#confirmDelete {
    background: red;
    color: white;
}

#cancelDelete {
    background: gray;
    color: white;
}

.qhidden {
    display: none;
}
/*nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn*/








/**زر تعديل السلة***************************/


 /* زر التعديل */
.btn-edit {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Cairo", "Beiruti", serif;
    bottom: 15px;
    left: 75px;
    background-color: #1eff0034;
    color: black;
    height: 30px;
    width: 50px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 800;
}


/* زر الحذف */
.btn-remove {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Cairo", "Beiruti", serif;
    bottom: 15px;
    left: 20px;
    background-color: #71040480;
    color: black;
    height: 30px;
    width: 50px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 800;
}

.btn-remove:hover {
    background-color: #a71d2a;
}







/**زر اغلاق السلة***************************/


.close-cart-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
    transition: color 0.3s;
}

.close-cart-btn:hover {
    color: red;
}



















/*88888888888التعديل يا صاحبي   8888888888*/

.c4c{
    position: relative;
    


}

.edit-window {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
   
}

.edit-window.hidden {
    position: relative;
    display: none;
}

.edit-content {
    position: relative;
    background: #5C6B73;
    padding: 20px;
    border-radius: 8px;
    width: 85%;
    max-width: 400px;
    box-shadow: inset 0 0 30px 2px #F42C04,0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    height: 350px;
    
}

.c4cb1{
    font-family: "Cairo", "Beiruti",serif;
    background-color: #72B01D;
    color: #ffffff;
    border: none;
    font-size: 12px;
    border-radius: 5px;
    cursor: pointer;
    




}


.c4cb2{
    font-family: "Cairo", "Beiruti",serif;
    background-color: #ff0000ba;
    color: #fff;
    border: none;
    font-size: 12px;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 4px;
  



}



.quantity-group2{
    background-color: #fca2117b;
    width: 100%;
    height: 33px;
    position: absolute;
    display: flex;
    left: 50%;
    transform: translateX(-50%);
    justify-content: center;
    top: 59%;
    



}



.tcart{
   
    
    width: 98%;
    background-color: #5c6b7358;
    position: absolute;
    top: -2%;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: inset 0 0 10px 2px  #F42C04, 0 0 10px 1px #000000;
    border-radius: 7px;



}

.bc4c{
   position: absolute;
   left: 49%;
   transform: translateX(-50%);
   top: 88%;
   



}

.options-header{
    position: absolute;
    left: 49%;
    transform: translateX(-51%);
    top: 21%;


}









/* إخفاء الـ checkbox الأصلي */
.option-iteme input[type="checkbox"] {
    display: none;
}

/* تصميم الصندوق المخصص */
.option-iteme .custom-checkbox {
    display: inline-block;
    width: 15px; /* حجم المربع */
    height: 15px;
    border-radius: 4px; /* زوايا مستديرة */
    background-color: #FFFDED;
    position: relative;
    vertical-align: middle;
    margin-right: 5px; /* مسافة بين المربع والنص */
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
    justify-content: end;
}

/* تأثير عند التحديد (إضافة علامة الصح) */
.option-iteme input[type="checkbox"]:checked + .custom-checkbox {
    background-color: #72B01D; /* تغيير اللون عند التحديد */
    border-color: #F42C04;
}

/* إضافة أيقونة الصح عند التحديد */
.option-iteme input[type="checkbox"]:checked + .custom-checkbox::after {
    content: "✔"; /* رمز الصح */
    font-size: 14px;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* تأثير عند تمرير الماوس */
.option-iteme .custom-checkbox:hover {
    border-color: #0056b3;
}

/* تنسيق عنصر الخيار */
.option-iteme {
    
    font-weight: 800;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 0px;
    background-color: transparent; /* إزالة الخلفية */
    padding: 3px 20px; /* إضافة هوامش داخلية */
    border-radius: 8px; /* إضافة حدود مستديرة */
    margin: 0; /* إزالة المسافات من حول العناصر */
    width: auto; /* ضبط العرض بناءً على المحتوى */
    transition: background-color 0.3s ease; /* تأثير عند التفاعل */
}

/* تأثير عند التمرير */
.option-iteme:hover {
    background-color: #5b1a1a00;
}

/* تخصيص النصوص داخل العنصر */
.option-iteme label {
    display: flex;
    align-items: center;
    gap: 0px; /* مسافة بين الـ checkbox والنص */
    cursor: pointer;
}

/* تخصيص القائمة بحيث تكون العناصر مرتبة أفقيًا */
.options-liste {
    width: 88%;
    position: absolute;
    left: 50%;
    
    transform: translateX(-50%);
    top: 29%;
    display: flex; /* استخدام Flexbox لترتيب العناصر أفقيًا */
    flex-wrap: wrap; /* السماح للعناصر بالانتقال إلى السطر التالي عند الحاجة */
    justify-content: center; /* محاذاة العناصر إلى اليسار */
    align-items: center; /* التأكد من أن العناصر في نفس الخط */
    /* جعل القائمة تبدو كصندوق */
    background-color: #5C6B73; /* لون الخلفية */
    border: 2px solid #F42C04; /* إضافة حدود */
    border-radius: 10px; /* زوايا مستديرة */
    padding: 1px; /* مساحة داخلية للصندوق */
    
}

/* تخصيص مسافة النص داخل العنصر */
.option-iteme .option-checkbox {
    margin-right: 0px;
}

/* تخصيص نص السعر */
.option-iteme .plit {
    font-size: 12px;
    color: #72B01D;
    margin-left: 5px;
}







.notes-groupc4c {
  
   position: absolute;
   left: 49%;
   transform: translateX(-51%);
   top: 73%;
   background-color: #c24b4b00;
   

}



.notes-groupc4c textarea {
    position: absolute;
    font-family: "Cairo", "Beiruti",serif;

 
    width: 270px;
    height: 45px;
    left: 49%;
    transform: translateX(-51%);
    top: 80%;
    background-color: #c24b4bf4;
    transition: 1s ease;
    border-radius: 7px;
    
 
 }

 .notes-groupc4c textarea::placeholder {
    text-align: center; /* محاذاة النص في الوسط */
    display: flex; /* تفعيل الفليكس */
    align-items: center; /* توسيط النص عموديًا */
    justify-content: center; /* توسيط النص أفقيًا */
    width: 100%; /* ليأخذ العرض بالكامل */
    font-family: "Cairo", "Beiruti",serif;
    color: #000000;

    
}


 .notes-groupc4c textarea:not(:placeholder-shown){
    position: absolute;
    width: 280px;
    height: 55px;
    transform: scale(2);
    text-align: center; /* محاذاة النص في الوسط */
    display: flex; /* تفعيل الفليكس */
    align-items: center; /* توسيط النص عموديًا */
    justify-content: center; /* توسيط النص أفقيًا */
    left: 49%;

    transform: translateX(-51%);
    top: 80%;
    background-color: #7c7c7cf4;
    transition: 1s ease;
    border-radius: 7px;
    box-shadow:0 0 1px 1px #000000;
    
 
 }




















/* تصميم الـ overlay */
.overlay-message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* خلفية مظللة */
    display: none; /* إخفاء الـ overlay بشكل افتراضي */
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1000;
}

/* عندما يكون الـ overlay مرئي */
.overlay-message.visible {
    display: flex; /* إظهار الـ overlay */
    opacity: 1;
}

/* محتوى الرسالة */
.message-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    width: 300px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.message-content p {
    font-size: 18px;
    color: #333;
}

#closeMessageButton {
    background-color: #F42C04;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 15px;
}

#closeMessageButton:hover {
    background-color: #FCA311;
}











#quantity-error-message {
    background-color: #000000ee; /* لون أحمر */
    color: rgb(255, 0, 0);
    padding: 10px;
    text-align: center;
    justify-content: center;
    border-radius: 5px;
    width: 300px;
    height: 200pxpx;
    position: absolute; /* أو أي موضع آخر مناسب */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
  }
  
  #quantity-error-message.hidden {
    display: none;
  }


  .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    color: #ff0019;
    cursor: pointer;
}

.close-btn:hover {
    color: #ff0000;
}












/* تصميم الحاوية القابلة للتمرير */
.checkbox-scroll-container {
    max-height: 87px; /* ارتفاع ثابت للحاوية */
    overflow-y: auto; /* تمكين التمرير العمودي */
    padding-right: 8px; /* إضافة مساحة للتمرير */
    margin-bottom: 2px; /* مسافة بين الحاوية والعناصر الأخرى */
    border: 10px #ff0000;
    padding-top: 4px;
    width: 94%;
    border-radius: 7px;
    margin-top: 9px;
    
    /* تدرج لوني يشير للمحتوى المخفي */
    mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
    
    /* شريط تمرير مخصص */
    scrollbar-width: thin;
    scrollbar-color: #F42C04 #5c6b73c0;

    /* عدم ظهور الظل في البداية */
    box-shadow: inset 0px 1px 20px 1px #f42c0400;
}

/* عندما يتم إضافة الكلاس scrollable لظهور الظل */
.checkbox-scroll-container.scrollable {
    animation: showShadow 1s ease-in-out forwards; /* أضفنا animation لتكرار التأثير */
}

/* التأثير التدريجي عند الظهور */
@keyframes showShadow {
    0% {
        box-shadow: inset 0px 1px 20px 1px rgba(252, 161, 17, 0); /* الظل غير مرئي */
    }
    50% {
        box-shadow: inset -111px 1px 50px 4px #F42C04; /* الظل يبدأ بالظهور */
    }
    100% {
        box-shadow: inset 0px 0px 15px 1px #F42C04; /* الظل النهائي */
    }

}

/* إظهار العناصر بتأثير تدريجي */
.checkbox-scroll-container label {
    display: flex;
    align-items: center;
    gap: 1px;
    margin-bottom: 5px;
    cursor: pointer;
    justify-content: flex-start;
    direction: rtl;
    font-size: small;
    color: #fff8f8;
    opacity: 0;
    transform: translateY(20px) scale(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* تأثير الظهور التدريجي لكل عنصر */
.checkbox-scroll-container label:nth-child(1) {
    transition-delay: 0.1s;
}
.checkbox-scroll-container label:nth-child(2) {
    transition-delay: 0.2s;
}
.checkbox-scroll-container label:nth-child(3) {
    transition-delay: 0.3s;
}
.checkbox-scroll-container label:nth-child(4) {
    transition-delay: 0.4s;
}
.checkbox-scroll-container label:nth-child(5) {
    transition-delay: 0.5s;
}

/* عند ظهور الحاوية، إظهار العناصر بتأثير تدريجي */
.menu-options.visible .checkbox-scroll-container label {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: pullDown 1s cubic-bezier(0.7, 0.5, 0.4, 1)  2 alternate;
    animation-delay: 1.5s; /* التأخير قبل بدء التأثير */
}

/* تعريف الحركة */
@keyframes pullDown {
    0% {
        opacity: 1;
        transform: translateY(0px);
    }
    50% {
        opacity: 1;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}



section {
    scroll-margin-top: 132px; /* عدّل 80px حسب ارتفاع الـ navbar */
}


.secsec{
   position: relative;
   width: 100%;
   height: 9px;
   background-color: #F42C04;
   margin-top: 130px;
   box-shadow: 0 0 35px 40px #F42C04;
   display: flex;
   justify-content: center;
   justify-items: center;
   text-align: center;
   margin-bottom: 0px;
  


}



 
 .secsectext {
    position: absolute;
    top: -170%;
    left: 50%;
    transform: translateX(-50%); 
    width: 100%;
    height: 20px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;     
 
 }




 .secimg {
    position: absolute;
    top: -530%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 100vw;
    min-height: 100vh;
  
}