body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}
.container {
    display: none;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.containerhang {
    display: block;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    display: flex;
    
    align-items: center;
    padding: 5px 0;
    margin-bottom: 5px;
    border-bottom: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: left; /* محاذاة النص إلى اليسار */
    
}
.headertaxi {
    align-items: center;
    padding: 15px 0;
    margin-bottom: 5px;
    border-bottom: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center; /* محاذاة النص إلى اليسار */
    
}
.logo {
    margin-right: auto; /* دفع كلمة بعلبكي إلى أقصى اليسار */
    font-size: 24px;
    font-weight: bold;
}
.language-switcher {
    position: relative;
    display: inline-block;
    margin-right: 10px; /* إضافة مسافة بين الأزرار */
    z-index: 9999;
}
.language-btn {
    background-color: #b6b9bb;
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.language-btn:hover {
    background-color: #818e9b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.language-btn:active {
    transform: translateY(1px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.language-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 9999;
    border-radius: 4px;
    left: -40%; /* تغيير من 0 إلى -100% لجعل القائمة تظهر إلى اليسار */
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.3s ease;
}

.language-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: right;
    transition: background-color 0.2s ease, transform 0.2s ease;
}
.language-content a:hover {
    background-color: #818e9b;
    transform: translateX(-5px);
}
.language-switcher:hover .language-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}.categories {
    display: flex;
    flex-wrap: nowrap;         /* زرع واحد ورا الثاني بدون نزول للسطر */
    overflow-x: auto;          /* يضيف شريط تمرير أفقي */
    gap: 12px;                 /* مسافة بين الأزرار */
    padding: 10px;
    scroll-behavior: smooth;   /* سحب سلس */
    -webkit-overflow-scrolling: touch; /* دعم سحب باللمس في الموبايل */
}

.categories::-webkit-scrollbar {
    display: none;             /* يخفي شريط التمرير (اختياري) */
}

.category-btn {
    flex: 0 0 auto;            /* يمنع الزر من التمدد، يخليه بحجمه الطبيعي */
    max-width: 100px;               /* حجم ثابت مناسب للموبايل */
    max-height: 70px;
    background-color: #f4f4f4; /* لون أساسي */
    color: rgb(0, 0, 0);
    border: none;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.category-btn img {
    width: 80px;   /* حجم الأيقونة داخل الزر */
    height: 50px;
    object-fit: contain;
}

.category-btn:hover {
    background-color: rgb(209, 218, 222); /* لون أفتح عند الهوفر */
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.25);
}

.category-btn:active {
    transform: scale(0.95);
}

.category-btn.active {
    background-color: #bec0c2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    color:black;
}

@media (max-width: 768px) {
    .category-btn {
        flex-basis: 40%;
    }
}

.icon-label {
  font-family: "Tahoma", "Arial", sans-serif; /* خط أنيق وواضح */
  font-size: 10px; 
  font-weight: bold; /* سماكة متوسطة */
  color: #51530d; /* أسود دائمًا */
  margin-top: 0px;
  text-align: center; /* توسيط تحت الصورة */
  letter-spacing: 0.5px; /* مسافة خفيفة بين الحروف */
}


.search-section {
    display: none;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    
}
.search-section.visible {
    transform: translateY(0);
    opacity: 1;
}
.search-form {
    display: flex;
    gap: 10px;
}
.search-input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.3s ease;
    max-width : 45%;
}
.search-input:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
    outline: none;
}
.search-btn {
    background-color: #b6b9bb;
    color: white;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.search-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transition: all 0.4s ease;
}
.search-btn:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
.search-btn:hover:before {
    left: 100%;
}
.search-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.debug-info {
    background-color: #f9f9f9;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 20px;
    font-family: monospace;
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
.pulse {
    animation: pulse 0.5s;
}


.results-container {
    display: none;
    display: flex; /* استخدام flexbox */
    flex-wrap: wrap; /* السماح للعناصر باللف إلى السطر التالي */
    justify-content: flex-end; /* محاذاة العناصر إلى اليمين */
    gap: 10px; /* المسافة بين العناصر */
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    opacity: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.search-container.visible {
transform: translateY(0);
opacity: 1;
}
.results-container.visible {
    transform: translateY(0);
    opacity: 1;
    display: flex;
    justify-content:right;
    flex-wrap: wrap;
    margin-bottom: 30px;
}
.rowresults-container {
    background-color: #dfdfdd;
    padding: 3px;
    height: 200px;
    max-width: 350px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 10px;
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    text-align: center;
    display: flex; /* Use flexbox for layout */
    flex-direction: row; /* Align children in a row */
    justify-content: space-between; /* Space between items */
}

.person-result {
    background-color: #dfdfdd;
    padding: 3px;
    height: 140px;
    max-width: 350px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 10px;
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    text-align: center;
    display: flex; /* Use flexbox for layout */
    flex-direction: row; /* Align children in a row */
    justify-content: space-between; /* Space between items */
}

.textdiv {
    max-width: 45%;
    max-height: 100%;
    font-size: 12px;
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    text-align: center;
    display: flex; /* Use flexbox for layout */
    justify-content: flex-end; /* Align text to the right */
}
.imagediv {
    background-color: #aba6a1;
    padding: 0px; /* تقليل الحشو */
    max-width: 50%;
    max-height: 100%; /* تقليل الارتفاع الأقصى */
    border: 1px solid black;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    display: flex;
    flex-direction: column; /* لضمان أن العناصر تكون عمودية */
    align-items: center; /* محاذاة العناصر في المنتصف */
}

.image-part{
    max-width: 100%;
    max-height: 80%;
    width: 100%;
    height: 100%;
    background-color: #9f9696;
    border-bottom: 1px solid black;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    object-position: right;
    transform: translateY(0);
    text-align: center;



}

.sort-options{
    background-color: #b6b9bb;
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.dropdown-content {
    display: none; /* تأكد من أن القيمة الافتراضية هي none */
    position: absolute; /* تأكد من أن القائمة المنسدلة تظهر فوق العناصر الأخرى */
    background-color: #f9f9f9; /* لون الخلفية */
    min-width: 160px; /* عرض القائمة المنسدلة */
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); /* ظل */
    z-index: 1; /* تأكد من أن القائمة المنسدلة تظهر فوق العناصر الأخرى */
    border-radius: 4px; /* زوايا دائرية */
    margin-top: 5px; /* إضافة مسافة بين الزر والقائمة المنسدلة */
}

.login-btn {
    background-color: #b6b9bb;
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.login-btn:hover {
    background-color: #818e9b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.login-switcher, .cart-switcher {
    position: relative;
    display: flex; /* Use flexbox for layout */
    margin-right: 10px; /* إضافة مسافة بين الأزرار */
    align-items: center; /* Center items vertically */
}
.cart-btn {
    background-color: #b6b9bb;
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.cart-btn:hover {
    background-color: #818e9b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.popup {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
    z-index: 99999;
}
.popup-content {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: slideIn 0.5s forwards;
}
@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
.close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
}

.close:hover::after {
    content: '';
    position: absolute;
    top: 5px;
    left: -5px;
    width: 20px; /* عرض الحلقة */
    height: 20px; /* ارتفاع الحلقة */
    border-radius: 50%; /* لجعلها دائرية */
    border: 2px solid #b6b9bb; /* لون الحلقة */
    opacity: 1; /* اجعلها مرئية */
    animation: pulse 0.6s infinite; /* تأثير النبض */
}
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
#form-container {
    margin-top: 20px;
    max-width: 220px;
}
input[type="text"], input[type="password"], input[type="tel"] {
    width: 80%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}
button {
    width: 100%;
    padding: 10px;
    background-color: #b6b9bb;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}
button:hover {
    background-color: #818e9b;
}

.loading-circle {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    border: 5px solid #3498db;
    border-top: 5px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-span {
    display: none;
    position: fixed;
    top: calc(50% + 60px);
    left: 50%;
    transform: translateX(-50%);
    font-size: 16px;
    text-align: center;
    color: #333;
}

.search-section-edit {
    max-width: 350px;
    margin:auto;
    background:#fff;
    padding:25px;
    border-radius:12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}
.search-input-edit {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.3s ease;
    max-width : 100%;
}
.results-container-edit {
    max-width: 350px;
    margin:auto;
    background:#fff;
    padding:25px;
    border-radius:12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);

}

 






.dropdown-content-items {
    display: none; /* تأكد من أن القيمة الافتراضية هي none */
    position: absolute; /* تأكد من أن القائمة المنسدلة تظهر فوق العناصر الأخرى */
    background-color: #ddd; /* لون الخلفية */
    color: black; /* تغيير لون النص */
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); /* ظل */
    z-index: 2; /* تأكد من أن القائمة المنسدلة تظهر فوق العناصر الأخرى */
    border-radius: 4px; /* زوايا دائرية */
  }
  
  .items-option {
    display: block;
    border-radius: 5px; /* تحديد الحواف */
    width: 100%;
    padding: 8px 12px;
    font-size: 14px;
    text-align: center;
    border: none;
    color: black; /* تغيير لون النص */
    background-color: #b6b9bb; /* لون الخلفية */
    cursor: pointer;
  }
  
  .items-option:hover {
    background-color: #818e9b;; /* اللون عند التمرير */
    color: black; /* تغيير لون النص */
  }
  

  
.dropdown-content-elec {
    display: none; /* تأكد من أن القيمة الافتراضية هي none */
    position: absolute; /* تأكد من أن القائمة المنسدلة تظهر فوق العناصر الأخرى */
    background-color: #ddd; /* لون الخلفية */
    color: black; /* تغيير لون النص */
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); /* ظل */
    z-index: 2; /* تأكد من أن القائمة المنسدلة تظهر فوق العناصر الأخرى */
    border-radius: 4px; /* زوايا دائرية */
  }
  
  .elec-option {
    display: block;
    border-radius: 5px; /* تحديد الحواف */
    width: 100%;
    padding: 8px 12px;
    text-align: center;
    font-size: 14px;
    border: none;
    color: black; /* تغيير لون النص */
    background-color: #b6b9bb; /* لون الخلفية */
    cursor: pointer;
  }
  
  .elec-option:hover {
    background-color: #818e9b;; /* اللون عند التمرير */
    color: black; /* تغيير لون النص */
  }
  

   
.dropdown-content-entertainment {
    display: none; /* تأكد من أن القيمة الافتراضية هي none */
    position: absolute; /* تأكد من أن القائمة المنسدلة تظهر فوق العناصر الأخرى */
    background-color: #ddd; /* لون الخلفية */
    color: black; /* تغيير لون النص */
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); /* ظل */
    z-index: 2; /* تأكد من أن القائمة المنسدلة تظهر فوق العناصر الأخرى */
    border-radius: 4px; /* زوايا دائرية */
  }
  
  .entertainment-option {
    display: block;
    border-radius: 5px; /* تحديد الحواف */
    width: 100%;
    padding: 8px 12px;
    text-align: center;
    font-size: 14px;
    border: none;
    color: black; /* تغيير لون النص */
    background-color: #b6b9bb; /* لون الخلفية */
    cursor: pointer;
  }
  
  .entertainment-option:hover {
    background-color: #818e9b;; /* اللون عند التمرير */
    color: black; /* تغيير لون النص */
  }
  



  .dropdown-content-hoble {
    display: none  ;/* تأكد من أن القيمة الافتراضية هي none */
    position: absolute; /* تأكد من أن القائمة المنسدلة تظهر فوق العناصر الأخرى */
    background-color: #ddd; /* لون الخلفية */
    color: black; /* تغيير لون النص */
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); /* ظل */
    z-index: 2; /* تأكد من أن القائمة المنسدلة تظهر فوق العناصر الأخرى */
    border-radius: 4px; /* زوايا دائرية */
  }
  
  .hoble-option {
    display: block;
    border-radius: 5px; /* تحديد الحواف */
    width: 100%;
    padding: 8px 12px;
    text-align: center;
    font-size: 14px;
    border: none;
    color: black; /* تغيير لون النص */
    background-color: #b6b9bb; /* لون الخلفية */
    cursor: pointer;
  }
  
  .hoble-option:hover {
    background-color: #818e9b;; /* اللون عند التمرير */
    color: black; /* تغيير لون النص */
  }



  
  .dropdown-content-food {
    display: none  ;/* تأكد من أن القيمة الافتراضية هي none */
    position: absolute; /* تأكد من أن القائمة المنسدلة تظهر فوق العناصر الأخرى */
    background-color: #ddd; /* لون الخلفية */
    color: black; /* تغيير لون النص */
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); /* ظل */
    z-index: 2; /* تأكد من أن القائمة المنسدلة تظهر فوق العناصر الأخرى */
    border-radius: 4px; /* زوايا دائرية */
  }
  
  .food-option {
    display: block;
    border-radius: 5px; /* تحديد الحواف */
    width: 100%;
    padding: 8px 12px;
    text-align: center;
    font-size: 14px;
    border: none;
    color: black; /* تغيير لون النص */
    background-color: #b6b9bb; /* لون الخلفية */
    cursor: pointer;
  }
  
  .food-option:hover {
    background-color: #818e9b;; /* اللون عند التمرير */
    color: black; /* تغيير لون النص */
  }


  .dropdown-content-hotels {
    display: none; /* تأكد من أن القيمة الافتراضية هي none */
    position: absolute; /* تأكد من أن القائمة المنسدلة تظهر فوق العناصر الأخرى */
    background-color: #ddd; /* لون الخلفية */
    color: black; /* تغيير لون النص */
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); /* ظل */
    z-index: 2; /* تأكد من أن القائمة المنسدلة تظهر فوق العناصر الأخرى */
    border-radius: 4px; /* زوايا دائرية */
  }
  
  .hotels-option {
    display: block;
    border-radius: 5px; /* تحديد الحواف */
    width: 100%;
    padding: 8px 12px;
    text-align: center;
    font-size: 14px;
    border: none;
    color: black; /* تغيير لون النص */
    background-color: #b6b9bb; /* لون الخلفية */
    cursor: pointer;
  }
  
  .hotels-option:hover {
    background-color: #818e9b;; /* اللون عند التمرير */
    color: black; /* تغيير لون النص */
  }




  


