.hhq-cookie-consent[hidden],
.hhq-cookie-consent__preferences[hidden],
.hhq-cookie-consent__error[hidden] {
    display: none !important;
}

.hhq-cookie-consent {
    position: fixed;
    box-sizing: border-box;
    z-index: 10000;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    width: min(92rem, calc(100% - 2rem));
    max-height: calc(100vh - 2rem);
    margin: 0 auto;
    overflow: auto;
    padding: 1.25rem 1.5rem;
    border: 1px solid #2a3b50;
    border-left: 4px solid #28dfe2;
    border-radius: 0.5rem;
    background: #111922;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.48);
    color: #f4f7fb;
    font-size: 1.4rem;
}

.hhq-cookie-consent__main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.hhq-cookie-consent__copy {
    max-width: 48rem;
}

.hhq-cookie-consent__eyebrow {
    color: #2be3e7;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.hhq-cookie-consent h2 {
    margin: 0.35rem 0 0.5rem;
    color: #fff;
    font-size: 2rem;
    line-height: 1.25;
}

.hhq-cookie-consent p {
    margin: 0.45rem 0;
    color: #c5d0dc;
    line-height: 1.5;
}

.hhq-cookie-consent a {
    color: #39e0e2;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.hhq-cookie-consent__actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.75rem;
}

.hhq-cookie-consent__button {
    min-height: 4rem;
    padding: 0.8rem 1.15rem;
    border: 1px solid #2a3b50;
    border-radius: 0.35rem;
    background: #17212e;
    color: #f4f7fb;
    cursor: pointer;
    font: inherit;
    font-size: 1.25rem;
    font-weight: 700;
}

.hhq-cookie-consent button.hhq-cookie-consent__button--primary,
.hhq-cookie-consent button.hhq-cookie-consent__button--primary:focus,
.hhq-cookie-consent button.hhq-cookie-consent__button--primary:active {
    border-color: #27dadd;
    background: #27dadd;
    color: #071318;
}

.hhq-cookie-consent__button--quiet {
    background: transparent;
}

.hhq-cookie-consent__button:hover {
    filter: brightness(1.08);
}

.hhq-cookie-consent__button:focus-visible,
.hhq-cookie-consent input:focus-visible,
.hhq-cookie-consent a:focus-visible,
.hhq-footer__cookie-settings:focus-visible {
    outline: 3px solid #ff9c3d;
    outline-offset: 3px;
}

.hhq-cookie-consent__preferences {
    display: grid;
    grid-template-columns: minmax(16rem, 1fr) minmax(20rem, 2fr) auto;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid #2a3b50;
}

.hhq-cookie-consent__preferences > div,
.hhq-cookie-consent__toggle > span {
    display: grid;
    gap: 0.35rem;
}

.hhq-cookie-consent__preferences span {
    color: #aebccc;
    line-height: 1.45;
}

.hhq-cookie-consent__toggle {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    cursor: pointer;
}

.hhq-cookie-consent__toggle input {
    width: 1.8rem;
    height: 1.8rem;
    margin-top: 0.15rem;
    accent-color: #27dadd;
}

.hhq-cookie-consent__error {
    margin-top: 1rem !important;
    color: #ffb5be !important;
}

.hhq-footer__cookie-settings {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
    text-align: left;
}

@media (max-width: 900px) {
    .hhq-cookie-consent__main {
        align-items: flex-start;
        flex-direction: column;
        gap: 1.25rem;
    }

    .hhq-cookie-consent__actions {
        justify-content: flex-start;
    }

    .hhq-cookie-consent__preferences {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 560px) {
    .hhq-cookie-consent {
        right: 0.5rem;
        bottom: 0.5rem;
        left: 0.5rem;
        width: calc(100% - 1rem);
        max-height: min(80vh, 60rem);
        padding: 1rem;
    }

    .hhq-cookie-consent__actions {
        width: 100%;
    }

    .hhq-cookie-consent__button {
        flex: 1 1 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hhq-cookie-consent *,
    .hhq-cookie-consent *::before,
    .hhq-cookie-consent *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}



.hhq-cookie-consent button[data-hhq-consent-action="reject"] {
    border-color: #536477;
    background: transparent;
    color: #c5d0dc;
}