:root{--gdc-green:#183833;--gdc-green2:#2a5c54;--gdc-lime:#9fbe58;--gdc-light:#eef5f1;--gdc-border:#e5ebe8;--gdc-muted:#717b77;--gdc-text:#17231f}
.gd-smart-checkout-page .entry-content>.woocommerce,.gd-smart-checkout-page .entry-content>.woocommerce *{box-sizing:border-box;font-family:'Tajawal',Tahoma,Arial,sans-serif}
.gd-smart-checkout-page .entry-content>.woocommerce{max-width:1320px;margin:0 auto;padding:18px 20px 70px}
.gd-checkout-address-selector{width:100%;margin:0 0 27px;padding:23px;border:1px solid var(--gdc-border);border-radius:22px;background:#fff;box-shadow:0 12px 32px rgba(24,56,51,.05)}
.gd-checkout-address-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}.gd-checkout-address-heading span{display:block;margin-bottom:4px;color:var(--gdc-green2);font-size:12px;font-weight:800}.gd-checkout-address-heading h2{margin:0 0 5px!important;color:var(--gdc-text)!important;font-size:22px!important;line-height:1.45!important;font-weight:800!important}.gd-checkout-address-heading p{margin:0;color:var(--gdc-muted);font-size:13px;line-height:1.75}.gd-checkout-address-heading>a{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:7px 12px;border:1px solid var(--gdc-border);border-radius:11px;background:#fff;color:var(--gdc-green2)!important;font-size:12px;font-weight:800;text-decoration:none!important;white-space:nowrap}.gd-checkout-address-heading>a:hover{background:var(--gdc-light)}
.gd-checkout-address-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.gd-checkout-address-card{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:flex-start;gap:11px;min-width:0;min-height:116px;margin:0!important;padding:16px;border:1px solid var(--gdc-border);border-radius:17px;background:#fff;cursor:pointer;transition:.2s ease}.gd-checkout-address-card:hover{border-color:#c9d7d0;box-shadow:0 10px 25px rgba(24,56,51,.055);transform:translateY(-1px)}.gd-checkout-address-card>input{position:absolute;opacity:0;pointer-events:none}.gd-checkout-address-card:has(input:checked){border-color:#bfd1c8;background:#fbfdfc;box-shadow:0 0 0 3px rgba(42,92,84,.08)}.gd-checkout-address-radio{width:18px;height:18px;margin-top:2px;border:1.5px solid #b8c4bf;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 4px #fff}.gd-checkout-address-card input:checked+.gd-checkout-address-radio{border-color:var(--gdc-green2);background:var(--gdc-green2)}
.gd-checkout-address-copy strong,.gd-checkout-address-copy span,.gd-checkout-address-copy small{display:block}.gd-checkout-address-copy strong{margin-bottom:6px;color:var(--gdc-text);font-size:14px;line-height:1.5;font-weight:800}.gd-checkout-address-copy span{color:#646f6a;font-size:12px;line-height:1.75}.gd-checkout-address-copy small{margin-top:5px;color:#919996;font-size:11px;direction:ltr;text-align:right}.gd-checkout-address-check{width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:10px;background:#f3f6f4;color:#9ba5a0}.gd-checkout-address-card input:checked~.gd-checkout-address-check{background:var(--gdc-light);color:var(--gdc-green)}.gd-checkout-address-check svg,.gd-checkout-no-address-icon svg,.gd-checkout-selected-note svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.gd-checkout-new-address-card{border-style:dashed}
.gd-checkout-selected-note{display:flex;align-items:center;gap:9px;margin-top:14px;padding-top:13px;border-top:1px solid var(--gdc-border);color:var(--gdc-green)}.gd-checkout-selected-note>span{width:28px;height:28px;display:flex;align-items:center;justify-content:center;border-radius:9px;background:var(--gdc-light)}.gd-checkout-selected-note p{flex:1;margin:0;color:#5e6964;font-size:12px;font-weight:700}.gd-checkout-edit-fields{appearance:none;min-height:34px;padding:6px 10px;border:0;border-radius:9px;background:transparent;color:var(--gdc-green2);font-size:12px;font-weight:800;cursor:pointer}.gd-checkout-edit-fields:hover{background:var(--gdc-light)}
.gd-checkout-no-address{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:13px;padding:15px;border:1px solid var(--gdc-border);border-right:3px solid var(--gdc-lime);border-radius:15px;background:#fff}.gd-checkout-no-address-icon{width:42px;height:42px;display:flex;align-items:center;justify-content:center;border-radius:13px;background:var(--gdc-light);color:var(--gdc-green)}.gd-checkout-no-address strong{display:block;margin-bottom:3px;color:var(--gdc-text);font-size:14px;font-weight:800}.gd-checkout-no-address p{margin:0;color:var(--gdc-muted);font-size:12px;line-height:1.7}.gd-checkout-no-address>a{color:var(--gdc-green2)!important;font-size:12px;font-weight:800;text-decoration:none!important}
.gd-smart-checkout-page .col2-set .col-1,.gd-smart-checkout-page .col2-set .col-2,.gd-smart-checkout-page #order_review{border:1px solid var(--gdc-border);border-radius:20px;background:#fff;box-shadow:0 10px 28px rgba(24,56,51,.04)}.gd-smart-checkout-page .col2-set .col-1,.gd-smart-checkout-page .col2-set .col-2{padding:22px}.gd-smart-checkout-page .woocommerce-billing-fields>h3,.gd-smart-checkout-page .woocommerce-shipping-fields>h3,.gd-smart-checkout-page #order_review_heading{margin:0 0 18px!important;padding-bottom:13px;border-bottom:1px solid var(--gdc-border);color:var(--gdc-text)!important;font-size:21px!important;line-height:1.5!important;font-weight:800!important}
.gd-smart-checkout-page .form-row{margin-bottom:14px!important}.gd-smart-checkout-page .form-row label{margin-bottom:6px;color:#43504a;font-size:13px;font-weight:700}.gd-smart-checkout-page input.input-text,.gd-smart-checkout-page select,.gd-smart-checkout-page textarea{min-height:50px;padding:10px 13px!important;border:1px solid #dfe6e2!important;border-radius:13px!important;background:#fff!important;color:var(--gdc-text)!important;font-size:14px!important;box-shadow:none!important}.gd-smart-checkout-page textarea{min-height:100px}.gd-smart-checkout-page input:focus,.gd-smart-checkout-page select:focus,.gd-smart-checkout-page textarea:focus{outline:0!important;border-color:var(--gdc-green2)!important;box-shadow:0 0 0 4px rgba(42,92,84,.09)!important}.gd-smart-checkout-page #order_review{padding:21px}.gd-smart-checkout-page table.shop_table{border:0!important;background:#fff!important}.gd-smart-checkout-page table.shop_table th,.gd-smart-checkout-page table.shop_table td{padding:13px 8px!important;border:0!important;border-bottom:1px solid #edf1ef!important;color:#4e5a55;font-size:13px}.gd-smart-checkout-page #payment{border-radius:16px!important;background:#fafbfa!important}.gd-smart-checkout-page #place_order{width:100%;min-height:52px!important;border:0!important;border-radius:13px!important;background:var(--gdc-green)!important;color:#fff!important;font-size:15px!important;font-weight:800!important}.gd-smart-checkout-page #place_order:hover{background:var(--gdc-green2)!important}
.gd-checkout-fields-collapsed .woocommerce-billing-fields__field-wrapper{display:none!important}.gd-checkout-fields-collapsed .woocommerce-billing-fields>h3{margin-bottom:0!important;padding-bottom:0!important;border-bottom:0!important}.gd-checkout-fields-collapsed .woocommerce-billing-fields>h3:after{content:'تم تعبئة البيانات من العنوان المختار';display:block;margin-top:6px;color:var(--gdc-muted);font-size:12px;line-height:1.6;font-weight:500}
@media(max-width:1000px){.gd-checkout-address-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.gd-smart-checkout-page .entry-content>.woocommerce{padding:12px 13px 55px}.gd-checkout-address-selector{padding:18px;border-radius:18px}.gd-checkout-address-heading{flex-direction:column}.gd-checkout-address-heading>a{width:100%}.gd-checkout-address-list{grid-template-columns:1fr}.gd-checkout-selected-note{align-items:flex-start;flex-wrap:wrap}.gd-checkout-edit-fields{width:100%;border:1px solid var(--gdc-border)}.gd-checkout-no-address{grid-template-columns:auto minmax(0,1fr)}.gd-checkout-no-address>a{grid-column:1/-1;padding-right:55px}}


/* =========================================================
   GD Smart Checkout 1.0.1 — تحسين التناسق والخطوط والإجماليات
   ========================================================= */

/* تكبير بسيط ومتوازن للخط داخل صفحة إتمام الطلب فقط */
.gd-smart-checkout-page .entry-content > .woocommerce{
    font-size:15px!important;
    line-height:1.75!important;
}
.gd-smart-checkout-page .woocommerce-billing-fields > h3,
.gd-smart-checkout-page .woocommerce-shipping-fields > h3,
.gd-smart-checkout-page #order_review_heading{
    font-size:23px!important;
}
.gd-smart-checkout-page .form-row label{
    font-size:14px!important;
}
.gd-smart-checkout-page input.input-text,
.gd-smart-checkout-page select,
.gd-smart-checkout-page textarea{
    font-size:15px!important;
}
.gd-smart-checkout-page table.shop_table th,
.gd-smart-checkout-page table.shop_table td{
    font-size:14px!important;
}
.gd-smart-checkout-page #payment,
.gd-smart-checkout-page #payment label,
.gd-smart-checkout-page #payment p{
    font-size:14px!important;
}

/* توحيد بطاقة اختيار العنوان العلوية */
.gd-checkout-address-selector{
    padding:24px!important;
    border-radius:20px!important;
    border-color:var(--gdc-border)!important;
    box-shadow:0 10px 28px rgba(24,56,51,.045)!important;
}
.gd-checkout-address-card{
    min-height:112px!important;
    padding:17px!important;
    border-radius:16px!important;
    box-shadow:none!important;
}
.gd-checkout-address-card:has(input:checked){
    background:#fbfdfc!important;
    border-color:#c9d8d1!important;
    box-shadow:0 0 0 3px rgba(42,92,84,.065)!important;
}
.gd-checkout-selected-note{
    min-height:54px!important;
    margin-top:16px!important;
    padding:13px 14px 0!important;
    border-top:1px solid var(--gdc-border)!important;
}
.gd-checkout-selected-note p{
    font-size:13px!important;
}
.gd-checkout-edit-fields{
    font-size:13px!important;
}

/* جعل عنوان "طلبك" جزءاً متناسقاً مع بطاقة ملخص الطلب */
.gd-smart-checkout-page #order_review_heading{
    width:100%!important;
    margin:0!important;
    padding:20px 22px 16px!important;
    border:1px solid var(--gdc-border)!important;
    border-bottom:0!important;
    border-radius:20px 20px 0 0!important;
    background:#fff!important;
    box-shadow:0 8px 22px rgba(24,56,51,.035)!important;
}
.gd-smart-checkout-page #order_review{
    margin-top:0!important;
    padding:0 22px 22px!important;
    border-top:0!important;
    border-radius:0 0 20px 20px!important;
    box-shadow:0 10px 28px rgba(24,56,51,.04)!important;
}
.gd-smart-checkout-page #order_review table.shop_table{
    margin-top:0!important;
}

/* بطاقة تفاصيل الفاتورة بنفس التناسق */
.gd-smart-checkout-page .col2-set .col-1,
.gd-smart-checkout-page .col2-set .col-2{
    border-radius:20px!important;
    box-shadow:0 10px 28px rgba(24,56,51,.04)!important;
}

/* القسيمة: الاحتفاظ بالأخضر الفاتح وإزالة الخلفية الوردية */
.gd-smart-checkout-page .woocommerce-form-coupon-toggle .woocommerce-info{
    margin:0 0 24px!important;
    padding:15px 18px!important;
    border:1px solid #dce7d2!important;
    border-right:4px solid var(--gdc-lime)!important;
    border-radius:14px!important;
    background:#fff!important;
    color:#59645f!important;
    box-shadow:none!important;
    font-size:14px!important;
}
.gd-smart-checkout-page .woocommerce-form-coupon-toggle .woocommerce-info::before{
    color:var(--gdc-lime)!important;
}
.gd-smart-checkout-page .woocommerce-form-coupon-toggle .woocommerce-info a{
    color:#87a949!important;
    font-weight:800!important;
    text-decoration:none!important;
}
.gd-smart-checkout-page .woocommerce-form-coupon-toggle .woocommerce-info a:hover{
    color:var(--gdc-green2)!important;
    text-decoration:underline!important;
}
.gd-smart-checkout-page form.checkout_coupon{
    margin:0 0 24px!important;
    padding:18px!important;
    border:1px solid var(--gdc-border)!important;
    border-radius:15px!important;
    background:#fff!important;
    box-shadow:none!important;
}

/* إزالة الخلفيات غير المتناسقة من قسم الدفع دون تغيير بوابة الدفع */
.gd-smart-checkout-page #payment{
    overflow:hidden!important;
    border:1px solid var(--gdc-border)!important;
    background:#fff!important;
}
.gd-smart-checkout-page #payment ul.payment_methods{
    padding:17px!important;
    background:#fff!important;
}
.gd-smart-checkout-page #payment div.payment_box{
    margin:10px 0 0!important;
    padding:16px!important;
    border:1px solid #edf1ef!important;
    border-radius:13px!important;
    background:#fafbfa!important;
    color:#59645f!important;
    box-shadow:none!important;
}
.gd-smart-checkout-page #payment div.payment_box::before{
    border-bottom-color:#fafbfa!important;
}
.gd-smart-checkout-page #payment .place-order{
    padding:18px!important;
    background:#fff!important;
}

