:root {
	--wd-text-font: "IBM Plex Sans Arabic", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 500;
	--wd-text-color: rgb(47,28,106);
	--wd-text-font-size: 16px;
	--wd-title-font: "IBM Plex Sans Arabic", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: rgb(47,28,106);
	--wd-entities-title-font: "IBM Plex Sans Arabic", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 600;
	--wd-entities-title-color: rgb(47,28,106);
	--wd-entities-title-color-hover: rgba(0, 0, 0, 0.87);
	--wd-alternative-font: "IBM Plex Sans Arabic", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "IBM Plex Sans Arabic", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 700;
	--wd-widget-title-transform: capitalize;
	--wd-widget-title-color: rgb(47,28,106);
	--wd-widget-title-font-size: 15px;
	--wd-header-el-font: "IBM Plex Sans Arabic", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: capitalize;
	--wd-header-el-font-size: 13px;
	--wd-brd-radius: 10px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(115,72,217);
	--wd-alternative-color: rgb(103,71,199);
	--btn-default-font-weight: 800;
	--btn-default-bgcolor: rgb(234,230,255);
	--btn-default-bgcolor-hover: rgb(230,230,250);
	--btn-default-color: rgb(115,72,217);
	--btn-default-color-hover: rgba(115,72,217,0.9);
	--btn-accented-font-weight: 700;
	--btn-accented-bgcolor: rgb(109,77,236);
	--btn-accented-bgcolor-hover: rgb(112,59,231);
	--wd-form-brd-width: 1px;
	--notices-success-bg: rgb(109,77,236);
	--notices-success-color: #fff;
	--notices-warning-bg: rgb(109,77,236);
	--notices-warning-color: rgb(255,255,255);
	--wd-link-color: rgb(103,71,199);
	--wd-link-color-hover: rgb(82,43,198);
	--wd-sticky-btn-height: 95px;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-image: none;
	background-repeat: inherit;
	background-size: cover;
	background-attachment: inherit;
	background-position: left top;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 760px;
}
: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-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
:is(.page, .search-no-results, .error404) :is(.wd-page-content, .whb-header) {
	background-color: rgb(246,246,246);
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) :is(.wd-page-content, .whb-header) {
	background-color: rgb(246,246,246);
	background-image: none;
}
.single-product :is(.wd-page-content, .whb-header) {
	background-color: rgb(246,246,246);
	background-image: none;
}
.woodmart-archive-blog :is(.wd-page-content, .whb-header) {
	background-color: rgb(246,246,246);
	background-image: none;
}
html .btn.wd-buy-now-btn {
	font-weight: 700;
	color: rgb(38,4,124);
	background: rgb(130,237,168);
}
html .btn.wd-buy-now-btn:hover {
	color: rgb(38,4,124);
	background: rgb(92,237,143);
}
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-brd-color-focus: rgb(130,36,227);
}
.wd .product-label.onsale {
	background-color: rgb(207,17,44);
	color: rgb(255,255,255);
}
.wd .product-label.new {
	background-color: rgb(130,237,168);
	color: rgb(38,4,124);
}
.wd .product-label.featured {
	background-color: rgb(207,17,44);
	color: rgb(255,255,255);
}
.wd .product-label.out-of-stock {
	background-color: rgb(255,58,58);
	color: rgb(255,255,255);
}
.wd .product-label.attribute-label:not(.label-with-img) {
	background-color: rgb(109,77,236);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}

@media (max-width: 1024px) {
	:root {
		--wd-sticky-btn-height: 95px;
	}
	[class*="thumbs-grid-bottom"] .woocommerce-product-gallery__wrapper.wd-grid {
		--wd-col: 1;
	}

}

@media (max-width: 768.98px) {
	:root {
		--wd-sticky-btn-height: 42px;
	}
	[class*="thumbs-grid-bottom"] .woocommerce-product-gallery__wrapper.wd-grid {
		--wd-col: 1;
	}

}
:root{
--wd-container-w: 1300px;
--wd-form-brd-radius: 5px;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-bottom-active: -1px;
--btn-default-brd-radius: 0px;
--btn-default-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15);
--btn-default-box-shadow-hover: inset 0 -2px 0 rgba(0, 0, 0, .15);
--btn-accented-bottom-active: -1px;
--btn-accented-brd-radius: 0px;
--btn-accented-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15);
--btn-accented-box-shadow-hover: inset 0 -2px 0 rgba(0, 0, 0, .15);
}

