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

:root {
	--wd-text-font: "El Messiri", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 500;
	--wd-text-color: #767676;
	--wd-text-font-size: 14px;
	--wd-title-font: "El Messiri", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 700;
	--wd-title-color: #242424;
	--wd-entities-title-font: "El Messiri", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 600;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "El Messiri", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "El Messiri", 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: 16px;
	--wd-header-el-font: "El Messiri", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: none;
	--wd-header-el-font-size: 16px;
	--wd-brd-radius: 14px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(5,88,156);
	--wd-alternative-color: rgb(255,46,0);
	--btn-default-bgcolor: rgb(46,107,198);
	--btn-default-bgcolor-hover: rgb(46,107,198);
	--btn-accented-bgcolor: rgb(46,107,198);
	--btn-accented-bgcolor-hover: rgb(46,107,198);
	--wd-form-brd-width: 2px;
	--notices-success-bg: rgb(5,88,156);
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: url();
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
:is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg, :is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg :is(.wd-product,.wd-cat) {
	--wd-prod-bg:rgb(255,255,255);
	--wd-bordered-bg:rgb(255,255,255);
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-footer {
	background-color: rgb(4,71,150);
	background-image: none;
}
html .product.wd-cat .wd-entities-title, html .product.wd-cat.cat-design-replace-title .wd-entities-title, html .wd-masonry-first .wd-cat:first-child .wd-entities-title {
	font-size: 18px;
	text-transform: none;
}
html .wd-nav-mobile > li > a, html .wd-nav-mobile .wd-sub-menu li a {
	text-transform: none;
}
.page :is(.wd-page-content, .whb-header) {
	background-color: rgb(245,245,245);
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) :is(.wd-page-content, .whb-header) {
	background-color: rgb(245,245,245);
	background-image: none;
}
.single-product :is(.wd-page-content, .whb-header) {
	background-color: rgb(245,245,245);
	background-image: none;
}
.woodmart-archive-blog :is(.wd-page-content, .whb-header) {
	background-color: rgb(245,245,245);
	background-image: none;
}
.single-post :is(.wd-page-content, .whb-header) {
	background-color: rgb(245,245,245);
	background-image: none;
}
.woodmart-archive-portfolio :is(.wd-page-content, .whb-header) {
	background-color: rgb(245,245,245);
	background-image: none;
}
.single-portfolio :is(.wd-page-content, .whb-header) {
	background-color: rgb(245,245,245);
	background-image: none;
}
html .btn.wd-buy-now-btn {
	color: rgb(255,255,255);
	background: rgb(46,107,198);
}
html .btn.wd-buy-now-btn:hover {
	color: rgb(255,255,255);
	background: rgb(46,107,198);
}
body, [class*=color-scheme-light], [class*=color-scheme-dark], .wd-search-form[class*="wd-header-search-form"] form.searchform, .wd-el-search .searchform {
	--wd-form-color: rgb(5,88,156);
	--wd-form-placeholder-color: rgb(5,88,156);
	--wd-form-brd-color: rgb(255,255,255);
	--wd-form-brd-color-focus: rgb(5,88,156);
	--wd-form-bg: rgb(255,255,255);
}
.wd-nav-arrows.wd-pos-together:not(:where(.wd-custom-style)) {
	--wd-arrow-color: rgb(255,46,0);
	--wd-arrow-color-dis: rgb(45,88,156);
}
.wd-nav-pagin-wrap:not(.wd-custom-style) {
	--wd-pagin-size: 0px;
	--wd-pagin-bg: rgb(45,88,156);
	--wd-pagin-bg-act: rgb(255,46,0);
	--wd-pagin-radius: 50px;
	--wd-pagin-brd-width: 0px;
	--wd-pagin-brd-style: solid;
}
.product-labels .product-label.onsale {
	background-color: rgb(221,51,51);
	color: rgb(255,255,255);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1600px;
--wd-form-brd-radius: 35px;
--btn-default-color: #fff;
--btn-default-color-hover: #fff;
--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;
}

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


.wd-page-title {
background-color: rgb(5,88,156);
}

@font-face {
	font-family: "Ara Hamah 1964 B";
	src: url("//alassly.com/wp-content/uploads/2025/11/Ara-Hamah-1964-B-Bold.ttf") format("woff2"), 
url("//alassly.com/wp-content/uploads/2025/11/Ara-Hamah-1964-B-Bold.ttf") format("woff");
	font-weight: 700;
	font-style: normal;
}

@font-face {
	font-family: "ramadan";
	src: url("//alassly.com/wp-content/uploads/2026/02/alfont_com_DTHULUTH-II.woff2") format("woff2"), 
url("//alassly.com/wp-content/uploads/2026/02/alfont_com_DTHULUTH-II.woff2") format("woff");
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: "ramdan2";
	src: url("//alassly.com/wp-content/uploads/2026/02/arbfonts-diwany-thuluth.woff2") format("woff2"), 
url("//alassly.com/wp-content/uploads/2026/02/arbfonts-diwany-thuluth.woff2") format("woff");
	font-weight: 400;
	font-style: normal;
}

form.cart {
    margin-top: 20px !important;
}

.wd-slide-container {

    padding-block: 0px !important;
}


.wd-sticky-btn.wd-sticky-btn-shown div#tabbyPromo1 {
    display: none;
}

.wd-sticky-btn.wd-sticky-btn-shown tamara-widget {
    display: none;
}

del .amount{
    color : #ff2e00
}

.price del{
        color : #ff2e00

}

.replace{
	padding : 10px 15px 8px !important
}


/* Zoom inside image on hover */
.promo-banner-wrapper .banner-image {
    overflow: hidden; /* مهم جداً علشان يمنع الصورة تطلع بره */
}

.promo-banner-wrapper .banner-image img {
    transition: transform 1s ease;
    transform-origin: center center;
}

.promo-banner-wrapper:hover .banner-image img {
    transform: scale(1.12) !important; /* مستوى الزووم */
}

p.woocommerce-result-count {
    display: none !important; 
}

.wd-col-end.reset-last-child {
    display: flex;
    justify-content: end;
	align-items : center !important
}


.onsale.product-label {
    direction: rtl !important;
    unicode-bidi: isolate;
}

/* شيل علامة السالب */
.onsale.product-label {
    content: "";
}

.onsale.product-label::before {
    content: "خصم ";
}

/* اعرض النسبة بدون السالب */
.onsale.product-label {
    text-indent: 0;
}

.onsale.product-label {
    /* يخلي الـ CSS يتجاهل السالب */
}


/* كل عنصر دفع */
.woocommerce-checkout #payment ul.payment_methods li {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 20px;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    background: #fff;
    margin-bottom: 12px;
    position: relative;
    flex-wrap: wrap;
}

