.bf-cookie {
    position: fixed;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    z-index: 9998;
    width: min(920px, calc(100% - 24px));
    padding: 14px 18px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 40px -20px rgba(20, 40, 30, .45), inset 0 0 0 1px rgba(31, 74, 58, .10);
    font-size: 13.5px;
    line-height: 1.5;
    color: #35503f;
}

.bf-cookie[hidden] {
    display: none !important;
}

.bf-cookie__text {
    margin: 0 0 10px;
}

.bf-cookie__text a {
    color: #2f6f4f;
    text-decoration: underline;
}

.bf-cookie__short {
    display: none;
}

.bf-cookie__actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.bf-cookie__ok,
.bf-cookie__no {
    padding: 9px 16px;
    border-radius: 10px;
    font-size: 13.5px;
    cursor: pointer;
}

.bf-cookie__ok {
    border: 0;
    background: #2f6f4f;
    color: #fff;
}

.bf-cookie__no {
    border: 1px solid #cfdcd3;
    background: #fff;
    color: #35503f;
}

@media (max-width: 560px) {
    .bf-cookie {
        padding: 12px 14px;
        font-size: 12.5px;
        bottom: 10px;
    }

    .bf-cookie__long { display: none; }
    .bf-cookie__short { display: inline; }

    .bf-cookie__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .bf-cookie__ok,
    .bf-cookie__no {
        padding: 9px 10px;
        font-size: 12.5px;
    }
}