@media (min-width: 1300px) {
[data-vc-full-width]:not([data-vc-stretch-content]),
:is(.vc_section, .vc_row).wd-section-stretch {
padding-left: calc((100vw - 1300px - var(--wd-sticky-nav-w) - var(--wd-scroll-w)) / 2);
padding-right: calc((100vw - 1300px - var(--wd-sticky-nav-w) - var(--wd-scroll-w)) / 2);
}
}


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

/* ================================================= */
/* 1. المتغيرات والأساسيات (Global Variables)        */
/* ================================================= */
:root {
  --ab-primary: #7348D9; /* لون البراند الموف */
  --ab-ring: rgba(115, 72, 217, .06);
  --ab-ring-hover: rgba(115, 72, 217, .10);
  --ab-emerald: #2E7D32; /* لون أخضر للمنتجات الأصلية */
}

/* ================================================= */
/* 2. الهيدر والتأثير الزجاجي (Header & Layout)      */
/* ================================================= */
.whb-main-header {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid #e0e0e0 !important;
}

.whb-general-header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 90px !important;
    padding: 0 4% !important;
}

.whb-top-bar {
    background-color: #000 !important;
}

.whb-top-bar .whb-text-element {
    color: #fff !important;
    font-size: 12px !important;
    letter-spacing: 1.2px !important;
    text-align: center;
}

/* ================================================= */
/* 3. اللوجو النصي (ASHRY BEAUTY)                    */
/* ================================================= */
.ashry-text-logo a {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    direction: ltr !important;
    text-decoration: none !important;
}

.ashry-text-logo .logo-main {
    font-size: 26px !important;
    font-weight: 900;
    color: #8f70d8 !important;
    letter-spacing: 1px;
    font-family: 'Cairo', sans-serif;
}

.ashry-text-logo .logo-sub {
    font-size: 26px !important;
    font-weight: 300;
    color: #333;
    letter-spacing: 2px;
    font-family: 'Cairo', sans-serif;
}

/* ================================================= */
/* 4. بار البحث (تصميم سيفورا المطور)                */
/* ================================================= */
.wd-search-form .searchform {
    background: #f5f5f5 !important;
    border-radius: 50px !important;
    border: 1px solid transparent !important;
    height: 42px !important;
    max-width: 600px !important;
    transition: 0.3s ease !important;
    padding: 0 15px !important;
}

.wd-search-form .searchform:focus-within {
    background: #fff !important;
    border-color: #8f70d8 !important;
    box-shadow: 0 0 0 3px rgba(143, 112, 216, 0.1) !important;
}

.wd-search-form button.searchsubmit {
    color: #8f70d8 !important;
}

.wd-search-form input[type="text"] {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    font-family: 'Cairo', sans-serif !important;
    font-size: 14px !important;
}

/* ================================================= */
/* 5. الأيقونات والمنيو (Navigation & Icons)         */
/* ================================================= */
.wd-tools-element .wd-tools-icon::before {
    color: #8f70d8 !important;
    font-size: 22px !important;
}

.wd-cart-number {
    background-color: #8f70d8 !important;
    color: #fff !important;
    min-width: 18px !important;
    height: 18px !important;
}

.whb-header-bottom {
    background: #fff !important;
    border-top: 1px solid #f0f0f0 !important;
    min-height: auto !important;
}

.whb-header-bottom .wd-nav-main {
    justify-content: center !important;
    padding: 12px 0 !important;
}

.wd-nav-main .nav-link-text {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #333 !important;
}

.whb-header-bottom .wd-nav-main > li:hover > a .nav-link-text {
    color: #8f70d8 !important;
}

.whb-header-bottom .wd-nav-main > li > a::after {
    background: #8f70d8 !important;
    height: 2px !important;
}

