/* Identidad compartida de Sustentables. No modifica el contenido de las paginas. */
body #wha-info-bar {
  background: #292929;
  color: #d2d2d2;
}

body #custom-header,
body #custom-header .header-container,
body #custom-header .mobile-access-row {
  background: #e8e8e8;
  color: #242424;
}

body #custom-header { border-bottom: 1px solid #d0d0d0; }
body #custom-header .logo img,
body #custom-header .cart-icon img { filter: none; }

/* Variante monocroma conservada para un uso posterior de la marca. */
body #custom-header[data-sust-logo-variant=monochrome] .logo img {
  filter: grayscale(1) invert(1) brightness(1.8);
}

body #custom-header .desktop-menu > li > a,
body #custom-header .quick-access a { color: #333; }

body #custom-header .quick-access a,
body #custom-header .wua-header-account-link {
  background: #f5f5f5;
  border-color: #c4c4c4;
  color: #242424;
}

body #custom-header .desktop-menu > li > a:hover,
body #custom-header .desktop-menu > li > a:focus-visible {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 6px;
}

body #custom-header .wua-header-account-link:hover {
  background: #fff;
  border-color: #999;
  color: #111;
}

body #custom-header .cart-count { background: #2f7d49 !important; color: #fff !important; }
body #mobile-menu-toggle { color: #242424; }
body #mobile-full-menu,
body #mobile-full-menu.open { background: #181818; border: 1px solid #383838; }
body #mobile-full-menu a,
body #mobile-full-menu .mobile-menu-items > li > a { color: #eee; border-color: #3a3a3a; }
body #mobile-full-menu a:hover { color: #fff; background: #303030; }

body #custom-footer { background: #111; color: #c2c2c2; }
body #custom-footer .footer-principal {
  background: #171717;
  color: #c2c2c2;
  border-color: #333;
}

body #custom-footer .footer-column h3 { color: #f5f5f5; }
body #custom-footer .footer-links ul,
body #custom-footer .footer-links p,
body #custom-footer .footer-links a { color: #c2c2c2; }
body #custom-footer .footer-links a:hover { color: #fff; }
body #custom-footer .footer-empresa-contacto span { color: #a5a5a5; }
body #custom-footer .footer-cierre { background: #0e0e0e; color: #b9b9b9; }
body #custom-footer .footer-cierre a { color: #dedede; }
body #custom-footer .footer-bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .75rem; }
body #custom-footer .footer-bottom__inng { display: block; margin: 0; text-align: left; }
body #custom-footer .footer-bottom__inng a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
body #custom-footer .footer-bottom__inng a:hover { color: #fff; }
body #custom-footer .footer-social-instagram { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; text-align: right; }
body #custom-footer .footer-social-instagram img { flex: none; width: 28px; height: 28px; margin: 0; filter: none; }

body #custom-footer .sust-footer-withdrawal-slot { min-height: 44px; margin-block: .75rem; }
body #custom-footer .sust-footer-withdrawal {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  min-height: 44px;
  max-width: 100%;
  padding: 7px 12px;
  border: 1px solid #707d72;
  border-radius: 8px;
  background: #252e27;
  color: #f5f5f5;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: underline;
  text-underline-offset: .18em;
}
body #custom-footer .sust-footer-withdrawal:hover { background: #36463a; border-color: #a5b6a7; }
body #custom-footer .sust-footer-withdrawal-slot[data-floating] .sust-footer-withdrawal {
  position: fixed;
  inset-inline-start: calc(24px + env(safe-area-inset-left, 0px));
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 9989;
}

body #custom-header :is(a,button):focus-visible { outline: 2px solid #555; outline-offset: 4px; }
body #custom-footer :is(a,button):focus-visible { outline: 2px solid #bbb; outline-offset: 4px; }

@media (max-width: 768px) {
  body #custom-header .mobile-access-row { border-color: #d0d0d0; }
  body #custom-footer .footer-column { border-color: #393939; }
  body #custom-footer .footer-social-instagram { max-width: 8rem; }
  body #custom-footer .sust-footer-withdrawal-slot[data-floating] .sust-footer-withdrawal {
    inset-inline-start: calc(16px + env(safe-area-inset-left, 0px));
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }
}
@media (max-width: 430px) {
  body #custom-footer .sust-footer-withdrawal-slot[data-floating] .sust-footer-withdrawal {
    bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  }
}
