/* Replace the legacy WoodMart footer only during the WooCommerce checkout flow. */
body.woocommerce-checkout footer.wd-footer.footer-container {
  display: none !important;
}

body.woocommerce-checkout .mh-checkout-footer {
  width: 100%;
}

.mh-checkout-footer .shop-footer.site-footer *,
.mh-checkout-footer .shop-footer.site-footer *::before,
.mh-checkout-footer .shop-footer.site-footer *::after {
  box-sizing: border-box;
}

.mh-checkout-footer .shop-footer.site-footer {
  --mh-ink: #171714;
  --mh-red: #e6533c;
  width: 100%;
  margin: 0;
  padding: clamp(44px, 5vw, 64px) clamp(24px, 5.5vw, 86px) 24px;
  background: #080808;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

.mh-checkout-footer .shop-footer.site-footer a {
  color: inherit;
  text-decoration: none;
}

.mh-checkout-footer .shop-footer.site-footer .footer-main {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: clamp(32px, 5vw, 82px);
  width: min(1260px, 100%);
  margin: 0 auto;
}

.mh-checkout-footer .shop-footer.site-footer .footer-logo {
  display: flex;
  width: 174px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
}

.mh-checkout-footer .shop-footer.site-footer .footer-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.mh-checkout-footer .shop-footer.site-footer .footer-brand p {
  max-width: 250px;
  margin: 16px 0 28px;
  color: #bdbdb8;
  font-family: Georgia, serif;
  font-size: 16px;
  line-height: 1.35;
}

.mh-checkout-footer .shop-footer.site-footer .footer-brand > strong,
.mh-checkout-footer .shop-footer.site-footer .footer-column > strong {
  display: block;
  margin: 0 0 12px;
  color: #fff;
  font-size: 11px;
  letter-spacing: .045em;
}

.mh-checkout-footer .shop-footer.site-footer .social-links {
  display: flex;
  gap: 10px;
}

.mh-checkout-footer .shop-footer.site-footer .social-links > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #080808;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.mh-checkout-footer .shop-footer.site-footer .social-links > span:hover {
  background: var(--mh-red);
  color: #fff;
  transform: translateY(-2px);
}

.mh-checkout-footer .shop-footer.site-footer .social-icon {
  display: block;
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.mh-checkout-footer .shop-footer.site-footer .footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.mh-checkout-footer .shop-footer.site-footer .footer-column > a,
.mh-checkout-footer .shop-footer.site-footer .footer-column > span {
  color: #d0d0cb;
  cursor: pointer;
  font-size: 12px;
  line-height: 1.35;
}

.mh-checkout-footer .shop-footer.site-footer .footer-column > a:hover,
.mh-checkout-footer .shop-footer.site-footer .footer-column > span:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.mh-checkout-footer .shop-footer.site-footer .footer-confidence {
  display: grid;
  grid-template-columns: .65fr 1.35fr;
  align-items: center;
  gap: clamp(38px, 6vw, 90px);
  width: min(1420px, 100%);
  margin: 42px auto 0;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, .62);
  border-bottom: 1px solid rgba(255, 255, 255, .62);
}

.mh-checkout-footer .shop-footer.site-footer .footer-confidence strong {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  letter-spacing: .04em;
}

.mh-checkout-footer .shop-footer.site-footer .footer-contact {
  display: grid;
  gap: 2px;
}

.mh-checkout-footer .shop-footer.site-footer .footer-contact a {
  color: #d0d0cb;
  cursor: pointer;
  font-size: 12px;
  letter-spacing: .03em;
}

.mh-checkout-footer .shop-footer.site-footer .footer-newsletter form {
  display: flex;
  width: min(520px, 100%);
  min-height: 46px;
  margin: 0;
  overflow: hidden;
  border-radius: 999px;
  background: #fff;
}

.mh-checkout-footer .shop-footer.site-footer .footer-newsletter input {
  min-width: 0;
  min-height: 0;
  flex: 1;
  border: 0;
  border-radius: 0;
  padding: 0 20px;
  background: transparent;
  color: var(--mh-ink);
  outline: 0;
  box-shadow: none;
  font: inherit;
  font-size: 12px;
}

.mh-checkout-footer .shop-footer.site-footer .footer-newsletter button {
  min-width: 104px;
  min-height: 0;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: var(--mh-red);
  color: #fff;
  cursor: pointer;
  box-shadow: none;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
}

.mh-checkout-footer .shop-footer.site-footer .footer-newsletter p {
  margin: 9px 3px 0;
  color: #aaa9a3;
  font-size: 9px;
  line-height: 1.4;
}

.mh-checkout-footer .shop-footer.site-footer .footer-newsletter p a {
  color: #d0d0cb;
  text-decoration: underline;
}

.mh-checkout-footer .shop-footer.site-footer .footer-legal {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  width: min(1420px, 100%);
  margin: 0 auto;
  padding: 20px 0 0;
}

.mh-checkout-footer .shop-footer.site-footer .footer-legal span,
.mh-checkout-footer .shop-footer.site-footer .footer-legal a {
  color: #aaa9a3;
  cursor: pointer;
  font-size: 10px;
}

.mh-checkout-footer .shop-footer.site-footer .footer-legal nav {
  display: flex;
  gap: 28px;
}

.mh-checkout-footer .shop-footer.site-footer .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  white-space: nowrap !important;
}

@media (max-width: 980px) {
  .mh-checkout-footer .shop-footer.site-footer .footer-main {
    grid-template-columns: 1.1fr repeat(3, minmax(0, 1fr));
    gap: 36px 26px;
  }
}

@media (max-width: 680px) {
  .mh-checkout-footer .shop-footer.site-footer {
    padding: 42px 22px 22px;
  }

  .mh-checkout-footer .shop-footer.site-footer .footer-main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px 14px;
  }

  .mh-checkout-footer .shop-footer.site-footer .footer-brand {
    grid-column: 1 / -1;
  }

  .mh-checkout-footer .shop-footer.site-footer .footer-column {
    gap: 12px;
  }

  .mh-checkout-footer .shop-footer.site-footer .footer-column > strong {
    min-height: 30px;
    margin-bottom: 8px;
  }

  .mh-checkout-footer .shop-footer.site-footer .footer-column > a,
  .mh-checkout-footer .shop-footer.site-footer .footer-column > span {
    font-size: 11px;
  }

  .mh-checkout-footer .shop-footer.site-footer .footer-confidence {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 36px;
    padding: 24px 0;
  }

  .mh-checkout-footer .shop-footer.site-footer .footer-newsletter form {
    min-height: 44px;
  }

  .mh-checkout-footer .shop-footer.site-footer .footer-newsletter button {
    min-width: 86px;
  }

  .mh-checkout-footer .shop-footer.site-footer .footer-legal {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 24px;
  }

  .mh-checkout-footer .shop-footer.site-footer .footer-legal nav {
    gap: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mh-checkout-footer .shop-footer.site-footer * {
    transition-duration: .001ms !important;
  }
}
