/* KOZTECH consent banner — matches the theme palette, works without the theme. */
.kc-banner[hidden], .kc-prefs[hidden], .kc-btn[hidden] { display: none !important; }

.kc-banner {
    position: fixed;
    z-index: 90;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 85vh;
    overflow-y: auto;
    background: #0c0c0f;
    color: #d9d9de;
    border-top: 2px solid #9b14f4;
    box-shadow: 0 -12px 40px rgba(0, 0, 0, .45);
    font-family: Inter, Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.6;
}
.kc-inner {
    width: min(calc(100% - 48px), 1240px);
    margin: 0 auto;
    padding: 22px 0;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px 40px;
    align-items: center;
}
.kc-title {
    margin: 0 0 6px;
    color: #fff;
    font-size: 13px;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 800;
}
.kc-text p { margin: 0; max-width: 760px; }
.kc-text a { color: #d08cff; text-decoration: underline; text-underline-offset: 3px; }
.kc-text a:hover { color: #fff; }

.kc-prefs { grid-column: 1 / -1; }
.kc-prefs fieldset { margin: 0; padding: 0; border: 0; display: grid; gap: 10px; }
.kc-option {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, .14);
    cursor: pointer;
}
.kc-option input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: #9b14f4; flex: none; }
.kc-option input:disabled { cursor: not-allowed; }
.kc-option strong { color: #fff; margin-right: 6px; }

.kc-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
/* Accept and reject have identical weight on purpose (no nudging). */
.kc-btn {
    min-height: 44px;
    padding: 12px 20px;
    border: 1px solid #9b14f4;
    background: #9b14f4;
    color: #fff;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
}
.kc-btn:hover { background: #7a10c2; border-color: #7a10c2; }
.kc-btn-link {
    background: transparent;
    border-color: rgba(255, 255, 255, .38);
}
.kc-btn-link:hover { background: rgba(255, 255, 255, .08); border-color: #fff; }
.kc-btn:focus-visible, .kc-option input:focus-visible, .kc-text a:focus-visible, .kc-open:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Footer "Cookie settings" link-style button */
.kc-open {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
}
.kc-open:hover { color: #fff; }

@media (max-width: 900px) {
    .kc-inner { grid-template-columns: 1fr; width: min(calc(100% - 32px), 1240px); padding: 18px 0; }
    .kc-actions { justify-content: stretch; }
    .kc-actions .kc-btn { flex: 1 1 calc(50% - 5px); }
    .kc-actions .kc-btn-link, .kc-actions [data-kc="save"] { flex-basis: 100%; }
}

/* Cookie table in the Cookie Policy ([koztech_cookie_list]); scrolls horizontally on narrow screens. */
.kc-table-wrap { overflow-x: auto; margin: 16px 0; -webkit-overflow-scrolling: touch; }
.kc-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.kc-table th, .kc-table td { padding: 10px 12px; border: 1px solid #d4d4d8; text-align: left; vertical-align: top; }
.kc-table th { background: #e9e9ee; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 600px) {
    .kc-table { min-width: 0; }
    .kc-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .kc-table, .kc-table tbody, .kc-table tr, .kc-table td { display: block; }
    .kc-table tr { margin-bottom: 12px; border: 1px solid #d4d4d8; }
    .kc-table td { display: grid; grid-template-columns: 96px 1fr; gap: 10px; border: 0; border-bottom: 1px solid #e4e4e7; }
    .kc-table td:last-child { border-bottom: 0; }
    .kc-table td::before { content: attr(data-label); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #66666d; }
}