/* الشحن المجاني باللون الأخضر */
.gd-smart-checkout-page tr.woocommerce-shipping-totals th,
.gd-smart-checkout-page tr.woocommerce-shipping-totals td,
.gd-smart-checkout-page tr.woocommerce-shipping-totals label,
.gd-smart-checkout-page tr.shipping th,
.gd-smart-checkout-page tr.shipping td,
.gd-smart-checkout-page tr.shipping label{
    color:#6f9638!important;
}
.gd-smart-checkout-page tr.woocommerce-shipping-totals .woocommerce-Price-amount,
.gd-smart-checkout-page tr.shipping .woocommerce-Price-amount{
    color:#6f9638!important;
    font-weight:800!important;
}

/* إبراز الإجمالي الأخير بلون أخضر داكن وخلفية خفيفة جداً */
.gd-smart-checkout-page table.shop_table tr.order-total th,
.gd-smart-checkout-page table.shop_table tr.order-total td{
    padding-top:16px!important;
    padding-bottom:16px!important;
    border-bottom:0!important;
    background:#f5f8f6!important;
    color:var(--gdc-green)!important;
    font-size:16px!important;
    font-weight:800!important;
}
.gd-smart-checkout-page table.shop_table tr.order-total th{
    border-radius:0 12px 12px 0!important;
}
.gd-smart-checkout-page table.shop_table tr.order-total td{
    border-radius:12px 0 0 12px!important;
}
.gd-smart-checkout-page table.shop_table tr.order-total .woocommerce-Price-amount{
    color:var(--gdc-green2)!important;
    font-size:18px!important;
    font-weight:800!important;
}

