:root {
	--wd-text-font: "Cairo", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 16px;
	--wd-title-font: "Cairo", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: rgb(30,115,190);
	--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: rgba(51, 51, 51, 0.65);
	--wd-alternative-font: "Cairo", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Cairo", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: capitalize;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 18px;
	--wd-header-el-font: "Cairo", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: capitalize;
	--wd-header-el-font-size: 16px;
	--wd-brd-radius: 16px;
	--wd-otl-style: double;
	--wd-otl-width: 4px;
	--wd-otl-color: rgb(59,232,201);
	--wd-primary-color: rgb(30,211,194);
	--wd-alternative-color: rgb(99,236,99);
	--btn-default-font-family: "Cairo", Arial, Helvetica, sans-serif;
	--btn-default-font-weight: 800;
	--btn-default-font-size: 14px;
	--btn-default-bgcolor: rgb(59,232,201);
	--btn-default-bgcolor-hover: rgb(59,232,201);
	--btn-accented-transform: capitalize;
	--btn-accented-bgcolor: rgb(59,232,201);
	--btn-accented-bgcolor-hover: rgb(32,219,141);
	--btn-accented-padding-top: 0px;
	--btn-font-family: "Cairo", Arial, Helvetica, sans-serif;
	--btn-transform: capitalize;
	--btn-font-size: 14px;
	--btn-bgcolor: rgb(30,211,194);
	--btn-bgcolor-hover: rgb(30,211,194);
	--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(18,18,18);
	background-image: none;
}
html .product.wd-cat .wd-entities-title, html .product.wd-cat.cat-design-replace-title .wd-entities-title, html .wd-masonry-first .wd-cat:first-child .wd-entities-title {
	text-transform: capitalize;
}
html .wd-single-post-header .title, html .wd-single-post-title .wd-post-title {
	font-size: 40px;
}
html .wd-checkout-steps {
	text-transform: capitalize;
}
:is(.page, .search-no-results, .error404) :is(.wd-page-content, .whb-header) {
	background-color: rgb(235,235,233);
	background-image: none;
	background-repeat: repeat;
	background-size: contain;
	background-attachment: scroll;
	background-position: center center;
}
.woodmart-archive-shop:not(.single-product) :is(.wd-page-content, .whb-header) {
	background-color: rgb(235,235,233);
	background-image: none;
}
.single-product :is(.wd-page-content, .whb-header) {
	background-color: rgb(235,235,233);
	background-image: none;
	background-size: contain;
}
.woodmart-archive-blog :is(.wd-page-content, .whb-header) {
	background-color: rgb(235,235,233);
	background-image: none;
}
.single-post :is(.wd-page-content, .whb-header) {
	background-color: rgb(235,235,233);
	background-image: none;
}
.woodmart-archive-portfolio :is(.wd-page-content, .whb-header) {
	background-color: rgb(235,235,233);
	background-image: none;
}
.single-portfolio :is(.wd-page-content, .whb-header) {
	background-color: rgb(235,235,233);
	background-image: none;
}
.wd-nav-arrows.wd-pos-sep:not(:where(.wd-custom-style)) {
	--wd-arrow-size: 40px;
	--wd-arrow-icon-size: 15px;
	--wd-arrow-offset-h: -20px;
	--wd-arrow-color: rgb(255,255,255);
	--wd-arrow-color-hover: rgb(255,255,255);
	--wd-arrow-color-dis: rgb(255,255,255);
	--wd-arrow-bg: rgb(249,82,40);
	--wd-arrow-bg-hover: rgb(226,73,35);
	--wd-arrow-bg-dis: rgb(249,82,40);
	--wd-arrow-radius: 40px;
}
.wd .product-label.onsale {
	background-color: rgb(39,39,39);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
.woocommerce-product-gallery {
	--wd-gallery-gap: 20px;
}
.wd-builder-off .wd-fbt.wd-design-side {
	--wd-form-width: 260px;
}

@media (max-width: 1024px) {
	html .wd-single-post-header .title, html .wd-single-post-title .wd-post-title {
		font-size: 32px;
	}

}

@media (max-width: 768.98px) {
	html .wd-single-post-header .title, html .wd-single-post-title .wd-post-title {
		font-size: 25px;
	}

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


.wd-page-title {
background-color: rgb(30,211,194);
}

/* =====================================================================
   LIVO — الملف 1 من 3: الأساس (livo-1-core.css)
   ألوان الهوية + الأزرار + كروت المنتجات + الأسعار + صفحة المنتج + المقال
   + تتبع الطلب + النسخة الإنجليزية.
   ركّب هذا الملف أولًا فقط، وتأكد إن الموقع سليم، ثم ركّب 2 ثم 3.
   لا يغيّر: خلفية الصفحة، الهيدر (لونه/موضعه)، الفوتر، خطوط القالب.
   ===================================================================== */

/* ---------- 1) المتغيرات (مأخوذة من اللوجو) ---------- */
:root {
  --lv-navy-950: #000523;
  --lv-navy-900: #02082A;
  --lv-navy-800: #011049;
  --lv-blue:        #0130BA;   /* أزرق كهربائي: أزرار ثانوية، روابط، أسعار */
  --lv-blue-hover:  #0A46E0;
  --lv-lime:  #CAF303;
  --lv-cyan:  #02C6FA;
  --lv-grad:  linear-gradient(135deg, #C8F20A 0%, #4DD54D 40%, #08C7A8 70%, #02C6FA 100%);

  --lv-ink:   #0A1233;         /* عناوين على خلفية فاتحة */
  --lv-text:  #2B3552;
  --lv-muted: #5B6585;
  --lv-line:  #E3E8F3;
  --lv-bg:    #F4F7FD;
  --lv-tint:  #EAF1FF;

  --lv-radius:    14px;
  --lv-shadow:    0 4px 18px rgba(2, 8, 42, .07);
  --lv-glow:      0 8px 28px rgba(1, 48, 186, .16);
  --lv-font: "Cairo", "Tajawal", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* اختياري: ربط متغيرات Woodmart بالهوية (يغيّر اللون الأساسي للقالب كله).
   فعّله في الآخر فقط بعد ما تتأكد إن باقي الموقع تمام، لأنه بيأثر على أي عنصر
   بيستخدم لون القالب (ممكن يخلي عناصر على خلفية داكنة تختفي).
:root:root {
  --wd-primary-color: var(--lv-blue);
  --wd-link-color: var(--lv-blue);
  --wd-link-color-hover: var(--lv-blue-hover);
}
*/

/* ---------- 2) الأساس ---------- */
::selection { background: var(--lv-lime); color: var(--lv-navy-900); }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--lv-blue-hover);
  outline-offset: 3px;
}

/* ---------- 3) القائمة وخط الهيدر (لا نغيّر خلفية الهيدر ولا موضعه) ---------- */
.whb-general-header {
  border-width: 0 0 2px;
  border-style: solid;
  border-image: var(--lv-grad) 1;
}
.whb-stuck .wd-header-main { box-shadow: 0 4px 20px rgba(2, 8, 42, .08); }

.wd-nav > li > a {
  position: relative;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--lv-ink) !important;
  transition: color .2s ease;
}
.wd-nav > li > a::after {
  content: "";
  position: absolute;
  inset: auto 15% 6px;
  height: 2.5px;
  border-radius: 4px;
  background: var(--lv-grad);
  transform: scaleX(0);
  transition: transform .25s ease;
}
.wd-nav > li:hover > a { color: var(--lv-blue) !important; }
.wd-nav > li:hover > a::after,
.wd-nav > li.current-menu-item > a::after { transform: scaleX(1); }

/* ---------- 4) الأزرار الرئيسية (التدرّج) ----------
   نطاق ضيق عمدًا: أزرار كروت المنتجات + الدفع + اشترِ الآن فقط. */
.product-grid-item .add_to_cart_button,
.product-grid-item .product_type_simple,
li.product .add_to_cart_button,
li.product .product_type_simple,
.checkout-button,
.wd-buy-now-btn {
  background: var(--lv-grad) !important;
  color: var(--lv-navy-900) !important;
  border: 0 !important;
  border-radius: 12px !important;
  font-weight: 800 !important;
  cursor: pointer;
  box-shadow: 0 6px 18px -6px rgba(2, 198, 250, .55);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.product-grid-item .add_to_cart_button:hover,
.product-grid-item .product_type_simple:hover,
li.product .add_to_cart_button:hover,
li.product .product_type_simple:hover,
.checkout-button:hover,
.wd-buy-now-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 10px 24px -6px rgba(2, 198, 250, .65);
}
.wd-buy-now-btn:active { transform: scale(.98); }

/* ---------- 5) كروت المنتجات ---------- */
.product-grid-item,
li.product {
  background: #fff;
  border: 1px solid var(--lv-line) !important;
  border-radius: var(--lv-radius) !important;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.product-grid-item:hover,
li.product:hover {
  border-color: rgba(2, 198, 250, .65) !important;
  box-shadow: var(--lv-glow);
}

.product-element-top,
.product-image-link { position: relative; overflow: hidden; }

.product-grid-item img.wp-post-image,
li.product img.wp-post-image {
  width: 100%;
  height: auto !important;
  aspect-ratio: 1 / 1;           /* يمنع قفزة التخطيط (CLS) أثناء تحميل الصور */
  object-fit: contain;
  background: #fff;
}

.wd-entities-title,
.product-grid-item .product-title a {
  font-size: 15px;
  font-weight: 600;
  color: var(--lv-ink) !important;
}
.wd-entities-title a:hover { color: var(--lv-blue) !important; }

.product-grid-item .price {
  color: var(--lv-blue) !important;
  font-size: 17px;
  font-weight: 800;
}
.product-grid-item .price del {
  color: var(--lv-muted) !important;
  font-size: 13px;
  font-weight: 400;
}

/* شارة الخصم: ليموني بنص كحلي، والنسبة مكتوبة فلا نعتمد على اللون وحده */
.product-label.onsale,
.onsale {
  background: var(--lv-lime) !important;
  color: var(--lv-navy-900) !important;
  border-radius: 10px !important;
  font-weight: 800;
}

/* ---------- 6) الأسعار والعملة (ثنائي اللغة) ---------- */
html[lang^="ar"] :is(.woocommerce-Price-amount, .price, .price del, .price ins) {
  direction: rtl;
  unicode-bidi: isolate;
  text-align: right;
}
html[lang^="ar"] .woocommerce-Price-currencySymbol { display: none !important; }
html[lang^="ar"] .woocommerce-Price-amount::after { content: " ج.م" !important; }

html[lang^="en"] :is(.woocommerce-Price-amount, .price, .price del, .price ins) {
  direction: ltr;
  unicode-bidi: isolate;
  text-align: left;
}
html[lang^="en"] .woocommerce-Price-currencySymbol { display: inline !important; }
html[lang^="en"] .woocommerce-Price-amount::after { content: none !important; }

/* السعر في منتصف الكرت (المتجر + الرئيسية + المشابهة) */
.products .product .price,
ul.products li.product .price,
.related .price,
.upsells .price,
.elementor-widget-woocommerce-products .price {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center !important;
  align-items: center;
  gap: 6px;
  width: 100%;
  text-align: center !important;
}

/* ---------- 7) إخفاء المقارنة + عدّاد المشاهدين ---------- */
.wd-compare-btn,
.woodmart-compare-btn,
a.compare,
.product-compare-button { display: none !important; }

.single-product :is([class*="viewing"], [class*="viewers"], [class*="live-view"], [class*="people-view"], [class*="watching"]),
.lpv-box {
  display: flex;
  align-items: center;
  gap: 6px;
  unicode-bidi: plaintext;
}

/* ---------- 8) صفحة المنتج ---------- */
.single-product .main-page-wrapper { background-color: var(--lv-bg); }


.single-product :is(.woocommerce-breadcrumb, .wd-breadcrumbs) {
  font-size: 13px;
  line-height: 1.9;
  color: var(--lv-muted);
}
.single-product :is(.woocommerce-breadcrumb, .wd-breadcrumbs) a { color: var(--lv-muted); text-decoration: none; }
.single-product :is(.woocommerce-breadcrumb, .wd-breadcrumbs) a:hover { color: var(--lv-blue); }

.single-product div.product .summary.entry-summary {
  min-width: 0;
  padding: clamp(18px, 2.5vw, 30px);
  background: #fff;
  border: 1px solid var(--lv-line);
  border-radius: var(--lv-radius);
  box-shadow: var(--lv-shadow);
}

.single-product div.product .product_title {
  margin: 0 0 16px;
  color: var(--lv-ink);
  font-size: clamp(24px, 2.1vw, 34px);
  font-weight: 800;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.single-product .woocommerce-product-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 13px;
}
.single-product .star-rating { color: #E5A100; font-size: 14px; }
.single-product .woocommerce-review-link { color: var(--lv-muted); text-decoration: none; }

.single-product div.product :is(p.price, span.price) {
  display: block;
  margin: 14px 0;
  color: var(--lv-blue);
  font-size: clamp(23px, 2vw, 31px);
  font-weight: 800;
  line-height: 1.5;
  text-align: start;
  font-variant-numeric: tabular-nums;
}
.single-product div.product .price del { margin-inline-end: 8px; color: var(--lv-muted); font-size: .65em; font-weight: 400; }
.single-product div.product .price ins { color: var(--lv-blue); text-decoration: none; }

.single-product .woocommerce-product-details__short-description {
  margin: 20px 0;
  color: var(--lv-text);
  font-size: 15px;
  line-height: 2;
  overflow-wrap: anywhere;
}
.single-product .woocommerce-product-details__short-description :is(ul, ol) {
  margin: 12px 0;
  padding-inline: 23px 0;
}
.single-product .woocommerce-product-details__short-description li { margin-bottom: 7px; }

/* أزرار الشراء: «اشترِ الآن» = التدرّج (القسم 4)، «إضافة إلى السلة» = زر محدد */
.single-product form.cart {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
  margin: 22px 0;
}
.single-product form.cart .quantity { flex: 0 0 100%; margin: 0; }
.single-product form.cart input.qty {
  min-height: 48px;
  background: #fff;
  color: var(--lv-ink);
  border: 1px solid var(--lv-line);
  border-radius: 10px;
}

.single-product .wd-buy-now-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1 1 100%;
  width: 100%;
  min-height: 58px;
  padding: 14px 28px;
  font-size: 19px;
  line-height: 1.2;
}
.single-product form.cart .single_add_to_cart_button {
  flex: 1 1 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--lv-blue) !important;
  background: #fff !important;
  border: 2px solid var(--lv-blue) !important;
  border-radius: 12px !important;
  box-shadow: none;
  transition: background-color .2s ease, color .2s ease;
}
.single-product form.cart .single_add_to_cart_button:hover {
  color: #fff !important;
  background: var(--lv-blue) !important;
}

.single-product div.product .product_meta {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--lv-line);
  color: var(--lv-muted);
  font-size: 13px;
  line-height: 2;
}
.single-product div.product .product_meta a { color: var(--lv-blue); text-decoration: none; }

