.cookie-consent {
    bottom: 0;
    left: 0;
    padding: 8px;
    position: fixed;
    right: 0;
    transform: translateY(100%);
    transition: transform .3s ease;
    z-index: 99999;
    background: var(--color-brand) !important;
}

.cookie-consent.cookie-consent--visible {
    transform: translateY(0);
    background: #fff !important;
    color: #000 !important;
}

.cookie-consent.cookie-consent-full-width .cookie-consent-body {
    margin: 0 auto
}

.cookie-consent.cookie-consent-minimal {
    border-radius: 5px;
    bottom: 1em;
    flex-direction: column;
    left: 1em;
    padding: 0;
    right: unset
}

.cookie-consent.cookie-consent-minimal .cookie-consent-body {
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    margin: 0 16px 16px;
    max-width: 400px!important
}

.cookie-consent.cookie-consent-minimal .cookie-consent__inner {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    padding: 4px
}

.cookie-consent.cookie-consent-minimal .cookie-consent__message {
    font-size: 13px;
    line-height: 1.5;
    padding: 12px 12px 0
}

.cookie-consent.cookie-consent-minimal .cookie-consent__actions {
    gap: 8px;
    justify-content: flex-end;
    margin: 0;
    padding: 8px 12px 12px
}

.cookie-consent.cookie-consent-minimal .cookie-consent__actions button {
    font-size: 12px;
    min-width: auto;
    padding: 6px 12px
}

.cookie-consent.cookie-consent-minimal .cookie-consent__categories {
    margin-top: 0;
    padding: 12px
}

.cookie-consent.cookie-consent-minimal .cookie-consent__categories .cookie-category {
    margin-bottom: 8px;
    padding: 8px
}

.cookie-consent.cookie-consent-minimal .cookie-consent__categories .cookie-category:last-child {
    margin-bottom: 0
}

.cookie-consent.cookie-consent-minimal .cookie-consent__categories .cookie-category__description {
    font-size: 12px
}

.cookie-consent.cookie-consent-minimal .cookie-consent__categories .cookie-consent__save {
    margin-top: 8px;
    padding: 8px 0 0
}

.cookie-consent.cookie-consent-minimal .cookie-consent__categories .cookie-consent__save .cookie-consent__save-button {
    font-size: 12px;
    padding: 6px 12px
}

.cookie-consent .cookie-consent-body {
    border-radius: 4px;
    padding: 8px 15px
}

.cookie-consent .cookie-consent__inner {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem
}

.cookie-consent .cookie-consent__message {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    min-width: 200px
}

.cookie-consent .cookie-consent__message a {
    color: inherit;
    text-decoration: underline
}

.cookie-consent .cookie-consent__message a:hover {
    text-decoration: none
}

.cookie-consent .cookie-consent__categories {
    border-top: 1px solid hsl(0deg 0% 0% / 10%);
    display: none;
    margin-top: 1rem;
    padding-top: 1rem;
}

.cookie-consent .cookie-consent__categories .cookie-category {
    border: 1px solid hsla(0,0%,100%,.1);
    border-radius: 4px;
    margin-bottom: 1rem;
    padding: .75rem
}

.cookie-consent .cookie-consent__categories .cookie-category__label {
    align-items: center;
    cursor: pointer;
    display: flex;
    gap: .5rem;
    margin-bottom: .5rem
}

.cookie-consent .cookie-consent__categories .cookie-category__label input[type=checkbox] {
    border: none;
    border-radius: 0;
    box-shadow: none;
    font-size: medium;
    height: auto;
    margin: 0;
    padding: 0;
    width: auto
}

.cookie-consent .cookie-consent__categories .cookie-category__label input[type=checkbox]:disabled {
    cursor: not-allowed;
    opacity: .5
}

.cookie-consent .cookie-consent__categories .cookie-category__name {
    font-weight: 700
}

.cookie-consent .cookie-consent__categories .cookie-category__description {
    font-size: .9em;
    margin: 0;
    opacity: .8;
    color: #000000;
}

.cookie-consent .cookie-consent__categories .cookie-consent__save {
    margin-top: 1rem;
    padding: .75rem
}

[dir=rtl] .cookie-consent .cookie-consent__categories .cookie-consent__save {
    text-align: left
}

.cookie-consent .cookie-consent__categories .cookie-consent__save .cookie-consent__save-button {
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    min-width: 100px;
    padding: 6px;
    text-align: center;
    transition: all .3s ease;
    width: 100%;
    color: #ffffff !important;
    background: #000000 !important;
}

.cookie-consent .cookie-consent__categories .cookie-consent__save .cookie-consent__save-button:hover {
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
    transform: translateY(-1px)
}

.cookie-consent .cookie-consent__categories .cookie-consent__save .cookie-consent__save-button:active {
    transform: translateY(0)
}

.cookie-consent .cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: flex-end;
    margin-left: auto
}

[dir=rtl] .cookie-consent .cookie-consent__actions {
    margin-left: 0;
    margin-right: auto
}

.cookie-consent .cookie-consent__actions button {
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    min-width: 100px;
    padding: 11px;
    text-align: center;
    transition: all .3s ease;
    border: 1px solid #000!important;
}

.cookie-consent .cookie-consent__actions button:hover {
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
    transform: translateY(-1px)
}

.cookie-consent .cookie-consent__actions button:active {
    transform: translateY(0)
}

.cookie-consent .cookie-consent__actions .cookie-consent__reject {
    font-weight: 500;
    opacity: .95;
}

.cookie-consent .cookie-consent__actions .cookie-consent__reject:hover {
    opacity: 1
}

.cookie-consent .cookie-consent__actions .cookie-consent__customize {
    font-weight: 500;
    opacity: .95
}

.cookie-consent .cookie-consent__actions .cookie-consent__customize:hover {
    opacity: 1
}

.cookie-consent .cookie-consent__actions .cookie-consent__customize.active {
    box-shadow: inset 0 1px 3px rgba(0,0,0,.1);
    opacity: .8;
    transform: translateY(0);
    border: 1px solid #000000 !important;
}

.cookie-consent .cookie-consent__actions .cookie-consent__agree {
    font-weight: 700;
    position: relative;
    border: 1px solid transparent !important;
    background: #fff !important;
    color: #000000 !important;
    border: 1px solid #000 !important;
}

.cookie-consent .cookie-consent__actions .cookie-consent__agree:before {
    background: hsla(0,0%,100%,.1);
    border-radius: 6px;
    content: "";
    inset: -2px;
    position: absolute;
    z-index: -1
}

@media(max-width: 767px) {
    .cookie-consent .cookie-consent__inner {
        align-items:stretch;
        flex-direction: column;
        gap: .75rem
    }

    [dir=rtl] .cookie-consent .cookie-consent__inner {
        flex-direction: column
    }

    .cookie-consent .cookie-consent__actions {
        justify-content: stretch;
        margin-left: 0
    }

    [dir=rtl] .cookie-consent .cookie-consent__actions {
        margin-right: 0
    }

    .cookie-consent .cookie-consent__actions button {
        flex: 1
    }
}
