/* الشبكة الرئيسية للمنتجات */
.s-products-list-wrapper {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: 4px; /* مسافة بين الكروت */
  justify-items: center;
  align-items: start;
  padding: 1px;
}

/* الكارد */
.s-product-card-entry {
  background: #fff !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
  overflow: visible !important;
  text-align: center !important;
  position: relative;
  width: 100% !important;
  max-width: 140px; /* عرض الكارد */
  padding-top: 80px; /* مساحة فوق علشان الصورة */
  min-height: 230px;
}

.s-product-card-image {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 180px;
  aspect-ratio: 1 / 1; /* يخلي الصورة مربعة */
  z-index: 2;
}

.s-product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* يخليها تتقص مظبوط بدون تمدد */
  border-radius: 12px;
}

@media (max-width: 480px) {
  .s-product-card-image {
    top: -50px;
    width: 70%;
    max-width: 150px !important;
  }
}



.s-product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /*border-radius: 12px;
  background: #fff;
  padding: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);*/
}

/* محتوى الكارد */
.s-product-card-content {
  padding: 8px !important;
}

/* الزرار */
.s-product-card-content-footer button {
  border-radius: 25px !important;
  font-size: 13px !important;
  padding: 6px 8px !important;
}

.prdoucts-list-filters flex justify-between items-center my-4 gap-2 {
  margin-bottom: 69px;
}

#page-main-title {
  font-size: 25px !important;
  margin-left: -327px !important;
   text-alien:center !important;
}

.da-cp {
  font-size: 35px !important;
  padding-bottom: 50px !important;
  font-weight: 700 !important;
  margin-left: -327px !important;
 text-alien:center !important;
}

.s-product-card-promotion-title {
  width: 87px;
  border-radius: 8px !important;
  /* margin-bottom: 30px !important; */
  margin-top: -50px;
  display:none !important;
  
}

.s-product-card-content-footer {
  justify-content: normal !important;
  gap: inherit !Important;
}

.s-slider-block__title h2:where([dir="rtl"], [dir="rtl"] *) {
  padding-left: 2rem;
  font-size: 30px !important;
  font-weight: 700 !important;
}

/* زرار اضف للسلة */
.s-product-card-content-footer button {
  background-color: #41a317 !important; /* بني */
  color: #fff !important;
  border: none !important;
  border-radius: 20px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  padding: 6px 6px !important;
  width: 97% !important; /* أصغر من الكارد */
  transition: all 0.3s ease-in-out;
  display: block;
}

/* زرار المفضلة (القلب) */
.s-product-card-content-footer .wishlist-btn {
  border-radius: 50%;
  background: #6b4226;
  color: #fff;
}

/* الكارد */
.s-product-card-entry {
  padding-top: 40px !important; /* نقلل المسافة الفاضية فوق النص */
}

/* النصوص */
.s-product-card-entry .s-product-card-content {
  margin-top: -5 !important; /* نخلي النص يطلع فوق */
  padding-top: 0px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-align: center !important;
}

.s-product-card-price {
  font-size: 10px !important;
}

/* اسم المنتج */
.s-product-card-content {
  font-size: 20px !important; /* الافتراضي */
  font-weight: 700 !important;
  text-align: center !important;
}

/* الحجم الطبيعي */
.s-product-card-content,
.s-product-card-content * {
  font-size: 20px !important;
  font-weight: 700 !important;
  text-align: center !important;
  line-height: 1.8 !important;
  white-space: normal !important; /* علشان ما يقطعش الكلمة */
}

/* على الشاشات الصغيرة جدًا (أقل من 400px) */
@media (max-width: 400px) {
  .s-product-card-content,
  .s-product-card-content * {
    font-size:15px !important;
    line-height: 1.3 !important;
  }
}

/* Add custom Js styles below */ 

.product-stars {
  color: #cba135; /* دهبي */
  font-size: 12px;
  margin: 4px 0;
  text-align: center;
}

.s-product-card-price i {
   font-size: 1em !important;   /* خليها نسبة من حجم السعر */
  margin-right: 2px;  /* مسافة صغيرة بينها وبين الرقم */
  vertical-align: middle;
}

