/* ==========================================================================
   Lamease Medical — تحسينات مخصصة (الخط العربي + الشريط العلوي + اتجاه RTL)
   ========================================================================== */

/* ====== ألوان الهوية المستخرجة من الشعار ======
   الأساسي: أزرق سماوي #00ADEF — الداكن: نيلي #19343F */
:root {
   --it-theme-1: #00ADEF !important;   /* اللون الأساسي للموقع = لون الشعار */
   --lm-primary: #00ADEF;
   --lm-dark: #19343F;
}

/* تطبيق اللون الأساسي على العناصر التي قد تستخدم لونًا ثابتًا */
.it-btn-theme,
.it-shop-badge.theme,
.theme-bg { background-color: var(--lm-primary) !important; }

.it-section-subtitle,
.it-shop-content .it-shop-ammount,
.it-footer-list ul li a:hover,
.it-header-main-menu > nav > ul > li > a:hover,
a.hover-anim:hover { color: var(--lm-primary) !important; }

.it-btn-border { border-color: var(--lm-primary) !important; color: var(--lm-primary) !important; }
.it-btn-border:hover { background: var(--lm-primary) !important; color: #fff !important; }

/* الجزء المائل خلف الشعار = أبيض ليندمج الشعار (خلفيته بيضاء) بلا إطار ظاهر */
.it-main-logo::before { background-color: #ffffff !important; box-shadow: 2px 0 14px rgba(0, 0, 0, .10); }

/* الشعار بلا بطاقة/إطار — يجلس مباشرة على الجزء الأبيض + منع القصّ عند التمرير */
.it-main-logo { padding-top: 6px !important; padding-bottom: 6px !important; align-items: center !important; }
.it-main-logo a {
   background: transparent;
   border-radius: 0;
   padding: 0;
   display: inline-flex;
   align-items: center;
   box-shadow: none;
   line-height: 0;
}
/* حجم الشعار: كبير وواضح لكن ضمن ارتفاع الهيدر (لا يخرج من الإطار في أي لغة) */
.it-main-logo img { max-height: 118px !important; width: auto !important; }
@media (min-width: 1400px) { .it-main-logo img { max-height: 128px !important; } }
@media (min-width: 1200px) and (max-width: 1399px) { .it-main-logo img { max-height: 100px !important; } }
@media (min-width: 992px) and (max-width: 1199px) { .it-main-logo img { max-height: 92px !important; } }
/* في وضع التثبيت (sticky) عند النزول يصغر الهيدر: ارتفاع مناسب يمنع القصّ */
.header-sticky .it-main-logo img { max-height: 60px !important; }

/* ----- الخطوط: Poppins للإنجليزية + Cairo للعربية ----- */
body,
.it-btn-theme, .it-section-title, .it-hero-title, .lm-hero__title,
h1, h2, h3, h4, h5, h6, p, a, span, li, button, input, textarea, select {
   font-family: 'Poppins', 'Cairo', sans-serif;
}

html[lang="ar"] body,
html[lang="ar"] p,
html[lang="ar"] a,
html[lang="ar"] span,
html[lang="ar"] li,
html[lang="ar"] button,
html[lang="ar"] input,
html[lang="ar"] textarea,
html[lang="ar"] select,
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ar"] h5,
html[lang="ar"] h6,
html[lang="ar"] .it-section-title,
html[lang="ar"] .it-hero-title,
html[lang="ar"] .it-btn-theme,
html[lang="ar"] .it-shop-title,
html[lang="ar"] .it-categori-title,
html[lang="ar"] .lm-hero__title,
html[lang="ar"] .lm-cat-title {
   font-family: 'Cairo', sans-serif !important;
}

html[lang="ar"] body {
   font-size: 16px;
   line-height: 1.9;
}
html[lang="ar"] p { line-height: 1.95; }
html[lang="ar"] .it-section-title { line-height: 1.5; }
html[lang="ar"] .it-hero-title { line-height: 1.6; }

/* ==========================================================================
   الشريط العلوي (Top bar) — تنظيم بالـ flex في اللغتين
   ========================================================================== */
/* رفع الشريط العلوي فوق الشعار المطلق ليكون قابلًا للنقر */
.lm-topbar { padding: 8px 0; position: relative; z-index: 6; }

.lm-topbar-flex {
   display: flex;
   align-items: center;
   justify-content: space-between;
   flex-wrap: wrap;
   gap: 10px 24px;
   position: relative;
   z-index: 6;
}

/* في الوضع العربي (RTL): إبعاد اللغة والأيقونات عن الشعار (يسار) إلى اليمين */
[dir="rtl"] .lm-topbar-flex { flex-direction: row-reverse; }

.lm-topbar-info {
   display: flex;
   align-items: center;
   flex-wrap: wrap;
   gap: 8px 22px;
}

.lm-topbar-item {
   display: inline-flex;
   align-items: center;
   gap: 8px;
   font-size: 14px;
   line-height: 1;
   color: #fff !important;
   white-space: nowrap;
   transition: opacity .2s ease;
}
.lm-topbar-item:hover { opacity: .8; }
.lm-topbar-item i { font-size: 15px; opacity: .85; }

.lm-topbar-right {
   display: flex;
   align-items: center;
   gap: 18px;
}
.lm-topbar-cart { position: relative; display: inline-flex; align-items: center; }
.lm-topbar-cart .lm-cart-count {
   position: absolute;
   top: -10px;
   inset-inline-end: -11px;
   background: var(--lm-primary, #00ADEF);
   color: #fff;
   font-size: 10px;
   font-weight: 700;
   min-width: 17px;
   height: 17px;
   padding: 0 4px;
   border-radius: 10px;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   line-height: 1;
   border: 2px solid var(--it-common-black-2, #00102F);
}

/* أيقونات التواصل الاجتماعي — دوائر متناسقة */
.lm-topbar-social {
   display: inline-flex;
   align-items: center;
   gap: 8px;
}
.lm-topbar-social a {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   width: 32px;
   height: 32px;
   padding: 0;
   border-radius: 50%;
   border: 1px solid rgba(255, 255, 255, .25);
   color: #fff;
   font-size: 13px;
   line-height: 1;
   text-align: center;
   transition: all .25s ease;
   overflow: hidden;
}
/* تمركز مضمون: الأيقونة نفسها حاوية flex تملأ الدائرة */
.lm-topbar-social a i {
   display: flex;
   align-items: center;
   justify-content: center;
   width: 100%;
   height: 100%;
   line-height: 1;
   margin: 0;
   font-size: 13px;
   font-style: normal;
}
.lm-topbar-social a:hover {
   background: var(--it-theme-1, #1c89e9);
   border-color: var(--it-theme-1, #1c89e9);
   color: #fff;
}

/* تمركز أيقونات التواصل في الفوتر داخل دوائرها */
.it-footer-social a {
   display: inline-flex !important;
   align-items: center;
   justify-content: center;
   text-align: center;
}
.it-footer-social a i {
   display: flex;
   align-items: center;
   justify-content: center;
   width: 100%;
   height: 100%;
   line-height: 1;
}

/* زر تبديل اللغة */
.lm-topbar-lang {
   display: inline-flex;
   align-items: center;
   gap: 6px;
   font-size: 14px;
   font-weight: 600;
   color: #fff !important;
   padding: 5px 14px;
   border: 1px solid rgba(255, 255, 255, .3);
   border-radius: 20px;
   transition: all .25s ease;
   white-space: nowrap;
}
.lm-topbar-lang:hover {
   background: var(--it-theme-1, #1c89e9);
   border-color: var(--it-theme-1, #1c89e9);
   color: #fff !important;
}

@media (max-width: 575px) {
   .lm-topbar-flex { justify-content: center; }
   .lm-topbar-info { justify-content: center; }
   .lm-topbar-item span:not([dir]) { display: none; } /* إبقاء الأيقونات على الجوال */
}

/* إخفاء قائمة "Home" المنسدلة الضخمة (صور التنويعات) — غير لازمة لمتجر */
.it-header-main-menu .has-home-img,
.it-submenu.has-home-img { display: none !important; }
.it-header-main-menu .has-dropdown.p-static > a::after { display: none !important; }

/* القائمة الرئيسية: مسافات متناسقة بين العناصر */
.it-header-main-menu > nav > ul > li > a { font-weight: 600; line-height: 1.9; }

/* ==========================================================================
   تصحيحات اتجاه RTL (القالب مصمّم أساسًا LTR)
   ========================================================================== */
[dir="rtl"] .it-header-main-menu ul,
[dir="rtl"] .it-menu-content ul { padding-right: 0; }

[dir="rtl"] .it-header-main-menu > nav > ul > li { margin-left: 0; margin-right: 28px; }
[dir="rtl"] .it-header-main-menu > nav > ul > li:first-child { margin-right: 0; }

[dir="rtl"] .it-submenu.submenu { text-align: right; right: 0; left: auto; }

[dir="rtl"] .it-breadcrumb-list,
[dir="rtl"] .it-footer-list ul,
[dir="rtl"] .it-about-list ul { text-align: right; }

[dir="rtl"] .it-footer-list ul li a i,
[dir="rtl"] .it-about-list ul li i { margin-left: 8px; margin-right: 0; }

[dir="rtl"] .it-shop-price del { margin-right: 8px; margin-left: 0; }

[dir="rtl"] .it-contact__list { text-align: right; }
[dir="rtl"] .it-contact__icon { margin-left: 15px; margin-right: 0; }

/* مواءمة أزرار الـ theme داخل RTL */
[dir="rtl"] .it-btn-theme i { margin-left: 6px; margin-right: 0; }

/* ==========================================================================
   عناوين الأقسام — توحيد احترافي ومتجاوب في جميع الأجهزة
   ========================================================================== */
.it-section-subtitle {
   display: inline-flex !important;
   align-items: center;
   gap: 10px;
   font-weight: 700 !important;
   font-size: clamp(13px, 1.4vw, 16px) !important;
   color: var(--lm-primary) !important;
   text-transform: none !important;
   padding-bottom: 14px !important;
   line-height: 1;
   letter-spacing: 0;
}
.it-section-subtitle::before {
   content: "";
   width: 28px;
   height: 2px;
   background: var(--lm-primary);
   opacity: .55;
   display: inline-block;
   flex: 0 0 auto;
}
/* في الصناديق الموسّطة يظهر خطّان متناظران */
.text-center .it-section-subtitle::after {
   content: "";
   width: 28px;
   height: 2px;
   background: var(--lm-primary);
   opacity: .55;
   display: inline-block;
   flex: 0 0 auto;
}
.it-section-title {
   font-weight: 800 !important;
   font-size: clamp(26px, 3.4vw, 40px) !important;
   line-height: 1.4 !important;
   color: #19343F !important;
   margin-bottom: 0 !important;
}

/* تصحيح موضع شعار الهيدر: دائمًا فوق الشكل المائل (يسار) في اللغتين */
[dir="ltr"] .it-main-logo { justify-content: flex-start !important; }
[dir="rtl"] .it-main-logo { justify-content: flex-end !important; }

/* أزرار الهيرو: متساوية وأصغر حجمًا */
.it-hero-button .it-btn-theme,
.it-hero-button .it-btn-border {
   min-width: 170px;
   text-align: center;
   justify-content: center;
   padding: 14px 26px !important;
   font-size: 15px !important;
   height: auto;
   line-height: 1.2;
}
.it-hero-button.d-inline-flex { gap: 14px; }

/* ==========================================================================
   الهيرو (الصفحة الرئيسية) — تصميم احترافي بخلفية معدات + طبقة هوية
   ========================================================================== */
.lm-hero {
   position: relative;
   background-size: cover;
   background-position: center;
   min-height: 620px;
   display: flex;
   align-items: center;
   overflow: hidden;
}
.lm-hero__overlay {
   position: absolute;
   inset: 0;
   background: linear-gradient(90deg, rgba(0, 16, 47, .93) 0%, rgba(0, 16, 47, .80) 42%, rgba(0, 16, 47, .30) 100%);
}
[dir="rtl"] .lm-hero__overlay {
   background: linear-gradient(270deg, rgba(0, 16, 47, .93) 0%, rgba(0, 16, 47, .80) 42%, rgba(0, 16, 47, .30) 100%);
}
.lm-hero .container { position: relative; z-index: 2; }
.lm-hero__inner { display: flex; }
.lm-hero__content { max-width: 640px; color: #fff; padding: 40px 0; }
.lm-hero__badge {
   display: inline-flex;
   align-items: center;
   gap: 12px;
   background: none;
   border: none;
   padding: 0;
   color: #6fd3ff;
   font-weight: 700;
   font-size: 16px;
   letter-spacing: .5px;
   margin-bottom: 20px;
}
.lm-hero__badge::before {
   content: "";
   width: 36px;
   height: 2px;
   background: var(--lm-primary, #00ADEF);
   display: inline-block;
}
.lm-hero__title {
   color: #fff;
   font-weight: 800;
   font-size: clamp(30px, 4.2vw, 52px);
   line-height: 1.45;
   margin-bottom: 20px;
}
.lm-hero__text {
   color: rgba(255, 255, 255, .85);
   font-size: clamp(16px, 1.4vw, 19px);
   line-height: 1.95;
   margin-bottom: 34px;
   max-width: 545px;
}
.lm-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.lm-hero__btn {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   padding: 15px 36px;
   border-radius: 10px;
   font-weight: 700;
   font-size: 16px;
   transition: transform .28s ease, background .28s ease, color .28s ease, border-color .28s ease;
}
.lm-hero__btn--primary { background: var(--lm-primary, #00ADEF); color: #fff; }
.lm-hero__btn--primary:hover { background: #fff; color: #00102F; transform: translateY(-3px); }
.lm-hero__btn--outline { border: 2px solid rgba(255, 255, 255, .55); color: #fff; }
.lm-hero__btn--outline:hover { background: #fff; color: #00102F; border-color: #fff; transform: translateY(-3px); }
@media (max-width: 767px) {
   .lm-hero { min-height: 460px; text-align: center; }
   .lm-hero__overlay, [dir="rtl"] .lm-hero__overlay { background: rgba(0, 16, 47, .86); }
   .lm-hero__inner { justify-content: center; }
   .lm-hero__content { padding: 50px 4px; max-width: 100%; }
   .lm-hero__badge { justify-content: center; }
   .lm-hero__title { font-size: clamp(24px, 6.6vw, 32px); }
   .lm-hero__text { font-size: 15px; line-height: 1.85; margin-bottom: 26px; }
   .lm-hero__actions { justify-content: center; }
   .lm-hero__btn { padding: 13px 24px; font-size: 15px; }
}

/* إصلاح الـ Loader: توسيط تام (بلا !important حتى لا يمنع إخفاءه عبر fadeOut) */
#preloader {
   display: flex;
   align-items: center;
   justify-content: center;
}
#preloader .preloader {
   position: relative;
   top: auto;
   left: auto;
   right: auto;
   margin: 0;
}

/* الهيرو كسلايدر تلقائي — تبدّل الصورة والنصوص، والأزرار ثابتة، بلا أسهم */
.lm-hero--slider { position: relative; }
.lm-hero__bgs { position: absolute; inset: 0; z-index: 0; }
.lm-hero__bg {
   position: absolute;
   inset: 0;
   background-size: cover;
   background-position: center;
   opacity: 0;
   transition: opacity 1.1s ease;
}
.lm-hero__bg.is-active { opacity: 1; }
.lm-hero--slider .lm-hero__overlay { z-index: 1; }
.lm-hero--slider .container { position: relative; z-index: 2; }
.lm-hero__texts { position: relative; }
.lm-hero__text-slide {
   position: absolute;
   top: 0;
   inset-inline-start: 0;
   width: 100%;
   opacity: 0;
   visibility: hidden;
   transform: translateY(18px);
   transition: opacity .7s ease, transform .7s ease;
}
.lm-hero__text-slide.is-active {
   position: relative;
   opacity: 1;
   visibility: visible;
   transform: none;
}
.lm-hero__dots {
   position: absolute;
   bottom: 26px;
   left: 0;
   right: 0;
   z-index: 3;
   display: flex;
   justify-content: center;
   gap: 10px;
}
.lm-hero__dot {
   width: 11px;
   height: 11px;
   padding: 0;
   border-radius: 50%;
   border: 2px solid rgba(255, 255, 255, .65);
   background: transparent;
   cursor: pointer;
   transition: width .3s ease, background .3s ease, border-color .3s ease, border-radius .3s ease;
}
.lm-hero__dot.is-active {
   background: var(--lm-primary, #00ADEF);
   border-color: var(--lm-primary, #00ADEF);
   width: 28px;
   border-radius: 6px;
}

/* ==========================================================================
   إصلاح القوائم المنسدلة (nice-select) خارج قسم التواصل — الثيم قصر أنماطها
   على .it-contact-select فقط، فكانت فلاتر المنتجات تظهر مكسورة/تملأ الصفحة
   ========================================================================== */
.nice-select {
   position: relative;
   box-sizing: border-box;
   display: block;
   width: 100%;
   height: 50px;
   line-height: 48px;
   padding: 0 18px;
   background: #fff;
   border: 1px solid #e2e6ee;
   border-radius: 10px;
   font-size: 14px;
   color: #19343F;
   cursor: pointer;
   user-select: none;
}
.nice-select .current { display: block; }
.nice-select .list { width: 100%; max-height: 260px; overflow-y: auto; }
.nice-select .option { line-height: 40px; min-height: 40px; }
[dir="rtl"] .nice-select { text-align: right; padding: 0 18px; }
[dir="rtl"] .nice-select::after { right: auto; left: 18px; }
[dir="rtl"] .nice-select .list { right: 0; left: auto; }
[dir="rtl"] .nice-select .option { text-align: right; }
/* الأنماط المقصورة على التواصل تبقى كما هي (أكثر تحديدًا فتتغلّب) */

/* أزرار أسهم آراء العملاء عند التوسيط */
.it-testimonial-arrow-box.text-center { display: flex; justify-content: center; gap: 12px; }
/* مسافة سفلية موحّدة لصناديق العناوين */
.it-categori-title-box { margin-bottom: 45px !important; }
/* مسافة تحت عناوين أقسام المنتجات وآراء العملاء */
.it-shop-title-box { margin-bottom: 45px; }

/* تساوي بطاقات آراء العملاء داخل السلايدر */
.it-testimonial-2-active .swiper-slide { height: auto; }
.it-testimonial-item { height: 100%; }

/* ==========================================================================
   منطقة العناوين (Breadcrumb) — صورة عالية الجودة + طبقة بلون الهوية + نص واضح
   ========================================================================== */
.it-breadcrumb-area.it-breadcrumb-bg {
   position: relative;
   background-position: center !important;
   background-size: cover !important;
}
.it-breadcrumb-area.it-breadcrumb-bg::before {
   content: "";
   position: absolute;
   inset: 0;
   z-index: 1;
   background: linear-gradient(110deg, rgba(0, 16, 47, .90) 0%, rgba(8, 42, 76, .74) 55%, rgba(0, 173, 239, .38) 100%);
}
.it-breadcrumb-area .it-breadcrumb-shape-1 { z-index: 2; opacity: .35; }
.it-breadcrumb-content { position: relative; z-index: 3; }
.it-breadcrumb-title {
   color: #ffffff !important;
   font-weight: 800 !important;
   font-size: clamp(30px, 4vw, 46px) !important;
   line-height: 1.35 !important;
   letter-spacing: 0;
   text-shadow: 0 2px 14px rgba(0, 0, 0, .30);
   margin-bottom: 12px;
}
.it-breadcrumb-list { display: inline-flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.it-breadcrumb-list span a { color: rgba(255, 255, 255, .72); font-weight: 500; transition: color .2s ease; }
.it-breadcrumb-list span a:hover { color: #fff; }
.it-breadcrumb-list .dvdr { color: rgba(255, 255, 255, .40); }
.it-breadcrumb-list i { color: #ffffff; font-style: normal; font-weight: 700; }

/* قسم الخدمات: مسافة واضحة بين الأيقونة والنص + تصحيح الإزاحة (stagger) في RTL */
.it-service-5-icon { margin-bottom: 16px; }
[dir="rtl"] .it-service-5-item.item-style-2 { margin-left: 0; margin-right: 35px; }
[dir="rtl"] .it-service-5-item.item-style-3 { margin-left: 0; margin-right: 75px; }
/* محاذاة نصوص الخدمات لليمين في العربية (تتغلّب على text-lg-start الخاص بـ Bootstrap) */
@media (min-width: 992px) {
   html[lang="ar"] .it-service-5-item.text-lg-start,
   html[lang="ar"] .it-service-5-item.text-lg-start .it-service-5-content { text-align: right !important; }
}


/* ==========================================================================
   قسم تصنيفات المنتجات — بطاقات أنيقة متجاوبة
   ========================================================================== */
/* ==========================================================================
   قسم تصنيفات المنتجات — أبيض (فصل عن الهيرو) وبطاقات كبطاقات المنتجات، بلا Hover
   ========================================================================== */
.lm-catx-area { background: #ffffff; padding: 100px 0 90px; }
.lm-catx {
   display: flex;
   flex-direction: column;
   align-items: center;
   text-align: center;
   height: 100%;
   padding: 26px 12px 22px;
   background: #fff;
   border: 1px solid #eceef3;
   border-radius: 14px;
   text-decoration: none;
   transition: border-color .25s ease, box-shadow .25s ease;
}
.lm-catx:hover { border-color: #d5e9f6; box-shadow: 0 8px 22px rgba(0, 16, 47, .06); }
.lm-catx__thumb {
   width: 66px;
   height: 66px;
   border-radius: 50%;
   background: linear-gradient(135deg, #eaf6fe 0%, #f4f8fb 100%);
   display: flex;
   align-items: center;
   justify-content: center;
   margin-bottom: 15px;
}
.lm-catx__thumb i { font-size: 28px; color: var(--lm-primary, #00ADEF); line-height: 1; }
.lm-catx__title { font-size: 15px; font-weight: 700; color: #19343F; line-height: 1.4; margin-bottom: 4px; }
.lm-catx__count { font-size: 12.5px; color: #8a94a6; }
@media (max-width: 575px) {
   .lm-catx-area { padding: 64px 0 48px; }
   .lm-catx { padding: 20px 8px 16px; }
   .lm-catx__thumb { width: 56px; height: 56px; margin-bottom: 12px; }
   .lm-catx__thumb i { font-size: 24px; }
   .lm-catx__title { font-size: 13.5px; }
}
/* رابط "تصفّح كل المنتجات" — بأسلوب بادج الهيرو (خط + نص أنيق) */
.lm-browse-link {
   display: inline-flex;
   align-items: center;
   gap: 12px;
   color: var(--lm-primary, #00ADEF);
   font-weight: 700;
   font-size: 16px;
   letter-spacing: .3px;
   text-decoration: none;
   transition: color .25s ease;
}
.lm-browse-link::before {
   content: "";
   width: 34px;
   height: 2px;
   background: var(--lm-primary, #00ADEF);
   display: inline-block;
   transition: width .25s ease;
}
.lm-browse-link i { font-size: 14px; transition: transform .25s ease; }
.lm-browse-link:hover { color: #19343F; }
.lm-browse-link:hover::before { width: 48px; background: #19343F; }
.lm-browse-link:hover i { transform: translateX(-5px); }
[dir="ltr"] .lm-browse-link i { display: inline-block; transform: rotate(180deg); }
[dir="ltr"] .lm-browse-link:hover i { transform: rotate(180deg) translateX(-5px); }

/* ==========================================================================
   الأسئلة الشائعة — تصحيح الاتجاه لكل لغة (RTL للعربية)
   ========================================================================== */
[dir="rtl"] .it-custom-accordion .accordion-buttons {
   text-align: right;
   padding: 20px 45px 20px 70px;   /* الرقم يمين (45) والأيقونة يسار (70) */
}
[dir="rtl"] .it-custom-accordion .accordion-buttons i { left: auto; right: 20px; }
[dir="rtl"] .it-custom-accordion .accordion-buttons::after { right: auto; left: 30px; }
[dir="rtl"] .it-custom-accordion .accordion-body { text-align: right; }
[dir="rtl"] .it-custom-accordion .accordion-body p { margin-right: 0; margin-left: 20px; }
@media (max-width: 991px) {
   [dir="rtl"] .it-custom-accordion .accordion-buttons { padding: 15px 42px 15px 60px; }
}

/* ==========================================================================
   قسم الإحصائيات — فصل الأيقونة عن النص وترتيب احترافي
   ========================================================================== */
.lm-stat-item {
   display: flex;
   align-items: center;
   gap: 16px;
   padding: 10px 6px;
}
.lm-stat-icon {
   flex: 0 0 auto;
   width: 64px;
   height: 64px;
   border-radius: 16px;
   background: rgba(0, 173, 239, .14);
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 28px;
   color: var(--lm-primary, #00ADEF);
}
.lm-stat-info { display: flex; flex-direction: column; line-height: 1; }
.lm-stat-num { color: #fff; font-size: clamp(28px, 3vw, 38px); font-weight: 800; margin: 0 0 4px; }
.lm-stat-label { color: rgba(255, 255, 255, .72); font-size: 15px; margin: 0; }
/* فاصل رأسي خفيف بين عناصر الإحصائيات على الشاشات الكبيرة */
@media (min-width: 992px) {
   .lm-stats-area .row > [class*="col-"]:not(:last-child) .lm-stat-item { border-inline-end: 1px solid rgba(255, 255, 255, .10); }
}

/* ==========================================================================
   قسم الخدمات — بطاقات بأيقونة منفصلة عن النص
   ========================================================================== */
.lm-service-item {
   background: rgba(255, 255, 255, .04);
   border: 1px solid rgba(255, 255, 255, .08);
   border-radius: 16px;
   padding: 28px 22px;
   height: 100%;
   text-align: center;
   transition: transform .3s ease, background .3s ease, border-color .3s ease;
}
.lm-service-item:hover {
   transform: translateY(-6px);
   background: rgba(0, 173, 239, .10);
   border-color: rgba(0, 173, 239, .35);
}
.lm-service-icon {
   width: 72px;
   height: 72px;
   border-radius: 50%;
   background: var(--lm-primary, #00ADEF);
   display: inline-flex;
   align-items: center;
   justify-content: center;
   font-size: 30px;
   color: #fff;
   margin-bottom: 20px;
}
.lm-service-content h5 { margin-bottom: 10px; }
.lm-service-content h5 a { color: #fff; transition: color .25s ease; text-decoration: none; }
.lm-service-content h5 a:hover { color: var(--lm-primary, #00ADEF); }
.lm-service-content p { color: rgba(255, 255, 255, .68); font-size: 14.5px; line-height: 1.85; margin: 0; }

/* ==========================================================================
   الفوتر — رقم الهاتف مرتّب + إخفاء الأشكال المتحركة قرب الشعار
   ========================================================================== */
.it-footer-shape-1, .it-footer-shape-2 { display: none !important; }
.lm-footer-phone {
   display: inline-flex;
   align-items: center;
   gap: 10px;
   margin-top: 6px;
   color: #fff;
   font-weight: 600;
   font-size: 16px;
}
.lm-footer-phone i { color: var(--lm-primary, #00ADEF); font-size: 16px; }
.lm-footer-phone span { direction: ltr; unicode-bidi: embed; }

/* ==========================================================================
   صفحة تواصل معنا — فورم في كرت مساوٍ لكرت المعلومات
   ========================================================================== */
.lm-contact-card {
   background: #fff;
   border: 1px solid #eceef3;
   border-radius: 18px;
   padding: 36px;
   box-shadow: 0 12px 34px rgba(0, 0, 0, .05);
}
.lm-contact-heading { font-size: 20px; font-weight: 700; color: #19343F; margin-bottom: 24px; }
.lm-field { margin-bottom: 18px; }
.lm-field label { display: block; font-size: 14px; font-weight: 600; color: #19343F; margin-bottom: 8px; }
.lm-field input, .lm-field textarea {
   width: 100%;
   border: 1px solid #e2e6ee;
   border-radius: 12px;
   padding: 13px 16px;
   font-size: 15px;
   background: #f8fafc;
   color: #19343F;
   font-family: inherit;
   transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.lm-field input::placeholder, .lm-field textarea::placeholder { color: #aab2c0; }
.lm-field input:focus, .lm-field textarea:focus {
   outline: none;
   border-color: var(--lm-primary, #00ADEF);
   background: #fff;
   box-shadow: 0 0 0 3px rgba(0, 173, 239, .12);
}
.lm-field textarea { min-height: 132px; resize: vertical; }

.lm-contact-info-card {
   border-radius: 18px;
   padding: 38px 32px;
   color: #fff;
   background-color: var(--it-common-black-2, #00102F);   /* نفس خلفية الفوتر */
   background-image: url('../img/footer/shape-1-1.png'), url('../img/footer/shape-1-2.png');
   background-repeat: no-repeat, no-repeat;
   background-position: top -30px right -30px, bottom left;
   background-size: 180px auto, 200px auto;
   overflow: hidden;
   position: relative;
}
.lm-info-heading { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.lm-info-sub { color: rgba(255, 255, 255, .8); font-size: 14.5px; margin-bottom: 26px; line-height: 1.8; }
.lm-info-list { list-style: none; margin: 0; padding: 0; }
.lm-info-list li { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.lm-info-ic {
   flex: 0 0 auto;
   width: 44px; height: 44px;
   border-radius: 12px;
   background: rgba(255, 255, 255, .14);
   display: flex; align-items: center; justify-content: center;
   font-size: 17px; color: #fff;
}
.lm-info-list li > div { display: flex; flex-direction: column; }
.lm-info-label { font-size: 13px; color: rgba(255, 255, 255, .7); margin-bottom: 3px; }
.lm-info-val { font-size: 15.5px; font-weight: 600; color: #fff; text-decoration: none; word-break: break-word; }
a.lm-info-val:hover { color: #fff; opacity: .85; }
@media (max-width: 575px) {
   .lm-contact-card, .lm-contact-info-card { padding: 26px 20px; }
}

/* ==========================================================================
   قسم الماركات / الشركاء — شبكة بطاقات أنيقة متجاوبة
   ========================================================================== */
.lm-brands-area { background: #f6f8fb; }
.lm-brand-card {
   background: #fff;
   border: 1px solid #eceef3;
   border-radius: 14px;
   height: 110px;
   display: flex;
   align-items: center;
   justify-content: center;
   padding: 18px;
   transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.lm-brand-card img {
   max-height: 60px;
   max-width: 100%;
   width: auto;
   object-fit: contain;
   filter: grayscale(100%);
   opacity: .7;
   transition: filter .3s ease, opacity .3s ease;
}
.lm-brand-card:hover {
   transform: translateY(-5px);
   border-color: var(--lm-primary, #00ADEF);
   box-shadow: 0 12px 26px rgba(0, 0, 0, .08);
}
.lm-brand-card:hover img { filter: none; opacity: 1; }
.lm-brand-name { font-weight: 700; color: #5b6577; font-size: 17px; text-align: center; }
@media (max-width: 575px) {
   .lm-brand-card { height: 92px; padding: 14px; }
   .lm-brand-card img { max-height: 48px; }
}

/* ==========================================================================
   كارد المنتج — تصميم flex متناسق على جميع الشاشات
   ========================================================================== */
.lm-prod-card {
   display: flex;
   flex-direction: column;
   height: 100%;
   background: #fff;
   border: 1px solid #eceef3;
   border-radius: 16px;
   overflow: hidden;
   transition: box-shadow .28s ease, transform .28s ease, border-color .28s ease;
}
.lm-prod-card:hover {
   box-shadow: 0 14px 32px rgba(0, 0, 0, .09);
   transform: translateY(-5px);
   border-color: var(--lm-primary, #00ADEF);
}
.lm-prod-thumb { position: relative; background: #f6f8fb; }
.lm-prod-img {
   width: 100%;
   height: 210px;
   object-fit: contain;
   padding: 14px;
   display: block;
}
.lm-prod-badge {
   position: absolute;
   top: 12px;
   inset-inline-start: 12px;
   background: var(--lm-primary, #00ADEF);
   color: #fff;
   font-size: 12px;
   font-weight: 700;
   padding: 4px 10px;
   border-radius: 20px;
}
.lm-prod-body {
   display: flex;
   flex-direction: column;
   flex: 1 1 auto;
   padding: 16px 16px 18px;
   text-align: center;
}
.lm-prod-cat { font-size: 12.5px; color: #8a94a6; margin-bottom: 5px; }
.lm-prod-title {
   font-size: 16px;
   font-weight: 700;
   line-height: 1.5;
   margin: 0 0 10px;
   min-height: 48px;
   display: -webkit-box;
   -webkit-line-clamp: 2;
   -webkit-box-orient: vertical;
   overflow: hidden;
}
.lm-prod-title a { color: #19343F; transition: color .2s ease; }
.lm-prod-title a:hover { color: var(--lm-primary, #00ADEF); }
.lm-prod-price { margin-bottom: 16px; }
.lm-prod-amount { color: var(--lm-primary, #00ADEF); font-weight: 800; font-size: 17px; }
.lm-prod-price del { color: #aab2c0; font-size: 14px; margin-inline-start: 8px; font-weight: 500; }
.lm-prod-actions { margin-top: auto; display: flex; gap: 8px; }
.lm-addcart-form { flex: 1 1 auto; margin: 0; }
.lm-prod-btn {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   gap: 7px;
   width: 100%;
   border: none;
   cursor: pointer;
   font-size: 13.5px;
   font-weight: 600;
   padding: 11px 10px;
   border-radius: 10px;
   transition: background .25s ease, transform .2s ease, color .2s ease;
}
.lm-prod-btn--cart { background: var(--lm-primary, #00ADEF); color: #fff; }
.lm-prod-btn--cart:hover { background: #19343F; color: #fff; transform: translateY(-2px); }
.lm-prod-btn--wa {
   flex: 0 0 auto;
   background: rgba(37, 211, 102, .12);
   color: #1faa53;
   width: auto;
   padding: 11px 14px;
}
.lm-prod-btn--wa:hover { background: #25d366; color: #fff; transform: translateY(-2px); }
@media (max-width: 575px) {
   .lm-prod-img { height: 170px; }
   .lm-prod-title { font-size: 15px; min-height: 44px; }
   .lm-prod-btn { font-size: 13px; padding: 10px; }
}

/* ==========================================================================
   إصلاحات نهائية — الشريط العلوي (تباعد عن الشعار) + الـ hero في RTL
   ========================================================================== */

/* إبعاد محتوى الشريط العلوي عن الشعار المائل (الشعار دائمًا يسار) */
@media (min-width: 992px) {
   .lm-topbar-flex { padding-left: 40px; }
}
@media (min-width: 1400px) {
   .lm-topbar-flex { padding-left: 70px; }
}

/* صورة الـ hero: محتواة داخل عمودها في اللغتين (نفس الحجم تمامًا) — لا تغطّي النص ولا تخرج خارج الشاشة */
.it-hero-5-thumb { transform: none !important; }
.it-hero-5-thumb img { max-width: 100% !important; height: auto; display: block; margin: 0 auto; }
.it-hero-5-thumb-right { position: relative; text-align: center; }
.it-hero-5-discount { position: absolute; top: 8%; bottom: auto; transform: scale(.9); }
[dir="ltr"] .it-hero-5-discount { left: 0; right: auto; }
[dir="rtl"] .it-hero-5-discount { right: 0; left: auto; }

/* أزرار الـ hero: مسافة بينها */
.it-hero-button-wrapper .it-btn-theme,
.it-hero-button-wrapper .it-btn-border { margin: 6px 8px 6px 0; }

/* زر إطار ثانوي (للطابع التعريفي + التسوق) */
.it-btn-border {
   display: inline-block;
   padding: 16px 35px;
   border: 2px solid var(--it-theme-1, #1c89e9);
   color: var(--it-theme-1, #1c89e9);
   border-radius: 6px;
   font-weight: 600;
   transition: all .3s ease;
}
.it-btn-border:hover { background: var(--it-theme-1, #1c89e9); color: #fff; }

/* ===== نصوص المحرر (من نحن، الخدمات، الأسئلة، تفاصيل المنتج) ===== */
.lm-rich { line-height: 1.95; color: inherit; overflow-wrap: anywhere; }
.lm-rich > :last-child { margin-bottom: 0; }
.lm-rich p { margin: 0 0 .85em; }
.lm-rich h2, .lm-rich h3, .lm-rich h4, .lm-rich h5, .lm-rich h6 { margin: 1.1em 0 .5em; font-weight: 700; line-height: 1.45; color: #19343F; }
.lm-rich h2 { font-size: 1.45rem; } .lm-rich h3 { font-size: 1.25rem; } .lm-rich h4 { font-size: 1.1rem; }
.lm-rich ul, .lm-rich ol { margin: 0 0 .85em; padding-inline-start: 1.4em; }
.lm-rich ul { list-style: disc; } .lm-rich ol { list-style: decimal; }
.lm-rich li { margin-bottom: .3em; }
.lm-rich a { color: var(--it-theme-1, #0b7a8f); text-decoration: underline; text-underline-offset: 3px; }
.lm-rich blockquote { margin: 0 0 .85em; padding: .6em 1em; border-inline-start: 4px solid var(--it-theme-1, #0b7a8f); background: #f5f8fa; border-radius: 8px; }
.lm-rich figure { margin: 0 0 1em; overflow-x: auto; }
.lm-rich table { width: 100%; border-collapse: collapse; font-size: .95em; }
.lm-rich th, .lm-rich td { padding: .55em .75em; border: 1px solid #e3e8ee; text-align: start; vertical-align: top; }
.lm-rich th { background: #f5f8fa; font-weight: 700; }

/* ===== شراء المنتج: الكمية + السلة + واتساب ===== */
.lm-buy__qty { width: 86px; height: 56px; padding: 0 10px; border: 1px solid #dfe5ec; border-radius: 6px; font-size: 16px; font-weight: 600; text-align: center; color: #19343F; background: #fff; }
.lm-buy__qty:focus { outline: none; border-color: var(--it-theme-1, #00ADEF); box-shadow: 0 0 0 3px rgba(0, 173, 239, .15); }
.lm-buy__wa { display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 22px; border: 1px solid #25D366; border-radius: 6px; color: #128C4A; font-weight: 600; background: #fff; transition: background-color .2s ease, color .2s ease; }
.lm-buy__wa:hover { background: #25D366; color: #fff; }
.lm-buy__wa i { font-size: 20px; }

/* ===== إشعار الإضافة للسلة ===== */
.lm-toast { position: fixed; z-index: 9999; top: 20px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; max-width: calc(100% - 32px); padding: 12px 14px 12px 18px; border-radius: 12px; background: #00102F; color: #fff; font-weight: 600; font-size: 15px; box-shadow: 0 18px 40px -16px rgba(0, 16, 47, .55); animation: lm-toast-in .3s ease; transition: opacity .3s ease, transform .3s ease; }
.lm-toast i { color: #25D366; font-size: 20px; }
.lm-toast a { padding: 6px 12px; border-radius: 8px; background: var(--it-theme-1, #00ADEF); color: #fff; white-space: nowrap; }
.lm-toast a:hover { color: #fff; filter: brightness(1.08); }
.lm-toast button { border: 0; background: transparent; color: rgba(255, 255, 255, .7); font-size: 22px; line-height: 1; cursor: pointer; }
.lm-toast.is-hidden { opacity: 0; transform: translate(-50%, -12px); }
@keyframes lm-toast-in { from { opacity: 0; transform: translate(-50%, -12px); } }
.lm-toast span { flex: 1 1 auto; min-width: 0; }
@media (max-width: 575.98px) {
    .lm-toast { left: 16px; right: 16px; transform: none; max-width: none; font-size: 14px; }
    .lm-toast.is-hidden { transform: translateY(-12px); }
    @keyframes lm-toast-in { from { opacity: 0; transform: translateY(-12px); } }
}

/* شعار الرأس أوضح على الجوال */
@media (max-width: 767.98px) {
    .it-header-logo img { height: 66px; max-height: 66px !important; width: auto; }
}
