/* MERTU: nová patička (Claude), 28. 10. 2026
   Obsah patičky je v banneru „Banner hodnocení firmy“ (banner3).
   Původní prvky zápatí zůstávají v administraci, tady jsou jen skryté. */

/* --- skrytí původních prvků a úprava kontejnerů šablony --- */
html body #footer.footer .footer-rows > .site-name,
html body #footer.footer .custom-footer__articles,
html body #footer.footer .custom-footer__contact,
html body #footer.footer .custom-footer__banner2,
html body #footer.footer .footer-bottom .copyright { display: none !important; }

html body #footer.footer { background: #002e33; color: #a9cdd1; margin-top: 48px; border: 0; }
html body #footer.footer .footer-rows { display: block; max-width: none; width: auto; margin: 0; padding: 0; background: none !important; }
html body #footer.footer .custom-footer { display: block !important; margin: 0; padding: 0; }
html body #footer.footer .custom-footer__banner3,
html body #footer.footer .custom-footer__banner3 .banner,
html body #footer.footer .custom-footer__banner3 .banner-wrapper {
  display: block; width: auto; max-width: none; margin: 0; padding: 0;
  border: 0; background: none; box-shadow: none; text-align: left; grid-column: 1 / -1;
}
html body #footer.footer .footer-bottom {
  display: flex; justify-content: flex-end; align-items: center;
  max-width: 1200px; margin: 0 auto; padding: 0 40px 20px;
  font-size: 13px; color: #a9cdd1; border: 0; background: none;
}
html body #footer.footer #signature a { color: #a9cdd1; }

/* --- nová patička --- */
html body #footer.footer .mf { font-family: "Source Sans 3", sans-serif; color: #ffffff; line-height: 1.5; text-align: left; }
html body #footer.footer .mf *, html body #footer.footer .mf *::before, html body #footer.footer .mf *::after { box-sizing: border-box; }
html body #footer.footer .mf a { color: inherit; text-decoration: none; }
html body #footer.footer .mf a:hover { text-decoration: underline; }
html body #footer.footer .mf ul { list-style: none; margin: 0; padding: 0; }
html body #footer.footer .mf li { margin: 0; padding: 0; list-style: none; }
html body #footer.footer .mf li::before, html body #footer.footer .mf li::after { content: none !important; display: none !important; }
html body #footer.footer .mf img { max-width: none; border: 0; }
html body #footer.footer .mf p { margin: 0; }

html body #footer.footer .mf-top { background: #003a40; }
html body #footer.footer .mf-in { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

html body #footer.footer .mf-main {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.4fr);
  column-gap: 40px; align-items: start; padding: 64px 0 40px;
}
html body #footer.footer .mf-logo { display: block; width: 88px; height: auto; filter: brightness(0) invert(1); }
html body #footer.footer .mf p.mf-desc { margin-top: 20px; max-width: 280px; font-size: 15px; line-height: 1.6; color: #d6e9eb; }
html body #footer.footer .mf-ratings { display: flex; align-items: stretch; gap: 24px; margin-top: 28px; }
html body #footer.footer .mf-rating { display: flex; flex-direction: column; gap: 4px; }
html body #footer.footer .mf-rating + .mf-rating { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, 0.16); }
html body #footer.footer .mf-rating strong { font-family: "Exo 2", sans-serif; font-weight: 700; font-size: 26px; line-height: 1.1; color: #ffffff; }
html body #footer.footer .mf-rating span { font-size: 13px; line-height: 1.4; color: #a9cdd1; }

html body #footer.footer .mf-h,
html body #footer.footer .mf-col > summary {
  display: block; margin: 0 0 16px; padding: 0; list-style: none;
  font-family: "Exo 2", sans-serif; font-weight: 600; font-size: 17px; line-height: 1.3; color: #ffffff;
}
html body #footer.footer .mf-col > summary { pointer-events: none; cursor: default; }
html body #footer.footer .mf-col > summary::-webkit-details-marker { display: none; }
html body #footer.footer .mf-col > summary::marker { content: ""; }
html body #footer.footer .mf-col ul { display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.4; color: #d6e9eb; }

html body #footer.footer .mf-phone { display: block; font-family: "Exo 2", sans-serif; font-weight: 700; font-size: 26px; line-height: 1.1; color: #ffffff; }
html body #footer.footer .mf-hours { margin-top: 6px; font-size: 13px; color: #a9cdd1; }
html body #footer.footer .mf-mail { display: inline-block; margin-top: 12px; font-size: 15px; color: #d6e9eb; }
html body #footer.footer .mf-pickup { margin-top: 24px; font-size: 15px; line-height: 1.5; color: #d6e9eb; }
html body #footer.footer .mf-pickup strong { display: block; font-weight: 600; color: #ffffff; }
html body #footer.footer .mf-pickup span { display: block; }
html body #footer.footer .mf-pickup small { display: block; font-size: 13px; color: #a9cdd1; }

