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

:root {
	--wd-text-font: "Cairo", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 14px;
	--wd-title-font: "Cairo", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 500;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Cairo", 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: "Playpen Sans Arabic", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Cairo", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 500;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Cairo", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 500;
	--wd-header-el-transform: none;
	--wd-header-el-font-size: 13px;
	--wd-brd-radius: 40px;
	--wd-primary-color: rgb(70,42,88);
	--wd-alternative-color: rgb(108,64,127);
	--wd-link-color: #333333;
	--wd-link-color-hover: rgb(108,64,127);
	--btn-default-bgcolor: rgb(106,43,121);
	--btn-default-bgcolor-hover: rgb(119,81,119);
	--btn-accented-bgcolor: rgb(106,43,121);
	--btn-accented-bgcolor-hover: rgb(59,30,84);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
}
.wd-popup.wd-age-verify {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: rgb(30,115,190);
	background-image: url(https://sabe2.com/wp-content/uploads/2021/10/grocery-popup.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	--wd-popup-width: 800px;
	--wd-popup-padding: 15px;
}
.wd-page-title {
	background-color: rgb(30,115,190);
	background-image: url(https://sabe2.com/wp-content/uploads/2021/10/grocery-page-title.jpg);
	background-size: cover;
	background-position: center center;
}
.wd-footer {
	background-color: rgb(71,44,91);
	background-image: none;
}
body[class*="wrapper-boxed"] {
	background-color: rgba(238,238,238,0.55);
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) .wd-page-content {
	background-color: rgba(249,243,239,0.24);
	background-image: none;
}
.single-product .wd-page-content {
	background-color: rgba(238,238,238,0.37);
	background-image: none;
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1160px;
--wd-form-brd-radius: 35px;
--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: 1160px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


/* خلفية شفافة أو بلون primary */
.wd-header-cats .menu-opener:not(.has-bg) {
    background-color: transparent !important; /* أو استبدل بـ var(--wd-primary-color) */
    box-shadow: none !important;
}

/* إزالة الـ border-radius من القائمة */
.wd-header-cats.wd-style-1 .menu-opener {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}
.wd-nav:is(.wd-style-bordered, .wd-style-separated) > li {
    text-align: right;
}


/* حاوية المنتج بالكامل */
.product-image-summary {
  border: 2px solid #f0f0f0;
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 12px;
  background: #fff;
}

/* الصورة */
.product-images {
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 8px;
}

/* العنوان */
.product_title {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #1f2937;
}

/* السعر */
.price {
  font-size: 22px;
  color: #e63946;
  font-weight: bold;
  margin-bottom: 20px;
}

/* نموذج الكمية */
.quantity {
  margin-bottom: 20px;
}
.quantity input {
  font-size: 18px;
  padding: 10px;
  width: 70px;
  text-align: center;
}
.quantity .btn {
  padding: 8px 12px;
  font-size: 20px;
}
/* زر الإضافة إلى السلة بلون القالب الأساسي */
.single_add_to_cart_button {
  color: #fff !important;
  font-size: 18px;
  padding: 12px 25px;
  border-radius: 8px;
  transition: 0.3s ease-in-out;
}

/* تأثير الهوفر مع نفس لون القالب */
.single_add_to_cart_button:hover {
  filter: brightness(0.95); /* خفّة بسيطة عند المرور */
}

/* حفظ لاحقا */
.wd-wishlist-btn {
  margin-top: 15px;
}
.wd-wishlist-btn span {
  color: #1d4ed8;
  font-weight: 500;
}

/* تبويب الوصف */
.woocommerce-tabs {
  border: 1px solid #ddd;
  border-radius: 10px;
  margin-top: 30px;
  padding: 15px;
  background-color: #fefefe;
}
.woocommerce-tabs .wd-accordion-title-text span {
  font-size: 20px;
  font-weight: bold;
  color: #111827;
}
.woocommerce-tabs .entry-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #374151;
}

/* الميتا أسفل المنتج */
.product_meta {
  margin-top: 20px;
  padding-top: 10px;
  border-top: 1px dashed #ccc;
  font-size: 14px;
  color: #6b7280;
}
.product_meta a {
  color: #2563eb;
}

/* ✅ الكاروسيل - الوضع العام */
.wd-carousel-item .wd-cat {
  background-color: #fff;
  border: 1px solid #eee;
  box-sizing: border-box;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ✅ عند المرور */
.wd-carousel-item .wd-cat:hover {
  background-color: var(--wd-primary-color);
  color: #fff;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}
.wd-carousel-item .wd-cat:hover .wd-cat-content h3,
.wd-carousel-item .wd-cat:hover .wd-cat-content h3 a {
  color: #fff !important;
}

/* ✅ صورة التصنيف */
.wd-cat-thumb {
  margin-bottom: 10px;
}
.wd-cat-thumb img {
  max-width: 60px;
  height: auto;
}

/* ✅ عنوان التصنيف */
.wd-cat-content h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: #222;
}
.wd-cat-content h3 a {
  text-decoration: none;
  color: inherit;
}

/* ✅ محتوى الكارت */
.wd-cat-inner,
.wd-cat-content {
  align-items: center;
  justify-content: center;
}

/* ✅ أسهم ونقاط */
.wd-nav-arrows .wd-btn-arrow {
  background-color: #f8f8f8;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}
.wd-nav-arrows .wd-btn-arrow:hover {
  background-color: #ddd;
}
.wd-nav-pagin-item span {
  background-color: #ccc;
}
.wd-nav-pagin-item.wd-active span {
  background-color: #ff6600;
}

/* ✅ خلفية الكاروسيل */
.wd-cats-element.wd-carousel-container {
  background-color: #ffffff !important;
  padding: 25px;
  border-radius: 12px;
}

/* ✅ الموبايل: تجاوب مع الشاشات الصغيرة */
@media (max-width: 768px) {
  .wd-carousel-item .wd-cat {
    padding: 8px;
  }

  .wd-cat-thumb img {
    max-width: 45px;
  }

  .wd-cat-content h3 {
    font-size: 14px;
  }

  .wd-nav-arrows .wd-btn-arrow {
    width: 28px;
    height: 28px;
  }

  .wd-cats-element.wd-carousel-container {
    padding: 15px;
  }

  .product-wrapper {
    padding: 10px;
  }

  .woodmart-title-container,
  .elementor-widget-container h2 {
    font-size: 20px;
  }
}

/* تنسيق النصوص بعنصر span.tabs-text */
.tabs-text {
  font-size: 24px; /* حجم مناسب */
  font-weight: 700;
  color: var(--wd-primary-color);
  display: block;
  margin-bottom: 10px;
}

.elementor-widget-container h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--wd-primary-color);
  display: block;
  margin-bottom: 10px;
}

/* توجيه الحقول والنصوص لليسار في نسخة الإنجليزي contact us*/
.page-id-29878 .wpforms-field,
.page-id-29878 .wpforms-field label,
.page-id-29878 .wpforms-field input,
.page-id-29878 .wpforms-field textarea,
.page-id-29878 .wpforms-field select {
  text-align: left;
  direction: ltr;
}
/*MENU ALONG THE SHOP 1. نخلي كل الصور بيضاء بشكل افتراضي */
#menu-menu-along-the-shop .wd-nav-img {
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

/* 2. عند الهوفر على اللينك، ترجع الصورة لألوانها الأصلية */
#menu-menu-along-the-shop .woodmart-nav-link:hover .wd-nav-img {
  filter: none;
}

/*MENU ALONG THE SHOP 1. نخلي كل الصور بيضاء بشكل افتراضي */
#menu-menu-along-the-shop-eng .wd-nav-img {
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

/* 2. عند الهوفر على اللينك، ترجع الصورة لألوانها الأصلية */
#menu-menu-along-the-shop-eng .woodmart-nav-link:hover .wd-nav-img {
  filter: none;
}

