@media (max-width: 767px) {

  salla-product-card,
  .s-product-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: #fff !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
  }

  salla-product-card .s-product-card-image,
  .s-product-card .s-product-card-image {
    position: relative !important;
    width: 50% !important;
    aspect-ratio: 2 / 4 !important;
    overflow: hidden !important;
    border-radius: 12px 12px 0 0 !important;
  }

  salla-product-card .s-product-card-image img,
  .s-product-card .s-product-card-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  salla-product-card .s-product-card-content,
  .s-product-card .s-product-card-content {
    padding: 10px 12px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    flex-grow: 1 !important;
    justify-content: space-between !important;
  }

  .s-product-card-title {
    font-size: 14px !important;
    line-height: 1.4 !important;
    min-height: 38px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .s-product-card-price {
    font-size: 14px !important;
    font-weight: 300 !important;
  }

  salla-add-product-button,
  .s-add-product-button {
    margin-top: auto !important;
    width: 100% !important;
    border-radius: 8px !important;
  }

}
/* 1. تنظيف شكل البطاقات وإضافة انحناء فخم */
.product-card {
    border: none !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.04) !important;
    background: #fff !important;
}

/* 2. تنسيق زر "إضافة للسلة" ليكون دائرياً واحترافياً */
.btn-add-to-cart {
    border-radius: 50px !important;
    background: #000 !important; /* أسود ملكي */
    color: #fff !important;
    border: none !important;
    font-size: 13px !important;
    padding: 8px 15px !important;
}

/* 3. تمييز السعر والخصم */
.product-price {
    color: #a31e1e !important; /* لون السعر الحالي */
    font-weight: 900 !important;
}

.price-before-discount {
    font-size: 11px !important;
    opacity: 0.6;
}

/* 4. تعديل التاقات (جديد 2026) لتكون زواياها ناعمة */
.product-label.new {
    border-radius: 10px !important;
    background: #a31e1e !important;
    padding: 4px 10px !important;
    font-weight: bold !important;
}

/* 5. تحسين عناوين الأقسام (أزياء مواليد، إلخ) */
.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    color: #333 !important;
    border-right: 4px solid #c5a059 !important; /* لمسة ذهبية من الشعار */
    padding-right: 10px;
}

/* 6. تنسيق الفوتر ليكون أرتب وأوضح في الجوال */
.footer-main {
    padding: 30px 15px !important;
    background: #f9f9f9 !important;
    border-top: 1px solid #eee;
}

.footer-link {
    font-size: 14px !important;
    margin-bottom: 8px !important;
    display: block;
}