.dropdown-content-cars {
    display: none; /* تأكد من أن القيمة الافتراضية هي none */
    position: absolute; /* تأكد من أن القائمة المنسدلة تظهر فوق العناصر الأخرى */
    background-color: #ddd; /* لون الخلفية */
    color: black; /* تغيير لون النص */
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); /* ظل */
    z-index: 2; /* تأكد من أن القائمة المنسدلة تظهر فوق العناصر الأخرى */
    border-radius: 4px; /* زوايا دائرية */
  }
  
  .cars-option {
    display: block;
    border-radius: 5px; /* تحديد الحواف */
    width: 100%;
    padding: 8px 12px;
    text-align: center;
    font-size: 14px;
    border: none;
    color: black; /* تغيير لون النص */
    background-color: #b6b9bb; /* لون الخلفية */
    cursor: pointer;
  }
  
  .cars-option:hover {
    background-color: #818e9b;; /* اللون عند التمرير */
    color: black; /* تغيير لون النص */
  }

  .dropdown-arrow {
    display: inline-block;
    transition: transform 0.3s ease; /* لتغيير الاتجاه بسلاسة */
}

/* أنماط جديدة لبطاقات نتائج البحث */
/* تحديث أنماط بطاقات نتائج البحث */
.product-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 280px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.product-image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image,
.product-image-container:hover .product-image {
    transform: scale(1.25);
}

