:root {
	--wd-hb-opt-h: 30px;
	--wd-cat-brd-radius: 50%;
	--wd-text-font: "IBM Plex Sans Arabic", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 15px;
	--wd-title-font: "IBM Plex Sans Arabic", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 700;
	--wd-title-color: #242424;
	--wd-entities-title-font: "IBM Plex Sans Arabic", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 700;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--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: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "IBM Plex Sans Arabic", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 600;
	--wd-header-el-transform: capitalize;
	--wd-header-el-font-size: 14px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(152,34,76);
	--wd-alternative-color: rgba(153,21,67,0.82);
	--btn-default-transform: none;
	--btn-default-bgcolor: rgb(152,34,76);
	--btn-default-bgcolor-hover: rgb(124,0,56);
	--btn-default-color: rgb(255,255,255);
	--btn-default-color-hover: rgb(255,255,255);
	--btn-accented-font-weight: 700;
	--btn-accented-transform: none;
	--btn-accented-bgcolor: rgb(152,34,76);
	--btn-accented-bgcolor-hover: rgb(124,0,56);
	--btn-accented-color: rgb(255,255,255);
	--btn-accented-color-hover: rgb(255,255,255);
	--btn-transform: none;
	--btn-color: rgb(63,58,55);
	--btn-color-hover: rgb(63,58,55);
	--wd-form-brd-width: 1px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: rgb(198,94,73);
	--notices-warning-color: #fff;
	--wd-link-color: 3f3a37;
	--wd-link-color-hover: #242424;
	--wd-sticky-btn-height: 95px;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: rgb(249,175,38);
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 480px;
	--wd-popup-padding: 0px;
}
.wd-hb {
	background-color: rgb(0,0,0);
	background-image: none;
}
: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 top;
}
.wd-footer {
	background-color: rgb(152,34,76);
	background-image: none;
}
html .wd-nav-mobile > li > a {
	text-transform: capitalize;
}
.whb-top-bar .wd-nav.wd-nav-secondary > li > a {
	font-family: "Work Sans", Arial, Helvetica, sans-serif;
	font-weight: 400;
	font-size: 13px;
}
 {
	font-family: "Urbanist", Arial, Helvetica, sans-serif;
	font-weight: 800;
}
html .post.wd-post:not(.blog-design-small) .wd-entities-title {
	font-size: 18px;
}
html .wd-product .price {
	font-weight: 700;
	font-size: 19px;
	color: rgb(152,34,76);
}
html .wd-product .price:hover {
	color: rgb(152,34,76);
}
html .product.wd-product del {
	font-weight: 600;
	font-size: 12px;
	color: rgb(63,58,55);
}
html .product.wd-product del:hover {
	color: rgb(63,58,55);
}
html .product-quick-view .summary-inner > .price {
	color: rgb(152,34,76);
}
html .product-quick-view .summary-inner > .price:hover {
	color: rgb(152,34,76);
}
:is(.page, .search-no-results, .error404) :is(.wd-page-content, .whb-header) {
	background-color: rgb(249,247,242);
	background-image: none;
	background-repeat: repeat;
}
.woodmart-archive-shop:not(.single-product) :is(.wd-page-content, .whb-header) {
	background-color: rgb(249,247,242);
	background-image: none;
	background-repeat: repeat;
}
.single-product :is(.wd-page-content, .whb-header) {
	background-color: rgb(249,247,242);
	background-image: none;
	background-repeat: repeat;
}
.woodmart-archive-blog :is(.wd-page-content, .whb-header) {
	background-image: url(https://villame.co/wp-content/uploads/2023/04/wd-furniture-background.jpg);
	background-repeat: repeat;
}
.single-post :is(.wd-page-content, .whb-header) {
	background-image: url(https://villame.co/wp-content/uploads/2023/04/wd-furniture-background.jpg);
	background-repeat: repeat;
}
html .btn.wd-buy-now-btn {
	color: rgb(63,58,55);
	background: rgb(226,145,120);
}
html .btn.wd-buy-now-btn:hover {
	color: rgb(63,58,55);
	background: rgb(226,150,127);
}
html .entry-summary .single_add_to_cart_button, .wd-single-add-cart .single_add_to_cart_button {
	color: rgb(255,255,255);
	background: rgb(152,34,76);
}
html .entry-summary .single_add_to_cart_button:hover, .wd-single-add-cart .single_add_to_cart_button:hover {
	color: rgb(63,58,55);
	background: rgb(124,0,56);
}
html .cart-totals-inner .checkout-button {
	color: rgb(255,221,221);
	background: rgb(152,34,76);
}
html .cart-totals-inner .checkout-button:hover {
	color: rgb(63,58,55);
	background: rgb(124,0,56);
}
html .woocommerce-mini-cart__buttons .btn-cart {
	color: rgb(63,58,55);
	background: rgb(226,145,120);
}
html .woocommerce-mini-cart__buttons .btn-cart:hover {
	color: rgb(63,58,55);
	background: rgb(226,150,127);
}
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(119,119,119);
	--wd-form-placeholder-color: rgb(119,119,119)7;
	--wd-form-bg: rgb(255,255,255);
}
.wd-nav-arrows.wd-pos-sep:not(:where(.wd-custom-style)) {
	--wd-arrow-color: rgb(63,58,55);
	--wd-arrow-color-hover: rgb(63,58,55);
	--wd-arrow-color-dis: rgb(63,58,55);
}
.wd-nav-arrows.wd-pos-together:not(:where(.wd-custom-style)) {
	--wd-arrow-color: rgb(63,58,55);
	--wd-arrow-color-hover: rgb(63,58,55);
	--wd-arrow-color-dis: rgb(63,58,55);
}
.wd .product-label.onsale {
	background-color: rgb(226,145,120);
}
.wd .product-label.new {
	background-color: rgb(155,166,165);
	color: rgb(255,255,255);
}
.wd .product-label.featured {
	background-color: rgb(214,185,142);
	color: rgb(255,255,255);
}
.wd .product-label.out-of-stock {
	background-color: rgb(221,51,51);
	color: rgb(255,255,255);
}
.wd .product-label.attribute-label:not(.label-with-img) {
	background-color: rgb(214,185,142);
	color: rgb(255,255,255);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
.woocommerce-product-gallery {
	--wd-gallery-gap: 13px;
}

@media (max-width: 1024px) {
	:root {
		--wd-hb-opt-h: 30px;
	--wd-sticky-btn-height: 95px;
	}
	.woocommerce-product-gallery {
		--wd-gallery-gap: 20px;
	}

}

@media (max-width: 768.98px) {
	:root {
		--wd-sticky-btn-height: 42px;
	}
	.woocommerce-product-gallery {
		--wd-gallery-gap: 10px;
	}

}
:root{
--wd-container-w: 1400px;
--wd-form-brd-radius: 30px;
--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: 1400px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


.wd-page-title {
background-color: rgb(152,34,76);
}

/* استدعاء خط IBM Plex Sans Arabic */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&display=swap');

/* تطبيق الخط على الهيدير فقط في الواجهة الأمامية */
body:not(.wp-admin) header,
body:not(.wp-admin) header * {
    font-family: 'IBM Plex Sans Arabic', sans-serif !important;
}

/* تثبيت نسبة الطول 3:4 وتعبئة الصورة داخل البطاقة */
.wd-products .product-grid-item .product-element-top,
.wd-products .product-grid-item .product-image-wrapper,
.wd-products .product-grid-item .product-image-link {
  aspect-ratio: 4 / 5; /* النسبة الطولية المطلوبة */
  height: auto !important;
  max-height: none !important;
  position: relative;
  display: block;
  overflow: hidden;
}

/* تعبئة الصورة بالكامل داخل الإطار */
.wd-products .product-grid-item .product-image-link img,
.wd-products .product-grid-item .product-image-wrapper img,
.wd-products .product-grid-item .hover-img,
.wd-products .product-grid-item .hover-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* يملأ الإطار مع قص بسيط للحواف */
}

/* تعطيل أي قيود ارتفاع جاهزة من القالب */
.wd-products .product-grid-item .product-image-wrapper img {
  max-height: none !important;
}

/* إجبار كل النصوص داخل البطاقة على التوسيط */
.wd-product,
.wd-product * {
    text-align: center !important;
}

/* توسيط عنوان المنتج فعليًا */
.wd-product .product-title,
.wd-product .product-title a,
.wd-entities-title {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
    justify-content: center !important;
}

/* ضبط قائمة الخيارات */
.wd-product .variations_form {
    width: 90%;
    margin: 10px auto;
}

.wd-product .variations_form select {
    width: 100%;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    background-color: #fff;
    font-size: 14px;
    text-align: center !important;
}

/* السعر */
.wd-product .price {
    display: block !important;
    text-align: center !important;
    width: 100%;
    margin: 8px 0 12px !important;
    font-weight: 600;
}

/* زر الإضافة للسلة */
.wd-product .add_to_cart_button,
.wd-product .button {
    width: 90%;
    margin: 0 auto 10px;
    display: block;
    text-align: center !important;
}

/* إصلاح مشكلة التوسيط داخل بطاقات Woodmart */
.wd-product .product-title,
.wd-product .product-title a,
.wd-product .price,
.wd-product .variations_form,
.wd-product .variations_form select,
.wd-product .button,
.wd-product .add_to_cart_button {
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
}
/* ترتيب عناصر بطاقة المنتج في Woodmart */
.wd-product .product-title {
    order: 1;
}

.wd-product .variations_form {
    order: 2;
}

.wd-product .price {
    order: 3;
}

.wd-product .add_to_cart_button,
.wd-product .button {
    order: 4;
}

/* تأكد أن الحاوية تستخدم Flex عمودي */
.wd-product .wd-product-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
}


/* استرجاع الشكل الأصلي وتغيير اللون فقط */
.wd-free-progress-bar .progress-bar {
    background: repeating-linear-gradient(
        45deg,
        #4CAF50,
        #4CAF50 10px,
        #5edb6a 10px,
        #5edb6a 20px
    ) !important;
}

.onsale,
.product-label.onsale {
    direction: rtl !important;
    unicode-bidi: embed;
    text-align: right !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600 !important;
}

/* ترتيب النص داخل البادج */
.onsale::before {
    content: "  " !important;
}

/* شيل أي شرطة أو مسافة غريبة */
.onsale {
    white-space: nowrap;
}