.s-product-card-price {
  font-size: 20px !important;   /* حجم السعر الجديد */
  font-weight: bold !important;
  color: #222 !important;
}

.s-product-card-price-before {
  font-size: 18px !important;
  color: #013220 !important;
  text-decoration: line-through;
}

/* النصوص داخل الكارد */
.s-product-card-entry .s-product-card-content {
  line-height: 1.8 !important;  /* يزود المسافة بين السطور */
}

/* اسم المنتج */
.s-product-card-entry .s-product-card-content h3,
.s-product-card-entry .s-product-card-content .s-product-card-title {
  margin-bottom: 15px !important; /* مسافة تحت الاسم */
}

/* النجوم */
.s-product-card-entry .product-stars {
  margin-bottom: 15px !important; /* مسافة تحت النجوم */
}

/* السعر */
.s-product-card-price {
  margin-bottom: 10px !important; /* مسافة تحت السعر */
}

.s-block__display-all{
display:none !important;
}
.s-block__title h2{
line-height: 2.5 !important;
}

.product-stars{
    font-size: 12px !important;
}



.menu_title{
font-size:20px;
}

/* تكبير حجم الخط في القائمة الجانبية */
.mobile-menu .menu_title {
  font-size: 17px !important; /* غير الرقم حسب الحجم اللي يعجبك */
  font-weight: bold !important;
  line-height: 1 !important; /* يزود المسافة بين السطور */
  text-align: center !important; /* يخلي النص في النص */
}
/* تكبير "روابط تهمك" و "خدمة العملاء" */
.mobile-menu .links span,
.mobile-menu .social span,
.mobile-menu .links h3,
.mobile-menu .social h3 {
  font-size: 12px !important;
  font-weight: bold !important;
  text-align: center !important;
}

.s-button-text{
    font-size: 15px !important;
}

.text-[16px] sicon-cart2{
font-size: 15px !important;
}


/*      الجديد  */

/* تغيير خلفية زر أضف للسلة */
.s-button-element.s-button-btn.s-button-primary-outline {
    background-color: #Cba135 !important; /* دهبي */
    border-color: #Cba135 !important;
    color: #013220 !important; /* أخضر غامق للنص */
}

/* تغيير لون الأيقونة داخل الزر */
.s-button-element.s-button-btn.s-button-primary-outline i {
    color: #013220 !important; /* أخضر غامق للأيقونة */
}

/* عند المرور بالماوس (Hover) */
.s-button-element.s-button-btn.s-button-primary-outline:hover {
    background-color: #013220 !important; /* أخضر غامق للخلفية */
    border-color: #013220 !important;
    color: #Cba135 !important; /* دهبي للنص */
}

.s-button-element.s-button-btn.s-button-primary-outline:hover i {
    color: #Cba135 !important; /* دهبي للأيقونة */
}



/* تغيير لون جميع النصوص في الموقع */
/* تغيير لون العناوين */
.s-block__title h2,
.s-block__title h1,
.s-block__title h3,
.s-block__title h4 

{
    color: #013220 !important;
}

/* تغيير لون رابط "عرض الكل" */
.s-block__title .s-block__display-all {
    color: #013220 !important;
}

/* تغيير لون العنوان في الوضع الليلي */
.dark .da-cp {
    color: #013220 !important; /* أخضر غامق */
}


.da-cp {
    color: #013220 !important;
}

/* تغيير لون روابط الفوتر "روابط تهمك" */
.footer-list a,
.footer-list a.da-tm {
    color: #013220 !important; /* أخضر غامق */
}

/* كمان عند الـ hover */
.footer-list a:hover,
.footer-list a.da-tm:hover {
    color: #Cba135 !important; /* دهبي عند المرور */
}

/* تغيير لون عنوان "روابط تهمك" */
.menu-list h3 {
    color: #013220 !important; /* أخضر غامق */
}

/* تغيير لون عنوان "خدمة العملاء" */
h3.title {
    color: #013220 !important; /* أخضر غامق */
}

/* تغيير لون عنوان "خدمة العملاء" */
h3.title {
    color: #013220 !important;
}

