.productViewContainer {
  position: relative;
  float: left;
  /* width: 24%; */
  height: auto;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  border: 0.5px solid #E6E6E6;
  border-top: 1px solid #E6E6E6;
  border-bottom: 0.5px solid #E6E6E6;
  /* margin-right: 0.5%; */
  /* margin-left: 0.5%; */
  top: 0;
  /* margin-bottom: 10px; */
  transition: top 0.2s ease-out;
  -moz-transition: top 0.2s ease-out;
  -webkit-transition: top 0.2s ease-out;
  -o-transition: top 0.2s ease-out;
}

.productSlide .productViewContainer {
  width: 100%;
  height: 100%;
}

.productSlide .productViewTop {
  box-shadow: none;
}

.productSlide .productViewBottom {
  box-shadow: none;
}

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

.productViewContainer:hover .secondImg {
  opacity: 1;
}

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

.productViewImagesContainer {
  position: relative;
  overflow: hidden;
  width: calc(100% - 20px);
  margin: 0 10px 10px;
  flex-shrink: 0;
}

.productViewTop {
  overflow: hidden;
  display: block;
  width: 100%;
  aspect-ratio: var(--main-img-product);
  object-fit: cover;
  object-position: center;
  transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  -webkit-transition: all 0.2s ease-out;
  -o-transition: all 0.2s ease-out;
  transition-property: opacity;
  transition-duration: 0.3s;
  background-color: transparent;
  border-radius: 0;
}

.productViewBottom {
  height: 132px;
  overflow: hidden;
  width: calc(100% - 20px);
  display: flex;
  flex-direction: column;
  text-align: left;
  text-indent: 13px;
  background-color: transparent;
  margin-left: 10px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.productViewActions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-width: 0;
  min-height: 29px;
  margin: 0 0 18px;
  text-indent: 0;
}

.productViewActions.inCart {
  padding: 0 8px;
  background: var(--added-to-cart-background);
  box-sizing: border-box;
}

.productViewActions .fastAddToCartContainer {
  width: auto;
  height: 29px;
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1 1 auto;
}

.productViewActions .fastBuyContainer,
.productViewContainer .productViewActions .fastBuyContainer.visible,
.productViewActions .contactUsContainer.noPrice,
.productViewActions .notAvailable.buyContainer {
  position: relative;
  left: auto;
  bottom: auto;
  width: auto;
  height: 29px;
  line-height: 29px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  flex: 1 1 auto;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--base);
}

.productViewActions .fastBuyQuantity,
.productViewActions .productStock,
.productViewActions .noStockAlert {
  display: none;
}

.productViewActions .fastBuyAddToCart,
.productViewActions .buyText {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: auto;
  height: 29px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--base);
  font-size: var(--body-font-size);
  font-weight: 600;
  line-height: 29px;
  text-align: left;
  text-indent: 0;
}

.productViewContainer .addedToCartBadge {
  display: none;
}

.productViewActions .fastBuyAddToCart::before,
.productViewActions .buyText::before {
  content: "";
  width: 22px;
  height: 23px;
  flex: 0 0 auto;
  margin-bottom: 1px;
  background-color: var(--base);
  -webkit-mask: url("../../files/cart.svg") center / auto 15px no-repeat;
  mask: url("../../files/cart.svg") center / auto 15px no-repeat;
}

.productViewActions .fastBuyAddToCart:hover::before,
.productViewActions .buyText:hover::before {
  -webkit-mask-image: url("../../files/cartHover.svg");
  mask-image: url("../../files/cartHover.svg");
  -webkit-mask-size: auto 13px;
  mask-size: auto 13px;
  margin-top: 1px;
}

.productViewActions .fastBuyAddToCart.inCart {
  height: 24px;
  width: auto;
  min-width: 0;
  padding: 0;
  background: transparent;
  color: var(--base);
  font-size: 12px;
  font-weight: var(--semibold-font-weight);
  justify-content: flex-start;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
}

.productViewActions .fastBuyAddToCart.inCart::before {
  display: none;
}

.productViewActions .notAvailable .buyText {
  color: rgb(from var(--base) r g b / 0.45);
}

.productViewActions .notAvailable .buyText::before {
  background-color: rgb(from var(--base) r g b / 0.45);
}

.productViewActions .figureBackground,
.productViewActions .removeWishlistProduct {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  right: auto;
  bottom: auto;
  top: auto;
  z-index: 2;
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  color: var(--base);
  font-size: 16px;
  line-height: 17px;
  text-indent: 0;
}

.productViewActions .addWishlistProduct,
.productViewActions .remove-WishlistProduct {
  display: block;
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.productViewActions .addWishlistProduct {
  background-image: url("../../files/heart.png");
}

.productViewActions .remove-WishlistProduct {
  background-image: url("../../files/heartFilled.png");
}

.productViewActions.inCart .figureBackground,
.productViewActions.inCart .removeWishlistProduct {
  display: flex;
  visibility: visible;
  opacity: 1;
}

.productViewActions.inCart .addWishlistProduct,
.productViewActions.inCart .remove-WishlistProduct {
  display: block;
  visibility: visible;
  opacity: 1;
}

#fastAddToCartPopup {
  position: fixed;
  right: 24px;
  top: 110px;
  z-index: 1002;
  display: block;
  width: auto;
  max-width: calc(100vw - 48px);
  padding: 12px 18px;
  background: var(--base);
  color: var(--btn-font);
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
}

