.cookie-notice {
    position: fixed;
    right: 20px;
    bottom: 20px;
    left: 20px;
    z-index: 1050;
}

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

.cookie-notice__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1170px;
    margin: 0 auto;
    padding: 18px 20px;
    color: #ffffff;
    background: #253746;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

.cookie-notice__text {
    margin: 0 20px 0 0;
    font-size: 16px;
    line-height: 1.4;
}

.cookie-notice__text a {
    color: #ffffff;
    text-decoration: underline;
}

.cookie-notice__text a:hover,
.cookie-notice__text a:focus {
    color: #f7941d;
}

.cookie-notice__button {
    flex: 0 0 auto;
    padding: 10px 24px;
    border: 0;
    color: #ffffff;
    background: #f7941d;
    cursor: pointer;
    font-size: 16px;
}

.cookie-notice__button:hover,
.cookie-notice__button:focus {
    background: #df7c08;
}

.b-footer .footer-agreement {
    display: block;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.7);
    text-align: right;
    text-transform: none;
    text-decoration: none;
}

.b-footer .footer-agreement:hover,
.b-footer .footer-agreement:focus {
    color: #f7941d;
}

@media (max-width: 767px) {
    .cookie-notice {
        right: 10px;
        bottom: 10px;
        left: 10px;
    }

    .cookie-notice__content {
        display: block;
        padding: 15px;
    }

    .cookie-notice__text {
        margin: 0 0 15px;
        font-size: 14px;
    }

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