/* ===============================
   Features Section
   =============================== */

.custom-features {
  padding: 40px 20px;
  background: #ffffff;
}

.custom-features-container {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* المربع */
.feature-box {
  background: #f48bbd;
  border-radius: 14px;
  padding: 18px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* العنصر الأوسط */
.feature-box.active {
  background: #ffffff;
  border: 2px solid #f48bbd;
}

/* النص */
.feature-box h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  color: #ffffff;
}

/* النص للعنصر الأبيض */
.feature-box.active h3 {
  color: #4f335b;
}

/* الأيقونة */
.feature-box img {
  width: 28px;
  height: auto;
}

/* Hover */
.feature-box:hover {
  transform: translateY(-4px);
}

/* Responsive */
@media (max-width: 768px) {
  .custom-features-container {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   Reviews Section
   =============================== */

.custom-reviews {
  padding: 70px 20px 40px;
  background: #fff;
  direction: rtl;
}

.reviews-title {
  text-align: center;
  color: #f48bbd;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 40px;
  position: relative;
}

.reviews-title::after {
  content: "";
  width: 80px;
  height: 3px;
  background: #f48bbd;
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}

.reviews-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* الكارت */
.review-card {
  background: #f48bbd;
  border-radius: 18px;
  padding: 30px 25px;
  color: #000;
  position: relative;
  transition: all 0.4s ease;
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
  cursor: pointer;
}

/* Hover Animation */
.review-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

/* الكارت الأوسط */
.review-card.active {
  color: #fff;
}

.review-card.active p,
.review-card.active h4,
.review-card.active small {
  color: #fff;
}

/* علامة الاقتباس */
.review-card .quote {
  font-size: 50px;
  font-weight: bold;
  position: absolute;
  top: 15px;
  left: 20px;
}

/* المستخدم */
.review-card .user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.review-card img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
}

/* النص */
.review-card p {
  font-size: 15px;
  margin-bottom: 20px;
}

/* النجوم */
.stars {
  font-size: 18px;
  color: #000;
}

.stars.white {
  color: #fff;
}

/* Responsive */
@media (max-width: 900px) {
  .reviews-container {
    grid-template-columns: 1fr;
  }
}


.container.flex.justify-between{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #EF83B5;
    padding: 20px 30px;
    border-radius: 14px;
}

/* تحسين الشكل */
.container.flex.justify-between > *{
    color: #fff;
}

/* Responsive */
@media (max-width: 768px){
    .container.flex.justify-between{
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}


/* ================= CATEGORY CARDS ================= */
.category-cards{
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

/* الكارد */
.category-card{
    display: block;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    transition: transform .4s ease, box-shadow .4s ease;
}

/* الصورة */
.category-card img{
    width: 100%;
    display: block;
    object-fit: cover;
}

/* Hover احترافي */
.category-card:hover{
    transform: translateY(-6px);
    box-shadow: 0 25px 55px rgba(0,0,0,.25);
}

/* ================= MOBILE ================= */
@media (max-width: 768px){
    .category-cards{
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}


/* ================= FOOTER SOCIAL ================= */
/* ================= FOOTER SOCIAL ================= */
.footer-social{
    margin-top: 18px;
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: center; /* ← توسيط الأيقونات */
}

.footer-social a{
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f6f6f6;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .35s ease, box-shadow .35s ease;
}

.footer-social img{
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Hover */
.footer-social a:hover{
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,.2);
}

/* Responsive */
@media (max-width: 768px){
    .footer-social{
        justify-content: center; /* ← توسيط في الجوال كمان */
    }
}

/* ===============================
   Add to Cart Button – Pink Style
   =============================== */

salla-add-product-button,
salla-add-product-button[width="wide"] {
    background-color: #EF83B5 !important;
    color: #ffffff !important;
    border: 2px solid #EF83B5 !important;
    border-radius: 12px !important;
    transition: all 0.3s ease !important;
}

/* النص والأيقونات داخل الزر */
salla-add-product-button *,
salla-add-product-button[width="wide"] * {
    color: #ffffff !important;
}

/* Hover */
salla-add-product-button:hover,
salla-add-product-button[width="wide"]:hover {
    background-color: #ffffff !important;
    color: #000000 !important;
    border-color: #EF83B5 !important;
}

/* إزالة أي تأثير افتراضي من سلة */
salla-add-product-button::before,
salla-add-product-button::after {
    display: none !important;
    content: none !important;
}

/* ===============================
   Section Titles Style
   =============================== */

/* إخفاء الجزء الأيسر */
.s-slider-block__title-left {
    display: none !important;
}

/* توسيط العنوان */
.s-slider-block__title {
    display: flex;
    justify-content: center;
}

/* العنوان بدون إطار + خط سفلي بالصورة */
.s-slider-block__title h2:where([dir="rtl"], [dir="rtl"] *) {
    position: relative;
    display: inline-block;
    padding: 0 0 22px;
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1.3;
    color: #EF83B5 !important;
    background: none !important;
    border: none !important;
}

/* الخط السفلي (الصورة) */
.s-slider-block__title h2:where([dir="rtl"], [dir="rtl"] *)::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 120px;
    height: 12px;
    background-image: url("https://i.ibb.co/7dgK7Mxt/Vector-27.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

/* ===============================
   Footer Payment Methods
   =============================== */

.footer-payments {
  margin-top: 25px;
  text-align: center;
}

.footer-payments img {
  max-width: 260px;
  width: 100%;
  height: auto;
  display: inline-block;
  opacity: 0.95;
  transition: 0.3s ease;
}

/* Hover خفيف */
.footer-payments img:hover {
  opacity: 1;
  transform: scale(1.03);
}

/* موبايل */
@media (max-width: 768px) {
  .footer-payments img {
    max-width: 220px;
  }
}