/* ================================================= */
/* 6. البطاقات والأوسمة (Trust Cards & Badges)      */
/* ================================================= */
.ab-trust-card {
  background: linear-gradient(#faf9ff, #faf9ff) padding-box,
              linear-gradient(180deg, rgba(115, 72, 217, .10), rgba(115, 72, 217, .04)) border-box;
  border: 0.5px solid transparent;
  box-shadow: 0 0 0 0.5px var(--ab-ring), 0 8px 18px rgba(115, 72, 217, .05);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.ab-trust-card:hover {
  transform: translateY(-0.5px);
  box-shadow: 0 0 0 1.5px var(--ab-ring-hover), 0 12px 22px rgba(115, 72, 217, .08);
}

.ashry-original-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    width: auto !important;
    display: inline-block;
    z-index: 999;
    background: linear-gradient(to right, #2E7D32, #43A047);
    color: #fff;
    padding: 6px 15px;
    border-radius: 10px;
    font-family: 'Cairo', sans-serif;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(46, 125, 50, .3);
    pointer-events: none;
    line-height: 1;
}

/* ================================================= */
/* 7. تحسينات الموبايل (Mobile Optimization)         */
/* ================================================= */
@media (max-width: 1024px) {
    /* منيو كاروسيل أفقية */
    .whb-header-bottom .wd-nav-main {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scrollbar-width: none;
        padding: 10px 5px !important;
    }
    .whb-header-bottom .wd-nav-main::-webkit-scrollbar { display: none; }
    .whb-header-bottom .wd-nav-main > li { flex: 0 0 auto !important; margin-left: 15px !important; }
}

@media (max-width: 768px) {
    .ashry-text-logo .logo-main, .ashry-text-logo .logo-sub { font-size: 18px !important; }
    .whb-general-header-inner { height: 60px !important; }
    .ashry-original-badge { font-size: 11px; padding: 5px 10px; top: 10px; right: 10px; }
}

/* ================================================= */
/* 8. إخفاء العناصر الزائدة (Cleanup)               */
/* ================================================= */
.wd-skip-content, .wd-skip-navigation, 
.wd-sticky-nav.wd-hide-md,
.wd-sticky-btn .ashry-routine-wrapper,
.woodmart-sticky-add-to-cart .ashry-routine-wrapper {
    display: none !important;
}
/* 3. رفع السلايدر بقيمة سالبة ليلتحم بالهيدر غصب عنه */
.main-page-wrapper { margin-top: -20px !important; }
.wd-slider-wrapper { margin-top: 0 !important; }
@media (max-width: 1024px) {
    .whb-column.whb-col-mobile nav.wd-header-secondary-nav > ul {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        /* السطرين دول هما الحل */
        scroll-snap-type: none !important; /* بيمنع القائمة إنها "تلقط" أو ترجع لمكان معين */
        overscroll-behavior-x: contain !important; /* بيمنع المتصفح إنه يرجع لورا لما توصل لآخر القائمة */
        
        -webkit-overflow-scrolling: touch !important;
        padding: 10px 15px !important;
        scrollbar-width: none !important;
    }

    /* تأكيد عدم انكماش العناصر */
    .whb-column.whb-col-mobile nav.wd-header-secondary-nav > ul > li {
        flex-shrink: 0 !important; /* بيجبر العنصر يحافظ على مساحته وميصغرش */
        margin-inline-end: 15px !important;
    }
}
/* إخفاء زرار شراء الآن */
.wd-buy-now-btn, 
.single_add_to_cart_button.buy-now {
    display: none !important;
}

/* جعل زرار إضافة للسلة يأخذ العرض الكامل وشكله أوضح */
.single_add_to_cart_button:not(.buy-now) {
    flex-grow: 1 !important;
    width: 100% !important;
    font-size: 18px !important; /* تكبير الخط */
    font-weight: 700 !important;
    border-radius: 8px !important; /* زوايا منحنية متناسقة */
    padding: 15px !important; /* زيادة مساحة الضغط */
    justify-content: center !important;
}

/* تنسيق منطقة الأزرار لضمان التناسق مع عداد الكمية (تم تقييده لصفحة المنتج فقط) */
.single-product form.cart {
    display: flex !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
}
@media (max-width: 768px) {
    .checkout-button.button.alt.wc-forward {
        position: fixed;
        bottom: 20px; /* سيبنا مسافة بسيطة من تحت عشان يبان إنه "عايم" ومدور */
        left: 5%;
        width: 90%; /* مش واخد العرض كله عشان يبان التصميم أشيك */
        margin: 0 auto;
        z-index: 9999;
        border-radius: 30px; /* عشان يكون مدور */
        padding: 18px 20px; /* كبرنا حجم الزرار */
        font-size: 18px; /* كبرنا الخط */
        text-align: center;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2); /* ضل خفيف عشان يبرز */
        display: block;
    }
}



/* ═══ Ashry Beauty — WhatsApp Reviews ═══ */
.ash-wa-reviews{font-family:'IBM Plex Sans Arabic',Arial,sans-serif;direction:rtl;padding:32px 16px;background:linear-gradient(180deg,#f6f4fb 0%,#fff 100%);border-radius:20px;margin:32px 0;position:relative;overflow:hidden}
.ash-wa-head{text-align:center;margin-bottom:24px}
.ash-wa-title{font-size:26px;font-weight:800;color:#2f1c6a;margin:0 0 6px;line-height:1.3}
.ash-wa-subtitle{font-size:14px;color:#6b5a94;margin:0 0 12px}
.ash-wa-rating{display:inline-flex;align-items:center;gap:8px;background:#fff;padding:6px 14px;border-radius:100px;border:1px solid #ede4fb;font-size:13px}
.ash-wa-stars{color:#ffb800;letter-spacing:2px;font-size:15px}
.ash-wa-count{color:#4a3579;font-weight:600}
.ash-wa-track{display:flex;gap:16px;overflow-x:auto;padding:8px 4px 20px;scroll-snap-type:x mandatory;scrollbar-width:none;-ms-overflow-style:none;max-width:1200px;margin:0 auto}
.ash-wa-track::-webkit-scrollbar{display:none}
.ash-wa-card{position:relative;flex:0 0 240px;scroll-snap-align:start;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 4px 20px rgba(47,28,106,.08);border:1px solid #ede4fb;transition:.25s}
.ash-wa-card:hover{transform:translateY(-3px);box-shadow:0 8px 28px rgba(47,28,106,.12)}
.ash-wa-badge{position:absolute;top:10px;right:10px;width:32px;height:32px;background:#25d366;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 10px rgba(37,211,102,.4);z-index:2}
.ash-wa-imglink{display:block;line-height:0}
.ash-wa-imglink img{width:100%;height:auto;aspect-ratio:9/16;object-fit:cover;display:block;background:#f4f0fc}
@media(max-width:767px){.ash-wa-reviews{padding:24px 12px;margin:24px 0;border-radius:16px}.ash-wa-title{font-size:20px}.ash-wa-subtitle{font-size:13px}.ash-wa-card{flex:0 0 200px}}
/* ═══ end ═══ */
/* ═══ Ashry Beauty — Brand Hero V3 Editorial ═══ */
.ash-brand-hero-v3{background:linear-gradient(180deg,#faf7ff 0%,#fff 100%);border:1px solid #ede4fb;border-radius:24px;padding:56px 32px 48px;margin:0 0 32px;text-align:center;font-family:'IBM Plex Sans Arabic',Arial,sans-serif;direction:rtl;position:relative;overflow:hidden}
.ash-brand-hero-v3::before{content:'';position:absolute;top:0;right:50%;transform:translateX(50%);width:80px;height:4px;background:linear-gradient(90deg,#7348d9,#ffd76e);border-radius:0 0 4px 4px}
.ash-brand-hero-v3 .ash-bh-eyebrow{display:inline-flex;align-items:center;gap:14px;font-size:12px;font-weight:700;letter-spacing:4px;color:#7348d9;margin-bottom:22px}
.ash-brand-hero-v3 .ash-bh-eyebrow::before,.ash-brand-hero-v3 .ash-bh-eyebrow::after{content:'';width:26px;height:1px;background:#c9b8ee}
.ash-brand-hero-v3 .ash-bh-title{font-size:52px;font-weight:800;color:#2f1c6a;letter-spacing:-.03em;margin:0 0 8px;line-height:1.05;font-family:'IBM Plex Sans Arabic','Cairo',serif}
.ash-brand-hero-v3 .ash-bh-divider{width:56px;height:3px;background:#7348d9;margin:14px auto 20px;border-radius:100px}
.ash-brand-hero-v3 .ash-bh-desc{font-size:16px;line-height:1.8;color:#6b5a94;margin:0 auto 26px;max-width:560px}
.ash-brand-hero-v3 .ash-bh-desc strong{color:#2f1c6a;font-weight:700}
.ash-brand-hero-v3 .ash-bh-chips{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;max-width:600px;margin:0 auto}
.ash-brand-hero-v3 .ash-bh-chip{display:inline-flex;align-items:center;gap:6px;background:#fff;color:#4a3579;padding:9px 14px;border-radius:100px;font-size:13px;font-weight:600;border:1px solid #ede4fb;box-shadow:0 2px 8px rgba(47,28,106,.04);transition:.2s}
.ash-brand-hero-v3 .ash-bh-chip:hover{border-color:#7348d9;transform:translateY(-2px)}
.ash-brand-hero-v3 .ash-bh-chip svg{color:#7348d9;flex-shrink:0}
.ash-brand-hero-v3 .ash-bh-chip-highlight{background:#7348d9;color:#fff;border-color:#7348d9}
.ash-brand-hero-v3 .ash-bh-chip-highlight:hover{background:#5a34b8;border-color:#5a34b8}
@media(max-width:767px){
.ash-brand-hero-v3{padding:40px 18px 32px;border-radius:18px;margin-bottom:20px}
.ash-brand-hero-v3::before{width:60px;height:3px}
.ash-brand-hero-v3 .ash-bh-eyebrow{font-size:10px;letter-spacing:3px;margin-bottom:16px;gap:10px}
.ash-brand-hero-v3 .ash-bh-eyebrow::before,.ash-brand-hero-v3 .ash-bh-eyebrow::after{width:18px}
.ash-brand-hero-v3 .ash-bh-title{font-size:34px;letter-spacing:-.02em}
.ash-brand-hero-v3 .ash-bh-divider{width:44px;height:2px;margin:10px auto 16px}
.ash-brand-hero-v3 .ash-bh-desc{font-size:13px;line-height:1.75;margin-bottom:20px}
.ash-brand-hero-v3 .ash-bh-chips{gap:6px}
.ash-brand-hero-v3 .ash-bh-chip{font-size:11px;padding:7px 11px}
.ash-brand-hero-v3 .ash-bh-chip svg{width:12px;height:12px}
}
/* ═══ end ═══ */
/* ═══ Ashry Beauty — Checkout Coupon Downplay ═══ */
.ashry-checkout-coupon{margin-top:20px !important;background:transparent !important;border:0 !important;padding:0 !important}
.ashry-coupon-toggle{background:transparent !important;border:0 !important;box-shadow:none !important;color:#999 !important;font-size:12px !important;font-weight:400 !important;padding:6px 10px !important;height:auto !important;line-height:1.4 !important;width:auto !important;display:inline-flex !important;align-items:center !important;gap:6px !important;margin:0 !important;text-decoration:none !important;opacity:.75}
.ashry-coupon-toggle:hover{opacity:1;color:#7348d9 !important;text-decoration:underline !important}
.ashry-coupon-toggle .ashry-coupon-ico{width:14px !important;height:14px !important}
.ashry-coupon-toggle .ashry-coupon-ico svg{width:14px !important;height:14px !important;opacity:.7}
.ashry-coupon-toggle::after,.ashry-coupon-toggle::before{display:none !important}
.ashry-coupon-toggle > *:not(.ashry-coupon-ico){font-size:12px !important}
#ashry_coupon_body{margin-top:8px}
@media(max-width:767px){.ashry-coupon-toggle{font-size:11px !important;padding:4px 8px !important}}
/* ═══ end ═══ */