.dg-consent[hidden] {
    display: none !important;
}

.dg-consent {
    position: fixed;
    z-index: 10020;
    inset: 0;
    display: grid;
    align-items: end;
    background: rgba(17, 18, 20, 0.58);
    padding: 18px;
}

.dg-consent__panel {
    width: min(760px, 100%);
    margin: 0 auto;
    border: 1px solid #d7dce2;
    border-top: 4px solid #b45a38;
    background: #fff;
    box-shadow: 0 22px 70px rgba(17, 18, 20, 0.32);
    color: #202225;
    padding: clamp(22px, 4vw, 34px);
}

.dg-consent__eyebrow {
    margin: 0 0 8px;
    color: #a44c30;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.dg-consent h2 {
    margin: 0;
    max-width: 650px;
    font-family: "Barlow Condensed", Arial, sans-serif;
    font-size: clamp(30px, 5vw, 44px);
    line-height: 0.98;
    text-transform: uppercase;
}

.dg-consent__panel > p:not(.dg-consent__eyebrow) {
    max-width: 680px;
    margin: 16px 0 10px;
    color: #47515a;
    font-size: 16px;
    line-height: 1.5;
}

.dg-consent__privacy {
    color: #743421;
    font-weight: 700;
}

.dg-consent__actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 24px;
}

.dg-consent__button {
    min-height: 48px;
    border: 1px solid #22262a;
    border-radius: 2px;
    cursor: pointer;
    padding: 11px 20px;
    font: inherit;
    font-weight: 700;
}

.dg-consent__button--secondary {
    background: #fff;
    color: #22262a;
}

.dg-consent__button--primary {
    border-color: #b45a38;
    background: #b45a38;
    color: #fff;
}

.dg-consent__button:hover,
.dg-consent__button:focus-visible {
    outline: 3px solid rgba(180, 90, 56, 0.28);
    outline-offset: 2px;
}

.dg-footer__consent {
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 600px) {
    .dg-consent {
        padding: 10px;
    }

    .dg-consent__panel {
        max-height: calc(100vh - 20px);
        overflow: auto;
        padding: 22px 18px 18px;
    }

    .dg-consent__actions {
        display: grid;
    }

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

@media (prefers-reduced-motion: reduce) {
    .dg-consent *,
    .dg-consent *::before,
    .dg-consent *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