/* خليه يفتح من الشمال لو عليه الكلاس الجديد منيو الموبايل */
.mobile-nav.wd-left {
  left: 0;
  right: auto;
  transform: translateX(-100%);
}
.mobile-nav.wd-left.wd-opened {
  transform: translateX(0);
}

/* THANK YOU PAGE AFTER ORDER DONE */
#thankyou-ar,
#thankyou-en {
  display: none;
}

 .thankyou-box {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1s ease forwards;
    animation-delay: 0.3s;
    text-align: center;
    padding: 40px 20px;
    background-color: #f9f9f9;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    font-family: 'Tajawal', sans-serif;
  }

  .thankyou-box img {
    margin-bottom: 20px;
    animation: pop 0.6s ease-in-out;
  }

  @keyframes fadeUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes pop {
    0% {
      transform: scale(0.5);
      opacity: 0;
    }
    100% {
      transform: scale(1);
      opacity: 1;
    }
  }

  .thankyou-box h2 {
    color: #ff6600;
    font-size: 32px;
    margin-bottom: 10px;
  }

  .thankyou-box p {
    font-size: 18px;
    color: #444;
    margin-bottom: 15px;
  }

  .thankyou-box a {
    display: inline-block;
    margin-top: 20px;
    background-color: #ff6600;
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 18px;
    transition: background-color 0.3s;
  }

  .thankyou-box a:hover {
    background-color: #e85c00;
  }

