/* K12 · Çerez onayı. Masaüstünde sol altta kart (sağ alttaki "Bize ulaşın" ile çakışmaz), telefonda alt barın üstünde. */
.nwx-cc[hidden], .nwx-cc [hidden] { display: none !important; }
.nwx-cc { font-family: Gilroy, "Segoe UI", Arial, sans-serif; color: #2f302f; }
html[lang^="fa"] .nwx-cc { font-family: Vazirmatn, Tahoma, "Segoe UI", Arial, sans-serif; }
.nwx-cc *, .nwx-cc *::before, .nwx-cc *::after { box-sizing: border-box; }
.nwx-cc__banner {
    position: fixed;
    z-index: 99990;
    inset-inline-start: 20px;
    bottom: 20px;
    width: min(440px, calc(100vw - 40px));
    padding: 20px 22px;
    background: #fff;
    border: 1px solid rgba(47, 48, 47, .16);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .18);
}
@media (max-width: 1198px) {
    .nwx-cc__banner { inset-inline: 0; bottom: var(--nw-bar-h, 60px); width: auto; padding: 16px; border-inline: 0; }
}
.nwx-cc__title { margin: 0 0 8px; font-size: 17px; font-weight: 600; line-height: 1.3; color: #1f2120; }
.nwx-cc__text { margin: 0 0 14px; font-size: 14px; line-height: 1.55; color: #3d3f3d; }
.nwx-cc__text a, .nwx-cc__policy a { color: #87501f; text-decoration: underline; }
.nwx-cc__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.nwx-cc__btn {
    flex: 1 1 auto;
    min-height: 44px;
    padding: 0 16px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    border: 1px solid transparent;
    border-radius: 2px;
    cursor: pointer;
}
.nwx-cc__btn--primary { color: #fff; background: #a0612f; border-color: #a0612f; }
.nwx-cc__btn--primary:hover, .nwx-cc__btn--primary:focus-visible { background: #87501f; border-color: #87501f; }
.nwx-cc__btn--outline { color: #2f302f; background: #fff; border-color: rgba(47, 48, 47, .35); }
.nwx-cc__btn--outline:hover, .nwx-cc__btn--outline:focus-visible { border-color: #a0612f; color: #87501f; }
.nwx-cc button:focus-visible, .nwx-cc a:focus-visible, .nwx-cc input:focus-visible + span { outline: 2px solid #cc8a56; outline-offset: 2px; }

.nwx-cc__modal { position: fixed; inset: 0; z-index: 99995; display: grid; place-items: center; padding: 16px; }
.nwx-cc__backdrop { position: absolute; inset: 0; background: rgba(20, 22, 21, .55); }
.nwx-cc__dialog { position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 26px; background: #fff; box-shadow: 0 24px 60px rgba(0, 0, 0, .25); }
.nwx-cc__x { position: absolute; inset-inline-end: 8px; top: 8px; width: 44px; height: 44px; border: 0; background: transparent; font-size: 26px; line-height: 1; cursor: pointer; color: #2f302f; }
.nwx-cc__cats { list-style: none; margin: 8px 0 20px; padding: 0; }
.nwx-cc__cats li { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid rgba(47, 48, 47, .12); }
.nwx-cc__cats strong { display: block; font-size: 15px; font-weight: 600; color: #1f2120; }
.nwx-cc__cats p { margin: 4px 0 0; font-size: 13px; line-height: 1.5; color: #555; }
.nwx-cc__always { flex: 0 0 auto; font-size: 12px; font-weight: 600; color: #1f7a4d; white-space: nowrap; padding-top: 2px; }
.nwx-cc__switch { position: relative; flex: 0 0 48px; width: 48px; height: 28px; cursor: pointer; }
.nwx-cc__switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.nwx-cc__switch span { position: absolute; inset: 0; border-radius: 28px; background: #b9b5b0; transition: background-color .2s; pointer-events: none; }
.nwx-cc__switch span::after { content: ''; position: absolute; top: 3px; inset-inline-start: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .2s; }
.nwx-cc__switch input:checked + span { background: #a0612f; }
.nwx-cc__switch input:checked + span::after { transform: translateX(20px); }
html[dir="rtl"] .nwx-cc__switch input:checked + span::after { transform: translateX(-20px); }
.nwx-cc__policy { margin: 14px 0 0; font-size: 13px; }

.nwx-cc-link { cursor: pointer; }
.nwx-cc-link--float { position: fixed; z-index: 9980; inset-inline-start: 12px; bottom: 12px; padding: 6px 10px; font-size: 12px; background: #fff; color: #2f302f; border: 1px solid rgba(47, 48, 47, .2); }
@media (max-width: 1198px) { .nwx-cc-link--float { bottom: calc(var(--nw-bar-h, 60px) + 12px); } }
@media (prefers-reduced-motion: reduce) { .nwx-cc__switch span, .nwx-cc__switch span::after { transition: none; } }
