/* Toyman Çerez Onayı */
.tcz-banner, .tcz-modal, .tcz-reopen { --tcz-border:#dcdde0; --tcz-muted:#3b4148; box-sizing:border-box; font-family:inherit; }
.tcz-banner *, .tcz-modal *, .tcz-reopen * { box-sizing:border-box; }

.tcz-banner{
	position:fixed; z-index:999998; bottom:16px; left:16px;
	width:calc(100% - 32px); max-width:var(--tcz-max,880px);
	background:#fff; color:var(--tcz-text,#1f2328);
	border:1px solid var(--tcz-border); border-radius:12px;
	box-shadow:0 6px 24px rgba(20,24,40,.10), 0 1px 3px rgba(20,24,40,.06);
	padding:20px 20px 22px;
	opacity:0; transform:translateY(12px);
	transition:opacity .3s ease, transform .3s ease;
}
.tcz-banner.tcz-show{ opacity:1; transform:none; }
.tcz-banner.tcz-pos-center{ left:50%; transform:translate(-50%,12px); }
.tcz-banner.tcz-pos-center.tcz-show{ transform:translate(-50%,0); }
.tcz-banner.tcz-pos-right{ left:auto; right:16px; }
.tcz-banner.tcz-pos-full{ left:0; right:0; bottom:0; width:100%; max-width:none; border-radius:0; border-width:1px 0 0; }

.tcz-logo{ display:block; height:22px; width:auto; max-width:200px; margin:0 0 10px; }
.tcz-title{ margin:0 0 10px; font-size:18px; line-height:1.3; font-weight:700; color:var(--tcz-text,#1f2328); letter-spacing:0; text-transform:none; }
.tcz-text{ margin:0 0 16px; font-size:13px; line-height:1.75; color:var(--tcz-muted); }
.tcz-text a{ color:inherit; text-decoration:underline; text-underline-offset:2px; }
.tcz-text a:hover{ color:var(--tcz-primary,#0f1a8a); }

.tcz-actions{ display:flex; flex-wrap:wrap; gap:10px; }
.tcz-btn{
	appearance:none; -webkit-appearance:none; margin:0;
	display:inline-flex; align-items:center; justify-content:center;
	min-height:34px; padding:7px 12px;
	font-family:inherit; font-size:12.5px; line-height:1.2; font-weight:600; letter-spacing:0; text-transform:none;
	border-radius:6px; cursor:pointer; text-decoration:none;
	transition:filter .15s ease, background-color .15s ease;
}
.tcz-btn-primary{ background:var(--tcz-primary,#0f1a8a); color:#fff; border:1px solid var(--tcz-primary,#0f1a8a); }
.tcz-btn-primary:hover{ filter:brightness(1.18); color:#fff; background:var(--tcz-primary,#0f1a8a); }
.tcz-btn-ghost{ background:#fff; color:var(--tcz-text,#1f2328); border:1px solid var(--tcz-border); font-weight:500; }
.tcz-btn-ghost:hover{ background:#f4f5f7; color:var(--tcz-text,#1f2328); }
.tcz-btn:focus-visible, .tcz-switch input:focus-visible + span, .tcz-close:focus-visible, .tcz-reopen:focus-visible{
	outline:2px solid var(--tcz-primary,#0f1a8a); outline-offset:2px;
}

/* Tercihler penceresi */
.tcz-modal{ position:fixed; inset:0; z-index:999999; display:none; align-items:center; justify-content:center; padding:16px; background:rgba(15,18,30,.45); }
.tcz-modal.tcz-show{ display:flex; }
.tcz-dialog{
	background:#fff; color:var(--tcz-text,#1f2328); width:100%; max-width:560px; max-height:calc(100vh - 32px);
	display:flex; flex-direction:column; border-radius:12px; border:1px solid var(--tcz-border);
	box-shadow:0 20px 50px rgba(15,18,30,.25);
}
.tcz-dialog-head{ display:flex; align-items:flex-start; justify-content:space-between; gap:12px; padding:20px 20px 0; }
.tcz-dialog-head .tcz-title{ margin:0; }
.tcz-close{ background:none; border:0; padding:4px; margin:-4px -4px 0 0; cursor:pointer; color:var(--tcz-muted); font-size:22px; line-height:1; border-radius:6px; }
.tcz-close:hover{ background:#f4f5f7; color:var(--tcz-text,#1f2328); }
.tcz-dialog-body{ padding:10px 20px 4px; overflow:auto; }
.tcz-dialog-body > .tcz-text{ margin-bottom:12px; }
.tcz-cat{ border:1px solid var(--tcz-border); border-radius:8px; padding:12px 14px; margin-bottom:10px; }
.tcz-cat-head{ display:flex; align-items:center; justify-content:space-between; gap:12px; }
.tcz-cat-name{ font-size:14px; font-weight:600; margin:0; }
.tcz-cat-desc{ font-size:12.5px; line-height:1.6; color:var(--tcz-muted); margin:6px 0 0; }
.tcz-always{ font-size:12px; font-weight:600; color:var(--tcz-primary,#0f1a8a); white-space:nowrap; }
.tcz-dialog-foot{ display:flex; flex-wrap:wrap; gap:10px; justify-content:flex-end; padding:14px 20px 20px; border-top:1px solid #eef0f2; margin-top:8px; }

/* Anahtar */
.tcz-switch{ position:relative; display:inline-block; width:40px; height:22px; flex:0 0 auto; }
.tcz-switch input{ position:absolute; opacity:0; width:100%; height:100%; margin:0; cursor:pointer; z-index:1; }
.tcz-switch span{ position:absolute; inset:0; background:#c9ccd2; border-radius:22px; transition:background .2s; }
.tcz-switch span::after{ content:""; position:absolute; top:3px; left:3px; width:16px; height:16px; background:#fff; border-radius:50%; transition:transform .2s; box-shadow:0 1px 2px rgba(0,0,0,.2); }
.tcz-switch input:checked + span{ background:var(--tcz-primary,#0f1a8a); }
.tcz-switch input:checked + span::after{ transform:translateX(18px); }

/* Çerezleri Yönet butonu */
.tcz-reopen{
	position:fixed; z-index:999997; left:16px; bottom:16px;
	display:inline-flex; align-items:center; gap:6px;
	opacity:0; visibility:hidden; transform:translateY(8px); pointer-events:none;
	transition:opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
	background:#fff; color:var(--tcz-text,#1f2328); border:1px solid var(--tcz-border);
	border-radius:999px; padding:7px 12px 7px 9px; font-family:inherit; font-size:12px; line-height:1; font-weight:500; cursor:pointer;
	box-shadow:0 3px 12px rgba(20,24,40,.12);
}
.tcz-reopen.tcz-show{ opacity:1; visibility:visible; transform:none; pointer-events:auto; transition:opacity .25s ease, transform .25s ease, visibility 0s; }
.tcz-reopen svg{ width:16px; height:16px; color:var(--tcz-primary,#0f1a8a); }
.tcz-reopen.tcz-reopen-icon{ width:44px; height:44px; padding:0; justify-content:center; }
.tcz-reopen.tcz-reopen-icon svg{ width:22px; height:22px; }
.tcz-reopen.tcz-reopen-icon span{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }

@media (max-width:600px){
	.tcz-banner{ left:8px; right:8px; bottom:8px; width:auto; padding:16px; }
	.tcz-banner.tcz-pos-center{ left:8px; transform:translateY(12px); }
	.tcz-banner.tcz-pos-center.tcz-show{ transform:none; }
	.tcz-title{ font-size:16px; }
	.tcz-text{ font-size:12.5px; line-height:1.6; max-height:38vh; overflow:auto; }
	.tcz-actions .tcz-btn{ flex:1 1 auto; }
	.tcz-dialog-foot .tcz-btn{ flex:1 1 auto; }
}
@media (prefers-reduced-motion:reduce){
	.tcz-banner, .tcz-reopen, .tcz-reopen.tcz-show, .tcz-switch span, .tcz-switch span::after{ transition:none; }
}
