.cookie-consent {
    position: fixed;
    z-index: 10000;
    right: 24px;
    bottom: 24px;
    width: min(680px, calc(100vw - 48px));
    padding: 28px;
    color: #16221b;
    background: #fff;
    border: 1px solid rgba(22, 34, 27, .16);
    border-radius: 8px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, .22);
}

.cookie-consent[hidden],
.cookie-consent__options[hidden] {
    display: none;
}

.cookie-consent__summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: end;
}

.cookie-consent__eyebrow {
    margin: 0 0 5px;
    color: #c24627;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.cookie-consent h2 {
    margin: 0 0 10px;
    font-size: 26px;
    line-height: 1.15;
}

.cookie-consent p {
    margin: 0;
    line-height: 1.55;
}

.cookie-consent__link,
.cookie-consent__text-button,
.cookie-settings-link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-consent__link {
    display: inline-block;
    margin-top: 10px;
}

.cookie-consent__actions {
    display: grid;
    gap: 8px;
    min-width: 170px;
}

.cookie-consent__button,
.cookie-consent__text-button,
.cookie-settings-link {
    border: 0;
    font: inherit;
    cursor: pointer;
}

.cookie-consent__button {
    min-height: 44px;
    padding: 10px 16px;
    background: #f2f2ee;
    border: 1px solid #d4d8d5;
    border-radius: 4px;
    font-weight: 700;
}

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

.cookie-consent__text-button,
.cookie-settings-link {
    padding: 5px;
    background: transparent;
}

.cookie-consent__options {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #e1e4e2;
}

.cookie-consent__option {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    padding: 12px 0;
}

.cookie-consent__option p {
    margin-top: 3px;
    color: #56615a;
    font-size: 14px;
}

.cookie-consent__checkbox {
    width: 22px;
    height: 22px;
}

.cookie-consent :focus-visible,
.cookie-settings-link:focus-visible {
    outline: 3px solid #f2a900;
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .cookie-consent {
        right: 12px;
        bottom: 12px;
        width: calc(100vw - 24px);
        max-height: calc(100vh - 24px);
        padding: 20px;
        overflow-y: auto;
    }

    .cookie-consent__summary {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .cookie-consent h2 {
        font-size: 23px;
    }
}