/* Google Fonts: Poppins 400,500 */
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/* === WC Category Carousel — Styles (arrows & dots cloned from Brands) === */

* {
  box-sizing: border-box;
}
/* الجذر */
.wccc-root {
  position: relative !important;
  width: 1265px !important;
}
/* Swiper container */
.wccc-swiper {
  width: 100%;
}
.wccc-swiper .swiper {
  overflow: hidden;
  padding-inline: 0;
}

.wccc-swiper .swiper-wrapper {
  transition: transform 300ms ease;
  align-items: center;
  margin-bottom: 40px !important;
}

.swiper-slide.swiper-slide-visible.swiper-slide-prev,
.swiper-slide.swiper-slide-visible.swiper-slide-next {
  width: 350px !important;
  background: #fff !important;
  border-radius: 8px !important;
  transition: transform 220ms ease, box-shadow 220ms ease !important;
  box-shadow: 2.97px 5.93px 14.83px 0px #3b655140 !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 8px;
  gap: 4px !important;
}
.wccc-swiper .swiper-wrapper .swiper-slide-active {
  width: 519px !important;
  background: #fff !important;
  box-shadow: 2.97px 5.93px 14.83px 0px #3b655140 !important;
  border-radius: 23.73px !important;
  gap: 5.93px !important;
  padding: 11.86px !important;
  transition: margin 300ms ease;
}

.wccc-card__link {
  color: inherit !important;
  text-decoration: none !important;
  display: flex !important;
  flex-direction: column;
  gap: 8px !important;
}

.swiper-slide .wccc-card__img {
  width: 100% !important;
  height: 174px !important; /* مُتحكم فيها من الكنترول */
  background-size: cover !important;
  background-position: center !important;
  border-radius: 12px !important;
}
.wccc-swiper .swiper-wrapper .swiper-slide-active .wccc-card__img {
  width: 100% !important;
  height: 258px !important;
  border-radius: 11.86px !important;
}