.single-product .woocommerce-product-gallery { border-radius: var(--lv-radius); overflow: hidden; }
.single-product .woocommerce-product-gallery img { border-radius: 12px; }
.single-product .woocommerce-product-gallery .flex-control-thumbs img { border: 1px solid transparent; }
.single-product .woocommerce-product-gallery .flex-control-thumbs img:hover { border-color: var(--lv-blue); }

/* التبويبات والوصف الكامل */
.single-product .woocommerce-tabs {
  margin-top: 32px;
  padding: clamp(18px, 3vw, 36px);
  background: #fff;
  border: 1px solid var(--lv-line);
  border-radius: var(--lv-radius);
  box-shadow: var(--lv-shadow);
}
.single-product .woocommerce-tabs ul.tabs { margin-bottom: 28px; border-bottom: 1px solid var(--lv-line); }
.single-product .woocommerce-tabs ul.tabs li a {
  color: var(--lv-muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
}
.single-product .woocommerce-tabs ul.tabs li.active a,
.single-product .woocommerce-tabs ul.tabs li a:hover { color: var(--lv-blue); }

.single-product :is(#tab-description, .woocommerce-Tabs-panel--description) {
  color: var(--lv-text);
  font-size: 15px;
  line-height: 2;
  overflow-wrap: anywhere;
}
.single-product :is(#tab-description, .woocommerce-Tabs-panel--description) p { margin: 0 0 18px; }
.single-product :is(#tab-description, .woocommerce-Tabs-panel--description) :is(h1, h2) {
  margin: 30px 0 16px;
  padding-inline-start: 14px;
  border-inline-start: 4px solid var(--lv-cyan);
  color: var(--lv-ink);
  font-size: clamp(21px, 2vw, 27px);
  font-weight: 800;
  line-height: 1.65;
}
.single-product :is(#tab-description, .woocommerce-Tabs-panel--description) h3 {
  margin: 24px 0 12px;
  color: var(--lv-ink);
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 700;
  line-height: 1.7;
}
.single-product :is(#tab-description, .woocommerce-Tabs-panel--description) h4 {
  margin: 20px 0 10px;
  color: var(--lv-ink);
  font-size: 16px;
  font-weight: 700;
}
.single-product :is(#tab-description, .woocommerce-Tabs-panel--description) :is(ul, ol) {
  margin: 14px 0 22px;
  padding-inline: 24px 0;
}
.single-product :is(#tab-description, .woocommerce-Tabs-panel--description) li { margin-bottom: 8px; }
.single-product :is(#tab-description, .woocommerce-Tabs-panel--description) li::marker { color: var(--lv-blue); }

/* جداول المواصفات */
.single-product :is(#tab-description, .woocommerce-Tabs-panel--description) table {
  width: 100%;
  max-width: 100%;
  margin: 22px 0;
  border: 1px solid var(--lv-line);
  border-radius: 12px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.8;
}
.single-product :is(#tab-description, .woocommerce-Tabs-panel--description) :is(th, td) {
  padding: 13px 15px;
  border-bottom: 1px solid var(--lv-line);
  border-inline-start: 1px solid var(--lv-line);
  text-align: start;
  overflow-wrap: anywhere;
}
.single-product :is(#tab-description, .woocommerce-Tabs-panel--description) th {
  background: var(--lv-tint);
  color: var(--lv-ink);
  font-weight: 700;
}
.single-product :is(#tab-description, .woocommerce-Tabs-panel--description) tr:last-child td { border-bottom: 0; }

.single-product .woocommerce-product-attributes { width: 100%; border-collapse: collapse; font-size: 14px; }
.single-product .woocommerce-product-attributes :is(th, td) {
  padding: 12px;
  border-bottom: 1px solid var(--lv-line);
  text-align: start;
}

/* المنتجات المرتبطة (تحميل كسول خارج الشاشة) */
.single-product :is(.related, .up-sells) {
  content-visibility: auto;
  contain-intrinsic-size: auto 520px;
}
.single-product :is(.related, .up-sells) h2 {
  margin-bottom: 24px;
  color: var(--lv-ink);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 800;
  line-height: 1.6;
}
.single-product :is(.related, .up-sells) .product-wrapper {
  background: #fff;
  border: 1px solid var(--lv-line);
  border-radius: 14px;
  overflow: hidden;
}
.single-product :is(.related, .up-sells) .product-element-bottom { padding: 12px 14px 16px; }
.single-product :is(.related, .up-sells) .product-title a { color: var(--lv-ink); font-weight: 700; line-height: 1.8; }

/* ---------- 9) المقال ---------- */
.single-post h1.entry-title,
.single-post .wd-page-title h1,
.single-post .wd-page-title .title,
.single-post h1.title {
  max-width: 900px;
  margin-inline: auto;
  color: var(--lv-ink);
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.55;
  text-wrap: balance;
}
.single-post :is(.wd-post-meta, .entry-meta, .meta-post-categories, .post-date, .vcard) {
  color: var(--lv-muted);
  font-size: 14px;
}
.single-post :is(.wd-post-image img, .post-img-wrapper img, .entry-content img) {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}

.single-post :is(.entry-content, .wd-single-content, .wd-post-content) {
  max-width: 780px;
  margin-inline: auto;
  color: var(--lv-text);
  font-size: 18px;
  line-height: 2;
  overflow-wrap: break-word;
}
.single-post .entry-content p { margin: 0 0 1.4em; }
.single-post .entry-content strong { color: var(--lv-ink); font-weight: 700; }

.single-post .entry-content h2 {
  margin: 2.3em 0 .8em;
  padding-inline-start: 16px;
  border-inline-start: 5px solid var(--lv-cyan);
  color: var(--lv-ink);
  font-size: clamp(23px, 3vw, 30px);
  font-weight: 800;
  line-height: 1.6;
  scroll-margin-top: 110px;       /* لا يختفي العنوان تحت الهيدر عند الضغط على الفهرس */
}
.single-post .entry-content h3 {
  margin: 1.9em 0 .5em;
  color: var(--lv-blue);
  font-size: clamp(19px, 2.4vw, 23px);
  font-weight: 700;
  line-height: 1.7;
  scroll-margin-top: 110px;
}
.single-post .entry-content h4 { margin: 1.6em 0 .4em; color: var(--lv-ink); font-size: 19px; font-weight: 700; }

.single-post .entry-content a {
  color: var(--lv-blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.single-post .entry-content a:hover { color: var(--lv-ink); }

.single-post .entry-content :is(ul, ol) { margin: 0 0 1.7em; padding: 0; list-style: none; }
.single-post .entry-content li { position: relative; margin-bottom: .75em; }
.single-post .entry-content ul > li { padding-inline-start: 28px; }
.single-post .entry-content ul > li::before {
  content: "";
  position: absolute;
  inset-inline-start: 4px;
  top: .9em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lv-cyan);
}
.single-post .entry-content ol { counter-reset: lv; }
.single-post .entry-content ol > li { counter-increment: lv; padding-inline-start: 46px; }
.single-post .entry-content ol > li::before {
  content: counter(lv);
  position: absolute;
  inset-inline-start: 0;
  top: .3em;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--lv-tint);
  color: var(--lv-blue);
  font: 700 15px/30px var(--lv-font);
  text-align: center;
}

.single-post .entry-content table {
  width: 100%;
  margin: 1.9em 0;
  border: 1px solid var(--lv-line);
  border-radius: 14px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  background: #fff;
  font-size: 16px;
  line-height: 1.75;
}
.single-post .entry-content th {
  padding: 14px 16px;
  background: var(--lv-navy-900);
  color: #fff;
  font-weight: 700;
  text-align: start;
  white-space: nowrap;
}
.single-post .entry-content td { padding: 13px 16px; border-top: 1px solid var(--lv-line); vertical-align: top; }
.single-post .entry-content tbody tr:nth-child(even) td { background: var(--lv-bg); }
.single-post .entry-content td:first-child { color: var(--lv-ink); font-weight: 700; }

.single-post .entry-content blockquote {
  margin: 1.8em 0;
  padding: 6px 22px;
  border-inline-start: 4px solid var(--lv-cyan);
  color: var(--lv-ink);
  font-size: 19px;
}

/* صناديق جاهزة: أضف الكلاس من Additional CSS class في Elementor */
.single-post .livo-answer {
  margin: 0 0 2.2em;
  padding: 22px 26px;
  background: var(--lv-tint);
  border: 1px solid #C9DAFF;
  border-inline-start: 6px solid var(--lv-blue);
  border-radius: 14px;
}
.single-post .livo-answer h2 { margin-top: 0; padding: 0; border: 0; font-size: 22px; }
.single-post .livo-formula {
  margin: 1.4em 0;
  padding: 16px 20px;
  background: var(--lv-bg);
  border: 1px dashed #B3BEDB;
  border-radius: 12px;
  color: var(--lv-ink);
  font-size: 19px;
  font-weight: 700;
  text-align: center;
}
.single-post :is(.livo-tip, .livo-warn) { margin: 1.6em 0; padding: 16px 22px; border-radius: 12px; font-size: 17px; line-height: 1.9; }
.single-post .livo-tip { background: #EEF6FF; border-inline-start: 5px solid var(--lv-blue); }
.single-post .livo-warn { background: #FFF7E6; border-inline-start: 5px solid #F0A020; }
.single-post :is(.livo-answer, .livo-tip, .livo-warn) > *:last-child { margin-bottom: 0; }

/* دعوة لإجراء: خلفية كحلية + زر التدرّج (لحظة الهوية في المقال) */
.single-post .livo-cta {
  margin: 2.4em 0;
  padding: 28px 30px;
  background: radial-gradient(70% 120% at 0 50%, rgba(1, 48, 186, .7), transparent 70%), var(--lv-navy-900);
  border-radius: 16px;
  color: #fff;
  text-align: center;
}
.single-post .livo-cta :is(h3, p) { margin-top: 0; color: #fff; }
.single-post .livo-cta a {
  display: inline-block;
  padding: 12px 28px;
  background: var(--lv-grad);
  border-radius: 10px;
  color: var(--lv-navy-900);
  font-weight: 800;
  text-decoration: none;
}
.single-post .livo-cta a:hover { filter: brightness(1.08); color: var(--lv-navy-900); }

.single-post .livo-faq h3 { margin: 1.4em 0 .3em; padding-bottom: .4em; border-bottom: 1px solid var(--lv-line); color: var(--lv-ink); font-size: 20px; }

.single-post :is(.wd-single-author, .author-info) {
  max-width: 780px;
  margin-inline: auto;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--lv-line);
  border-radius: 16px;
}
.single-post :is(.related-posts .title, #reply-title, .comments-area .title) { color: var(--lv-ink); font-weight: 800; }
.single-post :is(.wd-entities-title, .wd-entities-title a) { font-weight: 700; line-height: 1.6; }

/* ---------- 10) تتبع الطلب ---------- */
.woocommerce-form-track-order {
  max-width: 600px;
  margin: 50px auto !important;
  padding: 45px 35px !important;
  background: #fff;
  border: 1px solid var(--lv-line);
  border-radius: 18px;
  box-shadow: var(--lv-glow);
  text-align: center;
}
.woocommerce-form-track-order::before {   /* أيقونة SVG بدل الإيموجي */
  content: "";
  display: block;
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  background: var(--lv-grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 8 12 3 3 8v8l9 5 9-5z'/%3E%3Cpath d='m3 8 9 5 9-5M12 13v8'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 8 12 3 3 8v8l9 5 9-5z'/%3E%3Cpath d='m3 8 9 5 9-5M12 13v8'/%3E%3C/svg%3E") center / contain no-repeat;
}
.woocommerce-form-track-order > p:first-of-type { margin: 0 0 25px !important; color: var(--lv-muted); font-size: 16px; line-height: 1.9; }
.woocommerce-form-track-order .form-row { float: none !important; width: 100% !important; margin: 0 0 18px !important; text-align: start; }
.woocommerce-form-track-order label { display: block; margin-bottom: 8px; color: var(--lv-ink); font-weight: 700; }
.woocommerce-form-track-order :is(input[type="text"], input[type="email"]) {
  width: 100% !important;
  box-sizing: border-box;
  padding: 14px 16px !important;
  background: var(--lv-bg);
  border: 2px solid var(--lv-line) !important;
  border-radius: 12px !important;
  font-size: 15px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.woocommerce-form-track-order input:focus {
  outline: none;
  background: #fff;
  border-color: var(--lv-blue) !important;
  box-shadow: 0 0 0 4px rgba(1, 48, 186, .14);
}
.woocommerce-form-track-order button[type="submit"] {
  width: 100%;
  margin-top: 8px;
  padding: 15px !important;
  background: var(--lv-grad) !important;
  color: var(--lv-navy-900) !important;
  border: 0 !important;
  border-radius: 12px !important;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 18px -6px rgba(2, 198, 250, .55);
}
.woocommerce-order-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  max-width: 700px;
  margin: 30px auto !important;
  padding: 22px !important;
  background: var(--lv-tint);
  border: 1px solid #C9DAFF;
  border-radius: 14px;
  list-style: none !important;
}
table.order_details { border: 1px solid var(--lv-line) !important; border-radius: 14px; overflow: hidden; }
:is(.woocommerce-message, .woocommerce-error, .woocommerce-info) { border-radius: 12px !important; }

/* ---------- 11) كلاسات اختيارية داخل Elementor ---------- */
.neo-title { position: relative; display: inline-block; padding-bottom: 14px; }
.neo-title::after {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  width: 72px;
  height: 4px;
  border-radius: 4px;
  background: var(--lv-grad);
}
.neo-grad-text {                      /* أزرق ← سماوي: مقروء على الخلفية الفاتحة */
  background: linear-gradient(90deg, var(--lv-blue), #029BE0);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- 12) النسخة الإنجليزية (LTR) ---------- */
html[lang^="en"] body { direction: ltr; text-align: left; overflow-x: clip; }
html[lang^="en"] :is(.whb-header, .wd-header-main, .wd-nav, .footer-container, .main-page-wrapper, .product-grid-item, .single-product .summary, .single-product .woocommerce-tabs, .woocommerce-product-gallery) {
  direction: ltr;
  text-align: left;
}
html[lang^="en"] :is(h1, h2, h3, h4) { direction: ltr; text-align: left; line-height: 1.35; overflow-wrap: anywhere; }
html[lang^="en"] .product-grid-item .product-title { min-height: 3em; line-height: 1.5; overflow-wrap: anywhere; }
html[lang^="en"] .product-grid-item .button { max-width: 100%; white-space: normal; line-height: 1.4; }
html[lang^="en"] :is(.button, .btn, button, .single_add_to_cart_button) { direction: ltr; text-align: center; box-sizing: border-box; }
html[lang^="en"] .single-product .summary .price { font-size: 25px; font-weight: 700; }
html[lang^="en"] .single-product .product_title { line-height: 1.35; }
html[lang^="en"] .single-product :is(.single_add_to_cart_button, .wd-buy-now-btn) { white-space: normal; }
html[lang^="en"] .lpv-box { direction: ltr !important; text-align: left !important; }

/* ---------- 13) الموبايل ---------- */
@media (max-width: 767px) {
  .single-product .main-page-wrapper { background: #fff; }
  .single-product div.product .summary.entry-summary,
  .single-product .woocommerce-tabs { padding: 18px 15px; border-radius: 12px; box-shadow: none; }
  .single-product div.product .product_title { margin-bottom: 12px; font-size: 23px; line-height: 1.6; }
  .single-product div.product :is(p.price, span.price) { font-size: 25px; }
  .single-product :is(.woocommerce-product-details__short-description, #tab-description, .woocommerce-Tabs-panel--description) { font-size: 14px; line-height: 1.95; }
  .single-product :is(#tab-description, .woocommerce-Tabs-panel--description) table { font-size: 13px; }
  .single-product :is(#tab-description, .woocommerce-Tabs-panel--description) :is(th, td) { padding: 10px 8px; }
  .single-product .wd-buy-now-btn { min-height: 56px; font-size: 18px; border-radius: 12px; }
  .single-product form.cart .single_add_to_cart_button { min-height: 50px; font-size: 15px; }

  .single-post :is(.entry-content, .wd-single-content, .wd-post-content) { font-size: 17px; line-height: 1.95; }
  .single-post .entry-content h2 { padding-inline-start: 12px; border-inline-start-width: 4px; }
  .single-post :is(.livo-answer, .livo-cta) { padding: 18px; }
  .single-post .entry-content table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .single-post .entry-content td { min-width: 150px; }

  html[lang^="en"] .product-grid-item .product-title { min-height: 0; font-size: 13px; }
  html[lang^="en"] .product-grid-item .button { width: 100%; padding: 10px 8px; font-size: 12px; }
  html[lang^="en"] h1 { font-size: clamp(24px, 6vw, 34px); }
  html[lang^="en"] h2 { font-size: clamp(21px, 5vw, 28px); }
}

@media (min-width: 768px) {
  .single-product form.cart :is(.wd-buy-now-btn, .single_add_to_cart_button) {
    flex: 1 1 calc(50% - 6px);
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
/* =====================================================================
   LIVO — الملف 2 من 3: الخلفية المتحركة (livo-2-background.css)
   مستقل تمامًا (لا يعتمد على الملف 1). لو حصلت مشكلة: احذفه وحده.
   الحركة على transform فقط. على الموبايل طبقة واحدة، وتتوقف مع reduced-motion.
   ===================================================================== */

html { background: #F4F7FD; }

/* حاويات القالب شفافة عشان الخلفية تظهر (بدونها بتغطيها خلفيات القالب) */
body,
.website-wrapper,
.main-page-wrapper { background: transparent !important; }

html::before,
body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  will-change: transform;
}
body::before {
  width: 58vmax; height: 58vmax;
  top: -20vmax; left: -16vmax;
  background: radial-gradient(circle, rgba(1, 48, 186, .26) 0%, transparent 65%);
  animation: lvDrift1 26s ease-in-out infinite alternate;
}
body::after {
  width: 50vmax; height: 50vmax;
  bottom: -18vmax; right: -12vmax;
  background: radial-gradient(circle, rgba(2, 198, 250, .28) 0%, transparent 65%);
  animation: lvDrift2 32s ease-in-out infinite alternate;
}
html::before {
  width: 34vmax; height: 34vmax;
  top: 38vh; right: 6vw;
  background: radial-gradient(circle, rgba(202, 243, 3, .22) 0%, transparent 65%);
  animation: lvDrift3 38s ease-in-out infinite alternate;
}
@keyframes lvDrift1 { to { transform: translate3d(10vmax, 8vmax, 0) scale(1.15); } }
@keyframes lvDrift2 { to { transform: translate3d(-9vmax, -7vmax, 0) scale(1.12); } }
@keyframes lvDrift3 { to { transform: translate3d(-12vmax, 10vmax, 0) scale(1.25); } }

@media (max-width: 767px) {
  body::after, html::before { display: none; }
  body::before { animation-duration: 40s; }
}
@media (prefers-reduced-motion: reduce) {
  html::before, body::before, body::after { animation: none; }
}

/* قسم في Elementor له خلفية بيضاء بيغطي الحركة؟ أضف له الكلاس lv-transparent */
.lv-transparent { background: transparent !important; }

/* قسم بخلفية الهوية + نفس الحركة داخله (هيرو / عروض): أضف له الكلاس lv-dark */
.lv-dark {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #E6EBFA;
  background: linear-gradient(180deg, #02082A, #000523);
}
.lv-dark::before,
.lv-dark::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  aspect-ratio: 1;
  border-radius: 50%;
  will-change: transform;
}
.lv-dark::before {
  width: 62%; top: -35%; left: -12%;
  background: radial-gradient(circle, rgba(1, 48, 186, .55), transparent 65%);
  animation: lvDrift1 22s ease-in-out infinite alternate;
}
.lv-dark::after {
  width: 48%; bottom: -30%; right: -10%;
  background: radial-gradient(circle, rgba(2, 198, 250, .30), transparent 65%);
  animation: lvDrift2 28s ease-in-out infinite alternate;
}
.lv-dark :is(h1, h2, h3, h4, h5, h6) { color: #fff; }
.lv-dark a:not([class]) { color: #02C6FA; }
@media (max-width: 767px) { .lv-dark::after { display: none; } }
@media (prefers-reduced-motion: reduce) { .lv-dark::before, .lv-dark::after { animation: none; } }

/* اختياري: هيدر شبه شفاف لتظهر الحركة خلفه. تحذير: مع الهيدر الثابت (sticky)
   سيظهر محتوى الصفحة من تحته، فجرّبه على الموبايل أولًا.
.whb-general-header-inner { background: rgba(255, 255, 255, .84) !important; }
*/
/* =====================================================================
   LIVO — الملف 3 من 3: الفوتر (livo-3-footer.css)
   مستقل (لا يعتمد على الملف 1). لو حصلت مشكلة: احذفه وحده.
   لا يغيّر position ولا overflow للفوتر (عشان لا يكسر الفوتر الثابت/الأيقونات
   العائمة). ألوان النص محدودة: الروابط والعناوين فقط بـ !important.
   لو ظهر نص غير مقروء، ابعتلي HTML الفوتر وأضبطه بدقة.
   ===================================================================== */
.footer-container {
  color: #C5CFEE;
  border-top: 3px solid transparent;
  border-image: linear-gradient(135deg, #C8F20A 0%, #4DD54D 40%, #08C7A8 70%, #02C6FA 100%) 1;
  background:
    radial-gradient(55% 120% at 0 30%, rgba(1, 48, 186, .62), transparent 70%),
    radial-gradient(45% 90% at 100% 100%, rgba(2, 198, 250, .14), transparent 70%),
    linear-gradient(180deg, #02082A, #000523) !important;
}
.footer-container :is(.main-footer, .footer-sidebar-wrapper) { background: transparent !important; }

.footer-container :is(p, li, span, small, address, label) { color: #C5CFEE; }
.footer-container :is(h1, h2, h3, h4, h5, h6, .widget-title, .title) {
  color: #fff !important;
  font-weight: 800;
}
.footer-container a {
  color: #C5CFEE !important;
  text-decoration: none;
  transition: color .2s ease;
}
.footer-container a:hover { color: #02C6FA !important; }

.footer-container :is(hr, .elementor-divider-separator) { border-color: rgba(255, 255, 255, .12) !important; }
.footer-container :is(input, textarea) {
  background: rgba(255, 255, 255, .08) !important;
  border: 1px solid rgba(255, 255, 255, .18) !important;
  color: #fff !important;
  border-radius: 10px;
}

/* السوشيال: دوائر زجاجية، وعند المرور تدرّج الهوية */
.footer-container :is(.wd-social-icons, .social-icons) a,
.footer-container .wd-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, .08) !important;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  color: #fff !important;
  transition: background-color .2s ease;
}
.footer-container :is(.wd-social-icons, .social-icons) a:hover,
.footer-container .wd-social-icon:hover {
  background: linear-gradient(135deg, #C8F20A, #4DD54D 40%, #08C7A8 70%, #02C6FA) !important;
  color: #02082A !important;
}

/* زر واتساب الكبير (الرابط اللي فيه رسالة جاهزة) */
.footer-container a[href*="wa.me"][href*="text="],
.footer-container a[href*="wa.me"][href*="text="] * { color: #02082A !important; }
.footer-container a[href*="wa.me"][href*="text="] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  background: linear-gradient(135deg, #C8F20A 0%, #4DD54D 40%, #08C7A8 70%, #02C6FA 100%) !important;
  border-radius: 14px;
  font-weight: 800;
}

/* الشريط السفلي */
.footer-container .copyrights-wrapper {
  background: rgba(0, 5, 35, .65) !important;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.footer-container .copyrights-wrapper * { color: #9FAAD0 !important; }

