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

:root {
	--wd-text-font: "DIN Next LT Arabic", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(0,0,0);
	--wd-text-font-size: 16px;
	--wd-title-font: "DIN Next LT Arabic", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: rgb(0,0,0);
	--wd-entities-title-font: "DIN Next LT Arabic", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: rgb(0,0,0);
	--wd-entities-title-color-hover: rgb(0, 0, 0);
	--wd-alternative-font: "DIN Next LT Arabic", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "DIN Next LT Arabic", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: rgb(0,0,0);
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "DIN Next LT Arabic", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 16px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(54,12,62);
	--wd-alternative-color: rgb(54,12,62);
	--btn-default-bgcolor: rgb(54,12,62);
	--btn-default-bgcolor-hover: rgb(54,12,62);
	--btn-accented-bgcolor: rgb(3,54,137);
	--btn-accented-bgcolor-hover: rgb(3,54,137);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--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: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: rgb(242,244,247);
	background-image: none;
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1600px;
--wd-form-brd-radius: 0px;
--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;
--wd-brd-radius: 12px;
}

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


.wd-page-title {
background-color: rgb(0,0,0);
}

@font-face {
	font-family: "DIN Next LT Arabic";
	src: url("//high-endsolutions.com/wp-content/uploads/2025/09/ArbFONTS-DINNextLTArabic-Medium-4.ttf") format("woff");
	font-weight: 400;
	font-style: normal;
}

.select2-selection__rendered { 
    color: #360c3e;
    font-weight: 900;
}

.col-left.set-cont-mb-s.reset-last-child {
    line-height: 26px;
}

.replace{
	padding : 10px 15px 12px !important
}

label.woocommerce-form__label.woocommerce-form__label-for-checkbox.checkbox {
    display: inline-block;
}


span.wd-tools-text {
    margin-bottom: 8px;
}

li.wd-nav-pagin-item.wd-active span{
	
background-color : rgb(54,12,62) !important;
border-color : rgb(54,12,62) !important;
}

li.wd-nav-pagin-item span{
width : 50px !important;
	height : 3px !important
background-color : #fff !important;
border-color : rgb(54,12,62) !important;
}

.wd-slider-pagin {
    position: absolute;
    inset-inline: 15px;
    bottom: -30px !important;
    z-index: 2;
}

.wd-sticky-btn-cart .tabbyPromo {
    display: none !important;
}

p#billing_country_field {
    display: none;
}


.onsale.product-label {
    direction: rtl !important;
    unicode-bidi: isolate;
}
.product-labels {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    transition: all .3s ease;
    width: 100% ;
}
/* تظبيط شكل ليبل الخصم وإضافة الكلمة */
.onsale.product-label {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    direction: rtl !important; 
    gap: 4px; 
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 25px; 
}

/* إضافة كلمة خصم قبل الرقم */
.onsale.product-label::before {
    content: "خصم";
}

/* ======================================================== */
/* 1. إعدادات عامة (Global Settings) */
/* ======================================================== */
:root {
    --store-blue: #360c3e; /* تم التغيير للون الهوية الجديد */
    --sale-red: rgb(201, 28, 46);
}

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;
}

/* ======================================================== */
/* 2. تنسيق الفوتر (Footer) */
/* ======================================================== */

