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

@layer theme {
  .block-product-image__layer-wrapper * {
    pointer-events: auto;
  }
}
.block-product-image__layer-image-wrapper {
  position: relative;
  display: flex;
  width: 100%;
  padding: var(--padding);
  overflow: hidden;
}
.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-image__image-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  aspect-ratio: var(--aspect-ratio);
  overflow: hidden;
  pointer-events: none;
  background-color: rgb(243 243 243 / 100%);
  border-radius: var(--border-radius);
}
@layer theme {
  .block-product-image__image-wrapper * {
    pointer-events: auto;
  }
}
.block-product-image__image-wrapper > svg {
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.block-product-image__image-wrapper > .block-product-image__image {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  object-fit: var(--fit-type);
  transition: 1s;
}
.block-product-image__image-wrapper > .block-product-image__image * {
  pointer-events: all;
}
.block-product-image__image-wrapper
  > .block-product-image__image:nth-of-type(1) {
  opacity: 1;
}
.block-product-image__image-wrapper
  > .block-product-image__image:nth-of-type(2) {
  opacity: 0;
}



/* 定制 */
.block-product-image__layer-image-wrapper {
  position: relative;
  display: flex;
  width: 100%;
  padding: var(--padding);
  overflow: hidden;
}

@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-image__image-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  aspect-ratio: var(--aspect-ratio);
  overflow: hidden;
  background-color: rgb(243 243 243 / 100%);
  border-radius: var(--border-radius);
}

.block-product-image__image-wrapper>svg {
  width: 100%;
  height: 100%;
}

.block-product-image__image-wrapper>.block-product-image__image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: var(--fit-type);
  transition: 1s;
}

.block-product-image__image-wrapper>.block-product-image__image:nth-of-type(1) {
  opacity: 1;
}

.block-product-image__image-wrapper>.block-product-image__image:nth-of-type(2) {
  opacity: 0;
}

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

.product-variants-list {
  display: flex;
  justify-content: center;
  column-gap: 5px;
  width: 100%;
  flex-wrap: wrap;
  /* background: rgba(250, 250, 239, .5); */
  padding: 5px 0;
  /* backdrop-filter: blur(45px); */
}

.product-variants-list-item {
  padding: 0px 6px;
  text-align: center;
  position: relative;
  cursor: no-drop;
}


.product-variants-list-item a {
  pointer-events: none;
  color: #0000004a !important;
  font-size: var(--product-variants-font-size-desktop);
  display: block;
  height: calc(var(--product-variants-font-size-desktop) + 5px);
}

.product-variants-list-item.available {
  text-decoration: none;
  cursor: pointer;
}

.product-variants-list-item.available a {
  color: #000 !important;
  pointer-events: auto;
}

.product-variants-list-item.available:hover {
  text-decoration: underline;
}




.product-variants-list-item a:after {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  width: calc(var(--body3-font-size) + 5px);
  height: 1px;
  content: "";
  background-color: rgba(var(--color-text), 0.2);
  transform: translate(-50%, -50%) rotate(-45deg);
}

.product-variants-list-item.available a:after {
  display: none;
}

/* .block-product-image__layer-image-wrapper .block-product-card__quick-add svg.icon-quick-add {
  display: none;
} */
@media (max-width: 959px) {
  .product-variants-list-item a {
    font-size: var(--product-variants-font-size-mobile);
    height: calc(var(--product-variants-font-size-mobile) + 5px);
  }
}