.hey-consent {
    --hey-consent-bg: var(--body-bg, #fff);
    --hey-consent-text: var(--body-color, #1f2937);
    --hey-consent-muted: #626b76;
    --hey-consent-primary: var(--sand-dark, var(--link-color, #a88d67));
    --hey-consent-on-primary: #fff;
    --hey-consent-border: var(--line, #d1d5db);
    --hey-consent-radius: 12px;
    position: fixed;
    z-index: 2147483000;
    inset: 0;
    width: 0;
    height: 0;
    color: var(--hey-consent-text);
    font: inherit;
    line-height: 1.5;
    pointer-events: none;
}
.hey-consent *, .hey-consent *::before, .hey-consent *::after, .hey-consent-media *, .hey-consent-media *::before, .hey-consent-media *::after { box-sizing: border-box; }
.hey-consent [hidden], .hey-consent-media [hidden] { display: none !important; }
.hey-consent-banner { position: fixed; display: flex; align-items: center; gap: 26px; border: 1px solid var(--hey-consent-border); padding: 20px max(24px,calc((100vw - 1280px)/2)); color: var(--hey-consent-text); background: var(--hey-consent-bg); box-shadow: 0 18px 55px rgba(15,23,42,.22); pointer-events: auto; }
.hey-consent-position-bottom-bar .hey-consent-banner { right: 0; bottom: 0; left: 0; border-width: 1px 0 0; }
.hey-consent-position-top-bar .hey-consent-banner { top: 0; right: 0; left: 0; border-width: 0 0 1px; }
.hey-consent-position-bottom-left .hey-consent-banner, .hey-consent-position-bottom-right .hey-consent-banner, .hey-consent-position-center .hey-consent-banner { width: min(460px,calc(100vw - 32px)); align-items: stretch; flex-direction: column; padding: 25px; border-radius: var(--hey-consent-radius); }
.hey-consent-position-bottom-left .hey-consent-banner { bottom: 20px; left: 20px; }
.hey-consent-position-bottom-right .hey-consent-banner { right: 20px; bottom: 20px; }
.hey-consent-position-center .hey-consent-banner { top: 50%; left: 50%; transform: translate(-50%,-50%); }
.hey-consent-copy { flex: 1 1 520px; min-width: 0; }
.hey-consent-position-bottom-left .hey-consent-copy, .hey-consent-position-bottom-right .hey-consent-copy, .hey-consent-position-center .hey-consent-copy { flex-basis: auto; }
.hey-consent-copy > span { display: block; margin-bottom: 5px; color: var(--hey-consent-primary); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.hey-consent h2, .hey-consent h3 { margin: 0; color: var(--hey-consent-text); font-family: inherit; font-weight: 750; line-height: 1.25; }
.hey-consent h2 { font-size: clamp(1.25rem,2vw,1.55rem); }
.hey-consent h3 { font-size: 1rem; }
.hey-consent p { margin: 8px 0 0; color: var(--hey-consent-text); font: inherit; font-size: .9rem; }
.hey-consent-policy { display: inline-block; margin-top: 10px; color: var(--hey-consent-primary); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.hey-consent-actions, .hey-consent-preferences-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; align-items: center; gap: 10px; }
.hey-consent-position-bottom-left .hey-consent-actions, .hey-consent-position-bottom-right .hey-consent-actions, .hey-consent-position-center .hey-consent-actions { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
.hey-consent-position-bottom-left .hey-consent-button-link, .hey-consent-position-bottom-right .hey-consent-button-link, .hey-consent-position-center .hey-consent-button-link { grid-column: 1/-1; }
.hey-consent-button, .hey-consent-reopen, .hey-consent-close { margin: 0; border: 0; font: inherit; cursor: pointer; appearance: none; }
.hey-consent-button { min-height: 44px; padding: 10px 17px; border: 2px solid transparent; border-radius: max(7px,calc(var(--hey-consent-radius)*.65)); font-size: .86rem; font-weight: 750; line-height: 1.25; text-align: center; transition: transform .15s,box-shadow .15s,opacity .15s; }
.hey-consent-button:hover { transform: translateY(-1px); }
.hey-consent-button-primary { border-color: var(--hey-consent-primary); color: var(--hey-consent-on-primary); background: var(--hey-consent-primary); }
.hey-consent-button-secondary { border-color: var(--hey-consent-primary); color: var(--hey-consent-primary); background: transparent; }
.hey-consent-button-link { padding-inline: 8px; color: var(--hey-consent-primary); background: transparent; text-decoration: underline; text-underline-offset: 3px; }
.hey-consent-close { position: absolute; z-index: 2; top: 9px; right: 9px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 999px; color: var(--hey-consent-text); background: transparent; font-size: 27px; line-height: 1; }
.hey-consent-close:hover { background: color-mix(in srgb,var(--hey-consent-text) 8%,transparent); }
.hey-consent-button:focus-visible, .hey-consent-reopen:focus-visible, .hey-consent-close:focus-visible, .hey-consent-policy:focus-visible, .hey-consent-switch input:focus-visible + span { outline: 3px solid color-mix(in srgb,var(--hey-consent-primary) 42%,transparent); outline-offset: 3px; }
.hey-consent-overlay { position: fixed; z-index: 2; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(15,23,42,.58); backdrop-filter: blur(4px); pointer-events: auto; }
.hey-consent-preferences { position: relative; width: min(680px,100%); max-height: min(760px,calc(100vh - 48px)); overflow: auto; border: 1px solid var(--hey-consent-border); border-radius: var(--hey-consent-radius); padding: 28px; color: var(--hey-consent-text); background: var(--hey-consent-bg); box-shadow: 0 24px 80px rgba(0,0,0,.3); }
.hey-consent-preferences > header { padding-right: 34px; }
.hey-consent-categories { display: grid; gap: 0; margin: 24px 0; border-block: 1px solid var(--hey-consent-border); }
.hey-consent-category { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 22px; padding: 18px 0; }
.hey-consent-category + .hey-consent-category { border-top: 1px solid var(--hey-consent-border); }
.hey-consent-category p { color: var(--hey-consent-muted); }
.hey-consent-category div > span { display: inline-block; margin-top: 7px; color: var(--hey-consent-primary); font-size: .74rem; font-weight: 750; }
.hey-consent-switch { position: relative; display: inline-flex; cursor: pointer; }
.hey-consent-switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.hey-consent-switch input + span { position: relative; width: 48px; height: 27px; border: 1px solid var(--hey-consent-border); border-radius: 999px; background: color-mix(in srgb,var(--hey-consent-text) 12%,var(--hey-consent-bg)); transition: background .2s,border-color .2s; }
.hey-consent-switch input + span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 19px; height: 19px; border-radius: 50%; background: var(--hey-consent-bg); box-shadow: 0 1px 5px rgba(0,0,0,.28); transition: transform .2s; }
.hey-consent-switch input:checked + span { border-color: var(--hey-consent-primary); background: var(--hey-consent-primary); }
.hey-consent-switch input:checked + span::after { transform: translateX(21px); }
.hey-consent-switch input:disabled + span { cursor: not-allowed; opacity: .7; }
.hey-consent-reopen { position: fixed; z-index: 1; bottom: 18px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 14px; border: 1px solid var(--hey-consent-border); border-radius: max(8px,var(--hey-consent-radius)); color: var(--hey-consent-text); background: var(--hey-consent-bg); box-shadow: 0 8px 26px rgba(0,0,0,.14); pointer-events: auto; font-size: .82rem; font-weight: 750; }
.hey-consent-reopen-bottom-left .hey-consent-reopen { left: 18px; }
.hey-consent-reopen-bottom-right .hey-consent-reopen { right: 18px; }
.hey-consent-reopen-style-icon .hey-consent-reopen { width: 48px; height: 48px; justify-content: center; padding: 0; border-radius: 50%; font-size: 20px; }
.hey-consent-reopen-style-icon .hey-consent-reopen-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hey-consent-sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
html.hey-consent-preferences-open { overflow: hidden; }
.hey-consent-media { position: relative; min-height: 220px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--hey-consent-border,#d1d5db); background: #f3f4f6; }
.hey-consent-media-notice { max-width: 500px; padding: 28px; color: #1f2937; text-align: center; }
.hey-consent-media-notice p { margin: 0 0 16px; }
.hey-consent-media > iframe { width: 100%; }

@media (max-width: 820px) {
    .hey-consent-position-bottom-bar .hey-consent-banner, .hey-consent-position-top-bar .hey-consent-banner { align-items: stretch; flex-direction: column; padding: 20px; }
    .hey-consent-position-bottom-bar .hey-consent-copy, .hey-consent-position-top-bar .hey-consent-copy { flex-basis: auto; }
    .hey-consent-actions { width: 100%; }
}
@media (max-width: 560px) {
    .hey-consent-banner { gap: 18px; }
    .hey-consent-position-bottom-left .hey-consent-banner, .hey-consent-position-bottom-right .hey-consent-banner, .hey-consent-position-center .hey-consent-banner { right: 10px; bottom: 10px; left: 10px; width: auto; padding: 21px; transform: none; }
    .hey-consent-position-center .hey-consent-banner { top: 50%; bottom: auto; transform: translateY(-50%); }
    .hey-consent-actions, .hey-consent-position-bottom-left .hey-consent-actions, .hey-consent-position-bottom-right .hey-consent-actions, .hey-consent-position-center .hey-consent-actions { display: grid; grid-template-columns: 1fr; }
    .hey-consent-position-bottom-left .hey-consent-button-link, .hey-consent-position-bottom-right .hey-consent-button-link, .hey-consent-position-center .hey-consent-button-link { grid-column: auto; }
    .hey-consent-overlay { padding: 10px; }
    .hey-consent-preferences { max-height: calc(100vh - 20px); padding: 22px 18px; }
    .hey-consent-category { gap: 12px; }
    .hey-consent-preferences-actions { display: grid; grid-template-columns: 1fr; }
    .hey-consent-mobile-fullscreen .hey-consent-banner { inset: 0; width: 100%; height: 100%; justify-content: center; border: 0; border-radius: 0; padding: 24px; transform: none; }
    .hey-consent-mobile-fullscreen .hey-consent-preferences { width: 100%; height: 100%; max-height: none; border: 0; border-radius: 0; }
    .hey-consent-mobile-fullscreen .hey-consent-overlay { padding: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .hey-consent *, .hey-consent *::before, .hey-consent *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
