
.et-terms.simple .terms-item img, .et-make .make-item img {
    width: 70%;
}

/* Mobex Tema - Sale (İndirim) etiketini gizle */
.product .onsale, 
span.onsale, 
ul .product .label, 
.single-product-wrapper > .label {
    display: none !important;
}

/* Mobex Tema - Yıldız değerlendirmelerini gizle */
.product .star-rating, 
.woocommerce .star-rating,
.woocommerce-product-rating {
    display: none !important;
}

/* Kategori açıklama yazısını (term-description) aşağı kaydırma */
.woocommerce .term-description {
    margin-top: 80px !important; 
}

@media (min-width: 1024px) {
    .woocommerce ul.products {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 20px; /* Ürünler arası boşluk, temanıza göre artırıp azaltabilirsiniz */
    }
}

/* 1. Add to Cart Butonu: Turuncu arka plan, Siyah yazı */
body .product button.single_add_to_cart_button {
    background-color: #F06F3B !important;
    color: #000000 !important;
}

/* Add to Cart - Fareyle üzerine gelince hafif koyulaşması için */
body .product button.single_add_to_cart_button:hover {
    background-color: #d85c29 !important; 
    color: #000000 !important;
}

/* 2. Buy Now Butonu: Siyah arka plan, Beyaz yazı */
body .product a.buy-now-button.single_add_to_cart_button {
    background-color: #000000 !important;
    color: #ffffff !important;
}

/* Buy Now - Fareyle üzerine gelince hafif grileşmesi için */
body .product a.buy-now-button.single_add_to_cart_button:hover {
    background-color: #333333 !important; 
    color: #ffffff !important;
}

/* Mobil görünümde butonların arasına boşluk ekleme */
@media (max-width: 768px) {
    body .product a.buy-now-button.single_add_to_cart_button {
        margin-top: 12px !important; 
    }
}

/* Filtreleme kutularındaki (Make, Model vb.) yazıları büyük harf yap */
.product-vehicle-filter .select2-selection__rendered {
    text-transform: uppercase !important;
}

/* Eğer tıklandığında açılan liste içindeki seçeneklerin de zorla büyük harf görünmesini isterseniz: */
.select2-container .select2-results__option {
    text-transform: uppercase !important;
}

/* Sepet Sayfası  Revize Kodu */
.woocommerce-cart a.button.wc-forward[href="https://www.plusautostyle.co.uk/shop/"] {
    display: block !important;
    width: 100% !important;
    text-align: center;
    box-sizing: border-box;
    margin-top: 10px; 
}
/* Sepetteki ürün isimlerinin font kalınlığını azaltma */
.woocommerce table.shop_table tbody > tr > td.product-name a {
    font-weight: 500 !important; 
}
/* Sepet sayfasındaki PayPal mesajının dış çerçevesini ve iframe'leri gizleme */
.woocommerce-cart [data-pp-message],
.woocommerce-cart .ppcp-messages,
.woocommerce-cart .cart_totals [data-pp-message],
.woocommerce-cart iframe[title*="PayPal Pay Later"],
.woocommerce-cart iframe[name^="paypal_message"] {
    display: none !important;
}

/* Mobil cihazlarda kupon ve sepeti guncelle butonlarini duzenleme (Tam Genislik) */
@media only screen and (max-width: 767px) {
    .woocommerce-cart .shop_table td.actions {
        display: flex !important;
        flex-direction: column;
        gap: 15px; /* Elemanlar arası boşluk */
    }

    .woocommerce-cart .shop_table td.actions .coupon {
        width: 100% !important;
        float: none !important;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .woocommerce-cart .shop_table td.actions .coupon input.input-text {
        width: 100% !important;
    }

    .woocommerce-cart .shop_table td.actions .coupon button.button,
    .woocommerce-cart .shop_table td.actions > button.button[name="update_cart"] {
        width: 100% !important;
        float: none !important;
        margin: 0 !important;
    }
}
/* Mobilde Görsel Solda, İsim Sağda, Alt Kısım Orijinal */
@media only screen and (max-width: 767px) {
    /* Satırı esnek (yan yana dizilebilir) yapıya çeviriyoruz */
    .woocommerce table.shop_table_responsive tr.cart_item {
        display: flex !important;
        flex-wrap: wrap !important;
        position: relative;
        padding-top: 35px; /* Çarpı butonu için üstte boşluk bırakıyoruz */
    }

    /* Çarpı (Sil) Butonunu Sağ Üst Köşeye Sabitleme */
    .woocommerce table.shop_table_responsive tr.cart_item td.product-remove {
        position: absolute;
        top: 5px;
        right: 5px;
        width: auto !important;
        border: none !important;
        display: block !important;
        padding: 0 !important;
    }
    .woocommerce table.shop_table_responsive tr.cart_item td.product-remove::before {
        display: none !important; /* 'Remove:' yazısını gizler */
    }

    /* 1 NOLU ALAN: Ürün Görseli (Sola hizalı) */
    .woocommerce table.shop_table_responsive tr.cart_item td.product-thumbnail {
        width: 40% !important; /* Görsel alanının genişliği */
        border: none !important;
        padding: 0 15px 15px 0 !important;
        display: block !important;
        text-align: left !important;
    }
    .woocommerce table.shop_table_responsive tr.cart_item td.product-thumbnail img {
        width: 100%;
        height: auto;
        border-radius: 6px;
    }

    /* 2 NOLU ALAN: Ürün İsmi (Sağa hizalı, görselin yanı) */
    .woocommerce table.shop_table_responsive tr.cart_item td.product-name {
        width: 60% !important; /* İsim alanının genişliği */
        border: none !important;
        padding: 0 0 15px 0 !important;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        text-align: left !important;
    }

    /* ALT KISIM: Fiyat, Adet ve Ara Toplam (Orijinal hali gibi %100 genişlikte alt alta) */
    .woocommerce table.shop_table_responsive tr.cart_item td.product-price,
    .woocommerce table.shop_table_responsive tr.cart_item td.product-quantity,
    .woocommerce table.shop_table_responsive tr.cart_item td.product-subtotal {
        width: 100% !important;
        /* Temanızın orijinal çizgileri ve sağ-sol hizalaması burada aynen korunur */
    }
}

/* Mobilde Stripe Kredi Kartı ve Link Alanını Genişletme */
@media only screen and (max-width: 767px) {
    /* Stripe'ı saran dış kutunun gereksiz iç boşluklarını sıfırlıyoruz */
    .woocommerce-checkout #payment ul.payment_methods li.wc_payment_method {
        padding: 15px 5px !important; 
    }
    
    .woocommerce-checkout #payment div.payment_box {
        padding: 10px 5px !important;
        width: 100% !important;
    }

    /* Stripe formunun ekranı tam kaplamasını zorluyoruz */
    .wc-stripe-upe-element,
    .wc-stripe-upe-element iframe {
        width: 100% !important;
        max-width: 100% !important;
    }
}



