/* v9.2.2 — touch targets and accessible focus for the global/legacy footers.
 * Scoped to the theme's own landmarks. Does not restyle WooCommerce checkout.
 * Applies only at tablet/mobile sizes to preserve the approved desktop look.
 */
@media (max-width: 900px) {
  body.pd26-theme.pd52-global-shell .pd-site-footer .pd-footer-links a,
  body.pd26-theme.pd52-global-shell .pd-site-footer .pd-footer-col > a {
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    width: fit-content !important;
    max-width: 100% !important;
    min-height: 44px !important;
    padding: 10px 0 !important;
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }
  body.pd26-theme.pd52-global-shell .pd-site-footer .pd-footer-contact > a {
    margin-bottom: 0 !important;
  }
  body.pd26-theme.pd52-global-shell .pd-site-footer .pd-footer-brand .pd-socials a {
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    flex: 0 0 44px !important;
  }
  body.pd26-theme.pd52-global-shell .pd-site-footer .pd-footer-logo {
    min-height: 44px !important;
  }
  body.pd26-theme.pd52-global-shell .pd-site-footer .pd-subfooter .pd-footer-legal :is(a,button) {
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    min-height: 44px !important;
    padding: 10px 0 !important;
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }
  body.pd26-theme.pd52-global-shell .pd-site-footer .pd-subfooter .pd-footer-legal a + a {
    border-left: 0 !important;
    padding-left: 0 !important;
  }
  body.pd26-theme.pd52-global-shell .pd-site-header .pd-main-nav a {
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    min-height: 44px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }
  /* The cookie link was only 11.5px high in Lighthouse's mobile audit. */
  body.pd26-theme .pd26-cookie-banner .pd26-cookie-small a,
  body.pd26-theme .pd26-cookie-modal .pd26-cookie-small a {
    box-sizing: border-box !important;
    display: inline-block !important;
    min-height: 44px !important;
    padding: 10px 4px !important;
    vertical-align: middle !important;
    white-space: normal !important;
    line-height: 24px !important;
    text-underline-offset: 3px !important;
  }
  body.pd26-theme .pd26-cookie-small {
    font-size: 13px !important;
    line-height: 1.45 !important;
  }
}
@media (max-width: 800px) {
  body.pd26-theme .pd-r40-site-footer .pd-r40-footer-inner {
    height: auto !important;
  }
  body.pd26-theme .pd-r40-site-footer .pd-r40-footer-col > a,
  body.pd26-theme .pd-r40-site-footer .pd-r40-footer-bottom a {
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    width: fit-content !important;
    max-width: 100% !important;
    min-height: 44px !important;
    padding: 10px 0 !important;
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }
  body.pd26-theme .pd-r40-site-footer .pd-r40-socials a {
    width: 44px !important;
    height: 44px !important;
  }
  body.pd26-theme .pd-r40-site-footer .pd-r40-footer-logo {
    min-height: 44px !important;
  }
  body.pd26-theme .pd-r40-site-footer .pd-r40-footer-bottom > div {
    flex-wrap: wrap !important;
  }
}
body.pd26-theme .pd-site-footer a:focus-visible,
body.pd26-theme .pd-site-footer button:focus-visible,
body.pd26-theme .pd-r40-site-footer a:focus-visible,
body.pd26-theme .pd26-cookie-banner a:focus-visible,
body.pd26-theme .pd26-cookie-modal a:focus-visible {
  outline: 3px solid #e0a36a !important;
  outline-offset: 3px !important;
  border-radius: 3px;
}
/* Avoid breaking a merchant e-mail at its final character inside a half-width
 * contact column on narrow phones. Give contact/payment details a full row. */
@media (max-width: 480px) {
  body.pd26-theme.pd52-global-shell .pd-site-footer .pd-footer-content {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  body.pd26-theme.pd52-global-shell .pd-site-footer .pd-footer-content > .pd-footer-col {
    grid-column: 1 / -1 !important;
    padding-left: 0 !important;
    border-left: 0 !important;
  }
  body.pd26-theme.pd52-global-shell .pd-site-footer .pd-footer-content > .pd-footer-contact,
  body.pd26-theme.pd52-global-shell .pd-site-footer .pd-footer-content > .pd-payments {
    grid-column: 1 / -1 !important;
    padding-left: 0 !important;
    border-left: 0 !important;
  }
  body.pd26-theme .pd-r40-site-footer .pd-r40-footer-inner > .pd-r40-footer-contact,
  body.pd26-theme .pd-r40-site-footer .pd-r40-footer-inner > .pd-r40-footer-methods {
    grid-column: 1 / -1 !important;
    padding-left: 7px !important;
    border-left: 0 !important;
  }
}