html body #footer.footer .mf-note { padding: 20px 0 26px; border-top: 1px solid rgba(255, 255, 255, 0.16); font-size: 14px; line-height: 1.5; color: #a9cdd1; }

html body #footer.footer .mf-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 22px 0; color: #a9cdd1; }
html body #footer.footer .mf-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
html body #footer.footer .mf-logos img { display: block; width: auto; flex-shrink: 0; }
html body #footer.footer .mf-l-gls { height: 16px; }
html body #footer.footer .mf-l-ppl { height: 22px; }
html body #footer.footer .mf-sep { width: 1px; height: 22px; background: rgba(255, 255, 255, 0.2); flex-shrink: 0; }
html body #footer.footer .mf-crop { display: block; overflow: hidden; flex-shrink: 0; }
/* Visa: soubor má kolem značky ochrannou zónu, výřez ukazuje jen značku */
html body #footer.footer .mf-l-visa { width: 46px; height: 15px; }
html body #footer.footer .mf-l-visa img { width: 81.3px !important; height: auto; margin: -17.2px 0 0 -17.5px; }
html body #footer.footer .mf-l-mc { height: 33px; }
html body #footer.footer .mf-l-apple { height: 26px; }
/* Google Pay: soubor má kolem značky ochrannou zónu, výřez ukazuje jen značku */
html body #footer.footer .mf-l-gpay { width: 49px; height: 26px; }
html body #footer.footer .mf-l-gpay img { width: 71.1px !important; height: auto; margin: -11.05px 0 0 -11.05px; }
html body #footer.footer .mf-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; }

html body #footer.footer .mf-company {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 32px;
  padding: 14px 0 18px; border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px; line-height: 1.5; color: #a9cdd1;
}
html body #footer.footer .mf-company #signature { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 0; }

/* --- tablet --- */
@media (min-width: 768px) and (max-width: 1099px) {
  html body #footer.footer .mf-main { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  html body #footer.footer .mf-brand { grid-column: 1 / span 2; }
  html body #footer.footer .mf-contact { grid-column: 3; grid-row: 1; }
}

/* --- mobil --- */
@media (max-width: 767px) {
  html body #footer.footer { margin-top: 32px; }
  html body #footer.footer .mf-in { padding: 0 20px; }
  html body #footer.footer .footer-bottom { padding: 0 20px 20px; justify-content: flex-start; }
  html body #footer.footer .mf-main { display: flex; flex-direction: column; align-items: stretch; padding: 40px 0 0; }
  html body #footer.footer .mf-brand { order: 1; padding-bottom: 28px; }
  html body #footer.footer .mf-contact { order: 2; padding: 28px 0; border-top: 1px solid rgba(255, 255, 255, 0.16); }
  html body #footer.footer .mf-col { order: 3; border-top: 1px solid rgba(255, 255, 255, 0.16); }
  html body #footer.footer .mf-col:last-of-type { border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
  html body #footer.footer .mf-logo { width: 72px; }
  html body #footer.footer .mf p.mf-desc { margin-top: 16px; max-width: none; }
  html body #footer.footer .mf-ratings { margin-top: 20px; gap: 20px; }
  html body #footer.footer .mf-rating + .mf-rating { padding-left: 20px; }

  html body #footer.footer .mf-col > summary {
    display: flex; justify-content: space-between; align-items: center;
    margin: 0; padding: 16px 0; pointer-events: auto; cursor: pointer;
  }
  html body #footer.footer .mf-col > summary::after {
    content: ""; width: 8px; height: 8px; margin-right: 4px;
    border-right: 2px solid #a9cdd1; border-bottom: 2px solid #a9cdd1;
    transform: rotate(45deg); transition: transform 0.2s;
  }
  html body #footer.footer .mf-col[open] > summary::after { transform: rotate(-135deg); }
  html body #footer.footer .mf-col ul { padding: 0 0 16px; }

  html body #footer.footer .mf-phone {
    display: flex; align-items: center; justify-content: center; height: 52px; border-radius: 10px;
    background: #008391; font-size: 17px; text-decoration: none !important;
  }
  html body #footer.footer .mf-phone::before { content: "Zavolat\00a0"; }
  html body #footer.footer .mf-hours, html body #footer.footer .mf-mail { display: block; margin-top: 8px; text-align: center; }
  html body #footer.footer .mf-mail { margin-top: 2px; font-size: 13px; }
  html body #footer.footer .mf-pickup { margin-top: 20px; }

  html body #footer.footer .mf-note { padding: 20px 0 24px; border-top: 0; font-size: 13px; }
  html body #footer.footer .mf-bar { flex-direction: column; align-items: flex-start; gap: 18px; padding: 20px 0; }
  html body #footer.footer .mf-logos { gap: 16px 20px; }
  html body #footer.footer .mf-sep { display: none; }
  html body #footer.footer .mf-company { flex-direction: column; align-items: flex-start; gap: 6px; }
}
