/* عام */
body {
  background: #121419;
  color: #eee;
  font-family: 'Cairo', sans-serif;
}

/* الرأس (Header) */
header, .site-header {
  background: #14171d !important;
  border-bottom: 2px solid #00bcd4;
}

/* شريط التنقل */
.navbar a, .tw-nav a {
  color: #ccc !important;
}
.navbar a:hover, .tw-nav a:hover {
  color: #00bcd4 !important;
}

/* السلايدر الرئيسي */
.salla-swiper, .hero-banner {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

/* بطاقات المنتجات */
.product-card, .card, .salla-card {
  background: #1e232b !important;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  transition: transform 0.3s, box-shadow 0.3s;
}
.product-card:hover, .card:hover, .salla-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.6);
}
.product-card img, .card img {
  transition: transform 0.3s ease;
}
.product-card:hover img, .card:hover img {
  transform: scale(1.05);
}

/* أزرار الشراء */
button, .btn, .salla-button {
  background: linear-gradient(90deg,#00bcd4,#2196f3);
  color: #fff !important;
  border-radius: 8px;
  padding: 10px 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform .2s, box-shadow .2s;
}
button:hover, .btn:hover, .salla-button:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

/* عناوين الأقسام */
.section-title, .tw-section-title {
  font-size: 30px;
  color: #00bcd4;
  border-bottom: 3px solid #00bcd4;
  display: inline-block;
  margin-bottom: 18px;
}

/* الفوتر */
footer, .site-footer {
  background: #14171d;
  color: #aaa;
  border-top: 1px solid #2a2d34;
}

/* روابط داخليّة */
a, .tw-link {
  color: #00bcd4;
}
a:hover, .tw-link:hover {
  color: #2196f3;
}
/* خلفية داكنة لصناديق التقييمات */
.s-reviews-testimonial {
  background-color: #1a1d24 !important;
  border-radius: 12px;
  padding: 20px;
  color: #eee !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* تصحيح ألوان النصوص داخل التقييم */
.s-reviews-testimonial *,
.s-reviews-testimonial p,
.s-reviews-testimonial span,
.s-reviews-testimonial h3 {
  color: #eee !important;
}

/* لون التاريخ */
.s-reviews-testimonial .review-date {
  color: #aaa !important;
}

/* لون النجوم */
.s-reviews-testimonial .review-rating-stars {
  color: #ffcc00 !important;
}
.s-product-card-price {
  color: #000000!important; /* لون واضح وأنيق */
  font-weight: bold !important;
  font-size: 18px !important;
  background: transparent !important;
}
/* تصميم البطاقة الأساسية */
.s-product-card-entry {
  background-color: #1c1f26 !important;
  border-radius: 16px !important;
  padding: 16px !important;
  box-shadow: 0 6px 16px rgba(0,0,0,0.4) !important;
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* تأثير عند التمرير */
.s-product-card-entry:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 188, 212, 0.4);
  border: 1px solid #00bcd4;
}

/* صورة المنتج */
.s-product-card-entry img {
  border-radius: 12px;
  transition: transform 0.3s ease;
  width: 100%;
  height: auto;
}
.s-product-card-entry:hover img {
  transform: scale(1.05);
}

/* اسم المنتج */
.s-product-card-title {
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 600;
  margin-top: 12px;
  transition: color 0.3s ease;
}
.s-product-card-entry:hover .s-product-card-title {
  color: #00bcd4 !important;
}

/* السعر */
.s-product-card-price {
  color: #33c8dc!important;
  font-size: 18px !important;
  font-weight: bold !important;
  margin-top: 8px;
}

/* زر الإضافة (لو ظهر) */
.s-product-card-button {
  background: linear-gradient(to right, #00bcd4, #2196f3) !important;
  color: #fff !important;
  border-radius: 8px !important;
  padding: 10px 16px !important;
  margin-top: 12px;
  display: inline-block;
  font-weight: bold;
  transition: all 0.3s ease;
}
.s-product-card-button:hover {
  background: linear-gradient(to right, #2196f3, #00bcd4) !important;
  transform: scale(1.05);
}
/* فرض لون أبيض قوي على اسم المنتج */
.s-product-card-content-title,
.s-product-card-content-title *,
.s-product-card-content-title a,
.s-product-card-content-title span {
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 600 !important;
}

/* تغيّر لونه عند التمرير */
.s-product-card-entry:hover .s-product-card-content-title,
.s-product-card-entry:hover .s-product-card-content-title *,
.s-product-card-entry:hover .s-product-card-content-title a {
  color: #00bcd4 !important;
}
/* ===== 1. تصحيح لون السعر داخل صفحة المنتج ===== */
.total-price {
  color: #000000!important; /* أخضر سماوي واضح */
  font-size: 22px !important;
  font-weight: bold !important;
}

/* ===== 2. تصحيح لون وصف المنتج مهما كان داخله ===== */
.ql-align-justify,
.ql-align-justify *,
.product-description,
.product-description *,
.product-description p,
.product-description span,
.product-description div {
  color: #eeeeee !important;
  background: transparent !important;
  font-size: 16px !important;
  line-height: 1.8 !important;
  text-align: justify !important;
}
/* تحسين شكل أيقونة السلة */
.header-btn__icon.sicon-shopping-bag {
  background: linear-gradient(to right, #00bcd4, #2196f3);
  color: white !important;
  border-radius: 12px;
  padding: 10px;
  font-size: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 188, 212, 0.3);
  position: relative;
}

/* تأثير عند تمرير الماوس */
.header-btn__icon.sicon-shopping-bag:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(0, 188, 212, 0.5);
}

/* عداد عدد المنتجات داخل السلة */
.header-btn__icon.sicon-shopping-bag::after {
  content: attr(data-count);
  position: absolute;
  top: -8px;
  right: -8px;
  background: #ff5252;
  color: white;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 6px;
  border-radius: 50%;
  min-width: 20px;
  text-align: center;
  display: inline-block;
  z-index: 9;
}
/* تنسيق أيقونة الحساب الشخصي */
.s-user-menu-trigger {
  background: linear-gradient(to right, #00bcd4, #2196f3);
  color: white !important;
  border-radius: 12px;
  padding: 10px;
  font-size: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 188, 212, 0.3);
  position: relative;
}

/* تأثير عند تمرير الماوس */
.s-user-menu-trigger:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(0, 188, 212, 0.5);
}
/* ===== 1. تنسيق الهيدر ===== */
.site-header,
.header,
.header-wrapper,
.s-header {
  background-color: #121419 !important;
  color: #ffffff !important;
  border-bottom: 1px solid #2a2d34 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.site-header a,
.header a,
.s-header a {
  color: #ffffff !important;
}
.site-header a:hover,
.header a:hover,
.s-header a:hover {
  color: #00bcd4 !important;
}

/* ===== 2. تنسيق الفوتر ===== */
footer,
.site-footer,
.footer,
.s-footer {
  background-color: #121419 !important;
  color: #aaaaaa !important;
  border-top: 1px solid #2a2d34 !important;
  padding: 40px 20px;
}

.site-footer a,
.footer a,
.s-footer a {
  color: #00bcd4 !important;
  text-decoration: none;
}
.site-footer a:hover,
.footer a:hover,
.s-footer a:hover {
  color: #2196f3 !important;
}

/* نصوص داخل الفوتر */
.footer p,
.footer li,
.footer span,
.footer div,
.site-footer *,
.s-footer * {
  color: #ccc !important;
}
.flex.justify-between.text-lg.mb-5,
.flex.justify-between.text-lg.mb-5 * {
  color: #111 !important;  /* أسود غامق جداً */
  font-weight: bold;
}
.flex.justify-between.text-lg.mb-5,
.flex.justify-between.text-sm.mb-5,
.font-bold.text-sm.mb-5,
.flex.justify-between.text-lg.mb-5 *,
.flex.justify-between.text-sm.mb-5 *,
.font-bold.text-sm.mb-5 * {
  color: #111 !important;
  font-weight: bold !important;
}
.text-primary.flex-none.font-bold.text-sm.rtl\:md\:pl-12.ltr\:md\:pr-12 {
  color: #111 !important;
  font-weight: bold !important;
}