/* ======================================================== */
/* 3. أزرار إضافة للسلة في صفحة المتجر (Archive Buttons) */
/* ======================================================== */
a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart.add-to-cart-loop {
    margin-top: 5px;
    width: 100%;
    /* تدريج لوني يتماشى مع لون الهوية الجديد */
    background-image: linear-gradient(to right, #360c3e 50%, #8e2c9e 100%);
    padding: 1px 0 3px ;
}

.wd-add-btn.wd-add-btn-replace {
    width: 100%;
}

.wd-buttons a.button.add_to_cart_button,
.wd-product-action a.button.add_to_cart_button {
    background-image: none !important;
    background-color: transparent !important;
    margin-top: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !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: var(--store-blue) !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 .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: #d4af37 !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(212, 175, 55, 0.3);
}

.single-product .custom-product-image-badges .custom-circle-sale {
    width: 65px !important;
    height: 65px !important;
    font-size: 14px !important;
}

/* ضبط المسافات على الموبايل */
@media (max-width: 768px) {
    .custom-product-image-badges .custom-circle-sale { top: 10px; right: 10px; }
}


/* ======================================================== */
/* 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: #4a1154; font-size: 15px !important; font-weight: 700 !important; }

.salla-price-box .salla-discount-badge {
    background-color: #d4af37; 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, #360c3e) !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: #d4af37; font-weight: 600; font-size: 15px !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; }

/* 📱 تظبيط كارت الموبايل (الصفين فقط بدون زحمة) 📱 */
@media (max-width: 768px) {
    /* 1. إخفاء البادج، الضريبة، وصندوق التقسيط في الموبايل */
    .salla-price-box .salla-discount-badge,
    .salla-price-box .salla-tax-note,
    .salla-installments-box {
        display: none !important;
    }

    /* تصغير اسم المنتج عشان يدي مساحة للأسعار */
    .product-grid-item .wd-entities-title { font-size: 13px !important; line-height: 1.4 !important; margin-bottom: 5px !important; }
    .salla-card-wrapper { gap: 5px; margin-top: 6px; }
    .salla-box { padding: 8px 10px !important; border-radius: 8px; }

    /* 2. إجبار الصندوق إنه يقسم العناصر لصفين فقط */
    .salla-price-box {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important; /* يرمي كلمة يمين وسعر يسار */
    }

    /* الصف الأول: كلمة (سعر المنتج) */
    .salla-box-header { width: auto; margin: 0 !important; }
    .salla-price-box .salla-label { font-size: 13px !important; color: #666 !important; font-weight: 600 !important; }

    /* الصف الأول: (السعر نفسه) */
    .salla-main-price-wrap { width: auto; flex-direction: row !important; margin: 0 !important; }
    .salla-price-box .salla-main-price { font-size: 17px !important; line-height: 1; }
    .salla-price-box .salla-main-price .woocommerce-Price-currencySymbol { font-size: 11px !important; }

    /* 3. الصف الثاني: جملة التوفير والسعر القديم */
    .salla-price-box .salla-old-price-wrap {
        width: 100%;
        justify-content: space-between;
        margin-top: 6px !important;
        padding-top: 6px !important;
        border-top: 1px dashed #dcdcdc; /* خط خفيف يفصل بين السعر الأساسي والتوفير */
    }
    
    .salla-price-box .salla-old-price-wrap del { font-size: 13px !important; color: #999 !important; }
    .salla-price-box .salla-save-note { font-size: 12px !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, #360c3e) !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, #360c3e) !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, #360c3e) !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, #360c3e); }

@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, #360c3e) !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(54, 12, 62, 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, #360c3e) !important; }
.wd-sidebar .ui-slider-handle { width: 20px !important; height: 20px !important; background-color: #fff !important; border: 3px solid var(--store-blue, #360c3e) !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, #360c3e) !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, #360c3e); font-weight: 800; }
.wd-sidebar .wd-heading { padding: 15px 20px; background: transparent; }
.wd-sidebar .close-side-widget a { background: #fff5f5; color: var(--sale-red, rgb(201, 28, 46)); 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, rgb(201, 28, 46)); 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, #360c3e) !important; background-color: #e2e8f0 !important; }
.woocommerce-tabs .wd-nav-tabs > li.active > a { background-color: #ffffff !important; color: var(--store-blue, #360c3e) !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, #360c3e) !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-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-circle-sale { position: absolute !important; top: 15px !important; right: 15px !important; }
@media (max-width: 768px) {
    .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; }

/* ======================================================== */
/* تصميم القائمة العلوية (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;
}

/* ======================================================== */
/* 1. تصميم الديسكتوب (إصلاح الدروب داون بالقوة) */
/* ======================================================== */
@media (min-width: 1025px) {
    .wd-header-nav { padding: 10px 0; }
    
    .wd-header-nav .wd-nav {
        display: flex !important;
        flex-wrap: nowrap !important; 
        justify-content: center;
        gap: 15px !important;
    }

    .wd-header-nav .wd-nav > li { margin: 0 !important; }

   /* التابات الرئيسية */
    .wd-header-nav .wd-nav > li > a {
        background-color: rgba(255, 255, 255, 0.05) !important; /* خلفية شفافة بلمسة بيضاء خفيفة */
        color: #ffffff !important; /* لون النص أبيض عشان يظهر بوضوح */
        border-radius: 50px !important;
        padding: 8px 15px !important; 
        font-weight: 700 !important;
        font-size: 14px !important; 
        white-space: nowrap !important;
        transition: all 0.3s ease !important;
        border: 1px solid transparent !important;
        display: flex;
        align-items: center;
    }

    /* تأثير الهوفر والتاب النشط */
    .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: #d4af37 !important; /* اللون الذهبي الأنيق */
        color: #ffffff !important;
        box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3) !important;
        transform: translateY(-2px);
    }
    /* 🔴 إصلاح الدروب داون (تم زيادة قوة الكود لكسر إعدادات الثيم) 🔴 */
    body .wd-header-nav .wd-dropdown-menu.wd-dropdown {
        background-color: #ffffff !important;
        border-radius: 16px !important;
        box-shadow: 0 10px 40px rgba(54, 12, 62, 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;
        padding-left: 35px !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;
        position: relative !important; /* ضروري عشان نتحكم في مكان السهم بحرية */
    }

    /* حركة الهوفر جوه الدروب داون */
    body .wd-header-nav .wd-sub-menu li a:hover {
        background-color: rgba(212, 175, 55, 0.08) !important;
        color: #d4af37 !important;
        padding-right: 22px !important; /* زقة ناعمة لليسار */
    }

    /* إجبار السهم إنه يثبت في أقصى اليسار وما يلزقش في الكلمة أبداً */
    body .wd-header-nav .wd-sub-menu li.menu-item-has-children > a::after {
        position: absolute !important;
        left: 12px !important; /* تثبيت السهم على اليسار */
        right: auto !important;
        top: 50% !important;
        transform: translateY(-50%) !important; /* توسيط السهم بشكل مثالي */
        margin: 0 !important;
    }
}

/* ======================================================== */
/* 2. تصميم الموبايل (حل مشكلة خروج السهم برا التاب) */
/* ======================================================== */
@media (max-width: 1024px) {
    .wd-nav-mobile { padding: 15px !important; }

    /* 🔴 إجبار الـ LI إنه يحتوي السهم جواه 🔴 */
    .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; /* مساحة 55 بكسل يسار عشان السهم ميركبش ع الكلام */
        color: #360c3e !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: #360c3e !important;
        color: #ffffff !important;
        border-color: #360c3e !important;
    }

    /* 🔴 تظبيط مكان السهم (Opener) عشان يكون جوه الزرار بالضبط 🔴 */
    .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: #360c3e !important;
        border: none !important;
        z-index: 10 !important;
    }

    /* السهم لما القائمة تفتح */
    .wd-nav-mobile > li.wd-opened > .wd-nav-opener {
        background-color: #d4af37 !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(212, 175, 55, 0.05) !important;
        color: #d4af37 !important;
        border-right-color: #d4af37 !important; /* الخط بيقلب ذهبي */
    }
}

/* ======================================================== */
/* 📱 تصغير حجم البادجات (الخصم) في الموبايل 📱 */
/* ======================================================== */
@media (max-width: 768px) {
    /* 1. تصغير دائرة الخصم (الصفراء) */
    .product-grid-item .custom-circle-sale,
    .owl-item .custom-circle-sale,
    .swiper-slide .custom-circle-sale {
        width: 38px !important;
        height: 38px !important;
        font-size: 9px !important;
        top: 0px !important;
        right: 0px !important;
    }
}






button.swal2-styled {
    background: #360c3e !important;
    color: #fff !important;;
    border-radius: 10px !important;
}

footer h5 {
    color: #360c3e !important;
    font-size: 18px !important;
    font-weight: bold;
}

footer a {
    color: #360c3e !important;
    font-size: 16px;
    font-weight: 400 !important;
}

@media (min-width: 1025px) {
	footer ul{
	text-align : center !important
}

footer h5{
	text-align : center !important;
	margin-top : 20px
}
}

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

