.tz-marketing-consent[hidden],
.tz-cookie-settings[hidden] {
    display: none !important;
}

.tz-marketing-consent {
    position: fixed;
    z-index: 999999;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    display: flex;
    max-width: 70rem;
    margin-inline: auto;
    padding: 1rem;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    color: #0f1c22;
    background: #ffffff;
    border: 1px solid #cbd7dc;
    border-top: 4px solid #007d86;
    border-radius: 0.25rem;
    box-shadow: 0 0.75rem 2rem rgba(15, 28, 34, 0.22);
}

.tz-marketing-consent__copy {
    max-width: 48rem;
}

.tz-marketing-consent h2 {
    margin: 0 0 0.35rem;
    font-size: 1.125rem;
    line-height: 1.3;
}

.tz-marketing-consent p {
    margin: 0 0 0.35rem;
    font-size: 0.9375rem;
    line-height: 1.55;
}

.tz-marketing-consent a {
    color: #006d75;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.tz-marketing-consent__actions {
    display: flex;
    flex: 0 0 auto;
    gap: 0.625rem;
}

.tz-marketing-consent__button,
.tz-cookie-settings {
    min-height: 2.75rem;
    padding: 0.65rem 1rem;
    border: 2px solid #007d86;
    border-radius: 0.2rem;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.tz-marketing-consent__button {
    color: #ffffff;
    background: #007d86;
}

.tz-marketing-consent__button--primary {
    color: #ffffff;
    background: #007d86;
}

.tz-cookie-settings {
    color: #0f1c22;
    background: #ffffff;
}

.tz-marketing-consent__button:hover,
.tz-cookie-settings:hover {
    filter: brightness(0.94);
}

.tz-marketing-consent__button:focus-visible,
.tz-cookie-settings:focus-visible,
.tz-marketing-consent a:focus-visible {
    outline: 3px solid #f0b541;
    outline-offset: 3px;
}

.tz-cookie-settings {
    position: fixed;
    z-index: 999998;
    left: 1rem;
    bottom: 1rem;
    min-height: 2.5rem;
    padding: 0.5rem 0.75rem;
    background: #ffffff;
    box-shadow: 0 0.35rem 1rem rgba(15, 28, 34, 0.18);
    font-size: 0.875rem;
}

@media (max-width: 48rem) {
    .tz-marketing-consent {
        align-items: stretch;
        flex-direction: column;
    }

    .tz-marketing-consent__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 24rem) {
    .tz-marketing-consent__actions {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tz-marketing-consent *,
    .tz-cookie-settings {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