/* منع تكرار كلمة اختياري في ملاحظات الطلب */
.gd-smart-checkout-page #order_comments_field label .optional{
    display:none!important;
}

@media(max-width:700px){
    .gd-smart-checkout-page #order_review_heading{
        padding:18px 18px 14px!important;
        border-radius:18px 18px 0 0!important;
    }
    .gd-smart-checkout-page #order_review{
        padding:0 18px 18px!important;
        border-radius:0 0 18px 18px!important;
    }
    .gd-smart-checkout-page table.shop_table tr.order-total th,
    .gd-smart-checkout-page table.shop_table tr.order-total td{
        font-size:15px!important;
    }
}


/* =========================================================
   GD Smart Checkout 1.0.2 — إعادة ملخص الطلب إلى مكانه
   ========================================================= */

/*
 * ترتيب ثابت:
 * - تفاصيل الفاتورة في اليمين.
 * - ملخص الطلب والدفع في اليسار.
 * - بطاقة اختيار العنوان فوق العمودين.
 */
.gd-smart-checkout-page form.checkout{
    display:grid!important;
    grid-template-columns:minmax(360px,.84fr) minmax(0,1.16fr)!important;
    grid-template-rows:auto auto auto!important;
    column-gap:24px!important;
    row-gap:0!important;
    align-items:start!important;
    direction:ltr!important;
}

.gd-smart-checkout-page form.checkout > *{
    direction:rtl!important;
}

.gd-smart-checkout-page form.checkout > .gd-checkout-address-selector{
    grid-column:1 / -1!important;
    grid-row:1!important;
    width:100%!important;
    margin:0 0 24px!important;
}

.gd-smart-checkout-page form.checkout > #customer_details{
    grid-column:2!important;
    grid-row:2 / span 2!important;
    width:100%!important;
    float:none!important;
    clear:none!important;
    margin:0!important;
}

.gd-smart-checkout-page form.checkout > #order_review_heading{
    grid-column:1!important;
    grid-row:2!important;
    width:100%!important;
    float:none!important;
    clear:none!important;
    margin:0!important;
    padding:18px 20px 13px!important;
    border:1px solid var(--gdc-border)!important;
    border-bottom:0!important;
    border-radius:20px 20px 0 0!important;
    background:#fff!important;
    box-shadow:0 8px 22px rgba(24,56,51,.035)!important;
}

.gd-smart-checkout-page form.checkout > #order_review{
    grid-column:1!important;
    grid-row:3!important;
    width:100%!important;
    float:none!important;
    clear:none!important;
    margin:0!important;
    padding:0 20px 20px!important;
    border:1px solid var(--gdc-border)!important;
    border-top:0!important;
    border-radius:0 0 20px 20px!important;
    background:#fff!important;
    box-shadow:0 10px 28px rgba(24,56,51,.04)!important;
}

