:root {
    --consent-safe-bottom: 0px;
}

.cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: var(--consent-safe-bottom, 0px);
    z-index: 1050;
    background: #1c1a19;
    color: #f4f0ec;
    padding: 16px 20px;
    box-shadow: 0 -2px 14px rgba(0, 0, 0, .25);
    font-size: 14px;
    line-height: 1.5;
    transform: translateY(100%);
    transition: transform .25s ease;
}

.cookie-consent.is-visible {
    transform: translateY(0);
}

.cookie-consent__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.cookie-consent__text {
    flex: 1 1 320px;
}

.cookie-consent__text a {
    color: #ffb3b0;
    text-decoration: underline;
}

.cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.cookie-consent__btn {
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.cookie-consent__btn--accept {
    background: #c12228;
    color: #fff;
}

.cookie-consent__btn--reject,
.cookie-consent__btn--save {
    background: transparent;
    color: #f4f0ec;
    border-color: rgba(244, 240, 236, .4);
}

.cookie-consent__btn--link {
    background: none;
    border: none;
    color: #f4f0ec;
    text-decoration: underline;
    padding: 9px 4px;
}

.cookie-consent__panel {
    max-width: 1100px;
    margin: 12px auto 0;
    display: none;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid rgba(244, 240, 236, .2);
    padding-top: 12px;
}

.cookie-consent__panel.is-open {
    display: flex;
}

.cookie-consent__option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cookie-consent__option strong {
    font-size: 13.5px;
}

.cookie-consent__option small {
    display: block;
    opacity: .7;
    font-weight: 400;
}

.cookie-consent__option input[type="checkbox"] {
    width: 40px;
    height: 22px;
    flex: none;
}

@media (max-width: 575.98px) {
    .cookie-consent {
        padding: 14px;
    }

    .cookie-consent__actions {
        width: 100%;
    }

    .cookie-consent__btn {
        flex: 1;
    }
}
