/* Canlı fiyat tabloları — modern tasarım */
.fiyat-tablo-wrap,
.fiyat-tablo-wrap *,
.fiyat-tablo-wrap *::before,
.fiyat-tablo-wrap *::after {
	box-sizing: border-box;
}
.fiyat-tablo-wrap {
	width: 100%;
	max-width: 100%;
	padding: 4px 0 8px;
	overflow-x: hidden;
}
.fiyat-tablo-card {
	background: #fff;
	border: 1px solid #e8eaee;
	border-radius: 16px;
	box-shadow: 0 10px 28px rgba(26, 31, 43, 0.06);
	overflow: hidden;
	max-width: 100%;
}
.fiyat-tablo-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 14px 18px 6px;
	color: #8a9099;
	font-size: 13px;
	font-weight: 600;
}
.fiyat-tablo-meta .ft-clock {
	width: 15px;
	height: 15px;
	flex-shrink: 0;
}
.fiyat-tablo-meta .ft-time {
	font-variant-numeric: tabular-nums;
	color: #6b7280;
}
.fiyat-tablo-meta .ft-label {
	color: #9aa1aa;
	font-weight: 500;
}
.fiyat-tablo-scroll {
	width: 100%;
	max-width: 100%;
	overflow: hidden;
}
.fiyat-tablo {
	width: 100%;
	max-width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
	margin: 0;
	font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
.fiyat-tablo .ft-head-short {
	display: none;
}
.fiyat-tablo thead th {
	padding: 14px 16px 12px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #5c6470;
	text-align: left;
	border-bottom: 1px solid #eef0f3;
	background: #fff;
}
.fiyat-tablo thead th:nth-child(1) { width: 34%; }
.fiyat-tablo thead th:nth-child(2) { width: 18%; }
.fiyat-tablo thead th:nth-child(3) { width: 28%; }
.fiyat-tablo thead th:nth-child(4) { width: 20%; }
.fiyat-tablo thead th.col-satis,
.fiyat-tablo tbody td.col-satis {
	background: #fbf6ea;
}
.fiyat-tablo tbody td {
	padding: 16px 16px;
	font-size: 15px;
	font-weight: 600;
	color: #2a303a;
	border-bottom: 1px solid #f1f3f5;
	vertical-align: middle;
	min-width: 0;
}
.fiyat-tablo tbody tr:last-child td {
	border-bottom: none;
}
.fiyat-tablo tbody tr:nth-child(even) td {
	background: #fafbfc;
}
.fiyat-tablo tbody tr:nth-child(even) td.col-satis {
	background: #f8f0df;
}
.fiyat-tablo .ft-urun-inner {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-weight: 700;
	color: #1a1f2b;
	letter-spacing: 0.01em;
	min-width: 0;
	width: 100%;
}
.fiyat-tablo .ft-urun-inner > span {
	min-width: 0;
	flex: 1;
	line-height: 1.25;
}
.fiyat-tablo .ft-ico {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	margin-top: 1px;
}
.fiyat-tablo .ft-satis-pill {
	display: inline-block;
	color: #c49a2a;
	font-weight: 800;
	background: rgba(212, 175, 55, 0.12);
	border-radius: 8px;
	padding: 6px 10px;
	line-height: 1.2;
	max-width: 100%;
}
.fiyat-tablo .ft-empty {
	text-align: center;
	color: #9aa1aa;
	font-weight: 500;
	padding: 28px 16px !important;
}

/* Tablet / mobil: kaydırma yok, sığdır */
@media (max-width: 991px) {
	.compare-area,
	.compare-area .container,
	.tab-pane,
	#screen2, #screen3, #screen4, #screen5, #screen6, #screen7 {
		max-width: 100% !important;
		overflow-x: hidden !important;
	}
	.fiyat-tablo-wrap {
		padding: 2px 0 6px;
		overflow-x: hidden !important;
	}
	.fiyat-tablo-scroll {
		overflow: hidden !important;
	}
	.fiyat-tablo-meta {
		padding: 10px 10px 4px;
		font-size: 11px;
		gap: 6px;
	}
	.fiyat-tablo .ft-head-full {
		display: none !important;
	}
	.fiyat-tablo .ft-head-short {
		display: inline !important;
	}
	/* Ürün dar, fiyatlar eşit — taşma olmasın */
	.fiyat-tablo thead th:nth-child(1) { width: 32%; }
	.fiyat-tablo thead th:nth-child(2) { width: 22%; }
	.fiyat-tablo thead th:nth-child(3) { width: 23%; }
	.fiyat-tablo thead th:nth-child(4) { width: 23%; }

	.fiyat-tablo thead th,
	.fiyat-tablo tbody td {
		padding: 12px 4px;
		font-size: 11px;
		white-space: normal !important;
		word-break: break-word;
		overflow-wrap: anywhere;
		min-width: 0 !important;
	}
	.fiyat-tablo thead th {
		font-size: 10px;
		letter-spacing: 0;
		padding: 12px 4px 10px;
	}
	.fiyat-tablo thead th:nth-child(2),
	.fiyat-tablo thead th:nth-child(3),
	.fiyat-tablo thead th.col-satis {
		text-align: right;
	}
	.fiyat-tablo tbody td:nth-child(2),
	.fiyat-tablo tbody td:nth-child(3),
	.fiyat-tablo tbody td.col-satis {
		text-align: right;
		font-variant-numeric: tabular-nums;
		font-size: 10.5px;
		letter-spacing: -0.02em;
	}
	/* Ürün adı: en fazla 2 satır */
	.fiyat-tablo .ft-urun-inner {
		gap: 5px;
		font-size: 10.5px;
		align-items: flex-start;
	}
	.fiyat-tablo .ft-urun-inner > span {
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		line-clamp: 2;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: normal;
		word-break: break-word;
		overflow-wrap: break-word;
		line-height: 1.2;
		max-height: 2.4em;
	}
	.fiyat-tablo .ft-ico {
		width: 12px;
		height: 12px;
		margin-top: 2px;
	}
	.fiyat-tablo .ft-satis-pill {
		padding: 2px 0;
		border-radius: 0;
		background: transparent;
		font-size: 10.5px;
		letter-spacing: -0.02em;
	}
}

@media (max-width: 420px) {
	.fiyat-tablo thead th:nth-child(1) { width: 30%; }
	.fiyat-tablo thead th:nth-child(2) { width: 23%; }
	.fiyat-tablo thead th:nth-child(3) { width: 23.5%; }
	.fiyat-tablo thead th:nth-child(4) { width: 23.5%; }
	.fiyat-tablo thead th,
	.fiyat-tablo tbody td {
		padding: 11px 3px;
		font-size: 10px;
	}
	.fiyat-tablo thead th {
		font-size: 9px;
		padding: 11px 3px 9px;
	}
	.fiyat-tablo tbody td:nth-child(2),
	.fiyat-tablo tbody td:nth-child(3),
	.fiyat-tablo tbody td.col-satis,
	.fiyat-tablo .ft-satis-pill {
		font-size: 9.5px;
	}
	.fiyat-tablo .ft-urun-inner {
		font-size: 9.5px;
		gap: 3px;
	}
	.fiyat-tablo .ft-ico {
		display: none; /* ekstra yer */
	}
}
