.cookie-consent[hidden],
.cookie-consent__preferences[hidden] {
    display: none;
}

.cookie-consent {
    position: fixed;
    z-index: 1000;
    inset-inline: 24px;
    bottom: 24px;
    display: flex;
    justify-content: center;
    pointer-events: none;
    font-family: var(--hero-body-font, "Syne", sans-serif);
}

.cookie-consent__card {
    width: min(100%, 1040px);
    max-height: min(88vh, 760px);
    overflow-y: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px 40px;
    padding: 28px 32px;
    color: var(--hero-text, #e8edf4);
    background: linear-gradient(135deg, var(--hero-background, #101827) 0%, #090d15 100%);
    border: 1px solid color-mix(in srgb, var(--hero-gold, #d9b75b) 30%, transparent);
    border-radius: 3px;
    box-shadow: 0 24px 80px rgb(0 0 0 / 45%);
    pointer-events: auto;
}

.cookie-consent__copy {
    max-width: 650px;
}

.cookie-consent__eyebrow {
    margin: 0 0 8px;
    color: var(--hero-gold, #d9b75b);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .18em;
}

.cookie-consent__copy h2,
.cookie-consent__preferences h3 {
    margin: 0 0 9px;
    font-family: var(--hero-condensed-font, "Oswald", "Arial Narrow", sans-serif);
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 500;
    line-height: 1.15;
}

.cookie-consent__copy > p:not(.cookie-consent__eyebrow),
.cookie-consent__preferences > p {
    margin: 0;
    color: color-mix(in srgb, var(--hero-text, #e8edf4) 76%, transparent);
    font-size: 13px;
    line-height: 1.65;
}

.cookie-consent__policy {
    display: inline-block;
    margin-top: 10px;
    color: var(--hero-gold, #d9b75b);
    font-size: 12px;
    text-underline-offset: 3px;
}

.cookie-consent__actions {
    display: flex;
    flex-direction: column;
    gap: 9px;
    min-width: 225px;
}

.cookie-consent__button {
    min-height: 42px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 9px;
    color: inherit;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.cookie-consent__button:hover {
    transform: translateY(-1px);
}

.cookie-consent__button:focus-visible,
.cookie-consent__policy:focus-visible,
.concert-footer-cookie-settings:focus-visible {
    outline: 2px solid var(--hero-gold, #d9b75b);
    outline-offset: 3px;
}

.cookie-consent__button--quiet {
    background: transparent;
    color: #d8dde5;
}

.cookie-consent__button--quiet:hover {
    background: rgb(255 255 255 / 7%);
}

.cookie-consent__button--outline {
    border-color: rgb(255 255 255 / 24%);
    background: rgb(255 255 255 / 4%);
}

.cookie-consent__button--outline:hover {
    border-color: rgb(255 255 255 / 48%);
    background: rgb(255 255 255 / 8%);
}

.cookie-consent__button--primary {
    background: linear-gradient(110deg, var(--ticket-start, #a62620), var(--ticket-end, #331719));
    color: var(--hero-white, #fff);
}

.cookie-consent__button--primary:hover {
    filter: brightness(1.16);
}

.cookie-consent__preferences {
    grid-column: 1 / -1;
    padding-top: 22px;
    border-top: 1px solid rgb(255 255 255 / 14%);
}

.cookie-consent__preferences h3 {
    font-size: 20px;
}

.cookie-consent__option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid rgb(255 255 255 / 10%);
    cursor: pointer;
}

.cookie-consent__option span {
    display: grid;
    gap: 4px;
}

.cookie-consent__option strong {
    font-size: 13px;
}

.cookie-consent__option small {
    color: #aeb8c7;
    font-size: 11px;
    line-height: 1.5;
}

.cookie-consent__option input {
    width: 18px;
    height: 18px;
    accent-color: var(--hero-gold, #d9b75b);
    flex: 0 0 auto;
}

.cookie-consent__preferences [data-cookie-save] {
    margin-top: 18px;
}

.concert-footer-cookie-settings {
    padding: 0;
    border: 0;
    color: inherit;
    background: transparent;
    font: inherit;
    cursor: pointer;
}

.concert-footer-cookie-settings:hover {
    opacity: .65;
}

@media (max-width: 700px) {
    .cookie-consent {
        inset-inline: 12px;
        bottom: 12px;
    }

    .cookie-consent__card {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 22px 20px;
        border-radius: 14px;
    }

    .cookie-consent__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        min-width: 0;
    }

    .cookie-consent__button--quiet {
        grid-column: 1 / -1;
        order: 3;
    }

    .cookie-consent__preferences {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cookie-consent__button {
        transition: none;
    }
}
