.cookie-consent {
    background: #fff;
    border: 1px solid rgba(25, 54, 64, .14);
    bottom: 22px;
    box-shadow: 0 18px 55px rgba(13, 37, 45, .2);
    color: #263b42;
    display: none;
    left: 50%;
    max-width: 1040px;
    padding: 22px 24px;
    position: fixed;
    transform: translateX(-50%);
    width: calc(100% - 44px);
    z-index: 100000;
}

.cookie-consent.is-visible {
    align-items: center;
    display: flex;
    gap: 26px;
}

.cookie-consent__content {
    flex: 1;
}

.cookie-consent__content strong {
    color: #173b48;
    display: block;
    font: 500 21px/1.3 "Playfair Display", serif;
    margin-bottom: 6px;
}

.cookie-consent__content p {
    font: 400 13px/1.65 Montserrat, sans-serif;
    margin: 0;
}

.cookie-consent__content a {
    color: #2b5a6a;
    font-weight: 600;
}

.cookie-consent__actions {
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
}

.cookie-consent__button {
    border: 1px solid #2b5a6a;
    cursor: pointer;
    font: 600 11px/1 Montserrat, sans-serif;
    letter-spacing: .08em;
    padding: 14px 18px;
    text-transform: uppercase;
}

.cookie-consent__button--reject {
    background: #fff;
    color: #2b5a6a;
}

.cookie-consent__button--accept {
    background: #2b5a6a;
    color: #fff;
}

.cookie-consent__button:hover,
.cookie-consent__button:focus-visible {
    box-shadow: 0 5px 18px rgba(43, 90, 106, .18);
    transform: translateY(-1px);
}

@media (max-width: 760px) {
    .cookie-consent {
        bottom: 10px;
        padding: 20px;
        width: calc(100% - 20px);
    }

    .cookie-consent.is-visible {
        align-items: stretch;
        flex-direction: column;
        gap: 18px;
    }

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

    .cookie-consent__button {
        padding-inline: 10px;
    }
}
