.vertical_prod {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(315px, 1fr));
  gap: 10px;
}

@media (max-width: 767px) {
  .vertical_prod {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .vertical_prod {
    grid-template-columns: repeat(1, 1fr);
  }
}



.product-item {
  /* max-width: 385px; */
  max-height: 465px;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  /* background-color: blue; */
  overflow: hidden;
  padding: 32px 36px;
  box-shadow: 0px 4px 24px 0px #00000014;
  transition: all 0.4s ease-in-out;

  &:hover {
    transform: translateY(-5px);
  }

  .badge-name {
    top: 32px;
    right: 36px;
    left: auto;
    z-index: 100;
  }

  .ltr .product-item .badge-name {
    right: auto;
    left: 36px;
  }

  .add-to-wishlist {
    position: absolute;
    top: 15px;
    left: 10px;
    z-index: 1;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    /* margin: 10px; */
    width: 40px;
    height: 35px;
    cursor: pointer;
    border-radius: 5px;
    /* background-color: white; */

    .wishlist-btn {
      background: none;
      border: none;
      cursor: pointer;
      padding: 0;
      font-size: 20px;
      width: 25px;
      color: #e74c3c;
      height: 25px;
    }
  }

  .content {
    width: 250px;
    height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;

    img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }
  }

  .details {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 14.81px;
    padding: 10px 0 0;

    .product-card-name {
      span {
        font-weight: 700;
        font-size: 19.75px;
        line-height: 120%;
        text-align: center;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        display: -webkit-box !important;
        overflow: hidden;
        color: var(--black-color);
        margin-bottom: 10px;
      }
    }

    .product-card-rating-wrapper {
      margin-bottom: 10px;
    }

    .product-card-category-wrapper {
      p {
        margin: 0;
      }
    }
    .product-crd-spec {
      .product-price {
        align-items: center;
        justify-content: center;
        display: flex;
        width: 100%;
        gap: 24px;

        span {
          font-size: 15px;
          font-weight: 500;
        }
      }
      .options_card {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 15px;
        height: 16px;
        height: 16px;
        color: var(--text-color-primary-bg);
        margin-top: 10px;
      }
    }

    .product_button {
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 17px;
      font-weight: 700;
      color: var(--white-color);
      transition: all 0.4s ease-in-out;

      &:hover {
        transform: translateY(-5px);
        background: var(--text-color-primary-bg);
        filter: brightness(0.9);
        border-color: var(--text-color-primary-bg);
      }
    }
  }
}

.ltr .product-item .badge-name {
  right: auto;
  left: 36px;
}

.icon-heart-mask.filled {
  mask-image: var(--heart-filled-icon);
  background-color: var(--primary_color, #d86f6f);
}
