/* Native consent, visually aligned with the HWK controls. No external dependencies. */
.hwk-consent-banner[hidden],.hwk-consent-embed-prompt[hidden]{display:none!important}
.hwk-consent-banner{position:fixed;z-index:100050;inset:auto 20px 20px;background:#181818;color:#f8f8f8;box-shadow:var(--hwk-shadow-panel,0 8px 24px #15151524);display:grid;grid-template-columns:minmax(0,1fr) minmax(270px,390px);gap:var(--hwk-space-xl,32px);padding:var(--hwk-space-xl,32px);max-width:1450px;margin:auto;font-family:var(--hwk-font,Inter,Arial,sans-serif);border-radius:var(--hwk-control-radius,4px)}
.hwk-consent-banner .hwk-consent-kicker{font-size:11px;letter-spacing:.12em;text-transform:uppercase;margin:0 0 10px;color:#bbb}
.hwk-consent-banner h2{font-size:24px;line-height:1.25;font-weight:400;margin:0 0 12px;color:#fff}
.hwk-consent-banner p{font-size:14px;line-height:1.65;margin:0 0 12px;max-width:790px;color:#d7d7d7}
.hwk-consent-actions{display:flex;flex-wrap:wrap;gap:8px;align-content:center}
.hwk-consent-banner .hwk-consent-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:center}
.hwk-consent-banner .hwk-consent-actions > button{width:100%;min-width:0;min-height:var(--hwk-target,44px);padding-inline:8px;text-align:center}
:is(.hwk-consent-banner,.hwk-consent-dialog,.hwk-consent-embed,.hwk-consent-privacy-summary) button{border:1px solid #bcbcbc;background:#f1f1f1;color:#171717;min-height:44px;font:var(--hwk-weight-medium,500) var(--hwk-type-control,14px)/var(--hwk-leading-ui,1.4) var(--hwk-font,Inter,Arial,sans-serif);padding:12px 18px;border-radius:var(--hwk-control-radius,4px);cursor:pointer;transition:background-color .18s}
:is(.hwk-consent-banner,.hwk-consent-dialog,.hwk-consent-embed,.hwk-consent-privacy-summary) button:hover{background:#d5d5d5;transform:none}
.hwk-consent-links{display:flex;gap:8px 22px;flex-wrap:wrap;font-size:12px}
.hwk-consent-links a{display:inline-flex;min-height:30px;align-items:center;padding:2px 4px}
.hwk-consent-links a:hover{background:#ffffff16}
.hwk-consent-banner .hwk-consent-settings{grid-column:1/-1;background:transparent;color:#fff;border-color:#666}
.hwk-consent-banner .hwk-consent-settings:hover{background:#333}
.hwk-consent-dialog{width:min(660px,calc(100% - 32px));max-height:calc(100dvh - 32px);padding:30px;color:#171717;background:#f9f9f9;border:0;border-radius:var(--hwk-control-radius,4px);font:15px/1.65 var(--hwk-font,Inter,Arial,sans-serif);overflow:auto;overscroll-behavior:contain}
.hwk-consent-dialog::backdrop{background:#0009}
.hwk-consent-dialog-head{display:flex;align-items:flex-start;gap:16px;justify-content:space-between;margin-bottom:16px}
.hwk-consent-dialog-head h2{font-size:27px;line-height:1.25;margin:6px 0}
.hwk-consent-dialog-head button{width:44px;min-width:44px;padding:10px;background:transparent;border-color:transparent}
.hwk-consent-dialog>p{margin-bottom:22px;color:#555}
.hwk-consent-option{display:flex;gap:20px;align-items:flex-start;padding:22px;margin:0 0 10px;background:#eaeaea;cursor:pointer}
.hwk-consent-option h3,.hwk-consent-option-title{font-size:17px;line-height:1.3;font-weight:500;margin:0 0 8px;display:block}
.hwk-consent-option p,.hwk-consent-option-copy{font-size:13px;line-height:1.65;color:#555;display:block;margin:0}
.hwk-consent-option input{width:22px;height:22px;flex:0 0 22px;accent-color:#171717;margin:1px 0 0;cursor:pointer}
.hwk-consent-required{flex:0 0 84px;font-size:12px;text-align:right;white-space:nowrap;color:#4b4b4b}
.hwk-consent-dialog .hwk-consent-note{font-size:12px;margin:18px 0 22px}
.hwk-consent-dialog .hwk-consent-actions>button{flex:1 1 160px}
.hwk-consent-dialog .hwk-consent-links{margin-top:18px}
.hwk-consent-dialog .hwk-consent-links a:hover{background:#e3e3e3}
:is(.hwk-consent-banner,.hwk-consent-dialog,.hwk-consent-embed) :is(button,a,input):focus-visible{outline:3px solid #929292;outline-offset:3px}
.hwk-consent-banner :is(button,a):focus-visible{outline-color:#fff}
.hwk-consent-embed{width:100%;background:linear-gradient(125deg,#151515,#343434);color:#f5f5f5;min-height:280px;display:grid;align-items:center;margin:20px 0;overflow:hidden}
.hwk-consent-embed-prompt{padding:clamp(22px,4vw,42px);text-align:center;max-width:650px;margin:auto}
.hwk-consent-embed-prompt>svg{margin-bottom:14px}
.hwk-consent-embed-prompt h3{color:#fff;font-size:23px;margin:0 0 14px;line-height:1.3}
.hwk-consent-embed-prompt p{color:#ddd;font-size:14px;line-height:1.65;margin:0 0 20px}
.hwk-consent-embed-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.hwk-consent-embed [data-hwk-media-slot]:empty{display:none}
.hwk-consent-embed iframe{display:block;width:100%;height:auto;aspect-ratio:16/9;border:0;min-height:250px}
.hwk-consent-embed.is-loaded{display:block}

/* Local video previews follow the shared card layout. */
.hwk-application-videos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: clamp(8px, 1.6vw, 20px);
    margin-block: clamp(12px, 2vw, 26px);
}
.hwk-consent-embed.hwk-consent-video {
    display: block;
    min-width: 0;
    min-height: 0;
    margin-block: clamp(12px, 2vw, 26px);
    background: transparent;
    color: #242424;
}
.hwk-application-videos > .hwk-consent-embed.hwk-consent-video { margin: 0; }
.hwk-consent-video .hwk-consent-embed-prompt {
    max-width: none;
    padding: 0;
    margin: 0;
}
.hwk-consent-video .hwk-consent-video-play {
    position: relative;
    display: grid;
    grid-template-rows: 1fr auto;
    place-items: center;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 9;
    padding: clamp(6px, 1.3vw, 14px);
    border: 0;
    border-radius: var(--hwk-control-radius, 4px);
    background: #e9e9e7;
    color: #242424;
    text-align: left;
}
.hwk-consent-video .hwk-consent-video-play:focus-visible {
    outline: 2px solid #242424;
    outline-offset: -3px;
}
.hwk-consent-video .hwk-consent-video-image {
    position: absolute;
    z-index: -1;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
}
.hwk-consent-video-icon {
    display: grid;
    place-items: center;
    width: clamp(30px, 6vw, 48px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: #fffffff2;
    box-shadow: var(--hwk-shadow-card, 0 2px 12px #0002);
}
.hwk-consent-video-icon svg {
    width: 58%;
    height: 58%;
}
.hwk-consent-video-play:is(:hover, :focus-visible) .hwk-consent-video-icon {
    background: #242424;
    color: #fff;
}
.hwk-consent-video-title {
    justify-self: start;
    max-width: 100%;
    padding: 3px 7px;
    border-radius: var(--hwk-control-radius, 4px);
    background: #fffffff2;
    color: #242424;
    font-size: clamp(13px, 1.3vw, 17px);
    font-weight: var(--hwk-weight-medium, 500);
    line-height: 1.3;
    overflow-wrap: anywhere;
}
.wp-block-embed__wrapper:has(> .hwk-consent-video)::before { content: none; }
.hwk-consent-embed.hwk-consent-video iframe {
    position: static;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    border-radius: var(--hwk-control-radius, 4px);
}
.hwk-consent-video[data-provider="YouTube"] iframe { min-height: 200px; }
@media (max-width: 767px) {
    body:not(.single-product) .hwk-application-videos > .hwk-consent-video.is-loaded { grid-column: 1 / -1; }
}

.single-product .hwk-consent-video > [data-hwk-media-slot] { aspect-ratio: 16 / 9; }
.hwk-video-player {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: var(--hwk-control-radius, 4px);
    background: #171717;
}
.hwk-consent-video .hwk-video-player iframe { min-height: 0; }
.hwk-video-player:modal {
    position: fixed;
    inset: 0;
    width: min(1440px, calc(100% - 24px), calc((100dvh - 24px) * 16 / 9));
    max-height: none;
    margin: auto;
    overscroll-behavior: contain;
}
.hwk-video-player::backdrop { background: #000c; }
html:has(.hwk-video-player:modal) { overflow: hidden; scrollbar-gutter: stable; }
.hwk-consent-embed .hwk-video-size {
    position: absolute;
    inset: 5px 5px auto auto;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    min-height: 0;
    padding: 0;
    border: 0;
    background: #f5f5f5;
    color: #171717;
}
.hwk-consent-embed .hwk-video-size svg { width: 19px; height: 19px; }
.hwk-video-player:not(:modal) [data-hwk-video-restore],
.hwk-video-player:modal [data-hwk-video-enlarge] { display: none; }

.hwk-consent-privacy-summary{background:#eee;padding:24px;margin-bottom:36px}
.hwk-consent-privacy-summary h2{margin-top:0!important;font-size:24px}
.hwk-consent-privacy-summary p{font-size:15px}
.hwk-consent-noscript{padding:16px 30px;font-size:14px;margin:0;background:#eee;color:#222}
.hwk-footer-cookie-settings{border:0;background:transparent;color:inherit;font:inherit;font-size:12px;padding:8px 6px;min-height:36px;border-radius:var(--hwk-control-radius,4px);margin-top:4px}
.hwk-footer-cookie-settings:hover{background:#ffffff14}
@media(max-width:767px){
.hwk-consent-banner{inset:auto 10px 10px;padding:var(--hwk-space-l,24px);gap:var(--hwk-space-m,16px);grid-template-columns:minmax(0,1fr);max-height:calc(100dvh - 20px);overflow:auto}
.hwk-consent-banner h2{font-size:21px}
.hwk-consent-banner p{font-size:13px}
.hwk-consent-banner .hwk-consent-actions > button{padding:10px 8px;font-size:var(--hwk-type-caption,13px)}
.hwk-consent-dialog{padding:22px}
.hwk-consent-dialog-head h2{font-size:24px}
.hwk-consent-option{padding:17px;gap:14px}
.hwk-consent-required{flex-basis:74px;font-size:11px}
.hwk-consent-option:has(.hwk-consent-required){display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px}
.hwk-consent-option:has(.hwk-consent-required)>div{display:contents}
.hwk-consent-option:has(.hwk-consent-required) h3{grid-column:1;grid-row:1;margin:0}
.hwk-consent-option:has(.hwk-consent-required) p{grid-column:1/-1}
.hwk-consent-option .hwk-consent-required{grid-column:2;grid-row:1;margin-top:2px}
}
@media(max-height:560px) and (min-width:768px){
.hwk-consent-banner{padding:20px 28px;gap:24px;max-height:calc(100dvh - 30px);overflow:auto}
}

.hwk-consent-campaign-settings{padding:12px 24px;text-align:center;color:inherit}
