.smartcookie,
.smartcookie-modal {
    box-sizing: border-box;
    font-family: 'TT Fors', Arial, sans-serif
}

.smartcookie *,
.smartcookie *::before,
.smartcookie *::after,
.smartcookie-modal *,
.smartcookie-modal *::before,
.smartcookie-modal *::after {
    box-sizing: border-box
}

.smartcookie {
    position: fixed;
    z-index: 100000;
    bottom: 12rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 24rem);
    max-width: 1060rem;
    min-height: 65rem;
    padding: 16rem;
    background: #000;
    color: #fff;
    font-size: 14rem;
    line-height: 1.2
}

.smartcookie[hidden] {
    display: none
}

.smartcookie__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 32rem;
    max-width: 1408rem;
    margin: 0 auto
}

.smartcookie__text {
    max-width: 650rem
}

.smartcookie__text a {
    color: #e1e000;
    text-decoration: none;
}
.smartcookie-modal__description a {
    color: currentColor;
}

.smartcookie__text a:hover,
.smartcookie-modal__description a:hover {
    text-decoration: underline
}

.smartcookie__actions {
    display: flex;
    align-items: center;
    gap: 12rem
}

.smartcookie__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32rem;
    margin: 0;
    padding: 7rem 12rem;
    border: 1rem solid #e1e000;
    border-radius: 0;
    background: transparent;
    color: #e1e000;
    box-shadow: none;
    cursor: pointer;
    font: 500 12rem/1 'TT Fors', Arial, sans-serif;
    letter-spacing: .02em;
    text-align: center;
    text-transform: uppercase;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease
}

.smartcookie__button:hover {
    background: #e1e000;
    color: #000
}

.smartcookie__button--primary {
    background: #e1e000;
    color: #000
}

.smartcookie__button--primary:hover {
    background: #f0ef00;
    border-color: #f0ef00
}

.smartcookie__button--dark {
    border-color: #000;
    color: #000
}

.smartcookie__button--dark:hover {
    background: #000;
    color: #fff
}

.smartcookie__button:focus-visible,
.smartcookie-modal button:focus-visible,
.smartcookie-modal input:focus-visible+.smartcookie-switch__control {
    outline: 2rem solid #307fe2;
    outline-offset: 3rem
}

.smartcookie-modal {
    width: min(812rem, calc(100vw - 40rem));
    max-width: none;
    max-height: calc(100dvh - 40rem);
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #fff;
    color: #000;
    overflow: auto
}

.smartcookie-modal::backdrop {
    background: rgba(0, 0, 0, .88)
}

.smartcookie-modal[open] {
    display: block
}

.smartcookie-modal__panel {
    padding: 40rem
}

.smartcookie-modal__header {
    position: relative;
    padding-right: 64rem
}

.smartcookie-modal__title {
    margin: 0;
    font-size: 26rem;
    font-weight: 500;
    line-height: 1.1
}

.smartcookie-modal__close {
    position: absolute;
    top: -2rem;
    right: 0;
    width: 40rem;
    height: 40rem;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer
}

.smartcookie-modal__close::before,
.smartcookie-modal__close::after {
    position: absolute;
    top: 19rem;
    left: 0;
    width: 40rem;
    height: 2rem;
    background: #000;
    content: ''
}

.smartcookie-modal__close::before {
    transform: rotate(45deg)
}

.smartcookie-modal__close::after {
    transform: rotate(-45deg)
}

.smartcookie-modal__intro {
    margin-top: 24rem
}

.smartcookie-modal__subtitle {
    font-size: 14rem;
    line-height: 1.2
}

.smartcookie-modal__description {
    margin-top: 12rem;
    color: #8c8c8c;
    font-size: 14rem;
    line-height: 1.25
}

.smartcookie-modal__categories {
    display: flex;
    flex-direction: column;
    gap: 24rem;
    margin-top: 24rem
}

.smartcookie-category {
    border: 1rem solid #dedede
}

.smartcookie-category__header {
    display: flex;
    align-items: center;
    min-height: 64rem;
    padding: 0 16rem;
    gap: 16rem
}

.smartcookie-category__toggle {
    display: flex;
    align-items: center;
    align-self: stretch;
    gap: 14rem;
    min-width: 0;
    flex: 1;
    padding: 0;
    border: 0;
    background: transparent;
    color: #000;
    cursor: pointer;
    font: 400 14rem/1.2 'TT Fors', Arial, sans-serif;
    text-align: left
}

.smartcookie-category__arrow {
    width: 8rem;
    height: 8rem;
    flex: 0 0 auto;
    border-right: 1.5rem solid #000;
    border-bottom: 1.5rem solid #000;
    transform: rotate(45deg) translateY(-2rem);
    transition: transform .2s ease
}

.smartcookie-category.is-open .smartcookie-category__arrow {
    transform: rotate(225deg) translate(-1rem, -1rem)
}

