/* Baner zgód Hipnoflow CMS - wygląd z makiety baner-v2 (18.11.2026): pasek na całą szerokość na dole ekranu,
   ustawienia w oknie na środku (telefon: od dołu), przełączniki, kolory i fonty strony. Działa na stronach Divi i silnika. */
.pbh-cc {
  --pbh-cc-fg: #181818; --pbh-cc-muted: #4A4640; --pbh-cc-soft: #5C5853; --pbh-cc-line: #E7E2D9;
  --pbh-cc-accent: #EEA507; --pbh-cc-accent-t: #8F5D00; --pbh-cc-dark: #121212;
  font-family: "Raleway", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; font-size: 15px; line-height: 1.55;
  color: var(--pbh-cc-fg); -webkit-font-smoothing: antialiased; text-align: left;
}
.pbh-cc[hidden], .pbh-cc [hidden] { display: none !important; }
.pbh-cc *, .pbh-cc *::before, .pbh-cc *::after { box-sizing: border-box; }
.pbh-cc__bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 2147483000; display: flex; align-items: center; gap: 16px 28px;
  padding: 18px 28px calc(18px + env(safe-area-inset-bottom)); background: #fff; border-top: 3px solid var(--pbh-cc-accent);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, .2);
}
.pbh-cc__txt { flex: 1; min-width: 0; }
.pbh-cc__title {
  margin: 0 0 4px; padding: 0; font-family: "Titillium Web", "Segoe UI", system-ui, sans-serif; font-size: 18px; line-height: 1.3;
  font-weight: 700; color: var(--pbh-cc-fg); letter-spacing: 0; text-transform: none;
}
.pbh-cc__text { margin: 0; padding: 0; color: var(--pbh-cc-muted); font-size: 14px; line-height: 1.55; }
.pbh-cc a { color: var(--pbh-cc-accent-t); text-decoration: underline; text-underline-offset: 2px; }
.pbh-cc__actions { display: flex; gap: 10px; flex: none; }
.pbh-cc__btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin: 0; padding: 10px 20px;
  border: 2px solid var(--pbh-cc-accent); border-radius: 8px; background: var(--pbh-cc-accent); color: var(--pbh-cc-fg);
  font: 600 14px/1.2 "Titillium Web", "Segoe UI", system-ui, sans-serif; letter-spacing: .02em; text-transform: none; cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.pbh-cc__btn:hover { background: #D99500; border-color: #D99500; }
.pbh-cc__btn--line { background: #fff; border-color: var(--pbh-cc-dark); }
.pbh-cc__btn--line:hover { background: #fff; border-color: var(--pbh-cc-accent); }
.pbh-cc :focus-visible { outline: 3px solid var(--pbh-cc-accent); outline-offset: 2px; }
/* okno ustawień */
.pbh-cc__modal { position: fixed; inset: 0; z-index: 2147483001; display: flex; align-items: center; justify-content: center; padding: 20px; }
.pbh-cc__dim { position: absolute; inset: 0; background: rgba(10, 10, 10, .55); }
.pbh-cc__box {
  position: relative; display: flex; flex-direction: column; width: min(560px, 100%); max-height: calc(100vh - 40px); background: #fff;
  border-top: 3px solid var(--pbh-cc-accent); border-radius: 12px; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); overflow: hidden;
}
.pbh-cc__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--pbh-cc-line); }
.pbh-cc__logo { display: block; width: 130px; height: 26px; background: url(/wp-content/uploads/2025/04/hipnoflow-logo-480x94.png) left center / contain no-repeat; }
.pbh-cc__x {
  display: grid; place-items: center; width: 40px; height: 40px; margin: 0; padding: 0; border: 1px solid var(--pbh-cc-line); border-radius: 50%;
  background: #fff; color: var(--pbh-cc-soft); cursor: pointer;
}
.pbh-cc__body { padding: 18px 20px; overflow: auto; }
.pbh-cc__body > .pbh-cc__text { margin-bottom: 14px; }
.pbh-cc__cats { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pbh-cc__cat { display: flex; gap: 14px; align-items: flex-start; justify-content: space-between; margin: 0; padding: 12px 14px; border: 1px solid var(--pbh-cc-line); border-radius: 10px; }
.pbh-cc__cat h3 { margin: 0 0 3px; padding: 0; font: 700 15px/1.3 "Titillium Web", "Segoe UI", system-ui, sans-serif; color: var(--pbh-cc-fg); text-transform: none; }
.pbh-cc__cat p { margin: 0; padding: 0; color: var(--pbh-cc-soft); font-size: 13px; line-height: 1.5; }
.pbh-cc__cat .pbh-cc__hint { margin-top: 6px; color: var(--pbh-cc-accent-t); font-style: italic; }
.pbh-cc__sw {
  flex: none; display: grid; justify-items: center; gap: 4px; min-width: 88px; margin: 0; padding: 0; border: 0; background: none;
  font: 600 11px "Titillium Web", "Segoe UI", sans-serif; color: var(--pbh-cc-soft); cursor: pointer;
}
.pbh-cc__sw i { position: relative; display: block; width: 46px; height: 26px; border-radius: 999px; background: #CFC7B8; transition: background .2s; }
.pbh-cc__sw i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: left .2s; }
.pbh-cc__sw[aria-checked="true"], .pbh-cc__sw.is-on { color: var(--pbh-cc-accent-t); }
.pbh-cc__sw[aria-checked="true"] i, .pbh-cc__sw.is-on i { background: var(--pbh-cc-accent-t); }
.pbh-cc__sw[aria-checked="true"] i::after, .pbh-cc__sw.is-on i::after { left: 23px; }
.pbh-cc__sw.is-fixed { cursor: default; opacity: .85; }
.pbh-cc__foot { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; padding: 14px 20px; border-top: 1px solid var(--pbh-cc-line); background: #FAF8F4; }
/* pływające przyciski strony (wydarzenia, telefon) schowane, dopóki baner jest otwarty */
html.pbh-cc-open .evtab, html.pbh-cc-open .callfab { visibility: hidden; }
html.pbh-cc-modal { overflow: hidden; }
@media (max-width: 760px) {
  .pbh-cc__bar { flex-direction: column; align-items: stretch; gap: 10px; padding: 14px 14px calc(16px + env(safe-area-inset-bottom)); }
  .pbh-cc__title { font-size: 16px; }
  .pbh-cc__text { font-size: 13px; }
  .pbh-cc__actions { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .pbh-cc__btn { padding: 10px 6px; font-size: 13px; }
  .pbh-cc__modal { align-items: flex-end; padding: 0; }
  .pbh-cc__box { width: 100%; max-height: 88vh; border-radius: 16px 16px 0 0; }
  .pbh-cc__foot { display: grid; grid-template-columns: 1fr 1fr; padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
  .pbh-cc__foot .pbh-cc__btn--line { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: no-preference) {
  .pbh-cc:not([hidden]) .pbh-cc__bar:not([hidden]) { animation: pbh-cc-in .25s ease-out; }
  @keyframes pbh-cc-in { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
}
/* Baner Moove wyciszony przez silnik - na wypadek, gdyby jego znaczniki i tak trafiły na stronę. */
#moove_gdpr_cookie_info_bar, #moove_gdpr_cookie_modal, .moove-gdpr-floating-button, .gdpr_lightbox { display: none !important; }
