/* Cookie consent banner of the marketing pages. */
.mk-cookie {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 1080;
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--m-surface);
    color: var(--m-ink);
    border: 1px solid var(--m-line-strong);
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(27, 21, 48, 0.16);
}

.mk-cookie[hidden] { display: none; }

.mk-cookie__text p {
    margin: 4px 0 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--m-ink-2);
}

.mk-cookie__text a { color: var(--m-brand); font-weight: 600; }

.mk-cookie__actions { display: flex; gap: 8px; flex-shrink: 0; }

/* Both choices have the same size and weight on purpose: refusing must be as easy as accepting. */
.mk-cookie__btn {
    min-height: 44px;
    min-width: 96px;
    padding: 0 18px;
    border-radius: 10px;
    border: 1.5px solid var(--m-brand);
    background: var(--m-surface);
    color: var(--m-brand-strong);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.mk-cookie__btn--accept { background: var(--m-brand); color: #fff; }

.mk-cookie__btn:hover { background: var(--m-brand-soft); }
.mk-cookie__btn--accept:hover { background: var(--m-brand-strong); }
.mk-cookie__btn:focus-visible { outline: none; box-shadow: var(--m-focus); }

@media (max-width: 575px) {
    .mk-cookie { flex-direction: column; align-items: stretch; }
    .mk-cookie__actions .mk-cookie__btn { flex: 1; }
}
