/* WP Consent Mode Lite. Wszystkie reguły ograniczone do elementów wtyczki. */
:root {
  --wcm2-bg: #fff; --wcm2-text: #1c2530; --wcm2-muted: #364658;
  --wcm2-primary: #1d3650; --wcm2-primary-text: #fff;
  --wcm2-border: #d7dee6; --wcm2-link: #124e8b;
}
#wcm2-banner[hidden], #wcm2-dialog[hidden], #wcm2-manage[hidden] { display: none !important; }
.wcm2-modal-open { overflow: hidden !important; }
#wcm2-banner, #wcm2-dialog, #wcm2-manage {
  box-sizing: border-box; font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size: 15px; line-height: 1.5;
}
#wcm2-banner *, #wcm2-dialog *, #wcm2-manage * { box-sizing: border-box; }
.wcm2-banner {
  position: fixed; inset: auto 0 0; z-index: 2147483000; background: var(--wcm2-bg);
  color: var(--wcm2-text); border-top: 1px solid var(--wcm2-border);
  box-shadow: 0 -8px 28px rgba(0,0,0,.12);
  padding: 21px max(18px, calc((100vw - 1160px)/2));
}
.wcm2-content { max-width:1160px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; gap:26px; }
.wcm2-intro { flex:1 1 620px; min-width:0; }
.wcm2-title { display:block; font-size:19px; font-weight:700; margin-bottom:8px; line-height:1.3; color:var(--wcm2-text); }
.wcm2-banner p, .wcm2-panel p { margin: 4px 0 9px; color:var(--wcm2-muted); font-size:14px; line-height:1.55; }
.wcm2-banner a, .wcm2-panel a { color:var(--wcm2-link); text-decoration:underline; }
.wcm2-actions { flex:0 1 370px; display:flex; flex-wrap:wrap; gap:9px; justify-content:flex-end; }
.wcm2-button {
  appearance:none; border-radius:7px; padding:11px 16px; border:1px solid var(--wcm2-primary);
  min-height:43px; font-family:inherit; font-size:14px; font-weight:600; line-height:1.25;
  cursor:pointer; text-align:center; text-transform:none; letter-spacing:normal; box-shadow:none;
}
.wcm2-button-solid { background:var(--wcm2-primary); color:var(--wcm2-primary-text); }
.wcm2-button-outline { background:var(--wcm2-bg); color:var(--wcm2-primary); }
.wcm2-button:hover { filter:brightness(.91); }
.wcm2-button:focus-visible, .wcm2-close:focus-visible, .wcm2-manage:focus-visible, .wcm2-switch input:focus-visible {
  outline:3px solid var(--wcm2-link); outline-offset:3px;
}
/* Zwykły dolny pasek albo pływające okienko. */
.wcm2-layout-card-left, .wcm2-layout-card-center, .wcm2-layout-card-right {
  width: min(460px, calc(100vw - 32px)); padding:22px; border:1px solid var(--wcm2-border);
  border-radius:12px; box-shadow:0 12px 40px rgba(0,0,0,.22); bottom:20px;
  max-height:calc(100dvh - 40px); overflow-y:auto;
}
.wcm2-layout-card-left { left:20px; right:auto; }
.wcm2-layout-card-right { left:auto; right:20px; }
.wcm2-layout-card-center { left:50%; right:auto; transform:translateX(-50%); }
.wcm2-layout-card-left .wcm2-content,
.wcm2-layout-card-center .wcm2-content,
.wcm2-layout-card-right .wcm2-content { display:block; }
.wcm2-layout-card-left .wcm2-actions,
.wcm2-layout-card-center .wcm2-actions,
.wcm2-layout-card-right .wcm2-actions { display:flex; justify-content:stretch; margin-top:18px; }
.wcm2-layout-card-left .wcm2-actions .wcm2-button,
.wcm2-layout-card-center .wcm2-actions .wcm2-button,
.wcm2-layout-card-right .wcm2-actions .wcm2-button { flex:1 1 145px; }
.wcm2-overlay { position:fixed; inset:0; z-index:2147483001; display:flex; align-items:center; justify-content:center; background:rgba(10,19,30,.62); padding:16px; overflow-y:auto; }
.wcm2-panel { width:min(100%,720px); max-height:calc(100dvh - 32px); overflow-y:auto; position:relative; background:var(--wcm2-bg); color:var(--wcm2-text); padding:27px; border:1px solid var(--wcm2-border); border-radius:12px; box-shadow:0 20px 60px rgba(0,0,0,.25); }
.wcm2-panel h2 { color:var(--wcm2-text); margin:0 36px 12px 0; font-size:23px; line-height:1.3; font-weight:700; }
.wcm2-preferences-text { margin-bottom:12px; }
.wcm2-preferences-text p { margin-bottom:13px; }
.wcm2-close { position:absolute; top:13px; right:13px; border:0; background:transparent; color:var(--wcm2-text); font-size:29px; line-height:1; cursor:pointer; padding:6px 11px; }
.wcm2-category { border-top:1px solid var(--wcm2-border); padding:17px 0; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.wcm2-category strong { color:var(--wcm2-text); font-size:16px; }
.wcm2-category p { margin:3px 0 0; }
.wcm2-switch { display:flex; align-items:center; gap:7px; flex:0 0 auto; cursor:pointer; color:var(--wcm2-text); font-size:13px; }
.wcm2-switch input { width:20px; height:20px; accent-color:var(--wcm2-primary); margin:0; }
.wcm2-switch input:disabled { cursor:not-allowed; }
.wcm2-modal-actions { display:flex; justify-content:flex-start; flex-wrap:wrap; gap:9px; margin-top:20px; }
.wcm2-manage { position:fixed; z-index:2147482999; left:14px; bottom:14px; border-radius:7px; border:1px solid var(--wcm2-border); background:var(--wcm2-bg); color:var(--wcm2-text); font:600 12px/1.3 system-ui,sans-serif; padding:8px 11px; box-shadow:0 3px 16px rgba(0,0,0,.13); cursor:pointer; }
@media (max-width:750px) {
  .wcm2-content { flex-direction:column; align-items:stretch; gap:14px; }
  .wcm2-intro, .wcm2-actions { flex:auto; }
  .wcm2-actions { justify-content:stretch; }
  .wcm2-actions .wcm2-button { flex:1 1 135px; }
  .wcm2-panel { padding:22px 17px; }
  .wcm2-modal-actions .wcm2-button { flex:1 1 150px; }
  .wcm2-layout-card-left, .wcm2-layout-card-center, .wcm2-layout-card-right { bottom:12px; width:calc(100vw - 24px); }
  .wcm2-layout-card-left { left:12px; }
  .wcm2-layout-card-right { right:12px; }
}
@media (prefers-reduced-motion:reduce) { .wcm2-button { transition:none !important; } }
