/* Shared product links; reverse arrow is a separate variant. */
.link-action.link-action--product-detail { position: relative; text-decoration: none; }
.link-action--product-detail::after {
  position: absolute;
  right: 0;
  bottom: calc(50% - 1em);
  left: 0;
  height: 1px;
  background: currentColor;
  opacity: .52;
  content: "";
  pointer-events: none;
}
.link-action--product-detail:not(.link-action--back) span:last-child { transition: transform 220ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  a.link-action--product-detail:not(.link-action--back):hover span:last-child { transform: translate3d(3px, 0, 0); }
}

.link-action--back span:first-child { transition:transform 220ms var(--ease-out); }
@media(hover:hover) and (pointer:fine) { a.link-action--back:hover span:first-child { transform:translate3d(-3px,0,0); } }
