@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//smartmschool.com/wp-content/themes/woodmart/fonts/woodmart-font-1-400.woff2?v=8.2.7") format("woff2");
}

@font-face {
	font-family: "star";
	font-weight: 400;
	font-style: normal;
	src: url("//smartmschool.com/wp-content/plugins/woocommerce/assets/fonts/star.eot?#iefix") format("embedded-opentype"), url("//smartmschool.com/wp-content/plugins/woocommerce/assets/fonts/star.woff") format("woff"), url("//smartmschool.com/wp-content/plugins/woocommerce/assets/fonts/star.ttf") format("truetype"), url("//smartmschool.com/wp-content/plugins/woocommerce/assets/fonts/star.svg#star") format("svg");
}

@font-face {
	font-family: "WooCommerce";
	font-weight: 400;
	font-style: normal;
	src: url("//smartmschool.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.eot?#iefix") format("embedded-opentype"), url("//smartmschool.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff") format("woff"), url("//smartmschool.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.ttf") format("truetype"), url("//smartmschool.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.svg#WooCommerce") format("svg");
}

:root {
	--wd-text-font: "Tajawal", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(0,0,0);
	--wd-text-font-size: 16px;
	--wd-title-font: "Tajawal", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 700;
	--wd-title-color: rgb(0,87,113);
	--wd-entities-title-font: "Tajawal", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Tajawal", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Tajawal", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 18px;
	--wd-header-el-font: "Tajawal", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 500;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 16px;
	--wd-primary-color: rgb(0,87,113);
	--wd-alternative-color: rgb(69,169,197);
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
	--btn-default-font-family: "Tajawal", Arial, Helvetica, sans-serif;
	--btn-default-bgcolor: rgb(0,87,113);
	--btn-default-bgcolor-hover: rgb(71,169,198);
	--btn-accented-bgcolor: rgb(0,87,113);
	--btn-accented-bgcolor-hover: rgb(71,169,198);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
}
.wd-popup.wd-age-verify {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
	--wd-popup-width: 800px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title {
	background-color: #0a0a0a;
	background-image: url(https://smartmschool.com/wp-content/uploads/2024/06/person-working-html-computer.jpg);
	background-size: cover;
	background-position: center center;
}
.wd-footer {
	background-color: rgb(0,87,113);
	background-image: none;
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 0px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 5px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 5px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 8px;
}

@media (min-width: 1222px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


/* زر حذف المنتج في صفحة إتمام الطلب Checkout و Order Pay فقط */

/* الشكل الأساسي للزر */
body.woocommerce-checkout a[href*="remove_item"],
body.woocommerce-order-pay a[href*="remove_item"],
body.woocommerce-checkout a.remove,
body.woocommerce-order-pay a.remove {
    font-size: 0 !important;                /* إخفاء الـ X الأصلية */
    width: 28px !important;
    height: 28px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    background: #ff4d4d !important;         /* دائرة حمراء */
    color: #ffffff !important;
    text-decoration: none !important;
    line-height: 1 !important;
    padding: 0 !important;
    cursor: pointer;
    margin-inline-start: 10px;              /* مسافة عن اسم المنتج */
    position: relative;
    border: 2px solid #ff4d4d !important;
    box-shadow: 0 0 0 2px rgba(255,77,77,0.15);
    transition: background 0.2s ease, transform 0.15s ease;
}

/* أيقونة الـ X داخل الدائرة */
body.woocommerce-checkout a[href*="remove_item"]::before,
body.woocommerce-order-pay a[href*="remove_item"]::before,
body.woocommerce-checkout a.remove::before,
body.woocommerce-order-pay a.remove::before {
    content: "✖";                           /* شكل الـ X */
    font-size: 16px !important;
    line-height: 1;
}

/* تأثير بسيط عند المرور */
body.woocommerce-checkout a[href*="remove_item"]:hover,
body.woocommerce-order-pay a[href*="remove_item"]:hover,
body.woocommerce-checkout a.remove:hover,
body.woocommerce-order-pay a.remove:hover {
    background: #e03939 !important;
    transform: scale(1.05);
}

/* الـ Tooltip (كلمة حذف) – يكون مخفي ويظهر عند المرور بالماوس */
body.woocommerce-checkout a[href*="remove_item"]::after,
body.woocommerce-order-pay a[href*="remove_item"]::after,
body.woocommerce-checkout a.remove::after,
body.woocommerce-order-pay a.remove::after {
    content: "حذف";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    /* في RTL يظهر على اليسار من الدائرة */
    right: 115%;                            /* حرك المربع على يسار الزر */
    background: #333;
    color: #fff;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

/* السهم الصغير تبع الـ Tooltip */
body.woocommerce-checkout a[href*="remove_item"]::after,
body.woocommerce-order-pay a[href*="remove_item"]::after,
body.woocommerce-checkout a.remove::after,
body.woocommerce-order-pay a.remove::after {
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* إظهار كلمة "حذف" عند المرور */
body.woocommerce-checkout a[href*="remove_item"]:hover::after,
body.woocommerce-order-pay a[href*="remove_item"]:hover::after,
body.woocommerce-checkout a.remove:hover::after,
body.woocommerce-order-pay a.remove:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(-4px);
}
@media (min-width: 1025px) {
	/* توسيع صندوق بيانات الاشتراك في صفحة الدفع وجعله في المنتصف */
body.woocommerce-checkout #order_review,
body.woocommerce-checkout .woocommerce-checkout-review-order,
body.woocommerce-order-pay #order_review,
body.woocommerce-order-pay .woocommerce-checkout-review-order {
    width: 70% !important;
    max-width: 900px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
}

/* إخفاء عمود بيانات الفاتورة إذا كان يظهر كفراغ على اليسار */
body.woocommerce-checkout .col2-set,
body.woocommerce-checkout #customer_details,
body.woocommerce-order-pay .col2-set,
body.woocommerce-order-pay #customer_details {
    display: none !important;
}
/* كرت كامل لكل اشتراك */
.woocommerce-checkout-review-order-table td.product-name .sms-product-card {
    background: #f5fbff;
    border-radius: 18px;
    padding: 18px 20px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.04);
}

/* رأس الكرت (المرحلة × 1) */
.sms-product-header {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 14px;
}

/* صفوف الحقول */
.sms-product-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* كل صف يحتوي حتى 3 خانات */
.sms-fields-row {
    display: flex;
    gap: 10px;
}

/* كل خانة داخل كرت صغير */
.sms-field {
    flex: 1;
    background: #ffffff;
    border-radius: 12px;
    padding: 10px 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

/* عنوان الحقل */
.sms-field-label {
    font-size: 11px;
    color: #666;
    margin-bottom: 4px;
    font-weight: 600;
}

/* القيمة */
.sms-field-value {
    font-size: 13px;
    color: #222;
    font-weight: 600;
}

/* استجابة للجوال: كل خانة في سطر واحد */
@media (max-width: 767px) {
    .sms-fields-row {
        flex-direction: column;
    }
}


}

@media (min-width: 768px) and (max-width: 1024px) {
	/* إخفاء مربع ملاحظات الطلب نهائيًا */
.woocommerce-additional-fields,
.woocommerce-additional-fields__field-wrapper,
#order_comments_field {
    display: none !important;
}

}

@media (min-width: 577px) and (max-width: 767px) {
	/* إخفاء مربع ملاحظات الطلب نهائيًا */
.woocommerce-additional-fields,
.woocommerce-additional-fields__field-wrapper,
#order_comments_field {
    display: none !important;
}

}

@media (max-width: 576px) {
	/* إخفاء مربع ملاحظات الطلب نهائيًا */
.woocommerce-additional-fields,
.woocommerce-additional-fields__field-wrapper,
#order_comments_field {
    display: none !important;
}

}

