/* =========================
   PRODUCT HOVER PREVIEW REAL FIX
   İncele yazısı kartı/butonu kapatmaz.
   Sepete Ekle her zaman tıklanabilir kalır.
========================= */

.product-card{
  position:relative;
  overflow:hidden;
  isolation:isolate;
}

.product-card img{
  position:relative;
  z-index:1;
  transition:transform .45s ease, filter .45s ease;
}

.product-card:hover img{
  transform:scale(1.04);
  filter:brightness(.72) contrast(1.06);
}

/* Eski tam kart INCELE overlay'i kapatıldı */
.product-card::after{
  content:none !important;
  display:none !important;
}

/* Glow efekti istenirse sadece görselin arkasında kalır */
.product-card::before{
  content:"";
  position:absolute;
  inset:0;
  opacity:0;
  pointer-events:none;
  z-index:0;
  background:radial-gradient(circle at var(--x,50%) var(--y,50%), rgba(255,30,36,.16), transparent 42%);
  transition:opacity .25s ease;
}

.product-card:hover::before{
  opacity:1;
}

/* Kartın içindeki tüm gerçek elemanlar tıklanabilir seviyede */
.product-card > *{
  position:relative;
  z-index:2;
}

/* Buton alanı kesinlikle en üstte */
.product-actions,
.card-actions,
.product-footer,
.product-buttons,
.product-card button,
.product-card .add-cart,
.product-card [data-add-cart],
.product-card [data-cart-add]{
  position:relative !important;
  z-index:30 !important;
  pointer-events:auto !important;
}

/* Eğer kart içinde ürün detay linki varsa butonu kapatmasın */
.product-card a:not(.add-cart):not(.detail-btn):not(.cart-btn){
  pointer-events:auto;
}

/* GRID FILTER FINAL FIX */
.product-grid{
  align-items:stretch;
}

.product-grid .product-card{
  width:100%;
  min-width:0;
}

/* Sepete ekle feedback */
.product-card button.added,
.product-card .add-cart.added,
.product-card .cart-btn.added{
  background:#18a957 !important;
}
