/* Ürün sayfası "Ödeme Seçenekleri" sekmesi (msu_tab.php → taksit_tablo_html_render).
   Masaüstü: banka kartları açık ızgara. Mobil: akordeon — her banka tek satır
   (logo + en çok taksit + aylık tutar), dokununca tablosu açılır. */

.pt-taksit {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.pt-taksit-banka {
	border: 1px solid #e3e3e8;
	border-radius: 16px;
	background: #fff;
	overflow: hidden;
}

.pt-taksit-banka > summary {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 14px 16px 12px;
	background: #f6f6f8;
	border-bottom: 1px solid #e3e3e8;
	list-style: none;
	cursor: default;
}
.pt-taksit-banka > summary::-webkit-details-marker { display: none; }
.pt-taksit-banka > summary::marker { content: ""; }

.pt-taksit-logo { display: grid; place-items: center; height: 30px; }
.pt-taksit-logo img { display: block; max-width: 120px; max-height: 30px; width: auto; height: auto; object-fit: contain; }

.pt-taksit-ozet { display: flex; align-items: baseline; gap: 6px; font-size: 12.5px; line-height: 1.3; color: #6e6e73; }
.pt-taksit-ozet b { display: none; } /* masaüstünde tablo zaten açık; özet tek satır not */
.pt-taksit-ozet small { font-size: 12px; }
.pt-taksit-ozet small.is-vf { color: #1a7f37; font-weight: 600; }
.pt-taksit-ozet small .woocommerce-Price-amount { color: #000; font-weight: 600; }

.pt-taksit-ok { display: none; color: #8e8e95; transition: transform .2s; }

/* Tablo — Flatsome tablo kurallarını (kenarlık, büyük harf başlık, sıfır yan boşluk) ezer. */
.pt-taksit .pt-taksit-tablo { width: 100%; margin: 0; border: 0; border-collapse: collapse; table-layout: fixed; font-size: 13px; }
.pt-taksit .pt-taksit-tablo th,
.pt-taksit .pt-taksit-tablo td { padding: 9px 14px; border: 0; border-bottom: 1px solid #f1f1f4; text-align: left; line-height: 1.3; }
.pt-taksit .pt-taksit-tablo th { font-size: 11.5px; font-weight: 600; text-transform: none; letter-spacing: 0; color: #6e6e73; }
.pt-taksit .pt-taksit-tablo th:first-child,
.pt-taksit .pt-taksit-tablo td:first-child { width: 34%; }
.pt-taksit .pt-taksit-tablo th:not(:first-child),
.pt-taksit .pt-taksit-tablo td.num { text-align: right; }
.pt-taksit .pt-taksit-tablo td { color: #000; }
.pt-taksit .pt-taksit-tablo td:first-child { color: #6e6e73; }
.pt-taksit .pt-taksit-tablo td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.pt-taksit .pt-taksit-tablo td.num:last-child,
.pt-taksit .pt-taksit-tablo td.num:last-child .woocommerce-Price-amount { color: #8e8e95 !important; }
.pt-taksit .pt-taksit-tablo tr:last-child td { border-bottom: 0; }

.pt-taksit-not { margin: 14px 0 0; font-size: 12px; color: #6e6e73; }

@media (max-width: 1100px) {
	.pt-taksit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── Mobil: akordeon ─────────────────────────────────────────────── */
@media (max-width: 849px) {
	.pt-taksit { grid-template-columns: 1fr; gap: 8px; }
	.pt-taksit-banka { border-radius: 14px; }

	.pt-taksit-banka > summary {
		flex-direction: row;
		gap: 12px;
		padding: 12px 14px;
		background: #fff;
		border-bottom: 0;
		cursor: pointer;
		-webkit-tap-highlight-color: transparent;
	}
	.pt-taksit-banka[open] > summary { border-bottom: 1px solid #f1f1f4; }

	.pt-taksit-logo { flex: none; width: 92px; height: 28px; justify-items: start; }
	.pt-taksit-logo img { max-width: 84px; max-height: 24px; }

	.pt-taksit-ozet { flex: 1 1 auto; min-width: 0; flex-direction: column; align-items: flex-start; gap: 1px; }
	.pt-taksit-ozet b { display: block; font-size: 14px; font-weight: 600; color: #000; }
	.pt-taksit-ozet small { font-size: 12px; }

	.pt-taksit-ok { display: block; flex: none; }
	.pt-taksit-banka[open] .pt-taksit-ok { transform: rotate(180deg); }

	.pt-taksit .pt-taksit-tablo th,
	.pt-taksit .pt-taksit-tablo td { padding: 9px 14px; }
}
