.xo-product-info-media-style12 {
  position: relative;
}

.xo-product-info-media-style12__top {
  position: relative;
}

.xo-product-info-media-style12__top:hover .xo-product-info-media-style12__arrow {
  opacity: 1;
  transform: translate(0, -50%);
}

.xo-product-info-media-style12__arrow {
  position: absolute;
  top: 50%;
  opacity: 0;
  z-index: 9;
  transition: 0.3s;
}
.xo-product-info-media-style12__arrow button {
  all: unset;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background-color: rgba(var(--color-background));
  transition: 0.3s;
}
.xo-product-info-media-style12__arrow svg {
  color: rgba(var(--color-foreground));
}

.xo-product-info-media-style12__arrow:hover button {
  transform: scale(1.2);
  background-color: rgba(var(--color-foreground));
}
.xo-product-info-media-style12__arrow:hover svg {
  color: rgba(var(--color-background));
}

.xo-product-info-media-style12__arrow--left {
  left: 1.2rem;
  transform: translate(-100%, -50%);
}

.xo-product-info-media-style12__arrow--right {
  right: 1.2rem;
  transform: translate(100%, -50%);
}