footer.kpos-footer-mobile {
  display: none;
}

@media (max-width: 767px) {
  footer[data-kpos-desktop-footer] {
    display: none !important;
  }

  footer.kpos-footer-mobile {
    display: block;
    background: #111827;
    color: #a7b4c7;
    padding: 0;
    border: 0;
    margin: 0;
    text-align: start;
    font: 15px/1.4 system-ui, sans-serif;
  }

  .kpos-footer-mobile .kpos-mobile-footer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
    padding: 20px 16px;
  }

  .kpos-footer-mobile .kpos-mobile-footer-brand {
    grid-column: 1 / -1;
  }

  .kpos-footer-mobile .kpos-mobile-footer-brand img.footer-logo {
    display: block;
    width: min(270px, 100%);
    height: auto;
    max-height: none;
    margin: 0 0 14px;
    padding: 5px 8px;
    background: #fff;
    object-fit: contain;
    box-sizing: border-box;
  }

  .kpos-footer-mobile :is(h2, p, ul) { margin: 0; }
  .kpos-footer-mobile p + p { margin-top: 4px; }
  .kpos-footer-mobile h2 { color: inherit; font: 700 15px/1.3 system-ui, sans-serif; margin-bottom: 5px; }
  .kpos-footer-mobile ul { list-style: none; padding: 0; }
  .kpos-footer-mobile a { color: inherit; overflow-wrap: anywhere; text-decoration: none; }
  .kpos-footer-mobile li a { display: inline-flex; align-items: center; min-height: 30px; line-height: 1.3; }
  .kpos-footer-mobile :is(a, button):focus-visible { outline: 2px solid #fba969; outline-offset: 2px; }

  .kpos-footer-mobile .kpos-mobile-footer-map {
    background: white;
    color: #425168;
    border: 1px solid #78899f;
    border-radius: 12px;
    overflow: hidden;
  }

  .kpos-footer-mobile .kpos-mobile-footer-map p { padding: 7px 6px; }
  .kpos-footer-mobile .kpos-mobile-footer-map :is(button, a) {
    min-height: 36px;
    padding: 5px 7px;
    border: 0;
    background: #a33a06;
    color: white;
    font: 700 13px/1.25 system-ui, sans-serif;
  }
  .kpos-footer-mobile .kpos-mobile-footer-map button { border-radius: 7px; cursor: pointer; }
  .kpos-footer-mobile .kpos-mobile-footer-map a { display: grid; place-items: center; text-align: center; }
  .kpos-footer-mobile .kpos-mobile-footer-map iframe { display: block; width: 100%; height: 132px; border: 0; }

  .kpos-footer-mobile .kpos-mobile-footer-bottom {
    border-top: 1px solid #293449;
    padding: 12px 16px 24px;
    text-align: center;
    font-size: 13px;
  }
  .kpos-footer-mobile .kpos-mobile-footer-bottom ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0 12px;
    margin-top: 8px;
  }
  .kpos-footer-mobile .kpos-mobile-footer-bottom a {
    color: #cbd5e1;
    text-decoration: underline;
    text-underline-offset: 2px;
  }
}