/* رجّع الراديو مكانه الطبيعي داخل السطر */
.woocommerce-checkout #payment ul.payment_methods li input[type=radio] {
    position: static !important;
    margin: 0 0 0 10px;
    transform: scale(1.3);
}

/* الاسم + الصورة جنب بعض */
.woocommerce-checkout #payment ul.payment_methods li label {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    width: auto !important;
    margin: 0;
    padding: 0;
}

/* الصورة */
.woocommerce-checkout #payment ul.payment_methods li img {
    max-height: 28px;
    width: auto;
    margin: 0 !important;
}

/* الوصف تحت السطر */
.woocommerce-checkout #payment ul.payment_methods li .payment_method_description,
.woocommerce-checkout #payment ul.payment_methods li .woocommerce-checkout-payment-description {
    width: 100%;
    margin-top: 12px;
    padding-inline-start: 40px;
    line-height: 1.7;
    color: #444;
}

/* صندوق الدفع */
.woocommerce-checkout #payment .payment_box {
    width: 100%;
    margin-top: 15px;
    padding: 15px;
    background: #f7f7f7;
    border-radius: 10px;
}

li#menu-item-166853 a {color : #c53629}


/* تنسيق الحاوية الرئيسية لتكون مرنة ومتجاوبة */
#customer_login {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
    margin-bottom: 40px;
}

/* تنسيق المربعات (تسجيل الدخول / التسجيل) */
#customer_login .col-1, 
#customer_login .col-2 {
    flex: 1;
    min-width: 320px;
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    border: 1px solid #eaeaea;
}

/* تنسيق العناوين */
#customer_login h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

/* خط صغير تحت العناوين للمسة جمالية */
#customer_login h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background-color: #0e519b; /* لون أزرق احترافي */
    border-radius: 2px;
}

/* تنسيق حقول الإدخال */
#customer_login .woocommerce-Input {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    background-color: #fcfcfc;
}

#customer_login .woocommerce-Input:focus {
    border-color: #0e519b;
    box-shadow: 0 0 0 3px rgba(14, 81, 155, 0.1);
    background-color: #fff;
    outline: none;
}

/* تنسيق النصوص والـ Labels */
#customer_login label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    color: #444;
    font-size: 14px;
}

/* تنسيق زر تسجيل الدخول */
#customer_login .login .woocommerce-button {
    background-color: #0e519b;
    color: #fff;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 15px;
}

#customer_login .login .woocommerce-button:hover {
    background-color: #0a3d75;
}

/* تنسيق زر تسجيل جديد (بلون مختلف لتمييزه) */
#customer_login .register .woocommerce-button {
    background-color: #28a745; /* لون أخضر دلالة على إضافة جديد */
    color: #fff;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

#customer_login .register .woocommerce-button:hover {
    background-color: #218838;
}

/* تنسيق نص سياسة الخصوصية */
#customer_login .woocommerce-privacy-policy-text {
    font-size: 13px;
    color: #777;
    margin-bottom: 15px;
    line-height: 1.6;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 6px;
    border-right: 3px solid #28a745;
}

/* تنسيق رابط نسيت كلمة المرور وتذكرني */
#customer_login .lost_password {
    margin-top: 20px;
    text-align: center;
    display: block;
}

#customer_login .lost_password a {
    color: #0e519b;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
}

#customer_login .lost_password a:hover {
    text-decoration: underline;
}

.woocommerce-form-login__rememberme {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

/* =========================================
   تعديلات حقل كلمة المرور وأيقونة العين الجديدة
   ========================================= */

/* ضبط حاوية حقل كلمة المرور */
#customer_login .password-input {
    position: relative;
    display: block;
}

/* إصلاح وتنسيق زر إظهار كلمة المرور وإضافة أيقونة العين */
#customer_login .show-password-input {
    position: absolute;
    left: 15px; 
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0;
    cursor: pointer;
    z-index: 10;
    color: transparent !important; /* إخفاء أي نص افتراضي يظهر بدلاً من الأيقونة */
    
    /* إضافة أيقونة العين باستخدام SVG */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'%3E%3C/path%3E%3Ccircle cx='12' cy='12' r='3'%3E%3C/circle%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
}

/* شكل الأيقونة عند الضغط عليها (إخفاء كلمة المرور - عين عليها خط) */
#customer_login .show-password-input.display-password {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24'%3E%3C/path%3E%3Cline x1='1' y1='1' x2='23' y2='23'%3E%3C/line%3E%3C/svg%3E") !important;
}

/* منع ظهور خلفية أو تحديد عند الضغط على الزر في الموبايل */
#customer_login .show-password-input:hover,
#customer_login .show-password-input:focus,
#customer_login .show-password-input:active {
    background-color: transparent !important;
    outline: none !important;
}


/*كود المنتجات*/


.wpcf7-form{
direction:rtl
}
.woocommerce-result-count{
	margin-bottom : 0 !important
}


.onsale.product-label {
    direction: rtl !important;
    unicode-bidi: isolate;
}

/* شيل علامة السالب */
.onsale.product-label {
    content: "";
}

.onsale.product-label::before {
    content: "خصم ";
}

/* اعرض النسبة بدون السالب */
.onsale.product-label {
    text-indent: 0;
}




del .amount{
    color : #ff2e00
}

.price del{
        color : #ff2e00

}

.wd-product-wrapper.product-wrapper {
    border-radius: 10px !important;
    overflow: hidden;
}




/* ======================================================== */
/* 1. إعدادات عامة (Global Settings) */
/* ======================================================== */
:root {
    --store-blue: rgb(5, 88, 156);
    --sale-red: #05589c;
}

tr.wd-cart-action-row {
    display: none !important;
}

p.woocommerce-result-count {
    display: none;
}

.summary-inner .product_title {
    font-size: 24px !important;
    line-height: 1.5;
    --page-title-display: block;
}

.col-left.set-cont-mb-s.reset-last-child {
    line-height: 22px !important;
}

