/*-------------------------------------------------
 Bookworms Product Slider Pro - Style V2.6
 Author: Aafaq Dev Team
 Description: تحسين مظهر السلايدر + دعم Responsive
-------------------------------------------------*/

/* عام */
.wa_wps_slider_title {
  clear: both;
  font-weight: 600;
  font-size: 14px;
  color: #333;
  margin-bottom: 5px;
  text-align: center;
  transition: color 0.3s ease-in-out;
}
.wa_wps_slider_title:hover {
  color: #237fd7;
}

/* وصف مختصر */
.wa_wps_foo_con {
  clear: left;
  font-weight: normal;
  font-size: 12px;
  color: #666;
  height: auto;
  margin-bottom: 6px;
}

/* عناصر السلايدر */
.wa_wps_image_carousel {
  position: relative;
  width: 100%;
  padding: 15px 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.wa_wps_image_carousel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wa_wps_image_carousel li {
  position: relative;
  width: 220px;
  max-width: 100%;
  background: #fff;
  padding: 10px;
  margin: 8px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.wa_wps_image_carousel li:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* صورة المنتج */
.wa_wps_image_carousel li img {
  width: 100%;
  border-radius: 5px;
  transition: transform 0.3s ease-in-out;
}
.wa_wps_image_carousel li:hover img {
  transform: scale(1.05);
}

/* أزرار السلايدر */
.wa_wps_prev,
.wa_wps_next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #237fd7;
  color: #fff;
  width: 35px;
  height: 35px;
  text-align: center;
  line-height: 35px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
  z-index: 10;
}
.wa_wps_prev:hover,
.wa_wps_next:hover {
  background: #145ca3;
}
.wa_wps_prev {
  left: -15px;
}
.wa_wps_next {
  right: -15px;
}

/* السعر */
.wa_wps_price {
  font-size: 14px;
  font-weight: bold;
  color: #237fd7;
  margin-top: 5px;
}

/* زر إضافة إلى السلة */
a.wa_wps_button {
  display: inline-block;
  background: #237fd7;
  color: #fff;
  padding: 5px 12px;
  margin-top: 6px;
  border-radius: 4px;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.3s ease;
}
a.wa_wps_button:hover {
  background: #145ca3;
}

/* نجوم التقييم */
.wps_rating .sr:before {
  content: '★★★★★';
  color: #ddd;
}
.wps_rating .sr span:before {
  content: '★★★★★';
  color: #f5b50a;
}

/* وسوم التخفيض */
.wa_wps_onsale {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #ff4b2b;
  color: #fff;
  padding: 3px 8px;
  font-size: 12px;
  border-radius: 3px;
}

/* استجابة الهاتف */
@media (max-width: 1024px) {
  .wa_wps_image_carousel li {
    width: 180px;
  }
}

@media (max-width: 768px) {
  .wa_wps_image_carousel {
    justify-content: center;
  }
  .wa_wps_image_carousel li {
    width: 45%;
  }
}

@media (max-width: 480px) {
  .wa_wps_image_carousel li {
    width: 90%;
  }
}
