.cookie-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 1200;
    max-width: 520px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.18);
    padding: 1.25rem 1.35rem;
    display: none;
    animation: cookieSlideUp 0.35s ease;
}

.cookie-banner.is-visible { display: block; }

@keyframes cookieSlideUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.cookie-banner h3 {
    margin: 0 0 0.45rem;
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
}

.cookie-banner p {
    margin: 0 0 1rem;
    font-size: 0.82rem;
    line-height: 1.65;
    color: #6b7280;
}

.cookie-banner a {
    color: #6b8bd5;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cookie-btn {
    border: none;
    border-radius: 10px;
    padding: 0.55rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s;
}

.cookie-btn-accept {
    background: #72ab86;
    color: #fff;
}

.cookie-btn-accept:hover { background: #5a9270; }

.cookie-btn-essential {
    background: #f3f4f6;
    color: #374151;
}

.cookie-btn-essential:hover { background: #e5e7eb; }

@media (max-width: 560px) {
    .cookie-banner {
        left: 0.75rem;
        right: 0.75rem;
        bottom: calc(0.75rem + env(safe-area-inset-bottom));
        max-width: none;
    }
    .cookie-actions { flex-direction: column; }
    .cookie-btn { width: 100%; min-height: 44px; }
}
