.product__card {
  padding: 16px;
  width: 168px;
  background-color: #ffffff;
  border-radius: 16px;
  display: grid;
  position: relative;
}

.divider {
  width: 100%;
  height: 2px;
  border-radius: 8px;
  background-color: var(--first-color);
}
.product__img {
  aspect-ratio: 1;
  border-bottom: 2px solid var(--first-color);
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  position: relative;
  width: 150px;
  height: 150px;
  justify-self: center;
  margin-bottom: var(--mb-0-75);
  transition: 0.3s;
}

.product__title,
.product__price {
  font-size: 14px;
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
}

.product__title {
  margin-bottom: 0.5rem;
  height: 60px;
  line-height: 1.3;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product__button {
  position: absolute;
  right: 0;
  bottom: 0;
  background-color: var(--first-color);
  color: #fff;
  padding: 0.25rem;
  border-radius: 0.35rem;
  font-size: 1.15rem;
}

.product__button:hover {
  background-color: var(--first-color-alt);
}

.product__circle {
  width: 90px;
  height: 90px;
  background-color: var(--first-color-lighten);
  border-radius: 50%;
  position: absolute;
  top: 18%;
  left: 5%;
}

/* .product__card:hover .product__img {
  transform: translateY(-0.5rem);
} */

.blog-card:hover .card-link {
  bottom: 0;
}

.verification-message-card {
  margin: 0 auto;
  padding: 1rem;
  max-width: 500px;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 0 9px 1px #6a6a6a;
}
.verification-message-card .card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem auto;
}
.verification-message-card .card-icon svg {
  fill: var(--first-color);
  width: 100px;
  height: 100px;
}

.bg-path {
  fill: var(--first-color-light);
}

.check-path {
  fill: var(--first-color);
}

.red-cross-path {
  fill: #b80505;
}
.card-link {
  color: var(--first-color-alt);
  position: absolute;
  font-size: 14px;
  display: flex;
  width: 100%;
  bottom: -15%;
  right: 0;
  height: 15%;
  background-color: rgba(255, 255, 255, 0.9);
  font-weight: 900;
  align-items: center;
  justify-content: center;
  transition: all 300ms ease-in-out;
}
.payment-success .verification-message-card .card-icon svg {
  fill: var(--first-color) !important;
}
.payment-failed .verification-message-card .card-icon svg {
  fill: red !important;
}
.inner-page .toman-icon {
  transform: scale(1.5);
}

.blog-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 230px;
  display: grid;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.blog-card img {
  position: absolute;
  object-fit: cover;
  z-index: 0;
  /*filter: brightness(0.5);*/
}
.blog-card .blog-card-title {
    filter: drop-shadow(2px 4px 6px black);
    text-align:center;
  font-weight: 900;
  font-size: 1.2rem;
  z-index: 10;
}

@media screen and (max-width: 900px) {
  .product__card {
    width: 168px;
  }
  .product-card {
    height: 285px;
    width: 165px;
  }
  .product-card .product-image {
    height: 165px;
  }

  .verification-message-card {
    max-width: 320px;
  }
  .verification-message-card .card-icon svg {
    width: 80px;
    height: 80px;
  }
}

@media screen and (max-width: 500px) {
  .product__card {
    width: 150px;
  }
}