#fastAddToCartPopup.notVisible {
  display: none;
}

.productViewImage {
  height: 100%;
  width: 100%;
}

.productViewName {
  color: #000;
  font-size: 14px;
  font-weight: 500;
  width: calc(100% - 10px);
  float: none;
  margin-top: 8px;
  height: 25px;
  line-height: 15px;
  text-transform: uppercase;
  margin-left: 5px;
  text-indent: 0;
  display: block;
  margin-top: 0;
  min-height: 32px;
  max-height: 32px;
  overflow: hidden;
}

.productViewSize {
  color: #000;
  font-size: 12px;
  font-weight: 400;
  width: calc(100% - 10px);
  margin-left: 5px;
  line-height: 15px;
  text-indent: 0;
}

.removeWishlistProduct {
  position: absolute;
  height: 20px;
  width: 20px;
  font-size: 25px;
  z-index: 99;
  right: 0;
  top: 20px;
  color: var(--base);
  text-transform: lowercase;
  background: unset;
}

.productViewPrice {
  overflow: hidden;
  color: var(--base);
  font-size: 14px;
  height: 45px;
  position: relative;
  font-weight: 700;
  width: calc(100% - 30px);
  margin-left: 5px;
  margin-top: auto;
  line-height: 29px;
  justify-content: center;
  align-items: center;
  text-indent: 0;
  align-content: center;
}

.figureBackground {
  background: unset;
  top: 20px;
  width: 17px;
  height: 17px;
}

.remove-WishlistProduct {
  background-image: url(../../files/heartFilled.png);
  background-size: 100%;
  width: 17px;
  height: 17px;
}

.remove-WishlistProduct:hover {
  background-image: url(../../files/heart.png);
}

.addWishlistProduct {
  background-image: url(../../files/heart.png);
  background-size: 100%;
  width: 17px;
  height: 17px;
}

.addWishlistProduct:hover {
  background-image: url(../../files/heartFilled.png);
}
.badgesContainer {
  display: flex;
  flex-direction: column;
  position: absolute;
  left: 0;
  /* width: 28%; */
  gap: 10px;
  z-index: 1;
  padding: 11px;
}

.badgeFile {
  position: relative;
  width: 50%;
}

.oldPrice {
  position: relative;
  color: rgba(0, 0, 0, 0.3);
  font-size: var(--base-font-size);
  margin-right: 8px;
  font-weight: 700;
}

.oldPrice:before {
  position: absolute;
  content: "";
  left: 0;
  top: 8px;
  right: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.3);
  border-color: inherit;
  color: rgba(0,0,0,0.3);
}

.bankPrice {
  position: relative;
  width: 100%;
  font-size: 14px;
  color: #0368c2;
  line-height: 25px;
  width: auto;
  font-weight: 600;
  display: flex;
  flex-direction: row;
  margin-top: 0;
}

.bankPriceImg {
  position: relative;
  float: left;
  /* top: 5px; */
  height: 15px;
  margin: 5px;
  width: auto !important;
}

.bankPriceText {
  position: relative;
  float: left;
  text-indent: 0;
}

@media screen and (max-width: 1100px) {
  .productViewContainer {
    width: 80%;
    height: auto;
    overflow: hidden;
    margin-bottom: 15px;
    text-align: center;
    margin-left: 3%;
    margin-bottom: 24px;
    float: left;
  }

  .remove-WishlistProduct:hover {
    background-image: url(../../files/heartFilled.png);
  }

  .addWishlistProduct:hover {
    background-image: url(../../files/heart.png);
  }

  .productViewTop {
    overflow: hidden;
    margin-top: 4px;
    margin-right: 4px;
    padding-right: 5px;
    object-fit: contain;
  }

  .productViewImage {
    height: auto;
  }

  .productSlide .badgeFile {
    top: 8px;
  }

  .productViewName {
    font-size: 14px;
    margin: 0;
    width: 100%;
    min-height: 40px;
    max-height: 40px;
    overflow: hidden;
    line-height: 20px;
  }

  .productViewSize {
    font-size: 12px;
    margin: 0;
    width: 100%;
    line-height: 18px;
  }

  .productViewPrice {
    font-size: 14px;
    font-weight: 600;
    margin: auto 0 0;
    width: 100%;
    height: 20px;
    line-height: 20px;
  }

  .bankPrice {
    font-size: 14px;
    line-height: 20px;
    height: 25px;
    margin: 0;
    float: left;
  }

  .bankPriceText {
    line-height: 25px;
    text-indent: 0;
  }

  .productViewBottom {
    height: 125px;
    width: calc(100% - 10px);
    margin-left: 10px;
  }

  .productViewActions {
    width: 100%;
    min-height: 24px;
    margin: 0 0 17px;
  }

  .productViewActions .fastBuyAddToCart,
  .productViewActions .buyText {
    font-size: 14px;
  }

  .productViewActions .fastBuyAddToCart:not(.inCart) .fastBuyAddToCartText {
    display: none;
  }

  #fastAddToCartPopup {
    right: 12px;
    top: 174px;
    max-width: calc(100vw - 24px);
  }

  .oldPrice {
    font-size: var(--base-font-size);
  }
}
