.product-cover {
  position: relative;
}

.esp-product-gallery-arrow {
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 50%;
  box-shadow: 0 2px 9px rgba(0, 0, 0, 0.18);
  color: #202020;
  cursor: pointer;
  display: flex;
  height: 46px;
  justify-content: center;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: background-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
  width: 46px;
  z-index: 4;
}

.esp-product-gallery-arrow span {
  font-family: Arial, sans-serif;
  font-size: 38px;
  font-weight: 300;
  line-height: 1;
  margin-top: -3px;
}

.esp-product-gallery-arrow--previous {
  left: -58px;
}

.esp-product-gallery-arrow--next {
  right: -58px;
}

.esp-product-gallery-arrow:hover {
  background: #fff;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
  transform: translateY(-50%) scale(1.04);
}

.esp-product-gallery-arrow:focus-visible {
  outline: 3px solid #f4d000;
  outline-offset: 2px;
}

@media (max-width: 767px) {
  .product-cover {
    margin-bottom: 54px;
  }

  .esp-product-gallery-arrow {
    bottom: -50px;
    height: 42px;
    top: auto;
    transform: none;
    width: 42px;
  }

  .esp-product-gallery-arrow span {
    font-size: 34px;
  }

  .esp-product-gallery-arrow--previous {
    left: 0;
  }

  .esp-product-gallery-arrow--next {
    right: 0;
  }

  .esp-product-gallery-arrow:hover {
    transform: scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  .esp-product-gallery-arrow {
    transition: none;
  }
}
