/* TOPLU TEKLİF penceresi (2026-10-16) — seçili kartlara tek seferde malzeme / katman / renk… uygular.
   Arka plan puslanır (kullanıcı isteği). Düğmeler site standardı .site-dgm (button.css / general.js). */
.ttk-arka {
	position: fixed;
	inset: 0;
	z-index: 1500;               /* siteUyari (2000) üstte kalsın */
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
	background: rgba(15, 23, 42, .32);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	animation: ttkSol .18s ease-out;
}
@keyframes ttkSol { from { opacity: 0; } to { opacity: 1; } }
@keyframes ttkGir { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }

.ttk-kart {
	width: 100%;
	max-width: 640px;
	max-height: calc(100vh - 48px);
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 24px 64px rgba(15, 23, 42, .28);
	animation: ttkGir .22s ease-out;
	overflow: hidden;
}
.ttk-bas {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 20px 14px;
	border-bottom: 1px solid var(--stoper-border, #e4e8eb);
}
.ttk-bas h5 { margin: 0; font-size: 19px; font-weight: 700; color: #1d2939; }
.ttk-alt { margin-top: 3px; font-size: 13px; color: var(--stoper-text, #5c6c7a); }
.ttk-alt b { color: #002951; }
.ttk-kapat {
	flex-shrink: 0;
	width: 34px; height: 34px;
	border: 0; border-radius: 8px;
	background: transparent;
	color: #5c6c7a;
	font-size: 22px; line-height: 1;
	cursor: pointer;
}
.ttk-kapat:hover { background: #f2f5f8; color: #1d2939; }

.ttk-govde { padding: 6px 20px 8px; overflow-y: auto; }
.ttk-bolum { padding: 14px 0 6px; }
.ttk-bolum + .ttk-bolum { border-top: 1px dashed var(--stoper-border, #e4e8eb); }
.ttk-bolum-bas { font-size: 13px; font-weight: 700; color: #1d2939; margin-bottom: 9px; letter-spacing: .1px; }
.ttk-grup { font-size: 11.5px; font-weight: 600; color: #8a98a6; text-transform: uppercase; letter-spacing: .4px; margin: 10px 0 6px; }
.ttk-grup:first-child { margin-top: 0; }
.ttk-secenekler { display: flex; flex-wrap: wrap; gap: 8px; }

.ttk-sec {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	min-height: 38px;
	padding: 7px 13px;
	border: 1px solid #d3dbe3;
	border-radius: 9px;
	background: #fff;
	color: #1d2939;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.25;
	text-align: left;
	cursor: pointer;
	transition: border-color .12s, background .12s, color .12s, box-shadow .12s;
}
.ttk-sec:hover:not(:disabled) { border-color: var(--stoper-blue, #005095); background: var(--stoper-blue-bg, #f6f8fd); }
.ttk-sec.aktif {
	border-color: var(--stoper-blue, #005095);
	background: #eaf2fb;
	color: #003d73;
	box-shadow: inset 0 0 0 1px var(--stoper-blue, #005095);
}
.ttk-sec:disabled { cursor: not-allowed; opacity: .55; background: #f7f8fa; }
.ttk-sec small { display: block; margin-top: 2px; font-size: 11px; font-weight: 500; color: #b4232a; }
.ttk-sec-satir { display: inline-flex; align-items: center; gap: 7px; }
.ttk-renk-nokta { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .18); flex-shrink: 0; }

.ttk-not {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	margin: 12px 0 2px;
	padding: 9px 12px;
	border-radius: 8px;
	background: #f6f8fd;
	color: #3b4a59;
	font-size: 12.5px;
	line-height: 1.45;
}
.ttk-not i { color: var(--stoper-blue, #005095); margin-top: 2px; }
.ttk-not.uyari { background: #fff8e6; }
.ttk-not.uyari i { color: #b7791f; }
.ttk-yukleniyor { padding: 34px 0; text-align: center; color: #5c6c7a; font-size: 14px; }

.ttk-dip { padding: 12px 20px 18px; border-top: 1px solid var(--stoper-border, #e4e8eb); background: #fbfcfd; }
.ttk-dip-not { font-size: 12.5px; color: #5c6c7a; text-align: center; margin-bottom: 11px; }
.ttk-dip .site-dgm:disabled { opacity: .55; cursor: not-allowed; }

/* Seçim menüsü: "Toplu teklif" mavi (Sil kırmızı kalır) */
.dsecim-more-menu { min-width: 170px; }
.dsecim-more-menu button.dsecim-menu-mavi { color: var(--stoper-blue, #005095); }
.dsecim-more-menu button.dsecim-menu-mavi:hover { background: var(--stoper-blue-bg, #f6f8fd); }

@media (max-width: 575.98px) {
	.ttk-arka { padding: 12px; align-items: flex-end; }
	.ttk-kart { max-height: calc(100vh - 24px); border-radius: 14px; }
	.ttk-bas, .ttk-govde, .ttk-dip { padding-left: 16px; padding-right: 16px; }
	.ttk-sec { flex: 1 1 calc(50% - 8px); }
}
