/* v1.2.1: cache-safe immediate first paint + strict hidden-state protection. The head bootstrap sets one of these classes before body parsing. */
html.stgdpr-consent-known #stgdpr-banner{display:none!important}
html.stgdpr-consent-needed #stgdpr-banner{display:block!important}
body > #stgdpr-root.stgdpr-root{position:fixed!important;top:0!important;left:0!important;width:0!important;height:0!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;overflow:visible!important;z-index:999997!important}.stgdpr-root,.stgdpr-root *{box-sizing:border-box}.stgdpr-root{font-size:var(--stgdpr-font-size,14px);line-height:1.45;color:var(--stgdpr-text,#fff)}#stgdpr-modal[hidden],#stgdpr-reopen[hidden],.stgdpr-root [hidden]{display:none!important}
.stgdpr-banner{position:fixed!important;left:0;right:0;z-index:999999;background:var(--stgdpr-bg,#161616);color:var(--stgdpr-text,#fff);box-shadow:0 0 28px rgba(0,0,0,.28)}.stgdpr-banner--bottom{bottom:0}.stgdpr-banner--top{top:0}.stgdpr-banner--boxed{left:20px;right:20px;max-width:var(--stgdpr-max-width,1500px);margin:auto;border-radius:var(--stgdpr-panel-radius,10px)}
.stgdpr-banner__inner{max-width:var(--stgdpr-max-width,1500px);margin:0 auto;padding:18px 22px;display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,260px);gap:28px;align-items:center}.stgdpr-banner--boxed .stgdpr-banner__inner{max-width:none}.stgdpr-banner__content h2,.stgdpr-panel h2{color:var(--stgdpr-text,#fff);margin:2px 0 8px;font-size:22px;line-height:1.15}.stgdpr-banner__content p{margin:0 0 8px;color:var(--stgdpr-muted,#d7d7d7)}.stgdpr-kicker{font-size:11px;letter-spacing:.08em;text-transform:uppercase;font-weight:800;color:#85deb0}.stgdpr-links{display:flex;align-items:center;flex-wrap:wrap;gap:7px}.stgdpr-links a,.stgdpr-panel__links a{color:var(--stgdpr-text,#fff);text-decoration:underline;text-underline-offset:2px}.stgdpr-banner__actions{display:grid;gap:8px}
.stgdpr-btn{appearance:none;border:1px solid transparent;border-radius:var(--stgdpr-button-radius,5px);padding:10px 15px;font:inherit;font-weight:700;cursor:pointer;min-height:40px;transition:.18s ease}.stgdpr-btn--primary{background:var(--stgdpr-accent,#007a3d);border-color:var(--stgdpr-accent,#007a3d);color:var(--stgdpr-btn-text,#fff)}.stgdpr-btn--primary:hover{filter:brightness(1.08)}.stgdpr-btn--outline{background:transparent;border-color:rgba(255,255,255,.42);color:var(--stgdpr-text,#fff)}.stgdpr-btn--outline:hover{border-color:#fff;background:rgba(255,255,255,.06)}.stgdpr-btn--link{background:transparent;color:var(--stgdpr-text,#fff);padding:8px 6px;text-decoration:underline;text-underline-offset:2px}.stgdpr-btn:focus-visible,.stgdpr-close:focus-visible,.stgdpr-reopen:focus-visible,.stgdpr-inline-link:focus-visible{outline:3px solid rgba(67,190,126,.55);outline-offset:2px}
.stgdpr-modal{position:fixed!important;inset:0;z-index:1000000;display:flex;align-items:center;justify-content:center;padding:20px}.stgdpr-modal__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.62);backdrop-filter:blur(2px)}.stgdpr-panel{position:relative;z-index:1;width:min(760px,100%);max-height:min(86vh,900px);overflow:auto;background:var(--stgdpr-bg,#161616);color:var(--stgdpr-text,#fff);border-radius:var(--stgdpr-panel-radius,10px);box-shadow:0 22px 70px rgba(0,0,0,.42);padding:24px}.stgdpr-panel__head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.stgdpr-close{appearance:none;border:0;background:transparent;color:var(--stgdpr-text,#fff);font-size:30px;line-height:1;cursor:pointer;padding:0 4px}.stgdpr-intro{color:var(--stgdpr-muted,#d7d7d7);margin:7px 0 18px}.stgdpr-categories{border-top:1px solid rgba(255,255,255,.13)}.stgdpr-category{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;padding:16px 0;border-bottom:1px solid rgba(255,255,255,.13)}.stgdpr-category h3{margin:0 0 4px;color:var(--stgdpr-text,#fff);font-size:15px}.stgdpr-category p{margin:0;color:var(--stgdpr-muted,#d7d7d7);font-size:.93em}.stgdpr-switch{position:relative;display:inline-flex;align-items:center}.stgdpr-switch input{position:absolute;opacity:0;pointer-events:none}.stgdpr-switch__slider{width:44px;height:24px;border-radius:999px;background:#72777c;position:relative;display:block;transition:.2s}.stgdpr-switch__slider:after{content:"";position:absolute;width:18px;height:18px;border-radius:50%;background:#fff;top:3px;left:3px;transition:.2s;box-shadow:0 1px 3px rgba(0,0,0,.3)}.stgdpr-switch input:checked + .stgdpr-switch__slider{background:var(--stgdpr-accent,#007a3d)}.stgdpr-switch input:checked + .stgdpr-switch__slider:after{transform:translateX(20px)}.stgdpr-switch.is-locked{opacity:.72}.stgdpr-switch input:focus-visible + .stgdpr-switch__slider{outline:3px solid rgba(67,190,126,.5);outline-offset:2px}.stgdpr-panel__links{display:flex;flex-wrap:wrap;gap:14px;margin:18px 0;color:var(--stgdpr-muted,#d7d7d7)}.stgdpr-panel__actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:18px}
.stgdpr-reopen{position:fixed!important;bottom:18px;z-index:999998;display:inline-flex;align-items:center;gap:8px;background:var(--stgdpr-bg,#161616);color:var(--stgdpr-text,#fff);border:1px solid rgba(255,255,255,.2);border-radius:999px;padding:9px 12px;box-shadow:0 7px 22px rgba(0,0,0,.25);font:inherit;cursor:pointer}.stgdpr-reopen--left{left:18px}.stgdpr-reopen--right{right:18px}.stgdpr-reopen:hover{border-color:var(--stgdpr-accent,#007a3d)}.stgdpr-inline-link{appearance:none;border:0;background:transparent;color:inherit;text-decoration:underline;cursor:pointer;font:inherit;padding:0}.stgdpr-body-locked{overflow:hidden!important}
.stgdpr-blocked-iframe{display:none!important}.stgdpr-media-placeholder{display:flex;min-height:220px;align-items:center;justify-content:center;text-align:center;padding:22px;background:#f4f5f5;border:1px solid #d8dcdf;border-radius:8px;color:#30363b}.stgdpr-media-placeholder__inner{max-width:520px}.stgdpr-media-placeholder p{margin:0 0 12px}.stgdpr-media-placeholder button{appearance:none;border:0;border-radius:5px;background:var(--stgdpr-accent,#007a3d);color:#fff;font-weight:700;padding:10px 14px;cursor:pointer}
.stgdpr-declaration .stgdpr-table-wrap{overflow:auto}.stgdpr-declaration table{width:100%;border-collapse:collapse}.stgdpr-declaration th,.stgdpr-declaration td{border:1px solid #ddd;padding:10px;text-align:left;vertical-align:top}.stgdpr-declaration th{background:#f5f5f5}.stgdpr-declaration p{margin-bottom:14px}
@media(max-width:900px){.stgdpr-banner__inner{grid-template-columns:1fr;gap:14px}.stgdpr-banner__actions{grid-template-columns:1fr 1fr}.stgdpr-banner__actions .stgdpr-btn--link{grid-column:1/-1}.stgdpr-panel__actions{grid-template-columns:1fr}.stgdpr-reopen__text{display:none}.stgdpr-reopen{width:44px;height:44px;justify-content:center;padding:0}}
@media(max-width:600px){.stgdpr-banner__inner{padding:16px}.stgdpr-banner__content h2,.stgdpr-panel h2{font-size:19px}.stgdpr-banner__actions{grid-template-columns:1fr}.stgdpr-banner__actions .stgdpr-btn--link{grid-column:auto}.stgdpr-modal{padding:10px}.stgdpr-panel{padding:18px;max-height:92vh}.stgdpr-category{gap:10px}.stgdpr-links span{display:none}.stgdpr-links{gap:9px 14px}.stgdpr-banner--boxed{left:8px;right:8px}.stgdpr-reopen{bottom:12px}.stgdpr-reopen--left{left:12px}.stgdpr-reopen--right{right:12px}}

/* v1.1.2: Woodmart mobile bottom navigation compatibility.
   The floating preferences launcher is hidden on mobile/tablet so it does not
   overlap the theme's fixed bottom toolbar. Preferences remain available via
   the [stgdpr_preferences] shortcode / cookie policy links. */
@media (max-width:1024px){
  .stgdpr-reopen{display:none!important;visibility:hidden!important;pointer-events:none!important}
}

/* v1.1.3: automatic footer preferences link.
   It inherits the footer's native anchor styling because it is inserted as a
   normal <li><a> immediately after the configured Cookie Policy link. */
.stgdpr-footer-preferences-link{cursor:pointer}
.stgdpr-footer-preferences-item--mobile{display:none!important}
@media (max-width:1024px){
  .stgdpr-footer-preferences-item--mobile{display:block!important}
}
