.cookie-consent {
    position: fixed;
    z-index: 1200;
    left: 16px;
    right: 16px;
    bottom: 16px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.cookie-consent.is-visible {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
}

.cookie-consent-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 420px;
    margin: 0 auto;
    padding: 10px 12px 10px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--border);
    box-shadow: 0 10px 40px rgba(16, 24, 40, 0.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.cookie-consent-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.95rem;
}

.cookie-consent-text {
    flex: 1;
    min-width: 0;
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.45;
    color: var(--text-secondary);
}

.cookie-consent-text a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.cookie-consent-text a:hover {
    text-decoration: underline;
}

.cookie-consent-btn {
    flex-shrink: 0;
    min-width: 44px;
    height: 32px;
    padding: 0 14px;
    border: none;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-consent-btn:hover {
    background: var(--primary-hover);
}

.cookie-consent-close {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-consent-close:hover {
    background: var(--bg);
    color: var(--text-secondary);
}

@media (min-width: 769px) {
    .cookie-consent {
        left: auto;
        right: 20px;
        bottom: 20px;
    }

    .cookie-consent-inner {
        margin: 0;
        max-width: 360px;
    }
}

@media (max-width: 768px) {
    .cookie-consent {
        bottom: calc(var(--bottom-nav-h, 64px) + 12px);
    }

    .cookie-consent-inner {
        padding: 10px 10px 10px 12px;
        gap: 8px;
    }

    .cookie-consent-icon {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }

    .cookie-consent-text {
        font-size: 0.74rem;
    }

    .cookie-consent-btn {
        height: 30px;
        padding: 0 12px;
    }
}

@media (max-width: 400px) {
    .cookie-consent-close {
        display: none;
    }
}
