/* Studioo Cookie Consent */

.scc-banner {
    position: fixed;
    inset-inline: 16px;
    bottom: 16px;
    z-index: 999999;
    max-width: 560px;
    margin-inline: auto;
    background: #fff;
    color: var(--scc-primary, #1d1d1f);
    border-radius: 14px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, .18);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.scc-inner {
    padding: 20px 22px;
}

.scc-text h2 {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 700;
    color: inherit;
}

.scc-text p {
    margin: 0 0 14px;
    color: #4b4b4f;
}

.scc-text a {
    color: var(--scc-accent, #2563eb);
    text-decoration: underline;
}

.scc-categories {
    display: grid;
    gap: 10px;
    margin: 0 0 16px;
    padding: 14px;
    background: #f6f6f7;
    border-radius: 10px;
}

.scc-cat {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    cursor: pointer;
}

.scc-cat input {
    margin-top: 3px;
    accent-color: var(--scc-accent, #2563eb);
}

.scc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.scc-btn {
    padding: 9px 16px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

.scc-btn:focus-visible {
    outline: 2px solid var(--scc-accent, #2563eb);
    outline-offset: 2px;
}

.scc-btn-primary {
    background: var(--scc-primary, #1d1d1f);
    color: #fff;
}

.scc-btn-primary:hover {
    background: var(--scc-accent, #2563eb);
}

.scc-btn-ghost {
    background: transparent;
    color: var(--scc-primary, #1d1d1f);
    border-color: #d6d6da;
}

.scc-btn-ghost:hover {
    background: #f2f2f4;
}

.scc-reopen {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 999998;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: none;
    border-radius: 50%;
    background: var(--scc-primary, #1d1d1f);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .2);
}

.scc-reopen:hover {
    background: var(--scc-accent, #2563eb);
}

@media (max-width: 480px) {
    .scc-banner {
        inset-inline: 8px;
        bottom: 8px;
    }
    .scc-actions .scc-btn {
        flex: 1 1 auto;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .scc-banner:not([hidden]) {
        animation: scc-in .25s ease;
    }
    @keyframes scc-in {
        from { opacity: 0; transform: translateY(12px); }
        to   { opacity: 1; transform: translateY(0); }
    }
}
