.image-list-outer,
.image-list {
  width: 100%;
  position: relative;
}
.image-list-outer {
  /* overflow: hidden; */
}
.image-list-wrapper {
  --image-padding-top: 100%;

  position: relative;
  padding-top: var(--image-padding-top);
  margin: 0px auto;
  text-align: center;
  zoom: 1;
  display: block;
}
.catalog-img-aspect-vertical .image-list-wrapper {
  --image-padding-top: 138%;
}
.catalog-img-aspect-horizontal .image-list-wrapper {
  --image-padding-top: 78%;
}
.image-list-wrapper:has(.side-icons) .sticker {
  padding-right: 32px;
}
.image-list__link {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}
.image-list-wrapper img {
  position: absolute;
  margin: auto;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  border: 0;
  vertical-align: middle;
  max-width: 100%;
  max-height: 100%;
  pointer-events: none;

  mix-blend-mode: darken;
}

/*gallery in list*/
.section-gallery-wrapper {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0px;
  right: 0px;
  flex-direction: row;
  z-index: 2;
}
.section-gallery-wrapper__item {
  flex-grow: 1;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  /* background-color: #fff; */
  /* margin-bottom: -4px; */
}
.section-gallery-wrapper__item-nav {
  display: block;
  position: relative;
  margin: 0 1px;
  height: 100%;
}
.section-gallery-wrapper__item_hidden {
  display: none;
}
.section-gallery-wrapper__item img {
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
  left: 0px;
  right: 0px;
  border-radius: 8px;
  border-radius: var(--theme-button-border-radius);
}
.section-gallery-wrapper__item.active img {
  opacity: 1;
}

.section-gallery-nav {
  position: absolute;
  bottom: -4px;
  left: 0px;
  right: 0px;
  text-align: center;
  z-index: 2;
  line-height: 0px;
}
.section-gallery-nav__wrapper {
  display: block;
}
.section-gallery-nav__item {
  display: inline-block;
  width: 2px;
  height: 2px;
  background: var(--secondary);
  border-radius: 8px;
}
.section-gallery-nav__item:not(.active) {
  cursor: pointer;
}
.section-gallery-nav__item.active {
  background-color: var(--white_text_black);
  width: 8px;
}

.image-list .price-economy {
  position: absolute;
  bottom: 0px;
  left: 0px;
  z-index: 2;
}

.toggle-white-grey-bg {
  --toggle-bg: #fff;
  background: var(--toggle-bg);
}
.grey-bg-goods-y .toggle-white-grey-bg {
  --toggle-bg: #F8F8FC;
}