/* --- TİCİMAX UYUMLU MODERN ÜRÜN KARTI CSS KODU --- */
/* 1. Ürün Kartı Genel Kutusu */
.product-item,
.showcase-item,
.custom-product-card {
font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif !important;
border: 1px solid #eef0f2 !important;
border-radius: 4px !important;
background: #ffffff !important;
overflow: hidden !important;
position: relative !important;
box-sizing: border-box !important;
transition: box-shadow 0.3s ease, border-color 0.3s ease !important;
display: flex !important;
flex-direction: column !important;
justify-content: space-between !important;
}
.product-item:hover,
.showcase-item:hover,
.custom-product-card:hover {
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
border-color: #e0e0e0 !important;
}
/* 2. Ürün Görsel Alanı Tasarımı */
.product-image-wrapper,
.image-box {
position: relative !important;
width: 100% !important;
overflow: hidden !important;
}
/* 3. Sağ Üst İkonlar (Favori ve Sepet Ekle) */
.product-buttons,
.card-actions-wrapper {
position: absolute !important;
top: 12px !important;
right: 12px !important;
display: flex !important;
align-items: center !important;
gap: 8px !important;
z-index: 5 !important;
}
/* Favori Kalp Butonu ve Sayaç Balonu */
.btn-add-to-favorites,
.favorite-action-btn {
position: relative !important;
background: #ffffff !important;
border-radius: 50% !important;
width: 36px !important;
height: 36px !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
cursor: pointer !important;
}
/* Görseldeki Kırmızı 66 Sayısı Gibi Balon */
.fav-count-badge,
.favorite-action-btn::after {
content: "66"; /* Dinamik değilse default değer, yoksa html'den beslenir */
position: absolute !important;
bottom: -2px !important;
right: -4px !important;
background: #ff0000 !important;
color: #ffffff !important;
font-size: 10px !important;
font-weight: 700 !important;
padding: 2px 5px !important;
border-radius: 10px !important;
line-height: 1 !important;
box-shadow: 0 1px 3px rgba(0,0,0,0.2) !important;
}
/* 4. Ürün Adı Metin Alanı */
.product-name,
.product-title {
font-size: 13px !important;
font-weight: 600 !important;
color: #111111 !important;
margin: 15px 12px 8px 12px !important;
text-transform: uppercase !important;
letter-spacing: 0.3px !important;
line-height: 1.4 !important;
display: -webkit-box !important;
-webkit-line-clamp: 2 !important;
-webkit-box-orient: vertical !important;
overflow: hidden !important;
height: 36px !important; /* Çift satırda düzen bozulmaması için sabit yükseklik */
}
/* 5. Fiyat Alanları Kombinasyonu */
.product-price-container {
padding: 0 12px 15px 12px !important;
display: flex !important;
align-items: center !important;
gap: 10px !important;
}
/* Eski Üstü Çizili Fiyat */
.old-price,
.discount-price {
font-size: 13px !important;
color: #aaaaaa !important;
text-decoration: line-through !important;
font-weight: 400 !important;
}
/* Yeni Güncel Fiyat */
.current-price,
.sale-price {
font-size: 15px !important;
font-weight: 700 !important;
color: #000000 !important;
}
/* 6. EN ÖNEMLİ ALAN: Görseldeki Siyah Sepette Ek İndirim Barı */
.basket-discount-bar,
.product-campaign-text,
.sepet-indirim-alani {
background: #000000 !important;
color: #ffffff !important;
text-align: center !important;
padding: 11px 10px !important;
font-size: 11px !important;
font-weight: 600 !important;
letter-spacing: 0.6px !important;
display: flex !important;
justify-content: center !important;
align-items: center !important;
gap: 6px !important;
text-transform: uppercase !important;
width: 100% !important;
box-sizing: border-box !important;
margin-top: auto !important; /* Kartın en altına yapışmasını sağlar */
}
/* Sepetteki Son Net Fiyat Vurgusu */
.basket-discount-bar .final-bold-price,
.sepet-indirim-alani strong {
font-size: 14px !important;
font-weight: 700 !important;
color: #ffffff !important;
}