/* منع القالب من دفع ملخص الطلب إلى سطر كامل أسفل الصفحة */
.gd-smart-checkout-page #order_review_heading,
.gd-smart-checkout-page #order_review{
    max-width:none!important;
}

/* ترتيب أعمدة بيانات العميل داخل العمود الأيمن */
.gd-smart-checkout-page #customer_details > .col-1,
.gd-smart-checkout-page #customer_details > .col-2{
    float:none!important;
    width:100%!important;
    max-width:none!important;
    margin:0 0 18px!important;
}

.gd-smart-checkout-page #customer_details > .col-2:last-child{
    margin-bottom:0!important;
}

/* عدم إظهار غلاف فارغ على شكل بطاقة */
.gd-smart-checkout-page #customer_details > .col-1:not(:has(*)),
.gd-smart-checkout-page #customer_details > .col-2:not(:has(*)){
    display:none!important;
}

/* ضبط المسافات داخل ملخص الطلب بعد إعادته إلى العمود */
.gd-smart-checkout-page #order_review table.shop_table{
    width:100%!important;
    margin:0!important;
}

.gd-smart-checkout-page #order_review #payment{
    margin-top:18px!important;
}

/* الجوال: ترتيب عمودي طبيعي */
@media(max-width:900px){
    .gd-smart-checkout-page form.checkout{
        display:block!important;
        direction:rtl!important;
    }

    .gd-smart-checkout-page form.checkout > .gd-checkout-address-selector{
        margin-bottom:20px!important;
    }

    .gd-smart-checkout-page form.checkout > #customer_details{
        margin-bottom:20px!important;
    }

    .gd-smart-checkout-page form.checkout > #order_review_heading{
        border-radius:18px 18px 0 0!important;
    }

    .gd-smart-checkout-page form.checkout > #order_review{
        border-radius:0 0 18px 18px!important;
    }
}


/* =========================================================
   GD Smart Checkout 1.0.3 — القسيمة والشحن فقط
   ========================================================= */

/* إزالة المربع خلف عبارة القسيمة مع إبقاء الأخضر الفاتح */
.gd-smart-checkout-page .woocommerce-form-coupon-toggle .woocommerce-info{
    min-height:0!important;
    margin:0 0 22px!important;
    padding:5px 2px 10px!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#68736e!important;
}
.gd-smart-checkout-page .woocommerce-form-coupon-toggle .woocommerce-info::before{
    color:var(--gdc-lime)!important;
}
.gd-smart-checkout-page .woocommerce-form-coupon-toggle .woocommerce-info a{
    color:#86a849!important;
    font-weight:800!important;
}
.gd-smart-checkout-page .woocommerce-form-coupon-toggle .woocommerce-info a:hover{
    color:var(--gdc-green2)!important;
}

/* جعل صف الشحن أقرب إلى السعر السابق، مع إبراز "الشحن مجاني" */
.gd-smart-checkout-page tr.woocommerce-shipping-totals.shipping th,
.gd-smart-checkout-page tr.woocommerce-shipping-totals.shipping td,
.gd-smart-checkout-page tr.shipping th,
.gd-smart-checkout-page tr.shipping td{
    padding-top:7px!important;
    padding-bottom:9px!important;
}
.gd-smart-checkout-page tr.woocommerce-shipping-totals.shipping td,
.gd-smart-checkout-page tr.woocommerce-shipping-totals.shipping td label,
.gd-smart-checkout-page tr.shipping td,
.gd-smart-checkout-page tr.shipping td label{
    color:#6e9638!important;
    font-weight:800!important;
}
.gd-smart-checkout-page tr.woocommerce-shipping-totals.shipping th,
.gd-smart-checkout-page tr.shipping th{
    color:#59655f!important;
    font-weight:700!important;
}


/* =========================================================
   GD Smart Checkout 1.0.4 — إعادة تنسيق القسيمة السابق
   ========================================================= */

/* إعادة بطاقة القسيمة البيضاء السابقة */
.gd-smart-checkout-page .woocommerce-form-coupon-toggle .woocommerce-info{
    min-height:auto!important;
    margin:0 0 24px!important;
    padding:15px 18px!important;
    border:1px solid #dce7d2!important;
    border-right:4px solid var(--gdc-lime)!important;
    border-radius:14px!important;
    background:#fff!important;
    color:#59645f!important;
    box-shadow:none!important;
    font-size:14px!important;
    line-height:1.7!important;
}

/* إخفاء المربع/الأيقونة الصغيرة التي تظهر بجانب العبارة */
.gd-smart-checkout-page .woocommerce-form-coupon-toggle .woocommerce-info::before,
.gd-smart-checkout-page .woocommerce-form-coupon-toggle .woocommerce-info::after{
    content:none!important;
    display:none!important;
}

/* الإبقاء على رابط القسيمة بالأخضر الفاتح */
.gd-smart-checkout-page .woocommerce-form-coupon-toggle .woocommerce-info a{
    color:#87a949!important;
    font-weight:800!important;
    text-decoration:none!important;
}
.gd-smart-checkout-page .woocommerce-form-coupon-toggle .woocommerce-info a:hover{
    color:var(--gdc-green2)!important;
    text-decoration:underline!important;
}


/* =========================================================
   GD Smart Checkout 1.0.5 — تصميم صفحة سلة التسوق
   ========================================================= */

.gd-smart-cart-page .entry-content > .woocommerce,
.gd-smart-cart-page .entry-content > .woocommerce *{
    box-sizing:border-box;
    font-family:'Tajawal',Tahoma,Arial,sans-serif;
}
.gd-smart-cart-page .entry-content > .woocommerce{
    max-width:1320px;
    margin:0 auto;
    padding:24px 20px 74px;
}
.gd-smart-cart-page .entry-title,
.gd-smart-cart-page h1.entry-title{
    margin:0 auto 24px!important;
    color:var(--gdc-text)!important;
    font-family:'Tajawal',Tahoma,Arial,sans-serif!important;
    font-size:clamp(29px,4vw,38px)!important;
    line-height:1.3!important;
    font-weight:700!important;
}

