.dgw-consent[hidden],
.dgw-consent-settings[hidden] {
display: none !important;
}
.dgw-consent {
inset: auto 0 0;
padding: 20px;
pointer-events: none;
position: fixed;
z-index: 99990;
}
.dgw-consent__panel {
align-items: center;
background: var(--dgw-white, #fff);
border-radius: var(--dgw-radius-md, 16px);
box-shadow: 0 18px 48px -8px rgba(28, 27, 31, 0.26);
display: grid;
gap: 18px 28px;
grid-template-columns: minmax(0, 1fr) auto;
margin-inline: auto;
max-width: 940px;
opacity: 0;
padding: clamp(20px, 3vw, 28px);
pointer-events: auto;
transform: translateY(18px);
transition: opacity 180ms ease-out, transform 180ms ease-out;
}
.dgw-consent.is-visible .dgw-consent__panel {
opacity: 1;
transform: translateY(0);
}
.dgw-consent__copy {
min-width: 0;
}
.dgw-consent__copy h2 {
color: var(--dgw-green-700, #676c27);
font-family: "Boogaloo", "Raleway", sans-serif;
font-size: clamp(34px, 2.9vw, 44px);
font-weight: 400;
line-height: 1.08;
margin: 0 0 8px;
}
.dgw-consent__copy p {
color: var(--dgw-ink-900, #1c1b1f);
font-size: 16px;
line-height: 1.55;
margin: 0;
max-width: 68ch;
}
.dgw-consent__copy a,
.dgw-consent__preferences-toggle {
color: var(--dgw-green-700, #676c27);
font-weight: 700;
text-decoration: underline;
text-decoration-thickness: 1px;
text-underline-offset: 3px;
}
.dgw-consent__actions {
align-items: stretch;
display: flex;
flex-direction: column;
gap: 9px;
min-width: 210px;
}
.dgw-consent__button,
.dgw-consent__preferences-toggle,
.dgw-consent-settings {
appearance: none;
cursor: pointer;
font-family: "Raleway", Arial, sans-serif;
}
.dgw-consent__button {
border: 1px solid transparent;
border-radius: var(--dgw-radius-sm, 8px);
font-size: 16px;
font-weight: 800;
line-height: 1.2;
min-height: 48px;
padding: 12px 18px;
}
.dgw-consent__button--primary {
background: var(--dgw-green-700, #676c27);
color: var(--dgw-white, #fff);
}
.dgw-consent__button--primary:hover {
background: #51551f;
}
.dgw-consent__button--secondary {
background: var(--dgw-white, #fff);
border-color: var(--dgw-green-700, #676c27);
color: var(--dgw-green-700, #676c27);
}
.dgw-consent__button--secondary:hover {
background: var(--dgw-cream-50, #f4f3ec);
}
.dgw-consent__preferences-toggle {
background: transparent;
border: 0;
font-size: 12px;
min-height: 38px;
padding: 5px 8px;
}
.dgw-consent__preferences {
border-top: 1px solid var(--dgw-border, rgba(103, 108, 39, 0.22));
display: grid;
gap: 10px;
grid-column: 1 / -1;
grid-template-columns: repeat(3, minmax(0, 1fr));
padding-top: 18px;
}
.dgw-consent__preferences[hidden] {
display: none;
}
.dgw-consent__option {
align-items: center;
background: var(--dgw-cream-50, #f4f3ec);
border-radius: var(--dgw-radius-sm, 8px);
cursor: pointer;
display: flex;
gap: 14px;
justify-content: space-between;
min-width: 0;
padding: 14px;
}
.dgw-consent__option > div,
.dgw-consent__option > span {
min-width: 0;
}
.dgw-consent__option strong,
.dgw-consent__option span span {
display: block;
}
.dgw-consent__option strong {
color: var(--dgw-ink-900, #1c1b1f);
font-size: 17px;
line-height: 1.3;
margin-bottom: 4px;
}
.dgw-consent__option span span {
color: var(--dgw-muted, #68676b);
font-size: 12px;
line-height: 1.45;
}
.dgw-consent__option input {
accent-color: var(--dgw-green-700, #676c27);
flex: 0 0 auto;
height: 22px;
margin: 0;
width: 22px;
}
.dgw-consent__option input:disabled {
cursor: not-allowed;
opacity: 0.62;
}
.dgw-consent__save {
align-self: center;
justify-self: end;
min-width: 180px;
}
.dgw-consent-settings {
background: var(--dgw-white, #fff);
border: 0;
border-radius: 999px;
bottom: 14px;
box-shadow: 0 6px 20px rgba(28, 27, 31, 0.16);
color: var(--dgw-green-700, #676c27);
font-size: 12px;
font-weight: 800;
left: 14px;
min-height: 40px;
padding: 9px 15px;
position: fixed;
z-index: 99980;
}
.dgw-consent-settings:hover {
background: var(--dgw-cream-50, #f4f3ec);
}
.dgw-consent-noscript {
background: var(--dgw-cream-50, #f4f3ec);
bottom: 0;
color: var(--dgw-ink-900, #1c1b1f);
font-size: 12px;
left: 0;
margin: 0;
padding: 10px 16px;
position: fixed;
right: 0;
text-align: center;
z-index: 99990;
}
@media (max-width: 780px) {
.dgw-consent {
padding: 12px;
}
.dgw-consent__panel {
gap: 16px;
grid-template-columns: 1fr;
max-height: calc(100vh - 24px);
overflow-y: auto;
}
.dgw-consent__actions {
display: grid;
grid-template-columns: 1fr 1fr;
min-width: 0;
}
.dgw-consent__preferences-toggle {
grid-column: 1 / -1;
}
.dgw-consent__preferences {
grid-template-columns: 1fr;
}
.dgw-consent__save {
justify-self: stretch;
width: 100%;
}
}
@media (max-width: 480px) {
.dgw-consent {
padding: 0;
}
.dgw-consent__panel {
border-radius: var(--dgw-radius-md, 16px) var(--dgw-radius-md, 16px) 0 0;
max-height: min(88vh, 720px);
padding: 20px;
}
.dgw-consent__actions {
grid-template-columns: 1fr;
}
.dgw-consent__preferences-toggle {
grid-column: auto;
}
}
@media (prefers-reduced-motion: reduce) {
.dgw-consent__panel {
transition: none;
}
}
@media (forced-colors: active) {
.dgw-consent__panel,
.dgw-consent-settings {
border: 1px solid CanvasText;
}
}