.wccc-card__meta {
  text-align: center !important;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ===== العنوان بالـ Poppins ===== */
.wccc-card__title {
  font-family: "Poppins", sans-serif !important;
  font-weight: 500 !important;
  font-style: Medium !important;
  font-size: 1rem !important;
  text-align: center !important;
  color: #342f2f !important;
  margin: 0 !important;
}
.wccc-card__count {
  font-family: "Poppins", sans-serif !important;
  font-weight: 400 !important;
  font-style: Regular !important;
  font-size: 12px !important;
  text-align: center !important;
  color: #818181 !important;
}
.wccc-swiper .swiper-wrapper .swiper-slide-active .wccc-card__title {
  font-family: "Poppins", sans-serif !important;
  font-weight: 500 !important; /* Medium */
  font-style: normal !important;
  font-size: 23.73px !important;
  text-align: center !important;
  color: #342f2f !important;
}

/* ===== العداد بالـ Poppins ===== */
.wccc-swiper .swiper-wrapper .swiper-slide-active .wccc-card__count {
  font-family: "Poppins", sans-serif !important;
  font-weight: 400 !important; /* Regular */
  font-style: normal !important;
  font-size: 17.79px !important;
  text-align: center !important;
  color: #818181 !important;
}

/* ===== الأسهم (مطابقة لستايل الودجت الآخر) ===== */
.wccc-nav {
  display: flex !important;
  gap: 8px !important;
  width: 104px !important;
  height: 48px !important;
  margin-bottom: 40px;
}
html[dir="rtl"] .wccc-nav {
  flex-direction: row-reverse;
}

/* زر السهم الدائري 48×48 — خلفية أزرق وأيقونة بيضاء */
.wccc-nav button {
  width: 48px !important;
  height: 100% !important;
  border-radius: 24px !important;
  background-color: #2178be !important;
  color: #ffffff !important;
  border: none !important;
  padding: 0 !important;
  cursor: pointer !important;
  display: grid !important;
  place-items: center !important;
  box-shadow: 0px 2px 5px 4px #00000014 !important;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s !important;
}

.wccc-nav button:hover {
  transform: translateY(-1px) !important;
}

/* حجم الأيقونة/السهم داخل الزر */
.wccc-nav button i {
  font-size: 19.36px !important;
  line-height: 1 !important;
  color: #ffffff !important;
}

/* ===== النقاط (مطابقة لستايل الودجت الآخر) ===== */
.wccc-pagination.swiper-pagination {
  bottom: 0 !important;
  left: 0 !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 8px !important;
  width: 200px !important;
  height: 32px !important;
  margin: 0 auto !important;
  margin-bottom: 10px;
  border-radius: 8px !important;
  padding: 8px !important;
  box-shadow: 0px 3px 4px 0px #00000029 !important;
}

/* كل نقطة 16×16 رمادي فاتح */
.wccc-pagination .swiper-pagination-bullet {
  width: 16px !important;
  height: 16px !important;
  border-radius: 50% !important;
  background-color: #eaeaea !important;
  display: inline-block !important;
  transition: background 0.2s, transform 0.2s !important;
  margin: 0 !important;
  opacity: 1;
}

/* النقطة الفعّالة */
.wccc-pagination .swiper-pagination-bullet-active {
  background-color: #2178be !important;
}

@media (max-width: 1265px) {
  .wccc-root {
    width: 100% !important;
  }
  .swiper-slide.swiper-slide-visible.swiper-slide-prev,
  .swiper-slide.swiper-slide-visible.swiper-slide-next {
    width: 28% !important;
  }
  .wccc-swiper .swiper-wrapper .swiper-slide-active {
    width: 40% !important;
  }
}
/* ===== تحسينات استجابة ===== */
@media (max-width: 1024px) {
  .wccc-card__img {
    height: 220px !important;
  }
  .swiper-slide.swiper-slide-visible.swiper-slide-prev,
  .swiper-slide.swiper-slide-visible.swiper-slide-next {
    border-radius: 2.34px !important;
    gap: 8px !important;
    padding: 7px 2.34px !important;
  }
}
@media (max-width: 767px) {
  .wccc-nav,
  .swiper-wrapper {
    margin-bottom: 12px;
  }
  .swiper-slide.swiper-slide-visible.swiper-slide-prev,
  .swiper-slide.swiper-slide-visible.swiper-slide-next {
    width: 28.2% !important;
  }
  .wccc-swiper .swiper-wrapper .swiper-slide-active .wccc-card__img {
    height: 150px !important;
  }
  .swiper-slide .wccc-card__img {
    height: 100px !important;
  }
  .wccc-swiper .swiper-wrapper .swiper-slide .wccc-card__title {
    font-size: 0.625rem !important;
  }
  .wccc-swiper .swiper-wrapper .swiper-slide-active .wccc-card__title {
    font-size: 0.875rem !important;
  }
  .wccc-swiper .swiper-wrapper .swiper-slide-active {
    padding: 4.55px !important;
    width: 38% !important;
  }
}

@media (max-width: 375px) {
  .swiper-slide.swiper-slide-visible.swiper-slide-prev,
  .swiper-slide.swiper-slide-visible.swiper-slide-next {
    width: 25% !important;
    border-radius: 2.34px !important;
    gap: 8px !important;
    padding: 7px 2.34px !important;
  }
  .swiper-slide .wccc-card__img {
    height: 50.8px !important;
    border-radius: 2.34px !important;
  }
  .wccc-card__title {
    font-size: 0.625rem !important;
  }
  .wccc-card__count {
    font-size: 0.5rem !important;
  }
  .wccc-swiper .swiper-wrapper .swiper-slide-active {
    width: 50% !important;
    height: unset !important;
    border-radius: 9.1px !important;
    padding: 4.55px !important;
  }
  .wccc-swiper .swiper-wrapper .swiper-slide-active .wccc-card__img {
    width: 100% !important;
    height: 98.9px !important;
    border-radius: 4.55px !important;
  }
  .wccc-swiper .swiper-wrapper .swiper-slide-active .wccc-card__title {
    font-size: 0.875rem !important;
  }
  .wccc-swiper .swiper-wrapper .swiper-slide-active .wccc-card__count {
    font-size: 0.625rem !important;
  }
  .wccc-pagination.swiper-pagination {
    width: 87px !important;
    height: 14px !important;
  }
  .wccc-pagination .swiper-pagination-bullet {
    width: 7px !important;
    height: 7px !important;
    padding: 3.48px !important;
    gap: 3.48px !important;
  }
}