.woocommerce-thankyou-order-received {
  display: none !important;
}

/*NOTE ORDER*/
.order-note-box {
    display: none;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.3s;
    background: #fdfdfd;
    border-radius: 14px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
    font-family: 'Tajawal', sans-serif;
    font-size: 15px;
    color: #333;
    line-height: 1.8;
    margin-top: 20px;
  }

  .order-note-box p {
    margin: 10px 0;
  }

  .order-note-box .value {
    font-weight: bold;
    color: #007B8F;
  }

  .order-note-box .brand {
    color: #007B8F;
    font-weight: bold;
  }

  .order-note-ar {
    direction: rtl;
    text-align: right;
  }

  .order-note-en {
    direction: ltr;
    text-align: left;
  }

  @keyframes fadeUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
 /*NOTE ORDER*/
.quantity {
  display: none !important;
}

/* تحسين شكل الجدول */
.thwepo-extra-options {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
}

/* تحسين شكل الصف والخلية */
.thwepo-extra-options tr {
  border-radius: 8px;
  overflow: hidden;
}

.thwepo-extra-options td.label {
  font-weight: bold;
  font-size: 15px;
  color: #333;
  padding: 10px;
  vertical-align: middle;
  white-space: nowrap;
}

.thwepo-extra-options td.value {
  padding: 10px;
}

/* تحسين شكل حقل الإدخال */
.thwepo-extra-options input[type="text"].thwepof-input-field {
  width: 100%;
  max-width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 14px;
  transition: 0.3s;
}

.thwepo-extra-options input[type="text"].thwepof-input-field:focus {
  border-color: #7e57c2;
  box-shadow: 0 0 5px rgba(126, 87, 194, 0.4);
  outline: none;
}

/* تغيير لون النجمة الحمراء */
.thwepo-extra-options .required {
  color: red;
  font-size: 16px;
}

/* تحسين شكل اللابل */
.thwepo-extra-options td.label {
  font-weight: bold; /* نص عريض */
  font-size: 16px;
  color: #222; /* لون واضح وأنيق */
  padding: 10px 10px 10px 0;
  vertical-align: middle;
  white-space: nowrap;
}

/* تنسيق الـ label نفسه */
.thwepo-extra-options .label-tag {
  font-weight: bold;
  display: inline-block;
  margin-right: 5px;
}

/* تنسيق النجمة */
.thwepo-extra-options .required {
  color: red;
  font-size: 16px;
  vertical-align: top;
}




