.reservation-container {
     max-width: 1200px;
    margin: auto;
}

.woocommerce-js select {    padding: .3em .4em;}
/* ✅ شريط الأقسام */
.categories-nav {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 10px 0;
    white-space: nowrap;
    background: #f8f8f8;
    border-bottom: 2px solid #ddd;
}

.categories-nav a {
    padding: 8px 15px;
    border-radius: 20px;
    background: #fff;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    cursor: pointer;
}

/* ✅ قائمة المنتجات */
.products-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

/* ✅ تصميم المنتج */
.product-item {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    padding: 10px;
    background: #fff;
    border-radius: 10px;
    justify-content: space-between;
}

/* .product-item img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 10px;
}
 */
.product-info {
    flex-grow: 1;
    text-align: right;
}

.product-name {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

.product-price {
    color: #d9534f;
    font-size: 14px;
    font-weight: bold;
}
 

/* ✅ إجمالي الطلب */
.total-price {
    font-size: 20px;
    font-weight: bold;
    color: #007bff;
    text-align: center;
    margin: 10px 0;
}

/* ✅ تنسيق اختيار الطاولات */
.table-selection {
    margin-top: 20px;
    padding: 15px;
    background: #f8f8f8;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 10px;
}

.form-group label {
    font-weight: bold;
    display: block;
}

.form-group select, .form-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* ✅ زر الإرسال */
.submit-btn {
    background: #007bff;
    color: #fff;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    border-radius: 5px;
}
.submit-btn:hover {
    background: #84614f;
}


/* ✅ تصميم الدائرة العائمة لإجمالي الطلب */
#floating-total {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #007bff;
    color: white;
    padding: 12px 18px;
    border-radius: 50%;
    font-size: 18px;
    font-weight: bold;
    display: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    text-align: center;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Tajawal", Arial, sans-serif;
    direction: rtl;
    z-index: 9999;
}
#floating-total:hover {
    background: #0056b3;
}

/* ✅ تنسيق القائمة العائمة لإجمالي الطلب */
#order-summary-container {
    max-width: 900px;
    margin: auto;
    text-align: center;
    padding: 5px;
}

/* ✅ إشعارات التوست */
.toast-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    animation: fadeInOut 2s ease-in-out;
    z-index: 9999;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateX(-50%) translateY(10px); }
    10% { opacity: 1; transform: translateX(-50%) translateY(0); }
    90% { opacity: 1; }
    100% { opacity: 0; transform: translateX(-50%) translateY(10px); }
}

/* ✅ تصميم النافذة المنبثقة */
.image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    text-align: center;
    padding-top: 10%;
}

/* ✅ تصميم الصورة داخل النافذة */
.modal-content {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.2);
}

/* ✅ زر الإغلاق */
.close-modal {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

/* ✅ تحسين العرض العام */
.reservation-container {
    max-width: 100%;
    margin: 0 auto;
 }

/* ✅ تحسين شريط الأقسام */
.categories-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}
.categories-nav a {
    text-decoration: none;
    background: #ff5733;
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 14px;
}

/* ✅ تحسين عنوان القسم */
.category-title {
    font-size: 18px;
    font-weight: bold;
    padding: 10px;
    border-bottom: 2px solid #828b80;
    margin-bottom: 15px;
}

/* ✅ تحسين تفاصيل المنتجات */
.product-description {
    font-size: 13px;
    color: gray;
}

 

/* ✅ ضبط حجم الصور */
.product-image {
    overflow: hidden;
    display: flex;
    border-radius: .5rem;
    border: 1px solid #eee;
    width: 100px;
    max-height: 100px;
    aspect-ratio: 1 / 1;
    min-width: 100px;
    right: 0;
    position: relative;
}
.product-image > img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.ast-plain-container, .ast-page-builder-template {
    background-color: #e5e1de;
}

.categories-nav a {
     background: #828b80;
 }

.categories-nav a {
    text-decoration: none !important;
 }



 
 

/* ✅ تفاصيل المنتج */
.product-info {
    flex-grow: 1;
    padding-left: 10px;
}
 

/* ✅ السعر وزر الإضافة */
.product-actions {
    display: flex;
    align-items: center;
    gap: 5px;
}
.product-price {
    font-size: 16px;
    font-weight: bold;
    color: #846125;
}
.product-quantity {
    width: 50px;
    text-align: center;
}
.add-to-cart {
    background: #828b80;
    color: white;
/*     padding: 5px 10px; */
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.add-to-cart:hover {
    background: #846125;
}

 

h4.product-name {
    text-align: right;
}


 

 
.toast-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    animation: fadeInOut 2s ease-in-out;
    z-index: 9999;
}

/* تأثير دخول وخروج الإشعار */
@keyframes fadeInOut {
    0% { opacity: 0; transform: translateX(-50%) translateY(10px); }
    10% { opacity: 1; transform: translateX(-50%) translateY(0); }
    90% { opacity: 1; }
    100% { opacity: 0; transform: translateX(-50%) translateY(10px); }
}


/* ✅ تصميم النافذة المنبثقة */
.image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    text-align: center;
    padding-top: 10%;
}

/* ✅ تصميم الصورة داخل النافذة */
.modal-content {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.2);
}

/* ✅ زر الإغلاق */
.close-modal {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}


button.remove-item {
    border-color: rgba(0,0,0,.075);
    background-color: rgba(0,0,0,0.05);
}


button#submit-order {
    background: #828b80;
}


.entry-content.clear {
    margin-bottom: 50px;
}


.ast-single-post.ast-page-builder-template .site-main > article, .woocommerce.ast-page-builder-template .site-main, .ast-page-builder-template .post-navigation {
     padding-left: 10px;
    padding-right: 10px;
}


.reservation-container {
     margin: auto;
    text-align: center;
 }

#order-summary .order-item {
    margin: 0 0 12px 0;
}

.reservation-container {
    max-width: 734px;
}

.add-to-cart {
     padding: 10px 10px 10px 10px !important;!i;!;!;
  }

input[type="number"] {
     height: 35px;
}


.reservation-container {
    width: 98% !important;}

input[type="tel"] {
    text-align: center;
}

.woocommerce-js input[type=text] {
    text-align: center;
}