/* =========================================
   LAMA CARE - CSS MASTER VERSION
========================================= */

@import url('https://fonts.googleapis.com/css2?family=Noto+Kufi+Arabic:wght@400;500;600;700&display=swap');


/* =========================================
   1. خلفية الموقع بالكامل أبيض
========================================= */

html,
body,
.app,
.app-main,
.page-wrapper,
.main-content,
main,
.wrapper,
.content,
.content-wrapper,
.container-fluid {
  background: #ffffff !important;
}

section,
.s-block,
.s-block-container,
.s-section,
.section,
.section-content,
.home-block,
.page-content {
  background: #ffffff !important;
}


/* إزالة الخلفيات الرمادية */

.bg-gray,
.bg-grey,
.bg-light,
.bg-muted,
.bg-secondary,
[class*="bg-gray"],
[class*="bg-grey"],
[class*="bg-light"] {
  background: #ffffff !important;
}


/* =========================================
   2. بطاقات المنتجات
========================================= */

.product-card,
.s-product-card,
.s-product-card-entry,
.s-card,
.product-entry {
  background: #ffffff !important;
  border: 1px solid #ececec !important;
}


/* =========================================
   3. صفحة المنتج
========================================= */

.product-page,
.product-details,
.product-summary,
.product-description,
.product-tabs,
.product-reviews {
  background: #ffffff !important;
}


/* =========================================
   4. السلة والطلب
========================================= */

.cart-summary,
.cart-item,
.checkout-card,
.order-summary {
  background: #ffffff !important;
}


/* =========================================
   5. التقييمات
========================================= */

.review-card,
.testimonial,
.s-comments-product {
  background: #ffffff !important;
}


/* =========================================
   6. الجداول
========================================= */

table,
th,
td {
  background: #ffffff !important;
}


/* =========================================
   7. النوافذ المنبثقة
========================================= */

.modal-content,
.dropdown-menu,
.offcanvas,
.popup {
  background: #ffffff !important;
}


/* =========================================
   8. الهيدر والفوتر
========================================= */

header,
.s-header,
.footer,
.s-footer {
  background: revert !important;
}


/* =========================================
   9. الأسئلة الشائعة FAQ
========================================= */

.s-block-faq .accordion,
.s-block-faq .accordion-items,
.s-block-faq .faq-list,
.s-block-faq .faq-container,
.s-block-faq .faq-wrapper {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 20px !important;
  align-items: start !important;
}


/* بطاقة السؤال */

.s-block-faq .accordion-item,
.s-block-faq .faq-item,
.s-block-faq details {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  background: #ffffff !important;
  border: 1px solid #e8e8e8 !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  box-shadow: 0 8px 20px rgba(0,0,0,.04) !important;
  transition:
    transform .3s ease,
    box-shadow .3s ease !important;
}

.s-block-faq .accordion-item:hover,
.s-block-faq .faq-item:hover,
.s-block-faq details:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 35px rgba(0,0,0,.08) !important;
}


/* عنوان السؤال */

.s-block-faq .accordion-button,
.s-block-faq .faq-question,
.s-block-faq summary {
  width: 100% !important;
  padding: 18px 22px !important;
  background: #ffffff !important;
  color: #203829 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  text-align: right !important;
}


/* الجواب */

.s-block-faq .accordion-body,
.s-block-faq .faq-answer,
.s-block-faq details > div,
.s-block-faq .answer {
  padding: 18px 22px !important;
  background: #ffffff !important;
  color: #555555 !important;
  line-height: 1.9 !important;
}


/* التابلت */

@media (max-width: 991px) {

  .s-block-faq .accordion,
  .s-block-faq .accordion-items,
  .s-block-faq .faq-list,
  .s-block-faq .faq-container,
  .s-block-faq .faq-wrapper {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  }

}


/* الجوال */

@media (max-width: 767px) {

  .s-block-faq .accordion,
  .s-block-faq .accordion-items,
  .s-block-faq .faq-list,
  .s-block-faq .faq-container,
  .s-block-faq .faq-wrapper {
    grid-template-columns: 1fr !important;
  }

}


/* =========================================
   10. أسعار المنتجات
========================================= */


/* -----------------------------------------
   تنظيف شكل الأسعار
----------------------------------------- */

.s-product-price,
.s-product-card-price,
.s-product-card-sale-price,
.product-price,
.sale-price,
.price,
[data-testid="store-product-price"] p,
.price-wrapper .total-price {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}


