            /* =========================================================
   COOKIES · SIGNO EN COMUNIDAD
   ========================================================= */

            /* [hidden] {
                display: none !important;
            } */
            .cookie-banner[hidden],
            .cookie-settings[hidden] {
                display: none !important;
            }

            /* OVERLAY */
            .cookie-banner,
            .cookie-settings {
                position: fixed;
                inset: 0;
                background: rgba(0, 0, 0, 0.55);
                display: flex;
                align-items: center;
                justify-content: center;
                z-index: 1000;
                padding: 1rem;
                will-change: opacity, transform;
            }

            /* CAJA */
            .cookie-content {
                background: var(--color-primario, #2b5c8a);
                color: #ffffff;
                max-width: 460px;
                width: 100%;
                padding: 1.6rem;
                border-radius: 16px;
                box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
                text-align: center;
                font-family: system-ui, sans-serif;
            }

            .cookie-content h2 {
                margin-top: 0;
                margin-bottom: 0.8rem;
                font-size: 1.25rem;
                font-weight: 600;
            }

            .cookie-content p {
                font-size: 0.95rem;
                line-height: 1.5;
                margin-bottom: 1.2rem;
            }

            /* OPCIONES */
            .cookie-option {
                display: flex;
                justify-content: space-between;
                align-items: center;
                gap: 1rem;
                margin: 0.9rem 0;
                font-size: 0.9rem;
                text-align: left;
            }

            /* BOTONES TOGGLE */
            .toggle-btn {
                padding: 0.35rem 0.9rem;
                border-radius: 999px;
                border: 2px solid #ffffff;
                background: transparent;
                color: #ffffff;
                font-size: 0.85rem;
                cursor: pointer;
                transition: background 0.2s ease, color 0.2s ease;
            }

            .toggle-btn[aria-pressed="true"] {
                background: #ffffff;
                color: var(--color-primario, #2b5c8a);
                font-weight: 600;
            }

            .toggle-btn.fixed {
                opacity: 0.7;
                cursor: default;
            }

            /* ACCIONES */
            .cookie-actions {
                margin-top: 1.4rem;
                display: flex;
                flex-direction: column;
                gap: 0.6rem;
            }

            /* BOTONES */
            .btn-cookie {
                padding: 0.45rem 1rem;
                border-radius: 999px;
                border: 2px solid #ffffff;
                background: transparent;
                color: #ffffff;
                font-size: 0.9rem;
                cursor: pointer;
            }

            .btn-cookie.primary {
                background: #ffffff;
                color: var(--color-primario, #2b5c8a);
                font-weight: 600;
            }