.cookie-consent[hidden],
.cookie-consent-settings[hidden] {
    display: none !important;
}

.cookie-consent {
    position: fixed;
    right: 24px;
    bottom: 24px;
    left: 24px;
    z-index: 10000;
    max-width: 1180px;
    margin: 0 auto;
    color: #1c1c1c;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, .2);
    font-family: Montserrat, Arial, sans-serif;
}

.cookie-consent__content {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 24px;
}

.cookie-consent__text {
    flex: 1 1 auto;
}

.cookie-consent__title {
    margin: 0 0 8px;
    font-size: 20px;
    line-height: 1.3;
}

.cookie-consent__description,
.cookie-consent__status {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
}

.cookie-consent__description a {
    color: #b41f2d;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-consent__status {
    min-height: 1.55em;
    margin-top: 6px;
    color: #616161;
}

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

.cookie-consent__button,
.cookie-consent-settings {
    border-radius: 8px;
    font: 600 14px/1.2 Montserrat, Arial, sans-serif;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.cookie-consent__button {
    min-width: 132px;
    padding: 13px 18px;
    border: 1px solid #b41f2d;
}

.cookie-consent__button--primary {
    color: #fff;
    background: #b41f2d;
}

.cookie-consent__button--primary:hover,
.cookie-consent__button--primary:focus-visible {
    background: #8f1722;
    border-color: #8f1722;
}

.cookie-consent__button--secondary {
    color: #b41f2d;
    background: #fff;
}

.cookie-consent__button--secondary:hover,
.cookie-consent__button--secondary:focus-visible {
    color: #fff;
    background: #b41f2d;
}

.cookie-consent__button:focus-visible,
.cookie-consent-settings:focus-visible {
    outline: 3px solid rgba(180, 31, 45, .3);
    outline-offset: 2px;
}

.cookie-consent-settings {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 9999;
    padding: 9px 12px;
    color: #333;
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(0, 0, 0, .2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .14);
}

.cookie-consent-settings:hover {
    color: #b41f2d;
    border-color: #b41f2d;
}

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

    .cookie-consent__content {
        display: block;
        padding: 18px;
    }

    .cookie-consent__actions {
        margin-top: 16px;
    }

    .cookie-consent__button {
        flex: 1 1 50%;
        min-width: 0;
        padding-right: 10px;
        padding-left: 10px;
    }
}

@media (max-width: 390px) {
    .cookie-consent__actions {
        flex-direction: column-reverse;
    }
}
