/* Quiet circular social icons, shared by the footer and mobile navigation. */
html body .site-footer .site-footer__socials,
html body .mobile-catalog__links .mobile-catalog__footer-info .mobile-catalog__socials {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start !important;
  gap: 4px !important;
}

html body .site-footer .site-footer__socials > .ap-social-link,
html body .mobile-catalog__links .mobile-catalog__footer-info .mobile-catalog__socials > .ap-social-link {
  position: relative;
  display: inline-flex !important;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  width: 36px !important;
  min-width: 36px !important;
  height: 36px !important;
  min-height: 36px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

html body .ap-social-link > img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  max-width: none !important;
  margin: auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  object-fit: contain;
  transform: none !important;
  pointer-events: none;
  transition: opacity 160ms ease;
}

html body .ap-social-link > .ap-social-link__gray { opacity: 1; }
html body .ap-social-link > .ap-social-link__color { opacity: 0; }

@media (hover: hover) {
  html body .ap-social-link:hover > .ap-social-link__gray { opacity: 0; }
  html body .ap-social-link:hover > .ap-social-link__color { opacity: 1; }
}

html body .ap-social-link:focus-visible {
  outline: 2px solid #767676;
  outline-offset: 2px;
}
html body .ap-social-link:is(:focus-visible, :active) > .ap-social-link__gray { opacity: 0; }
html body .ap-social-link:is(:focus-visible, :active) > .ap-social-link__color { opacity: 1; }

@media (max-width: 768px) {
  html body .site-footer .site-footer__socials > .ap-social-link,
  html body .mobile-catalog__links .mobile-catalog__footer-info .mobile-catalog__socials > .ap-social-link {
    flex-basis: 44px;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body .ap-social-link > img { transition: none; }
}
