/* Stopki Kidza: wspolny uklad, oryginalne kroje, paleta i ilustracje.
   Ladowac po ewa.css. Wszystkie selektory ograniczone do stopki. */
.footer-section .footer-widgets-wrapper {
  padding: 64px 0 32px;
}

.footer-section .ewa-stopka {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  grid-template-areas: "brand brand" "nav info" "locations locations";
  gap: 32px 20px;
}
.ewa-stopka > * { min-width: 0; }
.ewa-stopka .ewa-footer-brand { grid-area: brand; }
.ewa-stopka .ewa-footer-nav { grid-area: nav; }
.ewa-stopka .ewa-footer-info { grid-area: info; }
.ewa-stopka .ewa-footer-locations { grid-area: locations; }
.footer-section .ewa-stopka .single-footer-widget { margin-top: 0; }
.footer-section .ewa-stopka .widget-head { margin-bottom: 16px; }
.ewa-stopka .ewa-footer-brand .widget-content > p { max-width: 38ch; }
.ewa-stopka .ewa-logo-footer { display: block; max-width: 100%; object-fit: contain; }
.footer-section .ewa-stopka .ewa-stopka-feit { line-height: 1.65; }
.footer-section .ewa-stopka .ewa-stopka-feit p { margin: 0; }
.footer-section .ewa-stopka .social-icon { margin-top: 12px; }

/* Minimum 44 x 44 px takze dla maila, telefonu i linkow dolnego paska. */
.footer-section a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  max-width: 100%;
  line-height: 1.5;
  vertical-align: middle;
}
.footer-section a:focus-visible {
  outline: 2px solid currentColor !important; /* Szablon ma a { outline: none !important; }. */
  outline-offset: 4px;
  border-radius: 2px;
}
.footer-section .ewa-stopka .social-icon a {
  display: inline-flex;
  justify-content: center;
  width: 44px;
  height: 44px;
  line-height: 1;
}
.footer-section .ewa-stopka .widget-content .list-area li:not(:last-child) { margin-bottom: 0; }
.footer-section .ewa-stopka .list-area a {
  display: flex;
  gap: 8px;
  padding: 6px 0;
}
.footer-section .ewa-stopka .list-area a i { flex-shrink: 0; }
.footer-section .ewa-stopka .widget-content .list-area li:hover a { margin-left: 0; }
.footer-section a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer-section .ewa-stopka .widget-content .list-area li:hover a,
.footer-section .ewa-footer-address a:hover,
.footer-section .ewa-footer-locations h4 a:hover,
.footer-section .ewa-stopka-feit a:hover { color: var(--theme-color); }
.footer-section .social-icon a:hover { text-decoration: none; }

/* Adres, telefon i e-mail maja osobne wiersze, niezalezne od globalnego br. */
.footer-section .ewa-footer-location-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}
.footer-section .ewa-stopka .contact-info,
.footer-section .ewa-stopka .contact-list > li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
}
.footer-section .ewa-footer-locations .icon { flex-shrink: 0; padding-top: 8px; }
.footer-section .ewa-footer-locations .content { min-width: 0; }
.footer-section .ewa-stopka .ewa-footer-locations h4 { margin: 0; }
.footer-section:not(.footer-section-four) .ewa-footer-locations h4 { font-size: 20px; }
.footer-section .ewa-footer-address { margin: 0; font-style: normal; line-height: 1.65; }
.footer-section .ewa-footer-address > span,
.footer-section .ewa-footer-address > a { display: block; }
.footer-section .ewa-footer-address > a { padding: 10px 0; line-height: 1.5; }
.footer-section a[href^="mailto:"] { overflow-wrap: anywhere; }
.footer-section a[href^="tel:"] { white-space: nowrap; }

