/* Çerez onay bandı ve tercih penceresi — tüm sayfalarda bağımsız çalışır. */
.cc-root {
  --cc-bg: #ffffff; --cc-text: #1c1a17; --cc-muted: #55504a; --cc-border: #e4e0d7;
  --cc-brand: #8c6810; --cc-brand-strong: #6f520c; --cc-surface-2: #f2f0eb;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--cc-text); line-height: 1.55;
}
[data-theme="dark"] .cc-root, body.dark-theme .cc-root {
  --cc-bg: #1a1917; --cc-text: #f1eee8; --cc-muted: #bdb7ad; --cc-border: #2f2c28;
  --cc-brand: #d6a73c; --cc-brand-strong: #e7bf63; --cc-surface-2: #22201d;
}
.cc-root *, .cc-root *::before, .cc-root *::after { box-sizing: border-box; }
.cc-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 2147483000; max-width: 760px; margin: 0 auto;
  background: var(--cc-bg); border: 1px solid var(--cc-border); border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18); padding: 20px 24px;
}
.cc-title { margin: 0 0 6px; font-size: 16px; font-weight: 700; color: var(--cc-text); }
.cc-text { margin: 0; font-size: 13px; color: var(--cc-muted); }
.cc-text a { color: var(--cc-brand-strong); }
.cc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cc-btn {
  flex: 1 1 150px; height: 38px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--cc-border);
  background: var(--cc-bg); color: var(--cc-text); font: 600 13px/1 inherit; font-family: inherit; cursor: pointer;
}
.cc-btn:hover { background: var(--cc-surface-2); }
.cc-btn-primary { background: var(--cc-brand); border-color: var(--cc-brand); color: #fff; }
.cc-btn-primary:hover { background: var(--cc-brand-strong); border-color: var(--cc-brand-strong); }
[data-theme="dark"] .cc-btn-primary, body.dark-theme .cc-btn-primary { color: #1a1917; }
.cc-btn:focus-visible, .cc-switch input:focus-visible + span { outline: 2px solid var(--cc-brand); outline-offset: 2px; }
.cc-backdrop { position: fixed; inset: 0; z-index: 2147483001; background: rgba(15, 14, 12, 0.55); display: grid; place-items: center; padding: 16px; }
.cc-modal { width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--cc-bg); border: 1px solid var(--cc-border); border-radius: 14px; padding: 24px; }
.cc-option { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--cc-border); }
.cc-option:last-of-type { border-bottom: 0; }
.cc-option h3 { margin: 0 0 4px; font-size: 14px; font-weight: 600; color: var(--cc-text); }
.cc-option p { margin: 0; font-size: 12px; color: var(--cc-muted); }
.cc-switch { position: relative; flex-shrink: 0; margin-top: 2px; }
.cc-switch input { position: absolute; opacity: 0; width: 38px; height: 22px; margin: 0; cursor: pointer; }
.cc-switch span { display: block; width: 38px; height: 22px; border-radius: 999px; background: #cdc7ba; position: relative; transition: background .15s; }
.cc-switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; }
.cc-switch input:checked + span { background: var(--cc-brand); }
.cc-switch input:checked + span::after { transform: translateX(16px); }
.cc-switch input:disabled + span { opacity: .6; }
@media (max-width: 560px) { .cc-banner { left: 8px; right: 8px; bottom: 8px; padding: 16px; } }
