
.product-name {
    height: 60px; /* Üç satır için sabit yükseklik */
    line-height: 20px; /* Her bir satırın yüksekliği */
    overflow: hidden;
    text-overflow: ellipsis; /* Taşan metni '...' ile göster */
    display: -webkit-box;
    -webkit-line-clamp: 3; /* 3 satır ile sınırla */
    -webkit-box-orient: vertical;
}
.limited-lines {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* 3 satır ile sınırla */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis; /* Uzun metinlerde '...' göster */
}


.price {
    position: relative;
    padding: 10px;
}

/* Eski fiyat */
.price::before {
    content: attr(data-old-price);
    display: block;
    text-decoration: line-through;
    color: #d9534f; /* Kırmızı */
    margin-bottom: 5px;
}

/* Yeni fiyat */
.price::after {
    content: attr(data-new-price);
    display: block;
    font-weight: bold;
    color: #5bc0de; /* Mavi */
}

/* İndirimsiz ürün için mevcut fiyat */
.price[data-old-price=""]::before {
    content: none;
}
.image-container {
    position: relative;
    display: inline-block;
}

.badge-discount {
    position: absolute;
    top: 5px;
    left: 5px;
    background-color: orange;
    color: white;
    padding: 5px;
    font-size: 12px;
    border-radius: 3px;
    z-index: 10; /* Resmin üstünde görünmesini sağlar */
}
.badge-kargo {
    position: absolute;
    bottom: 5px; /* Resmin alt kısmına yerleştirir */
    left: 50%;
    transform: translateX(-50%);
    background-color: green;
    color: white;
    padding: 5px;
    font-size: 12px;
    border-radius: 3px;
    z-index: 10; /* Resmin üstünde görünmesini sağlar */
}
.custom-item {
    color: black;
    text-decoration: none; /* Alt çizgiyi kaldırmak için */
}

/* İstersen hover (üzerine gelince) etkisi de ekleyebilirsin: */
.custom-item:hover {
   color: black;
    text-decoration: none;
}