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

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

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

:root {
	--wd-text-font: "Rubik", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #777777;
	--wd-text-font-size: 15px;
	--wd-title-font: "Rubik", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 700;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Rubik", 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: "Rubik", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Rubik", 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: "Rubik", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 600;
	--wd-header-el-transform: capitalize;
	--wd-header-el-font-size: 14px;
	--wd-brd-radius: 10px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(84,36,0);
	--wd-alternative-color: #fbbc34;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(84,36,0);
	--btn-accented-bgcolor-hover: rgba(84,36,0,0.92);
	--btn-transform: capitalize;
	--wd-form-brd-width: 1px;
	--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);
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: rgba(84,36,0,0);
	background-image: none;
}
html .wd-nav-mobile > li > a {
	text-transform: capitalize;
}
html .wd-checkout-steps li {
	text-transform: capitalize;
}
html .page-title > .container > .title, html .page-title .wd-title-wrapp > .title {
	font-size: 32px;
}
html table th {
	text-transform: capitalize;
}
.page .wd-page-content {
	background-color: #FAF8F5;
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) .wd-page-content {
	background-color: #FAF8F5;
	background-image: none;
}
.single-product .wd-page-content {
	background-color: #FAF8F5;
	background-image: none;
}
.woodmart-archive-blog .wd-page-content {
	background-color: #FAF8F5;
	background-image: none;
}
.single-post .wd-page-content {
	background-color: #FAF8F5;
	background-image: none;
}
.woodmart-archive-portfolio .wd-page-content {
	background-color: #FAF8F5;
	background-image: none;
}
.single-portfolio .wd-page-content {
	background-color: #FAF8F5;
	background-image: none;
}
html .widget_price_filter [class*="price_slider_amount"] .button {
	color: rgb(255,255,255);
	background: rgb(140,188,103);
}
html .widget_price_filter [class*="price_slider_amount"] .button:hover {
	color: rgb(255,255,255);
	background: rgb(128,171,94);
}
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-bg: rgb(255,255,255);
}
.wd-nav-arrows.wd-pos-sep:not(:where(.wd-custom-style)) {
	--wd-arrow-size: 40px;
	--wd-arrow-icon-size: 16px;
	--wd-arrow-offset-h: 20px;
	--wd-arrow-color: rgb(51,51,51);
	--wd-arrow-color-hover: rgb(255,255,255);
	--wd-arrow-color-dis: rgba(51,51,51,0.8);
	--wd-arrow-bg: rgb(255,255,255);
	--wd-arrow-bg-hover: rgb(140,188,103);
	--wd-arrow-bg-dis: rgb(255,255,255);
	--wd-arrow-radius: 10px;
	--wd-arrow-shadow: 0px 0px 0px 0px rgba(255,255,255,0);
}
.wd-nav-scroll {
	--wd-nscroll-height: 3px;
	--wd-nscroll-drag-bg: rgb(140,188,103);
	--wd-nscroll-drag-bg-hover: rgb(128,171,94);
}
.product-labels .product-label.new {
	background-color: rgb(140,188,103);
	color: rgb(255,255,255);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}

@media (max-width: 1024px) {
	html .page-title > .container > .title, html .page-title .wd-title-wrapp > .title {
		font-size: 28px;
	}
	[class*="thumbs-grid-bottom"] .woocommerce-product-gallery__wrapper.wd-grid {
		--wd-col: 1;
	}

}

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

}
:root{
--wd-container-w: 1480px;
--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;
}

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


.wd-page-title {
background-color: rgb(250,248,245);
}

/* ==================================================
   Woodmart Side Panels فوق الـ wd-toolbar
================================================== */

/* خل الـ toolbar أقل من السايد بانل */
.wd-toolbar{
  z-index: 2147482000 !important; /* أقل من السايد بانل */
}

/* ارفع السايد بانل نفسه */
.mobile-nav.wd-opened,
.cart-widget-side.wd-opened{
  z-index: 2147483600 !important; /* أعلى من الـ toolbar */
}

/* لو فيه خلفية/Overlay للإغلاق ارفعها كذلك (احتياط) */
.wd-side-hidden.wd-opened{
  z-index: 2147483600 !important;
}

/* ✅ أخفِ الـ toolbar عند فتح أي سايد بانل (بنفس تأثيرك) */
body.aa-modal-open .wd-toolbar,
body.wd-panel-open .wd-toolbar{
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: transform .22s ease, opacity .22s ease;
}



