/* Elementy dodane przez połączenie z panelem: komunikaty formularzy,
   promocje pod cennikiem, najbliższe terminy wydarzeń, toast. */
.pulapka { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-info { margin-top: .7rem; font-weight: 700; font-size: .9rem; color: #C2410C; }
.form-info--ok { color: #3E6B00; }
.hb__karta.form--ok .hb__karta-pole, .hb__karta.form--ok .hb__karta-zgoda { display: none; }
.hb__karta.form--ok .form-info { font-size: 1rem; line-height: 1.45; }
button[disabled] { opacity: .6; pointer-events: none; }

.promo-lista { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.promo-lista__tyt, .terminy__tyt { font-family: var(--font-naglowek); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--pom-2); margin-bottom: .9rem; }
.promo-lista__siatka { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.promo { display: flex; gap: 1rem; align-items: center; background: #fff; border-radius: var(--r); padding: 1rem 1.2rem; border-left: 8px solid var(--roz); box-shadow: 0 8px 24px rgba(30,35,64,.06); }
.promo img { width: 84px; height: 84px; object-fit: cover; border-radius: 14px; flex: none; }
.promo h3 { font-size: 1.3rem; font-weight: 800; }
.promo p { color: var(--tusz-2); font-weight: 600; font-size: .95rem; margin-top: .2rem; }

.terminy { margin-top: clamp(1.5rem, 3vw, 2.5rem); padding: 0 clamp(.5rem, 3vw, 3rem); }
.terminy__lista { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; } /* panel podaje do 6 terminów: 3+3, bez osieroconej karty */
@media (max-width: 1100px) { .terminy__lista { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .terminy__lista { grid-template-columns: minmax(0, 1fr); } }
.termin { --k: var(--pom); display: flex; gap: 1rem; align-items: flex-start; background: #F4F6FA; border-radius: var(--r); padding: 1rem 1.1rem; }
.termin--warsztaty { --k: #F5B700; } .termin--tematyczne { --k: var(--roz); } .termin--polkolonie { --k: var(--tur); } .termin--zajecia { --k: #8DBF00; } .termin--animacje { --k: var(--pom); }
.termin__data { flex: none; width: 58px; text-align: center; background: var(--k); color: #fff; border-radius: 14px; padding: .4rem 0; font-family: var(--font-naglowek); font-weight: 700; font-size: .8rem; text-transform: uppercase; line-height: 1.1; }
.termin__data b { display: block; font-size: 1.6rem; font-weight: 800; }
.termin h3 { font-size: 1.2rem; font-weight: 800; line-height: 1.15; }
.termin p { color: var(--tusz-2); font-weight: 600; font-size: .92rem; margin: .2rem 0; }
.termin small { color: var(--tusz-2); font-weight: 700; }

.toast { position: fixed; left: 50%; bottom: 1.5rem; z-index: 200; transform: translate(-50%, 30px); opacity: 0; max-width: min(520px, calc(100% - 2rem));
  background: var(--tusz); color: #fff; font-weight: 700; padding: 1rem 1.3rem; border-radius: 16px; box-shadow: 0 16px 40px rgba(0,0,0,.25); transition: transform .45s cubic-bezier(.22,1,.36,1), opacity .3s; }
.toast--ok { background: #3E8E1F; }
.toast--on { transform: translate(-50%, 0); opacity: 1; }
.pop__zgoda a, .kon__zgoda a, .hb__karta-zgoda a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

/* Zgoda na cookies — karta w lewym dolnym rogu, nie zasłania treści.
   Pod popupem z rabatem (z-index), żeby nie walczyły o uwagę. */
.ciastka { position: fixed; left: 1.2rem; bottom: 1.2rem; z-index: 95; width: min(400px, calc(100% - 2.4rem));
  background: #fff; border-radius: 24px; padding: 1.3rem 1.3rem 1.2rem; box-shadow: 0 18px 50px rgba(30,35,64,.22), 0 0 0 1px rgba(30,35,64,.05);
  opacity: 0; transform: translateY(24px); transition: opacity .35s, transform .5s cubic-bezier(.22,1,.36,1); }
.ciastka--on { opacity: 1; transform: none; }
.ciastka__gl { display: flex; align-items: center; gap: .7rem; margin-bottom: .55rem; }
.ciastka__gl b { font-family: var(--font-naglowek); font-weight: 800; font-size: 1.2rem; color: var(--tusz); }
.ciastka__ik { width: 40px; height: 40px; border-radius: 14px; background: #FFF1E3; display: grid; place-items: center; flex: none; transform: rotate(-8deg); }
.ciastka__ik svg { width: 24px; height: 24px; fill: var(--pom); }
.ciastka__ik svg circle { fill: #fff; }
.ciastka p { font-size: .9rem; line-height: 1.5; color: var(--tusz-2); margin-bottom: 1rem; }
.ciastka p a { color: var(--pom-2); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.ciastka__btn { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.ciastka__b { font-family: var(--font-naglowek); font-weight: 700; font-size: .92rem; padding: .65rem 1rem; border-radius: 12px; background: #F2F4F9; color: var(--tusz); border: 0; cursor: pointer; transition: transform .2s, background .2s; }
.ciastka__b:hover { transform: translateY(-2px); background: #E8EBF2; }
.ciastka__b--pom { background: var(--pom); color: #fff; box-shadow: 0 4px 0 var(--pom-2); }
.ciastka__b--pom:hover { background: var(--pom); }
.ciastka__b--link { background: none; padding-inline: .4rem; text-decoration: underline; text-underline-offset: 3px; color: var(--tusz-2); }
.ciastka__b--link:hover { background: none; color: var(--tusz); }
.ciastka__kat { display: grid; gap: .5rem; margin: -.2rem 0 1rem; }
.ciastka__opc { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem .9rem; border-radius: 14px; background: #F7F8FB; cursor: pointer; }
.ciastka__opc span { display: grid; gap: .1rem; }
.ciastka__opc b { font-size: .92rem; color: var(--tusz); }
.ciastka__opc small { font-size: .78rem; color: var(--tusz-2); line-height: 1.35; }
.ciastka__opc input { position: absolute; opacity: 0; pointer-events: none; }
.ciastka__opc i { flex: none; width: 42px; height: 24px; border-radius: 99px; background: #D5D9E4; position: relative; transition: background .2s; }
.ciastka__opc i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .25s cubic-bezier(.22,1,.36,1); }
.ciastka__opc input:checked + i { background: var(--pom); }
.ciastka__opc input:checked + i::after { transform: translateX(18px); }
.ciastka__opc input:disabled + i { opacity: .55; }
.ciastka__opc input:focus-visible + i { outline: 2px solid var(--nieb); outline-offset: 2px; }
@media (max-width: 560px) { .ciastka { left: .6rem; bottom: .6rem; width: calc(100% - 1.2rem); padding: 1.1rem; } .ciastka__b { flex: 1 1 auto; } }
.ciastka__kat[hidden] { display: none; }
[hidden] { display: none !important; }
/* „Zapisz się” przy najbliższych terminach (podstrona wydarzeń wypełnia formularz). */
.termin__zapis { display: inline-flex; align-items: center; gap: .35rem; margin-top: .6rem; padding: .35rem .95rem; border-radius: 999px; background: var(--k); color: #fff;
  font-family: var(--font-naglowek); font-weight: 800; font-size: .9rem; text-decoration: none; }
.termin__zapis i { font-style: normal; transition: transform .2s; }
.termin__zapis:hover i { transform: translateX(3px); }
.termin > div { display: flex; flex-direction: column; align-items: flex-start; }
