/* NutriHealth footer. Intentionally scoped away from product and checkout UI. */
#footer .nh-footer {
  --nhf-ink: #214737;
  --nhf-muted: #64786d;
  --nhf-line: #dbe7dd;
  background: #f5f8f3;
  color: var(--nhf-ink);
  border-top: 1px solid var(--nhf-line);
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
}
#footer .nh-footer *, #footer .nh-footer *::before, #footer .nh-footer *::after { box-sizing: border-box; }
#footer .nh-footer__inner { max-width: 1570px; margin: 0 auto; padding: 0 40px; }
#footer .nh-footer h2 { color: var(--nhf-ink); font-family: inherit; font-weight: 700; line-height: 1.4; font-size: 15px; margin: 0 0 17px; letter-spacing: 0; text-transform: none; }
#footer .nh-footer p { margin: 0; }
#footer .nh-footer a { color: var(--nhf-ink); text-decoration: none; transition: color .15s ease; }
#footer .nh-footer a:hover { color: #0b954e; }
#footer .nh-footer a:focus-visible { outline: 2px solid #0b954e; outline-offset: 5px; border-radius: 3px; }
#footer .nh-footer__brands { display: flex; align-items: center; gap: 40px; padding: 30px 0; border-bottom: 1px solid var(--nhf-line); }
#footer .nh-footer__brands-intro { flex: 0 0 220px; }
#footer .nh-footer__brands-intro h2 { margin-bottom: 4px; }
#footer .nh-footer__brands-intro p { color: var(--nhf-muted); font-size: 13px; }
#footer .nh-footer__brand-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; flex: 1; min-width: 0; }
#footer .nh-footer__brand { display: flex; align-items: center; justify-content: center; min-height: 78px; padding: 14px 18px; border: 1px solid #e8eee7; border-radius: 12px; background: #fff; }
#footer .nh-footer__brand img { display: block; width: auto; max-width: 100%; max-height: 45px; object-fit: contain; height: auto; }
#footer .nh-footer__grid { display: grid; grid-template-columns: 1.25fr .8fr 1fr 1.5fr; grid-template-areas: 'identity explore policies visit'; gap: 38px; padding: 42px 0; }
#footer .nh-footer__grid > * { min-width: 0; }
#footer .nh-footer__identity { grid-area: identity; }
#footer .nh-footer__explore { grid-area: explore; }
#footer .nh-footer__policies { grid-area: policies; }
#footer .nh-footer__visit { grid-area: visit; }
#footer .nh-footer__logo { display: inline-block; margin: 0 0 20px; }
#footer .nh-footer__logo img { display: block; width: 158px; height: auto; max-width: 100%; }
#footer .nh-footer__identity h2 { font-size: 22px; letter-spacing: -.4px; margin-bottom: 10px; }
#footer .nh-footer__identity > p { color: var(--nhf-muted); max-width: 280px; }
#footer a.nh-footer__whatsapp { display: inline-flex; align-items: center; gap: 8px; background: #0b954e; color: #fff; border-radius: 999px; min-height: 44px; padding: 10px 17px; margin-top: 22px; font-size: 13px; font-weight: 600; }
#footer a.nh-footer__whatsapp:hover { background: #087d41; color: #fff; }
#footer a.nh-footer__whatsapp,
#footer a.nh-footer__whatsapp:hover,
#footer a.nh-footer__whatsapp:focus { color: #fff !important; }
#footer .nh-footer__whatsapp .bx { color: #fff; font-size: 21px; }
#footer .nh-footer__contact-link { display: block; width: fit-content; margin-top: 14px; font-size: 13px; }
#footer .nh-footer__nav ul { list-style: none; margin: 0; padding: 0; }
#footer .nh-footer__nav li { list-style: none; margin: 0; padding: 0; }
#footer .nh-footer__nav li + li { margin-top: 6px; }
#footer .nh-footer__nav a { display: block; padding: 5px 0; width: fit-content; }
#footer .nh-footer__visit address { font-style: normal; font-size: 13px; }
#footer .nh-footer__visit address > p { margin-bottom: 8px; }
#footer .nh-footer__directions { color: var(--nhf-muted); font-size: 12px; }
#footer .nh-footer__visit address > a { display: block; padding: 2px 0; overflow-wrap: anywhere; }
#footer .nh-footer__map { overflow: hidden; border: 1px solid var(--nhf-line); border-radius: 14px; margin-top: 18px; background: #e6eee5; }
#footer .nh-footer__map iframe { display: block; width: 100%; height: 170px; border: 0; margin: 0; }
#footer .nh-footer__bottom { display: flex; justify-content: space-between; gap: 15px; padding: 19px 0 23px; border-top: 1px solid var(--nhf-line); font-size: 12px; color: var(--nhf-muted); }
@media (max-width: 1100px) {
  #footer .nh-footer__grid { grid-template-columns: 1fr 1fr; grid-template-areas: 'identity visit' 'explore policies'; gap: 32px 48px; }
  #footer .nh-footer__brands { gap: 24px; }
  #footer .nh-footer__brands-intro { flex-basis: 180px; }
  #footer .nh-footer__brand-list { gap: 10px; }
  #footer .nh-footer__brand { padding: 12px; }
}
@media (max-width: 700px) {
  #footer .nh-footer__inner { padding: 0 22px; }
  #footer .nh-footer__brands { display: block; padding: 25px 0; }
  #footer .nh-footer__brands-intro { margin-bottom: 16px; }
  #footer .nh-footer__brand-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  #footer .nh-footer__brand { min-height: 72px; }
  #footer .nh-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: 'identity identity' 'explore policies' 'visit visit'; gap: 30px 22px; padding: 30px 0; }
  #footer .nh-footer__identity > p { max-width: 380px; }
  #footer .nh-footer__identity h2 { font-size: 22px; }
  #footer .nh-footer__nav a { min-height: 40px; padding: 8px 0; font-size: 13px; }
  #footer .nh-footer__nav li + li { margin-top: 0; }
  #footer .nh-footer h2 { margin-bottom: 10px; }
  #footer .nh-footer__map iframe { height: 200px; }
  #footer .nh-footer__bottom { flex-direction: column; gap: 4px; padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) { #footer .nh-footer a { transition: none; } }