.smartcookie-category__content {
    padding: 0 16rem 4rem
}

.smartcookie-category__content[hidden] {
    display: none
}

.smartcookie-option {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24rem;
    padding: 16rem 0;
    border-top: 1rem solid #e9e9e9
}

.smartcookie-option__content {
    min-width: 0
}

.smartcookie-option__title {
    display: flex;
    align-items: center;
    gap: 8rem;
    font-size: 14rem;
    line-height: 1.2;
    word-break: break-word
}

.smartcookie-option__description {
    margin-top: 8rem;
    color: #8c8c8c;
    font-size: 13rem;
    line-height: 1.3
}

.smartcookie-option__badge {
    display: inline-flex;
    padding: 3rem 6rem;
    background: #f5f5f5;
    color: #8c8c8c;
    font-size: 10rem;
    line-height: 1;
    text-transform: uppercase
}

.smartcookie-switch {
    position: relative;
    display: inline-flex;
    width: 50rem;
    height: 32rem;
    flex: 0 0 auto;
    cursor: pointer
}

.smartcookie-switch input {
    position: absolute;
    width: 1rem;
    height: 1rem;
    margin: 0;
    opacity: 0;
    pointer-events: none
}

.smartcookie-switch__control {
    position: relative;
    width: 50rem;
    height: 32rem;
    border-radius: 16rem;
    background: #e9e9e9;
    transition: background-color .2s ease
}

.smartcookie-switch__control::after {
    position: absolute;
    top: 3rem;
    left: 3rem;
    width: 26rem;
    height: 26rem;
    border-radius: 50%;
    background: #fff;
    content: '';
    transition: transform .2s ease, background-color .2s ease
}

.smartcookie-switch input:checked+.smartcookie-switch__control {
    background: #e1e000
}

.smartcookie-switch input:checked+.smartcookie-switch__control::after {
    background: #000;
    transform: translateX(18rem)
}

.smartcookie-switch input:indeterminate+.smartcookie-switch__control {
    background: linear-gradient(90deg, #e1e000 50%, #e9e9e9 50%)
}

.smartcookie-switch input:indeterminate+.smartcookie-switch__control::after {
    background: #000;
    transform: translateX(9rem)
}

.smartcookie-switch input:disabled+.smartcookie-switch__control {
    cursor: not-allowed;
    filter: grayscale(1);
    opacity: 0.5;
}

.smartcookie-switch:has(input:disabled) {
    cursor: not-allowed;
    filter: grayscale(1);
    opacity: 0.5;
}

.smartcookie-modal__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24rem;
    margin-top: 24rem
}

.smartcookie-modal__actions-group {
    display: flex;
    align-items: center;
    gap: 12rem
}

.smartcookie-scroll-lock {
    overflow: hidden !important
}

@media (max-width:991px) {
    .smartcookie {
        padding: 16rem 20rem
    }

    .smartcookie__inner {
        grid-template-columns: 1fr;
        gap: 16rem
    }

    .smartcookie__text {
        max-width: none;
        font-size: 13rem;
        line-height: 1.3
    }

    .smartcookie__actions {
        flex-wrap: wrap
    }

    .smartcookie-modal {
        width: calc(100vw - 40rem);
        max-height: calc(100dvh - 40rem)
    }

    .smartcookie-modal__panel {
        padding: 32rem 24rem
    }

    .smartcookie-modal__title {
        font-size: 22rem
    }

    .smartcookie-modal__categories {
        gap: 12rem
    }

    .smartcookie-modal__actions {
        align-items: stretch;
        flex-direction: column
    }

    .smartcookie-modal__actions-group {
        display: grid;
        grid-template-columns: 1fr 1fr
    }

    .smartcookie-modal__actions>.smartcookie__button {
        width: 100%
    }
}

@media (max-width:520px) {
    .smartcookie__actions {
        display: grid;
        grid-template-columns: 1fr 1fr
    }

    .smartcookie__actions .smartcookie__button:last-child:nth-child(odd) {
        grid-column: 1/-1
    }

    .smartcookie-modal {
        width: calc(100vw - 24rem);
        max-height: calc(100dvh - 24rem)
    }

    .smartcookie-modal__panel {
        padding: 24rem 16rem
    }

    .smartcookie-modal__header {
        padding-right: 48rem
    }

    .smartcookie-modal__close {
        width: 32rem;
        height: 32rem
    }

    .smartcookie-modal__close::before,
    .smartcookie-modal__close::after {
        top: 15rem;
        width: 32rem
    }

    .smartcookie-category__header {
        padding: 0 12rem
    }

    .smartcookie-category__content {
        padding-right: 12rem;
        padding-left: 12rem
    }

    .smartcookie-option {
        gap: 12rem
    }

    .smartcookie-modal__actions-group {
        grid-template-columns: 1fr
    }
}

