/* ofsayt-cookie-notice.css — hafif çerez bilgilendirme çubuğu (non-blocking).
   Site CSS değişkenlerini kullanır → dark-mode ([data-theme="dark"]) otomatik. */

.ofs-cookie-notice[hidden] { display: none !important; }

.ofs-cookie-notice {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1050; /* MobileStickyBanner (1048) üstü; post-detail overlay (9500) altı */
    background: var(--base-white, #fff);
    border-top: 1px solid var(--secondary-line, #e8e8e8);
    box-shadow: 0 -4px 18px rgba(0, 0, 0, .10);
    padding: 12px 16px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
}

.ofs-cookie-notice-inner {
    max-width: 1040px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 10px 18px;
    flex-wrap: wrap;
}

.ofs-cookie-notice-text {
    margin: 0;
    flex: 1 1 320px;
    font: 400 13px/1.55 Barlow, sans-serif;
    color: var(--reading-gray, #959297);
}

.ofs-cookie-notice-link {
    color: var(--primary-color, #D94646);
    font-weight: 600;
    text-decoration: underline;
}
.ofs-cookie-notice-link:hover { color: var(--primary-color, #D94646); filter: brightness(.9); }

.ofs-cookie-notice-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ofs-cookie-notice-btn {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: var(--primary-color, #D94646);
    color: #fff;
    font: 600 14px/1 Barlow, sans-serif;
    cursor: pointer;
    transition: filter .15s, background-color .15s, color .15s, border-color .15s;
}
.ofs-cookie-notice-btn:hover { filter: brightness(.92); }
.ofs-cookie-notice-btn:focus-visible { outline: 2px solid var(--primary-color, #D94646); outline-offset: 2px; }

/* İkincil "Reddet" — vurgusuz (kabul kadar baskın değil ama erişilebilir) */
.ofs-cookie-notice-btn--ghost {
    background: transparent;
    color: var(--reading-gray, #959297);
    border-color: var(--secondary-line, #e8e8e8);
}
.ofs-cookie-notice-btn--ghost:hover { filter: none; color: var(--true-black, #242129); background: var(--base-gray, #f5f5f5); }

/* Mobil: alt sabit menü (.ofs-mobile-bottom-nav, d-md-none → ≤767px görünür, 60px + safe-area,
   z-index 1050) ile çakışmasın diye çubuğu menü yüksekliği kadar yukarı kaydır. Aynı breakpoint'te
   içerik ortalanır; butonlar yan yana kalır (alt alta DEĞİL), kenara yapışmadan ortada durur. */
@media (max-width: 767.98px) {
    .ofs-cookie-notice {
        bottom: calc(60px + env(safe-area-inset-bottom, 0px));
        padding-bottom: 12px; /* safe-area artık alt menüde; burada gerek yok */
    }
    .ofs-cookie-notice-inner {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .ofs-cookie-notice-text { flex: 0 0 auto; }
    .ofs-cookie-notice-actions { width: 100%; justify-content: center; }
    .ofs-cookie-notice-btn { flex: 1 1 0; max-width: 200px; }
}
