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

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

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

:root {
	--wd-text-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 14px;
	--wd-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Poppins", 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: "Poppins", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(26,118,69);
	--wd-alternative-color: rgb(245,120,16);
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(26,118,69);
	--btn-accented-bgcolor-hover: rgba(26,118,69,0.68);
	--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-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: rgb(255,255,255);
	background-image: none;
}
.page :is(.wd-page-content, .whb-header) {
	background-color: rgb(247,247,247);
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) :is(.wd-page-content, .whb-header) {
	background-color: rgb(247,247,247);
	background-image: none;
}
.single-product :is(.wd-page-content, .whb-header) {
	background-color: rgb(247,247,247);
	background-image: none;
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
.woocommerce-product-gallery {
	--wd-gallery-gap: 0px;
}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 5px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 5px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 5px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 8px;
}

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


.wd-page-title {
background-color: #0a0a0a;
}

@media (min-width: 1025px) {
    /* تطبيق الخط العريض على الهيدر في كل صفحات الموقع */
    html[lang="ar"] .whb-main-header .wd-nav-main > li > a > .nav-link-text,
    html[lang="ar"] .whb-main-header .menu-open-label,
    html[lang="ar"] .whb-main-header .polylang_langswitcher a,
    html[lang="ar"] .wd-nav-main li a {
        font-family: 'tajwal', sans-serif !important;
        font-weight: 800 !important;
    }

    /* استثناء خانة البحث لتظل بالخط العادي */
    html[lang="ar"] .wd-search-form input, 
    html[lang="ar"] .wd-search-form input::placeholder {
        font-weight: 400 !important;
        font-family: 'tajwal', sans-serif !important;
    }
}
/* حذف البحث من تصنيف محدد فقط */
.term-123 .searchform, 
.term-123 .woocommerce-info, 
.term-123 .no-products-footer {
    display: none !important;
}
/* 1. توحيد الحاوية وضبط المسافات الفاصلة (Gap) */
.variations_form .woocommerce-variation-add-to-cart, 
form.cart:not(.variations_form) {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    /* المسافة الثابتة بين كل عنصر والتاني */
    gap: 10px !important; 
    width: 100% !important;
    align-items: center !important;
    /* توزيع العناصر لتغطية كامل عرض الحاوية */
    justify-content: space-between !important; 
    margin-top: 15px !important;
}

/* 2. توحيد الارتفاع والمساحات لجميع العناصر */
.quantity, 
.wd-buy-now-btn, 
.single_add_to_cart_button, 
.custom-download-button {
    height: 46px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* 3. تثبيت عرض مربع الكمية (عشان مياكلش مساحة الأزرار) */
.quantity {
    flex: 0 0 70px !important;
    min-width: 70px !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: center !important;
}

/* 4. جعل الأزرار الثلاثة متساوية تماماً في الحجم والمسافات */
.wd-buy-now-btn, 
.single_add_to_cart_button, 
.custom-download-button {
    /* السر هنا: 1 1 0% تجبرهم يقسموا باقي الـ 100% بالتساوي */
    flex: 1 1 0% !important; 
    min-width: 0 !important;
    
    padding: 0 5px !important;
    font-size: 10px !important; 
    font-weight: 700 !important;
    text-align: center !important;
    white-space: nowrap !important;
    text-transform: uppercase !important;
    
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 5px !important;
    background-color: #1a7645 !important;
    color: white !important;
    border: none !important;
    transition: background 0.3s ease !important;
}

/* 5. تحسين منطقة المقاسات */
.variations_form {
    display: flex !important;
    flex-direction: column !important;
    margin-bottom: 25px !important;
}

/* 6. الموبايل: قلب الرصة لعمودية عشان المساحة متضربش */
@media (max-width: 768px) {
    .variations_form .woocommerce-variation-add-to-cart, 
    form.cart:not(.variations_form) {
        flex-wrap: wrap !important;
        gap: 8px !important;
    }
    .quantity, 
    .wd-buy-now-btn, 
    .single_add_to_cart_button, 
    .custom-download-button {
        flex: 0 0 100% !important;
        width: 100% !important;
    }
}
/* إخفاء النص القديم */
.wd-sizeguide-icon > a {
    font-size: 0 !important;
}

/* إضافة النص الجديد */
.wd-sizeguide-icon > a:before {
    content: " ▤ selection guide"; 
    font-size: 14px !important;
    display: inline-block;
}