
.tilda-cookie-notice {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);

    z-index: 999999;

    width: 480px;
    max-width: calc(100vw - 30px);

    box-sizing: border-box;
    pointer-events: none;
}

.tilda-cookie-notice__box {
    width: 100%;
    box-sizing: border-box;

    padding: 22px 26px;

    background: #ffffff;

    border: 1px solid #d9d9d9;
    border-radius: 8px;

    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);

    font-family: "Open Sans", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 400;

    color: #222222;
    text-align: center;

    pointer-events: auto;
}

.tilda-cookie-notice__text {
    margin: 0 0 18px;
}

.tilda-cookie-notice__link {
    color: #222222;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tilda-cookie-notice__link:hover {
    opacity: 0.75;
}

.tilda-cookie-notice__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 190px;
    height: 44px;
    padding: 0 24px;

    border: 0;
    border-radius: 5px;

    background: #FFC107;
    color: #111111;

    font-family: "Open Sans", Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    transition: opacity 0.2s ease;
}

.tilda-cookie-notice__button:hover {
    opacity: 0.88;
}


@media (max-width: 640px) {

    .tilda-cookie-notice {
        position: fixed;

        left: 50%;
        right: auto;
        bottom: 12px;

        transform: translateX(-50%);

        width: calc(100% - 24px);
        max-width: 340px;

        margin: 0;
        padding: 0;

        box-sizing: border-box;
    }

    .tilda-cookie-notice__box {
        width: 100%;
        max-width: 100%;

        padding: 14px;

        box-sizing: border-box;

        background: #ffffff;
        border-radius: 7px;

        font-size: 11px;
        line-height: 1.35;

        text-align: center;
    }

    .tilda-cookie-notice__text {
        margin: 0 0 10px;
    }

    .tilda-cookie-notice__button {
        display: flex;

        width: 100%;
        min-width: 0;
        height: 38px;

        margin: 0;
        padding: 0 12px;

        box-sizing: border-box;

        align-items: center;
        justify-content: center;

        font-size: 12px;

        border-radius: 4px;
    }
}
</style>