/* =========================================================
   1) تصنيفات المنتج داخل الكرت (إيقاف النقر)
========================================================= */

/* تعطيل أي نقر على تصنيف المنتج (حتى لو فيه overlay) */
.products .product .wd-product-cats {
    pointer-events: none !important;
}


/* =========================================================
   2) هيكل كرت المنتج (Padding) حسب المقاس
========================================================= */

/* كمبيوتر وتابلت */
@media (min-width: 768px) {
    .products .product .product-wrapper {
        padding-bottom: 11px !important;
    }
}

/* جوال */
@media (max-width: 767px) {
    .products .product .product-wrapper {
        padding-bottom: 10px !important;
    }
}


/* =========================================================
   3) عنوان المنتج (Title) وتنسيقه
========================================================= */

/* مسافة أسفل العنوان داخل جزء الأسفل */
.products .product .product-element-bottom .wd-entities-title {
    margin-bottom: 12px;
}

/* عنوان المنتج (جوال) */
@media (max-width: 767px) {
    .products .product .product-element-bottom .wd-entities-title a {
        font-size: 13px !important;
        line-height: 1.6;
    }
}

/* عنوان المنتج (كمبيوتر/تابلت) */
@media (min-width: 768px) {
    .products .product .product-element-bottom .wd-entities-title a {
        font-size: 14px !important;
        line-height: 1.6 !important; /* تطويل النص فقط */
    }
}

/* إلغاء تحديد عدد الأسطر / القص */
.products .product .wd-entities-title {
    --title-line-count: unset !important;
    --title-line-height: normal !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
    overflow: visible !important;
    display: block !important;
}


/* =========================================================
   4) السعر (Price)
========================================================= */

.products .product .price {
    font-size: 11px;
}


/* =========================================================
   5) عناصر غير مطلوبة داخل كرت المنتج
========================================================= */

/* إخفاء زر المعاينة السريعة أعلى المنتج */
.product-element-top.wd-quick-shop {
    display: none !important;
}

/* إخفاء نجوم التقييم في قائمة المنتجات */
.products .product .star-rating {
    display: none !important;
}


/* =========================================================
   6) إعادة بناء تخطيط محتوى كرت المنتج (Grid Areas)
========================================================= */

.products .product .product-element-bottom {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
        "title"
        "meta"
        "button";
    row-gap: 6px;
}


/* =========================================================
   7) صف الميتا (السعر + التصنيفات)
========================================================= */

/* ربط العناصر بالـ grid-area */
.products .product .wd-product-cats,
.products .product .wrap-price {
    grid-area: meta;
}

/* الحاوية الفعلية للسعر + الفئة (عكس الاتجاه) */
.products .product .product-element-bottom .wd-product-cats {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 6px;
}

/* تصغير خط التصنيف */
.products .product .wd-product-cats a {
    font-size: 10px;
    opacity: 0.8;
    margin-top: 4px; /* هامش علوي بسيط */
}


/* =========================================================
   8) زر إضافة للسلة داخل كرت المنتج
========================================================= */

/* موضع زر إضافة للسلة داخل البطاقة */
.products .product .wd-add-btn {
    grid-area: button;
}


/* زر إضافة للسلة – كمبيوتر */
@media (min-width: 768px) {
    .products .wd-add-btn .add-to-cart-loop {
        padding: 0px 6px !important;
        font-size: 10px !important;
        line-height: 1 !important;
        min-height: 0 !important;
        height: auto !important;
        border-radius: 10px !important;
    }
}


/* زر إضافة للسلة – جوال */
@media (max-width: 767px) {
    .products .wd-add-btn .add-to-cart-loop {
        padding: 1px 1px !important; /* ✅ (آخر نسخة كانت مكررة وتم اعتمادها) */
        font-size: 10px !important;
        line-height: 1 !important;
        min-height: 0 !important;
        height: auto !important;
        border-radius: 10px !important;
    }
}


/* النص داخل زر إضافة للسلة */
.products .wd-add-btn .add-to-cart-loop span {
    font-size: 10px !important;
    line-height: 1 !important;
    padding: 10px !important;
}


/* ألوان زر إضافة للسلة */
.wd-add-btn a.add_to_cart_button,
.wd-add-btn a.add-to-cart-loop {
    background-color: rgba(84, 36, 0, 0.08) !important;
    color: #542400 !important;
    border: 0px solid #542400 !important;
}