bdi {
    display: flex;
    align-items: center;
}

/* ======================================================== */
/* 3. أزرار إضافة للسلة وتحديد الخيارات (Archive Buttons) */
/* ======================================================== */
/* توحيد كل زراير المنتجات بلون الهوية الجديد ونفس الشكل */
.product-grid-item .wd-add-btn a.button,
.wd-buttons a.button,
.wd-product-action a.button {
    width: 100% !important;
    background-color: rgb(255, 46, 0) !important;
    background-image: none !important;
    color: #ffffff !important;
    padding: 10px 0 !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    border: none !important;
    box-shadow: none !important;
    min-height: 42px !important;
    margin-top: 5px !important;
}

.product-grid-item .wd-add-btn a.button:hover,
.wd-buttons a.button:hover,
.wd-product-action a.button:hover {
    background-color: #d62700 !important;
    color: #ffffff !important;
}

/* إخفاء أي أيقونات بتظهر جوه الزرار */
.product-grid-item .wd-add-btn a.button::before,
.product-grid-item .wd-add-btn a.button::after {
    display: none !important;
}
.product-grid-item .wd-add-btn a.button span {
    transform: none !important;
    transition: none !important;
}

/* ======================================================== */
/* 4. تصميم صفحة المنتج المفرد (Single Product Page) */
/* ======================================================== */
.single-product .summary .custom-main-price-area {
    display: none !important;
}

.single-product .summary .woocommerce-product-attributes.shop_attributes {
    border: none !important;
    margin-bottom: 25px;
}

.single-product .summary .woocommerce-product-attributes.shop_attributes tbody {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.single-product .summary .woocommerce-product-attributes.shop_attributes tr {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 12px 5px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center !important;
    border: none !important;
}

.single-product .summary .woocommerce-product-attributes.shop_attributes th {
    font-size: 16px !important;
    color: #888 !important;
    padding: 0 !important;
    margin-bottom: 4px;
    text-align: center !important;
}

.single-product .summary .woocommerce-product-attributes.shop_attributes td {
    padding: 0 !important;
    text-align: center !important;
}

.single-product .summary .woocommerce-product-attributes.shop_attributes td p,
.single-product .summary .woocommerce-product-attributes.shop_attributes td span {
    font-size: 14px !important;
    font-weight: 700;
    color: #222;
    margin: 0;
    text-align: center !important;
    display: block !important;
}

.single-product .summary form.cart {
    display: flex !important;
    gap: 12px;
    margin: 30px 0;
    direction: rtl;
}

.single-product .summary form.cart .quantity {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    background: #f4f6f8 !important;
    border-radius: 10px !important;
    padding: 4px !important;
    height: 54px;
    width: 130px !important;
    border: 1px solid #eef0f3 !important;
}

.single-product .summary form.cart .quantity input.qty {
    background: transparent !important;
    border: none !important;
    color: #111 !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    text-align: center !important;
}

.single-product .summary form.cart .quantity input[type="button"] {
    background: #fff !important;
    border: 1px solid #e1e5eb !important;
    color: var(--store-blue) !important;
    font-size: 22px !important;
    cursor: pointer;
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
}

.single-product .summary form.cart button.single_add_to_cart_button {
    flex: 1;
    background: rgb(255, 46, 0) !important; /* لون زرار صفحة المنتج الموحد */
    border-radius: 12px !important;
    font-size: 17px !important;
    font-weight: 700;
    color: #fff !important;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.single-product .summary form.cart button.single_add_to_cart_button:hover {
    background: #d62700 !important;
}

.single-product .summary .final-payments-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 5px;
    margin-bottom: 25px;
}

.payment-card-v5 {
    background: #f7f9fa !important;
    border-radius: 12px;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    direction: rtl;
    border: 1px solid #ebebeb;
}

.pc-text {
    display: flex;
    flex-direction: column;
    text-align: right;
    gap: 2px;
}

.pc-text strong {
    font-size: 12px;
    color: #111;
    font-weight: 700;
}

.pc-text span {
    font-size: 10px;
    color: #777;
}

.pc-img img {
    max-height: 24px;
    max-width: 55px;
    object-fit: contain;
}

.single-product .summary .wd-wishlist-btn, 
.single-product .summary p.stock {
    display: none !important;
}

@media (max-width: 768px) {
    .single-product .summary .woocommerce-product-attributes.shop_attributes tbody {
        grid-template-columns: 1fr 1fr;
    }
    .single-product .summary .final-payments-grid {
        grid-template-columns: 1fr;
    }
}

/* ======================================================== */
/* 5. تصميم بادجات الصور */
/* ======================================================== */
.product-labels .onsale,
.labels-rounded .onsale,
span.onsale {
    display: none !important;
}

.custom-product-image-badges {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    pointer-events: none;
}

.custom-product-image-badges .custom-circle-sale {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #05589c !important;
    color: #fff !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    display: flex !important;
    flex-direction: column;
    align-items: center !important;
    justify-content: center !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    text-align: center !important;
    box-shadow: 0 4px 10px rgba(5, 88, 156, 0.3);
}

.single-product .custom-product-image-badges .custom-circle-sale {
    width: 65px !important;
    height: 65px !important;
    font-size: 14px !important;
}

.custom-warranty-svg-badge {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    filter: drop-shadow(0 4px 8px rgba(5, 88, 156, 0.3));
}

.product-grid-item .custom-warranty-svg-badge {
    bottom: 15px;
    left: 15px;
    width: 70px;
    height: 60px;
}

.single-product .custom-warranty-svg-badge {
    top: 15px;
    left: 15px;
    width: 95px;
    height: 95px;
}

.custom-warranty-svg-badge .svg-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    fill: #05589c; 
    z-index: 0;
}

.custom-warranty-svg-badge .svg-stroke {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: #fff; 
    stroke-width: 0.8px;
    stroke-dasharray: 2,3;
    transform: scale(0.92);
    transform-origin: center;
    z-index: 1;
}

.custom-warranty-svg-badge .cws-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 2px;
}

.custom-warranty-svg-badge .cws-text-top {
    font-weight: 800;
    line-height: 1.1;
}

.custom-warranty-svg-badge .cws-text-bottom {
    font-weight: 900;
    line-height: 1.1;
}

.product-grid-item .custom-warranty-svg-badge .cws-text-top { font-size: 11px !important; }
.product-grid-item .custom-warranty-svg-badge .cws-text-bottom { font-size: 12px !important; }