/* Fioletowa wersja: zachowane biel i zolc szablonu, czytelne stany hover. */
.footer-section-four .ewa-footer-address,
.footer-section-four .ewa-footer-address a { color: var(--white); }
.footer-section-four .ewa-footer-address a:hover,
.footer-section-four .ewa-stopka-feit a:hover { color: #FDF948; }
.footer-section-four .ewa-stopka .social-icon a:hover,
.footer-section-four .ewa-stopka .social-icon a:focus-visible {
  background-color: var(--white);
  color: var(--theme-color) !important; /* Nadpisuje li:hover a szablonu. */
  opacity: 1;
}

/* Osobny pas: transformacje ozdobnikow nie moga wejsc na dane ani linki. */
.footer-section .ewa-footer-art {
  position: relative;
  height: 240px;
  overflow: hidden;
  pointer-events: none;
}
.footer-section .ewa-footer-art img { display: block; }
.footer-section .ewa-footer-art .bottom-shape { height: 100%; }
.footer-section .ewa-footer-art .bottom-shape img {
  position: absolute;
  bottom: 0;
  height: auto;
}
.footer-section .ewa-footer-art .busket-shape { top: auto; bottom: 12px; right: 8%; }
.footer-section .ewa-footer-art .ball-shape { bottom: 24px; left: 8%; }
.footer-section-four .ewa-footer-art .flower-shape-2 { bottom: 10px; left: 3%; }
.footer-section-four .ewa-footer-art .flower-shape-2 img { height: 200px; }
.footer-section-four .ewa-footer-art .house-shape { bottom: 12px; right: 22%; }
.footer-section-four .ewa-footer-art .love-shape { bottom: 72px; left: 26%; }
.footer-section-four .ewa-footer-art .emoji-shape2 { bottom: 144px; right: 43%; }
.footer-section-four .ewa-footer-art .sky-shape { top: 20px; right: 8%; }
.footer-section-four .ewa-footer-art .frame-shape { bottom: 12px; right: 1%; }
.footer-section-four .ewa-footer-art .frame-shape img { width: 160px; height: auto; }

/* Wspolny dolny pasek. Tekst na jasnym fiolecie bierze ciemny kolor Kidza. */
.footer-section .ewa-footer-bottom .ewa-footer-legal {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 24px;
  padding: 20px 0 24px;
  font-size: 16px;
  line-height: 1.5;
}
.footer-section .ewa-footer-bottom .footer-wrapper p,
.footer-section .ewa-footer-bottom .footer-wrapper p a,
.footer-section .ewa-footer-bottom .footer-menu li a { color: var(--bg-3); }
.footer-section .ewa-footer-bottom .footer-wrapper p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 .25em;
  line-height: 1.5;
}
.footer-section .ewa-footer-bottom .footer-wrapper p a:hover,
.footer-section .ewa-footer-bottom .footer-menu li a:hover { color: var(--bg-3); }
.footer-section .ewa-footer-bottom .footer-menu { flex-wrap: wrap; gap: 0 20px; }
.footer-section .ewa-footer-bottom .footer-menu li a { display: inline-flex; background-image: none; }
.footer-section .ewa-footer-bottom .ewa-maker {
  grid-column: 1 / -1;
  justify-content: center;
  text-align: center;
  white-space: normal;
}
.footer-section .ewa-footer-bottom.footer-bottom-two { background-color: #9C8FF1; }
.footer-section .ewa-footer-bottom .bottom-bg-two { top: -32px; bottom: auto; height: 34px; }
.footer-section .ewa-footer-bottom .bottom-bg-two img { width: 100%; height: 100%; }

@media (min-width: 576px) {
  .footer-section .ewa-footer-location-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .footer-section .ewa-stopka {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr) minmax(0, 1fr);
    grid-template-areas: "brand nav info" "locations locations locations";
    gap: 36px 28px;
  }
}
@media (min-width: 1200px) {
  .footer-section .footer-widgets-wrapper { padding-top: 100px; }
  .footer-section:not(.footer-section-four) .ewa-footer-art { height: clamp(240px, 19vw, 380px); }
  .footer-section .ewa-stopka {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.45fr);
    grid-template-areas: "brand nav info locations";
    column-gap: 32px;
  }
  .footer-section .ewa-footer-location-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1199px) {
  .footer-section .ewa-footer-art { height: 210px; }
  .footer-section-four .ewa-footer-art .flower-shape-2 img { height: 170px; }
  .footer-section-four .ewa-footer-art .house-shape img { width: 210px; }
  .footer-section-four .ewa-footer-art .love-shape { left: 23%; bottom: 48px; }
  .footer-section-four .ewa-footer-art .emoji-shape2 { bottom: 126px; }
  .footer-section-four .ewa-footer-art .frame-shape img { width: 140px; }
}
@media (max-width: 767px) {
  .footer-section .footer-widgets-wrapper { padding: 48px 0 28px; }
  .footer-section .ewa-footer-bottom .ewa-footer-legal { grid-template-columns: 1fr; text-align: center; }
  .footer-section .ewa-footer-bottom .footer-menu { justify-content: center; }
  .footer-section .ewa-footer-bottom .ewa-footer-copyright { justify-content: center; }
}
@media (max-width: 575px) {
  .footer-section .ewa-footer-art { height: 100px; }
  .footer-section-four .ewa-footer-art { display: none; }
  .footer-section .ewa-footer-bottom .ewa-footer-legal { font-size: 15px; padding: 16px 0 24px; }
  .footer-section .ewa-footer-bottom .bottom-bg-two { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .footer-section .ewa-footer-art > div { animation: none; }
  .footer-section a { transition: none; }
}