/* لون النص داخل الزر */
.wd-add-btn a.add_to_cart_button span,
.wd-add-btn a.add-to-cart-loop span {
    color: #542400 !important;
}

/* تأثير المرور بالماوس */
.wd-add-btn a.add_to_cart_button:hover,
.wd-add-btn a.add-to-cart-loop:hover {
    background-color: #542400 !important;
    color: #ffffff !important;
}

.wd-add-btn a.add_to_cart_button:hover span,
.wd-add-btn a.add-to-cart-loop:hover span {
    color: #ffffff !important;
}


/* تصغير أيقونة السلة فقط */
.wd-add-btn-replace > .add-to-cart-loop::before {
    font-size: 13px !important;
}


/* =========================================================
   9) سلة التسوق الجانبية (Side Cart)
========================================================= */

/* تنسيق عنوان سلة التسوق الجانبية */
.cart-widget-side .wd-heading .title {
    font-size: 100%;
    font-weight: 700;
    color: var(--wd-title-color);
    font-family: var(--wd-title-font);
}


/* =========================================================
   10) كرت المنتج - هوامش داخلية (جوال)
========================================================= */

@media (max-width: 767px) {
    .wd-product.product-grid-item .product-wrapper {
        padding-top: 15px;
        padding-bottom: 15px;
    }
}


/* =========================================================
   11) زر Off-canvas (جوال فقط)
========================================================= */

@media (max-width: 767px) {

    /* ترتيب الزر */
    .wd-off-canvas-btn.wd-action-custom-icon > a {
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    /* إنزال الأيقونة قليلًا */
    .wd-off-canvas-btn.wd-action-custom-icon .wd-action-icon {
        position: relative;
        top: 2px;
    }
}


/* =========================================================
   12) ترقيم الصفحات (Pagination) - جوال فقط
========================================================= */

@media (max-width: 767px) {

    .woocommerce-pagination .page-numbers {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
        gap: 6px;
        -webkit-overflow-scrolling: touch;
    }

    .woocommerce-pagination .page-numbers > li {
        flex: 0 0 auto;
    }

}




/* =========================================================
   1) Mini Cart Sidebar (السلة الجانبية)
========================================================= */

/* تصغير خط عنوان المنتج داخل السلة الجانبية (Mini Cart Sidebar) */
.cart-widget-side .woocommerce-mini-cart .cart-info .wd-entities-title{
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
}

/* ✅ نفس لون (المجموع) مع قيمة السعر في السلة الجانبية */
.cart-widget-side .woocommerce-mini-cart__total.total strong,
.cart-widget-side .woocommerce-mini-cart__total.total .woocommerce-Price-amount,
.cart-widget-side .woocommerce-mini-cart__total.total .woocommerce-Price-amount bdi,
.cart-widget-side .woocommerce-mini-cart__total.total .woocommerce-Price-currencySymbol{
  color: #242424 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}

/* إخفاء صورة المنتج من سلة القائمة (Mini Cart) */
.widget_shopping_cart .woocommerce-mini-cart-item a.cart-item-image{
  display: none !important;
}


/* =========================================================
   2) البحث (Search) - ننننننإخفاء زر البحث في الجوال/التابلت
========================================================= */


/* =========================================================
   3) Progress Message (رسالة التقدم) - تصميم + محاذاة
========================================================= */

.progress-msg{
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #242424 !important;
  line-height: 1.4 !important;
  margin-bottom: 12px !important;

  text-align: center !important;
  width: 100% !important;
  display: block !important;
}


/* =========================================================
   4) متغير عام للزوايا الدائرية (Global Radius)
========================================================= */

:root{
  --radius-alaamal: 10px;
}


/* =========================================================
   5) Quantity (أزرار النقص/الزيادة + حقل العدد)
========================================================= */

/* ✅ تباعد بين زر النقص + خانة العدد + زر الزيادة */
.woocommerce .quantity{
  display: flex !important;
  align-items: center !important;
  gap: 8px !important; /* ← غير الرقم حسب اللي يعجبك */
}

.woocommerce .quantity .minus,
.woocommerce .quantity .plus{
  margin: 0 !important;
}

.woocommerce .quantity .qty{
  margin: 0 !important;
}

/* زوايا دائرية 10px لزر - والعدد وزر + */
.woocommerce .quantity .minus,
.woocommerce .quantity .plus,
.woocommerce .quantity .qty{
  border-radius: 10px !important;
}


/* =========================================================
   6) أزرار الموقع (Buttons) - زوايا موحدة
========================================================= */

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.wd-button,
.wd-btn,
.elementor-button{
  border-radius: var(--radius-alaamal) !important;
}


/* =========================================================
   7) حقول النماذج (Inputs) - زوايا موحدة
========================================================= */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
input[type="search"],
textarea,
select,
.woocommerce input.input-text,
.woocommerce textarea,
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple{
  border-radius: var(--radius-alaamal) !important;
}


/* =========================================================
   8) رسائل وووكومرس + مربعات الدفع - زوايا موحدة
========================================================= */

.woocommerce-message,
.woocommerce-error,
.woocommerce-info,
.woocommerce-notices-wrapper,
.wc_payment_methods li,
.payment_box,
.woocommerce-checkout #payment{
  border-radius: var(--radius-alaamal) !important;
}


/* =========================================================
   9) Checkout - إخفاء قسم الكوبون الافتراضي + زر الرجوع
========================================================= */

/* اخفاء قسم الكوبون الافتراضي بالكامل (Woodmart) */
body.woocommerce-checkout .wd-checkout-coupon{
  display: none !important;
}

a.btn.wc-backward{
  display: none !important;
}



/* =========================================================
   11) Header (جوال/تابلت) - تصغير الأيقونات
========================================================= */

@media (max-width: 1024px) {

  /* تصغير مساحة الضغط */
  .whb-mobile-right .wd-tools-element > a {
    padding: 6px 6px !important;
    min-width: auto !important;
  }

  /* إخفاء النص تحت الأيقونات */
  .whb-mobile-right .wd-tools-text {
    display: none !important;
  }
}


/* =========================================================
   12) نتائج البحث (WoodMart Ajax Search) - تصميم Grid
========================================================= */

/* إخفاء الصورة */
.wd-suggestion-thumb {
  display: none !important;
}

/* بطاقة نتيجة البحث – بدون ظل */
.wd-suggestion {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.15); /* رصاصي شفاف */
  border-radius: 10px;
  padding: 15px;
  transition: .25s ease;
  box-shadow: none !important;
}