.single-product .custom-warranty-svg-badge .cws-text-top { font-size: 18px !important; margin-bottom: 2px; }
.single-product .custom-warranty-svg-badge .cws-text-bottom { font-size: 20px !important; }

@media (max-width: 768px) {
    .custom-product-image-badges .custom-circle-sale { top: 10px; right: 10px; }
    .single-product .custom-warranty-svg-badge { width: 65px; height: 65px; top: 10px; left: 10px; }
    
    .single-product .custom-warranty-svg-badge .cws-text-top { font-size: 12px !important; margin-bottom: 1px; }
    .single-product .custom-warranty-svg-badge .cws-text-bottom { font-size: 14px !important; }
    
    .product-grid-item .custom-warranty-svg-badge { width: 45px; height: 45px; bottom: 8px; left: 8px; }
    .product-grid-item .custom-warranty-svg-badge .cws-text-top { font-size: 8px !important; }
    .product-grid-item .custom-warranty-svg-badge .cws-text-bottom { font-size: 9px !important; }
}

/* ======================================================== */
/* 6. تصميم كارد المنتجات وصندوق السعر */
/* ======================================================== */
.salla-card-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
    text-align: right;
    font-family: inherit;
    direction: rtl;
}

.salla-box {
    border-radius: 10px;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
}

.salla-price-box { background-color: #eef4f9; }

.salla-box-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; }

