.od-consent[hidden],
.od-consent__settings[hidden] {
    display: none !important;
}

.od-consent {
    position: fixed;
    inset: auto 0 0;
    z-index: 2000;
    padding: 1rem;
    background: linear-gradient(180deg, rgba(26, 28, 28, 0), rgba(26, 28, 28, 0.42));
}

.od-consent__panel {
    width: min(100%, 980px);
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
    padding: 1.25rem;
}

.od-consent__content {
    max-width: 760px;
}

.od-consent__eyebrow {
    margin: 0 0 0.35rem;
    color: var(--color-primary, #e42a1a);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.od-consent__title {
    margin: 0 0 0.5rem;
    color: var(--color-text, #1a1c1c);
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    line-height: 1.2;
    font-weight: 800;
}

.od-consent__text {
    margin: 0;
    color: var(--color-muted, #71717a);
    font-size: 0.95rem;
    line-height: 1.55;
}

.od-consent__settings {
    display: grid;
    gap: 0.6rem;
    margin-top: 1rem;
}

.od-consent__category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0;
    padding: 0.8rem 0.9rem;
    border: 1px solid #e2e2e2;
    border-radius: 4px;
    background: #ffffff;
}

.od-consent__category-text {
    min-width: 0;
}

.od-consent__category-title {
    display: block;
    color: var(--color-text, #1a1c1c);
    font-weight: 800;
    line-height: 1.25;
}

.od-consent__category-description {
    display: block;
    margin-top: 0.2rem;
    color: var(--color-muted, #71717a);
    font-size: 0.85rem;
    line-height: 1.45;
}

.od-consent__toggle {
    flex: 0 0 auto;
    width: 1.25rem;
    height: 1.25rem;
    accent-color: var(--color-primary, #e42a1a);
}

.od-consent__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.6rem;
    margin-top: 1.15rem;
}

.od-consent__button,
.od-consent-embed__button,
.od-footer-subline__consent {
    border-radius: 2px;
    font-weight: 800;
    letter-spacing: 0;
}

.od-consent__button {
    min-height: 44px;
    border: 1px solid transparent;
    padding: 0.7rem 1rem;
    text-transform: uppercase;
}

.od-consent__button--primary {
    background: var(--color-primary, #e42a1a);
    border-color: var(--color-primary, #e42a1a);
    color: #ffffff;
}

.od-consent__button--primary:hover,
.od-consent__button--primary:focus-visible {
    background: var(--color-primary-dark, #c72315);
    border-color: var(--color-primary-dark, #c72315);
}

.od-consent__button--secondary {
    background: #1a1c1c;
    border-color: #1a1c1c;
    color: #ffffff;
}

.od-consent__button--ghost {
    background: #ffffff;
    border-color: #d9d9d9;
    color: var(--color-text, #1a1c1c);
}

.od-consent-embed {
    min-height: 220px;
}

.od-consent-embed__placeholder {
    min-height: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.25rem;
    border: 1px solid #e2e2e2;
    background: #ffffff;
    text-align: center;
}

.od-leaflet-ce__consent-placeholder {
    min-height: 320px;
    border-radius: 8px;
}

.od-consent-embed__text {
    max-width: 36rem;
    margin: 0;
    color: var(--color-muted, #71717a);
    line-height: 1.5;
}

.od-consent-embed__button {
    min-height: 42px;
    border: 1px solid var(--color-primary, #e42a1a);
    padding: 0.65rem 0.9rem;
    background: var(--color-primary, #e42a1a);
    color: #ffffff;
}

.od-consent-embed__iframe {
    display: block;
    width: 100%;
    min-height: inherit;
    border: 0;
}

.od-footer-subline__consent {
    border: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

@media (max-width: 767.98px) {
    .od-consent {
        padding: 0.75rem;
    }

    .od-consent__panel {
        padding: 1rem;
    }

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

    .od-consent__button {
        width: 100%;
    }
}