/* =========================================
   10.1 بطاقات المنتجات - ثيم رائد
========================================= */

/*
   لا نضع اللون الأحمر على الحاوية نفسها
   حتى لا يرثه السعر القديم
*/

custom-salla-product-card .s-product-card-sale-price,
.s-product-card-entry .s-product-card-sale-price,
salla-products-list .s-product-card-sale-price {
  color: inherit !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  gap: 7px !important;
  align-items: center !important;
}


/* السعر الحالي بعد الخصم
   159 / 299 / 399
*/

custom-salla-product-card .s-product-card-sale-price > h4,
.s-product-card-entry .s-product-card-sale-price > h4,
salla-products-list .s-product-card-sale-price > h4 {
  color: #B3261E !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}


/* أي عنصر داخل السعر الحالي */

custom-salla-product-card .s-product-card-sale-price > h4 *,
.s-product-card-entry .s-product-card-sale-price > h4 *,
salla-products-list .s-product-card-sale-price > h4 * {
  color: #B3261E !important;
  text-decoration: none !important;
}


/* السعر القديم
   257 / 339 / 483
*/

custom-salla-product-card .s-product-card-sale-price > span,
.s-product-card-entry .s-product-card-sale-price > span,
salla-products-list .s-product-card-sale-price > span,

custom-salla-product-card .s-product-card-sale-price > del,
.s-product-card-entry .s-product-card-sale-price > del,
salla-products-list .s-product-card-sale-price > del,

custom-salla-product-card .s-product-card-sale-price > s,
.s-product-card-entry .s-product-card-sale-price > s,
salla-products-list .s-product-card-sale-price > s {
  color: #9CA3AF !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-decoration: line-through !important;
  background: transparent !important;
}


/* منع أي عنصر داخلي من إعادة السعر القديم للأحمر */

custom-salla-product-card .s-product-card-sale-price > span *,
.s-product-card-entry .s-product-card-sale-price > span *,
salla-products-list .s-product-card-sale-price > span *,

custom-salla-product-card .s-product-card-sale-price > del *,
.s-product-card-entry .s-product-card-sale-price > del *,
salla-products-list .s-product-card-sale-price > del *,

custom-salla-product-card .s-product-card-sale-price > s *,
.s-product-card-entry .s-product-card-sale-price > s *,
salla-products-list .s-product-card-sale-price > s * {
  color: #9CA3AF !important;
}


/* =========================================
   10.2 المنتجات بدون خصم
========================================= */

custom-salla-product-card .s-product-card-price,
.s-product-card-entry .s-product-card-price,
salla-products-list .s-product-card-price {
  color: #B3261E !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}


/* =========================================
   10.3 كلاسات إضافية للسعر القديم
========================================= */

custom-salla-product-card .s-product-card-regular-price,
custom-salla-product-card .s-product-card-price-before,
custom-salla-product-card .s-product-price-before,
custom-salla-product-card .old-price,
custom-salla-product-card .compare-price,

.s-product-card-entry .s-product-card-regular-price,
.s-product-card-entry .s-product-card-price-before,
.s-product-card-entry .s-product-price-before,
.s-product-card-entry .old-price,
.s-product-card-entry .compare-price {
  color: #9CA3AF !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-decoration: line-through !important;
}


/* =========================================
   10.4 صفحة المنتج الرئيسية
========================================= */

/* السعر الحالي */

body.product-single [data-testid="store-product-price"] p,
body.product-single .price-wrapper .total-price,
body.product-single .s-product-price,
body.product-single .sale-price {
  color: #B3261E !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}


/* السعر القديم */

body.product-single .s-product-price-before,
body.product-single .price-before,
body.product-single .compare-price,
body.product-single .old-price,
body.product-single del,
body.product-single s {
  color: #9CA3AF !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  text-decoration: line-through !important;
}


/* شارة الخصم */

.discount-badge,
.sale-badge,
.s-product-discount {
  background: #1F5E3B !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 3px 8px !important;
  border-radius: 20px !important;
}


/* =========================================
   11. تكبير شعار المتجر
========================================= */

.s-header .navbar-brand,
.s-header .logo,
.header-logo,
.store-logo,
.navbar-brand {
  transform: scale(1) !important;
  transform-origin: center center !important;
}

.s-header .navbar-brand img,
.s-header .logo img,
.header-logo img,
.store-logo img,
.navbar-brand img {
  height: auto !important;
  max-height: 72px !important;
  max-width: 320px !important;
  width: auto !important;
  object-fit: contain !important;
}

@media (max-width: 767px) {

  .s-header .navbar-brand img,
  .s-header .logo img,
  .header-logo img,
  .store-logo img,
  .navbar-brand img {
    max-height: 54px !important;
    max-width: 220px !important;
  }

}


/* =========================================
   12. خط القائمة الرئيسية
========================================= */

custom-main-menu .main-menu > li.root-level > a,
custom-main-menu .main-menu > li.root-level > a span {
  font-family: "Noto Kufi Arabic", sans-serif !important;
}


/* سيروم الشعر */

custom-main-menu .main-menu li[id="97510770"] > a,
custom-main-menu .main-menu li[id="97510770"] > a > span {
  font-family: "Noto Kufi Arabic", sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 20px !important;
  color: #203829 !important;
  white-space: nowrap !important;
}


@media (max-width: 767px) {

  custom-main-menu .main-menu li[id="97510770"] > a,
  custom-main-menu .main-menu li[id="97510770"] > a > span {
    font-size: 17px !important;
  }

}


/* =========================================
   13. وصف ومحتوى صفحة المنتج
========================================= */

.product-description,
.product-details__description,
.product-tabs,
.product-tabs-content,
.s-product-description,
.product-content,
.product-entry__content,
.product-page .content-entry {
  background: #ffffff !important;
  color: #3f4a43 !important;
  font-size: 16px !important;
  line-height: 2 !important;
}


/* توسيط المحتوى */

.product-description,
.product-details__description,
.s-product-description,
.product-content {
  max-width: 1000px !important;
  margin: 0 auto !important;
  padding: 32px 24px !important;
}


/* العناوين */

.product-description h1,
.product-description h2,
.product-description h3,
.product-description h4,
.product-details__description h1,
.product-details__description h2,
.product-details__description h3,
.s-product-description h1,
.s-product-description h2,
.s-product-description h3 {
  color: #203829 !important;
  font-weight: 800 !important;
  line-height: 1.5 !important;
  margin: 28px 0 14px !important;
}


.product-description h2,
.product-details__description h2,
.s-product-description h2 {
  font-size: 28px !important;
}


.product-description h3,
.product-details__description h3,
.s-product-description h3 {
  font-size: 22px !important;
}


/* الفقرات */

.product-description p,
.product-details__description p,
.s-product-description p,
.product-content p {
  margin: 0 0 18px !important;
  line-height: 2 !important;
}


/* القوائم */

.product-description ul,
.product-description ol,
.product-details__description ul,
.product-details__description ol,
.s-product-description ul,
.s-product-description ol {
  margin: 14px 0 22px !important;
  padding-right: 24px !important;
}

.product-description li,
.product-details__description li,
.s-product-description li {
  margin-bottom: 10px !important;
  line-height: 1.9 !important;
}


/* الصور */

.product-description img,
.product-details__description img,
.s-product-description img,
.product-content img {
  display: block !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 28px auto !important;
  border-radius: 16px !important;
}


/* الفيديو */

.product-description iframe,
.product-details__description iframe,
.s-product-description iframe {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 28px auto !important;
  border-radius: 16px !important;
}


/* الجداول */

.product-description table,
.product-details__description table,
.s-product-description table {
  width: 100% !important;
  margin: 24px 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  overflow: hidden !important;
  border: 1px solid #e7ece8 !important;
  border-radius: 14px !important;
}

.product-description th,
.product-description td,
.product-details__description th,
.product-details__description td,
.s-product-description th,
.s-product-description td {
  padding: 14px !important;
  border-bottom: 1px solid #e7ece8 !important;
  text-align: right !important;
}


/* الفواصل */

.product-description hr,
.product-details__description hr,
.s-product-description hr {
  border: 0 !important;
  border-top: 1px solid #e8eee9 !important;
  margin: 34px 0 !important;
}


/* الجوال */

@media (max-width: 767px) {

  .product-description,
  .product-details__description,
  .s-product-description,
  .product-content {
    padding: 22px 14px !important;
    font-size: 15px !important;
  }

  .product-description h2,
  .product-details__description h2,
  .s-product-description h2 {
    font-size: 23px !important;
  }

  .product-description h3,
  .product-details__description h3,
  .s-product-description h3 {
    font-size: 19px !important;
  }

}


/* =========================================
   14. معلومات المنتج
========================================= */

.s-metadata-box {
  background: #ffffff !important;
  border: 1px solid #E6ECE7 !important;
  border-radius: 18px !important;
  padding: 8px 0 !important;
  box-shadow: 0 8px 25px rgba(0,0,0,.05) !important;
  overflow: hidden !important;
}

.s-metadata-box-header {
  background: #F8FBF8 !important;
  color: #203829 !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  padding: 18px 22px !important;
  border-bottom: 1px solid #E6ECE7 !important;
}

.s-metadata-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 20px !important;
  padding: 16px 22px !important;
  border-bottom: 1px solid #F0F2F1 !important;
}

.s-metadata-row:last-child {
  border-bottom: none !important;
}

.s-metadata-row-name {
  color: #203829 !important;
  font-weight: 700 !important;
  min-width: 110px !important;
}

.s-metadata-row-value {
  color: #555555 !important;
  font-weight: 500 !important;
  text-align: left !important;
  flex: 1 !important;
}


/* =========================================
   15. قائمة المنتجات
========================================= */

salla-products-list.s-products-list {
  overflow-y: hidden !important;
}


/* عدد القطع المباعة */

.hl-sold-count {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #1F5E3B;
}


/* =========================================
   16. حالة المنتج - متوفر
========================================= */

body.product-single .main-content > div.flex.whitespace-nowrap.gap-4.items-center {
  position: relative;
  padding-bottom: 40px;
}


/* متوفر */

body.product-single .main-content > div.flex.whitespace-nowrap.gap-4.items-center::before {
  content: "متوفر";
  position: absolute;
  right: 28px;
  bottom: 4px;
  color: #219653;
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
}


/* علامة الصح */

body.product-single .main-content > div.flex.whitespace-nowrap.gap-4.items-center::after {
  content: "✓";
  position: absolute;
  right: 0;
  bottom: 4px;
  width: 18px;
  height: 18px;
  border: 1.5px solid #219653;
  border-radius: 50%;
  color: #219653;
  font-size: 12px;
  font-weight: 700;
  line-height: 15px;
  text-align: center;
  box-sizing: border-box;
  animation: lamacare-stock-glow 1.8s ease-in-out infinite;
}


@keyframes lamacare-stock-glow {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(33,150,83,0);
  }

  50% {
    box-shadow: 0 0 7px 2px rgba(33,150,83,.30);
  }

}


/* =========================================
   17. ترتيب أعلى صفحة المنتج
========================================= */

body.product-single .main-content {
  display: flex !important;
  flex-direction: column !important;
}


/* العناصر قبل تمارا */

body.product-single .main-content > .product-brand,
body.product-single .main-content > h1,
body.product-single .main-content > h2.product-entry__sub-title,
body.product-single .main-content > salla-rating-stars,
body.product-single .main-content > div.flex.whitespace-nowrap.gap-4.items-center {
  order: -2;
}


/* تمارا بعد السعر */

body.product-single .main-content > salla-installment {
  order: -1;
  width: 100%;
  margin-top: 10px;
  margin-bottom: 18px;
}


/* =========================================
   18. إخفاء أعلى المتجر
   البحث + الجوال + الإيميل
========================================= */

header .top-navbar,
.s-header .top-navbar,
header .top-header,
.s-header .top-header,
header .header-top,
.s-header .header-top,
header .top-bar,
.s-header .top-bar {
  display: none !important;
}


/* مربع البحث */

header salla-search,
.s-header salla-search,
header .search-bar,
.s-header .search-bar,
header .search-container,
.s-header .search-container,
header form[role="search"],
.s-header form[role="search"] {
  display: none !important;
}


/* الجوال والإيميل في الهيدر */

header a[href^="mailto:"],
.s-header a[href^="mailto:"],
header a[href^="tel:"],
.s-header a[href^="tel:"] {
  display: none !important;
}


/* =========================================
   19. إخفاء رقم 0536638454 من الفوتر
========================================= */

footer a[href^="tel:"][href$="536638454"],
.s-footer a[href^="tel:"][href$="536638454"] {
  display: none !important;
}


/* إخفاء صف الرقم مع الأيقونة */

footer li:has(a[href^="tel:"][href$="536638454"]),
footer .flex:has(a[href^="tel:"][href$="536638454"]),
footer .contact-item:has(a[href^="tel:"][href$="536638454"]),
.s-footer li:has(a[href^="tel:"][href$="536638454"]),
.s-footer .flex:has(a[href^="tel:"][href$="536638454"]),
.s-footer .contact-item:has(a[href^="tel:"][href$="536638454"]) {
  display: none !important;
}