/* Cookie / analytics consent */
.cookie-consent {
    position: fixed;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 200;
    display: none;
    justify-content: center;
    pointer-events: none;
}

.cookie-consent.is-visible {
    display: flex;
}

.cookie-consent__panel {
    width: min(760px, 100%);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 16px;
    border: 1px solid rgba(221, 232, 239, .96);
    border-radius: 18px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 18px 54px rgba(53, 55, 66, .16);
    backdrop-filter: blur(16px);
    pointer-events: auto;
}

.cookie-consent__text {
    margin: 0;
    color: #52616d;
    font-size: 13px;
    line-height: 1.45;
}

.cookie-consent__text a {
    color: #353742;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-consent__actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.cookie-consent__button {
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid #dde8ef;
    background: #fff;
    color: #353742;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}

.cookie-consent__button:hover,
.cookie-consent__button:focus {
    transform: translateY(-1px);
}

.cookie-consent__button--accept {
    border-color: #67BFFF;
    background: #67BFFF;
    color: #fff;
}

.cookie-consent__button--accept:hover,
.cookie-consent__button--accept:focus {
    background: #4fb2f5;
    border-color: #4fb2f5;
}

@media (max-width: 680px) {
    .cookie-consent {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }

    .cookie-consent__panel {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 14px;
    }

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

    .cookie-consent__button {
        width: 100%;
    }
}