.salla-price-box .salla-label { color: #1a4f7c; font-size: 15px !important; font-weight: 700 !important; }

.salla-price-box .salla-discount-badge {
    background-color: #05589c; color: #fff; font-size: 12px !important; font-weight: 700; padding: 4px 10px !important; border-radius: 4px;
}

.salla-main-price-wrap { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }

.salla-price-box .salla-main-price { color: var(--store-blue, #05589c) !important; font-size: 26px !important; font-weight: 800; }

.salla-price-box .salla-main-price .woocommerce-Price-currencySymbol { font-size: 18px !important; }

.salla-price-box .salla-tax-note { color: #666; font-size: 13px !important; }

.salla-price-box .salla-old-price-wrap { display: flex; align-items: center; gap: 8px; margin-top: 8px !important; font-size: 14px !important; }

.salla-price-box .salla-old-price-wrap del { color: #999; font-weight: 500; font-size: 16px !important; }

.salla-price-box .salla-save-note { color: #05589c; font-weight: 600; font-size: 15px !important; }

/* 🔴 الكلاس الجديد للحفاظ على التوازن (العنصر المخفي) 🔴 */
.salla-placeholder {
    visibility: hidden !important;
    pointer-events: none !important;
    user-select: none !important;
}

.salla-installments-box { background-color: #f8f9fa; border: 1px solid #e9ecef; text-align: center; }

.salla-install-title { display: block; color: #444; font-size: 11px; font-weight: 600; margin-bottom: 8px; }

.salla-install-logos { display: flex; justify-content: center; gap: 10px; }

.salla-install-logos img { height: 22px; width: auto; object-fit: contain; background: #fff; padding: 2px 6px; border-radius: 4px; border: 1px solid #eee; }

.wd-product-wrapper .wrap-price, .wd-product-wrapper .price { display: none !important; }
.salla-card-wrapper .price { display: inline-block !important; }
.salla-card-warranty { display: none !important; }

/* ======================================================== */
/* 7. تصميم أسهم التقليب (Arrows Navigation) */
/* ======================================================== */
.wd-btn-arrow .wd-arrow-inner { display: none !important; }
.wd-btn-arrow { width: 45px !important; height: 45px !important; border-radius: 50% !important; background-color: #fff !important; box-shadow: 0 4px 15px rgba(0,0,0,0.08); display: flex !important; align-items: center; justify-content: center; transition: 0.3s; cursor: pointer !important; }
.wd-nav-arrows.wd-pos-together.wd-hover-1.wd-icon-1 { gap: 10px !important; }
.wd-btn-arrow.wd-prev { background-image: url('https://built-in1.com/wp-content/uploads/2026/04/Arrow-1-1.png') !important; background-repeat: no-repeat; background-position: center; background-size: 18px; }
.wd-btn-arrow.wd-next { background-image: url('https://built-in1.com/wp-content/uploads/2026/04/Arrow-1.png') !important; background-repeat: no-repeat; background-position: center; background-size: 18px; }
.wd-btn-arrow:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.12); }
.wd-btn-arrow.wd-disabled { opacity: 0.4; pointer-events: none; }
.jk-disabled { opacity: 0.4; pointer-events: none; cursor: not-allowed; }
.jk-disabled img { filter: grayscale(100%); }

/* ======================================================== */
/* 8. ترويق صفحة الأرشيف (الأقسام) */
/* ======================================================== */
.term-description { background-color: #f4f6f8; border-radius: 12px; padding: 25px 20px; text-align: center; border: 1px solid #eef0f3; margin-bottom: 25px; box-shadow: 0 4px 15px rgba(0,0,0,0.02); }
.term-description h2 { color: var(--store-blue, #05589c) !important; font-size: 22px !important; font-weight: 800; margin-bottom: 10px; }
.term-description p { color: #555; font-size: 15px; line-height: 1.7; margin: 0; max-width: 800px; margin-left: auto; margin-right: auto; }
.shop-loop-head { background: #ffffff; border-radius: 12px; padding: 12px 15px; border: 1px solid #edf1f5; margin-bottom: 25px; box-shadow: 0 2px 10px rgba(0,0,0,0.02); display: flex; justify-content: space-between; align-items: center; }
.wd-shop-tools .wd-filter-buttons a { background-color: #f4f6f8 !important; color: var(--store-blue, #05589c) !important; border-radius: 50px !important; padding: 8px 20px !important; font-weight: 700; display: flex; align-items: center; gap: 8px; transition: 0.3s; border: 1px solid #eef0f3; }
.wd-shop-tools .wd-filter-buttons a:hover { background-color: var(--store-blue, #05589c) !important; color: #ffffff !important; }
.wd-shop-tools .wd-products-per-page, .wd-shop-tools .wd-products-shop-view, .woocommerce-result-count { display: none !important; }
.wd-shop-tools .wd-breadcrumbs { font-size: 13px; color: #666; margin: 0 !important; }
.wd-shop-tools .wd-breadcrumbs a { color: #333; font-weight: 600; }
.wd-shop-tools .wd-breadcrumbs a:hover { color: var(--store-blue, #05589c); }

@media (max-width: 768px) {
    .shop-loop-head { flex-direction: column; gap: 12px; align-items: stretch; padding: 15px; }
    .wd-shop-tools { display: flex; justify-content: center; width: 100%; }
    .wd-shop-tools .wd-filter-buttons { width: 100%; margin: 0 !important; }
    .wd-shop-tools .wd-filter-buttons a { width: 100%; justify-content: center; font-size: 15px; padding: 10px !important; }
    .term-description { padding: 15px; }
    .term-description h2 { font-size: 18px !important; }
}

/* ======================================================== */
/* 9. ترويق السايد بار (الفلاتر) */
/* ======================================================== */
.wd-sidebar .wd-widget { background: #ffffff; border: 1px solid #eef0f3; border-radius: 12px; margin-bottom: 20px; box-shadow: 0 4px 15px rgba(0,0,0,0.02); padding: 20px; }
.wd-sidebar .widget-title { font-size: 16px !important; font-weight: 800; color: var(--store-blue, #05589c) !important; margin-bottom: 15px; padding-bottom: 12px; border-bottom: 1px solid #f4f6f8; display: flex; align-items: center; }
.wd-sidebar .select2-container--default .select2-selection--single { background-color: #f4f6f8 !important; border: 1px solid transparent !important; border-radius: 8px !important; height: 48px !important; display: flex; align-items: center; padding: 0 15px; transition: all 0.3s ease; }
.wd-sidebar .select2-container--default .select2-selection--single:hover { border-color: rgba(5, 88, 156, 0.3) !important; background-color: #fff !important; }
.wd-sidebar .select2-selection__rendered { color: #444 !important; font-weight: 600; font-size: 14px; padding: 0 !important; }
.wd-sidebar .select2-selection__arrow { height: 48px !important; }
.wd-sidebar .price_slider_wrapper { padding-top: 5px; }
.wd-sidebar .ui-slider-horizontal { height: 6px !important; background-color: #eef0f3 !important; border: none !important; border-radius: 10px !important; }
.wd-sidebar .ui-slider-range { background-color: var(--store-blue, #05589c) !important; }
.wd-sidebar .ui-slider-handle { width: 20px !important; height: 20px !important; background-color: #fff !important; border: 3px solid var(--store-blue, #05589c) !important; border-radius: 50% !important; top: -7px !important; box-shadow: 0 2px 6px rgba(0,0,0,0.15) !important; cursor: pointer !important; transition: transform 0.2s; }
.wd-sidebar .ui-slider-handle:hover { transform: scale(1.1); }
.wd-sidebar .price_slider_amount { display: flex; flex-direction: column; gap: 15px; margin-top: 25px; }
.wd-sidebar .price_slider_amount .button { width: 100%; background-color: var(--store-blue, #05589c) !important; color: #fff !important; border-radius: 8px !important; font-weight: bold; font-size: 15px; padding: 12px !important; transition: 0.3s; text-align: center; }
.wd-sidebar .price_slider_amount .button:hover { background-color: #111 !important; transform: translateY(-2px); }
.wd-sidebar .price_label { text-align: center; font-size: 14px; font-weight: 600; color: #555; background: #f4f6f8; padding: 8px; border-radius: 6px; }
.wd-sidebar .price_label span { color: var(--store-blue, #05589c); font-weight: 800; }
.wd-sidebar .wd-heading { padding: 15px 20px; background: transparent; }
.wd-sidebar .close-side-widget a { background: #fff5f5; color: var(--sale-red, #05589c); padding: 8px 15px; border-radius: 8px; font-weight: bold; font-size: 14px; border: 1px solid #ffe3e3; display: inline-flex; align-items: center; transition: 0.2s; }
.wd-sidebar .close-side-widget a:hover { background: var(--sale-red, #05589c); color: #fff; }

/* ======================================================== */
/* 10. تصميم تابات صفحة المنتج */
/* ======================================================== */
.woocommerce-tabs .wd-nav-tabs.wd-style-underline-reverse > li > a::after, .woocommerce-tabs .wd-nav-tabs.wd-style-underline-reverse > li > a::before, .woocommerce-tabs .wd-nav-tabs > li > a::after, .woocommerce-tabs .wd-nav-tabs > li > a::before, .woocommerce-tabs .wd-nav-link::after, .woocommerce-tabs .wd-nav-link::before, .woocommerce-tabs .nav-link-text::after, .woocommerce-tabs .nav-link-text::before { display: none !important; content: none !important; background: transparent !important; border: none !important; height: 0 !important; }
.woocommerce-tabs .wd-nav-tabs { background: #f1f5f9 !important; padding: 6px !important; border-radius: 50px !important; display: inline-flex !important; border: none !important; margin-bottom: 25px !important; }
.woocommerce-tabs .wd-nav-tabs > li { margin: 0 !important; padding: 0 !important; }
.woocommerce-tabs .wd-nav-tabs > li > a { padding: 10px 25px !important; border-radius: 50px !important; font-weight: 700 !important; font-size: 15px !important; color: #475569 !important; transition: all 0.3s ease !important; border: none !important; background-color: transparent !important; }
.woocommerce-tabs .wd-nav-tabs > li > a:hover { color: var(--store-blue, #05589c) !important; background-color: #e2e8f0 !important; }
.woocommerce-tabs .wd-nav-tabs > li.active > a { background-color: #ffffff !important; color: var(--store-blue, #05589c) !important; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important; border: none !important; border-top: none !important; }
.woocommerce-tabs .woocommerce-Tabs-panel { background: #ffffff !important; border: 1px solid #edf1f5 !important; border-radius: 16px !important; padding: 35px 30px !important; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02) !important; }
.woocommerce-tabs .woocommerce-Tabs-panel h2, .woocommerce-tabs .woocommerce-Tabs-panel h3 { color: var(--store-blue, #05589c) !important; font-weight: 800; margin-bottom: 15px; line-height: 1.4; }
.woocommerce-tabs .woocommerce-Tabs-panel p, .woocommerce-tabs .woocommerce-Tabs-panel li, .woocommerce-tabs .woocommerce-product-details__short-description li { color: #444 !important; line-height: 1.8 !important; font-size: 15px !important; font-weight: 500; }
.woocommerce-tabs .woocommerce-product-details__short-description ul { padding-right: 20px; }
.woocommerce-tabs .woocommerce-product-details__short-description li { margin-bottom: 8px; }

/* ======================================================== */
/* إخفاء جملة متوفر في المخزن */
/* ======================================================== */
p.wd-product-stock.stock, .wd-product-stock, .product-grid-item .stock, .product-wrapper .stock, .product-element-bottom .stock { display: none !important; opacity: 0 !important; visibility: hidden !important; height: 0 !important; margin: 0 !important; padding: 0 !important; }

/* ======================================================== */
/* حل نهائي لمكان البادجات في جميع كروت المنتجات والسلايدر */
/* ======================================================== */
.product-grid-item .product-labels { height: 100% !important; width: 100% !important; max-width: 100% !important; top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important; position: absolute !important; pointer-events: none !important; display: block !important; }
.product-grid-item .custom-product-image-badges { height: 100% !important; width: 100% !important; position: absolute !important; top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important; display: block !important; }
.product-grid-item .custom-warranty-svg-badge { position: absolute !important; top: auto !important; bottom: 15px !important; left: 15px !important; right: auto !important; margin: 0 !important; width: 55px !important; height: 55px !important; }
.product-grid-item .custom-circle-sale { position: absolute !important; bottom: auto !important; top: 15px !important; right: 15px !important; left: auto !important; margin: 0 !important; }
.single-product .woocommerce-product-gallery .custom-product-image-badges { display: block !important; }
.single-product .woocommerce-product-gallery .custom-warranty-svg-badge { position: absolute !important; top: 15px !important; left: 15px !important; width: 95px !important; height: 95px !important; }
.single-product .woocommerce-product-gallery .custom-circle-sale { position: absolute !important; top: 15px !important; right: 15px !important; }
@media (max-width: 768px) {
    .product-grid-item .custom-warranty-svg-badge { bottom: 8px !important; left: 8px !important; width: 45px !important; height: 45px !important; }
    .product-grid-item .custom-circle-sale { top: 10px !important; right: 10px !important; }
}

/* ======================================================== */
/* إصلاح جذري لتشوه بادج الضمان في السلايدر */
/* ======================================================== */
.owl-item .product-element-top, .swiper-slide .product-element-top, .product-grid-item .product-element-top { overflow: visible !important; }
.product-grid-item .custom-warranty-svg-badge, .owl-item .custom-warranty-svg-badge, .swiper-slide .custom-warranty-svg-badge {
    position: absolute !important; bottom: 12px !important; left: 12px !important; width: 55px !important; height: 55px !important;
    min-width: 55px !important !important; min-height: 55px !important !important; max-width: 55px !important !important; max-height: 55px !important !important;
    display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; z-index: 999 !important;
}

.custom-warranty-svg-badge .cws-content {
    display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; width: 100% !important;
}

.custom-warranty-svg-badge .cws-text-top,
.custom-warranty-svg-badge .cws-text-bottom {
    white-space: nowrap !important; line-height: 1.1 !important; display: inline-block !important;
}

.product-grid-item .custom-warranty-svg-badge .cws-text-top { font-size: 11px !important; }
.product-grid-item .custom-warranty-svg-badge .cws-text-bottom { font-size: 12px !important; }

/* ======================================================== */
/* تصميم القائمة العلوية (Nav Menu) - التعديل الجديد للبادنج */
/* ======================================================== */
.wd-nav.wd-style-default > li > a .nav-link-text::after,
.wd-nav.wd-style-default > li > a .nav-link-text::before {
    display: none !important;
    content: none !important;
}
@media (min-width: 1025px) {
    .wd-header-nav { padding: 15px 0 !important; }
    
 .wd-header-nav .wd-nav {
        display: flex !important;
        flex-wrap: nowrap !important; 
        justify-content: center;
        align-items: center !important; 
        
        gap: clamp(2px, 0.5vw, 12px) !important;
        
        /* امسح السطور دي */
        /* overflow-x: auto !important; */
        /* overflow-y: hidden !important; */
        
        /* وضيف السطر ده بدالهم */
        overflow: visible !important;
        flex-wrap: wrap !important; /* يفضل تخليها wrap عشان لو الشاشة صغرت العناصر تنزل سطر جديد بدل ما تطلع بره الشاشة */

        scrollbar-width: none !important; 
        -ms-overflow-style: none !important;
        padding: 10px 0 !important; 
        max-width: 100%;
    }

    .wd-header-nav .wd-nav::-webkit-scrollbar {
        display: none !important;
    }

    .wd-header-nav .wd-nav > li { margin: 0 !important; }

   .wd-header-nav .wd-nav > li > a {
        background-color: rgba(5, 88, 156, 0.04) !important;
        color: #05589c !important;
        border-radius: 50px !important;
        
        /* التعديل هنا: فصلنا البادنج عشان نظبط التوسيط الرأسي للخط العربي */
        padding-top: clamp(8px, 0.8vw, 10px) !important;     /* زودنا اللي فوق */
        padding-bottom: clamp(2px, 0.3vw, 6px) !important;   /* قللنا اللي تحت */
        padding-right: clamp(8px, 0.7vw, 20px) !important;   /* اليمين ديناميكي */
        padding-left: clamp(8px, 0.7vw, 20px) !important;    /* الشمال ديناميكي */
        
        font-size: clamp(10.5px, 0.85vw, 14.5px) !important; 
        letter-spacing: -0.2px !important; 
        
        font-weight: 700 !important;
        white-space: nowrap !important;
        transition: all 0.3s ease !important;
        border: 1px solid transparent !important;
        display: flex;
        align-items: center;
        line-height: 1 !important;
    }

    .wd-header-nav .wd-nav > li:hover > a,
    .wd-header-nav .wd-nav > li.current-menu-item > a,
    .wd-header-nav .wd-nav > li.current-menu-ancestor > a {
        background-color: #05589c !important;
        color: #ffffff !important;
        box-shadow: 0 4px 12px rgba(5, 88, 156, 0.3) !important;
        transform: translateY(-2px);
    }

    .wd-header-nav .wd-nav > li:first-child > a {
        background-color: #05589c !important;
        color: #ffffff !important;
        transform: translateY(0) !important; 
        animation: pulse-sale-tab 2s infinite !important;
    }

    body .wd-header-nav .wd-dropdown-menu.wd-dropdown {
        background-color: #ffffff !important;
        border-radius: 16px !important;
        box-shadow: 0 10px 40px rgba(5, 88, 156, 0.1) !important;
        border: 1px solid #eef0f3 !important;
        padding: 10px !important;
        margin-top: 15px !important;
        min-width: 200px !important;
    }
    
    body .wd-header-nav .wd-dropdown-menu .container {
        padding: 0 !important;
        width: 100% !important;
        background: transparent !important;
    }

    body .wd-header-nav .wd-sub-menu li {
        margin-bottom: 4px !important;
    }

    body .wd-header-nav .wd-sub-menu li a {
        border-radius: 8px !important;
        padding: 10px 15px !important;
        color: #444 !important;
        font-weight: 700 !important;
        font-size: 14px !important;
        background: transparent !important;
        border: none !important;
        transition: all 0.3s ease !important;
        display: block;
        text-align: right !important;
    }

    body .wd-header-nav .wd-sub-menu li a:hover {
        background-color: rgba(5, 88, 156, 0.08) !important;
        color: #05589c !important;
        padding-right: 25px !important;
    }
}

   

@media (max-width: 1024px) {
    .wd-nav-mobile { padding: 15px !important; }

    .wd-nav-mobile > li {
        border-bottom: none !important;
        margin-bottom: 12px !important;
        position: relative !important; 
        display: block !important;
    }

    .wd-nav-mobile > li > a {
        background-color: #f4f6f8 !important;
        border-radius: 12px !important;
        padding: 14px 15px 14px 55px !important;
        color: #05589c !important;
        font-weight: 700 !important;
        font-size: 15px !important;
        border: 1px solid #eef0f3 !important;
        display: block !important;
        transition: all 0.3s ease !important;
    }

    .wd-nav-mobile > li:hover > a,
    .wd-nav-mobile > li.current-menu-item > a,
    .wd-nav-mobile > li.wd-opened > a {
        background-color: #05589c !important;
        color: #ffffff !important;
        border-color: #05589c !important;
    }

    .wd-nav-mobile > li.menu-item-has-children > .wd-nav-opener {
        position: absolute !important;
        top: 7px !important;
        left: 7px !important;
        width: 36px !important;
        height: 36px !important;
        background-color: #ffffff !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
        color: #05589c !important;
        border: none !important;
        z-index: 10 !important;
    }

    .wd-nav-mobile > li.wd-opened > .wd-nav-opener {
        background-color: #05589c !important;
        color: #ffffff !important;
    }

    .wd-nav-mobile .wd-sub-menu {
        background: #ffffff !important;
        border-radius: 12px !important;
        padding: 10px !important;
        margin-top: 8px !important;
        border: 1px solid #eef0f3 !important;
        box-shadow: 0 4px 10px rgba(0,0,0,0.03) !important;
    }

    .wd-nav-mobile .wd-sub-menu li { margin-bottom: 4px !important; border: none !important; }

    .wd-nav-mobile .wd-sub-menu li a {
        background-color: transparent !important;
        border: none !important;
        border-right: 3px solid #eef0f3 !important;
        border-radius: 8px !important;
        padding: 10px 15px !important;
        color: #555 !important;
        font-weight: 700 !important;
        font-size: 14px !important;
    }

    .wd-nav-mobile .wd-sub-menu li a:hover,
    .wd-nav-mobile .wd-sub-menu li.current-menu-item > a {
        background-color: rgba(5, 88, 156, 0.05) !important;
        color: #05589c !important;
        border-right-color: #05589c !important;
    }
    
    .wd-nav-mobile > li:first-child > a {
        background-color: #05589c !important;
        color: #ffffff !important;
        border-color: #05589c !important;
        animation: pulse-sale-tab 2s infinite !important;
    }
    
    .wd-nav-mobile > li:first-child > .wd-nav-opener {
        background-color: #ffffff !important;
        color: #05589c !important;
        border: 1px solid #eef0f3 !important;
    }
}

@keyframes pulse-sale-tab {
    0% { box-shadow: 0 0 0 0 rgba(5, 88, 156, 0.7); }
    70% { box-shadow: 0 0 0 12px rgba(5, 88, 156, 0); }
    100% { box-shadow: 0 0 0 0 rgba(5, 88, 156, 0); }
}

.wd-buttons.wd-pos-r-t {
    padding: 10px 0 0px !important;
}

#woodmart-scroll-progress {
    position: fixed !important;
    left: 0 !important;
    width: 0%;
    height: 3px;
    background-color: #05589c;
    z-index: 999999 !important;
    transition: width 0.1s ease-out;
    pointer-events: none;
    
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    
    box-shadow: 
        0 0 5px rgba(5, 88, 156, 0.4), 
        0 0 10px rgba(5, 88, 156, 0.3),
        0 0 15px rgba(5, 88, 156, 0.2);
}

@media (min-width: 1025px) {
    #woodmart-scroll-progress { margin-top: -15px; }
}

@media (max-width: 1024px) {
    #woodmart-scroll-progress { margin-top: -2px !important; height: 3px; }
}



/* ======================================================== */
/* توحيد أطوال كروت المنتجات ومحاذاة صناديق السعر بالأسفل */
/* ======================================================== */

/* 1. جعل الكارت بالكامل مرن ويمتد لآخر الارتفاع المتاح */
.product-grid-item .product-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* 2. جعل الجزء السفلي (العنوان + بوكسات سلة) مرن ويملأ أي فراغ */
.product-grid-item .product-element-bottom {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    width: 100%;
}

/* 3. توحيد ارتفاع العنوان (سطرين دايماً) مع إضافة النقط لو النص أطول */
.product-grid-item .product-title,
.product-grid-item .wd-entities-title {
    min-height: 44px; /* مساحة لسطرين بالظبط */
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.4 !important;
    margin-bottom: 12px !important;
}

/* 4. السحر هنا: زق صندوق السعر والتقسيط لآخر الكارت من تحت دايماً */
.salla-card-wrapper {
    margin-top: auto !important; 
}




a.button.product_type_simple.add_to_cart_button.add-to-cart-loop {
    padding: 0 !important;
}


/* ======================================================== */
/* 11. تصميم مميز لبيانات المنتج (رمز المنتج، التصنيفات، الوسوم) */
/* ======================================================== */

.single-product .product_meta {
    background: #f8fafd;
    border: 1px solid #e1e8f0;
    border-radius: 12px;
    padding: 18px 20px;
    margin: 25px 0;
    display: flex;
    flex-direction: column;
    align-items: stretch !important; /* لضمان إن البوكس ياخد العرض كامل */
    text-align: right;
    gap: 12px;
    font-size: 14px;
    direction: rtl;
}

.single-product .product_meta > span {
    display: flex;
    flex-wrap: wrap;
    align-items: center; /* محاذاة عمودية للنص مع الزراير */
    justify-content: flex-start !important; /* إجبار العناصر تبدأ من اليمين */
    width: 100%; /* عشان الخط السفلي يمتد للآخر */
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid #edf1f6;
}

/* إزالة الخط السفلي من آخر عنصر */
.single-product .product_meta > span:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.single-product .product_meta .meta-label {
    font-weight: 800;
    color: var(--store-blue, #05589c);
    min-width: 80px; 
}

/* تمييز رمز المنتج (SKU) */
.single-product .product_meta .sku {
    font-weight: 700;
    color: #111;
    background: #fff;
    padding: 4px 12px;
    border-radius: 6px;
    border: 1px dashed #ccc;
    font-family: monospace;
    font-size: 15px;
}

/* تصميم التصنيفات والوسوم (نظام Pills) */
.single-product .product_meta a {
    background: #fff;
    color: #555;
    font-weight: 600;
    font-size: 13px;
    padding: 5px 14px;
    border-radius: 50px; 
    border: 1px solid #e1e8f0;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.single-product .product_meta a:hover {
    background: var(--store-blue, #05589c);
    color: #fff;
    border-color: var(--store-blue, #05589c);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(5, 88, 156, 0.2);
}

/* إخفاء الفواصل النصية */
.single-product .product_meta .meta-sep {
    display: none !important;
}



/* ======================================================== */
/* تعديل حجم ولون الوصف في كروت الدفع (تابي وتمارا وباقي الكروت) */
/* ======================================================== */

.payment-card-v5 .pc-text .pc-desc-wrap {
    font-size: 12px !important; /* تكبير الخط الأساسي للوصف */
    color: #666;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px; /* مسافة بسيطة بين الكلام والسعر */
    margin-top: 2px;
}

/* تنسيق السعر نفسه جوه الكارت */
.payment-card-v5 .pc-text .installment-price {
    color: var(--store-blue, #05589c);
    font-size: 15px !important; /* السعر هيكون أكبر وبارز */
    font-weight: 800;
    white-space: nowrap; /* تمنع السعر إنه ينزل على سطرين */
}

/* إجبار علامة العملة والرقم إنهم يفضلوا بلوك واحد */
.payment-card-v5 .pc-text .installment-price .woocommerce-Price-amount {
    display: inline-block !important;
}


button.ccsb-arrow {
    padding: 20px 20px 15px;
}



ul.alassly-custom-menu {
    margin-top: 10px !important;
    border-radius: 10px;
}







/*  البحث*/



/* الحاوية الأساسية */
.pro-theme-search-wrapper {
    width: 100%;
    display: block;
    margin: 0;
    padding: 0;
}

/* نموذج البحث مع إضافة الأنيميشن الدائم */
.pro-theme-search-form {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    border-radius: 35px;
    /* الأنيميشن هنا: اسم الأنيميشن، المدة، النوع، التكرار */
    animation: proPulseGlow 2s infinite ease-in-out;
}

/* حقل الإدخال */
.pro-theme-search-input {
    width: 100% !important;
    height: 48px;
    padding: 0 20px 0 50px !important;
    border: 2px solid rgb(5,88,156) !important;
    border-radius: 80px !important;
    background-color: #ffffff !important;
    color: rgb(5,88,156) !important;
    font-size: 14px;
    transition: all 0.3s ease;
    outline: none !important;
    z-index: 2; /* لضمان بقائه فوق التوهج */
}

/* تأثير الفوكس (ثابت) */
.pro-theme-search-input:focus {
    border-color: rgb(5, 88, 156) !important;
    box-shadow: 0 0 10px rgba(5, 88, 156, 0.2) !important;
}

/* أيقونة البحث */
.pro-theme-search-btn {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent !important;
    border: none !important;
    color: #a3a3a3;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: color 0.3s ease;
}

.pro-theme-search-form:hover .pro-theme-search-btn,
.pro-theme-search-input:focus ~ .pro-theme-search-btn {
    color: rgb(5, 88, 156) !important;
}

/* تعريف الـ Pulse Animation */
@keyframes proPulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(5, 88, 156, 0.4);
    }
    70% {
        /* انتشار التوهج */
        box-shadow: 0 0 0 8px rgba(5, 88, 156, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(5, 88, 156, 0);
    }
}

/* لضمان توافق العرض في إلمنتور */
.elementor-widget-shortcode .pro-theme-search-wrapper {
    width: 100%;
}


.wd-header-html.wd-entry-content.whb-vtz00ct6y0vpvjr36zqq {
    width: 100%;
}


.wd-header-html.wd-entry-content.whb-1xdhloslpjbtyivipjz4 {
    width: 100%;
}



.wd-nav>li:is(.wd-has-children,.menu-item-has-children)>a:after {
    order: 3;
    margin-inline-start: 4px;
    font-weight: normal;
    font-style: normal;
    font-size: 10px !important;
    color: #05579b !important;
    content: "\f129";
    font-family: "woodmart-font";
}


.wd-nav>li:is(.wd-has-children,.menu-item-has-children)>a:hover:after {
    order: 3;
    margin-inline-start: 4px;
    font-weight: normal;
    font-style: normal;
    font-size: 10px !important;
    color: #fff !important;
    content: "\f129";
    font-family: "woodmart-font";
}@media (min-width: 1025px) {
	footer ul{
	text-align : center !important
}
footer h5{
		text-align : center !important
}



}

@media (min-width: 768px) and (max-width: 1024px) {
	footer ul{
	text-align : center !important
}
footer h5{
		text-align : center !important
}



}

@media (max-width: 576px) {
	.wd-toolbar-link .wd-custom-icon img {
    width: auto;
    height: 30px !important;
}


.wd-col-end.reset-last-child {
    display: flex;
    justify-content: center;
	align-items : center !important
}



}

