/* ASSETS/CSS/COMPONENTS/COOKIE-CONSENT.CSS */

.cookie-banner[hidden],
.cookie-modal[hidden] {
    display: none;
}

.cookie-banner {
    position: fixed;
    right: 24px;
    bottom: 24px;
    left: 24px;
    z-index: 10000;
}

.cookie-banner__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 28px 32px;
    background: #151515;
    box-shadow: 0 20px 70px rgba(0, 0, 0, .28);
}

.cookie-banner__text {
    max-width: 760px;
}

.cookie-banner__eyebrow {
    margin: 0 0 8px;
    color: #cc0000;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.cookie-banner h2,
.cookie-modal h2,
.cookie-option h3 {
    color: #fff;
}

.cookie-banner h2 {
    margin: 0 0 10px;
}

.cookie-banner p,
.cookie-modal p {
    color: rgba(255, 255, 255, .72);
    line-height: 1.7;
}

.cookie-banner a {
    color: #fff;
    text-decoration: underline;
}

.cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: grid;
    place-items: center;
    padding: 24px;
}

.cookie-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .7);
}

.cookie-modal__panel {
    position: relative;
    z-index: 1;
    width: min(680px, 100%);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    padding: 42px;
    background: #151515;
    box-shadow: 0 20px 80px rgba(0, 0, 0, .4);
}

.cookie-modal__close {
    position: absolute;
    top: 16px;
    right: 18px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
}

.cookie-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.cookie-option h3 {
    margin: 0 0 7px;
    font-size: 18px;
}

.cookie-option p {
    margin: 0;
}

.cookie-option__required {
    color: rgba(255, 255, 255, .62);
    font-size: 13px;
    white-space: nowrap;
}

.cookie-switch {
    position: relative;
    width: 52px;
    height: 28px;
    flex: 0 0 52px;
}

.cookie-switch input {
    position: absolute;
    opacity: 0;
}

.cookie-switch__slider {
    position: absolute;
    inset: 0;
    background: #555;
    cursor: pointer;
    transition: background .2s ease;
}

.cookie-switch__slider::before {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 20px;
    height: 20px;
    background: #fff;
    content: "";
    transition: transform .2s ease;
}

.cookie-switch input:checked + .cookie-switch__slider {
    background: #cc0000;
}

.cookie-switch input:checked + .cookie-switch__slider::before {
    transform: translateX(24px);
}

.cookie-modal__save {
    width: 100%;
    margin-top: 24px;
}

.cookie-modal-open {
    overflow: hidden;
}

@media (max-width: 900px) {
    .cookie-banner {
        right: 12px;
        bottom: 12px;
        left: 12px;
    }

    .cookie-banner__content {
        display: block;
        padding: 24px;
    }

    .cookie-banner__actions {
        justify-content: flex-start;
        margin-top: 22px;
    }

    .cookie-banner__actions .button {
        flex: 1 1 180px;
    }
}

@media (max-width: 600px) {
    .cookie-modal {
        padding: 12px;
    }

    .cookie-modal__panel {
        padding: 34px 22px 24px;
    }

    .cookie-option {
        align-items: flex-start;
    }
}

/* ASSETS/CSS/COMPONENTS/COOKIE-CONSENT.CSS */

.cookie-banner__actions .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 0;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition:
        background-color .2s ease,
        color .2s ease,
        border-color .2s ease;
}

.cookie-banner__actions .button--primary {
    border-color: #cc0000;
    background: #cc0000;
    color: #fff;
}

.cookie-banner__actions .button--primary:hover {
    border-color: #a90000;
    background: #a90000;
}

.cookie-banner__actions .button--secondary {
    border-color: rgba(255, 255, 255, .45);
    background: transparent;
    color: #fff;
}

.cookie-banner__actions .button--secondary:hover {
    border-color: #fff;
    background: #fff;
    color: #151515;
}