/* Debesis CMP — baner zgody na ciasteczka (22.09.2026) */
.deb-cmp, .deb-cmp * { box-sizing: border-box; }
.deb-cmp {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 99998;
  background: #fff; border-top: 1px solid #E8E4DD;
  box-shadow: 0 -8px 32px rgba(15, 41, 66, .12);
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #0A0E1A; padding: 20px 24px;
  transform: translateY(110%); transition: transform .28s ease;
}
.deb-cmp[data-open="1"] { transform: translateY(0); }
.deb-cmp-in { max-width: 1160px; margin: 0 auto; display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.deb-cmp-txt { flex: 1 1 420px; min-width: 280px; }
.deb-cmp h2 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: 21px; line-height: 1.25;
  margin: 0 0 6px; color: #0A0E1A; }
.deb-cmp p { font-size: 14.5px; line-height: 1.55; color: #4A5160; margin: 0; }
.deb-cmp p a { color: #1A7A90; text-decoration: underline; }
.deb-cmp-btns { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; flex: 0 0 auto; }
.deb-cmp-btn { font: inherit; font-size: 14.5px; font-weight: 600; padding: 11px 20px; border-radius: 100px;
  border: 1px solid #E8E4DD; background: #fff; color: #0A0E1A; cursor: pointer; white-space: nowrap; }
.deb-cmp-btn:hover { border-color: #0A0E1A; }
.deb-cmp-btn--main { background: #0F2942; border-color: #0F2942; color: #fff; }
.deb-cmp-btn--main:hover { background: #0A0E1A; }
.deb-cmp-btn--link { border: 0; background: none; text-decoration: underline; padding: 11px 6px; color: #4A5160; }
.deb-cmp-btn:focus-visible, .deb-cmp-sw input:focus-visible + .deb-cmp-sw-ui { outline: 2px solid #1A7A90; outline-offset: 2px; }

.deb-cmp-panel { display: none; flex-basis: 100%; margin-top: 18px; padding-top: 18px; border-top: 1px solid #E8E4DD; }
.deb-cmp[data-panel="1"] .deb-cmp-panel { display: block; }
.deb-cmp-row { display: flex; gap: 16px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid #F1EFEA; }
.deb-cmp-row:last-child { border-bottom: 0; }
.deb-cmp-row h3 { font-size: 15px; font-weight: 600; margin: 0 0 3px; }
.deb-cmp-row p { font-size: 13.5px; }
.deb-cmp-sw { flex: 0 0 auto; margin-left: auto; position: relative; }
.deb-cmp-sw input { position: absolute; opacity: 0; width: 44px; height: 26px; margin: 0; cursor: pointer; }
.deb-cmp-sw-ui { display: block; width: 44px; height: 26px; border-radius: 100px; background: #D8D4CC; transition: background .18s; }
.deb-cmp-sw-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; transition: transform .18s; }
.deb-cmp-sw input:checked + .deb-cmp-sw-ui { background: #2D6A4F; }
.deb-cmp-sw input:checked + .deb-cmp-sw-ui::after { transform: translateX(18px); }
.deb-cmp-sw input:disabled + .deb-cmp-sw-ui { background: #B9D4C6; cursor: not-allowed; }

@media (max-width: 720px) {
  .deb-cmp { padding: 18px 16px; max-height: 88vh; overflow-y: auto; }
  .deb-cmp-in { gap: 14px; }
  .deb-cmp-btns { width: 100%; }
  .deb-cmp-btn { flex: 1 1 auto; text-align: center; }
  .deb-cmp h2 { font-size: 19px; }
}