/* تظبيط شكل البرودكت في الرئيسية */
.wd-product {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 100%;
}

.wd-product .wd-product-header h3 {
  min-height: 48px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wd-product .wd-product-cats {
  min-height: 20px;
}
.wd-product .wd-product-footer {
  margin-top: auto;
}

.product-image-link img {
  height: 140px;
  object-fit: contain;
  width: 100%;
}

.wd-carousel-item {
  width: 50% !important; /* أو حسب الأعمدة */
  padding: 5px;
}

.wrap-price .price {
  display: flex;
  flex-direction: column; /* يخليهم تحت بعض */
  align-items: center;     /* يخليهم في المنتصف */
  text-align: center;
	gap: 4px;
}

.wrap-price .price del {
  font-size: clamp(10px, 2vw, 13px);
  color: #999;
}

.wrap-price .price ins {
  font-size: clamp(10px, 2.5vw, 16px);
  color: #000;
  font-weight: bold;
}

html[lang="en-US"] .wrap-price .price ins {
  font-size: clamp(10px, 2vw, 14px);
  color: #000;
  font-weight: bold;
}

html[lang="en-US"] .wrap-price .price del {
  font-size: clamp(9px, 1.8vw, 12px);
  color: #999;
}


.product-labels {
  margin: 8px; /* أو حسب المسافة اللي تناسبك */
}

.wpcf7 form {
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-family: 'Tajawal', sans-serif;
}

/* عنوان الحقول */
.wpcf7 form label {
  font-weight: 500;
  font-size: 15px;
  color: #374151;
  display: block;
  margin-bottom: 6px;
}

/* الحقول */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  background-color: #f9fafb;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  border-color: #ff6600;
  outline: none;
  background-color: #fff;
  box-shadow: 0 0 0 2px rgba(255, 102, 0, 0.2);
}

/* المساحة للرسالة */
.wpcf7 textarea {
  min-height: 120px;
  resize: vertical;
}

/* زر الإرسال */
.wpcf7 input[type="submit"] {
  background-color: #ff6600;
  color: white;
  padding: 14px 30px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.wpcf7 input[type="submit"]:hover {
  background-color: #e65c00;
}

/* دعم اللغة العربية */
html[lang="ar"] .wpcf7 form {
  direction: rtl;
  text-align: right;
}

/* رسائل النجاح والخطأ */
.wpcf7-response-output {
  margin-top: 10px;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
}

.wpcf7 form .wpcf7-response-output.wpcf7-mail-sent-ok {
  color: #065f46;
  background-color: #d1fae5;
  border: 1px solid #10b981;
}

.wpcf7 form .wpcf7-response-output.wpcf7-validation-errors {
  color: #92400e;
  background-color: #fef3c7;
  border: 1px solid #f59e0b;
}

.wpcf7-not-valid-tip {
  color: #b91c1c;
  font-size: 13px;
  margin-top: 4px;
}
/* التأثير العام */
.wpcf7 {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.2s;
}


.woocommerce-mini-cart__buttons .btn-cart {
    color: #fff !important;
}
.woocommerce-mini-cart__buttons a.btn-cart.wc-forward {
    color: #fff !important;
}

/* تعريف الحركة */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* الزر الأساسي يفضل ثابت */
#wcc-switcher-style-03 .wcc-crnt-currency {
    height: 40px !important;
     color: #fff !important;
	 background: rgb(70,42,88) !important;

}

/* القائمة لما تتفتح */
#wcc-switcher-style-03.wcc-list-opened .wcc-list {
    background: rgb(70,42,88) !important; /* اللون البنفسجي */
    color: #fff !important;
    border-radius: 0 0 30px 30px !important; /* لتدوير من تحت */
	    
}
.wd-header-cart.wd-design-2 .wd-cart-number,
.wd-header-cart.wd-design-5 .wd-cart-number,
.wd-tools-element .wd-tools-count {
    z-index: 0 !important; /* خليه ورا الليست */
}


