/* ======================================================
   1. GÖRSEL VE KART HİZALAMA KODLARI (Görsel & Başlık Düzeltme)
   ====================================================== */

/* Tüm ürün görsellerini sabit yükseklikte tutar ve hizalar */
.products .product img,
ul.products li.product img {
    height: 320px !important; /* Tüm görselleri aynı yüksekliğe sabitler */
    object-fit: cover !important; /* Görsel oranını bozmadan sığdırır */
    width: 100% !important;
}

/* Ürün başlık alanlarını sabit yüksekliğe getirerek yükseklik farkını önler */
.products .product .woocommerce-loop-product__title,
.products .product h2,
.products .product h3,
.products .product .product-title {
    min-height: 40px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

/* Masaüstü 4'lü sütun düzeninde 5. ürünün alt satıra düzgün geçmesini sağlar */
.products .product:nth-child(4n+1),
ul.products li.product:nth-child(4n+1) {
    clear: both !important;
}


/* ======================================================
   2. ÖZEL FİYAT KUTUSU KODLARI (Special Price Box)
   ====================================================== */

.special-price-box {
    border: 1px solid red; /* Kırmızı çerçeve rengi */
    padding: 10px; /* Kutu iç içe boşluk */
    margin-top: 10px; /* Kutu üst boşluk */
    background-color: #f7fafc; /* Beyaz arkaplan rengi */
    height: 50px; /* İstediğiniz yüksekliği ayarlayın */
    display: flex;
    justify-content: center;
    align-items: center;
}

.special-price-box p {
    font-size: 12px; /* İstediğiniz boyutu ayarlayın */
    text-align: center; /* Yazıyı ortala */
    line-height: 1.5; /* Yazı aralığı */
    margin: 0; /* Ekstra paragraf boşluğunu sıfırlar */
}


/* ======================================================
   3. SİPARİŞİNİZ TABLOSU İÇİ KOMBİN TAMAMLAMA KODLARI
   ====================================================== */

.cross-sell-table-header td {
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cross-sell-row {
    background-color: #fafafa;
}

.cross-sell-row td {
    padding: 8px 5px !important;
    border-bottom: 1px dashed #e5e5e5 !important;
}

.add-to-cart-quick-btn {
    display: inline-block;
    margin-top: 4px;
    font-size: 10px !important;
    font-weight: 600;
    color: #e63946 !important; /* Müşterinin dikkatini çekecek şık vurgulu renk */
    text-decoration: none !important;
}

.add-to-cart-quick-btn:hover {
    text-decoration: underline !important;
}

/* Ödeme Sayfasındaki Sepete Eklendi Bildirim Kutularını Gizle */
.woocommerce-checkout .woocommerce-message {
    display: none !important;
}