figure-base {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.mec-figure-empty {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #f2f3f5;
  inset: 0;
  padding: 36px;
  z-index: 1;
}
figure-base .mec-figure-empty img {
  object-fit: contain !important;
  height: 75% !important;
  width: 75% !important;
  opacity: 0.5;
  position: initial !important;
}
.mec-figure {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: opacity 0.3s ease;
}
.mec-figure::selection {
  color: initial;
  background: initial;
}
@media only screen and (min-width: 768px) {
  .mec-figure-empty {
    padding: 20px;
  }
}
@media only screen and (max-width: 768px) {
  .product-card-block-item figure-base .mec-figure-empty img,
  .collection__item__image figure-base .mec-figure-empty img {
    height: 100% !important;
    width: 100% !important;
  }
}
figure-base.loading .mec-figure {
  opacity: 0;
}
figure-base.loaded .mec-figure {
  opacity: 1;
}
figure-base.loaded .mec-figure-empty {
  display: none;
}
figure-base:not(.loaded) .mec-figure-empty {
  display: flex;
}
figure-base.error .mec-figure-empty {
  background: #fef2f2;
}
figure-base:focus-within {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.mec-figure {
  animation: fadeIn 0.3s ease-in-out;
}
