@media (max-width:767px){
  custom-salla-product-card .product-card__actions .wishlist,
  custom-salla-product-card .product-card__actions .quickview-btn{
    display:none !important;
  }
}
/* ---------- 5) بطاقة المنتج ---------- */
custom-salla-product-card.product-card{
  border-radius:var(--perla-radius);
  overflow:hidden;
  background:#fff;
  transition:box-shadow .35s var(--perla-ease), transform .35s var(--perla-ease);
}
@media (hover:hover){
  custom-salla-product-card.product-card:hover{
    box-shadow:0 10px 30px -12px rgba(0,0,0,.18);
    transform:translateY(-3px);
  }
}
 
/* الصورة: نسبة ثابتة 2:3 تناسب صور الفساتين الطولية */
.product-card__image{ aspect-ratio:2/3; overflow:hidden; background:#f6f4f1; }
.product-card__image img.main-image{
  transition:transform .6s var(--perla-ease), opacity .3s;
}
@media (hover:hover){
  custom-salla-product-card:hover .product-card__image img.main-image{ transform:scale(1.04); }
}
/* العنوان: سطران بالضبط حتى تتحاذى الأسعار في نفس الصف */
.product-card__content{ padding:12px 10px 14px; }
.product-card__title{ margin-bottom:6px; }
.product-card__title a{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  font-size:14px;
  line-height:1.6;
  min-height:calc(1.6em * 2);
  color:var(--perla-ink);
  text-align:center;
}
 
/* السعر */
.product-card__price .total-price{
  font-size:1.05rem;
  color:var(--perla-ink) !important;
}
.product-card__price .before-price{ font-size:.85rem; color:#9a9a9a; }
.price_is_on_sale .total-price{ color:#b4232a !important; }

@media (hover:none), (max-width:767px){
  custom-salla-product-card .product-card__addToCart{ display:none !important; }
}
@media (hover:hover) and (min-width:768px){
  custom-salla-product-card .product-card__addToCart{
    opacity:0; visibility:hidden; transform:translateY(100%);
    transition:opacity .3s ease, transform .3s ease, visibility .3s;
  }
  custom-salla-product-card:hover .product-card__addToCart{
    opacity:1; visibility:visible; transform:translateY(0);
  }
}

 @media (max-width:767px){
  /* الشبكة: حتى أطراف الشاشة */
  .s-block.container:has(.s-products-list-vertical-cards){ padding-inline:0 !important; }
  .s-products-list-vertical-cards{
    grid-template-columns:1fr 1fr !important;
    column-gap:3px !important;
    row-gap:26px !important;
  }
  .fixed-products .home-block-title{ padding-inline:16px; }

  /* البطاقة */
  custom-salla-product-card.product-card{
    border-radius:0 !important; box-shadow:none !important;
    transform:none !important; background:transparent !important;
  }

  /* الصورة: أطول وبدون زوايا */
  custom-salla-product-card .product-card__image{
    aspect-ratio:3/4.4 !important; border-radius:0 !important;
    background:#f4f2ef; height:auto !important;
  }
  custom-salla-product-card .product-card__image img.main-image{
    width:100%; height:100% !important;
    object-fit:cover; object-position:center top;
  }

  /* النصوص */
  custom-salla-product-card .product-card__content{ padding:10px 12px 0 !important; text-align:right; }
  custom-salla-product-card .product-card__title a{
    font-size:12px !important; font-weight:400 !important; color:#707070 !important;
    display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:1 !important;
    overflow:hidden; line-height:1.8 !important; min-height:0 !important; text-align:right !important;
  }
  custom-salla-product-card .product-card__price{ justify-content:flex-start !important; }
  custom-salla-product-card .product-card__price .total-price{
    font-size:13px !important; font-weight:500 !important; color:#141414 !important;
  }
}