.fg-customer-favorite-block {
  border-bottom: 0;
}
.fg-customer-favorite-block .fg-block-content {
  gap: 80px;
}
.fg-customer-favorite-block .fg-product-image,
.fg-customer-favorite-block .fg-product-reviews {
  display: flex;
  flex-direction: column;
  width: 50%;
  max-height: 80vh;
  position: relative;
}
.fg-customer-favorite-block .fg-product-reviews:after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(
    to top,
    var(--primary) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}
.fg-customer-favorite-block .fg-product-button {
  display: inline-flex;
}
.fg-customer-favorite-block .fg-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fg-customer-favorite-block .fg-product-reviews ul {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
  margin: 0;
  overflow-y: auto;
}
.fg-customer-favorite-block .fg-product-reviews ul::-webkit-scrollbar {
  display: none;
}
.fg-customer-favorite-block .fg-product-review {
  flex-direction: column;
  border-bottom: 1px solid var(--border);
  padding: 0 0 30px 0;
  position: relative;
}
.wp-admin .fg-customer-favorite-block .fg-product-review:after {
  content: attr(data-id);
  position: absolute;
  right: 0;
  opacity: 0.6;
}
.fg-customer-favorite-block .fg-product-review .fg-product-review-content {
  flex-direction: column;
  padding-right: 0;
}
.fg-customer-favorite-block .fg-product-review:last-of-type {
  border-bottom: 0;
}
.fg-customer-favorite-block .fg-product-review p:last-of-type {
  margin-bottom: 0;
}
.fg-customer-favorite-block .fg-product-review .woocommerce .star-rating {
  font-size: 1.3em;
  min-height: 21px;
}
.rtl .fg-customer-favorite-block .fg-product-review .woocommerce .star-rating {
  right: -10px;
}
.fg-customer-favorite-block .fg-product-review-text {
  margin-bottom: 10px;
}
.fg-customer-favorite-block .fg-product-review-text.lang-en {
}
.fg-customer-favorite-block .fg-product-review-text.lang-ar {
}
.fg-customer-favorite-block .fg-product-review .fg-product-review-data {
  flex-basis: 0;
}

@media (max-width: 992px) {
  .fg-customer-favorite-block .fg-product-image,
  .fg-customer-favorite-block .fg-product-reviews {
    max-height: 450px;
  }
}
@media (max-width: 768px) {
  .fg-customer-favorite-block .fg-block-content {
    flex-direction: column;
    gap: 0;
    background: #020202;
  }
  .fg-customer-favorite-block .fg-product-image,
  .fg-customer-favorite-block .fg-product-reviews {
    max-height: max-content;
    max-width: 100%;
    width: 100%;
    margin: 0;
  }
  .fg-customer-favorite-block .fg-product-reviews {
    width: 100%;
    padding: 40px 25px;
    border-top: 1px solid var(--border);
  }
  .fg-customer-favorite-block .fg-product-reviews:after {
    content: none;
    display: none;
  }
  .fg-customer-favorite-block .fg-product-reviews ul {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .fg-customer-favorite-block .fg-product-review {
    width: 82%;
    flex-shrink: 0;
    border: 0;
    padding-bottom: 0;
    scroll-snap-align: start;
  }
  .fg-customer-favorite-block .fg-product-review .fg-product-review-content {
    flex-grow: 1;
  }
  .fg-customer-favorite-block .fg-product-review .fg-product-review-data {
    gap: 40px;
    margin-top: auto;
  }
}
@media (max-width: 480px) {
  .fg-customer-favorite-block .fg-product-image {
    height: 480px;
    max-height: 100%;
    width: 100%;
  }
  .fg-customer-favorite-block .fg-product-review .fg-product-review-data {
    gap: 30px;
  }
}
