.card {
  position: relative;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  width: calc(25% - 16px);
  margin: 8px;
  cursor: pointer;

  &.active {
    .img {
      border: 2px solid #004225;
      border-radius: 10px;
    }

    .hint {
      opacity: 1 !important;
      z-index: 9;
      top: -8px;
    }
  }
}

.close {
  position: absolute;
  right: 20px;
  top: 13px;
  width: 16px;
  height: 16px;
  cursor: pointer;

  svg {
    width: 100%;
    height: 100%;
  }
}

.hint {
  transition: all 0.4s;
  opacity: 0 !important;
  z-index: -1;
  position: absolute;
  top: -12px;
  right: -13px;

  &:hover {
    transform: scale(1.1);
  }
}

.img {
  width: 100%;
  transition: all 0.4s;
  padding: 5px;
  border: 2px solid transparent;
  border-radius: 50%;

  img {
    width: 100%;
    object-fit: contain;
  }
}

.title {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  font-size: 16px;
  line-height: 19px;
  text-align: center;
  color: #434343;
  margin: 5px 0;
}

.price {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  font-size: 16px;
  line-height: 19px;
  text-align: center;
  color: #434343;
}
@media (max-width: 1600px) {
  .card {
    width: calc(33.3% - 16px);
  }
}
@media (max-width: 1024px) {
  .card {
    width: 80px;
  }
  .title,
  .price {
    font-size: 14px;
  }
}
