.cookie-consent {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: .75rem max(1rem, calc((100vw - 1280px) / 2));
    color: var(--text-primary, #111827);
    background: var(--bg-primary, #fff);
    border-top: 1px solid var(--border-color, #d1d5db);
    box-shadow: 0 -8px 30px rgb(0 0 0 / 12%);
}

.cookie-consent__content {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-consent p {
    margin: .35rem 0 0;
    line-height: 1.45;
    color: var(--text-secondary, #4b5563);
}

.cookie-consent__actions {
    display: flex;
    flex: 0 0 auto;
    gap: .5rem;
}

.cookie-consent__button {
    min-height: 42px;
    padding: .65rem 1rem;
    border: 1px solid var(--border-color, #d1d5db);
    border-radius: 10px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.cookie-consent__button--primary {
    color: #fff;
    background: #2563eb;
    border-color: #2563eb;
}

.cookie-consent__button--secondary {
    color: var(--text-primary, #111827);
    background: transparent;
}

.cookie-consent__link {
    flex: 0 0 auto;
    color: #2563eb;
    font-size: .875rem;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .cookie-consent {
        align-items: stretch;
        flex-direction: column;
        gap: .5rem;
        padding: .75rem 1rem;
    }

    .cookie-consent__content {
        align-items: stretch;
        flex-direction: column;
        gap: .65rem;
    }

    .cookie-consent__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .cookie-consent__link {
        margin-top: 0;
    }
}
