.block-product-image__layer-wrapper {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

@layer theme {
  .block-product-image__layer-wrapper * {
    pointer-events: auto;
  }
}
.block-product-card .block-product-image__layer-image-wrapper {
  position: relative;
  display: flex;
  width: 100%;
  padding: 16px;
  overflow: hidden;
  background-color: #FFFFFF;
  border: 1px solid #EFEAE2;
  border-radius: 8px;
  flex: 0 0 auto;
}
.block-product-image__layer-image-wrapper > a {
  position: absolute;
  inset: 0;
  display: block;
}
@media (min-width: 960px) {
  .block-product-image__layer-image-wrapper.desktop-hover:hover
    .block-product-image__image:nth-of-type(1) {
    opacity: 0;
  }

  .block-product-image__layer-image-wrapper.desktop-hover:hover
    .block-product-image__image:nth-of-type(2) {
    opacity: 1;
  }
}
@media (max-width: 959px) {
  .block-product-image__layer-image-wrapper.mobile-hover:hover
    .block-product-image__image:nth-of-type(1) {
    opacity: 0;
  }

  .block-product-image__layer-image-wrapper.mobile-hover:hover
    .block-product-image__image:nth-of-type(2) {
    opacity: 1;
  }
}
.block-product-card .block-product-image__image-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  pointer-events: none;
  background-color: #FFFFFF;
  border-radius: 6px;
  flex: 0 0 auto;
}
@layer theme {
  .block-product-image__image-wrapper * {
    pointer-events: auto;
  }
}
.block-product-card .block-product-image__image-wrapper > svg {
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.block-product-card .block-product-image__image-wrapper > .block-product-image__image {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  object-fit: contain;
  transition: 1s;
}
.block-product-card .block-product-image__image-wrapper > .block-product-image__image * {
  pointer-events: all;
}
.block-product-card .block-product-image__image-wrapper
  > .block-product-image__image:nth-of-type(1) {
  opacity: 1;
}
.block-product-card .block-product-image__image-wrapper
  > .block-product-image__image:nth-of-type(2) {
  opacity: 0;
}

@media (max-width: 959px) {
  .block-product-card .block-product-image__layer-image-wrapper {
    padding: 10px;
    border-radius: 6px;
  }
}
