.ana-consent {
    --ana-consent-navy: #0f2454;
    --ana-consent-blue: #2095ae;
    --ana-consent-ink: #24314f;
    --ana-consent-muted: #667085;
    --ana-consent-line: #dce4e8;
    --ana-consent-paper: #fff;
    position: fixed;
    z-index: 100000;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    color: var(--ana-consent-ink);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.65;
    visibility: hidden;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}

.ana-consent,
.ana-consent * {
    box-sizing: border-box;
}

.ana-consent.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.ana-consent__panel {
    overflow: hidden;
    border: 0;
    border-top: 1px solid rgba(15, 36, 84, .12);
    border-radius: 0;
    background: var(--ana-consent-paper);
    box-shadow: 0 -12px 40px rgba(15, 36, 84, .18);
}

.ana-consent__accent {
    height: 3px;
    background: linear-gradient(90deg, var(--ana-consent-navy), var(--ana-consent-blue));
}

.ana-consent__body {
    width: min(1240px, 100%);
    margin: 0 auto;
    padding: 21px 32px 22px;
}

.ana-consent__view[data-ana-view="first"] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(440px, 500px);
    grid-template-rows: auto auto auto;
    column-gap: 36px;
    align-items: center;
}

.ana-consent__view[data-ana-view="first"] .ana-consent__eyebrow,
.ana-consent__view[data-ana-view="first"] .ana-consent__intro,
.ana-consent__view[data-ana-view="first"] .ana-consent__policy {
    grid-column: 1;
}

.ana-consent__view[data-ana-view="first"] .ana-consent__actions {
    grid-column: 2;
    grid-row: 1 / -1;
}

.ana-consent__eyebrow {
    margin: 0 0 6px;
    color: var(--ana-consent-blue);
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .14em;
    line-height: 1.2;
    text-transform: uppercase;
}

.ana-consent__title {
    margin: 0 40px 10px 0;
    color: var(--ana-consent-navy);
    font-family: "Gilda Display", Georgia, serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.25;
}

.ana-consent__intro {
    margin: 0;
    color: var(--ana-consent-muted);
}

.ana-consent__policy {
    display: inline-block;
    margin-top: 8px;
    color: var(--ana-consent-navy);
    font-size: 13px;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(32, 149, 174, .55);
    text-underline-offset: 3px;
}

.ana-consent__actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin-top: 22px;
}

.ana-consent__view[data-ana-view="first"] .ana-consent__actions {
    margin-top: 0;
}

.ana-consent__button {
    min-height: 44px;
    margin: 0;
    padding: 12px 13px;
    border: 1px solid var(--ana-consent-navy);
    border-radius: 0;
    background: transparent;
    color: var(--ana-consent-navy);
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: .14em;
    line-height: 1.2;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color .3s ease, border-color .3s ease, color .3s ease;
}

.ana-consent__button:hover {
    border-color: var(--ana-consent-navy);
    background: var(--ana-consent-navy);
    color: #fff;
}

.ana-consent__button--primary {
    border-color: var(--ana-consent-blue);
    background: var(--ana-consent-blue);
    color: #fff;
}

.ana-consent__button--primary:hover {
    border-color: var(--ana-consent-navy);
    background: var(--ana-consent-navy);
}

.ana-consent__button--reject {
    border-color: var(--ana-consent-navy);
    background: var(--ana-consent-navy);
    color: #fff;
}

.ana-consent__button--reject:hover {
    border-color: var(--ana-consent-blue);
    background: var(--ana-consent-blue);
}

.ana-consent__button--secondary {
    border-color: rgba(15, 36, 84, .45);
    background: transparent;
}

.ana-consent__close {
    position: absolute;
    top: 22px;
    right: 22px;
    display: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f1f5f7;
    color: var(--ana-consent-navy);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.ana-consent.has-choice .ana-consent__close {
    display: flex;
}

.ana-consent__view[hidden] {
    display: none !important;
}

.ana-consent__categories {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.ana-consent__view[data-ana-view="preferences"] .ana-consent__actions {
    width: min(620px, 100%);
    margin-left: auto;
}

.ana-consent__category {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 15px 16px;
    border: 1px solid var(--ana-consent-line);
    border-radius: 12px;
    background: #fbfcfc;
}

.ana-consent__category-title {
    display: block;
    margin-bottom: 2px;
    color: var(--ana-consent-navy);
    font-weight: 600;
}

.ana-consent__category-text {
    display: block;
    color: var(--ana-consent-muted);
    font-size: 12px;
    line-height: 1.5;
}

.ana-consent__always {
    color: var(--ana-consent-blue);
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .05em;
    text-align: right;
    text-transform: uppercase;
}

.ana-consent__switch {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    width: 48px;
    height: 27px;
}

.ana-consent__switch input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.ana-consent__switch-track {
    width: 100%;
    border-radius: 999px;
    background: #c7d0d7;
    cursor: pointer;
    transition: background-color .18s ease;
}

.ana-consent__switch-track::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 5px rgba(15, 36, 84, .25);
    transition: transform .18s ease;
}

.ana-consent__switch input:checked + .ana-consent__switch-track {
    background: var(--ana-consent-blue);
}

.ana-consent__switch input:checked + .ana-consent__switch-track::after {
    transform: translateX(21px);
}

.ana-consent :is(button, a, input):focus-visible,
.ana-cookie-settings:focus-visible,
.ana-consent-placeholder button:focus-visible {
    outline: 2px solid var(--ana-consent-blue, #2095ae) !important;
    outline-offset: 2px !important;
}

.ana-cookie-settings {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.ana-consent-placeholder {
    display: flex;
    min-height: inherit;
    height: 100%;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: linear-gradient(135deg, #eef5f6, #f8fafb);
    color: var(--ana-consent-ink, #24314f);
    text-align: center;
}

.ana-consent-placeholder__inner {
    max-width: 360px;
}

.ana-consent-placeholder__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: #fff;
    color: #2095ae;
    font-size: 24px;
    box-shadow: 0 10px 30px rgba(15, 36, 84, .12);
}

.ana-consent-placeholder h3 {
    margin: 0 0 7px;
    color: #0f2454;
    font-family: "Gilda Display", Georgia, serif;
    font-size: 23px;
    font-weight: 400;
}

.ana-consent-placeholder p {
    margin: 0 0 15px;
    color: #667085;
    font-size: 13px;
}

.ana-consent-placeholder button {
    padding: 12px 20px;
    border: 0;
    border-radius: 0;
    background: #2095ae;
    color: #fff;
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: .14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color .3s ease;
}

.ana-consent-placeholder button:hover {
    background: #0f2454;
}

@media (max-width: 991.98px) {
    .ana-consent__view[data-ana-view="first"] {
        display: block;
    }

    .ana-consent__view[data-ana-view="first"] .ana-consent__actions {
        margin-top: 18px;
    }

    .ana-consent__categories {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .ana-consent {
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
    }

    .ana-consent__body {
        max-height: calc(100vh - 10px);
        overflow-y: auto;
        padding: 22px 18px 19px;
    }

    .ana-consent__title {
        font-size: 20px;
    }

    .ana-consent__actions {
        grid-template-columns: 1fr;
    }

    .ana-consent__button--primary {
        order: -1;
    }

    .ana-consent__category {
        padding: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ana-consent,
    .ana-consent__button,
    .ana-consent__switch-track,
    .ana-consent__switch-track::after {
        transition: none;
    }
}
