/* s7health mobile 2026-11 */
@media (max-width: 767px) {
  /* 1. wyrozniony tekst wychodzil poza ekran */
  .ws-nowrap, .custom-highlight-1.ws-nowrap { white-space: normal !important; }
  /* 2. kolka ze zdjeciami uciete z lewej */
  .position-absolute.top-50pct.left-50pct { position: static !important; transform: none !important; margin: 16px auto 0 !important; display: block; }
  img.rounded-circle.custom-box-shadow-1 { max-width: 220px; height: auto; display: block; margin: 0 auto; }
  /* 3. typografia */
  h1 { font-size: 28px !important; line-height: 1.2 !important; }
  h2 { font-size: 24px !important; line-height: 1.25 !important; }
  h3 { font-size: 20px !important; line-height: 1.3 !important; }
  body, p, li { font-size: 15px; line-height: 1.6; }
  /* 4. marginesy 20 px jak w WP */
  .container { padding-left: 20px !important; padding-right: 20px !important; }
  /* 5. przyciski 100% */
  .btn:not(.btn-link):not(.owl-prev):not(.owl-next):not(.navbar-toggler) { display: block; width: 100%; text-align: center; padding-left: 16px !important; padding-right: 16px !important; white-space: normal; }
  /* 6. animacje */
  .appear-animation, .animated { opacity: 1 !important; animation: none !important; transform: none !important; }
  /* 7. pasek ZADZWON / NAPISZ */
  .row.align-items-end.pb-4.my-5 { margin-top: 24px !important; margin-bottom: 24px !important; padding-bottom: 0 !important; }
  .row.align-items-end.pb-4.my-5 > [class*=col] { margin-bottom: 16px; }
  /* 8. header 101 px */
  #header .header-logo img { height: 32px !important; }
  #header .header-body { min-height: 64px; }
}

/* stopka */
@media (max-width: 767px) {
  #footer .container { padding-top: 0 !important; }
  #footer #footer-row { padding: 32px 0 8px !important; }
  #footer #footer-row > [class*=col] { text-align: center; margin-bottom: 24px !important; }
  #footer h4 { font-size: 15px; line-height: 1.3; margin-bottom: 12px; }
  #footer ul.list li, #footer ul.list-unstyled li { padding: 6px 0; margin: 0 !important; border-bottom: 1px solid rgba(255,255,255,.15); }
  #footer ul.list li:last-child, #footer ul.list-unstyled li:last-child { border-bottom: 0; }
  #footer .feature-box { display: flex; align-items: center; justify-content: flex-start; width: 260px; margin: 0 auto 14px !important; text-align: left; }
  #footer .feature-box img { width: 40px; }
  #footer .social-icons { justify-content: center; display: flex; }
  #footer .footer-copyright .container { padding-bottom: 12px !important; }
  #footer .footer-copyright .row.py-4 { padding: 12px 0 !important; margin-top: 0 !important; }
}

/* kolka: na telefonie jedno zdjecie, wysrodkowane */
@media (max-width: 767px) {
  .position-relative > .position-absolute.top-50pct.left-50pct { display: none !important; }
  .position-relative > div > img.rounded-circle.custom-box-shadow-1 { max-width: 280px; width: 100%; height: auto; display: block; margin: 0 auto; }
  [data-plugin-float-element] { transform: none !important; }
}

/* kolka v2: oba zdjecia, male pod duzym, wysrodkowane */
@media (max-width: 767px) {
  .position-relative > .position-absolute.top-50pct.left-50pct { display: block !important; position: static !important; transform: none !important; left: auto !important; top: auto !important; width: 55%; margin: -60px auto 0 !important; }
  .position-relative > .position-absolute.top-50pct.left-50pct img.rounded-circle { max-width: 100%; display: block; margin: 0 auto; }
  .position-relative:has(> div > img.rounded-circle.custom-box-shadow-1) { margin-bottom: 28px; }
  .position-relative > div > img.rounded-circle.custom-box-shadow-1 { margin-bottom: 0; }
  /* slidery kart: bez marginesow stage, bez strzalek */
  .owl-carousel.nav-outside:has(.owl-item .card) .owl-stage-outer { margin-left: 0 !important; margin-right: 0 !important; }
  .owl-carousel.nav-outside:has(.owl-item .card) .owl-nav { display: none !important; }
}

/* hamburger: nie jest przyciskiem 100% */
@media (max-width: 767px) {
  .btn.header-btn-collapse-nav { display: inline-flex !important; align-items: center; justify-content: center; width: 44px !important; height: 40px !important; padding: 0 !important; margin: 0 0 0 16px !important; }
}