.product-info {
    padding: 10px;
    flex-grow: 1;
}

.product-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 3px;
    color: #b6b9bb;
}

.product-provider {
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.product-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 15px;
    font-size: 14px;
}

.detail-item {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-weight: bold;
    margin-bottom: 3px;
    color: #34495e;
}

.detail-value {
    color: #7f8c8d;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
}

.product-price {
    font-size: 18px;
    font-weight: bold;
    color: #b6b9bb;
}

.action-button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color:black;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.action-button:hover {
    transform: scale(1.2);
    background-color: rgba(0,0,0,0.05);
}







.delivery-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ffffff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 10;
}

.delivery-badge4 {
      position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ffffff;
    border-radius: 15px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
    color: #b6b9bb;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 10;
}


.extra-badge {
    position: absolute;
    top: 45px;
    right: 10px; /* أعلى يسار */
    background-color: #ffffff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 10;
}

.extra-badge2 {
    position: absolute;
    top: 15px;
    left: 10px; /* أعلى يسار */
    background-color: #ffffff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 10;
}



.distance-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ffffff;
    border-radius: 15px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
    color: #b6b9bb;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 10;
}

/* إضافة تنسيقات للحقول المتعددة */
.search-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.search-input {
    flex: 1;
    min-width: 200px;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.sort-options {
    min-width: 150px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

/* للشاشات الصغيرة */
@media (max-width: 768px) {
    .search-input, .sort-options {
        width: 100%;
        flex-basis: 100%;
    }
}


.provstandbydiv {
    display: block;
    
    align-items: center;
    padding: 15px 15px;
    margin-bottom: 30px;
    border-bottom: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    direction: rtl; /* تحديد اتجاه النص من اليسار إلى اليمين */
}

.onloadcontainer {
    display: block;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* تنسيقات التحكم في المسافة */
.distance-control {
    display: flex;
    align-items: center;
    background-color: #b6b9bb;
    border-radius: 25px;
    padding: 8px 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    min-width: 120px;
    justify-content: center;
}

.distance-control:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transform: translateY(-1px);
}

.distance-btn {
    background-color: #ffffff;
    color: #b6b9bb;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.distance-btn:hover {
    background-color: #f0f0f0;
    transform: scale(1.1);
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}

.distance-btn:active {
    transform: scale(0.95);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.distance-value {
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    margin: 0 15px;
    min-width: 20px;
    text-align: center;
}

.distance-unit {
    color: #ffffff;
    font-size: 12px;
    margin-right: 5px;
    opacity: 0.8;
}

/* تحسين التخطيط للشاشات الصغيرة */
@media (max-width: 768px) {
    .distance-control {
        min-width: 100px;
        padding: 6px 12px;
    }
    
    .distance-btn {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }
    
    .distance-value {
        font-size: 14px;
        margin: 0 10px;
    }
    
    .distance-unit {
        font-size: 11px;
    }
}

/* شريط خيارات الفئات الفرعية (أفقي قابل للسحب) */
.suboptions-strip {
    display: none;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding: 10px;
    margin-top: 6px;
    background-color: transparent;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.suboptions-strip::-webkit-scrollbar {
    display: none;
}

.suboption-btn {
    flex: 0 0 auto;
    background-color: #f4f4f4;
    color: #000;
    width: auto;               
    height: auto;
    border: none;
    border-radius: 12px;
    padding: 8px 12px;
    cursor: pointer;
    box-shadow: 0 3px 6px rgba(0,0,0,0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    white-space: nowrap;
}

.suboption-btn:hover {
    background-color: #e5e7ea;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.18);
}

.suboption-btn.active {
    background-color: #e5e7ea;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.18);
}