/* تغيير لون كل الأيقونات في قسم المميزات */
.angel-feature i {
    color: #41a137 !important; /* أخضر غامق */
}

/* لو عايز عند المرور يتغيروا للدهبي */
.angel-feature:hover i {
    color: #cba135 !important;}
    
/* تأكد أن البلوك كله له خلفية واضحة */
.footer-social {
  background: #ffffff /* خلفية بيضاء ورا النصوص */
  padding: 12px;
}

/* النصوص أسفل الأيقونات */
.footer-social .social-label {
  color:#000 !important;   /*أسود*/
  font-weight: 700;            /* سُمك الخط */
  text-shadow: 1px 1px 2px rgba(0,0,0,0.7); /* وضوح إضافي */
}

/* الأيقونات */
.footer-social .social-icon {
  background:#ffffff !important; /* خلفية ثابتة */
  border-radius: 50%;
  padding: 10px;
}

.dark .opt-text.text-light * {
    color: 000 !important;
}

.dark .opt-text.text-light * {
    color: black !important;
  
}


/* تكبير حجم نقاط السلايدر (swiper bullets) */
.swiper-pagination-bullet {
  width: 14px !important;
  height: 14px !important;
  margin: 0 6px !important; /* تزود المسافة بينهم */
}

/* تغيير شكل النقطة النشطة */
.swiper-pagination-bullet-active {
  background-color: #000 !important; /* غيّر اللون حسب هوية متجرك */
  opacity: 1 !important;
}




@import url('https://www.fontstatic.com/f=sky,sky-bold&display=swap');

body {
  font-family: 'Sky', sans-serif;
}


/* تحسين التباين */
.s-slider-block__title h2 {
  color: #013220 !important; /* أخضر غامق - متوافق مع WCAG */
}

/* نصوص مخفية لبرامج قراءة الشاشة */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}


/* إخفاء العناصر اللي واخدة aria-hidden=false بالغلط */
[aria-hidden="false"][hidden] {
  display: none !important;
}



/* 🎯 إصلاح عرض المقال فقط على الموبايل */
@media screen and (max-width: 768px) {
  /* تحديد الصفحة عشان الكود يشتغل بس في صفحة المقال */
  .blog-single {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .blog-single .post-content,
  .blog-single .post-body,
  .blog-single article,
  .blog-single .s-block--blog-single {
    width: 100% !important;
    margin: 0 auto !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    box-sizing: border-box !important;
  }

  /* النصوص داخل المقال */
  .blog-single p,
  .blog-single h1,
  .blog-single h2,
  .blog-single h3,
  .blog-single h4,
  .blog-single h5 {
    text-align: justify;
    direction: rtl;
    margin: 0 0 1rem 0;
    word-break: break-word;
  }

  /* الصور */
  .blog-single img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 10px auto !important;
  }

  /* الفيديوهات أو الإطارات */
  .blog-single iframe,
  .blog-single video {
    width: 100% !important;
    max-width: 100% !important;
    display: block;
    margin: 0 auto;
  }

  /* منع التمدد الجانبي داخل المقال فقط */
  .blog-single * {
    box-sizing: border-box !important;
  }

  /* جسم الصفحة يفضل ثابت */
  body {
    overflow-x: hidden !important;
  }
}





/* 🎯 تعديل حجم وتباعد نقاط السلايدر وضمان عدم تجاهلها */
.swiper-pagination-bullet {
  width: 20px !important;
  height: 20px !important;
  margin: 6px !important;
  background: #ccc !important;
  border-radius: 50% !important;
  opacity: 1 !important;
  display: inline-block !important;
  transition: transform 0.3s ease, background-color 0.3s ease !important;
  cursor: pointer !important;
}

.swiper-pagination-bullet-active {
  background: #ff4081 !important;
  transform: scale(1.3) !important;
}

.swiper-pagination {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  padding: 10px 0 !important;
}

/* 🎯 تحسين التجاوب للموبايل */
@media (max-width: 768px) {
  .swiper-pagination-bullet {
    width: 24px !important;
    height: 24px !important;
    margin: 8px !important;
  }
}




/* تغيير لون نجوم التقييم */
salla-rating-stars svg path {
  fill: #013220 !important;
}