/* بطاقة جدول السلة */
.gd-smart-cart-page .woocommerce-cart-form{
    width:100%!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden;
    border:1px solid var(--gdc-border);
    border-radius:20px;
    background:#fff;
    box-shadow:0 10px 28px rgba(24,56,51,.045);
}
.gd-smart-cart-page table.shop_table.cart{
    width:100%!important;
    margin:0!important;
    border:0!important;
    border-collapse:separate!important;
    border-spacing:0!important;
    border-radius:0!important;
    background:#fff!important;
}
.gd-smart-cart-page table.shop_table.cart thead{
    background:#f8faf9!important;
}
.gd-smart-cart-page table.shop_table.cart thead th{
    padding:16px 14px!important;
    border:0!important;
    border-bottom:1px solid var(--gdc-border)!important;
    background:#f8faf9!important;
    color:#44514b!important;
    font-size:14px!important;
    line-height:1.5!important;
    font-weight:800!important;
    text-align:center!important;
}
.gd-smart-cart-page table.shop_table.cart tbody td{
    padding:16px 14px!important;
    border:0!important;
    border-bottom:1px solid #edf1ef!important;
    background:#fff!important;
    color:#4f5b55!important;
    font-size:14px!important;
    line-height:1.7!important;
    text-align:center!important;
    vertical-align:middle!important;
}
.gd-smart-cart-page table.shop_table.cart tbody tr.cart_item:last-of-type td{
    border-bottom:1px solid var(--gdc-border)!important;
}
.gd-smart-cart-page td.product-name{
    text-align:right!important;
}
.gd-smart-cart-page td.product-name a{
    color:var(--gdc-green2)!important;
    font-size:15px!important;
    font-weight:800!important;
    text-decoration:none!important;
}
.gd-smart-cart-page td.product-name a:hover{
    color:var(--gdc-green)!important;
}
.gd-smart-cart-page td.product-thumbnail img{
    width:78px!important;
    height:78px!important;
    object-fit:cover!important;
    border-radius:13px!important;
    border:1px solid #edf1ef!important;
    background:#fafbfa!important;
}
.gd-smart-cart-page td.product-price,
.gd-smart-cart-page td.product-subtotal{
    color:var(--gdc-text)!important;
    font-size:15px!important;
    font-weight:700!important;
}
.gd-smart-cart-page td.product-subtotal{
    font-weight:800!important;
}
.gd-smart-cart-page td.product-remove a.remove{
    width:30px!important;
    height:30px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    margin:auto!important;
    border:1px solid #e2e8e5!important;
    border-radius:50%!important;
    background:#fff!important;
    color:#9aa39f!important;
    font-size:22px!important;
    line-height:1!important;
    font-weight:400!important;
    text-decoration:none!important;
    transition:border-color .2s ease,color .2s ease,background .2s ease!important;
}
.gd-smart-cart-page td.product-remove a.remove:hover{
    border-color:#efcbc6!important;
    background:#fff5f3!important;
    color:#b42318!important;
}

/* كمية المنتج */
.gd-smart-cart-page .quantity{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    overflow:hidden!important;
    min-height:44px!important;
    border:1px solid #dfe6e2!important;
    border-radius:11px!important;
    background:#fff!important;
}
.gd-smart-cart-page .quantity input.qty{
    width:48px!important;
    min-height:42px!important;
    padding:6px!important;
    border:0!important;
    border-right:1px solid #edf1ef!important;
    border-left:1px solid #edf1ef!important;
    border-radius:0!important;
    background:#fff!important;
    color:var(--gdc-text)!important;
    font-size:14px!important;
    font-weight:700!important;
    text-align:center!important;
    box-shadow:none!important;
}
.gd-smart-cart-page .quantity .plus,
.gd-smart-cart-page .quantity .minus{
    width:42px!important;
    min-width:42px!important;
    height:42px!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:#fff!important;
    color:var(--gdc-green)!important;
    font-size:18px!important;
    font-weight:700!important;
    box-shadow:none!important;
}
.gd-smart-cart-page .quantity .plus:hover,
.gd-smart-cart-page .quantity .minus:hover{
    background:var(--gdc-light)!important;
}

/* صف القسيمة وتحديث السلة */
.gd-smart-cart-page table.shop_table.cart td.actions{
    padding:14px 16px!important;
    border-bottom:0!important;
    background:#fbfcfb!important;
}
.gd-smart-cart-page table.shop_table.cart td.actions .coupon{
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
    float:right!important;
    width:auto!important;
}
.gd-smart-cart-page table.shop_table.cart td.actions .coupon input.input-text{
    width:205px!important;
    min-height:48px!important;
    margin:0!important;
    padding:10px 13px!important;
    border:1px solid #dfe6e2!important;
    border-radius:12px!important;
    background:#fff!important;
    color:var(--gdc-text)!important;
    font-size:14px!important;
    box-shadow:none!important;
}
.gd-smart-cart-page table.shop_table.cart td.actions .coupon input.input-text:focus{
    outline:0!important;
    border-color:var(--gdc-green2)!important;
    box-shadow:0 0 0 4px rgba(42,92,84,.08)!important;
}
.gd-smart-cart-page table.shop_table.cart td.actions .coupon button{
    min-height:48px!important;
    padding:9px 19px!important;
    border:0!important;
    border-radius:12px!important;
    background:var(--gdc-green)!important;
    color:#fff!important;
    font-size:14px!important;
    font-weight:800!important;
    box-shadow:none!important;
}
.gd-smart-cart-page table.shop_table.cart td.actions .coupon button:hover{
    background:var(--gdc-green2)!important;
}
.gd-smart-cart-page table.shop_table.cart td.actions > button[name="update_cart"]{
    float:left!important;
    min-height:44px!important;
    padding:8px 16px!important;
    border:1px solid #dce7d2!important;
    border-radius:11px!important;
    background:#f3f7ed!important;
    color:#789b42!important;
    font-size:13px!important;
    font-weight:800!important;
    box-shadow:none!important;
}
.gd-smart-cart-page table.shop_table.cart td.actions > button[name="update_cart"]:hover{
    border-color:#cadbb7!important;
    background:#edf4e5!important;
    color:#648732!important;
}
.gd-smart-cart-page table.shop_table.cart td.actions > button[name="update_cart"]:disabled{
    opacity:.48!important;
}

