.relatedProductViewContainer {
  position: relative;
  width: 100%;
  height: auto;
  cursor: pointer;
  margin-bottom: 15px;
  overflow: hidden;
}

.relatedProductViewImagesContainer {
  width: 100%;
  position: relative;
  aspect-ratio: 155 / 211;
  overflow: hidden;
  border-radius: var(--main-border-radius, 0px);
}

.relatedProductViewTop {
  overflow: hidden;
  display: block;
  position: relative;
  height: 100%;
  width: 100%;
  aspect-ratio: 155 / 211;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.relatedProductViewTop.secondImg {
  position: absolute !important;
  left: 0;
  top: 0;
  opacity: 0;
}

.relatedProductViewTop iframe {
  width: 100%;
  height: 100%;
}

.relatedProductViewBottom {
  height: auto;
  overflow: hidden;
  width: 100%;
  text-align: left;
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
  align-items: flex-start;
  align-content: flex-start;
  position: relative;
  font-size: var(--base-font-size, 12px);
  line-height: var(--base-line-height, 16px);
}

.relatedProductViewName {
  position: relative;
  margin-top: 8px;
  margin-bottom: 10px;
  width: 100%;
}

.relatedProductViewBankPriceImg {
  min-width: 15px;
  margin-right: 7px;
  display: block;
  position: relative;
  max-height: 18px;
  max-width: 21px;
}

.relatedProductViewBankPriceText {
  position: relative;
  display: block;
}
.relatedProductViewPrice {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  overflow: hidden;
  font-size: var(--base-font-size, 12px);
  font-weight: var(--prices-font-weight, 600);
}

.relatedProductViewBankPrice {
  display: flex;
  align-items: center;
  min-width: 0;
}

.relatedProductViewPrice > div {
  margin-right: 10px;
  margin-bottom: 5px;
  position: relative;
}
.relatedOldPrice {
  color: var(--prueba, #828282);
  text-decoration: line-through;
  text-decoration-color: var(--prueba, #ec1c2e);
  white-space: nowrap;
  text-wrap: nowrap;
}

#recommendedProductsContainer .badgesContainer {
  display: none;
}

/* Hover de imagen en desktop */
@media screen and (min-width: 1100px) {
  .relatedProductViewImagesContainer:hover .secondImg {
    opacity: 1;
  }

  .relatedProductViewImagesContainer:hover .firstImg {
    opacity: 0;
  }
}

/* Estilos responsive */
@media screen and (max-width: 768px) {
  .relatedProductViewContainer {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    text-align: center;
  }

  .relatedProductViewName {
    margin-bottom: 4px;
    margin-top: 9px;
    width: 100%;
  }

  .relatedProductViewPrice {
    justify-content: left;
    margin-bottom: 10px;
  }

  .bankPriceImg {
    height: 16px;
  }
}
