/* JoyJozi Core 0.9.3 - sitewide mobile FOOTER correction.
 * Scoped to the theme's existing footer classes only.
 * Never changes Elementor landing-page content or Dineplan widgets.
 */
@media (max-width: 960px) {
  .site-footer, .site-footer * { box-sizing: border-box; }
  .site-footer__top {
    box-sizing: border-box;
    width: min(100% - 36px, 740px);
    max-width: 100%;
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(20px, 5vw, 42px);
    row-gap: 32px;
    padding: 52px 0 36px;
  }
  .site-footer__brand { grid-column: 1 / -1; min-width: 0; max-width: 100%; padding-right: 0; }
  .site-footer__brand img { max-width: min(210px, 70vw); height: auto; object-fit: contain; }
  .site-footer__brand p { max-width: 580px; font-size: clamp(30px, 5vw, 46px); line-height: 1.04; overflow-wrap: anywhere; }
  .site-footer__nav, .site-footer__visit, .site-footer__contact { min-width: 0; max-width: 100%; }
  .site-footer__contact { grid-column: 1 / -1; }
  .site-footer__nav .menu, .site-footer .footer-site-menu { min-width: 0; max-width: 100%; }
  .site-footer__nav a, .site-footer__contact > a, .site-footer .footer-text-link,
  .site-footer address, .site-footer__legal, .site-footer .site-credit {
    max-width: 100%; overflow-wrap: anywhere; word-break: normal;
  }
  .site-footer__bottom {
    box-sizing: border-box; width: 100%; max-width: 100%;
    display: flex; flex-direction: column; align-items: flex-start;
    gap: 12px; padding: 24px 22px;
    text-align: left;
  }
  .site-footer__legal { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; }
  .site-footer__legal .menu { display: flex; flex-wrap: wrap; gap: 10px 16px; }
  .site-footer .site-credit { width: 100%; line-height: 1.55; }
}
@media (max-width: 720px) {
  .site-footer__top {
    width: calc(100% - 36px);
    grid-template-columns: minmax(0, 1fr);
    row-gap: 28px;
    padding-top: 42px;
    padding-bottom: 35px;
  }
  .site-footer__brand, .site-footer__nav, .site-footer__visit, .site-footer__contact {
    grid-column: 1 / -1;
  }
  .site-footer__brand p {
    max-width: 100%;
    margin-top: 18px; margin-bottom: 21px;
    font-size: clamp(29px, 9vw, 38px);
    line-height: 1.05;
  }
  .site-footer__brand .button, .site-footer__brand a.button {
    max-width: 100%; white-space: normal; text-align: center;
  }
  .site-footer__nav .menu { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .site-footer__contact { align-items: flex-start; }
  .site-footer .social-links { display: flex; flex-wrap: wrap; }
  .site-footer__bottom {
    padding: 22px 18px calc(100px + env(safe-area-inset-bottom, 0px));
    gap: 12px;
  }
  /* The Core booking bar is fixed at the bottom; the legal/credit content
     must remain fully readable ABOVE the bar when scrolled to page end. */
  .site-footer__legal .menu { gap: 8px 14px; }
}
@media (max-width: 380px) {
  .site-footer__top { width: calc(100% - 28px); row-gap: 23px; }
  .site-footer__bottom { padding-inline: 14px; }
  .site-footer__brand p { font-size: 29px; }
}