/* بطاقة إجمالي السلة */
.gd-smart-cart-page .cart-collaterals{
    width:100%!important;
    margin:0!important;
    padding:0!important;
}
.gd-smart-cart-page .cart-collaterals::before,
.gd-smart-cart-page .cart-collaterals::after{
    display:none!important;
}
.gd-smart-cart-page .cart_totals{
    float:none!important;
    width:min(100%,540px)!important;
    margin:28px 0 0 auto!important;
    padding:0!important;
    overflow:hidden!important;
    border:1px solid var(--gdc-border)!important;
    border-radius:20px!important;
    background:#fff!important;
    box-shadow:0 10px 28px rgba(24,56,51,.045)!important;
}
.gd-smart-cart-page .cart_totals > h2{
    margin:0!important;
    padding:18px 20px!important;
    border-bottom:1px solid var(--gdc-border)!important;
    background:#fff!important;
    color:var(--gdc-text)!important;
    font-size:21px!important;
    line-height:1.5!important;
    font-weight:800!important;
}
.gd-smart-cart-page .cart_totals table.shop_table{
    width:calc(100% - 36px)!important;
    margin:0 18px!important;
    border:0!important;
    border-collapse:separate!important;
    border-spacing:0!important;
    background:#fff!important;
}
.gd-smart-cart-page .cart_totals table.shop_table th,
.gd-smart-cart-page .cart_totals table.shop_table td{
    padding:13px 4px!important;
    border:0!important;
    border-bottom:1px solid #edf1ef!important;
    background:#fff!important;
    color:#4f5b55!important;
    font-size:14px!important;
    line-height:1.75!important;
    vertical-align:top!important;
}
.gd-smart-cart-page .cart_totals table.shop_table th{
    width:38%!important;
    color:#47534d!important;
    font-weight:800!important;
}
.gd-smart-cart-page .cart_totals tr.shipping th{
    color:#59655f!important;
}
.gd-smart-cart-page .cart_totals tr.shipping td,
.gd-smart-cart-page .cart_totals tr.shipping td label,
.gd-smart-cart-page .cart_totals tr.shipping .woocommerce-Price-amount{
    color:#6f9638!important;
    font-weight:800!important;
}
.gd-smart-cart-page .cart_totals .woocommerce-shipping-destination{
    margin:5px 0 0!important;
    color:#75807b!important;
    font-size:12px!important;
    line-height:1.65!important;
}
.gd-smart-cart-page .cart_totals .shipping-calculator-button{
    display:inline-block!important;
    margin-top:7px!important;
    color:#86a949!important;
    font-size:13px!important;
    font-weight:800!important;
    text-decoration:none!important;
}
.gd-smart-cart-page .cart_totals tr.order-total th,
.gd-smart-cart-page .cart_totals tr.order-total td{
    padding-top:15px!important;
    padding-bottom:15px!important;
    border-bottom:0!important;
    background:#f5f8f6!important;
    color:var(--gdc-green)!important;
    font-size:16px!important;
    font-weight:800!important;
}
.gd-smart-cart-page .cart_totals tr.order-total th{
    padding-right:12px!important;
    border-radius:0 12px 12px 0!important;
}
.gd-smart-cart-page .cart_totals tr.order-total td{
    padding-left:12px!important;
    border-radius:12px 0 0 12px!important;
}
.gd-smart-cart-page .cart_totals tr.order-total .woocommerce-Price-amount{
    color:var(--gdc-green2)!important;
    font-size:18px!important;
    font-weight:800!important;
}
.gd-smart-cart-page .wc-proceed-to-checkout{
    margin:0!important;
    padding:18px!important;
}
.gd-smart-cart-page .wc-proceed-to-checkout a.checkout-button{
    width:100%!important;
    min-height:52px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    margin:0!important;
    padding:11px 18px!important;
    border:0!important;
    border-radius:13px!important;
    background:var(--gdc-green)!important;
    color:#fff!important;
    font-size:15px!important;
    line-height:1.4!important;
    font-weight:800!important;
    text-decoration:none!important;
    box-shadow:none!important;
}
.gd-smart-cart-page .wc-proceed-to-checkout a.checkout-button:hover{
    background:var(--gdc-green2)!important;
}

/* الرسائل والملاحظات داخل السلة */
.gd-smart-cart-page .woocommerce-message,
.gd-smart-cart-page .woocommerce-info,
.gd-smart-cart-page .woocommerce-error{
    margin:0 0 20px!important;
    padding:14px 16px!important;
    border:1px solid var(--gdc-border)!important;
    border-right:4px solid var(--gdc-lime)!important;
    border-radius:14px!important;
    background:#fff!important;
    color:#4f5b55!important;
    font-size:14px!important;
    line-height:1.75!important;
    box-shadow:none!important;
}
.gd-smart-cart-page .woocommerce-message::before,
.gd-smart-cart-page .woocommerce-info::before,
.gd-smart-cart-page .woocommerce-error::before{
    display:none!important;
}

@media(max-width:780px){
    .gd-smart-cart-page .entry-content > .woocommerce{
        padding:16px 13px 55px;
    }
    .gd-smart-cart-page .woocommerce-cart-form{
        overflow-x:auto!important;
    }
    .gd-smart-cart-page table.shop_table.cart{
        min-width:760px!important;
    }
    .gd-smart-cart-page table.shop_table.cart td.actions{
        min-width:760px!important;
    }
    .gd-smart-cart-page .cart_totals{
        width:100%!important;
        margin-top:20px!important;
    }
}
@media(max-width:520px){
    .gd-smart-cart-page table.shop_table.cart td.actions .coupon{
        float:none!important;
        width:100%!important;
        flex-wrap:wrap!important;
    }
    .gd-smart-cart-page table.shop_table.cart td.actions .coupon input.input-text{
        width:100%!important;
    }
    .gd-smart-cart-page table.shop_table.cart td.actions .coupon button{
        width:100%!important;
    }
    .gd-smart-cart-page table.shop_table.cart td.actions > button[name="update_cart"]{
        float:none!important;
        width:100%!important;
        margin-top:10px!important;
    }
}


