/* Anasayfa (FORM-1 kabuğu) çerez bilgilendirmesi ve onay penceresi. İç sayfalardaki polish.css kurallarının
   anasayfa değişkenleriyle (--accent, --line, --muted) yazılmış karşılığı. */
.cookie-note { position: fixed; bottom: 18px; left: 18px; z-index: 45; display: flex; align-items: flex-start; gap: 12px; max-width: 460px; padding: 14px 14px 14px 16px; border: 1px solid var(--line, #e5e5e1); border-radius: 12px; background: #fff; color: #252626; font-size: 13.5px; line-height: 1.5; box-shadow: 0 10px 30px rgba(0, 0, 0, .12); }
.cookie-note[hidden] { display: none; }
.cookie-note p { margin: 0; color: #252626; }
.cookie-note a { font-weight: 600; color: var(--accent, #cf3037); }
.cookie-note .btn { flex: none; height: 36px; padding: 0 14px; font-size: 13px; }
.cookie-note .btn-line { background: #fff; color: #252626; border: 1px solid var(--line, #e5e5e1); }
.consent-bar { position: fixed; right: 18px; bottom: 18px; left: 18px; z-index: 60; display: flex; align-items: center; gap: 20px; max-width: 1180px; margin: 0 auto; padding: 16px 18px; border: 1px solid var(--line, #e5e5e1); border-radius: 12px; background: #fff; color: #252626; font-size: 14px; line-height: 1.5; box-shadow: 0 10px 30px rgba(0, 0, 0, .12); }
.consent-bar[hidden] { display: none; }
.consent-text { flex: 1; min-width: 0; }
.consent-text h2 { margin: 0 0 4px; font-size: 15px; letter-spacing: 0; }
.consent-text p, .cd-intro { margin: 0; color: #252626; }
.consent-text a, .cd-intro a { color: var(--accent, #cf3037); font-weight: 600; }
.consent-actions { display: flex; flex: none; gap: 10px; }
.consent-btn { min-width: 128px; border: 1px solid var(--accent, #cf3037); background: var(--accent, #cf3037); color: #fff; }
.consent-btn:hover { filter: brightness(1.08); }
.consent-btn-alt { background: #fff; color: #252626; border-color: var(--line, #e5e5e1); }
.consent-btn-alt:hover { filter: none; background: var(--soft, #fbecee); }
.consent-dlg { width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 20px; border: 1px solid var(--line, #e5e5e1); border-radius: 12px; background: #fff; color: #252626; font-size: 14px; line-height: 1.5; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.consent-dlg::backdrop { background: rgba(10, 20, 35, .55); }
.cd-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cd-head h2 { margin: 0; font-size: 18px; letter-spacing: 0; }
.cd-x { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 8px; background: none; color: inherit; cursor: pointer; }
.cd-x:hover { background: var(--soft, #fbecee); }
.cd-intro { margin: 8px 0 12px; }
.cd-cat { padding: 12px 0; border-top: 1px solid var(--line, #e5e5e1); }
.cd-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.cd-row h3 { margin: 0 0 2px; font-size: 15px; }
.cd-row p { margin: 0; color: var(--muted, #757774); font-size: 13px; }
.cd-sw { display: flex; flex: none; align-items: center; gap: 8px; padding-top: 2px; font-size: 13px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.cd-sw input { width: 20px; height: 20px; margin: 0; accent-color: var(--accent, #cf3037); }
.cd-sw input:disabled { cursor: not-allowed; }
.cd-actions { flex-wrap: wrap; margin-top: 16px; }
.cd-actions .btn { flex: 1 1 140px; }
.footer .f-cookie, .f-cookie { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
@media (max-width: 980px) {
    .cookie-note { right: 10px; bottom: 10px; left: 10px; max-width: none; padding: 12px; font-size: 13px; }
    .consent-bar { right: 10px; bottom: 10px; left: 10px; flex-direction: column; align-items: stretch; gap: 12px; padding: 14px; font-size: 13px; }
    .consent-actions { gap: 8px; }
    .consent-actions .btn { flex: 1 1 0; min-width: 0; padding: 0 10px; }
    .cd-actions { flex-direction: column; }
    .cd-actions .btn { flex: none; }
}
