.productViewContainer {
  position: relative;
  width: 100%;
  height: auto;
  cursor: pointer;
  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;
  font-family: var(--font-family);
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  background: var(--base-aux);
  border-right: 1px solid #2E395C4D;
}
.productViewContainer + .productViewContainer {
  border-bottom: 1px solid #2E395C4D;
}
.productViewContainer:first-child {
  border: 1px solid #2E395C4D;
}
.productViewContainer:nth-child(2),.productViewContainer:nth-child(3),.productViewContainer:nth-child(4) {
  border-top: 1px solid #2E395C4D;
}
.productViewContainer:nth-of-type(4n-3){
  border-left: 1px solid #2E395C4D;
}
.productViewAditionalInfo {
  position: relative;
  width: 100%;
  height: 15px;
  font-size: 14px;
  line-height: 13px;
  color: var(--second);
  margin-bottom: 8px;
  font-weight: 400;
  display: none;
}

.productViewAditionalInfo.altColor {
  color: #a0a0a0;
}

.secondImg {
  opacity: 0;
  position: absolute !important;
  left: 0px;
  top: 0px;
}

.productViewContainer:hover .secondImg {
  opacity: 1;
}

.productViewTop.firstImg,
.productViewTop.secondImg {
  height: 300px !important;
}

.productViewImageContainer {
  display: block;
  position: relative;
  width: 100%;
  z-index: 0;
  aspect-ratio: 1/1;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  transition: all 0.2s ease-out;
}
.figureBackground {
  top: -14px;
  right: -14px;
  bottom: unset;
  z-index: 1;
  background: transparent;
}

.productSlide .figureBackground {
  top: 10px;
  bottom: unset;
  opacity: 0;
  transition: 0.3s all ease;
}
.productViewContainer.discount .productViewImageContainer {
  background-color: white;
  border-color: var(--first);
}

.productViewContainer:hover .productViewImageContainer {
  /* transform: translateY(-20px); */
}

.productViewImage {
  position: relative;
  margin: auto;
  width: 75%;
  height: 88%;
  margin-bottom: 0;
  aspect-ratio: 1/1;
  transition: 0.3s all ease;
}
.productViewContainer:hover .productViewImageContainer .productViewImage {
  opacity: 0.7;
}
.backgroundImage {
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.coffeeShop .productViewImage {
  height: 100%;
  width: 100%;
  background-size: cover;
}

.productViewData {
  position: relative;
  width: 100%;
  text-align: left;
  height: auto;
  color: var(--base);
  margin: 8px auto 8px;
  font-size: var(--base-font-size);
  line-height: var(--base-line-height);
}
.productViewData .productViewName {
  width: 100%;
  height: 40px;
  align-items: start;
}
.productViewData.productViewName {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}
.productViewData div:not(.price),
.productViewData h2 {
  position: relative;
  width: fit-content;
  overflow: hidden;
  height: auto;
  margin: 0px auto;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  flex-wrap: wrap;
  line-height: 14px;
  gap: 4px 18px;
}
#productAuthor {
  color: #2E395C80;
  margin-bottom: 8px;
}
.productViewName {
  text-transform: uppercase;
}

.productViewAuthor {
  font-size: 15px !important;
  font-family: "Galliard Pro" !important;
}

.productViewPriceContainer {
  display: flex;
  align-items: center;
  justify-content: start;
}

.productViewPriceContainer .price {
  position: relative;
  font-weight: 700;
  /* margin-top: 4px; */
  margin-bottom: 8px;
}

.productViewOldPrice {
  /* margin-right: 10px; */
}

.productViewOldPrice::before {
  position: absolute;
  content: "";
  left: 0;
  top: calc(50% - 0px);
  border-top: 1px solid;
  border-color: var(--base);
  width: 100%;
  /* -webkit-transform: rotate(5deg);
        -moz-transform: rotate(5deg);
        -ms-transform: rotate(5deg);
        -o-transform: rotate(5deg);
        transform: rotate(5deg); */
}

.productViewContainer.discount .productViewPrice::before {
  position: relative;
  content: "/";
  width: auto;
}

.badgeFile {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 90px;
}

#MMFiles .badgeFile {
  position: absolute;
  top: 0;
  right: 0;
  width: 34%;
}
.bankPrice {
  width: 100%;
  display: flex;
}
.bankPrice div:not(.price),
.bankPrice h2 {
  position: relative;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  flex-direction: row;
  height: auto;
  /* margin-right: 8px; */
  flex-wrap: wrap;
  font-weight: 700;
  gap: 4px;
}

.bankPriceImg {
  position: relative;
  width: 18px;
  margin-right: 0.2rem;
}

.bankPriceText {
  position: relative;
  float: left;
}

.addWishlistProduct {
   background-image: url(../../files/heartIcon.png);
   background-size: 46%;
   background-repeat: no-repeat;
   height: 35px;
   width: 35px;
   background-position: center;
}
.remove-WishlistProduct {
  background-image: url(../../files/heart-filled.svg);
}

.discount .productViewImageContainer {
  border: 2px solid;
  background-color: white;
  border-color: #a2122e;
}

.book .productViewImageContainer {
  /* border: 2px solid #d8d8d8; */
}
@media screen and (max-width: 768px) {
  .productViewContainer {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    padding: 14px 20px 10px;
  }

  .productViewPriceContainer .price {
  position: relative;
  font-weight: 700;
  margin: 0px;
  margin-bottom: 4px;
}

  
  .bankPrice div:not(.price),
.bankPrice h2 {
  position: relative;
  margin: 0;
  gap: 0;
}
.bankPriceImg {
        height: 14px !important;
        width: 14px;
    }
  .productViewData {
  font-size:10px
}
  #productAuthor {
   font-size:8px
}
  .productViewContainer:nth-child(odd) {
    border-left: none;
  }
   .productViewContainer:nth-child(even) {
    border-left: none;
    border-right: none;
  }
  .figureBackground {
  top: -14px;
  right: -21px;
  bottom: unset;
  z-index: 1;
  background: transparent;
}
  .productViewContainer:nth-child(3), .productViewContainer:nth-child(4){
    border-top: none;
  }
  .slick-slide {
    display: none;
    float: left;
    height: 126%;
    min-height: 1px;
  }
  .productSlide .productViewContainer {
    height: unset;
  }
}
@media screen and (min-width: 1100px) {
  .addWishlistProduct:hover {
    background-image: url(../../files/heart-filled.svg);
    background-size: 60%;
  }

  .remove-WishlistProduct:hover {
    background-image: url(../../files/heartIcon.svg);
    background-size: 48%;
  }
}
