/* Zkusvino: centered footer, 2026-09-09.
   Append after footer v3 and zv-footer-payment-options-20260908.
   Presentation only: preserve content, colors, links and payment visibility. */
body.zv-shoptet #footer {
  text-align:center;
}

/* One centered brand block: logo above the existing slogan. */
body.zv-shoptet #footer .site-name {
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:18px;
  text-align:center;
}
body.zv-shoptet #footer .site-name > a {
  margin-inline:auto;
  max-width:100%;
}
body.zv-shoptet #footer .site-name img {
  margin-inline:auto;
}
body.zv-shoptet #footer .site-name::after {
  max-width:100%;
  text-align:center;
}

/* Three equal tracks for information, contact and Facebook. */
body.zv-shoptet #footer .custom-footer {
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:36px clamp(20px,3vw,52px);
  justify-items:center;
  align-items:start;
  text-align:center;
}
body.zv-shoptet #footer .custom-footer > div {
  width:100%;
  min-width:0;
  text-align:center;
}
body.zv-shoptet #footer .custom-footer > .custom-footer__contact {
  max-width:440px;
  justify-self:center;
}
body.zv-shoptet #footer h3.pageElement__heading,
body.zv-shoptet #footer .custom-footer__articles ul,
body.zv-shoptet #footer .custom-footer__articles li,
body.zv-shoptet #footer .contact-box,
body.zv-shoptet #footer .contact-box > strong,
body.zv-shoptet #footer .contact-box ul,
body.zv-shoptet #footer .contact-box li {
  text-align:center;
}
body.zv-shoptet #footer .custom-footer__articles a {
  max-width:100%;
  overflow-wrap:anywhere;
}

/* Keep each icon and its link together in the centered row. */
body.zv-shoptet #footer .contact-box ul li {
  word-break:normal;
}
body.zv-shoptet #footer .contact-box ul li > span {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  max-width:100%;
  padding-left:0;
  text-align:center;
}
body.zv-shoptet #footer .contact-box ul li > span::before {
  position:static;
  inset:auto;
  transform:none;
  flex:0 0 20px;
  width:20px;
  margin:0;
  line-height:1;
  text-align:center;
}
body.zv-shoptet #footer .contact-box ul li > span > a {
  min-width:0;
  max-width:100%;
  overflow-wrap:anywhere;
  text-align:center;
}
body.zv-shoptet #footer .contact-box .tel a {
  font-size:clamp(17px,1.8vw,23px);
  white-space:normal;
  overflow-wrap:normal;
}

/* Center the embed without overriding its consent or loading state. */
body.zv-shoptet #footer #facebookWidget {
  width:100%;
  text-align:center;
}
body.zv-shoptet #footer #fb-widget-wrap {
  display:flex;
  justify-content:center;
  align-items:flex-start;
  width:100%;
  max-width:100%;
  margin-inline:auto;
}
body.zv-shoptet #footer #fb-widget-wrap .fb-page,
body.zv-shoptet #footer #fb-widget-wrap iframe {
  max-width:100%;
}

/* Preserve both native credit and copyright, centered on separate lines. */
body.zv-shoptet #footer .footer-bottom {
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:10px;
  text-align:center;
}
body.zv-shoptet #footer .footer-bottom > .copyright,
body.zv-shoptet #footer #signature {
  width:auto;
  max-width:100%;
  margin-inline:auto;
  text-align:center;
}

@media(max-width:1023px) {
  body.zv-shoptet #footer .custom-footer {
    grid-template-columns:minmax(0,1fr);
    gap:32px;
  }
  body.zv-shoptet #footer .custom-footer > div {
    max-width:440px;
  }
  body.zv-shoptet #footer .contact-box .tel a {
    font-size:clamp(18px,5.5vw,23px);
  }
}