/* توزيع النتائج – افتراضي (ديسكتوب) */
.wd-suggestions-group.wd-type-product {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 15px;
}

/* 📱 الجوال: عمودين */
@media (max-width: 768px) {
  .wd-suggestions-group.wd-type-product {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* هامش يمين ويسار للوحة نتائج البحث كاملة */
.wd-search-results,
.wd-search-dropdown {
  padding-left: 15px !important;
  padding-right: 15px !important;
  box-sizing: border-box;
}

/* لوحة البحث الكاملة - زوايا علوية + هامش علوي */
.wd-search-full-screen.wd-opened {
  border-top-left-radius: 40px !important;
  border-top-right-radius: 40px !important;
  margin-top: 15px !important;
  overflow: hidden; /* مهم لقص الزوايا */
}

/* إخفاء زر عرض جميع النتائج في بحث وودمارت */
.wd-search-full-screen .wd-all-results {
  display: none !important;
}


/* =========================================================
   13) شريط أدوات وودمارت (Toolbar) - Glass Effect
========================================================= */

/* Glass effect on WoodMart toolbar only */
body .wd-toolbar.wd-toolbar-label-show {
  background: rgba(255, 255, 255, 0.28) !important;
  backdrop-filter: blur(18px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(160%) !important;

  border-radius: 25px 25px 0 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;

  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12) !important;
}

/* padding أعلى للـ toolbar */
body .wd-toolbar.wd-toolbar-label-show {
  padding-top: 14px !important; /* عدّل الرقم حسب اللي يناسبك */
}


/* =========================================================
   14) إخفاء زر الصعود للأعلى (Scroll To Top)
========================================================= */

.scrollToTop {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}


/* =========================================================
   15) زوايا الهيدر (Header Radius) حسب المقاس
========================================================= */

/* ديسكتوب */
@media (min-width: 1025px) {
  .whb-row.whb-general-header.whb-not-sticky-row {
    border-bottom-left-radius: 40px !important;
    border-bottom-right-radius: 40px !important;
    overflow: hidden;
  }
}

/* جوال + تابلت */
@media (max-width: 1024px) {
  .whb-row.whb-general-header.whb-not-sticky-row {
    border-bottom-left-radius: 25px !important;
    border-bottom-right-radius: 25px !important;
    overflow: hidden;
  }
}