/* =========================================================
   GD Smart Checkout 1.0.6 — موضع إجمالي السلة ولون القسيمة
   ========================================================= */

/* إعادة بطاقة إجمالي السلة إلى موضعها السابق في الجهة اليسرى */
.gd-smart-cart-page .cart_totals{
    margin:28px auto 0 0!important;
}

/* إعادة لون زر القسيمة الأخضر السابق */
.gd-smart-cart-page table.shop_table.cart td.actions .coupon button{
    background:#7ea043!important;
    color:#fff!important;
}
.gd-smart-cart-page table.shop_table.cart td.actions .coupon button:hover{
    background:#6f9138!important;
}

/* إبقاء زر إتمام الطلب بلونه الأخضر الداكن الحالي */
.gd-smart-cart-page .wc-proceed-to-checkout a.checkout-button{
    background:var(--gdc-green)!important;
}
.gd-smart-cart-page .wc-proceed-to-checkout a.checkout-button:hover{
    background:var(--gdc-green2)!important;
}

@media(max-width:780px){
    .gd-smart-cart-page .cart_totals{
        margin:20px 0 0!important;
    }
}


/* =========================================================
   GD Smart Checkout 1.0.7 — صفحة تأكيد استلام الطلب
   ملاحظة: لا يتم تغيير الخط أو حجمه أو سماكته.
   ========================================================= */

.gd-smart-order-received-page .entry-content > .woocommerce{
    max-width:1320px;
    margin:0 auto;
    padding:20px 20px 76px;
}

/* رسالة نجاح الطلب */
.gd-smart-order-received-page .woocommerce-thankyou-order-received{
    position:relative;
    margin:0 0 22px!important;
    padding:18px 58px 18px 20px!important;
    border:1px solid var(--gdc-border)!important;
    border-right:4px solid var(--gdc-lime)!important;
    border-radius:16px!important;
    background:#fff!important;
    color:var(--gdc-green)!important;
    box-shadow:0 10px 28px rgba(24,56,51,.045)!important;
}
.gd-smart-order-received-page .woocommerce-thankyou-order-received::before{
    content:"✓";
    position:absolute;
    top:50%;
    right:18px;
    width:28px;
    height:28px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:9px;
    background:var(--gdc-light);
    color:var(--gdc-green);
    transform:translateY(-50%);
}

/* ملخص رقم الطلب والتاريخ والبريد والإجمالي وطريقة الدفع */
.gd-smart-order-received-page ul.woocommerce-order-overview{
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:10px!important;
    margin:0 0 26px!important;
    padding:0!important;
    list-style:none!important;
}
.gd-smart-order-received-page ul.woocommerce-order-overview li{
    min-width:0!important;
    margin:0!important;
    padding:14px 15px!important;
    border:1px solid var(--gdc-border)!important;
    border-radius:14px!important;
    background:#fff!important;
    color:#626d68!important;
    text-align:right!important;
    box-shadow:none!important;
}
.gd-smart-order-received-page ul.woocommerce-order-overview li::before,
.gd-smart-order-received-page ul.woocommerce-order-overview li::after{
    display:none!important;
}
.gd-smart-order-received-page ul.woocommerce-order-overview li strong{
    display:block!important;
    margin-top:5px!important;
    color:var(--gdc-text)!important;
    overflow-wrap:anywhere!important;
}

/* تفاصيل الطلب */
.gd-smart-order-received-page .woocommerce-order-details{
    margin:0 0 24px!important;
    overflow:hidden!important;
    border:1px solid var(--gdc-border)!important;
    border-radius:20px!important;
    background:#fff!important;
    box-shadow:0 10px 28px rgba(24,56,51,.045)!important;
}
.gd-smart-order-received-page .woocommerce-order-details__title{
    margin:0!important;
    padding:18px 20px!important;
    border-bottom:1px solid var(--gdc-border)!important;
    background:#fff!important;
    color:var(--gdc-text)!important;
}
.gd-smart-order-received-page .woocommerce-order-details table.shop_table{
    width:100%!important;
    margin:0!important;
    border:0!important;
    border-collapse:separate!important;
    border-spacing:0!important;
    background:#fff!important;
}
.gd-smart-order-received-page .woocommerce-order-details table.shop_table th,
.gd-smart-order-received-page .woocommerce-order-details table.shop_table td{
    padding:14px 18px!important;
    border:0!important;
    border-bottom:1px solid #edf1ef!important;
    background:#fff!important;
    color:#4f5b55!important;
    vertical-align:middle!important;
}
.gd-smart-order-received-page .woocommerce-order-details table.shop_table thead th{
    background:#f8faf9!important;
    color:var(--gdc-text)!important;
}
.gd-smart-order-received-page .woocommerce-order-details table.shop_table tfoot tr:last-child th,
.gd-smart-order-received-page .woocommerce-order-details table.shop_table tfoot tr:last-child td{
    border-bottom:0!important;
}
.gd-smart-order-received-page .woocommerce-order-details table.shop_table tfoot tr:nth-last-child(2) th,
.gd-smart-order-received-page .woocommerce-order-details table.shop_table tfoot tr:nth-last-child(2) td{
    color:#6f9638!important;
}
.gd-smart-order-received-page .woocommerce-order-details table.shop_table tfoot tr:last-child th,
.gd-smart-order-received-page .woocommerce-order-details table.shop_table tfoot tr:last-child td{
    background:#f5f8f6!important;
    color:var(--gdc-green)!important;
}
.gd-smart-order-received-page .woocommerce-order-details a{
    color:#86a949!important;
    text-decoration:none!important;
}
.gd-smart-order-received-page .woocommerce-order-details a:hover{
    color:var(--gdc-green2)!important;
}

