.course-row-card-1__image {
  width: 324px;
  height: 230px;
  left: -16px;
  margin-right: -16px;
}
.course-row-card-1__image, .course-row-card-1__image img {
  border-radius: 16px;
}
.rtl .course-row-card-1__image {
  left: auto;
  margin-right: 0;
  right: -16px;
  margin-left: -16px;
}
@media (max-width: 991px) {
  .course-row-card-1__image {
    width: 100%;
    height: 230px;
    left: 0;
    margin-right: 0;
  }
  .course-row-card-1__image, .course-row-card-1__image img {
    border-radius: 16px 16px 0 0;
  }
}
.course-row-card-1__add-to-cart-btn {
  width: 164px;
}
@media (max-width: 991px) {
  .course-row-card-1__add-to-cart-btn {
    width: 124px;
  }
}

.course-grid-card-1 {
  position: relative;
}
.course-grid-card-1__mask {
  position: absolute;
  inset: 8px;
  bottom: -8px;
  border-radius: 24px;
  opacity: 0.5;
  background-color: var(--white);
  transition: all 0.3s ease;
  z-index: 1;
}
.profile-container .course-grid-card-1__mask {
  border: 1px solid var(--gray-200);
}
.course-grid-card-1:hover .course-grid-card-1__mask {
  top: -8px;
  bottom: 8px;
}
.course-grid-card-1__image {
  height: 226px;
}
/* .course-grid-card-1__image, .course-grid-card-1__image img {
  border-radius: 16px 16px 0 0;
} */
.course-grid-card-1__body {
  height: 192px;
  border-radius: 0 0 16px 16px;
  border-top: none;
  background: var(--white);
}
.course-grid-card-1__body .course-title {
  /* max-height: 42px; */
  text-overflow: ellipsis;
  overflow: hidden;
}
.profile-container .course-grid-card-1__body {
  border: 1px solid var(--gray-200);
}


.bundle-card__image {
  width: 192px;
  min-width: 192px;
  height: 228px;
  overflow: hidden;
}
.bundle-card__image img {
  transition: all 0.4s ease;
}
.bundle-card:hover .bundle-card__image img {
  transform: scale(1.1);
}
.bundle-card__content {
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 141px;
    right: 0;
    z-index: 1;
    border: 1px solid #2542402e;
}
.bundle-card__title {
  max-height: 62px;
  font-weight: 800;
  line-height: 21px;
  text-overflow: ellipsis;
  overflow: hidden;
}
.rtl .bundle-card .bundle-card__content {
  left: 0;
  right: 160px;
}
@media (max-width: 991px) {
  .bundle-card {
    margin-bottom: 122px;
  }
  .bundle-card__image {
    width: 100%;
    min-width: 100%;
  }
  .bundle-card__content {
    right: 16px;
    left: 16px;
    top: 170px;
    bottom: auto;
  }
}

.product-card {
  margin-left: 12px;
}
.rtl .product-card {
  margin-left: 0;
  margin-right: 12px;
}
@media (max-width: 991px) {
  .product-card {
    margin-left: 8px;
  }
  .rtl .product-card {
    margin-left: 0;
    margin-right: 8px;
  }
}
.product-card__mask {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: -8px;
  border-radius: 16px;
  opacity: 0.5;
  background: var(--white);
  z-index: 1;
  transition: all 0.3s ease;
}
.product-card:hover .product-card__mask {
  top: -8px;
  bottom: 8px;
}
.product-card__image {
  width: 124px;
  height: 124px;
  margin-left: -24px;
}
.rtl .product-card__image {
  margin-left: 0;
  margin-right: -24px;
}
@media (max-width: 991px) {
  .product-card__image {
    width: 100px;
    height: 100px;
  }
}
.product-card__content {
  width: calc(100% - 124px);
  overflow: hidden;
}
@media (max-width: 991px) {
  .product-card__content {
    width: calc(100% - 100px);
  }
}
.product-card__title {
  max-height: 42px;
  text-overflow: ellipsis;
  overflow: hidden;
}

.instructor-card {
  position: relative;
  top: 0;
  height: 146px;
  transition: all 0.3s ease;
}
.instructor-card__rate {
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  z-index: 2;
}
.instructor-card__verified-badge {
  position: absolute;
  right: 4px;
  top: 4px;
  z-index: 3;
}
.rtl .instructor-card__verified-badge {
  right: auto;
  left: 4px;
}
.instructor-card__mask {
  position: absolute;
  inset: 8px;
  bottom: -8px;
  border-radius: 32px;
  opacity: 0.5;
  background: var(--white);
  z-index: 1;
  transition: all 0.3s ease;
}
.instructor-card:hover {
  top: -8px;
}
.instructor-card:hover .instructor-card__mask {
  bottom: 8px;
  top: -8px;
}
