/* Havale kutusu ve kopyala düğmeleri */
.em-havale { padding: 4px 14px; }
.em-havale-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--em-border); }
.em-havale-row > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.em-havale-row span { font-size: 12px; font-weight: 700; color: var(--em-muted); text-transform: uppercase; letter-spacing: .04em; }
.em-havale-row strong { font-size: 15px; overflow-wrap: anywhere; }
.em-havale .em-havale-uyari { margin: 12px 0 10px; }
.em-copy { flex: 0 0 auto; min-height: 36px; padding: 6px 14px; border: 1px solid var(--em-text); border-radius: var(--em-radius); background: #fff; color: var(--em-text); font: inherit; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; cursor: pointer; }
.em-copy:hover { background: var(--em-text); color: #fff; }
.em-copy.is-done { background: #1e7a3a; border-color: #1e7a3a; color: #fff; }
.wc-bacs-bank-details .em-copy { margin-left: 10px; vertical-align: middle; }

/* Alt bilgi adres satırı */
.em-footer .em-address-line { display: flex; align-items: flex-start; gap: 8px; margin-top: 8px; font-size: 13px; font-weight: 500; line-height: 1.5; }
.em-footer .em-address-line svg { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; }

@media (max-width: 768px) {
	/* Sepet: her ürün tek bir kart; görsel solda, ad ve fiyat yanında, adet ve tutar altta */
	.woocommerce-cart table.cart tr.cart_item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; grid-template-areas: 'thumb name remove' 'thumb price price' 'qty qty total'; gap: 4px 12px; padding: 14px; border-top: 1px solid var(--em-border); }
	.woocommerce-cart table.cart tr.cart_item:first-child { border-top: 0; }
	.woocommerce-cart table.cart tr.cart_item td { display: block; padding: 0; border: 0; background: none; text-align: left !important; }
	.woocommerce-cart table.cart tr.cart_item td::before { display: none; }
	.woocommerce-cart table.cart tr.cart_item td.product-thumbnail { grid-area: thumb; display: block; width: auto; padding: 0; }
	.woocommerce-cart table.cart tr.cart_item td.product-thumbnail img { width: 72px; height: 72px; }
	.woocommerce-cart table.cart tr.cart_item td.product-name { grid-area: name; font-size: 14px; line-height: 1.4; }
	.woocommerce-cart table.cart tr.cart_item td.product-remove { grid-area: remove; width: auto; padding: 0; }
	.woocommerce-cart table.cart tr.cart_item td.product-price { grid-area: price; font-size: 13px; }
	.woocommerce-cart table.cart tr.cart_item td.product-quantity { grid-area: qty; align-self: center; margin-top: 8px; }
	.woocommerce-cart table.cart tr.cart_item td.product-subtotal { grid-area: total; align-self: center; margin-top: 8px; font-size: 16px; text-align: right !important; }
	.woocommerce-cart table.cart tr.cart_item .quantity .qty { width: 72px; height: 40px; }

	/* Toplam ve ödeme özetinde etiketler tek satırda kalsın */
	.woocommerce-cart .cart_totals table.shop_table tr { display: flex; justify-content: space-between; gap: 12px; }
	.woocommerce-cart .cart_totals table.shop_table th, .woocommerce-cart .cart_totals table.shop_table td { width: auto; border-top: 0; }
	.woocommerce-cart .cart_totals table.shop_table tr + tr { border-top: 1px solid var(--em-border); }
	.woocommerce-cart .cart_totals table.shop_table td::before { display: none; }
	.woocommerce-cart .cart_totals table.shop_table tbody th { display: block !important; flex: 0 0 auto; }
	.woocommerce-cart .cart_totals table.shop_table td { text-align: right !important; }
	.woocommerce-checkout #order_review table.shop_table td, .woocommerce-checkout #order_review table.shop_table th { font-size: 14px; }
	.woocommerce-checkout #order_review .order-total th, .woocommerce-checkout #order_review .order-total td { font-size: 17px; }

	/* Ödeme kutusu kenar boşlukları */
	.woocommerce-checkout #payment ul.payment_methods { padding: 12px; }
	.woocommerce-checkout #payment div.payment_box { padding: 10px 0 0; margin: 8px 0 0; }
	.woocommerce-checkout #payment div.form-row { padding: 12px; }
	.em-havale { padding: 2px 12px; }
	.em-havale-row strong { font-size: 14px; }

	.em-footer .em-address-line { flex: 1 0 100%; }
}
.woocommerce ul.products li.product a img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; }
.woocommerce-cart table.cart td.product-thumbnail img { object-fit: contain; }