/* بطاقتا عنوان الفاتورة والشحن */
.gd-smart-order-received-page .woocommerce-customer-details{
    margin:0!important;
}
.gd-smart-order-received-page .woocommerce-customer-details .woocommerce-columns{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:18px!important;
    margin:0!important;
}
.gd-smart-order-received-page .woocommerce-customer-details .woocommerce-column{
    float:none!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    border:1px solid var(--gdc-border)!important;
    border-radius:20px!important;
    background:#fff!important;
    box-shadow:0 10px 28px rgba(24,56,51,.045)!important;
}
.gd-smart-order-received-page .woocommerce-customer-details .woocommerce-column__title{
    margin:0!important;
    padding:18px 20px!important;
    border-bottom:1px solid var(--gdc-border)!important;
    background:#fff!important;
    color:var(--gdc-text)!important;
}
.gd-smart-order-received-page .woocommerce-customer-details address{
    min-height:180px!important;
    margin:0!important;
    padding:19px 20px!important;
    border:0!important;
    border-radius:0!important;
    background:#fff!important;
    color:#5f6a65!important;
    font-style:normal!important;
    box-shadow:none!important;
}
.gd-smart-order-received-page .woocommerce-customer-details address p{
    margin:8px 0 0!important;
}
.gd-smart-order-received-page .woocommerce-customer-details address a{
    color:var(--gdc-green2)!important;
    text-decoration:none!important;
}

/* إزالة الخلفيات الوردية أو الرمادية القديمة */
.gd-smart-order-received-page .woocommerce-order,
.gd-smart-order-received-page .woocommerce-order > section{
    background:transparent!important;
}
.gd-smart-order-received-page .woocommerce-order-details,
.gd-smart-order-received-page .woocommerce-customer-details .woocommerce-column{
    background:#fff!important;
}

@media(max-width:950px){
    .gd-smart-order-received-page ul.woocommerce-order-overview{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }
}

@media(max-width:700px){
    .gd-smart-order-received-page .entry-content > .woocommerce{
        padding:14px 13px 56px;
    }
    .gd-smart-order-received-page ul.woocommerce-order-overview{
        grid-template-columns:1fr!important;
    }
    .gd-smart-order-received-page .woocommerce-customer-details .woocommerce-columns{
        grid-template-columns:1fr!important;
    }
    .gd-smart-order-received-page .woocommerce-order-details{
        overflow-x:auto!important;
    }
    .gd-smart-order-received-page .woocommerce-order-details table.shop_table{
        min-width:650px!important;
    }
}


/* =========================================================
   GD Smart Checkout 1.0.8 — محاذاة بطاقات عناوين الطلب
   ========================================================= */

/*
 * إجبار عنوان الفاتورة وعنوان الشحن على الظهور في صف واحد
 * وبنفس الارتفاع، ومنع خصائص القالب القديمة من دفع إحدى
 * البطاقتين إلى أسفل الصفحة.
 */
.gd-smart-order-received-page .woocommerce-customer-details{
    width:100%!important;
    margin:0!important;
    padding:0!important;
    clear:both!important;
}

.gd-smart-order-received-page .woocommerce-customer-details .woocommerce-columns,
.gd-smart-order-received-page .woocommerce-customer-details .woocommerce-columns--addresses,
.gd-smart-order-received-page .woocommerce-customer-details .col2-set.addresses{
    display:flex!important;
    flex-direction:row!important;
    align-items:stretch!important;
    justify-content:stretch!important;
    gap:18px!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
    clear:both!important;
    direction:rtl!important;
}

.gd-smart-order-received-page .woocommerce-customer-details .woocommerce-columns::before,
.gd-smart-order-received-page .woocommerce-customer-details .woocommerce-columns::after,
.gd-smart-order-received-page .woocommerce-customer-details .col2-set::before,
.gd-smart-order-received-page .woocommerce-customer-details .col2-set::after{
    content:none!important;
    display:none!important;
    clear:none!important;
}

.gd-smart-order-received-page .woocommerce-customer-details .woocommerce-column,
.gd-smart-order-received-page .woocommerce-customer-details .col-1,
.gd-smart-order-received-page .woocommerce-customer-details .col-2{
    position:static!important;
    inset:auto!important;
    top:auto!important;
    right:auto!important;
    bottom:auto!important;
    left:auto!important;
    float:none!important;
    clear:none!important;
    flex:1 1 0!important;
    width:calc(50% - 9px)!important;
    max-width:none!important;
    min-width:0!important;
    height:auto!important;
    min-height:100%!important;
    margin:0!important;
    padding:0!important;
    align-self:stretch!important;
    transform:none!important;
}

.gd-smart-order-received-page .woocommerce-customer-details .woocommerce-column--billing-address{
    order:1!important;
}

.gd-smart-order-received-page .woocommerce-customer-details .woocommerce-column--shipping-address{
    order:2!important;
}

/* توحيد ارتفاع ومحتوى البطاقتين */
.gd-smart-order-received-page .woocommerce-customer-details .woocommerce-column{
    display:flex!important;
    flex-direction:column!important;
}

.gd-smart-order-received-page .woocommerce-customer-details .woocommerce-column__title{
    flex:0 0 auto!important;
}

.gd-smart-order-received-page .woocommerce-customer-details address{
    flex:1 1 auto!important;
    width:100%!important;
    min-height:190px!important;
}

/* منع أي مسافات أو إزاحات موروثة من Astra/WooCommerce */
.gd-smart-order-received-page .woocommerce-customer-details .woocommerce-column + .woocommerce-column{
    margin-top:0!important;
}

@media(max-width:700px){
    .gd-smart-order-received-page .woocommerce-customer-details .woocommerce-columns,
    .gd-smart-order-received-page .woocommerce-customer-details .woocommerce-columns--addresses,
    .gd-smart-order-received-page .woocommerce-customer-details .col2-set.addresses{
        flex-direction:column!important;
        gap:14px!important;
    }

    .gd-smart-order-received-page .woocommerce-customer-details .woocommerce-column,
    .gd-smart-order-received-page .woocommerce-customer-details .col-1,
    .gd-smart-order-received-page .woocommerce-customer-details .col-2{
        width:100%!important;
        min-height:0!important;
    }

    .gd-smart-order-received-page .woocommerce-customer-details address{
        min-height:0!important;
    }
}
