/* Gestión WIN — aviso de cookies (sin overlay: la web sigue siendo usable) */

.cc-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 1000;
    max-width: 1080px;
    margin: 0 auto;
    background: var(--color-surface, #141414);
    color: var(--color-ink-soft, #e2e2dd);
    border: 1px solid var(--color-line, #2a2a2a);
    border-radius: var(--radius-md, 14px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
    font-family: var(--font-sans, system-ui, sans-serif);
}
.cc-banner[hidden] { display: none; }
.cc-banner:focus { outline: none; }
.cc-banner:focus-visible { outline: 2px solid var(--color-accent, #06b6d4); outline-offset: 3px; }

.cc-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px 24px;
}

.cc-text {
    margin: 0;
    flex: 1 1 auto;
    font-size: 14px;
    line-height: 1.55;
}
.cc-text a {
    color: var(--color-accent, #06b6d4);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.cc-text a:hover { color: #fff; }

.cc-actions {
    display: flex;
    gap: 12px;
    flex: 0 0 auto;
}

/* Aceptar y Rechazar: MISMO tamaño, estilo y peso visual */
.cc-btn {
    min-width: 128px;
    padding: 12px 22px;
    border-radius: 999px;
    border: 1px solid var(--color-ink, #f5f5f2);
    background: transparent;
    color: var(--color-ink, #f5f5f2);
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}
.cc-btn:hover { background: var(--color-ink, #f5f5f2); color: var(--color-bg, #0a0a0a); }
.cc-btn:focus-visible { outline: 2px solid var(--color-accent, #06b6d4); outline-offset: 3px; }

/* Enlace «Configurar cookies» del footer (es un botón con aspecto de enlace) */
.cc-footer-link {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    color: var(--color-on-dark-muted, #a8a8a4);
    cursor: pointer;
}
.cc-footer-link:hover { color: #fff; }
.cc-footer-link:focus-visible { outline: 2px solid var(--color-accent, #06b6d4); outline-offset: 2px; }

@media (max-width: 760px) {
    .cc-banner { left: 12px; right: 12px; bottom: 12px; }
    .cc-inner { flex-direction: column; align-items: stretch; gap: 16px; padding: 18px; }
    .cc-actions { width: 100%; }
    .cc-btn { flex: 1 1 0; min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .cc-btn { transition: none; }
}
