.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(12, 15, 15, 0), rgba(12, 15, 15, 0.82));
}

.od-consent__panel {
    width: min(100%, 980px);
    margin: 0 auto;
    background: #1a1c1c;
    border: 1px solid rgba(196, 157, 107, 0.28);
    border-radius: 0;
    box-shadow: 0 18px 56px rgba(0, 0, 0, 0.42);
    padding: 1.25rem;
}

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

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

.od-consent__title {
    margin: 0 0 0.5rem;
    color: #f9f9f9;
    font-family: var(--fs-serif, "Libre Caslon Text", Georgia, serif);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    line-height: 1.2;
    font-weight: 400;
}

.od-consent__text {
    margin: 0;
    color: #d2c4b6;
    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 rgba(196, 157, 107, 0.22);
    border-radius: 0;
    background: #1e2020;
}

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

.od-consent__category-title {
    display: block;
    color: #f9f9f9;
    font-weight: 800;
    line-height: 1.25;
}

.od-consent__category-description {
    display: block;
    margin-top: 0.2rem;
    color: #b8aa9c;
    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, #c49d6b);
}

.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: 0;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.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, #c49d6b);
    border-color: var(--color-primary, #c49d6b);
    color: #171918;
}

.od-consent__button--primary:hover,
.od-consent__button--primary:focus-visible {
    background: #d6b17f;
    border-color: #d6b17f;
}

.od-consent__button--secondary {
    background: #282a2b;
    border-color: rgba(196, 157, 107, 0.28);
    color: #f9f9f9;
}

.od-consent__button--ghost {
    background: transparent;
    border-color: rgba(196, 157, 107, 0.38);
    color: #f9f9f9;
}

.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 rgba(196, 157, 107, 0.24);
    background: #1e2020;
    text-align: center;
}

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

.od-consent-embed__text {
    max-width: 36rem;
    margin: 0;
    color: #d2c4b6;
    line-height: 1.5;
}

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

.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%;
    }
}
