.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--space-blue, #ffffff);
    color: var(--star-white, #1c1917);
    padding: 20px 24px;
    border-top: var(--g15-border, 1px solid #e7e5e4);
    box-shadow: 0 -8px 32px rgba(28, 25, 23, 0.08);
    z-index: 9999;
    display: none;
    animation: g15-slide-up 0.35s ease-out;
}

@keyframes g15-slide-up {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cookie-consent-banner.show { display: block; }

.cookie-consent-content {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-consent-text { flex: 1; min-width: 280px; }

.cookie-consent-text div {
    font-family: 'Fraunces', serif;
    font-size: 1.05rem;
    margin-bottom: 6px;
    color: var(--star-white, #1c1917);
}

.cookie-consent-text p {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 6px;
    color: var(--ink-muted, #57534e);
}

.cookie-consent-text a {
    color: var(--comet-cyan, #0d9488);
    text-decoration: underline;
}

.cookie-consent-buttons {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 18px;
    border-radius: var(--g15-radius-sm, 10px);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: opacity 0.2s ease;
}

.cookie-btn-accept {
    background: var(--star-white, #1c1917);
    color: var(--space-blue, #fff);
}

.cookie-btn-reject,
.cookie-btn-settings {
    background: var(--space-dark, #faf7f2);
    color: var(--star-white, #1c1917);
}

.cookie-settings-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(28, 25, 23, 0.4);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-settings-modal.show { display: flex; }

.cookie-settings-content {
    background: var(--space-blue, #fff);
    color: var(--star-white, #1c1917);
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: var(--g15-radius, 16px);
    padding: 28px;
    box-shadow: var(--shadow-lift);
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background: var(--comet-cyan, #0d9488);
}

@media (max-width: 768px) {
    .cookie-consent-content { flex-direction: column; text-align: center; }
    .cookie-consent-buttons { width: 100%; }
    .cookie-btn { flex: 1; }
}
