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

body.has-wpac-consent-open .ich-live-support,
body.has-wpac-consent-open .sticky-contact-bar {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.wpac-consent[hidden],
.wpac-consent-manage[hidden],
.wpac-consent [hidden] {
    display: none !important;
}

.wpac-consent {
    position: fixed;
    right: 20px;
    bottom: 20px;
    left: 20px;
    z-index: 100100;
    display: flex;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 180ms ease, transform 180ms ease;
}

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

.wpac-consent__card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    width: min(920px, 100%);
    max-height: min(82dvh, 680px);
    padding: 22px;
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 20px;
    color: #ffffff;
    background:
        radial-gradient(circle at 92% 12%, rgba(42, 181, 181, .28), transparent 32%),
        linear-gradient(135deg, #092f40 0%, #075f68 58%, #0a3344 100%);
    box-shadow: 0 24px 64px rgba(3, 21, 33, .34);
    pointer-events: auto;
    font-family: "Open Sans", sans-serif;
}

.wpac-consent__intro {
    min-width: 0;
}

.wpac-consent__eyebrow {
    display: block;
    margin-bottom: 6px;
    color: #9ee5e8;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.wpac-consent h2 {
    margin: 0;
    color: #ffffff;
    font-family: "Montserrat", "Open Sans", sans-serif;
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 900;
    line-height: 1.16;
}

.wpac-consent p {
    max-width: 660px;
    margin: 9px 0 0;
    color: rgba(255, 255, 255, .88);
    font-size: 14px;
    line-height: 1.58;
}

.wpac-consent__policy {
    display: inline-flex;
    margin-top: 10px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.wpac-consent__actions,
.wpac-consent__settings-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 9px;
}

.wpac-consent__actions {
    width: min(310px, 100%);
}

.wpac-consent__button,
.wpac-consent__back,
.wpac-consent-manage {
    min-height: 44px;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
}

.wpac-consent__button {
    padding: 0 16px;
}

.wpac-consent__button--primary {
    color: #092f40;
    background: #ffffff;
}

.wpac-consent__button--secondary {
    border: 1px solid rgba(255, 255, 255, .44);
    color: #ffffff;
    background: rgba(255, 255, 255, .09);
}

.wpac-consent__button--text,
.wpac-consent__back {
    color: #ffffff;
    background: transparent;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.wpac-consent__button:hover,
.wpac-consent__back:hover {
    filter: brightness(.94);
}

.wpac-consent__button:focus-visible,
.wpac-consent__back:focus-visible,
.wpac-consent-manage:focus-visible,
.wpac-consent__option input:focus-visible + .wpac-consent__switch {
    outline: 3px solid #ffd47a;
    outline-offset: 3px;
}

.wpac-consent__settings {
    grid-column: 1 / -1;
    display: grid;
    gap: 12px;
}

.wpac-consent__settings-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.wpac-consent__back {
    flex: 0 0 auto;
    padding: 0 8px;
}

.wpac-consent__option {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    min-height: 70px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 12px;
    background: rgba(255, 255, 255, .07);
    cursor: pointer;
}

.wpac-consent__option--locked {
    cursor: default;
}

.wpac-consent__option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.wpac-consent__option strong,
.wpac-consent__option small {
    display: block;
}

.wpac-consent__option strong {
    color: #ffffff;
    font-size: 14px;
}

.wpac-consent__option small {
    margin-top: 3px;
    color: rgba(255, 255, 255, .76);
    font-size: 12px;
    line-height: 1.45;
}

.wpac-consent__switch {
    position: relative;
    display: inline-flex;
    width: 46px;
    height: 26px;
    padding: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .26);
    transition: background-color 160ms ease;
}

.wpac-consent__switch span {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(3, 21, 33, .24);
    transition: transform 160ms ease;
}

.wpac-consent__option input:checked + .wpac-consent__switch,
.wpac-consent__option--locked .wpac-consent__switch {
    background: #29b6a6;
}

.wpac-consent__option input:checked + .wpac-consent__switch span,
.wpac-consent__option--locked .wpac-consent__switch span {
    transform: translateX(20px);
}

.wpac-consent__option input:disabled + .wpac-consent__switch {
    opacity: .5;
}

.wpac-consent__settings-actions {
    margin-top: 2px;
}

.wpac-consent-manage {
    position: fixed;
    left: 14px;
    bottom: 14px;
    z-index: 100090;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 44px;
    padding: 0 12px;
    border: 1px solid rgba(8, 33, 49, .16);
    color: #173440;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 10px 28px rgba(3, 21, 33, .18);
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
}

.wpac-consent-manage span {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: #ffffff;
    background: #087983;
    font-family: Georgia, serif;
    font-weight: 700;
}

@media (max-width: 760px) {
    .wpac-consent {
        right: 10px;
        bottom: max(10px, env(safe-area-inset-bottom, 0px));
        left: 10px;
    }

    .wpac-consent__card {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        max-height: min(88dvh, 720px);
        padding: 18px;
        border-radius: 16px;
    }

    .wpac-consent__actions,
    .wpac-consent__settings-actions {
        width: 100%;
        justify-content: stretch;
    }

    .wpac-consent__button {
        flex: 1 1 180px;
    }

    .wpac-consent__button--text {
        flex-basis: 100%;
    }

    body.has-sticky-contact-bar .wpac-consent-manage {
        bottom: 82px;
    }
}

@media (max-width: 460px) {
    .wpac-consent h2 {
        font-size: 20px;
    }

    .wpac-consent__card {
        padding: 15px;
    }

    .wpac-consent__settings-head {
        gap: 10px;
    }

    .wpac-consent__option {
        padding: 11px;
    }

    .wpac-consent__settings-actions .wpac-consent__button {
        flex-basis: 100%;
    }

    .wpac-consent-manage strong {
        position: absolute;
        overflow: hidden;
        width: 1px;
        height: 1px;
        margin: -1px;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    .wpac-consent-manage {
        width: 44px;
        padding: 0;
        justify-content: center;
    }
}

@media (max-width: 900px) {
    .wpac-consent-manage strong {
        position: absolute;
        overflow: hidden;
        width: 1px;
        height: 1px;
        margin: -1px;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    .wpac-consent-manage {
        width: 44px;
        padding: 0;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wpac-consent,
    .wpac-consent__switch,
    .wpac-consent__switch span {
        transition: none;
    }
}
