.avm-native-gallery-hidden {
  display: none !important;
}

.avm-lang-gallery {
  width: 100%;
  margin: 0 auto 24px;
}

.avm-lang-gallery-main {
  width: 100%;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avm-lang-gallery-main img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 620px;
  object-fit: contain;
}

.avm-lang-gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.avm-lang-gallery-thumb {
  width: 82px;
  height: 82px;
  min-width: 82px;
  border: 1px solid #e2e2e2;
  background: #fff;
  border-radius: 10px;
  padding: 4px;
  cursor: pointer;
  transition: .2s ease;
}

.avm-lang-gallery-thumb:hover,
.avm-lang-gallery-thumb.is-active {
  border-color: #4E7C63;
  box-shadow: 0 0 0 2px rgba(78, 124, 99, .12);
}

.avm-lang-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 767px) {
  .avm-lang-gallery-main img {
    max-height: 420px;
  }

  .avm-lang-gallery-thumb {
    width: 68px;
    height: 68px;
    min-width: 68px;
  }
}
body.avm-lang-gallery-active .product-cover,
body.avm-lang-gallery-active .js-qv-product-cover,
body.avm-lang-gallery-active .images-container,
body.avm-lang-gallery-active .product-images,
body.avm-lang-gallery-active .product-cover-thumbnails {
  display: none !important;
}